1 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
8 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
11 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
13 * include/wchar.h (__wcscpy): New prototype.
14 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
15 (__wcscpy): Route internal symbol to generic implementation.
16 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
17 Add internal __wcscpy alias.
18 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
19 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
20 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
21 * wcsmbs/wcscpy.c (wcscpy): Add
22 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
23 use generic implementation.
24 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
26 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
29 * sysdeps/m68k/wcpcpy.c: Remove file.
30 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
32 2019-02-26 Joseph Myers <joseph@codesourcery.com>
34 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
36 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
37 * sysdeps/mach/hurd/getcwd.c
38 (__hurd_canonicalize_directory_name_internal): Likewise.
39 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
40 (pthread_mutex_consistent): Likewise.
41 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
43 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
44 (__pthread_mutex_transfer_np): Likewise.
45 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
46 (__pthread_mutex_unlock): Likewise.
47 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
48 (mtx_owned_p): Likewise.
49 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
50 (pthread_mutexattr_getrobust): Likewise.
51 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
52 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
54 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
55 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
56 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
57 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
58 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
59 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
62 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
64 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
65 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
66 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
67 (____longjmp_chk): Likewise.
68 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
70 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71 (INTERNAL_SYSCALL): Likewise.
72 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73 (INTERNAL_SYSCALL): Likewise.
74 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75 (__get_clockfreq_via_cpuinfo): Likewise.
77 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
79 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
80 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
81 (WORD_COPY_BWD): Likewise.
82 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
83 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
86 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
88 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
90 2019-02-25 Joseph Myers <joseph@codesourcery.com>
92 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
93 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
94 rather than after operators.
95 * elf/cache.c (print_cache): Likewise.
96 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
97 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
98 * hurd/hurdinit.c (_hurd_setproc): Likewise.
99 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
100 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
101 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
102 (reauth_proc): Likewise.
103 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
104 (__file_name_split_at): Likewise.
105 (__directory_name_split_at): Likewise.
106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
107 * hurd/port2fd.c (_hurd_port2fd): Likewise.
108 * iconv/gconv_dl.c (do_print): Likewise.
109 * inet/netinet/in.h (struct sockaddr_in): Likewise.
110 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
111 * locale/setlocale.c (new_composite_name): Likewise.
112 * malloc/memusagestat.c (main): Likewise.
113 * misc/fstab.c (fstab_convert): Likewise.
114 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
116 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
117 (getgrent_next_file): Likewise.
118 (internal_getgrnam_r): Likewise.
119 (internal_getgrgid_r): Likewise.
120 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
122 (internal_getgrent_r): Likewise.
123 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
124 (getpwent_next_nss): Likewise.
125 (getpwent_next_file): Likewise.
126 (internal_getpwnam_r): Likewise.
127 (internal_getpwuid_r): Likewise.
128 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
130 (getspent_next_nss): Likewise.
131 (internal_getspnam_r): Likewise.
132 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
133 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
134 * string/strchr.c (STRCHR): Likewise.
135 * string/strchrnul.c (STRCHRNUL): Likewise.
136 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
137 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
138 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
139 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
140 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
142 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
143 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
144 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
145 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
146 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
147 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
148 (open_file): Likewise.
149 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
150 (pthread_mutexattr_setprotocol): Likewise.
151 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
152 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
153 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
154 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
155 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
157 (elf_machine_rela): Likewise.
158 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
159 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
160 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
161 * sysdeps/posix/rename.c (rename): Likewise.
162 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
163 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
164 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
165 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
166 * sysdeps/unix/grantpt.c (grantpt): Likewise.
167 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
168 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
170 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
172 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
173 * time/tzfile.c (__tzfile_compute): Likewise.
175 2019-02-22 Joseph Myers <joseph@codesourcery.com>
177 * benchtests/bench-memmem.c (simple_memmem): Break lines before
178 rather than after operators.
179 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
180 * crypt/md5.c (md5_finish_ctx): Likewise.
181 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
182 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
183 * elf/cache.c (load_aux_cache): Likewise.
184 * elf/dl-load.c (open_verify): Likewise.
185 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
186 * elf/readelflib.c (process_elf_file): Likewise.
187 * elf/rtld.c (dl_main): Likewise.
188 * elf/sprof.c (generate_call_graph): Likewise.
189 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
190 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
191 * hurd/dtable.c (reauth_dtable): Likewise.
192 * hurd/getdport.c (__getdport): Likewise.
193 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
194 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
195 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
197 * hurd/hurdioctl.c (fioctl): Likewise.
198 * hurd/hurdselect.c (_hurd_select): Likewise.
199 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
200 (STOPSIGS): Likewise.
201 * hurd/hurdstartup.c (_hurd_startup): Likewise.
202 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
203 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
204 * hurd/msgportdemux.c (msgport_server): Likewise.
205 * hurd/setauth.c (_hurd_setauth): Likewise.
206 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
207 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
208 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
209 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
210 * login/tst-utmp.c (do_check): Likewise.
211 (simulate_login): Likewise.
212 * mach/lowlevellock.h (lll_lock): Likewise.
213 (lll_trylock): Likewise.
214 * math/test-fenv.c (ALL_EXC): Likewise.
215 * math/test-fenvinline.c (ALL_EXC): Likewise.
216 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
217 * nis/nis_call.c (__do_niscall3): Likewise.
218 * nis/nis_callback.c (cb_prog_1): Likewise.
219 * nis/nis_defaults.c (searchaccess): Likewise.
220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
221 * nis/nis_ismember.c (internal_ismember): Likewise.
222 * nis/nis_local_names.c (nis_local_principal): Likewise.
223 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
224 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
226 * nis/ypclnt.c (yp_match): Likewise.
227 (yp_first): Likewise.
229 (yp_master): Likewise.
230 (yp_order): Likewise.
231 * nscd/hstcache.c (cache_addhst): Likewise.
232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
233 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
234 (internal_getpwuid_r): Likewise.
235 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
236 * posix/glob.h (__GLOB_FLAGS): Likewise.
237 * posix/regcomp.c (peek_token): Likewise.
238 (peek_token_bracket): Likewise.
239 (parse_expression): Likewise.
240 * posix/regexec.c (sift_states_iter_mb): Likewise.
241 (check_node_accept_bytes): Likewise.
242 * posix/tst-spawn3.c (do_test): Likewise.
243 * posix/wordexp-test.c (testit): Likewise.
244 * posix/wordexp.c (parse_tilde): Likewise.
245 (exec_comm): Likewise.
246 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
247 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
248 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
249 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
250 * stdio-common/tst-fileno.c (do_test): Likewise.
251 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
252 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
253 * stdlib/strtod_l.c (round_and_return): Likewise.
254 (____STRTOF_INTERNAL): Likewise.
255 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
256 * string/strcspn.c (STRCSPN): Likewise.
257 * string/test-memmem.c (simple_memmem): Likewise.
258 * termios/tcsetattr.c (tcsetattr): Likewise.
259 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
260 * time/asctime.c (asctime_internal): Likewise.
261 * time/strptime_l.c (__strptime_internal): Likewise.
262 * time/sys/time.h (timercmp): Likewise.
263 * time/tzfile.c (__tzfile_compute): Likewise.
265 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
268 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
270 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
272 * argp/argp-help.c (__argp_error_internal): New function,
273 renamed from __argp_error, but that takes a 'mode_flags'
274 parameter to control the format of long double parameters.
275 (__argp_error): Converted into a call __argp_error_internal.
276 (__argp_failure_internal): New function, renamed from
277 __argp_failure, but that takes a 'mode_flags' parameter.
278 (__argp_failure): Converted into a call __argp_failure_internal.
279 * misc/err.c (__vwarnx_internal): New function, renamed from
280 vwarnx, but that takes a 'mode_flags' parameter.
281 (vwarnx): Converted into a call to __vwarnx_internal.
282 (__vwarn_internal): New function, renamed from vwarn, but that
283 takes a 'mode_flags' parameter.
284 (vwarn): Converted into a call to __vwarn_internal.
285 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
286 call to __vfxprintf with 'mode_flags'.
287 (__error_internal): New function, renamed from error, but that
288 takes a 'mode_flags' parameter.
289 (error): Converted into a call to __error_internal.
290 (__error_at_line_internal): New function, renamed from
291 error_at_line, but that takes a 'mode_flags' parameter.
292 (error_at_line): Converted into a call to
293 __error_at_line_internal.
294 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
295 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
298 2019-02-20 Martin Liska <mliska@suse.cz>
300 * math/Makefile: Install math-vector-fortran.h.
301 * bits/math-vector-fortran.h: New file.
302 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
304 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
306 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
307 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
309 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
311 * nptl/pthread_mutex_trylock.c: Fix comment.
313 2019-02-19 Carlos O'Donell <carlos@redhat.com>
315 * nptl/pthread_tryjoin.c: Fix comment.
317 2019-02-18 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
321 after R_SPARC_H34 case.
323 2019-02-18 Florian Weimer <fweimer@redhat.com>
325 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
326 (getanswer): Do not call Dprintf.
327 (res_gethostbyname2_context): Likewise.
328 (res_gethostbyaddr_context): Likewise.
330 2019-02-18 Florian Weimer <fweimer@redhat.com>
332 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
334 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
336 * libio/stdfiles.c: Update comment.
337 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
338 set _IO_stdin, _IO_stdout, _IO_stderr.
339 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
340 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
342 (_IO_deallocate_file): New inline function.
343 * libio/iolibio.h (_IO_vprintf): Remove definition.
344 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
345 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
346 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
348 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
349 __builtin_expect. Use _IO_legacy_file.
351 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
353 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
354 Initialize ctid with a known value and remove update of ctid
356 (wait_tid): Adjust arguments and call futex_wait with ctid_val
357 as assumed current value of ctid_ptr.
359 2019-02-15 Florian Weimer <fweimer@redhat.com>
361 Check that non-sysdeps headers have wrapper headers.
362 * scripts/check-wrapper-headers.py: New file.
363 * Makefile (tests-special): Add check-wrapper-headers.out.
364 (check-wrapper-headers.out): New target.
365 * Rules (tests-special): Add check-wrapper-headers.out.
366 (check-wrapper-headers.out): New target.
368 2019-02-15 Florian Weimer <fweimer@redhat.com>
370 Add missing header wrappers under include/.
371 * include/ar.h: New file.
372 * include/bits/mqueue2.h: Likewise.
373 * include/bits/stdio.h: Likewise.
374 * include/bits/stdio2.h: Likewise.
375 * include/fstab.h: Likewise.
376 * include/fts.h: Likewise.
377 * include/lastlog.h: Likewise.
378 * include/netinet/icmp6.h: Likewise.
379 * include/netinet/igmp.h: Likewise.
380 * include/netinet/ip6.h: Likewise.
381 * include/re_comp.h: Likewise.
382 * include/regexp.h: Likewise.
383 * include/rpcsvc/bootparam.h: Likewise.
384 * include/rpcsvc/yp_prot.h: Likewise.
385 * include/sys/random.h: Likewise.
386 * include/sys/stropts.h: Likewise.
387 * include/sys/ttychars.h: Likewise.
388 * include/sys/vfs.h: Likewise.
389 * include/wait.h: Likewise.
391 2019-02-15 Florian Weimer <fweimer@redhat.com>
393 * nptl_db/proc_service.h: Move to ...
394 * sysdeps/nptl/proc_service.h: ... here.
395 * nptl_db/thread_db.h: Move to ...
396 * sysdeps/nptl/thread_db.h: ... here.
397 * nptl/descr.h: Include <thread_db.h>.
399 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
401 * io/Makefile (tests): Add tst-lockf.
402 * io/lockf.c (lockf): Use __fcntl and only define for
403 !__OFF_T_MATCHES_OFF64_T.
404 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
405 __OFF_T_MATCHES_OFF64_T case.
406 * io/tst-lockf.c: New file.
407 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
408 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
409 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
410 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
411 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
413 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
414 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
415 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
417 2019-02-15 Florian Weimer <fweimer@redhat.com>
420 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
421 pd->result after the thread descriptor has been freed.
423 2019-02-15 Joseph Myers <joseph@codesourcery.com>
425 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
426 from function return type.
428 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
430 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
432 * scripts/test_printers_common.py: Set TERM to a known harmless
435 2019-02-14 Joseph Myers <joseph@codesourcery.com>
437 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
438 (xdr_u_int): Likewise.
439 (xdr_enum): Likewise.
440 (xdr_bytes): Reword fall-through comment.
441 (xdr_string): Likewise.
443 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
446 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
447 (tests): Add tst-join8 tst-join9.
448 * nptl/lll_timedwait_tid.c: Remove file.
449 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
450 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
451 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
452 * nptl/pthread_join_common.c (timedwait_tid): New function.
453 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
455 * nptl/tst-join5.c (thread_join): New function.
456 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
458 * nptl/tst-join8.c: New file.
459 * nptl/tst-join9.c: Likewise.
460 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
461 lll_futex_timed_wait_cancel): Add generic macros.
462 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
465 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
467 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
469 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
471 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
472 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
473 (lll_futex_timed_wait_cancel): New macro.
475 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
477 * benchtests/Makefile: Add malloc-simple benchmark.
478 * benchtests/bench-malloc-simple.c: New benchmark.
480 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
482 * benchtests/bench-memmove.c (do_one_test): Remove unused
485 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
489 2019-01-13 Jim Wilson <jimw@sifive.com>
492 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
493 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
495 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
497 * nptl/Makefile (tests): Add tst-unwind-thread.
498 (CFLAGS-tst-unwind-thread.c): Define.
499 * nptl/tst-unwind-thread.c: New file.
500 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
503 2019-02-13 Joseph Myers <joseph@codesourcery.com>
505 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
507 * nis/nis_call.c (__do_niscall3): Likewise.
509 * catgets/gencat.c (normalize_line): Use braces around empty
511 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
512 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
513 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
514 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
515 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
516 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
517 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
520 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
523 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
525 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
526 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
527 * benchtests/bench-strchr.c (stupid_strchr): Remove.
528 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
529 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
530 * benchtests/bench-strlen.c (builtin_strlen): Remove.
531 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
532 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
533 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
534 * benchtests/bench-strspn.c (stupid_strspn): Remove.
535 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
536 * benchtests/bench-bcopy.c: Delete file.
537 * benchtests/bench-bzero.c: Likewise.
538 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
539 (simple_memccpy): Remove.
540 (generic_memccpy): Add function.
541 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
542 * benchtests/bench-memmove.c (simple_bcopy): Remove.
543 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
544 (generic_mempcpy): Add new function.
545 * benchtests/bench-memset.c (simple_bzero): Remove.
546 (builtin_bzero): Remove.
547 (builtin_memset): Remove.
548 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
549 (generic_rawmemchr): Add new function.
551 2019-02-12 Florian Weimer <fweimer@redhat.com>
553 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
555 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
558 * elf/Makefile (tests): Add tst-audit13.
559 (modules-names): Add tst-audit13mod1.
560 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
562 * elf/tst-audit13.c: New file.
563 * elf/tst-audit13mod1.c: Likewise.
565 2019-02-12 Florian Weimer <fweimer@redhat.com>
568 * elf/rtld.c (unload_audit_module): New function.
569 (report_audit_module_load_error): Likewise.
570 (load_audit_module): Likewise. Extracted from dl_main. Call
571 _dl_close if the laversion symbol cannot be found. Use early
572 returns for error handling. Add malloc error check. Check for a
573 zero return value from la_version. Remove spurious comment about
574 static TLS initialization. Remove useless casts.
575 (notify_audit_modules_of_loaded_object): New function. Extracted
577 (load_audit_module): Likewise.
578 (dl_main): Call load_audit_modules.
580 2019-02-12 Joseph Myers <joseph@codesourcery.com>
582 * elf/dl-exception.c (_dl_exception_create_format): Add
583 fall-through comments.
584 * elf/ldconfig.c (parse_conf_include): Likewise.
585 * elf/rtld.c (print_statistics): Likewise.
586 * locale/programs/charmap.c (parse_charmap): Likewise.
587 * misc/mntent_r.c (__getmntent_r): Likewise.
588 * posix/wordexp.c (parse_arith): Likewise.
589 (parse_backtick): Likewise.
590 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
591 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
594 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
596 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
597 Use float instead of double.
599 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
601 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
603 2019-02-08 Joseph Myers <joseph@codesourcery.com>
605 * sysdeps/powerpc/bits/mathinline.h: Remove.
607 2019-02-08 Florian Weimer <fweimer@redhat.com>
609 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
610 * math/bits/math-finite.h: Move to ...
611 * bits/math-finite.h: ... here.
613 2019-02-08 Florian Weimer <fweimer@redhat.com>
615 * sysdeps/generic/bits/unistd_ext.h: Move to ...
616 * bits/unistd_ext.h: here.
618 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
621 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
622 * nss/tst-nss-files-hosts-long.c: New file.
623 * nss/tst-nss-files-hosts-long.root: New directory.
624 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
625 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
627 2019-02-08 Florian Weimer <fweimer@redhat.com>
629 * include/bits/unistd_ext.h: Remove file.
630 * posix/bits/unistd_ext.h: Move to ...
631 * sysdeps/generic/bits/unistd_ext.h: ... here.
633 2019-02-08 Florian Weimer <fweimer@redhat.com>
635 * include/bits/unistd_ext.h: New file.
637 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
639 * time/tst-strftime2.c: Use array_length macros instead of magic
642 2019-02-08 Florian Weimer <fweimer@redhat.com>
645 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
647 * nptl/register-atfork.c (__run_fork_handlers): Only perform
648 locking if the new do_locking argument is true.
649 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
652 2019-02-08 Florian Weimer <fweimer@redhat.com>
655 Linux: Add gettid system call wrapper.
656 * posix/Makefile (headers): Add bits/unistd_ext.h.
657 * posix/bits/unistd_ext.h: New file.
658 * posix/unistd.h: Include it.
659 * manual/process.texi (Process Identification): Document gettid.
660 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
661 tst-gettid, tst-gettid-kill.
662 (tst-gettid): Link with $(shared-thread-library).
663 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
664 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
665 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
666 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
667 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
668 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
670 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
672 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
673 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
675 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
677 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
679 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
681 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
687 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
688 (GLIBC_2.30): Likewise.
689 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
690 (GLIBC_2.30): Likewise.
691 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
692 (GLIBC_2.30): Likewise.
693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
694 (GLIBC_2.30): Likewise.
695 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
698 (GLIBC_2.30): Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
700 (GLIBC_2.30): Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
702 (GLIBC_2.30): Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
704 (GLIBC_2.30): Likewise.
705 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
711 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
716 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
720 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
722 2019-02-07 Florian Weimer <fweimer@redhat.com>
724 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
725 compatibility symbols.
727 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
730 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
731 Add compiler barriers and comments.
733 2019-02-07 Florian Weimer <fweimer@redhat.com>
735 * include/array_length.h (array_length): Do not use a statement
736 expression and _Static_assert, so that array_length can be used at
737 file scope and as a constant expression.
739 2019-02-07 Florian Weimer <fweimer@redhat.com>
741 * support/xdlfcn.h (xdlmopen): Declare.
742 * support/xdlmopen.c: New file.
743 * support/Makefile (libsupport-routines): Add xdlmopen.
745 2019-02-06 Joseph Myers <joseph@codesourcery.com>
747 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
748 before return type, without separate inline.
749 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
750 * elf/dl-tunables.h (tunable_is_name): Likewise.
751 * malloc/malloc.c (do_set_trim_threshold): Likewise.
752 (do_set_top_pad): Likewise.
753 (do_set_mmap_threshold): Likewise.
754 (do_set_mmaps_max): Likewise.
755 (do_set_mallopt_check): Likewise.
756 (do_set_perturb_byte): Likewise.
757 (do_set_arena_test): Likewise.
758 (do_set_arena_max): Likewise.
759 (do_set_tcache_max): Likewise.
760 (do_set_tcache_count): Likewise.
761 (do_set_tcache_unsorted_limit): Likewise.
762 * nis/nis_subr.c (count_dots): Likewise.
763 * nptl/allocatestack.c (advise_stack_range): Likewise.
764 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
766 (reduce_sincos): Likewise.
767 (do_sincos): Likewise.
768 * sysdeps/unix/sysv/linux/x86/elision-conf.c
769 (do_set_elision_enable): Likewise.
770 (TUNABLE_CALLBACK_FNDECL): Likewise.
772 2019-02-06 Florian Weimer <fweimer@redhat.com>
774 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
775 (xdlsym): Use dlerror to detect a NULL symbol.
777 2019-02-06 Florian Weimer <fweimer@redhat.com>
779 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
781 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
783 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
785 * libio/tst-bz24153.c (wide): Use wide char format specifier.
787 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
789 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
790 __wmemcmp and weak alias to wmemcmp.
792 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
795 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
796 TLS_TCB_AT_TP tls variant.
797 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
798 Add alignment checks.
799 * support/Makefile (libsupport-routines): Add xposix_memalign and
801 * support/support.h: Add xposix_memalign.
802 * support/xthread.h: Add xpthread_attr_setstack.
803 * support/xposix_memalign.c: New File.
804 * support/xpthread_attr_setstack.c: Likewise.
806 2019-02-05 Florian Weimer <fweimer@redhat.com>
809 arm: Use "nr" constraint for Systemtap probes, to avoid the
810 compiler using memory operands for constants, due to the "o"
811 alternative in the default "nor" constraint.
812 * include/stap-probe.h [USE_STAP_PROBE]: Include
813 <stap-probe-machine.h>
814 * sysdeps/generic/stap-probe-machine.h: New file.
815 * sysdeps/arm/stap-probe-machine.h: Likewise.
817 2019-02-04 Joseph Myers <joseph@codesourcery.com>
819 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
820 with 0, not tcache->entries[tc_idx].
822 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
825 2019-02-04 Andreas Schwab <schwab@suse.de>
829 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
830 looking up collating elements match against (wide) character
831 sequence instead of name. Correct alignment adjustment.
832 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
833 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
834 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
835 (LOCALES): Add cs_CZ.ISO-8859-2.
836 * posix/tst-fnmatch4.c: New file.
837 * posix/tst-fnmatch5.c: New file.
838 * include/wchar.h (__wmemcmp): Declare.
839 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
840 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
841 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
842 * sysdeps/s390/wmemcmp.c: Likewise.
844 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
848 * NEWS: Updated for CVE-2019-7309.
849 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
850 upper 32 bits of RDX register for x32. Use unsigned Jcc
851 instructions, instead of signed.
852 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
853 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
855 2019-02-04 Florian Weimer <fweimer@redhat.com>
857 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
858 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
859 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
861 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
862 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
863 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
864 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
866 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
868 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
870 (posix_spawn_file_actions_addopen): Likewise.
871 (posix_spawn_file_actions_addclose): Likewise.
872 (posix_spawn_file_actions_adddup2): Likewise.
873 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
875 (posix_spawn_file_actions_addfchdir_np): Likewise.
877 2019-02-04 David Newall <glibc@davidnewall.com>
879 elf: Implement --preload option for the dynamic linker.
880 * elf/rtld.c (preloadarg): New variable.
881 (handle_preload_list): Pass through “where” argument to
883 (dl_main): Handle "--preload" and add second call to
885 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
886 (tst-rtld-preload-OBJS): Set variable.
887 (tst-rtld-preload.out): New target.
888 * elf/tst-rtld-preload.sh: New file.
890 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
892 * Makefile (testrun.sh): Exit in case of incorrect argument.
894 2019-02-04 Florian Weimer <fweimer@redhat.com>
896 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
899 2019-02-03 Florian Weimer <fweimer@redhat.com>
901 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
902 implicit overflow checks.
904 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
906 * stdlib/isomac.c: Include <unistd.h>.
908 2019-02-03 Florian Weimer <fweimer@redhat.com>
910 * include/time.h (__tzfile_default): Use int, not long int, for
912 * time/tzfile.c (struct ttinfo): Change type of the offset member
914 (__tzfile_read): Remove useless cast.
915 (__tzfile_default): Adjust prototype.
916 * time/tzset.c (tz_rule): Change type of the offset member to int.
917 (parse_offset): Change the type of the sign variable to int.
919 2019-02-03 Florian Weimer <fweimer@redhat.com>
922 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
923 * libio/getchar.c (getchar): Likewise.
924 * libio/getchar_u.c (getchar_unlocked): Likewise.
925 * libio/getwchar.c (getwchar): Likewise.
926 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
927 * libio/iogets.c (_IO_gets): Likewise.
928 * libio/vscanf.c (_IO_vscanf): Likewise.
929 * libio/vwscanf.c (__vwscanf): Likewise.
930 * libio/tst-bz24153.c: New file.
931 * libio/Makefile (tests): Add it.
933 2019-02-02 Florian Weimer <fweimer@redhat.com>
936 * manual/resource.texi (Basic Scheduling Functions): Add
937 portability note. Change process to task throughout the section.
938 Remove incorrect comment about sched_yield as it affects
939 tasks/threads, not entire processes.
940 * sysdeps/unix/sysv/linux/bits/posix_opt.h
941 (_POSIX_PRIORITY_SCHEDULING): Update comment.
943 2019-02-01 Joseph Myers <joseph@codesourcery.com>
945 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
946 * configure: Regenerated.
947 * manual/install.texi (Tools for Compilation): Update minimum GCC
949 * INSTALL: Regenerated.
951 2019-02-01 Florian Weimer <fweimer@redhat.com>
953 * support/support_test_compare_string.c
954 (support_test_compare_string): Use "string" in error message.
955 * support/tst-test_compare_string.c (do_test): Adjust.
957 2019-02-01 Florian Weimer <fweimer@redhat.com>
959 * support/support_format_address_family.c
960 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
962 2019-02-01 Florian Weimer <fweimer@redhat.com>
964 * manual/socket.texi (Internet Address Formats): Clarify the byte
965 order of struct sockaddr_in, struct sockaddr_in6. Document
966 sin6_flowinfo and sin6_scope_id.
968 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
970 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
971 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
972 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
973 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
974 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
975 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
977 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
979 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
980 [!MEMCHR](MEMCHR): Set to __memchr.
981 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
982 Add memchr_generic and memchr_nosimd.
983 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
984 (__libc_ifunc_impl_list): Add memchr ifuncs.
985 * sysdeps/aarch64/multiarch/memchr.c: New file.
986 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
987 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
989 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
991 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
993 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
995 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
996 Add IS_EMAG check for ifunc dispatch.
997 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
998 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1000 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1002 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1003 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1005 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1008 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1010 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1012 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1014 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1015 syscall-template file.
1017 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1018 Torvald Riegel <triegel@redhat.com>
1019 Rik Prohaska <prohaska7@gmail.com>
1022 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1023 tst-rwlock-trywrlock-stall.
1024 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1025 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1026 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1027 Set __wrphase_fute to 1 only if we started the write phase.
1028 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1029 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1030 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1031 * support/xpthread_rwlock_destroy.c: New file.
1032 * support/xthread.h: Declare xpthread_rwlock_destroy.
1034 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1036 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1039 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1042 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1043 * libio/fileops.c (_IO_new_file_underflow): Likewise
1044 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1045 * libio/putchar.c (putchar): Likewise.
1046 * libio/putchar_u.c (putchar_unlocked): Likewise.
1047 * libio/putwchar.c (putchar): Likewise.
1048 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1049 * libio/tst-bz24051.c: New test.
1050 * libio/Makefile (tests): Add tst-bz24051
1052 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1054 regex: fix read overrun [BZ #24114]
1055 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1056 https://debbugs.gnu.org/34140
1057 * posix/regexec.c (proceed_next_node):
1058 Do not read past end of input buffer.
1060 2019-01-31 Florian Weimer <fweimer@redhat.com>
1063 * nss/nss_files/files-alias.c (get_next_alias): Handle
1064 continuation line without newline at the end.
1065 * nss/tst-nss-files-alias-truncated.c: New file.
1066 * nss/Makefile [$(build-shared)] (tests): Add
1067 tst-nss-files-alias-truncated.
1068 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1069 * support/namespace.h (struct support_chroot_configuration): Add
1071 (struct support_chroot): Add path_aliases member.
1072 * support/support_chroot.c (support_chroot_create): Handle
1074 (support_chroot_free): Free path_aliases.
1076 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1078 * version.h (RELEASE): Set to "development".
1079 (VERSION): Set to "2.29.9000".
1080 * NEWS: Add section for 2.30.
1082 * version.h (RELEASE): Set to "stable".
1083 (VERSION): Set to "2.29".
1084 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1086 * NEWS: Add the list of bugs fixed in 2.29.
1087 * manual/contrib.texi: Update contributors list with some more
1089 * manual/install.texi: Update latest versions of packages
1091 * INSTALL: Regenerated.
1093 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1095 * po/be.po: Update translations.
1096 * po/bg.po: Likewise.
1097 * po/ca.po: Likewise.
1098 * po/cs.po: Likewise.
1099 * po/da.po: Likewise.
1100 * po/de.po: Likewise.
1101 * po/el.po: Likewise.
1102 * po/eo.po: Likewise.
1103 * po/es.po: Likewise.
1104 * po/fi.po: Likewise.
1105 * po/fr.po: Likewise.
1106 * po/gl.po: Likewise.
1107 * po/hr.po: Likewise.
1108 * po/hu.po: Likewise.
1109 * po/ia.po: Likewise.
1110 * po/id.po: Likewise.
1111 * po/it.po: Likewise.
1112 * po/ja.po: Likewise.
1113 * po/ko.po: Likewise.
1114 * po/lt.po: Likewise.
1115 * po/nb.po: Likewise.
1116 * po/nl.po: Likewise.
1117 * po/pl.po: Likewise.
1118 * po/pt_BR.po: Likewise.
1119 * po/ru.po: Likewise.
1120 * po/rw.po: Likewise.
1121 * po/sk.po: Likewise.
1122 * po/sl.po: Likewise.
1123 * po/sv.po: Likewise.
1124 * po/tr.po: Likewise.
1125 * po/uk.po: Likewise.
1126 * po/vi.po: Likewise.
1127 * po/zh_CN.po: Likewise.
1128 * po/zh_TW.po: Likewise.
1130 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1133 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1134 of $f3 register on $y_is_neg path.
1136 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1139 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1140 sigaltstack.ss_flags.
1142 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1145 * manual/time.texi (strftime): Document "%Ey".
1146 * time/strftime_l.c (__strftime_internal): Set the default width
1147 padding with zero of "%Ey" to 2.
1150 * manual/time.texi (strftime): Document "%EC" and "%EY".
1151 * time/Makefile (tests): Add tst-strftime2.
1152 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1153 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1154 override padding for "%Ey".
1155 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1156 "%Ey" in the subformat as if decorated with that flag.
1157 * time/tst-strftime2.c: New file.
1159 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1161 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1165 * elf/Makefile (tests): Add tst-audit13.
1166 (modules-names): Add tst-audit13mod1.
1167 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1169 * elf/rtld.c (dl_main): Handle invalid audit module version.
1170 * elf/tst-audit13.c: New file.
1171 * elf/tst-audit13mod1.c: Likewise.
1173 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1175 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1176 returned by __hurd_at_flags.
1177 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1178 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1179 directly instead of __hurd_file_name_lookup.
1181 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1183 * scripts/build-many-glibcs.py (Context.checkout): Default
1184 binutils version to 2.32 branch.
1186 2019-01-21 Florian Weimer <fweimer@redhat.com>
1190 resolv: Reject trailing characters in host names
1191 * include/arpa/inet.h (__inet_aton_exact): Declare.
1192 (inet_aton): Remove hidden prototype. No longer used internally.
1193 * nscd/gai.c (__inet_aton): Do not define.
1194 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1195 * nss/digits_dots.c (__inet_aton): Likewise.
1196 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1197 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1198 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1199 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1200 (tst-resolv-trailing): Likewise.
1201 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1203 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1204 Make static. Add endp parameter.
1205 (__inet_aton_exact): New function.
1206 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1207 (__inet_addr): Call inet_aton_end.
1208 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1209 not just IPv6. Call __inet_aton_exact.
1210 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1211 (tests): Make const. Add additional test cases with trailing
1213 (do_test): Use array_length.
1214 * resolv/tst-inet_aton_exact.c: New file.
1215 * resolv/tst-resolv-trailing.c: Likewise.
1216 * resolv/tst-resolv-nondecimal.c: Likewise.
1217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1219 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1223 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1224 Clear the upper 32 bits of RSI register.
1225 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1226 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1227 and tst-size_t-wcsnlen.
1228 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1229 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1231 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1235 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1238 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1239 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1241 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1245 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1247 * sysdeps/x86_64/strcmp.S: Likewise.
1248 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1249 tst-size_t-strncmp and tst-size_t-wcsncmp.
1250 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1251 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1252 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1254 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1258 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1259 RDX_LP for length. Clear the upper 32 bits of RDX register.
1260 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1261 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1262 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1263 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1265 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1269 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1270 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1271 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1272 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1274 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1278 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1279 length. Clear the upper 32 bits of RDX register.
1280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1281 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1283 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1285 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1287 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1289 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1293 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1294 length. Clear the upper 32 bits of RDX register.
1295 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1296 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1297 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1299 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1300 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1302 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1306 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1307 upper 32 bits of RDX register.
1308 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1309 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1311 * sysdeps/x86_64/x32/test-size_t.h: New file.
1312 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1313 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1315 2019-01-18 Florian Weimer <fweimer@redhat.com>
1318 resolv: Do not send queries for non-host-names in nss_dns.
1319 * resolv/nss_dns/dns-host.c (check_name): New function.
1320 (_nss_dns_gethostbyname2_r): Use it.
1321 (_nss_dns_gethostbyname_r): Likewise.
1322 (_nss_dns_gethostbyname4_r): Likewise.
1324 2019-01-21 Florian Weimer <fweimer@redhat.com>
1326 * resolv/inet_addr.c: Reformat to GNU style.
1327 (__inet_addr, __inet_aton): Update comment.
1329 2019-01-18 Florian Weimer <fweimer@redhat.com>
1331 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1332 ("malloc: Use current (C11-style) atomics for fastbin access").
1333 This commit introduces a substantial performance regression on
1335 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1336 (REMOVE_FB): Define.
1337 (_int_malloc): Use it and reindent.
1338 (_int_free): Use CAS loop with
1339 catomic_compare_and_exchange_val_rel.
1340 (malloc_consolidate): Use atomic_exchange_acq.
1343 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1345 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1347 (LDFLAGS-tst-minsigstksz-2): Likewise.
1348 (LDFLAGS-tst-minsigstksz-3): Likewise.
1349 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1350 (LDFLAGS-tst-minsigstksz-4): Likewise.
1352 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1354 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1357 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1359 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1361 2019-01-16 Zack Weinberg <zackw@panix.com>
1363 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1364 (xget_sigstack_location): New test support functions.
1365 * support/xsigstack.c: New file, implementing them.
1366 * support/tst-xsigstack.c: New test for them.
1367 * support/Makefile: Update.
1369 * signal/tst-minsigstksz-1.c
1370 * signal/tst-minsigstksz-2.c
1371 * signal/tst-minsigstksz-3.c
1372 * signal/tst-minsigstksz-3a.c
1373 * signal/tst-minsigstksz-4.c: New tests.
1374 * signal/Makefile: Run them.
1376 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1378 * po/libc.pot: Regenerate.
1380 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1382 * math/libm-test-fma.inc (fma_test_data): Set
1383 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1385 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1387 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1388 (do_test): Changed __vector __int128_t to __vector unsigned int.
1390 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1393 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1394 stpcpy-avx2 and stpncpy-avx2.
1395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1396 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1397 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1399 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1400 ifunc-strcpy.h}: rename header for a more generic name.
1401 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1402 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1403 AVX unaligned load is fast and vzeroupper is preferred.
1404 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1405 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1406 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1407 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1408 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1409 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1411 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1413 * argp/argp-help.c: Fix typo in comment.
1414 * misc/sys/cdefs.h: Likewise.
1415 * posix/regexec.c (sift_states_iter_mb): Likewise.
1416 * socket/sockatmark.c: Likewise.
1417 * socket/sys/socket.h: Likewise.
1418 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1419 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1420 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1422 * sysdeps/unix/sockatmark.c: Likewise.
1423 * time/strptime_l.c: Likewise.
1425 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1427 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1428 missing space after the cast of "_NL_CURRENT".
1430 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1432 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1433 ifdef to fix read of VSCR.
1434 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1435 tst-ucontext-ppc64-vscr.c to test list.
1436 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1438 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1440 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1443 2019-01-09 Jim Wilson <jimw@sifive.com>
1445 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1447 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1449 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1450 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1451 __memcpy_falkor for ares.
1452 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1454 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1457 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1460 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1461 4_FP_W_TYPEs are used for IEEE quad precision.
1462 * soft-fp/extendhftf2.c: Likewise.
1463 * soft-fp/extendsftf2.c: Likewise.
1464 * soft-fp/extendxftf2.c: Likewise.
1465 * soft-fp/trunctfdf2.c: Likewise.
1466 * soft-fp/trunctfhf2.c: Likewise.
1467 * soft-fp/trunctfsf2.c: Likewise.
1468 * soft-fp/trunctfxf2.c: Likewise.
1469 * sysdeps/alpha/ots_cvttx.c: Likewise.
1470 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1471 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1472 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1473 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1474 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1475 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1476 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1477 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1478 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1479 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1480 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1481 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1482 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1483 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1484 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1485 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1486 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1488 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1491 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1492 code with -fmath-errno.
1493 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1494 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1495 * string/test-strerror-errno.c: New file.
1497 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1500 * localedata/locales/en_US (date_fmt): Add, set to
1501 "%a %d %b %Y %r %Z".
1503 2019-01-07 Florian Weimer <fweimer@redhat.com>
1506 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1507 instead of @var{errno}.
1508 (Parsing of Integers): Likewise.
1509 (Parsing of Floats): Likewise.
1510 * manual/filesys.texi (Working with Directory Trees): Likewise.
1511 (Temporary Files): Likewise.
1512 * manual/job.texi (Terminal Access Functions): Likewise.
1513 * manual/llio.texi (Synchronizing I/O): Likewise.
1514 * manual/math.texi (SVID Random): Likewise.
1515 * manual/message.texi (The catgets Functions): Likewise.
1516 (Translation with gettext): Likewise.
1517 (Locating gettext catalog): Likewise.
1518 (Charset conversion in gettext): Likewise.
1519 * manual/nss.texi (NSS Module Function Internals): Likewise.
1520 * manual/search.texi (Hash Search Function): Likewise.
1521 * manual/setjmp.texi (System V contexts): Likewise.
1522 * manual/time.texi (Sleeping): Likewise.
1523 * manual/users.texi (Lookup User): Likewise.
1524 (Lookup Group): Likewise.
1526 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1528 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1531 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1534 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1535 __builtin_unreachable for default case in switch.
1536 (__ieee754_yn): Likewise.
1537 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1538 (__ieee754_ynl): Likewise.
1539 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1540 (__ieee754_ynl): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1542 (__ieee754_ynl): Likewise.
1544 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1546 * manual/maint.texi: Use @{ and @}.
1548 2019-01-04 Florian Weimer <fweimer@redhat.com>
1550 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1552 (do_in_chroot_1): Call it.
1554 Improve error reporting in case it is not possible to create a
1555 collision for the PTY name required by the test.
1557 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1559 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1560 lll_wait_tid with timeout.
1561 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1562 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1563 futex_reltimed_wait_cancelable for cancelabla mode.
1564 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1565 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1567 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1568 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1569 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1570 SYSCALL_CANCEL_NCS): New macro.
1571 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1572 (lll_timedwait_tid): Remove macro.
1573 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1575 (lll_timedwait_tid): Likewise.
1576 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1578 (lll_timedwait_tid): Likewise.
1579 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1581 (lll_timedwait_tid): Likewise.
1582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1583 Use INTERNAL_SYSCALL_CANCEL.
1584 * sysdeps/unix/sysv/linux/futex-internal.h
1585 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1586 instead of __pthread_{enable,disable}_asynccancel.
1587 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1588 (lll_futex_wait_cancel): New macro.
1590 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1591 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1593 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1594 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1596 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1597 in backtrace analysis.
1598 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1600 (tf_send): Likewise.
1602 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1603 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1604 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1605 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1606 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1607 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1608 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1609 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1610 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1611 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1612 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1613 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1615 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1616 tst-cancel-wrappers.sh.
1617 (generated): Remove tst-cancel-wrappers.out.
1618 (tst-cancel-wrappers.out): Remove rule.
1619 * nptl/tst-cancel-wrappers.sh: Remove file.
1621 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1623 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1624 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1627 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1630 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1631 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1632 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1633 close-on-exec reset for adddup2 file action.
1634 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1636 2019-01-03 Zack Weinberg <zackw@panix.com>
1638 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1639 parameter. Only use deprecated scanf when __USE_GNU is defined
1640 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1641 than 201103L, whichever is relevant for the language being compiled.
1643 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1644 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1645 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1646 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1647 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1651 * libio/iovswscanf.c
1656 * stdio-common/fscanf.c
1657 * stdio-common/scanf.c
1658 * stdio-common/vfscanf.c
1659 * stdio-common/vfwscanf.c
1660 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1661 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1662 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1663 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1664 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1665 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1666 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1667 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1668 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1669 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1670 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1671 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1672 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1673 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1674 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1676 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1677 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1678 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1680 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1681 with a preprocessor macro.
1683 * stdio-common/bug21.c, stdio-common/scanf14.c:
1684 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1685 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1686 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1687 to xscanf, xfscanf, xsscanf.
1689 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1690 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1691 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1692 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1694 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1695 override feature selection macros or provide definitions of u_char etc.
1696 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1697 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1698 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1701 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1704 bits/termios-misc.h.
1705 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1706 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1709 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1710 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1712 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1714 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1715 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1716 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1717 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1719 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1720 (sysdep_headers): Add termios-misc.h.
1722 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1723 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1724 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1728 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1729 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1730 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1731 TCSAFLUSH): Move to termios-tcflow.h.
1732 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1733 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1735 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1739 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1740 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1741 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1743 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1744 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1745 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1746 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1748 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1749 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1751 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1755 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1756 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1758 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1759 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1761 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1762 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1769 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1770 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1772 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1773 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1774 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1775 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1776 __MAX_BAUD): Move to termios-baud.h.
1777 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1778 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1779 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1780 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1785 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1786 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1789 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1790 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1792 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1793 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1795 [USE_MISC] (XTABS): Likewise.
1796 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1797 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1798 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1799 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1801 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1803 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1804 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1805 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1806 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1807 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1808 IUTF8): Move to termios-c_iflag.h.
1809 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1810 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1814 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1816 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1817 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1818 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1819 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1820 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1821 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1822 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1823 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1824 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1825 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1829 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1830 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1831 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1835 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1837 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1839 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1845 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1846 _HAVE_C_OSPEED): Define.
1847 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1848 _HAVE_C_OSPEED): Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1850 _HAVE_C_OSPEED): Likewise.
1851 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1852 (cfsetospeed): Check for define value instead of existence.
1853 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1854 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1855 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1856 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1857 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1860 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1862 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1863 (TIOCSER_TEMT): Likewise.
1864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1865 (TEOCSER_TEMT): Likewise.
1867 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1870 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1872 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1874 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1876 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1878 * sysdeps/htl/pt-barrierattr-setpshared.c
1879 (pthread_barrierattr_setpshared): Add stub warning.
1880 * sysdeps/htl/pt-condattr-setpshared.c
1881 (pthread_condattr_setpshared): Likewise.
1882 * sysdeps/htl/pt-mutexattr-setpshared.c
1883 (pthread_mutexattr_setpshared): Likewise.
1884 * sysdeps/htl/pt-rwlockattr-setpshared.c
1885 (pthread_rwlockattr_setpshared): Likewise.
1886 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1887 (pthread_mutexattr_setpshared): Likewise.
1889 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1891 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1892 constants to match with Linux 4.20.
1894 * sysdeps/mips/mips32/libm-test-ulps: Update.
1895 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1897 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1900 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1901 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1902 than __typeof (...) for the a_ptr variable.
1904 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1906 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1907 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1908 * libio/Makefile (tests): Add tst-sprintf-ub and
1910 (CFLAGS-tst-sprintf-ub.c): New variable.
1911 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1912 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1913 destination buffer and check for overflows in fortified mode.
1914 * libio/libioP.h (PRINTF_CHK): New macro.
1915 * libio/tst-sprintf-chk-ub.c: New file.
1916 * libio/tst-sprintf-ub.c: Likewise.
1918 2019-01-02 Florian Weimer <fweimer@redhat.com>
1921 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1924 2019-01-02 Florian Weimer <fweimer@redhat.com>
1926 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1928 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1930 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1933 * sysdeps/unix/sysv/linux/netpacket/packet.h
1934 (PACKET_IGNORE_OUTGOING): New macro.
1936 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1939 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1941 (riscv_flush_icache): New syscall.
1943 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1944 trailing whitespace removed.
1945 * scripts/config.guess: Update to version 2019-01-01.
1946 * scripts/config.sub: Update to version 2019-01-01.
1947 * scripts/move-if-change: Update from gnulib.
1949 * NEWS: Update copyright dates.
1950 * catgets/gencat.c (print_version): Likewise.
1951 * csu/version.c (banner): Likewise.
1952 * debug/catchsegv.sh: Likewise.
1953 * debug/pcprofiledump.c (print_version): Likewise.
1954 * debug/xtrace.sh (do_version): Likewise.
1955 * elf/ldconfig.c (print_version): Likewise.
1956 * elf/ldd.bash.in: Likewise.
1957 * elf/pldd.c (print_version): Likewise.
1958 * elf/sotruss.sh: Likewise.
1959 * elf/sprof.c (print_version): Likewise.
1960 * iconv/iconv_prog.c (print_version): Likewise.
1961 * iconv/iconvconfig.c (print_version): Likewise.
1962 * locale/programs/locale.c (print_version): Likewise.
1963 * locale/programs/localedef.c (print_version): Likewise.
1964 * login/programs/pt_chown.c (print_version): Likewise.
1965 * malloc/memusage.sh (do_version): Likewise.
1966 * malloc/memusagestat.c (print_version): Likewise.
1967 * malloc/mtrace.pl: Likewise.
1968 * manual/libc.texinfo: Likewise.
1969 * nptl/version.c (banner): Likewise.
1970 * nscd/nscd.c (print_version): Likewise.
1971 * nss/getent.c (print_version): Likewise.
1972 * nss/makedb.c (print_version): Likewise.
1973 * posix/getconf.c (main): Likewise.
1974 * scripts/test-installation.pl: Likewise.
1975 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1977 * All files with FSF copyright notices: Update copyright dates
1978 using scripts/update-copyrights.
1979 * locale/programs/charmap-kw.h: Regenerated.
1980 * locale/programs/locfile-kw.h: Likewise.
1982 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1984 * timezone/zdump.c: Update from tzcode 2018i.
1985 * timezone/zic.c: Likewise.
1987 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1989 regex: improve Gnulib port to AIX
1990 From the glibc point of view, this removes duplicate macro
1991 definitions and is obviously safe.
1992 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1993 * posix/regex_internal.h:
1994 (__attribute__, __attribute_warn_unused_result__):
1995 Remove; already defined elsewhere.
1997 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2000 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2001 copying operation. (ncopies had the wrong type, resulting in an
2002 integer wraparound and too few elements being copied.)
2004 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2007 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2008 <asm/syscalls.h> exists with __has_include__ before including it.
2010 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2012 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2015 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2017 * hurd/lookup-retry: Include <unistd.h>.
2018 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2019 Release it on return. Handle "pid" magical lookup retry.
2021 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2024 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2025 (t_fmt_ampm): Likewise.
2026 * localedata/locales/aa_ER (t_fmt): Likewise.
2027 (t_fmt_ampm): Likewise.
2028 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2029 (t_fmt_ampm): Likewise.
2030 * localedata/locales/aa_ET (t_fmt): Likewise.
2031 (t_fmt_ampm): Likewise.
2032 * localedata/locales/am_ET (t_fmt): Likewise.
2033 (t_fmt_ampm): Likewise.
2034 * localedata/locales/byn_ER (t_fmt): Likewise.
2035 (t_fmt_ampm): Likewise.
2036 * localedata/locales/om_ET (t_fmt): Likewise.
2037 (t_fmt_ampm): Likewise.
2038 * localedata/locales/sid_ET (t_fmt): Likewise.
2039 (t_fmt_ampm): Likewise.
2040 * localedata/locales/so_DJ (t_fmt): Likewise.
2041 (t_fmt_ampm): Likewise.
2042 * localedata/locales/so_ET (t_fmt): Likewise.
2043 (t_fmt_ampm): Likewise.
2044 * localedata/locales/so_SO (t_fmt): Likewise.
2045 (t_fmt_ampm): Likewise.
2046 * localedata/locales/ti_ER (t_fmt): Likewise.
2047 (t_fmt_ampm): Likewise.
2048 * localedata/locales/ti_ET (t_fmt): Likewise.
2049 (t_fmt_ampm): Likewise.
2050 * localedata/locales/tig_ER (t_fmt): Likewise.
2051 (t_fmt_ampm): Likewise.
2052 * localedata/locales/wal_ET (t_fmt): Likewise.
2053 (t_fmt_ampm): Likewise.
2055 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2056 * localedata/locales/ar_IN (t_fmt): Likewise.
2057 * localedata/locales/bhb_IN (t_fmt): Likewise.
2058 * localedata/locales/bho_IN (t_fmt): Likewise.
2059 * localedata/locales/bi_VU (t_fmt): Likewise.
2060 * localedata/locales/bn_BD (t_fmt): Likewise.
2061 * localedata/locales/bn_IN (t_fmt): Likewise.
2062 * localedata/locales/brx_IN (t_fmt): Likewise.
2063 * localedata/locales/doi_IN (t_fmt): Likewise.
2064 * localedata/locales/en_HK (t_fmt): Likewise.
2065 (t_fmt_ampm): Likewise.
2066 * localedata/locales/en_IN (t_fmt): Likewise.
2067 * localedata/locales/en_PH (t_fmt): Likewise.
2068 * localedata/locales/gu_IN (t_fmt): Likewise.
2069 * localedata/locales/hi_IN (t_fmt): Likewise.
2070 * localedata/locales/hif_FJ (t_fmt): Likewise.
2071 * localedata/locales/hne_IN (t_fmt): Likewise.
2072 * localedata/locales/kn_IN (t_fmt): Likewise.
2073 * localedata/locales/kok_IN (t_fmt): Likewise.
2074 * localedata/locales/ks_IN (t_fmt): Likewise.
2075 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2076 * localedata/locales/mag_IN (t_fmt): Likewise.
2077 * localedata/locales/mai_IN (t_fmt): Likewise.
2078 * localedata/locales/mjw_IN (t_fmt): Likewise.
2079 * localedata/locales/ml_IN (t_fmt): Likewise.
2080 * localedata/locales/mni_IN (t_fmt): Likewise.
2081 * localedata/locales/mr_IN (t_fmt): Likewise.
2082 * localedata/locales/ms_MY (t_fmt): Likewise.
2083 * localedata/locales/pa_IN (t_fmt): Likewise.
2084 * localedata/locales/raj_IN (t_fmt): Likewise.
2085 * localedata/locales/sa_IN (t_fmt): Likewise.
2086 * localedata/locales/sat_IN (t_fmt): Likewise.
2087 * localedata/locales/sd_IN (t_fmt): Likewise.
2088 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2089 * localedata/locales/tcy_IN (t_fmt): Likewise.
2090 * localedata/locales/the_NP (t_fmt): Likewise.
2091 * localedata/locales/to_TO (t_fmt): Likewise.
2092 * localedata/locales/ur_IN (t_fmt): Likewise.
2094 * localedata/locales/hif_FJ (d_t_fmt): Set to
2095 "%A %d %b %Y %I:%M:%S %p".
2096 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2098 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2099 * localedata/locales/ar_BH (t_fmt): Likewise.
2100 * localedata/locales/ar_DZ (t_fmt): Likewise.
2101 * localedata/locales/ar_EG (t_fmt): Likewise.
2102 * localedata/locales/ar_IQ (t_fmt): Likewise.
2103 * localedata/locales/ar_JO (t_fmt): Likewise.
2104 * localedata/locales/ar_KW (t_fmt): Likewise.
2105 * localedata/locales/ar_LB (t_fmt): Likewise.
2106 * localedata/locales/ar_LY (t_fmt): Likewise.
2107 * localedata/locales/ar_OM (t_fmt): Likewise.
2108 * localedata/locales/ar_QA (t_fmt): Likewise.
2109 * localedata/locales/ar_SD (t_fmt): Likewise.
2110 * localedata/locales/ar_SS (t_fmt): Likewise.
2111 * localedata/locales/ar_SY (t_fmt): Likewise.
2112 * localedata/locales/ar_TN (t_fmt): Likewise.
2113 * localedata/locales/ar_YE (t_fmt): Likewise.
2115 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2116 (t_fmt_ampm): Likewise.
2117 * localedata/locales/gez_ET (t_fmt): Likewise.
2118 (t_fmt_ampm): Likewise.
2120 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2121 (t_fmt_ampm): Likewise.
2122 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2124 * localedata/locales/zh_HK (t_fmt):
2125 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2127 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2128 because this locale does not use the 12-hour clock.
2129 (t_fmt): Set to "%Z %H:%M:%S".
2130 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2132 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2133 because this locale does not use the 12-hour clock.
2134 (t_fmt): Set to "%H:%M:%S %Z".
2135 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2137 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2138 because this locale does not use the 12-hour clock.
2139 (t_fmt): Set to "%T".
2140 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2141 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2143 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2144 because this locale does not use the 12-hour clock.
2145 (t_fmt): Set to "%H:%M:%S %Z".
2146 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2148 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2149 because this locale does not use the 12-hour clock.
2150 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2151 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2153 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2157 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2158 (t_fmt_ampm): Likewise.
2159 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2160 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2161 (d_fmt): Set to "%-d.%-m.%y".
2163 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2165 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2166 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2167 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2169 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2170 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2171 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2173 * support/blob_repeat.c (check_mul_overflow_size_t,
2174 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2176 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2178 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2180 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2182 regex: simplify Gnulib port
2183 This simplifies the code, by removing stuff intended for porting
2184 to Gnulib but no longer needed there.
2185 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2186 uses of libc_hidden_def, weak_alias.
2187 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2188 _Restrict_ except for public-facing headers.
2189 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2190 Remove; already defined elsewhere.
2191 * posix/regex.c, posix/regex_internal.h:
2192 Use __GNUC_PREREQ instead of rolling our own.
2193 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2195 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2197 * benchtests/bench-strlen.c (generic_strlen): New function.
2198 (memchr_strlen): New function.
2200 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2202 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2203 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2204 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2206 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2210 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2212 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2213 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2214 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2215 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2216 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2217 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2218 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2220 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2223 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2224 PLT reference in libc.so.
2225 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2226 _Q_lltoq and _Q_qtod PLT references in libc.so.
2228 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2230 * benchtests/bench-memchr.c: Cleanup defines.
2231 * benchtests/bench-memcmp.c: Likewise.
2232 * benchtests/bench-memset.c: Likewise.
2233 * benchtests/bench-memset-large.c: Likewise.
2234 * benchtests/bench-memset-walk.c: Likewise.
2235 * benchtests/bench-stpcpy.c: Likewise.
2236 * benchtests/bench-stpncpy.c: Likewise.
2237 * benchtests/bench-strcat.c: Likewise.
2238 * benchtests/bench-strchr.c: Likewise.
2239 * benchtests/bench-strcmp.c: Likewise.
2240 * benchtests/bench-strcpy.c: Likewise.
2241 * benchtests/bench-strcspn.c: Likewise.
2242 * benchtests/bench-string.h: Likewise.
2243 * benchtests/bench-strlen.c: Likewise.
2244 * benchtests/bench-strncat.c: Likewise.
2245 * benchtests/bench-strncmp.c: Likewise.
2246 * benchtests/bench-strncpy.c: Likewise.
2247 * benchtests/bench-strnlen.c: Likewise.
2248 * benchtests/bench-strpbrk.c: Likewise.
2249 * benchtests/bench-strrchr.c: Likewise.
2250 * benchtests/bench-strspn.c: Likewise.
2252 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2254 * stdlib/longlong.h: Update from GCC.
2257 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2258 * configure: Regenerated.
2259 * manual/install.texi (Tools for Compilation): Update minimum GCC
2261 * INSTALL: Regenerated.
2263 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2265 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2267 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2269 * malloc/malloc.c (mremap_chunk): Additional checks.
2271 2018-12-21 Mao Han <han_mao@c-sky.com>
2273 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2274 * scripts/build-many-glibcs.py: Add C-SKY targets.
2275 * sysdeps/csky/Implies: New file.
2276 * sysdeps/csky/Makefile: Likewise.
2277 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2278 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2279 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2280 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2281 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2282 * sysdeps/csky/abiv2/memmove.S: Likewise.
2283 * sysdeps/csky/abiv2/memset.S: Likewise.
2284 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2285 * sysdeps/csky/abiv2/start.S: Likewise.
2286 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2287 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2288 * sysdeps/csky/abiv2/strlen.S: Likewise.
2289 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2290 * sysdeps/csky/abort-instr.h: Likewise.
2291 * sysdeps/csky/atomic-machine.h: Likewise.
2292 * sysdeps/csky/bits/endian.h: Likewise.
2293 * sysdeps/csky/bits/fenv.h: Likewise.
2294 * sysdeps/csky/bits/link.h: Likewise.
2295 * sysdeps/csky/bits/setjmp.h: Likewise.
2296 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2297 * sysdeps/csky/bsd-setjmp.S: Likewise.
2298 * sysdeps/csky/configure: Likewise.
2299 * sysdeps/csky/configure.ac: Likewise.
2300 * sysdeps/csky/dl-machine.h: Likewise.
2301 * sysdeps/csky/dl-procinfo.c: Likewise.
2302 * sysdeps/csky/dl-procinfo.h: Likewise.
2303 * sysdeps/csky/dl-sysdep.h: Likewise.
2304 * sysdeps/csky/dl-tls.h: Likewise.
2305 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2306 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2307 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2308 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2309 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2310 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2311 * sysdeps/csky/fpu/fegetround.c: Likewise.
2312 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2313 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2314 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2315 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2316 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2317 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2318 * sysdeps/csky/fpu/fesetround.c: Likewise.
2319 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2320 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2321 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2322 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2323 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2324 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2325 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2326 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2327 * sysdeps/csky/fpu_control.h: Likewise.
2328 * sysdeps/csky/gccframe.h: Likewise.
2329 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2330 * sysdeps/csky/ldsodefs.h: Likewise.
2331 * sysdeps/csky/libc-tls.c: Likewise.
2332 * sysdeps/csky/linkmap.h: Likewise.
2333 * sysdeps/csky/machine-gmon.h: Likewise.
2334 * sysdeps/csky/memusage.h: Likewise.
2335 * sysdeps/csky/nofpu/Implies: Likewise.
2336 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2337 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2338 * sysdeps/csky/nptl/Makefile: Likewise.
2339 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2340 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2341 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2342 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2343 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2344 * sysdeps/csky/nptl/tls.h: Likewise.
2345 * sysdeps/csky/preconfigure: Likewise.
2346 * sysdeps/csky/sfp-machine.h: Likewise.
2347 * sysdeps/csky/sotruss-lib.c: Likewise.
2348 * sysdeps/csky/stackinfo.h: Likewise.
2349 * sysdeps/csky/sysdep.h: Likewise.
2350 * sysdeps/csky/tininess.h: Likewise.
2351 * sysdeps/csky/tst-audit.h: Likewise.
2352 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2353 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2354 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2355 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2356 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2357 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2358 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2359 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2360 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2361 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2362 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2363 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2364 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2365 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2366 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2367 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2368 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2369 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2370 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2371 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2372 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2373 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2374 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2375 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2376 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2377 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2378 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2379 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2380 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2381 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2382 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2383 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2384 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2385 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2386 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2387 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2388 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2389 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2390 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2391 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2392 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2393 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2394 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2395 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2397 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2399 * include/time.h (__difftime64): Add.
2400 * time/difftime.c (subtract): convert to 64-bit time.
2401 * time/difftime.c (__difftime64): Add.
2402 * time/difftime.c (__difftime): Wrap around __difftime64.
2404 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2406 * manual/examples/add.c: Remove redundant "if not".
2407 * manual/examples/argp-ex1.c: Likewise.
2408 * manual/examples/argp-ex2.c: Likewise.
2409 * manual/examples/argp-ex3.c: Likewise.
2410 * manual/examples/argp-ex4.c: Likewise.
2411 * manual/examples/atexit.c: Likewise.
2412 * manual/examples/db.c: Likewise.
2413 * manual/examples/dir.c: Likewise.
2414 * manual/examples/dir2.c: Likewise.
2415 * manual/examples/execinfo.c: Likewise.
2416 * manual/examples/filecli.c: Likewise.
2417 * manual/examples/filesrv.c: Likewise.
2418 * manual/examples/fmtmsgexpl.c: Likewise.
2419 * manual/examples/genpass.c: Likewise.
2420 * manual/examples/inetcli.c: Likewise.
2421 * manual/examples/inetsrv.c: Likewise.
2422 * manual/examples/isockad.c: Likewise.
2423 * manual/examples/longopt.c: Likewise.
2424 * manual/examples/memopen.c: Likewise.
2425 * manual/examples/memstrm.c: Likewise.
2426 * manual/examples/mkdirent.c: Likewise.
2427 * manual/examples/mkfsock.c: Likewise.
2428 * manual/examples/mkisock.c: Likewise.
2429 * manual/examples/mygetpass.c: Likewise.
2430 * manual/examples/pipe.c: Likewise.
2431 * manual/examples/popen.c: Likewise.
2432 * manual/examples/rprintf.c: Likewise.
2433 * manual/examples/search.c: Likewise.
2434 * manual/examples/select.c: Likewise.
2435 * manual/examples/setjmp.c: Likewise.
2436 * manual/examples/sigh1.c: Likewise.
2437 * manual/examples/sigusr.c: Likewise.
2438 * manual/examples/stpcpy.c: Likewise.
2439 * manual/examples/strdupa.c: Likewise.
2440 * manual/examples/strftim.c: Likewise.
2441 * manual/examples/subopt.c: Likewise.
2442 * manual/examples/swapcontext.c: Likewise.
2443 * manual/examples/termios.c: Likewise.
2444 * manual/examples/testopt.c: Likewise.
2445 * manual/examples/testpass.c: Likewise.
2446 * manual/examples/timeval_subtract.c: Likewise.
2448 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2450 * sysdeps/x86/fpu/math_private.h: New file.
2451 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2453 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2458 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2460 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2461 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2462 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2463 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2465 (_dl_show_auxv): Give a special treatment to
2466 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2467 and AT_L3_CACHEGEOMETRY.
2468 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2469 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2470 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2471 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2473 2018-12-19 Andreas Schwab <schwab@suse.de>
2475 * nscd/connections.c (check_use): Don't abort on invalid len.
2477 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2479 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2480 values in the 64bit value cases.
2482 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2488 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2494 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2497 (__gmtime64_r): Add.
2499 (__gmtime64_r): Add.
2500 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2506 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2509 (__localtime64_r): Add.
2511 (__localtime64_r): Add.
2512 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2514 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2516 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2517 kernel_sigction definition.
2519 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2521 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2523 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2524 __syscall_rt_sigaction.
2525 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2526 (kernel_sigaction): Use Linux generic defintion.
2528 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2529 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2530 (__syscall_rt_sigaction): Remove implementation.
2531 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2533 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2534 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2535 INTERNAL_SYSCALL): Remove definitions.
2536 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2537 action and signal set size.
2538 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2539 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2541 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2542 James Clarke <jrtc27@jrtc27.com>
2545 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2546 Define if SA_RESTORER is defined.
2547 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2548 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2550 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2551 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2553 (HAS_SA_RESTORER): Define.
2554 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2555 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2556 (HAS_SA_RESTORER): Define.
2557 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2558 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2559 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2560 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2561 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2563 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2565 * sysdeps/unix/sysv/linux/kernel-features.h
2566 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2567 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2568 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2569 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2570 (__ASSUME_ST_INO_64_BIT): Likewise.
2571 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2572 <kernel-features.h>.
2573 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2574 Remove conditional code.
2575 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2576 <kernel-features.h>.
2577 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2578 Remove conditional code.
2579 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2580 <kernel-features.h>.
2581 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2582 Remove conditional code.
2583 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2584 <kernel-features.h>.
2585 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2586 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2590 * sysdeps/s390/multiarch/ifunc-resolve.h
2591 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2592 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2593 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2594 Delete macro definition.
2595 (s390_libc_ifunc_init): Rename to
2596 s390_libc_ifunc_expr_stfle_init.
2597 * sysdeps/s390/bzero: Use
2598 s390_libc_ifunc_expr_stfle_init instead of
2599 s390_libc_ifunc_init.
2600 * sysdeps/s390/memcmp.c: Likewise.
2601 * sysdeps/s390/memcpy.c: Likewise.
2602 * sysdeps/s390/mempcpy.c: Likewise.
2603 * sysdeps/s390/memset.c: Likewise.
2605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2607 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2608 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2612 * sysdeps/s390/multiarch/Makefile
2613 (sysdep_routines): Remove wmemcmp variants.
2614 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2615 * sysdeps/s390/multiarch/ifunc-impl-list.c
2616 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2617 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2618 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2619 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2620 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2621 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2622 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2623 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2627 * sysdeps/s390/multiarch/Makefile
2628 (sysdep_routines): Remove wmemset variants.
2629 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2630 * sysdeps/s390/multiarch/ifunc-impl-list.c
2631 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2632 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2633 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2634 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2635 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2636 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2637 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2638 * sysdeps/s390/ifunc-wmemset.h: New file.
2640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2642 * sysdeps/s390/multiarch/Makefile
2643 (sysdep_routines): Remove wmemchr variants.
2644 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2645 * sysdeps/s390/multiarch/ifunc-impl-list.c
2646 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2647 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2648 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2649 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2650 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2651 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2652 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2653 * sysdeps/s390/ifunc-wmemchr.h: New file.
2655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2657 * sysdeps/s390/multiarch/Makefile
2658 (sysdep_routines): Remove wcscspn variants.
2659 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2660 * sysdeps/s390/multiarch/ifunc-impl-list.c
2661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2662 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2663 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2664 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2665 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2666 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2667 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2668 * sysdeps/s390/ifunc-wcscspn.h: New file.
2670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2672 * sysdeps/s390/multiarch/Makefile
2673 (sysdep_routines): Remove wcspbrk variants.
2674 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2675 * sysdeps/s390/multiarch/ifunc-impl-list.c
2676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2677 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2678 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2679 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2680 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2681 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2682 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2683 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2687 * sysdeps/s390/multiarch/Makefile
2688 (sysdep_routines): Remove wcsspn variants.
2689 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2690 * sysdeps/s390/multiarch/ifunc-impl-list.c
2691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2692 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2693 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2694 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2695 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2696 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2697 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2698 * sysdeps/s390/ifunc-wcsspn.h: New file.
2700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2702 * sysdeps/s390/multiarch/Makefile
2703 (sysdep_routines): Remove wcsrchr variants.
2704 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2705 * sysdeps/s390/multiarch/ifunc-impl-list.c
2706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2707 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2708 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2709 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2710 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2711 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2712 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2713 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2717 * sysdeps/s390/multiarch/Makefile
2718 (sysdep_routines): Remove wcschrnul variants.
2719 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2720 * sysdeps/s390/multiarch/ifunc-impl-list.c
2721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2722 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2723 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2724 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2725 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2726 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2727 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2728 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2732 * sysdeps/s390/multiarch/Makefile
2733 (sysdep_routines): Remove wcschr variants.
2734 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2735 * sysdeps/s390/multiarch/ifunc-impl-list.c
2736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2737 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2738 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2739 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2740 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2741 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2742 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2743 * sysdeps/s390/ifunc-wcschr.h: New file.
2745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2747 * sysdeps/s390/multiarch/Makefile
2748 (sysdep_routines): Remove wcsncmp variants.
2749 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2750 * sysdeps/s390/multiarch/ifunc-impl-list.c
2751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2752 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2753 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2754 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2755 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2756 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2757 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2758 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2762 * sysdeps/s390/multiarch/Makefile
2763 (sysdep_routines): Remove wcscmp variants.
2764 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2765 * sysdeps/s390/multiarch/ifunc-impl-list.c
2766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2767 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2768 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2769 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2770 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2771 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2772 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2773 * sysdeps/s390/ifunc-wcscmp.h: New file.
2775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2777 * sysdeps/s390/multiarch/Makefile
2778 (sysdep_routines): Remove wcsncat variants.
2779 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2780 * sysdeps/s390/multiarch/ifunc-impl-list.c
2781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2782 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2783 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2784 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2785 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2786 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2787 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2788 * sysdeps/s390/ifunc-wcsncat.h: New file.
2790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2792 * sysdeps/s390/multiarch/Makefile
2793 (sysdep_routines): Remove wcscat variants.
2794 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2795 * sysdeps/s390/multiarch/ifunc-impl-list.c
2796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2797 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2798 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2799 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2800 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2801 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2802 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2803 * sysdeps/s390/ifunc-wcscat.h: New file.
2805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2807 * sysdeps/s390/multiarch/Makefile
2808 (sysdep_routines): Remove wcpncpy variants.
2809 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2810 * sysdeps/s390/multiarch/ifunc-impl-list.c
2811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2812 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2813 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2814 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2815 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2816 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2817 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2818 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2822 * sysdeps/s390/multiarch/Makefile
2823 (sysdep_routines): Remove wcsncpy variants.
2824 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2825 * sysdeps/s390/multiarch/ifunc-impl-list.c
2826 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2827 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2828 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2829 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2830 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2831 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2832 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2833 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2837 * sysdeps/s390/multiarch/Makefile
2838 (sysdep_routines): Remove wcpcpy variants.
2839 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2840 * sysdeps/s390/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2842 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2843 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2844 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2845 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2846 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2847 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2848 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2852 * sysdeps/s390/multiarch/Makefile
2853 (sysdep_routines): Remove wcscpy variants.
2854 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2855 * sysdeps/s390/multiarch/ifunc-impl-list.c
2856 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2857 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2858 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2859 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2860 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2861 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2862 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2863 * sysdeps/s390/ifunc-wcscpy.h: New file.
2865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2867 * sysdeps/s390/multiarch/Makefile
2868 (sysdep_routines): Remove wcsnlen variants.
2869 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2870 * sysdeps/s390/multiarch/ifunc-impl-list.c
2871 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2872 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2873 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2874 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2875 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2876 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2877 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2878 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2882 * sysdeps/s390/multiarch/Makefile
2883 (sysdep_routines): Remove wcslen variants.
2884 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2885 * sysdeps/s390/multiarch/ifunc-impl-list.c
2886 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2887 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2888 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2889 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2890 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2891 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2892 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2893 * sysdeps/s390/ifunc-wcslen.h: New file.
2895 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2897 * sysdeps/s390/multiarch/Makefile
2898 (sysdep_routines): Remove memrchr variants.
2899 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2900 * sysdeps/s390/multiarch/ifunc-impl-list.c
2901 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2902 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2903 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2904 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2905 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2906 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2907 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2908 * sysdeps/s390/ifunc-memrchr.h: New file.
2910 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2912 * sysdeps/s390/multiarch/Makefile
2913 (sysdep_routines): Remove memccpy variants.
2914 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2915 * sysdeps/s390/multiarch/ifunc-impl-list.c
2916 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2917 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2918 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2919 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2920 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2921 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2922 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2923 * sysdeps/s390/ifunc-memccpy.h: New file.
2925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2927 * sysdeps/s390/multiarch/Makefile
2928 (sysdep_routines): Remove rawmemchr variants.
2929 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2930 * sysdeps/s390/multiarch/ifunc-impl-list.c
2931 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2932 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2933 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2934 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2935 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2936 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2937 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2938 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2940 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2942 * sysdeps/s390/multiarch/Makefile
2943 (sysdep_routines): Remove memchr variants.
2944 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2945 * sysdeps/s390/multiarch/ifunc-impl-list.c
2946 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2947 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2948 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2949 * sysdeps/s390/multiarch/memchr.c: Move to ...
2950 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2951 * sysdeps/s390/ifunc-memchr.h: New file.
2952 * sysdeps/s390/s390-64/memchr.S: Move to ...
2953 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2954 for 31/64bit and ifunc handling.
2955 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2956 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2957 * sysdeps/s390/s390-32/memchr.S: Likewise.
2959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2961 * sysdeps/s390/multiarch/Makefile
2962 (sysdep_routines): Remove strcspn variants.
2963 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2964 * sysdeps/s390/multiarch/ifunc-impl-list.c
2965 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2966 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2967 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2968 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2969 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2970 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2971 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2972 * sysdeps/s390/ifunc-strcspn.h: New file.
2974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2976 * sysdeps/s390/multiarch/Makefile
2977 (sysdep_routines): Remove strpbrk variants.
2978 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2979 * sysdeps/s390/multiarch/ifunc-impl-list.c
2980 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2981 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2982 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2983 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2984 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2985 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2986 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2987 * sysdeps/s390/ifunc-strpbrk.h: New file.
2989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2991 * sysdeps/s390/multiarch/Makefile
2992 (sysdep_routines): Remove strspn variants.
2993 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2994 * sysdeps/s390/multiarch/ifunc-impl-list.c
2995 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2996 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2997 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2998 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2999 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3000 * sysdeps/s390/multiarch/strspn.c: Move to ...
3001 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3002 * sysdeps/s390/ifunc-strspn.h: New file.
3004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3006 * sysdeps/s390/multiarch/Makefile
3007 (sysdep_routines): Remove strrchr variants.
3008 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3009 * sysdeps/s390/multiarch/ifunc-impl-list.c
3010 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3011 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3012 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3013 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3014 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3015 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3016 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3017 * sysdeps/s390/ifunc-strrchr.h: New file.
3019 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3021 * sysdeps/s390/multiarch/Makefile
3022 (sysdep_routines): Remove strchrnul variants.
3023 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3024 * sysdeps/s390/multiarch/ifunc-impl-list.c
3025 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3026 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3027 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3028 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3029 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3030 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3031 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3032 * sysdeps/s390/ifunc-strchrnul.h: New file.
3034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3036 * sysdeps/s390/multiarch/Makefile
3037 (sysdep_routines): Remove strchr variants.
3038 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3039 * sysdeps/s390/multiarch/ifunc-impl-list.c
3040 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3041 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3042 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3043 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3044 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3045 * sysdeps/s390/multiarch/strchr.c: Move to ...
3046 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3047 * sysdeps/s390/ifunc-strchr.h: New file.
3049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3051 * sysdeps/s390/multiarch/Makefile
3052 (sysdep_routines): Remove strncmp variants.
3053 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3054 * sysdeps/s390/multiarch/ifunc-impl-list.c
3055 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3056 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3057 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3058 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3059 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3060 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3061 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3062 * sysdeps/s390/ifunc-strncmp.h: New file.
3064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3066 * sysdeps/s390/multiarch/Makefile
3067 (sysdep_routines): Remove strcmp variants.
3068 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3069 * sysdeps/s390/multiarch/ifunc-impl-list.c
3070 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3071 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3072 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3073 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3074 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3075 * sysdeps/s390/ifunc-strcmp.h: New file.
3076 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3077 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3078 for 31/64bit and ifunc handling.
3079 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3080 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3081 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3083 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3085 * sysdeps/s390/multiarch/Makefile
3086 (sysdep_routines): Remove strncat variants.
3087 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3088 * sysdeps/s390/multiarch/ifunc-impl-list.c
3089 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3090 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3091 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3092 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3093 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3094 * sysdeps/s390/multiarch/strncat.c: Move to ...
3095 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3096 * sysdeps/s390/ifunc-strncat.h: New file.
3098 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3100 * sysdeps/s390/multiarch/Makefile
3101 (sysdep_routines): Remove strcat variants.
3102 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3103 * sysdeps/s390/multiarch/ifunc-impl-list.c
3104 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3105 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3106 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3107 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3108 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3109 * sysdeps/s390/multiarch/strcat.c: Move to ...
3110 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3111 * sysdeps/s390/ifunc-strcat.h: New file.
3113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3115 * sysdeps/s390/multiarch/Makefile
3116 (sysdep_routines): Remove stpncpy variants.
3117 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3118 * sysdeps/s390/multiarch/ifunc-impl-list.c
3119 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3120 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3121 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3122 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3123 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3124 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3125 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3126 * sysdeps/s390/ifunc-stpncpy.h: New file.
3128 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3130 * sysdeps/s390/multiarch/Makefile
3131 (sysdep_routines): Remove strncpy variants.
3132 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3133 * sysdeps/s390/multiarch/ifunc-impl-list.c
3134 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3135 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3136 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3137 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3138 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3139 * sysdeps/s390/ifunc-strncpy.h: New file.
3140 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3141 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3142 and adjust ifunc handling.
3143 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3144 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3145 and adjust ifunc handling.
3146 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3147 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3151 * sysdeps/s390/multiarch/Makefile
3152 (sysdep_routines): Remove stpcpy variants.
3153 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3154 * sysdeps/s390/multiarch/ifunc-impl-list.c
3155 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3156 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3157 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3158 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3159 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3160 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3161 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3162 * sysdeps/s390/ifunc-stpcpy.h: New file.
3164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3166 * sysdeps/s390/multiarch/Makefile
3167 (sysdep_routines): Remove strcpy variants.
3168 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3169 * sysdeps/s390/multiarch/ifunc-impl-list.c
3170 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3171 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3172 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3173 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3174 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3175 * sysdeps/s390/ifunc-strcpy.h: New file.
3176 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3177 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3178 for 31/64bit and ifunc handling.
3179 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3180 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3181 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3185 * sysdeps/s390/multiarch/Makefile
3186 (sysdep_routines): Remove strnlen variants.
3187 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3188 * sysdeps/s390/multiarch/ifunc-impl-list.c
3189 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3190 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3191 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3192 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3193 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3194 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3195 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3196 * sysdeps/s390/ifunc-strnlen.h: New file.
3198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3200 * sysdeps/s390/multiarch/Makefile
3201 (sysdep_routines): Remove strlen variants.
3202 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3203 * sysdeps/s390/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3205 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3206 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3207 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3208 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3209 * sysdeps/s390/multiarch/strlen.c: Move to ...
3210 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3211 * sysdeps/s390/ifunc-strlen.h: New file.
3213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3215 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3216 * sysdeps/s390/multiarch/ifunc-impl-list.c
3217 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3218 * sysdeps/s390/ifunc-memmem.h: New file.
3219 * sysdeps/s390/memmem.c: Likewise.
3220 * sysdeps/s390/memmem-c.c: Likewise.
3221 * sysdeps/s390/memmem-vx.c: Likewise.
3223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3225 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3226 * sysdeps/s390/multiarch/ifunc-impl-list.c
3227 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3228 * sysdeps/s390/ifunc-strstr.h: New file.
3229 * sysdeps/s390/strstr.c: Likewise.
3230 * sysdeps/s390/strstr-c.c: Likewise.
3231 * sysdeps/s390/strstr-vx.c: Likewise.
3233 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3235 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3236 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3237 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3238 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3240 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3241 * sysdeps/s390/memmove-c.c: New file.
3242 * sysdeps/s390/memmove.c: Likewise.
3243 * sysdeps/s390/multiarch/ifunc-impl-list.c
3244 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3248 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3249 * sysdeps/s390/configure.ac: Add check for z13 support.
3250 * sysdeps/s390/configure: Regenerated.
3252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3254 * sysdeps/s390/memcopy.h: New file.
3256 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3258 * sysdeps/s390/s390-32/bcopy.S: Remove.
3259 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3263 * sysdeps/s390/ifunc-memcpy.h: New File.
3264 * sysdeps/s390/memcpy.S: Move to ...
3265 * sysdeps/s390/memcpy-z900.S ... here.
3266 Move implementations from memcpy-s390x.s to here.
3267 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3268 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3269 Remove memcpy/mempcpy variants.
3270 * sysdeps/s390/Makefile (sysdep_routines):
3271 Add memcpy/mempcpy variants.
3272 * sysdeps/s390/multiarch/ifunc-impl-list.c
3273 (__libc_ifunc_impl_list): Adjust ifunc variants for
3275 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3277 * sysdeps/s390/memcpy.c: ... here.
3278 Adjust ifunc variants for memcpy.
3279 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3280 * sysdeps/s390/mempcpy.c: ... here.
3281 Adjust ifunc variants for mempcpy.
3282 * sysdeps/s390/mempcpy.S: Delete file.
3284 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3286 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3287 * sysdeps/s390/memcpy.S: ... here.
3288 Adjust to be usable for 31/64bit.
3289 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3291 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3292 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3293 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3294 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3295 Adjust to be usable for 31/64bit.
3296 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3297 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3298 * sysdeps/s390/multiarch/memcpy.c: ... here.
3299 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3303 * sysdeps/s390/ifunc-memcmp.h: New File.
3304 * sysdeps/s390/memcmp.S: Move to ...
3305 * sysdeps/s390/memcmp-z900.S ... here.
3306 Move implementations from memcmp-s390x.s to here.
3307 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3308 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3309 Remove memcmp variants.
3310 * sysdeps/s390/Makefile (sysdep_routines):
3311 Add memcmp variants.
3312 * sysdeps/s390/multiarch/ifunc-impl-list.c
3313 (__libc_ifunc_impl_list): Adjust ifunc variants for
3315 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3317 * sysdeps/s390/memcmp.c: ... here.
3318 Adjust ifunc variants for memcmp.
3320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3322 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3323 * sysdeps/s390/memcmp.S: ... here.
3324 Adjust to be usable for 31/64bit.
3325 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3326 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3327 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3329 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3330 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3331 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3332 Adjust to be usable for 31/64bit.
3333 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3334 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3335 * sysdeps/s390/multiarch/memcmp.c: ... here.
3336 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3340 * sysdeps/s390/s390-32/bzero.S: Delete file.
3341 * sysdeps/s390/s390-64/bzero.S: Likewise.
3342 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3343 * sysdeps/s390/bzero.c: New file.
3344 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3345 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3346 * sysdeps/s390/multiarch/ifunc-impl-list.c
3347 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3351 * sysdeps/s390/ifunc-memset.h: New File.
3352 * sysdeps/s390/memset.S: Move to ...
3353 * sysdeps/s390/memset-z900.S ... here.
3354 Move implementations from memset-s390x.s to here.
3355 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3356 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3357 Remove memset variants.
3358 * sysdeps/s390/Makefile (sysdep_routines):
3359 Add memset variants.
3360 * sysdeps/s390/multiarch/ifunc-impl-list.c
3361 (__libc_ifunc_impl_list): Adjust ifunc variants for
3363 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3365 * sysdeps/s390/memset.c: ... here.
3366 Adjust ifunc variants for memset.
3368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3370 * sysdeps/s390/s390-64/memset.S: Move to ...
3371 * sysdeps/s390/memset.S: ... here.
3372 Adjust to be usable for 31/64bit.
3373 * sysdeps/s390/s390-32/memset.S: Delete File.
3374 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3375 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3377 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3378 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3379 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3380 Adjust to be usable for 31/64bit.
3381 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3382 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3383 * sysdeps/s390/multiarch/memset.c: ... here.
3384 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3386 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3388 * sysdeps/s390/multiarch/ifunc-resolve.h
3389 (s390_libc_ifunc_init, s390_libc_ifunc,
3390 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3392 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3394 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3395 * sysdeps/s390/configure.ac: Add check for z10 support.
3396 * sysdeps/s390/configure: Regenerated.
3398 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/i386/atomic-machine.h: Merged with ...
3401 * sysdeps/x86_64/atomic-machine.h: To ...
3402 * sysdeps/x86/atomic-machine.h: This. New file.
3404 2018-12-18 Florian Weimer <fweimer@redhat.com>
3406 Rewrite locale/gen-translit.pl in Python.
3407 * locale/Makefile (generated): Add C-translit.h.
3408 (before-compile): Add $(objpfx)C-translit.h.
3409 (C-translit.h): Move to $(objpfx). Create target directory.
3410 Build using Python script.
3411 * locale/gen-translit.py: New file.
3412 * locale/gen-translit.pl: Remove file.
3413 * locale/C-translit.h.in: Change comment character to '#' for
3414 easier parsing without a C preprocessor.
3415 * locale/C-translit.h: Remove generated file.
3416 * manual/install.texi (Tools for Compilation): Do not mention
3418 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3419 Remove locale/C-translit.h.
3420 * scripts/update-copyrights: Likewise.
3421 * INSTALL: Regenerate.
3423 2018-12-18 Florian Weimer <fweimer@redhat.com>
3426 * localedata/locales/bi_VU: Remove executable bit from file.
3428 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3431 (__localtime64): Add.
3432 * manual/maint.texi: Document Y2038 symbol handling.
3434 (__localtime64): Add.
3435 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3437 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3439 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3442 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3443 to allow extra macros from first or second sources.
3444 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3446 (tests-special): Add $(objpfx)tst-mman-consts.out.
3447 ($(objpfx)tst-mman-consts.out): New makefile target.
3449 2018-12-17 Mao Han <han_mao@c-sky.com>
3451 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3452 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3453 without stat64 system call support.
3454 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3455 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3456 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3457 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3458 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3459 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3460 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3461 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3462 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3463 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3464 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3466 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3468 regex: fix storage-exhaustion error
3470 * posix/regexec.c (get_subexp):
3471 Do not continue if storage is exhausted.
3473 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3475 regex: fix heap-use-after-free error
3477 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3478 https://debbugs.gnu.org/32592
3479 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3480 call extend_buffers which reallocates the re_string_t internal buffer.
3481 Local variable 'buf' was not updated in such case, resulting in
3483 * posix/regexec.c (get_subexp): Update 'buf' after call to
3486 2018-12-15 Florian Weimer <fweimer@redhat.com>
3488 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3489 (minimum_stride_size): Use it.
3490 (support_blob_repeat_allocate): Likewise.
3492 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3494 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3499 2018-12-14 Florian Weimer <fweimer@redhat.com>
3501 * manual/process.texi (Process Creation Concepts): Remove
3502 documentation of process (ID) lifetime. List more process
3503 creation functions. Reference Process Identification section.
3504 (Process Identification): Add information about process ID
3505 lifetime. Describe Linux thread/task IDs.
3506 * manual/signal.texi (Signaling Another Process): Mention that the
3507 signal is always sent to the process.
3509 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3511 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3512 and tst-ldbl-efgcvt.
3513 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3514 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3515 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3516 (fcvt_tests, output_error, output_r_error, do_test): Use the
3517 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3518 select the type of floating-point variables and arguments; to
3519 produce extra tests for double and conversion specifiers for
3520 printf; and to set the names of called functions.
3521 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3522 in tst-efgcvt-template.c.
3523 * misc/tst-ldbl-efgcvt.c: Likewise.
3525 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3527 * nss/Makefile (tst-nss-test3.out): New rule.
3529 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3531 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3534 2018-12-13 fanjinke <fanjinke@hygon.cn>
3536 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3539 2018-12-13 Andreas Schwab <schwab@suse.de>
3542 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3543 (__pthread_rwlock_rdlock_full): Update expected value for
3544 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3545 * nptl/tst-rwlock-pwn.c: New file.
3546 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3548 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3550 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3553 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3555 * benchtests/scripts/compare_bench.py (do_compare): write to
3556 stderr in casestat is not present.
3557 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3558 stderr in case timings field is not present. Also string showing
3559 the output filename goes into the stderr.
3561 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3563 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3564 and ZeroDivisorError exceptions.
3565 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3566 argument to loop through user provided statistics.
3567 * benchtests/scripts/compare_bench.py (main): Include the --stats
3570 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3572 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3575 2018-12-12 Florian Weimer <fweimer@redhat.com>
3577 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3578 clause to copyright header.
3580 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3583 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3584 registers saved in the stack frame.
3585 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3586 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3588 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3590 * include/bits/monetary-ldbl.h: New file.
3591 * include/bits/printf-ldbl.h: Likewise.
3592 * include/bits/stdio-ldbl.h: Likewise.
3593 * include/bits/stdlib-ldbl.h: Likewise.
3594 * include/bits/syslog-ldbl.h: Likewise.
3595 * include/bits/wchar-ldbl.h: Likewise.
3597 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3599 * libio/libio.h: Remove redirection for _IO_vfprintf.
3601 2018-12-11 Andreas Schwab <schwab@suse.de>
3603 * Makerules: Remove all references to abilist-pattern.
3604 (update-all-abi): Simplify find expression.
3606 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3609 * math/auto-libm-test-in: Add new test case.
3610 * math/auto-libm-test-out-pow: Regenerated.
3611 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3613 2018-12-10 DJ Delorie <dj@redhat.com>
3616 * support/test-container.c: Move postclean step to before we
3619 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3621 * scripts/gen-as-const.py (main): Handle --python option.
3622 * scripts/gen-py-const.awk: Remove.
3623 * Makerules (py-const-script): Use gen-as-const.py.
3624 ($(py-const)): Likewise.
3625 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3626 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3627 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3628 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3629 ~PTHREAD_MUTEX_NO_ELISION_NP.
3630 * manual/README.pretty-printers: Update reference to
3633 * scripts/glibcextract.py: New file.
3634 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3635 or tempfile. Import glibcexctract.
3636 (compute_c_consts): Remove. Moved to glibcextract.py.
3637 (gen_test): Update reference to compute_c_consts.
3639 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3640 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3641 * sysdeps/unix/sysv/linux/Makefile
3642 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3643 Redirect stderr as well as stdout.
3645 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3648 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3649 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3650 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3651 ALWAYS_USE_VSYSCALL.
3652 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3653 ALWAYS_USE_VSYSCALL.
3654 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3655 ALWAYS_USE_VSYSCALL.
3657 2018-12-10 Florian Weimer <fweimer@redhat.com>
3660 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3661 offset instead of count for clarity. Fix typo in comment.
3662 (__old_getdents64): Keep track of previous offset. Use it to call
3664 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3665 that d_off is never zero.
3667 2018-12-10 Andreas Schwab <schwab@suse.de>
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3670 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3672 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3673 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3675 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3677 * timezone/private.h: Update from tzcode 2018g.
3678 * timezone/tzfile.h: Likewise.
3679 * timezone/tzselect.ksh: Likewise.
3680 * timezone/zdump.c: Likewise.
3681 * timezone/zic.c: Likewise.
3683 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3686 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3687 (do_test): Adjust buffer size and fix format.
3689 2018-12-07 DJ Delorie <dj@redhat.com>
3692 * malloc/tst-tcfree3.c: New.
3693 * malloc/Makefile: Add it.
3695 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3697 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3699 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3701 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3702 used as a mask for the mode argument of __vfscanf_internal and
3703 __vfwscanf_internal.
3704 * stdio-common/vfscanf-internal.c
3705 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3706 (__strtof128_internal): Define to __wcstof128_internal.
3707 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3708 __strtof128_internal or __wcstof128_internal when the format of
3709 long double is the same as _Float128.
3711 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3713 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3714 * posix/confstr.c (confstr): Rename to __confstr.
3715 (__confstr): Add hidden def.
3716 (confstr): Add weak alias for __confstr.
3717 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3720 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3722 * NEWS: Mention getcpu.
3723 * include/sched.h (__getcpu): New libc_hidden_proto.
3724 * manual/resource.texi: Document getcpu.
3725 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3727 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3729 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3730 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3731 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3732 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3733 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3734 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3735 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3736 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3737 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3739 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3740 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3741 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3750 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3757 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3758 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3759 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3760 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3763 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3765 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3767 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3769 2018-12-07 Florian Weimer <fweimer@redhat.com>
3772 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3773 * posix/Versions (GLIBC_2.29): Export
3774 posix_spawn_file_actions_addfchdir_np.
3775 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3776 * posix/spawn_faction_destroy.c
3777 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3778 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3779 and the field action.fchdir_action.
3780 * posix/tst-spawn-chdir.c (add_chdir): New function.
3781 (do_test): Add do_fchdir loop. Call add_chdir.
3782 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3783 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3784 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3785 posix_spawn_file_actions_addfchdir_np.
3786 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3788 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3790 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3791 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3793 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3795 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3797 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3799 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3801 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3804 (GLIBC_2.29): Likewise.
3805 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3806 (GLIBC_2.29): Likewise.
3807 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3808 (GLIBC_2.29): Likewise.
3809 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3810 (GLIBC_2.29): Likewise.
3811 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3814 (GLIBC_2.29): Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3816 (GLIBC_2.29): Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3818 (GLIBC_2.29): Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3820 (GLIBC_2.29): Likewise.
3821 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3823 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3825 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3827 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3830 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3832 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3837 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3839 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3840 trailing whitespace removed.
3841 * scripts/config.guess: Update to version 2018-11-28.
3842 * scripts/config.sub: Update to version 2018-11-28.
3843 * scripts/install-sh: Update to version 2018-03-11.20.
3844 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3845 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3847 2018-12-07 Florian Weimer <fweimer@redhat.com>
3851 * inet/tst-if_index-long.c: New file.
3852 * inet/Makefile (tests): Add tst-if_index-long.
3854 2018-12-07 Florian Weimer <fweimer@redhat.com>
3856 * support/check.h (support_record_failure_is_failed): Declare.
3857 * support/descriptors.h: New file.
3858 * support/support_descriptors.c: Likewise.
3859 * support/tst-support_descriptors.c: Likewise.
3860 * support/support_record_failure.c
3861 (support_record_failure_is_failed): New function.
3862 * support/Makefile (libsupport-routines): Add support_descriptors.
3863 (tests): Add tst-support_descriptors.
3865 2018-12-05 Zack Weinberg <zackw@panix.com>
3866 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3868 * stdio-common/vfprintf-internal.c
3869 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3870 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3871 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3872 and __no_long_double.
3873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3874 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3876 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3877 and __nldbl_*syslog* functions.
3878 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3879 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3880 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3881 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3882 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3883 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3884 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3885 (__nldbl_vwprintf, __nldbl_wprintf):
3886 Directly call the appropriate __v*printf_internal routine, passing
3887 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3889 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3890 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3891 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3892 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3893 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3894 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3895 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3896 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3897 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3898 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3899 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3900 (__nldbl_syslog, __nldbl_vsyslog):
3901 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3902 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3904 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3907 2018-12-05 Zack Weinberg <zackw@panix.com>
3908 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3911 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3912 Moved here from debug/vsprintf_chk.c.
3913 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3914 and completion logic for the strfile to match exactly what
3915 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3916 _IO_str_init_static_internal instead of maxlen-1.
3917 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3918 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3919 __vsprintf_internal.
3921 * debug/vsprintf_chk.c (__vsprintf_chk)
3922 * debug/sprintf_chk.c (__sprintf_chk):
3923 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3924 'flags' argument is positive, and slen as maxlen. No need to lock
3925 the FILE and/or construct a temporary FILE. Minimize and normalize
3926 header inclusions and variable names. Do not libc_hidden_def anything.
3928 * debug/asprintf_chk.c (__asprintf_chk)
3929 * debug/dprintf_chk.c (__dprintf_chk)
3930 * debug/fprintf_chk.c (__fprintf_chk)
3931 * debug/fwprintf_chk.c (__fwprintf_chk)
3932 * debug/printf_chk.c (__printf_chk)
3933 * debug/snprintf_chk.c (__snprintf_chk)
3934 * debug/swprintf_chk.c (__swprintf_chk)
3935 * debug/vasprintf_chk.c (__vasprintf_chk)
3936 * debug/vdprintf_chk.c (__vdprintf_chk)
3937 * debug/vfprintf_chk.c (__vfprintf_chk)
3938 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3939 * debug/vprintf_chk.c (__vprintf_chk)
3940 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3941 * debug/vswprintf_chk.c (__vswprintf_chk)
3942 * debug/vwprintf_chk.c (__vwprintf_chk)
3943 * debug/wprintf_chk.c (__wprintf_chk):
3944 Directly call the corresponding vxxprintf_internal function, passing
3945 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3946 the FILE and/or construct a temporary FILE. Minimize and normalize
3947 header inclusions and variable names. Do not libc_hidden_def anything.
3949 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3950 __obstack_vprintf_internal.
3951 (__obstack_vprintf_chk): Convert into a wrapper that calls
3952 __obstack_vprintf_internal (these two functions already had the
3953 same code) and move to new file...
3954 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3956 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3957 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3958 * debug/Makefile (routines): Add vobprintf_chk.
3960 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3961 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3962 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3963 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3964 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3965 (__nldbl___obstack_vfprintf_chk):
3966 Directly call the corresponding vxxprintf_internal function,
3967 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3968 duplicate comparison of slen with 0 or maxlen from the corresponding
3969 non-__nldbl function.
3971 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3972 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3973 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3974 Remove libc_hidden_proto.
3976 * stdio-common/vfprintf-internal.c
3977 (__vfprintf_internal, __vfwprintf_internal):
3978 Do not check _IO_FLAGS2_FORTIFY.
3979 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3980 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3981 a comment explaining why it has the maxlen argument.
3982 (_IO_acquire_lock_clear_flags2_fct): Remove.
3983 (_IO_acquire_lock_clear_flags2): Remove.
3984 (_IO_release_lock): Remove conditional statement which will
3986 (_IO_acquire_lock): Remove variable which is now unused.
3987 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3988 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3990 * stdio-common/Makefile (tests): Add tst-bz11319 and
3991 tst-bz11319-fortify2.
3992 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3993 * stdio-common/tst-bz11319-fortify2.c: New file.
3994 * stdio-common/tst-bz11319.c: Likewise.
3996 2018-12-05 Zack Weinberg <zackw@panix.com>
3997 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3999 * misc/syslog.c: Include libioP.h, not iolibio.h.
4000 (__vsyslog_internal): New function with the former body of
4001 __vsyslog_chk; takes mode_flags argument same as
4002 __v*printf_internal. Call __vfprintf_internal directly.
4004 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4005 Remove libc_hidden_def.
4006 (__syslog, __syslog_chk): Use __vsyslog_internal.
4007 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4009 * include/sys/syslog.h: Add multiple inclusion guard.
4010 Add prototype for __vsyslog_internal.
4011 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4013 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4014 Use __vsyslog_internal.
4016 2018-12-05 Zack Weinberg <zackw@panix.com>
4017 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4019 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4020 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4021 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4023 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4024 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4026 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4027 Include wctype.h here if COMPILE_WPRINTF is defined.
4028 Define __vfprintf_internal or __vfwprintf_internal, depending
4030 Temporarily, on entry to this function, update mode_flags
4031 according to the environmental settings corresponding to
4032 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4033 Throughout, check mode_flags instead of __ldbl_is_dbl and
4034 _IO_FLAGS2_FORTIFY on the destination FILE.
4035 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4036 Include vfprintf-internal.c. Don't include wctype.h.
4037 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4038 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4040 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4041 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4043 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4045 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4046 and add mode_flags argument; use __vfprintf_internal.
4047 (__vdprintf): New function. Alias vdprintf to this.
4048 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4049 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4050 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4051 (__obstack_printf): Use __obstack_printf_internal.
4052 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4053 public aliases __vsnprintf and vsnprintf.
4054 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4056 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4057 public aliases _IO_vsprintf and vsprintf.
4058 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4059 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4060 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4061 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4062 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4064 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4065 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4066 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4067 * stdio-common/printf.c: Use __vfprintf_internal.
4069 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4070 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4071 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4073 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4074 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4075 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4076 __vfwprintf_internal.
4078 * libio/libio.h: Remove libc_hidden_proto and declaration for
4080 Remove declaration of _IO_vfwprintf.
4081 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4083 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4085 * include/stdio.h: Add prototype for __vasprintf.
4086 (__vsnprintf): Remove declaration, because there are no more
4088 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4089 declaration, because there are no more internal calls.
4091 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4092 __vsnprintf_internal, instead of _IO_vsnprintf.
4093 * argp/argp-help.c (__argp_error, __argp_failure): Use
4094 __vasprintf_internal, instead of _IO_vasprintf.
4095 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4096 redefine, because there are no more internal calls.
4098 2018-12-05 Zack Weinberg <zackw@panix.com>
4099 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4101 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4102 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4103 Include libio/strfile.h instead of libioP.h.
4104 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4105 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4106 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4107 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4108 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4109 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4110 necessary. Do not set __no_long_double. Normalize variable names.
4111 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4112 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4113 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4114 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4115 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4116 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4117 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4118 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4119 Do not set __no_long_double. Normalize variable names.
4121 2018-12-05 Zack Weinberg <zackw@panix.com>
4122 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4124 * stdio-common/isoc99_scanf.c
4125 * stdio-common/isoc99_fscanf.c
4126 * stdio-common/isoc99_sscanf.c
4127 * stdio-common/isoc99_vscanf.c
4128 * stdio-common/isoc99_vfscanf.c
4129 * stdio-common/isoc99_vsscanf.c
4130 * wcsmbs/isoc99_wscanf.c
4131 * wcsmbs/isoc99_fwscanf.c
4132 * wcsmbs/isoc99_swscanf.c
4133 * wcsmbs/isoc99_vwscanf.c
4134 * wcsmbs/isoc99_vfwscanf.c
4135 * wcsmbs/isoc99_vswscanf.c:
4136 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4137 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4138 No need to lock and unlock the FILE passed to that function.
4140 * stdio-common/vfscanf-internal.c
4141 (__vfscanf_internal, __vfwscanf_internal):
4142 Don't look at _IO_FLAGS2_SCANF_STD.
4143 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4144 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4145 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4147 2018-12-05 Zack Weinberg <zackw@panix.com>
4148 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4150 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4151 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4152 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4153 * libio/strfile.h: Add multiple inclusion guard.
4154 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4156 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4157 consistency with the other version of this file.
4158 (ldbl_compat_symbol): New macro.
4159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4162 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4163 Define __vfscanf_internal or __vfwscanf_internal, depending on
4164 COMPILE_WSCANF; don't define any other public symbols.
4165 Remove errval and code to set errp.
4166 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4167 as the mode_flags argument.
4168 (encode_error, conv_error, input_error): Don't set errval.
4169 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4170 Include vfscanf-internal.c.
4171 * stdio-common/vfscanf.c: New file defining the public entry
4172 point vfscanf, which calls __vfscanf_internal.
4173 * stdio-common/vfwscanf.c: New file defining the public entry
4174 point vfwscanf, which calls __vfwscanf_internal.
4176 * stdio-common/iovfscanf.c: New file.
4177 * stdio-common/iovfwscanf.c: Likewise.
4179 * stdio-common/Makefile (routines): Add vfscanf-internal,
4180 vfwscanf-internal, iovfscanf, iovfwscanf.
4181 * stdio-common/Versions: Mention GLIBC_2.29, so that
4182 it can be used in SHLIB_COMPAT expressions.
4183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4184 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4185 Call __vfscanf_internal, instead of _IO_vfscanf.
4186 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4188 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4191 * libio/iovsscanf.c: Clean up includes, when possible. Use
4192 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4193 __vfscanf_internal or __vfwscanf_internal directly.
4194 * libio/iovswscanf.c: Likewise.
4195 * libio/swscanf.c: Likewise.
4196 * libio/vscanf.c: Likewise.
4197 * libio/vwscanf.c: Likewise.
4198 * libio/wscanf.c: Likewise.
4199 * stdio-common/isoc99_fscanf.c: Likewise.
4200 * stdio-common/isoc99_scanf.c: Likewise.
4201 * stdio-common/isoc99_sscanf.c: Likewise.
4202 * stdio-common/isoc99_vfscanf.c: Likewise.
4203 * stdio-common/isoc99_vscanf.c: Likewise.
4204 * stdio-common/isoc99_vsscanf.c: Likewise.
4205 * stdio-common/scanf.c: Likewise.
4206 * stdio-common/sscanf.c: Likewise.
4207 * wcsmbs/isoc99_fwscanf.c: Likewise.
4208 * wcsmbs/isoc99_swscanf.c: Likewise.
4209 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4210 * wcsmbs/isoc99_vswscanf.c: Likewise.
4211 * wcsmbs/isoc99_vwscanf.c: Likewise.
4212 * wcsmbs/isoc99_wscanf.c: Likewise.
4214 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4217 (__tz_compute): Replace time_t with __time64_t.
4218 (__tz_convert): Replace time_t* with __time64_t.
4219 (__offtime): Replace time_t* with __time64_t.
4221 (__gmtime_r): Adjust call to __tz_convert.
4224 (__localtime_r): Likewise.
4225 (localtime): Likewise.
4226 * time/offtime.c: Replace time_t with __time64_t.
4227 * time/tzset.c: Likewise.
4229 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4231 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4232 dynamic linker unless [$(run-built-tests) = yes].
4234 2018-12-03 DJ Delorie <dj@delorie.com>
4236 * support/test-container.c (check_for_unshare_hints): New.
4237 (main): Call it if unshare fails. Add support for "su" scriptlet
4240 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4242 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4243 'START' to indicate that start text should be output.
4244 (gen_test): Likewise.
4245 (main): Generate 'START' for first symbol or '--' line, or at end
4246 of input if not previously generated.
4248 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4251 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4252 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4253 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4254 ALWAYS_USE_VSYSCALL.
4256 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4259 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4262 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4265 * locale/programs/localedef.c: Declare boolean hard_links default true.
4266 (options): Add --no-hard-links option.
4267 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4268 * locale/programs/localedef.h: Declare prototype for hard_links.
4269 * locale/programs/locfile.c (write_locale_data): Don't use hard
4270 links if hard_links is false.
4272 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4274 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4276 (__cache_sysconf): Likewise.
4277 (init_cacheinfo): Likewise.
4278 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4279 populate COMMON_CPUID_INDEX_80000007 and
4280 COMMON_CPUID_INDEX_80000008.
4281 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4282 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4283 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4284 (init_cpu_features): Use _Static_assert on
4285 index_arch_Fast_Unaligned_Load.
4286 __get_cpuid_registers and __get_arch_feature. Updated for
4287 cpu_features_basic. Set stepping in cpu_features.
4288 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4289 (FEATURE_INDEX_2): New.
4290 (FEATURE_INDEX_MAX): Changed to enum.
4291 (COMMON_CPUID_INDEX_D_ECX_1): New.
4292 (COMMON_CPUID_INDEX_80000007): Likewise.
4293 (COMMON_CPUID_INDEX_80000008): Likewise.
4294 (cpuid_registers): Likewise.
4295 (cpu_features_basic): Likewise.
4296 (CPU_FEATURE_USABLE): Likewise.
4297 (bit_arch_XXX_Usable): Likewise.
4298 (cpu_features): Use cpuid_registers and cpu_features_basic.
4299 (bit_arch_XXX): Reweritten.
4300 (bit_cpu_XXX): Likewise.
4301 (index_cpu_XXX): Likewise.
4302 (reg_XXX): Likewise.
4303 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4305 (CHECK_CPU_FEATURE): New.
4306 (CHECK_CPU_FEATURE_USABLE): Likewise.
4307 (cpu_kinds): Likewise.
4308 (do_test): Print vendor, family, model and stepping. Check
4309 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4310 (TEST_FUNCTION): Removed.
4311 Include <support/test-driver.c> instead of
4312 "../../test-skeleton.c".
4313 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4314 Check POPCNT instead of POPCOUNT.
4315 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4317 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4319 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4320 there is no element in `consts'.
4322 2018-12-01 Florian Weimer <fweimer@redhat.com>
4324 * support/support_capture_subprocess.c
4325 (support_capture_subprocess): Check that pipe descriptors have
4326 expected values. Close original pipe descriptors in subprocess.
4328 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4331 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4332 attr with __pthread_default_barrierattr.
4333 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4334 attr with __pthread_default_condattr.
4335 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4336 attr with __pthread_default_mutexattr.
4337 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4338 attr with __pthread_default_rwlockattr.
4340 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4342 * manual/tunables.texi (POSIX Thread Tunables): New node.
4343 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4344 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4345 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4346 __pthread_tunables_init.
4347 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4348 (max_adaptive_count): Define.
4349 * nptl/pthread_mutex_conf.c: New file.
4350 * nptl/pthread_mutex_conf.h: New file.
4351 * sysdeps/generic/adaptive_spin_count.h: New file.
4352 * sysdeps/nptl/dl-tunables.list: New file.
4353 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4354 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4355 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4358 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4361 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4362 * stdlib/on_exit.c (__on_exit): Likewise.
4363 * stdlib/Makefile (tests): Add tst-bz20544.
4364 * stdlib/tst-bz20544.c: New test.
4366 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4369 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4370 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4373 2018-11-30 Florian Weimer <fweimer@redhat.com>
4375 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4376 Extend error logging.
4377 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4380 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4382 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4383 __sigismember instead of sigismember.
4384 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4385 cancel_handler): New definitions.
4386 (do_system): Use posix_spawn instead of fork and execl and remove
4388 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4389 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4390 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4391 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4393 * sysdeps/unix/sysv/linux/system.c: Likewise.
4397 * NEWS: Add new semantic for atfork with popen and system.
4398 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4401 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4404 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4405 modification order when accessing reloc_result->addr.
4406 * include/link.h (reloc_result): Add field init.
4407 * nptl/Makefile (tests): Add tst-audit-threads.
4408 (modules-names): Add tst-audit-threads-mod1 and
4409 tst-audit-threads-mod2.
4410 Add rules to build tst-audit-threads.
4411 * nptl/tst-audit-threads-mod1.c: New file.
4412 * nptl/tst-audit-threads-mod2.c: Likewise.
4413 * nptl/tst-audit-threads.c: Likewise.
4414 * nptl/tst-audit-threads.h: Likewise.
4416 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4418 * scripts/gen-as-const.py: New file.
4419 * scripts/gen-as-const.awk: Remove.
4420 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4422 ($(objpfx)test-as-const-%.c): Likewise.
4424 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4426 * elf/dl-exception.c: Include <_itoa.h>.
4428 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4430 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4431 returned by __f_setlk.
4433 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4434 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4436 * elf/Makefile (tests-internal): Add tst-create_format1.
4437 * elf/dl-exception.c (_dl_exception_create_format): Support
4439 * elf/tst-create_format1.c: New file.
4441 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4443 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4444 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4446 * argp/argp-help.c (__argp_failure): Likewise.
4448 2018-11-29 Mao Han <han_mao@c-sky.com>
4450 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4451 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4452 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4453 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4454 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4455 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4456 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4457 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4458 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4459 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4460 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4461 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4462 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4463 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4464 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4465 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4466 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4467 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4468 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4469 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4470 (R_CKCORE_TLS_TPOFF32): New defines.
4472 2018-11-29 Florian Weimer <fweimer@redhat.com>
4474 * posix/Makefile (before-compile): Remove testcases.h and
4476 (generated): Add testcases.h and ptestcases.h.
4477 (testcases.h, ptestcases.h): Move to $(objpfx).
4478 (runtests.o): Add dependency on testcases.h.
4479 (runptests.o): Add dependency on ptestcases.h.
4480 * posix/testcases.h, posix/ptestcases.h: Remove files.
4481 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4482 not touch posix/testcases.h and posix/ptestcases.h.
4484 2018-11-28 Florian Weimer <fweimer@redhat.com>
4486 support: Add signal support to support_capture_subprocess_check.
4487 * support/capture_subprocess.h (support_capture_subprocess_check):
4488 Adjust comment and rename parameter.
4489 * support/support_capture_subprocess_check.c
4490 (print_actual_status): New function.
4491 (support_capture_subprocess_check): Support negative
4492 status_or_signal. Call print_actual_status.
4493 * support/tst-support_capture_subprocess.c (do_test): Call
4494 support_capture_subprocess_check.
4495 * libio/tst-vtables-common.c (termination_status)
4496 (init_termination_status): Remove.
4497 (check_for_termination): Adjust support_capture_subprocess_check
4499 (do_test): Remove call to init_termination_status.
4501 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4503 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4504 source directory instead of a copy.
4505 (CommandList.create_copy_dir): Remove.
4507 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4511 2018-11-28 Florian Weimer <fweimer@redhat.com>
4513 * support/support.h (support_quote_string): Do not use str
4516 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4518 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4519 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4521 2018-11-27 Florian Weimer <fweimer@redhat.com>
4523 * support/support.h (support_quote_string): Declare.
4524 * support/support_quote_string.c: New file.
4525 * support/tst-support_quote_string.c: Likewise.
4526 * support/Makefile (libsupport-routines): Add
4527 support_quote_string.
4528 (tests): Add tst-support_quote_string.
4530 2018-11-27 Florian Weimer <fweimer@redhat.com>
4534 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4535 descriptor leak in case of ENODEV error.
4537 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4540 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4541 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4544 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4546 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4547 Error for unknown lines.
4549 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4551 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4552 Touch additional files.
4554 2018-11-26 Florian Weimer <fweimer@redhat.com>
4557 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4560 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4563 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4564 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4565 SHARED. Include sysdep.h.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4567 ALWAYS_USE_VSYSCALL.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4569 ALWAYS_USE_VSYSCALL.
4571 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4574 * nptl/Makefile (tests-static): Add tst-cond11-static.
4576 * nptl/tst-cond11-static.c: New File.
4577 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4578 tst-affinity-static.
4580 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4582 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4583 (USE_VSYSCALL): Likewise.
4584 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4587 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4592 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4596 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4599 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4601 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4602 (tst-cet-legacy-1a-ARGS): New.
4603 ($(objpfx)tst-cet-legacy-1a): New target.
4604 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4606 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4608 * conform/conformtest.py (CompileSubTest.__init__): Set
4609 self.run_early to False.
4610 (ExecuteSubTest.__init__): Likewise.
4611 (HeaderTests.run): Try running all non-optional, non-XFAILed
4612 compilation tests in a single execution of the compiler.
4614 * conform/conformtest.py (CompileSubTest): New class.
4615 (ExecuteSubTest): Likewise.
4616 (ElementTest.run): Rename to gen_subtests. Append tests to
4617 self.subtests instead of running them.
4618 (ConstantTest.run): Likewise.
4619 (SymbolTest.run): Likewise.
4620 (TypeTest.run): Likewise.
4621 (TagTest.run): Likewise.
4622 (FunctionTest.run): Likewise.
4623 (VariableTest.run): Likewise.
4624 (MacroFunctionTest.run): Likewise.
4625 (MacroStrTest.run): Likewise.
4626 (HeaderTests.handle_test_line): Generate subtests for tests.
4627 (HeaderTests.run): Run subtests for tests.
4629 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4631 * math/Versions (GLIBC_2.29): Add pow.
4632 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4634 * math/w_pow.c: New file.
4635 * sysdeps/i386/fpu/w_pow.c: New file.
4636 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4638 and add necessary aliases.
4639 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4640 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4641 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4642 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4644 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4645 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4646 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4653 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4660 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4661 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4662 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4663 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4664 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4665 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4668 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4669 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4671 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4673 * math/Versions (GLIBC_2.29): Add log2.
4674 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4676 * math/w_log2.c: New file.
4677 * sysdeps/i386/fpu/w_log2.c: New file.
4678 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4679 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4680 and add necessary aliases.
4681 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4682 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4683 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4702 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4704 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4705 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4708 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4710 * math/Versions (GLIBC_2.29): Add log.
4711 * math/w_log_compat.c (__log_compat): Change to versioned compat
4713 * math/w_log.c: New file.
4714 * sysdeps/i386/fpu/w_log.c: New file.
4715 * sysdeps/ia64/fpu/e_log.S: Update.
4716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4717 and add necessary aliases.
4718 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4719 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4720 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4722 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4723 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4724 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4725 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4726 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4727 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4728 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4729 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4730 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4731 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4732 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4739 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4742 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4743 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4744 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4746 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4747 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4748 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4749 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4751 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4753 * math/Versions (GLIBC_2.29): Add exp and exp2.
4754 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4755 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4756 * math/w_exp_compat.c (__exp_compat): Likewise.
4757 * math/w_exp.c: New file.
4758 * math/w_exp2.c: New file.
4759 * sysdeps/i386/fpu/w_exp.c: New file.
4760 * sysdeps/i386/fpu/w_exp2.c: New file.
4761 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4762 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4763 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4764 and add necessary aliases.
4765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4766 and add necessary aliases.
4767 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4768 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4769 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4770 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4771 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4772 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4774 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4775 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4776 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4778 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4779 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4781 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4783 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4790 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4792 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4793 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4794 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4795 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4796 (__ieee754_exp): Rename to __exp.
4797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4798 (__ieee754_exp): Rename to __exp.
4799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4800 (__ieee754_exp): Rename to __exp.
4801 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4803 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4805 2018-11-20 DJ Delorie <dj@redhat.com>
4807 * malloc/malloc.c (tcache_entry): Add key field.
4808 (tcache_put): Set it.
4809 (tcache_get): Likewise.
4810 (_int_free): Check for double free in tcache.
4811 * malloc/tst-tcfree1.c: New.
4812 * malloc/tst-tcfree2.c: New.
4813 * malloc/Makefile: Run the new tests.
4814 * manual/probes.texi: Document memory_tcache_double_free probe.
4816 * dlfcn/dlerror.c (check_free): Prevent double frees.
4818 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4820 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4822 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4824 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4825 in tests. Use names for format arguments.
4826 (ConstantTest.run): Likewise.
4827 (SymbolTest.run): Likewise.
4828 (TypeTest.run): Likewise.
4829 (TagTest.run): Likewise.
4830 (FunctionTest.run): Likewise.
4831 (VariableTest.run): Likewise.
4832 (MacroFunctionTest.run): Likewise.
4833 (MacroStrTest.run): Likewise.
4834 (HeaderTests.__init__): Set self.num_tests.
4835 (HeaderTests.handle_test_line): Set test.num. Increment
4838 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4840 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4841 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4844 2018-11-19 Mao Han <han_mao@c-sky.com>
4846 * scripts/config.guess: Update to version 2018-08-29.
4847 * scripts/config.sub: Update to version 2018-08-29.
4849 2018-11-19 Florian Weimer <fweimer@redhat.com>
4851 support: Print timestamps in timeout handler.
4852 * support/support_test_main.c (print_timestamp): New function.
4853 (signal_handler): Use it to print the termination time and the
4854 time of the last write to standard output.
4856 2018-11-16 Zack Weinberg <zackw@panix.com>
4857 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4859 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4860 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4862 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4863 and add flags argument. Check flags instead of __ldbl_is_dbl when
4864 deciding whether to set is_long_double.
4865 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4866 passing zero for flags argument.
4867 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4870 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4871 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4872 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4873 variable names. Remove libc_hidden_def/libc_hidden_proto from
4874 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4875 longer called from within the library.
4876 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4877 for __nldbl___vstrfmon_l, declare it explicitly.
4879 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4881 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4883 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4885 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4886 F_SETLK64, F_SETLKW64, respectively.
4887 * sysdeps/mach/hurd/f_setlk.c: New file.
4888 * sysdeps/mach/hurd/f_setlk.h: New file.
4889 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4891 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4892 (__libc_fcntl): Move non-flock operations to...
4893 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4894 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4896 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4898 mktime: DEBUG_MKTIME cleanup
4899 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4900 And it’s no longer needed now that glibc and Gnulib both have
4901 their own testing mechanisms for mktime.
4902 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4904 mktime: fix non-EOVERFLOW errno handling
4906 mktime was not properly reporting failures when the underlying
4907 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4908 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4909 The problem could happen on non-glibc platforms, with Gnulib.
4910 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4911 (tm_diff): ... this simpler function, which does not change errno.
4912 All callers changed to deal with errno themselves.
4913 (ranged_convert, __mktime_internal): Return failure immediately if
4914 the underlying function reports any failure other than EOVERFLOW.
4915 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4918 mktime: fix bug with Y2038 DST transition
4920 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4921 mishandle a DST transition that jumps over the Y2038 boundary.
4922 No such DST transitions are known so this is only a theoretical
4923 bug, but we might as well do things right.
4925 mktime: make more room for overflow
4927 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4928 This is so that we can add tm_diff results to a previous guess,
4929 which will be useful in a later patch.
4931 mktime: simplify offset guess
4933 * time/mktime.c (__mktime_internal): Omit excess precision.
4935 mktime: new test for mktime failure
4937 Based on a test suggested by Albert Aribaud in:
4938 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4939 * time/Makefile (tests): Add bug-mktime4.
4940 * time/bug-mktime4.c: New file.
4942 mktime: fix EOVERFLOW bug
4944 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4945 Include libc-config.h, not config.h, for __set_errno.
4946 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4948 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4950 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4951 __attribute_copy__ to copy attributes from name. Drop static qualifier
4952 to avoid warnings about leaf attribute not having effect on static
4955 2018-11-13 Florian Weimer <fweimer@redhat.com>
4957 * malloc/malloc.c (fastbin_push_entry): New function.
4958 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4959 (REMOVE_FB): Remove macro.
4960 (_int_malloc): Use fastbin_pop_entry and reindent.
4961 (_int_free): Use fastbin_push_entry.
4962 (malloc_consolidate): Use atomic_exchange_acquire.
4964 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4966 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4967 alias attribute, not with strong_alias.
4969 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4970 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4971 with additional parameter thread.
4972 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4973 in terms of __hidden_ver2.
4974 (hidden_tls_def): New macro.
4975 (libc_hidden_tls_def): Likewise.
4976 (rtld_hidden_tls_def): Likewise.
4977 (libm_hidden_tls_def): Likewise.
4978 (libmvec_hidden_tls_def): Likewise.
4979 (libresolv_hidden_tls_def): Likewise.
4980 (librt_hidden_tls_def): Likewise.
4981 (libdl_hidden_tls_def): Likewise.
4982 (libnss_files_hidden_tls_def): Likewise.
4983 (libnsl_hidden_tls_def): Likewise.
4984 (libnss_nisplus_hidden_tls_def): Likewise.
4985 (libutil_hidden_tls_def): Likewise.
4986 (libutil_hidden_tls_def): Likweise.
4987 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4988 libc_hidden_tls_def.
4989 (__sim_disabled_exceptions_thread): Likewise.
4990 (__sim_round_mode_thread): Likewise.
4992 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4993 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4994 copy attributes from name.
4996 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4998 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4999 Use __attribute_copy__ to copy attributes from name.
5001 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5002 with __hidden_ver1 call.
5003 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5004 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5005 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5006 (__cosf): Do not declare here.
5007 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5008 (__sincosf): Do not declare here.
5009 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5010 (__sinf): Do not declare here.
5012 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5013 (__BIG_ENDIAN): Likewise.
5014 (__BYTE_ORDER): Likewise.
5015 (strong_alias): Likewise.
5016 (_strong_alias): Likewise.
5018 2018-11-12 Florian Weimer <fweimer@redhat.com>
5020 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5021 function. Move after the definition of in_smallbin_range. Do not
5022 use __builtin_expect for paths that lead to a noreturn function.
5023 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5024 because it is unclear whether this is in fact an unlikely
5026 (_int_malloc, _int_free): Adjust.
5027 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5029 * malloc/arena.c (heap_trim): Likewise.
5031 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5033 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5034 it, free it if needed.
5035 (reauthenticate): Test and use ccwdir.
5036 (child_init_port): In non-resetids case, test and use ccwdir.
5037 (child_chdir): New nested function to set ccwdir.
5038 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5039 * hurd/hurd/port.h (_hurd_port_move): New function.
5040 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5041 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5042 * hurd/Versions (_hurd_port_move): Export function.
5043 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5045 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5046 of dtablesize for allocating dtable_cloexec.
5048 2018-11-09 Martin Sebor <msebor@redhat.com>
5050 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5051 it's already defined.
5052 (_strong_alias): Use __attribute_copy__.
5053 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5054 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5055 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5056 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5057 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5058 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5059 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5060 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5061 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5062 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5063 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5064 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5065 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5066 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5067 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5068 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5069 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5070 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5071 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5073 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5075 * misc/tst-efgcvt.c: Include support/check.h and
5076 support/test-driver.c. Do not include test-skeleton.c.
5077 (error_count): Remove.
5078 (output_error): Replace increments to error_count with calls to
5079 support_record_failure.
5080 (output_r_error): Likewise.
5081 (special): Likewise.
5082 (do_test): Unconditionally return zero.
5083 (TEST_FUNCTION): Remove.
5085 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5087 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5089 ($(linknamespace-header-tests)): Likewise.
5091 * conform/conformtest.py: New file.
5092 * conform/conformtest.pl: Remove.
5093 * conform/GlibcConform.pm: Likewise.
5094 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5095 (KEYWORDS_C99): Likewise.
5096 (KEYWORDS): Likewise.
5097 * conform/Makefile ($(conformtest-header-tests)): Use
5098 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5099 option. Use --header instead of --headers.
5100 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5102 * conform/data/spawn.h-data: Likewise.
5103 * conform/data/fcntl.h-data (openat): Add space after function
5105 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5106 (wcscasecmp_l): Likewise.
5107 * conform/data/termios.h-data (c_cc): Add space after element
5110 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5112 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5113 instead of manually comparing and reporting mismatching strings.
5114 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5115 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5117 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5119 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5120 __ASSUME_SOCKETCALL.
5121 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5122 (__ASSUME_SOCKETCALL): Remove.
5123 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5124 (__ASSUME_SOCKETCALL): Likewise.
5125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5126 (__ASSUME_SOCKETCALL): Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5128 (__ASSUME_SOCKETCALL): Likewise.
5129 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5130 (__ASSUME_SOCKETCALL): Likewise.
5131 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5132 (__ASSUME_SOCKETCALL): Likewise.
5133 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5134 (__ASSUME_SOCKETCALL): Likewise.
5136 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5139 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5140 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5141 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5142 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5143 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5146 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5149 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5151 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5155 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5156 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5157 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5159 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5161 * support/support_test_compare_string.c
5162 (support_test_compare_string): Fix printf format.
5164 2018-11-07 Florian Weimer <fweimer@redhat.com>
5166 Implement TEST_COMPARE_STRING.
5167 * support/check.h (TEST_COMPARE_STRING): Define.
5168 (support_test_compare_string): Declare.
5169 * support/Makefile (libsupport-routines): Add
5170 support_test_compare_string.
5171 (tests): Add tst-test_compare_string.
5172 * support/support_test_compare_string.c: New file.
5173 * support/tst-test_compare_string.c: Likewise.
5175 2018-11-07 Andreas Schwab <schwab@suse.de>
5178 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5179 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5182 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5185 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5186 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5187 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5188 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5191 2018-11-06 Florian Weimer <fweimer@redhat.com>
5194 * posix/Makefile (routines): Add spawn_faction_addchdir.
5195 (tests): Add tst-spawn-chdir.
5196 * posix/Versions (GLIBC_2.29): Add
5197 posix_spawn_file_actions_addchdir_np.
5198 * posix/spawn_faction_addchdir.c: New file.
5199 * posix/spawn_faction_destroy.c
5200 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5201 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5202 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5204 * posix/tst-spawn-chdir.c: New file.
5205 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5206 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5207 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5208 posix_spawn_file_actions_addchdir_np.
5209 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5211 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5213 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5214 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5216 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5218 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5222 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5224 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5226 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5227 (GLIBC_2.29): Likewise.
5228 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5229 (GLIBC_2.29): Likewise.
5230 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5231 (GLIBC_2.29): Likewise.
5232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5233 (GLIBC_2.29): Likewise.
5234 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5237 (GLIBC_2.29): Likewise.
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5239 (GLIBC_2.29): Likewise.
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5241 (GLIBC_2.29): Likewise.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5243 (GLIBC_2.29): Likewise.
5244 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5250 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5253 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5255 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5260 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5262 * misc/Makefile (tests): Add tst-ldbl-error.
5263 * misc/tst-ldbl-error.c: New file.
5265 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5267 * misc/Makefile (tests): Add tst-ldbl-warn.
5268 * misc/tst-ldbl-warn.c: New file.
5270 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5272 * argp/Makefile (tests): Add tst-ldbl-argp.
5273 * argp/tst-ldbl-argp.c: New file.
5275 2018-11-05 Arjun Shankar <arjun@redhat.com>
5277 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5278 __gconv_path_elem and call __gconv_get_path unconditionally.
5280 2018-11-05 Andreas Schwab <schwab@suse.de>
5283 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5284 creating the first helper thread failed.
5286 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5288 * sysdeps/mach/hurd/msync.c: New file.
5290 2018-11-02 Florian Weimer <fweimer@redhat.com>
5292 * support/shell-container.c (copy_func): Call
5293 support_copy_file_range instead of copy_file_range to support
5294 cross-device copies.
5296 2018-11-02 Florian Weimer <fweimer@redhat.com>
5298 * support/test-container.c: Include <libc-pointer-arith.h> for
5301 2018-11-01 Zong Li <zong@andestech.com>
5303 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5304 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5305 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5306 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5308 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5309 variable to avoid overlap arguments.
5311 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5313 * posix/bug-regex22.c (main): Use puts with distinct error
5314 messages for unexpected success of re_compile_pattern, not printf
5315 with NULL argument to %s.
5317 * stdio-common/bug22.c: Include <libc-diag.h>.
5318 (do_test): Disable -Wformat-overflow= warnings around fprintf
5319 calls outputting more than INT_MAX characters.
5320 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5321 around printf call with NULL %s argument.
5324 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5325 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5327 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5328 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5329 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5330 (__ASSUME_SENDTO_SYSCALL): Likewise.
5331 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5332 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5334 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5335 (__ASSUME_CONNECT_SYSCALL): Likewise.
5336 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5337 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5338 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5340 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5342 [__LINUX_KERNEL_VERSION >= 0x040400]
5343 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5347 (setsockopt): Likewise.
5349 2018-11-01 Fredrik Noring <noring@nocrew.org>
5351 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5352 with the ISA override.
5354 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5356 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5359 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5361 * manual/errno.texi (EIEIO): Document how translators should
5362 translate the error message.
5363 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5364 printing trailing whitespaces refused by git.
5365 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5366 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5367 * hurd/Makefile (user-interfaces): Add pci.
5369 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5371 * conform/linknamespace.py: New file.
5372 * conform/linknamespace.pl: Remove file.
5373 * conform/Makefile ($(linknamespace-header-tests)): Use
5374 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5377 2018-10-30 Florian Weimer <fweimer@redhat.com>
5379 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5382 2018-10-30 Florian Weimer <fweimer@redhat.com>
5384 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5386 2018-10-30 Florian Weimer <fweimer@redhat.com>
5388 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5389 support_blob_repeat.
5391 2018-10-30 Florian Weimer <fweimer@redhat.com>
5393 Avoid spurious test failures in stdlib/test-bz22786.
5394 * support/Makefile (libsupport-routines): Add blob_repeat.
5395 (tests): Add tst-support_blob_repeat.
5396 * support/blob_repeat.h: New file.
5397 * support/blob_repeat.c: Likewise.
5398 * support/tst-support_blob_repeat.c: Likewise.
5399 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5400 support_blob_repeat_allocate.
5402 2018-10-30 Andreas Schwab <schwab@suse.de>
5405 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5406 Don't use tail call.
5407 * elf/tst-unwind-main.c: New file.
5408 * elf/Makefile (tests): Add tst-unwind-main.
5409 (CFLAGS-tst-unwind-main.c): Define.
5411 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5414 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5416 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5418 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5420 * conform/glibcconform.py: Do not import shutil.
5421 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5424 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5425 critic_missing for versions before 3.4.
5426 * configure: Regenerated.
5427 * manual/install.texi (Tools for Compilation): Document
5428 requirement for Python to build glibc.
5429 * INSTALL: Regenerated.
5430 * Rules [PYTHON]: Make code unconditional.
5431 * benchtests/Makefile [PYTHON]: Likewise.
5432 * conform/Makefile [PYTHON]: Likewise.
5433 * manual/Makefile [PYTHON]: Likewise.
5434 * math/Makefile [PYTHON]: Likewise.
5436 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5438 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5439 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5440 answer to interrupt_operation, return EIEIO instead of EINTR.
5441 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5442 _hurd_intr_rpc_msg_about_to global point to start of controlled
5443 assembly snippet. Make it check canceled flag.
5444 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5445 the _hurd_intr_rpc_msg_about_to point.
5446 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5447 issue, remove cancel flag check.
5449 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5451 * scripts/build-many-glibcs.py: Remove compatibility for missing
5452 os.cpu_count and re.fullmatch.
5454 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5457 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5458 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5459 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5461 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5463 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5466 2018-10-25 Florian Weimer <fweimer@redhat.com>
5470 XFAIL siginfo_t si_band conform test on sparc64.
5471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5472 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5474 (conformtest-xfail-conds): Add sparc64-linux.
5475 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5477 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5479 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5481 * elf/elf.h (NT_MIPS_DSP): New macro.
5482 (NT_MIPS_FP_MODE): Likewise.
5484 2018-10-25 Zong Li <zong@andestech.com>
5486 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5487 name by adding the file extension (.so).
5489 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5491 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5492 (test-xfail-ISO11/threads.h/linknamespace,
5493 test-xfail-ISO11/threads.h/conform): Add.
5495 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5497 * math/gen-libm-test.py: Import os.
5498 (ALL_FLOATS_MANUAL): New constant.
5499 (ALL_FLOATS_SUFFIX): Likewise.
5500 (Ulps.all_functions): New function.
5501 (real_all_ulps): Likewise.
5502 (generate_err_table_sub): Likewise.
5503 (generate_err_table): Likewise.
5504 (main): Handle -s and -m options.
5505 * manual/libm-err-tab.pl: Remove.
5506 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5507 instead of libm-err-tab.pl.
5508 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5510 * manual/install.texi (Tools for Compilation): Document
5511 requirement for Python to build manual.
5512 * INSTALL: Regenerated.
5514 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5516 * bits/time64.h: New file.
5517 * include/time.h: Replace internal_time_t with __time64_t.
5518 * posix/bits/types (__time64_t): Add.
5519 * stdlib/Makefile: Add bits/time64.h to includes.
5520 * time/tzfile.c: Replace internal_time_t with __time64_t.
5522 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5524 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5525 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5526 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5527 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5528 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5530 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5531 * posix/spawn_faction_addclose.c
5532 (__posix_spawn_file_actions_addclose): Add hidden definition.
5533 * posix/spawn_faction_adddup2.c
5534 (__posix_spawn_file_actions_adddup2): Likewise.
5535 * posix/spawn_faction_destroy.c
5536 (__posix_spawn_file_actions_destroy): Likewise.
5537 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5539 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5540 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5541 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5543 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5544 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5547 2018-10-24 Andreas Schwab <schwab@suse.de>
5550 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5552 * elf/cache.c (print_cache): Likewise.
5554 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5556 * bits/timesize.h: New file.
5557 * stdlib/Makefile (headers): Add bits/timesize.h.
5558 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5559 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5560 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5561 (__SEM_PAD_AFTER_TIME): Likewise.
5562 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5563 (__SHM_PAD_AFTER_TIME): Likewise.
5564 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5565 (__MSQ_PAD_BEFORE_TIME): Likewise.
5566 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5567 (__SEM_PAD_BEFORE_TIME): Likewise.
5568 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5569 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5570 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5571 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5572 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5573 (__MSQ_PAD_BEFORE_TIME): Likewise.
5574 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5575 (__SEM_PAD_BEFORE_TIME): Likewise.
5576 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5577 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5578 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5579 (__MSQ_PAD_BEFORE_TIME): Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5581 (__SEM_PAD_BEFORE_TIME): Likewise.
5582 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5583 (__SHM_PAD_BEFORE_TIME): Likewise.
5584 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5585 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5586 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5588 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5590 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5591 USE_RDTSCP is defined.
5592 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5593 USE_RDTSCP is defined.
5595 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5597 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5601 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5602 independently of other flags.
5604 2018-10-23 Florian Weimer <fweimer@redhat.com>
5606 * time/tst-mktime2.c (N_STRINGS): Remove.
5607 (set_timezone): New function.
5608 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5609 (mktime_test1): Report localtime failure and check errno value.
5611 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5612 (do_test): Remove alarm call. Use set_timezone and array_length.
5614 2018-10-23 Andreas Schwab <schwab@suse.de>
5616 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5617 (__start_context): Use END instead of PSEUDO_END.
5619 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5621 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5624 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5628 * wcsmbs/c32rtomb.c: New file.
5629 * wcsmbs/mbrtoc32.c: Likewise.
5630 * wcsmbs/tst-c32-state.c: Likewise.
5631 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5632 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5633 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5634 (tests): Add tst-c32-state.
5635 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5638 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5640 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5641 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5643 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5646 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5647 pair and return 0 in that case, and use saved character to
5648 interpret following character.
5649 * wcsmbs/tst-c16-surrogate.c: New file.
5650 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5651 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5652 Depend on $(gen-locales)
5654 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5657 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5658 (struct siginfo_t): Use correct type for si_band.
5660 2018-10-19 Florian Weimer <fweimer@redhat.com>
5663 * resource/bits/types/struct_rusage.h (struct rusage): Update
5664 comment on struct. Remove extraneous field comment.
5666 2018-10-18 David S. Miller <davem@davemloft.net>
5668 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5669 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5670 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5671 sysdep_routines in subdir elf.
5672 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5673 version for __vdso_clock_gettime.
5674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5676 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5677 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5679 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5681 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5683 * sysdeps/i386/init-arch.h: Removed.
5684 * sysdeps/i386/i586/init-arch.h: Likewise.
5685 * sysdeps/i386/i686/init-arch.h: Likewise.
5686 * sysdeps/i386/i686/hp-timing.h: Likewise.
5687 * sysdeps/x86_64/hp-timing.h: Likewise.
5688 * sysdeps/i386/isa.h: New file.
5689 * sysdeps/i386/i586/isa.h: Likewise.
5690 * sysdeps/i386/i686/isa.h: Likewise.
5691 * sysdeps/x86_64/isa.h: Likewise.
5692 * sysdeps/x86/hp-timing.h: New file.
5693 * sysdeps/x86/init-arch.h: Include <isa.h>.
5695 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5697 * math/libm-test-pow.inc (pow_test_data): Do not allow
5698 divide-by-zero exception for pow(+/- 0, -Inf).
5700 2018-10-17 Zack Weinberg <zackw@panix.com>
5702 * manual/job.texi (Job Control is Optional): Remove node, as
5703 job control has not been optional in quite some time.
5704 (Job Control): Mention briefly that systems older than
5705 POSIX.1-2001 might not support job control.
5706 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5707 defined on systems conforming to POSIX.1-2001.
5709 2018-10-17 Arjun Shankar <arjun@redhat.com>
5712 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5714 * (__gconv_read_conf): Mark function static.
5715 * (once): New static variable.
5716 * (__gconv_load_conf): New function.
5717 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5718 * iconv/gconv_db.c (once): Remove static variable.
5719 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5721 * (__gconv_find_transform): Likewise.
5722 * iconv/tst-iconv-mt.c: New test.
5723 * iconv/Makefile: Add tst-iconv_mt.
5725 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5729 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5730 (shmatt_t): Define as __syscall_ulong_t.
5731 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5732 and [__SHM_PAD_AFTER_TIME].
5733 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5734 Define shm_segsz and associated padding based on
5735 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5736 Use __syscall_ulong_t instead of unsigned long int.
5737 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5739 [__USE_MISC] (struct shm_info): Likewise.
5740 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5741 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5742 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5744 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5745 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5746 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5747 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5750 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5754 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5755 (SHMLBA): Remove macro.
5756 (__getpagesize): Remove function declaration.
5757 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5759 (SHMLBA): Remove macro.
5760 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5762 (SHMLBA): Remove macro.
5763 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5765 (SHMLBA): Remove macro.
5766 (__getpagesize): Remove function declaration.
5767 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5769 (SHMLBA): Remove macro.
5770 (__getshmlba): Remove function declaration.
5771 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5772 (SHMLBA): Remove macro.
5773 (__getpagesize): Remove function declaration.
5774 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5775 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5776 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5777 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5778 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5779 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5780 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5781 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5782 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5785 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5788 * nptl/tst-mutex10.c: New File.
5789 * nptl/Makefile (tests): Add tst-mutex10.
5790 (tst-mutex10-ENV): New variable.
5791 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5792 Ensure that elision path is used if elision is available.
5793 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5795 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5797 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5798 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5799 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5800 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5802 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5803 (__pthread_mutex_cond_lock_adjust): Likewise.
5804 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5806 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5807 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5808 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5809 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5811 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5812 Use atomic_load_relaxed and atomic_store_relaxed.
5813 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5814 Use atomic_store_relaxed.
5816 2018-10-17 Andreas Schwab <schwab@suse.de>
5818 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5819 * crypt/badsalttest.c (TIMEOUT): Likewise.
5820 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5821 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5822 * io/test-lfs.c (TIMEOUT): Likewise.
5823 * libio/tst-atime.c (TIMEOUT): Likewise.
5824 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5825 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5826 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5827 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5828 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5829 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5830 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5831 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5832 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5833 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5834 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5835 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5836 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5837 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5838 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5839 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5840 * nptl/tst-once2.c (TIMEOUT): Likewise.
5841 * nptl/tst-once3.c (TIMEOUT): Likewise.
5842 * nptl/tst-once4.c (TIMEOUT): Likewise.
5843 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5844 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5845 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5846 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5847 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5848 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5849 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5850 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5851 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5852 * posix/tst-chmod.c (TIMEOUT): Likewise.
5853 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5854 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5855 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5856 * posix/tst-regex2.c (TIMEOUT): Likewise.
5857 * posix/tst-waitid.c (TIMEOUT): Likewise.
5858 * rt/tst-aio.c (TIMEOUT): Likewise.
5859 * rt/tst-aio10.c (TIMEOUT): Likewise.
5860 * rt/tst-aio4.c (TIMEOUT): Likewise.
5861 * rt/tst-aio5.c (TIMEOUT): Likewise.
5862 * rt/tst-aio6.c (TIMEOUT): Likewise.
5863 * rt/tst-aio64.c (TIMEOUT): Likewise.
5864 * rt/tst-aio7.c (TIMEOUT): Likewise.
5865 * rt/tst-aio9.c (TIMEOUT): Likewise.
5866 * rt/tst-clock.c (TIMEOUT): Likewise.
5867 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5868 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5869 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5870 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5871 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5872 * rt/tst-timer4.c (TIMEOUT): Likewise.
5873 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5874 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5875 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5876 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5877 * time/tst-ftime.c (TIMEOUT): Likewise.
5878 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5880 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5882 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5883 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5886 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5890 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5891 instead of <bits/wordsize.h>.
5892 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5893 and [__SEM_PAD_AFTER_TIME].
5894 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5895 __syscall_ulong_t instead of unsigned long int.
5896 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5897 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5898 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5900 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5901 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5902 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5903 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5904 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5905 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5906 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5908 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5910 regex: simplify by using intprops.h
5912 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5913 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5914 intprops.h defines them.
5916 regex: __builtin_expect → __glibc_unlikely
5918 This refactoring was prompted by a problem when the regex code is
5919 used as part of Gnulib and when the builder’s compiler does not grok
5920 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5921 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5922 Although this refactoring does not fix the problem directly,
5923 we might as well have Gawk use the now-preferred glibc style for when
5924 __builtin_expect is unavailable.
5925 * posix/regex_internal.h (BE): Remove.
5926 All uses replaced by __glibc_unlikely or __glibc_likely.
5928 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5932 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5933 instead of <bits/wordsize.h>.
5934 (msgqnum_t): Define as __syscall_ulong_t.
5935 (msglen_t): Likewise.
5936 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5937 and [__MSQ_PAD_AFTER_TIME].
5938 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5939 __syscall_ulong_t instead of unsigned long int.
5940 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5941 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5942 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5944 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5945 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5946 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5947 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5950 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5952 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5955 (struct shmid_ds): Condition padding after time fields on
5957 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5958 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5959 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5961 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5962 (struct semid_ds): Condition padding after time fields on
5964 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5965 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5966 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5967 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5969 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5970 (struct msqid_ds): Condition padding after time fields on
5972 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5973 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5974 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5975 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5977 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5979 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5981 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5983 * libio/tst-readline.c (TIMEOUT): Define.
5985 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5987 mktime fix for Gnulib + coreutils
5989 This fix affects only Gnulib. Problem discovered when
5990 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5992 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5993 Do not define since it is not used. Defining an unused static
5994 function prompts a warning from GCC when Coreutils is configured
5995 with --enable-gcc-warnings.
5997 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5999 * benchtests/scripts/compare_bench.py (main): set float type on
6002 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6005 * localedata/locales/kl_GL (mon): Update, the relative case.
6006 (alt_mon): Add, fill with month names in the nominative case.
6007 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6008 (d_fmt): Set to "%b %d %Y".
6010 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6013 <bits/mman-linux.h>.
6014 (PROT_READ): Don't define here.
6015 (PROT_WRITE): Likewise.
6016 (PROT_EXEC): Likewise.
6017 (PROT_NONE): Likewise.
6018 (PROT_GROWSDOWN): Likewise.
6019 (PROT_GROWSUP): Likewise.
6020 (MAP_SHARED): Likewise.
6021 (MAP_PRIVATE): Likewise.
6022 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6023 [__USE_MISC] (MAP_FILE): Likewise.
6024 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6025 [__USE_MISC] (MAP_ANON): Likewise.
6026 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6027 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6028 (MCL_CURRENT): Likewise.
6029 (MCL_FUTURE): Likewise.
6030 (MCL_ONFAULT): Likewise.
6031 [__USE_MISC] (MADV_NORMAL): Likewise.
6032 [__USE_MISC] (MADV_RANDOM): Likewise.
6033 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6034 [__USE_MISC] (MADV_WILLNEED): Likewise.
6035 [__USE_MISC] (MADV_DONTNEED): Likewise.
6036 [__USE_MISC] (MADV_FREE): Likewise.
6037 [__USE_MISC] (MADV_REMOVE): Likewise.
6038 [__USE_MISC] (MADV_DONTFORK): Likewise.
6039 [__USE_MISC] (MADV_DOFORK): Likewise.
6040 [__USE_MISC] (MADV_HWPOISON): Likewise.
6041 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6042 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6043 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6044 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6045 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6046 (__MAP_ANONYMOUS): New macro.
6047 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6048 <bits/mman-linux.h> inclusion.
6049 (MAP_FIXED): Likewise.
6050 (MS_SYNC): Likewise.
6051 (MS_ASYNC): Likewise.
6052 (MS_INVALIDATE): Likewise.
6053 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6054 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6055 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6056 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6057 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6058 [__USE_MISC] (MADV_DODUMP): Likewise.
6059 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6060 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6065 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6066 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6067 Add test-nldbl-redirect.
6068 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6069 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6070 $(objpfx)libnldbl_nonshared.a.
6072 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6074 * support/support.h (support_objdir_elf_ldso): New variable.
6075 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6076 * support/Makefile (CFLAGS-support_paths.c): Add definition
6077 for OBJDIR_ELF_LDSO_PATH.
6078 * support/test-container.c (main): Search for the ld.so
6079 which is also used by the testsuite.
6081 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6084 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6085 should be "sap" rather than "sab".
6086 (day): Fix spelling of Sunday, should be "sapaat" rather than
6089 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6091 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6093 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6096 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6097 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6098 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6100 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6102 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6104 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6106 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6108 (CFLAGS-elision-unlock.c): Likewise.
6109 (CFLAGS-elision-timed.c): Likewise.
6110 (CFLAGS-elision-trylock.c): Likewise.
6111 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6113 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6116 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6117 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6118 new fd_to_filename interface.
6119 * libio/freopen64.c (freopen64): Likewise.
6120 * libio/tst-memstream.h: New file.
6121 * libio/tst-memstream4.c: Likewise.
6122 * libio/tst-wmemstream4.c: Likewise.
6123 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6124 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6125 and remove internal dynamic allocation.
6127 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6130 (MREMAP_MAYMOVE): Do not define here.
6131 [__USE_GNU] (MREMAP_FIXED): Likewise.
6132 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6133 (MREMAP_MAYMOVE): Define here instead.
6134 [__USE_GNU] (MREMAP_FIXED): Likewise.
6135 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6136 (MREMAP_MAYMOVE): Remove.
6137 [__USE_GNU] (MREMAP_FIXED): Likewise.
6139 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6141 * math/fromfp.h: Do not include <math_private.h>.
6142 * math/s_cacosh_template.c: Likewise.
6143 * math/s_casin_template.c: Likewise.
6144 * math/s_casinh_template.c: Likewise.
6145 * math/s_ccos_template.c: Likewise.
6146 * math/s_cproj_template.c: Likewise.
6147 * math/s_fdim_template.c: Likewise.
6148 * math/s_fmaxmag_template.c: Likewise.
6149 * math/s_fminmag_template.c: Likewise.
6150 * math/s_iseqsig_template.c: Likewise.
6151 * math/s_ldexp_template.c: Likewise.
6152 * math/s_nextdown_template.c: Likewise.
6153 * math/w_log1p_template.c: Likewise.
6154 * math/w_scalbln_template.c: Likewise.
6155 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6156 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6157 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6158 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6159 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6160 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6161 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6162 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6163 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6164 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6165 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6166 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6167 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6168 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6169 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6170 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6171 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6176 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6177 * sysdeps/ieee754/k_standardf.c: Likewise.
6178 * sysdeps/ieee754/k_standardl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6181 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6188 * sysdeps/ieee754/s_signgam.c: Likewise.
6189 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6190 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6191 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6192 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6193 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6194 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6195 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6196 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6197 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6198 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6199 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6200 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6201 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6202 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6203 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6204 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6205 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6206 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6207 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6208 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6209 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6210 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6211 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6212 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6213 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6214 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6215 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6216 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6217 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6218 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6219 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6220 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6221 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6222 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6223 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6224 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6225 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6227 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6229 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6232 * sysdeps/i386/dl-cet.c: Removed.
6233 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6235 (_dl_runtime_profile_shstk): Likewise.
6236 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6237 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6239 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6242 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6243 do_test_with_invalid_iov): New tests.
6244 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6245 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6246 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6248 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6249 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6250 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6252 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6254 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6255 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6256 (MATH_REDIRECT_BINARY_ARGS): New macro.
6257 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6258 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6259 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6261 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6262 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6263 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6264 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6274 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6275 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6280 * sysdeps/generic/math_private_calls.h
6281 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6282 Do not declare and define as an inline function.
6283 * math/divtc3.c (__divtc3): Use copysign functions instead of
6284 __copysign variants.
6285 * math/multc3.c (__multc3): Likewise.
6286 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6287 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6289 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6292 (__ieee754_yn): Likewise.
6293 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6294 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6296 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6297 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6299 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6306 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6307 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6309 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6310 (__ieee754_ynf): Likewise.
6311 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6312 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6313 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6316 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6317 (__ieee754_ynl): Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6323 (__ieee754_ynl): Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6327 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6333 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6334 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6335 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6337 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6338 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6339 using MATH_REDIRECT.
6340 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6342 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6345 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6346 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6353 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6354 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6356 (round): Redirect to __round.
6357 (__roundl): Call round instead of __round.
6358 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6360 [_ARCH_PWR5X] (__roundf): Likewise.
6361 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6362 functions instead of __round variants.
6363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6364 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6368 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6370 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6373 (__ieee754_expl): Call roundl instead of __roundl.
6375 2018-09-27 Andreas Schwab <schwab@suse.de>
6378 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6379 (do_test): Make st1 static.
6381 2018-09-26 Andreas Schwab <schwab@suse.de>
6384 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6385 * elf/Makefile (tests): Add tst-unwind-ctor.
6386 (modules-names): Add tst-unwind-ctor-lib.
6387 ($(objpfx)tst-unwind-ctor): Depend on
6388 $(objpfx)tst-unwind-ctor-lib.so.
6390 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6393 file. Most contents moved from ....
6394 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6395 and include <bits/mman-map-flags-generic.h>.
6396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6397 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6398 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6399 <bits/mman-map-flags-generic.h>.
6400 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6401 macros defined in <bits/mman-map-flags-generic.h>.
6402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6403 <bits/mman-map-flags-generic.h>.
6404 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6405 defined in <bits/mman-map-flags-generic.h>.
6407 2018-09-26 Andreas Schwab <schwab@suse.de>
6409 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6412 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6413 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6414 Fangrui Song <maskray@google.com>
6417 * config.make.in (have-textrel_ifunc): New define.
6418 * configure.ac: Add check if linker supports textrel relocation with
6420 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6422 (CFLAGS-tst-ifunc-textrel.c): New rule.
6423 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6424 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6425 * elf/tst-ifunc-textrel.c: New file.
6427 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6429 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6430 <bits/procfs-prregset.h>.
6431 (prgregset_t): Define using __prgregset_t.
6432 (prfpregset_t): Define using __prfpregset_t.
6433 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6434 (sysdep_headers): Add bits/procfs-prregset.h.
6435 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6436 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6437 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6438 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6440 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6441 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6442 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6444 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6445 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6446 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6447 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6448 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6449 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6450 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6451 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6452 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6453 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6454 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6455 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6456 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6459 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6460 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6461 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6462 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6463 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6464 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6465 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6467 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6469 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6470 AArch64 version. Include <bits/procfs.h>.
6471 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6472 (sysdep_headers): Add bits/procfs.h.
6473 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6474 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6475 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6476 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6477 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6478 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6479 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6481 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6482 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6483 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6484 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6485 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6486 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6487 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6488 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6489 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6491 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6493 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6496 2018-09-25 Arjun Shankar <arjun@redhat.com>
6498 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6499 (__gconv_max_path_elem_len): Likewise.
6500 (__gconv_nmodules): Likewise.
6501 (__gconv_get_path): Likewise.
6502 (path_elem): Move to ...
6503 * iconv/gconv_conf.c: ... here.
6504 (__gconv_get_path): Mark function static.
6505 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6506 * iconv/gconv_open.c: ... here.
6508 2018-09-24 Andreas Schwab <schwab@suse.de>
6510 * scripts/haveversions.awk: New file.
6511 * Makerules ($(common-objpfx)Versions.def)
6512 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6513 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6515 * Makeconfig ($(common-objpfx)Versions.def)
6516 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6517 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6519 ($(common-objpfx)Versions.mk): New rule. Include it.
6520 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6521 Emit error if build-obsolete-nsl = yes.
6522 * manual/install.texi (Configuring and compiling): Describe
6523 --enable-obsolete-nsl as unavaiable after version 2.28.
6524 * INSTALL: Regenerate.
6526 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6528 * NEWS: Add note about new TLE support on powerpc64le.
6529 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6530 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6532 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6533 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6534 * sysdeps/powerpc/powerpc32/sysdep.h,
6535 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6536 ABORT_TRANSACTION): Remove macros.
6537 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6538 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6539 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6541 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6542 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6544 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6546 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6549 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6550 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6551 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6552 which is the same as in it_IT.
6553 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6554 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6556 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6558 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6559 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6560 using MATH_REDIRECT.
6561 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6563 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6565 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6573 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6574 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6576 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6577 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6578 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6579 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6581 (ceil): Redirect to __ceil.
6582 (floor): Redirect to __floor.
6583 (trunc): Redirect to __trunc.
6584 (__truncl): Call trunc instead of __trunc.
6585 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6587 [_ARCH_PWR5X] (__truncf): Likewise.
6588 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6589 trunc functions instead of __trunc variants.
6590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6592 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6594 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6599 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6600 [__i586__ || __pentium__].
6601 [__i486__]: Handle explicitly.
6602 (HAS_CPUID): Define to 1 if above macros are undefined.
6603 (HAS_I586): Likewise.
6604 (HAS_I686): Likewise.
6606 2018-09-20 Florian Weimer <fweimer@redhat.com>
6608 * misc/tst-gethostid.c: New file.
6609 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6610 (tst-gethostid): Link with -ldl.
6612 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6614 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6615 value from gethostbyname_r.
6617 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6619 * stdlib/tst-setcontext9.c (f1): Rename to...
6621 (f1b): New function implementing lower half of f1 in alternate stack.
6623 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6625 Fix mktime localtime offset confusion
6627 * include/time.h (__mktime_internal): The localtime offset is now
6628 of type long int instead of time_t. This is the longstanding type
6629 in glibc, and it is more than enough to represent difference
6630 between localtime and gmtime even if it is 32 bits and time_t is
6631 64. Changing it now will let us avoid an unnecessary change when
6632 time_t is widened to 64 bits on 32-bit platforms.
6633 * time/mktime-internal.h (mktime_offset_t): Now long int.
6635 Merge mktime, timegm from upstream Gnulib
6636 [BZ #23603][BZ #16346]
6637 This fixes some obscure problems with integer overflow.
6638 Although it looks scary, it is almost all a byte-for-byte copy
6639 from Gnulib, and the Gnulib code has been tested reasonably well.
6640 * include/intprops.h: New file, copied from Gnulib.
6641 * include/verify.h, time/mktime-internal.h:
6642 New tiny files, simplified from Gnulib.
6643 * time/mktime.c: Copy from Gnulib. This has the following changes:
6644 Do not include config.h if DEBUG_MKTIME is nonzero.
6645 Include stdbool.h, intprops.h, verify.h.
6646 Include string.h only if needed.
6647 Include stdlib.h on MS-Windows.
6648 Include mktime-internal.h.
6649 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6650 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6651 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6652 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6653 simplify later conditionals; default the others to zero. Use
6654 these conditionals to express only the code needed on the current
6655 platform. In uses of these conditionals, explicitly spell out how
6656 _LIBC affects things, so it’s easier to review from a glibc
6658 (WRAPV): Remove; no longer needed now that we have
6659 systematic overflow checking.
6660 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6661 compartmentalize tzset issues. Move system-dependent tzsettish
6662 code here from mktime.
6663 (verify): Remove; now done by verify.h. All uses changed.
6664 (long_int): Use a more-conservative definition, to avoid
6666 (SHR): Remove, replacing with ...
6667 (shr): New function, which means we needn’t worry about side
6668 effects in args, and conversion analysis is simpler.
6669 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6670 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6671 (time_t_avg, time_t_add_ok): Remove.
6672 (mktime_min, mktime_max): New constants.
6673 (leapyear, isdst_differ): Use bool for booleans.
6674 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6675 Use long_int, not time_t, for mktime differences.
6676 (long_int_avg): New function, replacing time_t_avg.
6677 INT_ADD_WRAPV replaces time_t_add_ok.
6678 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6680 (convert_time): New function.
6681 (ranged_convert): Use it.
6682 (__mktime_internal): Last arg now points to mktime_offset_t, not
6683 time_t. All uses changed. This is a no-op on glibc, where
6684 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6685 offset guess. Directly check for integer overflow instead of
6686 using a heuristic that works only 99.9...% of the time.
6687 Access *OFFSET only once, to avoid an unlikely race if the
6688 compiler delays a load and if this cascades into a signed integer
6690 (mktime): Move tzsettish code to my_tzset, and move
6691 localtime_offset to within mktime so that it doesn’t
6692 need a separate ifdef.
6693 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6694 instead of localtime.
6695 * time/timegm.c: Copy from Gnulib. This has the following changes:
6696 Include mktime-internal.h.
6697 [!_LIBC]: Include config.h and time.h. Do not include
6698 timegm.h or time_r.h. Make __mktime_internal a macro,
6699 and include mktime-internal.h to get its declaration.
6700 (timegm): Temporary is now mktime_offset_t, not time_t.
6701 This affects only Gnulib.
6703 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6706 * string/test-strstr.c (pr23637): New function.
6707 (test_main): Add tests with longer needles.
6708 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6709 * string/strstr.c (AVAILABLE): Likewise.
6711 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6713 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6715 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6717 * NEWS: Mention pow improvements.
6718 * math/Makefile (type-double-routines): Add e_pow_log_data.
6719 * sysdeps/generic/math_private.h (__exp1): Remove.
6720 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6721 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6722 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6724 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6725 (exp_inline): Remove.
6726 (__ieee754_exp): Only single double input is handled.
6727 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6728 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6729 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6730 (__pow_log_data): Define.
6731 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6732 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6733 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6734 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6736 (CFLAGS-e_pow-fma4.c): Likewise.
6738 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6740 Simplify tzfile fstat failure code
6742 * time/tzfile.c (__tzfile_read): Simplify slightly.
6744 Fix tzfile low-memory assertion failure
6746 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6747 when registering time zone abbreviations.
6749 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6751 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6752 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6753 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6754 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6755 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6756 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6757 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6759 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6763 (__ceill): Call ceil instead of __ceil.
6764 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6766 (__floorl): Call floor instead of __floor.
6768 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6770 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6771 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6772 using MATH_REDIRECT.
6773 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6775 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6778 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6782 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6787 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6788 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6791 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6792 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6793 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6795 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6796 functions instead of __ceil variants.
6797 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6800 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6802 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6805 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6806 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6809 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6811 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6812 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6813 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6814 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6815 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6816 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6817 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6818 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6819 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6821 (ILL_BADIADDR): Remove constant.
6822 (TRAP_BRANCH): Likewise.
6823 (TRAP_HWBKPT): Likewise.
6825 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6828 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6829 Remove [_MIPS_SIM = _ABIN32] conditional case.
6830 (struct elf_prpsinfo): Likewise.
6833 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6834 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6835 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6837 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6838 elf_prpsinfo): Likewise.
6839 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6840 elf_prpsinfo): Likewise.
6841 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6844 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6845 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6846 using MATH_REDIRECT.
6847 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6849 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6850 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6851 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6852 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6855 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6859 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6860 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6861 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6862 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6863 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6864 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6865 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6866 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6867 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6872 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6873 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6874 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6875 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6877 * math/e_scalbf.c (invalid_fn): Likewise.
6878 * math/e_scalbl.c (invalid_fn): Likewise.
6879 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6881 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6884 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6885 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6887 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6891 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6894 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6895 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6897 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6898 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6899 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6900 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6901 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6902 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6903 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6904 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6905 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6906 && !NO_MATH_REDIRECT] (floor): Likewise.
6907 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6909 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6912 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6916 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6921 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6922 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6925 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6926 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6927 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6929 [_ARCH_PWR5X] (__floorf): Likewise.
6930 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6932 [__SSE4_1__] (__floorf): Likewise.
6933 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6934 instead of __floor variants.
6935 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6936 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6937 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6938 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6939 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6940 * math/w_tgamma_compat.c (__tgamma): Likewise.
6941 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6942 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6943 * math/w_tgammal_compat.c (__tgammal): Likewise.
6944 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6947 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6949 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6950 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6952 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6953 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6955 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6963 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6964 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6965 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6966 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6968 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6970 * elf/Makefile (modules-names-tests): New variable.
6972 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6974 * NEWS: Mention log2 improvements.
6975 * math/Makefile (type-double-routines): Add e_log2_data.
6976 * sysdeps/i386/fpu/e_log2_data.c: New file.
6977 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6978 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6979 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6980 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6982 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6984 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6986 * NEWS: Mention log improvement.
6987 * math/Makefile (type-double-routines): Add e_log_data.
6988 * sysdeps/i386/fpu/e_log_data.c: New file.
6989 * sysdeps/ia64/fpu/e_log_data.c: New file.
6990 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6991 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6992 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6993 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6994 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6995 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6997 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6998 Xuepeng Guo <xuepeng.guo@intel.com>
7001 * sysdeps/i386/start.S: Include <sysdep.h>
7002 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7003 enabled. Add cfi_undefined (eip).
7005 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7007 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7009 (EXTRACT_WORDS64): Likewise.
7010 (INSERT_WORDS64): Likewise.
7011 (GET_FLOAT_WORD): Likewise.
7012 (SET_FLOAT_WORD): Likewise.
7014 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7016 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7017 build, but not for second build if --full-gcc. Use
7018 --enable-languages=all for second build if --full-gcc.
7019 (get_parser): Add --full-gcc option.
7020 (main): Update call to Context.
7022 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7025 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7026 Single Quotation Mark).
7027 (thousands_sep): Likewise.
7028 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7029 * localedata/locales/it_IT (thousands_sep): Use ".".
7030 (grouping): Use "3;3".
7032 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7034 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7035 x86_64 and i686 configs using --enable-obsolete-rpc
7036 --enable-obsolete-nsl.
7038 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7040 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7042 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7044 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7045 Increment size of new_argv by one.
7047 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7050 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7051 * localedata/locales/ar_IN (d_fmt): Likewise.
7052 * localedata/locales/bhb_IN (d_fmt): Likewise.
7053 * localedata/locales/bho_IN (d_fmt): Likewise.
7054 * localedata/locales/bn_BD (d_fmt): Likewise.
7055 * localedata/locales/bn_IN (d_fmt): Likewise.
7056 * localedata/locales/doi_IN (d_fmt): Likewise.
7057 * localedata/locales/gu_IN (d_fmt): Likewise.
7058 * localedata/locales/hi_IN (d_fmt): Likewise.
7059 * localedata/locales/hne_IN (d_fmt): Likewise.
7060 * localedata/locales/kn_IN (d_fmt): Likewise.
7061 * localedata/locales/mag_IN (d_fmt): Likewise.
7062 * localedata/locales/mai_IN (d_fmt): Likewise.
7063 * localedata/locales/mjw_IN (d_fmt): Likewise.
7064 * localedata/locales/ml_IN (d_fmt): Likewise.
7065 * localedata/locales/mni_IN (d_fmt): Likewise.
7066 * localedata/locales/mr_IN (d_fmt): Likewise.
7067 * localedata/locales/pa_IN (d_fmt): Likewise.
7068 * localedata/locales/raj_IN (d_fmt): Likewise.
7069 * localedata/locales/sat_IN (d_fmt): Likewise.
7070 * localedata/locales/sd_IN (d_fmt): Likewise.
7071 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7072 * localedata/locales/ta_IN (d_fmt): Likewise.
7073 * localedata/locales/ta_LK (d_fmt): Likewise.
7074 * localedata/locales/tcy_IN (d_fmt): Likewise.
7075 * localedata/locales/ur_IN (d_fmt): Likewise.
7077 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7078 * localedata/locales/ks_IN (d_fmt): Likewise.
7079 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7081 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7082 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7083 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7084 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7086 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7088 * NEWS: Mention exp and exp2 improvements.
7089 * math/Makefile (libm-support): Remove t_exp.
7090 (type-double-routines): Add math_err and e_exp_data.
7091 * sysdeps/aarch64/libm-test-ulps: Update.
7092 * sysdeps/arm/libm-test-ulps: Update.
7093 * sysdeps/i386/fpu/e_exp_data.c: New file.
7094 * sysdeps/i386/fpu/math_err.c: New file.
7095 * sysdeps/i386/fpu/t_exp.c: Remove.
7096 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7097 * sysdeps/ia64/fpu/math_err.c: New file.
7098 * sysdeps/ia64/fpu/t_exp.c: Remove.
7099 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7100 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7101 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7103 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7104 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7105 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7106 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7107 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7108 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7109 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7110 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7111 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7112 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7116 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7118 * sysdeps/alpha/fpu/math_private.h: Remove.
7120 * sysdeps/generic/math_private.h
7121 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7122 Move this inline function ....
7123 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7124 * include/math.h [!_ISOMAC]: To here....
7126 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7128 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7130 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7131 * include/fenv.h [!_ISOMAC]: ... to here.
7132 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7133 (feraiseexcept): Likewise.
7134 * math/fromfp.h: Do not include <fenv_private.h>.
7135 * math/s_cexp_template.c: Likewise.
7136 * math/s_csin_template.c: Likewise.
7137 * math/s_csinh_template.c: Likewise.
7138 * math/s_ctan_template.c: Likewise.
7139 * math/s_ctanh_template.c: Likewise.
7140 * math/s_iseqsig_template.c: Likewise.
7141 * math/w_acos_compat.c: Likewise.
7142 * math/w_acosf_compat.c: Likewise.
7143 * math/w_acosl_compat.c: Likewise.
7144 * math/w_asin_compat.c: Likewise.
7145 * math/w_asinf_compat.c: Likewise.
7146 * math/w_asinl_compat.c: Likewise.
7147 * math/w_j0_compat.c: Likewise.
7148 * math/w_j0f_compat.c: Likewise.
7149 * math/w_j0l_compat.c: Likewise.
7150 * math/w_j1_compat.c: Likewise.
7151 * math/w_j1f_compat.c: Likewise.
7152 * math/w_j1l_compat.c: Likewise.
7153 * math/w_jn_compat.c: Likewise.
7154 * math/w_jnf_compat.c: Likewise.
7155 * math/w_log10_compat.c: Likewise.
7156 * math/w_log10f_compat.c: Likewise.
7157 * math/w_log10l_compat.c: Likewise.
7158 * math/w_log2_compat.c: Likewise.
7159 * math/w_log2f_compat.c: Likewise.
7160 * math/w_log2l_compat.c: Likewise.
7161 * math/w_log_compat.c: Likewise.
7162 * math/w_logf_compat.c: Likewise.
7163 * math/w_logl_compat.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7169 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7170 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7172 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7173 * sysdeps/ieee754/k_standardl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7191 * math/w_ilogb_template.c: Include <fenv.h> instead of
7193 * math/w_llogb_template.c: Likewise.
7194 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7195 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7197 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7200 * math/fromfp.h: Include <fenv_private.h>.
7201 * math/math-narrow.h: Likewise.
7202 * math/s_cexp_template.c: Likewise.
7203 * math/s_csin_template.c: Likewise.
7204 * math/s_csinh_template.c: Likewise.
7205 * math/s_ctan_template.c: Likewise.
7206 * math/s_ctanh_template.c: Likewise.
7207 * math/s_iseqsig_template.c: Likewise.
7208 * math/w_acos_compat.c: Likewise.
7209 * math/w_acosf_compat.c: Likewise.
7210 * math/w_acosl_compat.c: Likewise.
7211 * math/w_asin_compat.c: Likewise.
7212 * math/w_asinf_compat.c: Likewise.
7213 * math/w_asinl_compat.c: Likewise.
7214 * math/w_ilogb_template.c: Likewise.
7215 * math/w_j0_compat.c: Likewise.
7216 * math/w_j0f_compat.c: Likewise.
7217 * math/w_j0l_compat.c: Likewise.
7218 * math/w_j1_compat.c: Likewise.
7219 * math/w_j1f_compat.c: Likewise.
7220 * math/w_j1l_compat.c: Likewise.
7221 * math/w_jn_compat.c: Likewise.
7222 * math/w_jnf_compat.c: Likewise.
7223 * math/w_llogb_template.c: Likewise.
7224 * math/w_log10_compat.c: Likewise.
7225 * math/w_log10f_compat.c: Likewise.
7226 * math/w_log10l_compat.c: Likewise.
7227 * math/w_log2_compat.c: Likewise.
7228 * math/w_log2f_compat.c: Likewise.
7229 * math/w_log2l_compat.c: Likewise.
7230 * math/w_log_compat.c: Likewise.
7231 * math/w_logf_compat.c: Likewise.
7232 * math/w_logl_compat.c: Likewise.
7233 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7234 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7235 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7236 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7260 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7261 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7262 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7263 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7264 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7265 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7266 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7267 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7268 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7269 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7270 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7271 * sysdeps/ieee754/k_standardl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7308 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7309 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7310 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7311 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7312 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7313 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7314 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7315 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7316 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7317 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7318 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7319 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7320 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7321 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7322 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7323 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7324 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7325 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7326 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7327 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7328 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7329 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7330 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7331 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7332 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7333 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7334 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7335 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7336 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7337 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7338 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7339 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7340 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7341 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7342 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7344 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7347 * include/stdio.h (__libc_fatal): Mention newline in comment.
7348 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7349 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7351 * nss/nsswitch.c (__nss_next2): Likewise.
7352 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7353 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7354 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7355 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7356 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7358 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7359 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7360 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7361 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7362 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7363 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7364 (__netlink_assert_response): Likewise.
7366 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7368 * conform/glibcconform.py: New file.
7369 * conform/list-header-symbols.py: Likewise.
7370 * conform/list-header-symbols.pl: Remove.
7371 * conform/Makefile (tests-special): Only add linknamespace tests
7373 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7375 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7378 * support/Makefile (libsupport-routines): Add
7379 support_copy_file_range and xcopy_file_range.
7380 * support/support.h: Include <sys/types.h>.
7381 (support_copy_file_range): New prototype.
7382 * support/support_copy_file_range.c: New file. Copied and
7383 modified from io/copy_file_range-compat.c.
7384 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7385 instead of copy_file_range.
7386 * support/xcopy_file_range.c: New file.
7387 * support/xunistd.h (xcopy_file_range): New prototype.
7389 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7391 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7392 xpthread_create and xpthread_join.
7394 2018-08-30 Florian Weimer <fweimer@redhat.com>
7396 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7398 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7400 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7403 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7405 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7406 and minus_oflow as non-finite.
7408 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7410 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7411 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7412 moved to fenv_private.h except for ...
7413 (TOINT_INTRINSICS): Kept in math_private.h.
7414 (roundtoint): Likewise.
7415 (converttoint): Likewise.
7416 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7417 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7418 * sysdeps/arm/math_private.h: Remove.
7419 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7421 * sysdeps/generic/math_private.h: ... this file. Include
7422 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7423 Include <fenv_private.h>. Remove functions and macros moved to
7425 * sysdeps/i386/fpu/math_private.h: Remove.
7426 * sysdeps/mips/math_private.h: Move to ....
7427 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7428 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7429 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7430 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7431 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7432 * sysdeps/powerpc/fpu/math_private.h: Do not include
7434 * sysdeps/riscv/rvf/math_private.h: Move to ....
7435 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7436 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7438 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7439 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7440 * sysdeps/sparc/fpu/math_private.h: Remove.
7441 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7442 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7443 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7445 * sysdeps/x86_64/fpu/math_private.h: Do not include
7446 <sysdeps/i386/fpu/fenv_private.h>.
7448 2018-08-28 Florian Weimer <fweimer@redhat.com>
7451 * posix/tst-regcomp-truncated.c: New file.
7452 * posix/Makefile (tests): Add it.
7453 (tst-regcomp-truncated.out): Depend on generated locales.
7455 2018-08-28 Florian Weimer <fweimer@redhat.com>
7457 * support/test-container.c (main): Treat unshare failure with
7458 EPERM as an unsupported test.
7460 2018-08-28 Florian Weimer <fweimer@redhat.com>
7463 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7464 * nscd/netgroupcache.c
7465 (addgetnetgrentX): Add tofreep parameter. Do not free
7466 heap-allocated buffer.
7467 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7468 (addgetnetgrentX_ignore): New function.
7469 (addgetnetgrent): Call it.
7470 (readdgetnetgrent): Likewise.
7472 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7474 * string/memmem.c: Use memcmp for first match.
7476 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7479 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7481 2018-08-27 DJ Delorie <dj@redhat.com>
7483 * support/Makefile (others): Don't list programs explicitly as a
7484 dependency of "others".
7486 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7488 * sysdeps/generic/math-tests-trap-force.h: New file.
7489 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7490 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7491 * sysdeps/powerpc/math-tests.h: Remove file.
7492 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7494 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7495 Torvald Riegel <triegel@redhat.com>
7498 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7499 Update r to include the set wake-request flag if waiters are
7500 remaining after spinning.
7502 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7504 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7506 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7509 regex: fix uninitialized memory access
7510 I introduced this bug into gnulib in commit
7511 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7512 eventually it was merged into glibc. The bug was found by
7513 project-repo <bugs@feusi.co> and reported here:
7514 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7515 Diagnosis and draft fix reported by Assaf Gordon here:
7516 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7517 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7518 * posix/regex_internal.c (build_wcs_upper_buffer):
7519 Fix bug when mbrtowc returns 0.
7521 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7523 * po/be.po: Update translation.
7525 2018-08-24 DJ Delorie <dj@delorie.com>
7527 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7530 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7533 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7534 create temporary files in source tree.
7536 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7538 * sysdeps/generic/math-tests-trap.h: New file.
7539 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7540 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7541 * sysdeps/aarch64/math-tests.h: Remove file.
7542 * sysdeps/arm/math-tests.h: Likewise.
7543 * sysdeps/riscv/math-tests.h: Likewise.
7544 * sysdeps/aarch64/math-tests-trap.h: New file.
7545 * sysdeps/arm/math-tests-trap.h: Likewise.
7546 * sysdeps/riscv/math-tests-trap.h: Likewise.
7548 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7550 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7551 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7552 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7553 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7554 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7555 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7559 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7560 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7563 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7564 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7565 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7566 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7567 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7569 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7571 * sysdeps/generic/math-tests-exceptions.h: New file.
7572 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7573 (EXCEPTION_TESTS_float): Do not define here.
7574 (EXCEPTION_TESTS_double): Likewise.
7575 (EXCEPTION_TESTS_long_double): Likewise.
7576 (EXCEPTION_TESTS_float128): Likewise.
7577 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7579 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7580 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7581 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7582 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7583 * sysdeps/mips/math-tests.h: Likewise.
7584 * sysdeps/nios2/math-tests.h: Likewise.
7585 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7586 (EXCEPTION_TESTS_float): Do not define here.
7587 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7588 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7589 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7591 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7593 * NEWS: Move optimized sinf entry to 2.29.
7595 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7597 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7599 2018-08-22 DJ Delorie <dj@redhat.com>
7601 * Makefile (testroot.pristine): New rules to initialize the
7602 test-in-container "testroot".
7603 * Makerules (all-testsuite): Add tests-container.
7604 * Rules (tests-expected): Add tests-container.
7605 (binaries-all-tests): Likewise.
7606 (tests-container): New, run these tests in the testroot container.
7607 * support/Makefile (others): Add *-container, support_paths.c,
7608 xmkdirp, and links-dso-program.
7609 * support/links-dso-program-c.c: New.
7610 * support/links-dso-program.cc: New.
7611 * support/test-container.c: New.
7612 * support/shell-container.c: New.
7613 * support/echo-container.c: New.
7614 * support/true-container.c: New.
7615 * support/xmkdirp.c: New.
7616 * support/xsymlink.c: New.
7617 * support/support_paths.c: New.
7618 * support/support.h: Add support paths prototypes.
7619 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7621 * nss/tst-nss-test3.c: Convert to test-in-container.
7622 * nss/tst-nss-test3.root/: New.
7624 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7626 regex: port Gnulib code to z/OS POSIX environment
7627 Problem reported by Arnold Robbins in:
7628 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7629 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7632 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7634 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7635 (ROUNDING_TESTS_double): Remove.
7636 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7637 (ROUNDING_TESTS_double): Remove.
7638 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7639 (ROUNDING_TESTS_double): Remove.
7640 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7641 (ROUNDING_TESTS_float): Remove.
7642 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7643 (ROUNDING_TESTS_float): Remove.
7644 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7645 (ROUNDING_TESTS_float): Remove.
7646 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7648 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7649 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7651 * sysdeps/generic/math-tests-rounding.h: New file.
7652 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7653 (ROUNDING_TESTS_float): Do not define here.
7654 (ROUNDING_TESTS_double): Likewise.
7655 (ROUNDING_TESTS_long_double): Likewise.
7656 (ROUNDING_TESTS_float128): Likewise.
7657 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7658 (ROUNDING_TESTS_double): Undefine before defining.
7659 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7660 (ROUNDING_TESTS_double): Undefine before defining.
7661 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7662 (ROUNDING_TESTS_double): Undefine before defining.
7663 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7664 (ROUNDING_TESTS_float): Undefine before defining.
7665 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7666 (ROUNDING_TESTS_float): Undefine before defining.
7667 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7668 (ROUNDING_TESTS_float): Undefine before defining.
7669 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7670 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7672 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7673 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7674 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7675 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7676 (ROUNDING_TESTS_float): Do not define here.
7677 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7678 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7679 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7680 (ROUNDING_TESTS_float): Likewise.
7681 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7682 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7683 * sysdeps/mips/math-tests.h [__mips_soft_float]
7684 (ROUNDING_TESTS_float): Likewise.
7685 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7686 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7687 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7688 (ROUNDING_TESTS_double): Likewise.
7689 (ROUNDING_TESTS_long_double): Likewise.
7691 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7693 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7694 (PF_XDP): New macro.
7695 (AF_XDP): New macro.
7696 (SOL_XDP): New macro.
7698 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7700 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7701 (TCP_INQ): Likewise.
7702 (TCP_CM_INQ): Likewise.
7703 (TCP_REPAIR_ON): Likewise.
7704 (TCP_REPAIR_OFF): Likewise.
7705 (TCP_REPAIR_OFF_NO_WP): Likewise.
7706 (struct tcp_zerocopy_receive): New type.
7708 2018-08-21 Florian Weimer <fweimer@redhat.com>
7710 * support/support.h (support_descriptor_supports_holes): Declare.
7711 * support/Makefile (libsupport-routines): Add
7712 support_descriptor_supports_holes.
7713 * support/support_descriptor_supports_holes.c: New file.
7714 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7715 and stop testing if holes are not supported.
7716 * io/test-lfs.c (do_prepare): Likewise.
7717 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7719 * timezone/tst-tzset.c (create_tz_file): Likewise.
7720 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7722 (do_prepare): Set it.
7723 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7725 2018-08-21 Florian Weimer <fweimer@redhat.com>
7728 * Makeconfig (+cflags): Do not sort (and deduplicate).
7730 2018-08-21 Florian Weimer <fweimer@redhat.com>
7732 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7733 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7735 2018-08-20 Florian Weimer <fweimer@redhat.com>
7737 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7738 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7740 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7742 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7743 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7744 and ssi_arch members.
7746 * elf/elf.c (NT_VMCOREDD): New macro.
7747 (AT_MINSIGSTKSZ): Likewise.
7749 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7752 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7753 s_cosf-ppc64 and s_cosf-power8.
7754 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7755 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7757 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7764 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7765 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7767 2018-08-17 Florian Weimer <fweimer@redhat.com>
7769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7771 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7773 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7775 2018-08-16 Florian Weimer <fweimer@redhat.com>
7777 * configure.ac: Add --with-nonshared-cflags option.
7778 * config.make.in (extra-nonshared-cflags): Set variable.
7779 * Makeconfig (CFLAGS-.oS): Use it.
7780 * manual/install.texi (Configuring and compiling): Document
7781 --with-nonshared-cflags.
7782 * configure: Regenerate.
7783 * INSTALL: Likewise.
7785 2018-08-16 Florian Weimer <fweimer@redhat.com>
7787 * Makeconfig (ASFLAGS): Always append required assembler flags.
7789 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7791 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7792 (malloc_consolidate): Likewise.
7794 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7796 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7798 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7800 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7803 * benchtests/bench-strlen.c: Print performance numbers in json.
7805 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7807 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7808 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7809 only for little endian.
7810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7811 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7812 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7814 Add check for little endian.
7815 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7816 (__strcmp_power9): Add check for little endian.
7817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7818 Add check for little endian.
7819 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7820 (__strncmp_power9): Add check for little endian.
7821 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7822 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7823 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7824 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7825 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7827 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7829 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7830 [!STRLEN](STRLEN): Set to __strlen.
7831 * sysdeps/aarch64/multiarch/strlen.c: New file.
7832 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7833 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7834 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7835 (__libc_ifunc_impl_list): Add strlen.
7836 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7837 strlen_generic and strlen_asimd.
7839 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7842 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7843 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7845 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7849 2018-08-14 Florian Weimer <fweimer@redhat.com>
7852 * include/stdio.h (__vfxprintf): Declare.
7853 * stdio-common/fxprintf.c (__vfxprintf): New function.
7854 (__fxprintf): Call it.
7855 * misc/err.c (convert_and_print): Remove function.
7856 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7857 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7858 * misc/Makefile (tests): Add tst-warn-wide.
7859 * misc/tst-warn-wide.c: New file.
7861 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7862 Szabolcs Nagy <szabolcs.nagy@arm.com>
7864 * NEWS: Mention sinf, cosf, sincosf.
7865 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7866 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7867 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7868 constants rather than including generic sincosf.h.
7869 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7870 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7871 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7872 (reduced_cos): Remove.
7873 (sinf_poly): New function.
7874 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7876 2018-08-14 Florian Weimer <fweimer@redhat.com>
7880 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7881 processing, bail out if no room, and close the stream before
7883 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7884 (tst-nss-files-alias-leak): Link with libdl.
7885 (tst-nss-files-alias-leak.out): Depend on nss_files.
7887 * nss/tst-nss-files-alias-leak.c: New file.
7889 2018-08-14 Florian Weimer <fweimer@redhat.com>
7891 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7892 server_user, stat_user.
7894 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7896 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7898 (io_pgetevents): New syscall.
7901 * manual/install.texi (Configuring and compiling): Do not list
7902 tools used for testing pretty printers here.
7903 (Tools for Compilation): List Python, PExpect and GDB here.
7904 Update descriptions of uses of Perl and Python.
7905 * INSTALL: Regenerate.
7907 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7910 2018-08-13 Florian Weimer <fweimer@redhat.com>
7912 * misc/error.c (error): Add missing va_end call.
7913 (error_at_line): Likewise.
7915 2018-08-13 Florian Weimer <fweimer@redhat.com>
7917 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7919 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7921 * benchtests/scripts/benchout.schema.json (properties): Add
7924 * benchtests/bench-skeleton.c (main): Add duration and
7925 iterations attributes.
7927 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7929 regex: Gnulib unibyte RRI uses bytes not chars
7930 Adjust the non-glibc code to agree with what Gawk needs for
7931 rational range interpretation (RRI) for regular expression ranges.
7932 In unibyte locales, Gawk wants ranges to use the underlying byte
7933 rather than the character code point. This change does not affect
7935 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7936 In unibyte locales, use the byte value rather than
7937 running it through btowc.
7939 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7941 * sysdeps/generic/math-tests-snan.h: New file.
7942 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7943 (SNAN_TESTS_float): Do not define here.
7944 (SNAN_TESTS_double): Likewise.
7945 (SNAN_TESTS_long_double): Likewise.
7946 (SNAN_TESTS_float128): Likewise.
7947 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7948 * sysdeps/i386/fpu/math-tests.h: Remove file.
7949 * sysdeps/ia64/math-tests-snan.h: New file.
7950 * sysdeps/ia64/math-tests.h: Remove file.
7951 * sysdeps/x86/math-tests.h: Likewise.
7952 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7954 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7955 Szabolcs Nagy <szabolcs.nagy@arm.com>
7957 * math/Makefile: Add s_sincosf_data.c.
7958 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7959 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7960 (sincosf_poly): Likewise.
7961 (reduce_small): Likewise.
7962 (reduce_large): Likewise.
7963 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7964 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7965 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7966 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7968 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7969 Szabolcs Nagy <szabolcs.nagy@arm.com>
7971 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7972 (converttoint): Use lround.
7973 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7974 document the semantics when TOINT_INTRINSICS is set.
7975 (converttoint): Likewise.
7976 (TOINT_RINT): Remove.
7977 (TOINT_SHIFT): Remove.
7978 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7981 2018-08-10 Florian Weimer <fweimer@redhat.com>
7984 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7986 (__old_getdents64): Use getdents64. Convert entries without
7988 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7989 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7990 tst-readdir64-compat.
7992 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7994 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7997 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7999 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8000 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8001 code to s390x-mcount.h and #include it.
8002 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8003 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8006 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8008 * stdlib/Versions: Remove __fentry__.
8009 * sysdeps/i386/Versions: Add __fentry__.
8010 * sysdeps/x86_64/Versions: Add __fentry__.
8012 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8014 * sysdeps/s390/Makefile: Register the new tests.
8015 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8016 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8017 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8018 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8019 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8020 * sysdeps/s390/tst-dl-runtime.c: New file.
8022 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8024 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8027 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8029 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8032 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8034 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8037 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8039 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8042 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8044 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8045 Use symbolic offsets for stack variables.
8047 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8049 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8050 Use symbolic offsets for stack variables.
8052 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8054 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8055 Use symbolic offsets for stack variables.
8057 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8059 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8060 Use symbolic offsets for stack variables.
8062 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8064 * math/gen-libm-test.py: New file.
8065 * math/gen-libm-test.pl: Remove.
8066 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8067 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8069 ($(libm-test-c-noauto-obj)): Likewise.
8070 ($(libm-test-c-auto-obj)): Likewise.
8071 ($(libm-test-c-narrow-obj)): Likewise.
8072 (regen-ulps): Likewise.
8073 * math/README.libm-test: Update references to gen-libm-test.pl.
8074 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8075 referencing gen-libm-test.pl.
8076 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8077 * math/libm-test-support.c: Likewise.
8078 * math/libm-test-support.h: Likewise.
8079 * sysdeps/generic/libm-test-ulps: Likewise.
8081 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8083 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8086 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8088 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8089 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8091 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8093 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8095 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8096 __pthread_setspecific): Add hidden proto.
8097 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8098 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8100 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8102 * benchtests/bench-string.h (buf1_size, buf2_size): New
8104 (init_sizes): New function.
8105 (test_init): Use it.
8106 (alloc_buf, exit_error): New functions.
8107 (alloc_bufs): Use ALLOC_BUF.
8108 (realloc_bufs): Remove.
8109 * benchtests/bench-memcmp.c (do_test): Adjust.
8110 * benchtests/bench-memset-large.c (do_test): Likewise.
8111 * benchtests/bench-memset-walk.c (do_test): Likewise.
8112 * benchtests/bench-memset.c (do_test): Likewise.
8113 * benchtests/bench-strncmp.c (do_test): Likewise.
8115 2018-08-06 Andreas Schwab <schwab@suse.de>
8117 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8118 of CONST_THREAD_AREA.
8120 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8122 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8123 (STATE_SAVE_MASK): Likewise.
8124 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8125 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8126 (STATE_SAVE_MASK): Likewise.
8127 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8128 instead of <cpu-features.h>.
8130 2018-08-03 DJ Delorie <dj@redhat.com>
8132 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8133 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8135 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8137 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8139 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8141 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8142 * math/libm-test-logb.inc (logb_test_data): Likewise.
8144 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8146 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8147 * string/strstr.c (AVAILABLE): Likewise.
8149 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8151 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8153 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8154 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8155 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8157 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8159 * po/be.po: Update translation.
8161 * po/be.po: Update translation.
8163 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8165 * sysdeps/x86/cpu-features-offsets.sym
8166 (rtld_global_ro_offsetof): Removed.
8167 (CPU_FEATURES_SIZE): Likewise.
8168 (CPUID_OFFSET): Likewise.
8169 (CPUID_SIZE): Likewise.
8170 (CPUID_EAX_OFFSET): Likewise.
8171 (CPUID_EBX_OFFSET): Likewise.
8172 (CPUID_ECX_OFFSET): Likewise.
8173 (CPUID_EDX_OFFSET): Likewise.
8174 (FAMILY_OFFSET): Likewise.
8175 (MODEL_OFFSET): Likewise.
8176 (FEATURE_OFFSET): Likewise.
8177 (FEATURE_SIZ): Likewise.
8178 (COMMON_CPUID_INDEX_1): Likewise.
8179 (COMMON_CPUID_INDEX_7): Likewise.
8180 (FEATURE_INDEX_1): Likewise.
8181 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8183 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8185 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8186 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8187 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8188 (install-locales): Depend on install-locale-archive.
8189 (install-locale-archive): Define.
8190 (install-locale-files): Define.
8191 (build-one-locale): Define macro.
8192 * manual/install.texi (Running make install): Document.
8193 * manual/INSTALL: Regenerate.
8195 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8197 * benchtests/scripts/compare_strings.py: Import traceback.
8198 (parse_file): Pretty-print error.
8200 * NEWS: Mention the change.
8201 * elf/dl-tunables.list: Rename tune namespace to cpu.
8202 * sysdeps/powerpc/dl-tunables.list: Likewise.
8203 * sysdeps/x86/dl-tunables.list: Likewise.
8204 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8206 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8207 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8208 * manual/README.tunables: Likewise.
8209 * manual/tunables.texi: Likewise.
8210 * sysdeps/powerpc/cpu-features.c: Likewise.
8211 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8212 (init_cpu_features): Likewise.
8213 * sysdeps/x86/cpu-features.c: Likewise.
8214 * sysdeps/x86/cpu-features.h: Likewise.
8215 * sysdeps/x86/cpu-tunables.c: Likewise.
8216 * sysdeps/x86_64/Makefile: Likewise.
8217 * sysdeps/x86/dl-cet.c: Likewise.
8219 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8222 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8223 [__mips_hard_float].
8224 (FE_UNDERFLOW): Likewise.
8225 (FE_OVERFLOW): Likewise.
8226 (FE_DIVBYZERO): Likewise.
8227 (FE_INVALID): Likewise.
8228 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8229 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8230 (FE_UPWARD): Likewise.
8231 (FE_DOWNWARD): Likewise.
8232 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8233 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8234 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8235 [__mips_hard_float].
8236 (FP_ROUNDMODE): Likewise.
8237 (FP_RND_NEAREST): Likewise.
8238 (FP_RND_ZERO): Likewise.
8239 (FP_RND_PINF): Likewise.
8240 (FP_RND_MINF): Likewise.
8241 (FP_EX_INVALID): Likewise.
8242 (FP_EX_OVERFLOW): Likewise.
8243 (FP_EX_UNDERFLOW): Likewise.
8244 (FP_EX_DIVZERO): Likewise.
8245 (FP_EX_INEXACT): Likewise.
8246 (FP_INIT_ROUNDMODE): Likewise.
8247 * sysdeps/mips/nofpu/fesetenv.c: New file.
8248 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8250 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8252 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8253 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8254 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8255 conditional on [FE_UPWARD].
8257 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8259 regex: fix memory leak in Gnulib
8260 Problem and fix reported by Assaf Gordon in:
8261 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8262 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8263 range_ends members too, as they are defined in 'struct
8264 re_charset_t' even if not _LIBC. This affects only Gnulib.
8266 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8268 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8270 (get_common_indices): This.
8271 (init_cpu_features): Updated.
8273 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8275 * sysdeps/generic/math-tests-snan-payload.h: New file.
8276 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8277 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8278 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8279 * sysdeps/generic/math-tests.h: Include
8280 <math-tests-snan-payload.h>.
8281 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8282 * sysdeps/hppa/math-tests.h: Remove file.
8283 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8284 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8285 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8288 * sysdeps/generic/math-tests-snan-cast.h: New file.
8289 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8290 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8291 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8292 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8294 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8296 * version.h (RELEASE): Set to "development".
8297 (VERSION): Set to "2.28.9000".
8298 * NEWS (2.29): New section.
8300 * version.h (RELEASE): Set to "stable".
8301 (VERSION): Set to "2.28".
8302 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8303 * NEWS: Add the list of bugs fixed in 2.28.
8305 * po/ca.po: Update to latest version.
8306 * po/cs.po: Likewise
8307 * po/da.po: Likewise
8308 * po/el.po: Likewise
8309 * po/eo.po: Likewise
8310 * po/es.po: Likewise
8311 * po/fi.po: Likewise
8312 * po/fr.po: Likewise
8313 * po/gl.po: Likewise
8314 * po/hu.po: Likewise
8315 * po/ia.po: Likewise
8316 * po/id.po: Likewise
8317 * po/it.po: Likewise
8318 * po/ja.po: Likewise
8319 * po/ko.po: Likewise
8320 * po/lt.po: Likewise
8321 * po/nb.po: Likewise
8322 * po/nl.po: Likewise
8323 * po/pt_BR.po: Likewise
8324 * po/ru.po: Likewise
8325 * po/rw.po: Likewise
8326 * po/sk.po: Likewise
8327 * po/sl.po: Likewise
8328 * po/tr.po: Likewise
8329 * po/zh_CN.po: Likewise
8330 * po/zh_TW.po: Likewise
8332 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8334 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8336 (init): ... before initializing libpthread.
8338 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8339 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8340 (__mach_setup_tls): ... new function.
8341 (mach_setup_tls): New alias.
8342 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8343 __mach_setup_thread.
8344 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8345 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8346 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8347 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8349 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8351 * manual/install.texi: Update versions.
8352 * INSTALL: Regenerate.
8354 * manual/contrib.texi (Contributors): Update contributions.
8356 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8358 * po/be.po: Update translations.
8360 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8362 * sysdeps/sh/libm-test-ulps: Update.
8364 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8366 * po/bg.po: Update translations.
8367 * po/de.po: Likewise.
8368 * po/hr.po: Likewise.
8369 * po/pt_BR.po: Likewise.
8370 * po/sv.po: Likewise.
8371 * po/vi.po: Likewise.
8373 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8376 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8377 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8378 (CFLAGS-tst-cet-property-1.o): New.
8379 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8380 ($(objpfx)tst-cet-property-2): Likewise.
8381 ($(objpfx)tst-cet-property-2.out): Likewise.
8382 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8383 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8384 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8385 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8386 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8388 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8391 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8393 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8395 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8396 __sbrk): Do not set attribute_hidden.
8397 * sysdeps/mach/hurd/not-errno.h: New file.
8398 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8399 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8401 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8403 * po/uk.po: Update translations.
8404 * po/cs.po: Likewise.
8405 * po/pl.po: Likewise.
8407 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8409 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8410 parse beyond the note end.
8412 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8414 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8415 kernel does not support OFD locks.
8416 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8418 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8420 * sysdeps/mach/hurd/Versions (libc): Make __access and
8421 __access_noerrno external so they can override the ld symbols.
8422 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8423 __writev, __open64, __access_noerrno extern so they can be overrided.
8424 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8425 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8427 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8429 * po/libc.pot: Regenerate.
8431 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8433 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8435 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8438 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8440 (init_cpu_features): Call get_extended_indices for both Intel
8442 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8443 Remove "for AMD" comment.
8445 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8448 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8449 COMMON_CPUID_INDEX_80000001.
8451 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8453 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8454 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8456 2018-07-26 Florian Weimer <fweimer@redhat.com>
8458 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8459 aliases for symbols not in the implementation namespace.
8461 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8464 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8465 lowercase in LATIN script.
8466 * localedata/Makefile (test-input): Add en_US.UTF-8.
8467 * localedata/en_US.UTF-8.in: New file.
8468 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8469 and restore old tests.
8470 * posix/tst-regexloc.c (do_test): Add back range expression test.
8472 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8474 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8476 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8478 * nptl/threads.h: Move to ...
8479 * sysdeps/nptl/threads.h: ... here.
8480 * sysdeps/hurd/stdc-predef.h: New file.
8482 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8484 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8485 tst-cet-setcontext-1 if CET is enabled.
8486 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8487 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8489 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8491 * include/threads.h: Move to ...
8492 * sysdeps/nptl/threads.h: ... here.
8493 * sysdeps/htl/threads.h: New file.
8494 * conform/Makefile (linknamespace-libs-ISO11): Use
8495 static-thread-library instead of linking libpthread.
8496 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8498 2018-07-25 Florian Weimer <fweimer@redhat.com>
8500 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8501 nanoseconds into seconds.
8502 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8503 (do_test): Likewise.
8504 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8505 (do_test): Likewise. Avoid nanosecond overflow and spurious
8506 timeouts due to system load.
8507 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8508 (child_wait): Increment it.
8509 (do_test): Wait as long as necessary until all expected threads
8512 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8513 H.J. Lu <hongjiu.lu@intel.com>
8515 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8517 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8518 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8519 (__push___start_context): New.
8520 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8522 (__getcontext): Record the current shadow stack base. Save the
8523 caller's shadow stack pointer and base.
8524 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8525 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8526 (__push___start_context): New prototype.
8527 (__makecontext): Call __push___start_context to allocate a new
8528 shadow stack, push __start_context onto the new stack as well
8529 as the new shadow stack.
8530 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8532 (__setcontext): Restore the target shadow stack.
8533 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8535 (__swapcontext): Record the current shadow stack base. Save
8536 the caller's shadow stack pointer and base. Restore the target
8538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8539 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8540 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8542 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8544 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8545 tst-setcontext8 and tst-setcontext9.
8546 * stdlib/tst-setcontext6.c: New file.
8547 * stdlib/tst-setcontext7.c: Likewise.
8548 * stdlib/tst-setcontext8.c: Likewise.
8549 * stdlib/tst-setcontext9.c: Likewise.
8551 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8553 * stdlib/Makefile ((tests): Add tst-setcontext5.
8554 * stdlib/tst-setcontext5.c: New file.
8556 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8558 * stdlib/Makefile (tests): Add tst-setcontext4.
8559 * stdlib/tst-setcontext4.c: New file.
8561 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8563 * stdlib/Makefile (tests): Add tst-swapcontext1.
8564 * stdlib/tst-swapcontext1.c: New test.
8566 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8568 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8569 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8570 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8571 and tst-cet-legacy-4c.
8572 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8573 and tst-cet-legacy-mod-4.
8574 (CFLAGS-tst-cet-legacy-2.c): New.
8575 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8576 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8577 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8578 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8579 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8580 ($(objpfx)tst-cet-legacy-1): Likewise.
8581 ($(objpfx)tst-cet-legacy-2): Likewise.
8582 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8583 ($(objpfx)tst-cet-legacy-2a): Likewise.
8584 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8585 ($(objpfx)tst-cet-legacy-4): Likewise.
8586 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8587 ($(objpfx)tst-cet-legacy-4a): Likewise.
8588 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8589 (tst-cet-legacy-4a-ENV): Likewise.
8590 ($(objpfx)tst-cet-legacy-4b): Likewise.
8591 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8592 (tst-cet-legacy-4b-ENV): Likewise.
8593 ($(objpfx)tst-cet-legacy-4c): Likewise.
8594 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8595 (tst-cet-legacy-4c-ENV): Likewise.
8596 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8597 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8598 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8599 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8600 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8601 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8602 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8603 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8604 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8605 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8606 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8608 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8610 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8611 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8613 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8614 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8617 2018-07-25 Andreas Schwab <schwab@suse.de>
8620 * locale/weightwc.h (findidx): Handle the case where usrc is a
8621 prefix of cp but one character too short.
8623 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8625 * NEWS: Add ISO C threads addition.
8627 2018-07-24 Florian Weimer <fweimer@redhat.com>
8629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8630 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8631 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8634 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8636 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8637 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8638 <sys/prctl.h> and <asm/prctl.h>.
8639 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8640 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8642 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8643 ARCH_CET_LEGACY_BITMAP.
8644 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8645 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8646 * sysdeps/x86/libc-start.c: Include <startup.h>.
8648 2018-07-24 Florian Weimer <fweimer@redhat.com>
8650 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8651 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8653 2018-07-24 Rical Jasan <rj@2c3t.io>
8654 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8655 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8658 * manual/debug.texi: Update adjacent chapter name.
8659 * manual/probes.texi: Likewise.
8660 * manual/threads.texi (ISO C Threads): New section.
8661 (POSIX Threads): Convert to a section.
8663 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8664 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8667 * nptl/Makefile (tests): Add new test files.
8668 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8669 * nptl/tst-cnd-basic.c: Likewise.
8670 * nptl/tst-cnd-broadcast.c: Likewise.
8671 * nptl/tst-cnd-timedwait.c: Likewise.
8672 * nptl/tst-mtx-basic.c: Likewise.
8673 * nptl/tst-mtx-recursive.c: Likewise.
8674 * nptl/tst-mtx-timedlock.c: Likewise.
8675 * nptl/tst-mtx-trylock.c: Likewise.
8676 * nptl/tst-thrd-basic.c: Likewise.
8677 * nptl/tst-thrd-detach.c: Likewise.
8678 * nptl/tst-thrd-sleep.c: Likewise.
8679 * nptl/tst-tss-basic.c: Likewise.
8681 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8685 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8687 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8696 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8697 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8698 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8706 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8708 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8709 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8712 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8714 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8715 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8716 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8717 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8718 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8720 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8721 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8722 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8723 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8724 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8725 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8726 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8727 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8728 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8729 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8730 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8731 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8738 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8739 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8741 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8742 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8744 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8748 * conform/data/threads.h-data (thread_local): New macro.
8749 (TSS_DTOR_ITERATIONS): Likewise.
8751 (tss_dtor_t): Likewise.
8752 (tss_create): New function.
8753 (tss_get): Likewise.
8754 (tss_set): Likewise.
8755 (tss_delete): Likewise.
8756 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8757 tss_get, and tss_set objects.
8758 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8759 * nptl/tss_create.c: New file.
8760 * nptl/tss_delete.c: Likewise.
8761 * nptl/tss_get.c: Likewise.
8762 * nptl/tss_set.c: Likewise.
8763 * sysdeps/nptl/threads.h (thread_local): New define.
8764 (TSS_DTOR_ITERATIONS): Likewise.
8765 (tss_t): New typedef.
8766 (tss_dtor_t): Likewise.
8767 (tss_create): New prototype.
8768 (tss_get): Likewise.
8769 (tss_set): Likewise.
8770 (tss_delete): Likewise.
8773 * conform/data/threads.h-data (cnd_t): New type.
8774 (cnd_init): New function.
8775 (cnd_signal): Likewise.
8776 (cnd_broadcast): Likewise.
8777 (cnd_wait): Likewise.
8778 (cnd_timedwait): Likewise.
8779 (cnd_destroy): Likewise.
8780 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8781 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8783 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8784 * nptl/cnd_broadcast.c: New file.
8785 * nptl/cnd_destroy.c: Likewise.
8786 * nptl/cnd_init.c: Likewise.
8787 * nptl/cnd_signal.c: Likewise.
8788 * nptl/cnd_timedwait.c: Likewise.
8789 * nptl/cnd_wait.c: Likewise.
8790 * sysdeps/nptl/threads.h (cnd_t): New type.
8791 (cnd_init): New prototype.
8792 (cnd_signa): Likewise.
8793 (cnd_broadcast): Likewise.
8794 (cnd_wait): Likewise.
8795 (cnd_timedwait): Likewise.
8796 (cnd_destroy): Likewise.
8799 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8800 (once_flag): New type.
8801 (call_once): New function.
8802 * nptl/Makefile (libpthread-routines): Add call_once object.
8803 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8804 * nptl/call_once.c: New file.
8805 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8806 (once_flag): New type.
8807 (call_once): New prototype.
8810 * conform/data/threads.h-data (mtx_plain): New constant.
8811 (mtx_recursive): Likewise.
8812 (mtx_timed): Likewise.
8814 (mtx_init): New function.
8815 (mtx_lock): Likewise.
8816 (mtx_timedlock): Likewise.
8817 (mtx_trylock): Likewise.
8818 (mtx_unlock): Likewise.
8819 (mtx_destroy): Likewise.
8820 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8821 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8822 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8823 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8824 * nptl/mtx_destroy.c: New file.
8825 * nptl/mtx_init.c: Likewise.
8826 * nptl/mtx_lock.c: Likewise.
8827 * nptl/mtx_timedlock.c: Likewise.
8828 * nptl/mtx_trylock.c: Likewise.
8829 * nptl/mtx_unlock.c: Likewise.
8830 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8831 (mtx_recursive): Likewise.
8832 (mtx_timed): Likewise.
8834 (mtx_init): New prototype.
8835 (mtx_lock): Likewise.
8836 (mtx_timedlock): Likewise.
8837 (mtx_trylock): Likewise.
8838 (mtx_unlock): Likewise.
8839 (mtx_destroy): Likewise.
8842 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8843 (linknamespace-libs-ISO11): Add libpthread.a.
8844 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8846 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8847 * nptl/Makefile (headers): Add threads.h.
8848 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8849 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8851 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8852 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8853 thrd_join, thrd_sleep, and thrd_yield symbols.
8854 * nptl/descr.h (struct pthread): Add c11 field.
8855 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8856 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8857 routine with expected function prototype.
8858 (__pthread_create_2_1): Add C11 threads check based on attribute
8860 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8861 * nptl/thrd_create.c: New file.
8862 * nptl/thrd_current.c: Likewise.
8863 * nptl/thrd_detach.c: Likewise.
8864 * nptl/thrd_equal.c: Likewise.
8865 * nptl/thrd_exit.c: Likewise.
8866 * nptl/thrd_join.c: Likewise.
8867 * nptl/thrd_priv.h: Likewise.
8868 * nptl/thrd_sleep.c: Likewise.
8869 * nptl/thrd_yield.c: Likewise.
8870 * include/threads.h: Likewise.
8872 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8874 * bits/indirect-return.h: New file.
8875 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8876 * sysdeps/x86/bits/indirect-return.h: Likewise.
8877 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8878 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8879 (swapcontext): Add __INDIRECT_RETURN.
8880 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8881 (prepare_test_buffer): Use it.
8883 2018-07-24 Andreas Schwab <schwab@suse.de>
8886 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8887 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8889 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8891 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8892 Redefine if shadow stack is enabled.
8893 (SYSCALL_ERROR_LABEL): Likewise.
8894 (__vfork): Pop shadow stack and jump back to to caller directly
8895 when shadow stack is in use.
8896 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8897 Redefine if shadow stack is enabled.
8898 (SYSCALL_ERROR_LABEL): Likewise.
8899 (__vfork): Pop shadow stack and jump back to to caller directly
8900 when shadow stack is in use.
8902 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8904 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8907 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8910 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8912 * scripts/build-many-glibcs.py (Context.checkout): Default
8913 binutils version to 2.31 branch.
8915 2018-07-20 Zong Li <zong@andestech.com>
8917 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8918 URL of gcc's tarball.
8920 2018-07-20 Florian Weimer <fweimer@redhat.com>
8923 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8924 not compare an extra byte after the end of the weights.
8926 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8928 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8930 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8932 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8933 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8934 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8935 list of libraries whose stack executability is expected.
8936 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8937 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8939 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8940 libc.so libpthread.so.
8942 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8944 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8946 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8948 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8950 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8952 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8954 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8955 library to improve command line parsing.
8956 (__main__): make schema file as optional parameter (--schema),
8957 defaulting to benchtests/scripts/benchout.schema.json.
8958 (main): move out of the parsing stuff to __main_ and leave it
8959 only as caller of main comparison functions.
8961 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8963 * NEWS: Add a note for Intel CET status.
8964 * manual/install.texi: Likewise.
8965 * INSTALL: Regenerated.
8967 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8970 * localedata/locales/oc_FR (mon): Rename to...
8971 (alt_mon): This, then update October (typo fix).
8972 (mon): New content (genitive case, month names preceded by
8976 * localedata/locales/oc_FR (abday): Update all items.
8977 (day): Update Wednesday and Saturday (typo fixes).
8978 (abmon): Update all items, except May.
8979 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8980 (LC_IDENTIFICATION): Bump the revision number and date.
8981 Keep the "category" entries in alphabetic order.
8982 (LC_ADDRESS): Remove no longer needed comment.
8983 (LC_COLLATE): Use “copy "ca_ES"”.
8984 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8987 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8989 * grp/tst_fgetgrent.c: Include <unistd.h>.
8990 (main): Use mkstemp instead of tmpnam.
8991 * io/test-utime.c (main): Likewise.
8992 * posix/annexc.c (macrofile): Change to modifiable array.
8993 (main): Remove macrofile here.
8994 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8996 (check_header): Do not remove macrofile here.
8997 * posix/bug-getopt1.c: Include <stdlib.h>.
8998 (do_test): Use mkstemp instead of tmpnam.
8999 * posix/bug-getopt2.c: Include <stdlib.h>.
9000 (do_test): Use mkstemp instead of tmpnam.
9001 * posix/bug-getopt3.c: Include <stdlib.h>.
9002 (do_test): Use mkstemp instead of tmpnam.
9003 * posix/bug-getopt4.c: Include <stdlib.h>.
9004 (do_test): Use mkstemp instead of tmpnam.
9005 * posix/bug-getopt5.c: Include <stdlib.h>.
9006 (do_test): Use mkstemp instead of tmpnam.
9007 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9008 (main): Use mkstemp instead of tmpnam.
9009 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9010 (main): Use mkstemp instead of tmpnam.
9011 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9012 (main): use mkstemp instead of tmpnam.
9013 * stdlib/isomac.c (macrofile): Change to modifiable array.
9014 (main): Remove macrofile here.
9015 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9017 (check_header): Do not remove macrofile here.
9019 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9021 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9022 glibc.tune.x86_shstk.
9024 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9026 * NEWS: Mention --enable-cet.
9027 * manual/install.texi: Document --enable-cet.
9028 * INSTALL: Regenerated.
9030 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9032 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9033 Add _CET_NOTRACK before indirect jump to jump table.
9035 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9038 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9041 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9044 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9047 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9050 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9053 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9056 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9059 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9062 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9064 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9066 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9069 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9072 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9074 * sysdeps/i386/i686/multiarch/memset-sse2.S
9075 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9078 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9080 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9081 indirect jump to jump table.
9083 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9086 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9090 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9093 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9097 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9099 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9100 _CET_NOTRACK before indirect jump to jump table.
9102 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9105 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9108 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9110 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9111 indirect jump to jump table.
9113 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9116 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9117 (LOCALES): Likewise.
9118 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9119 * localedata/locales/sah_RU: New file.
9120 * localedata/sah_RU.UTF-8.in: New file.
9122 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9124 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9126 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9127 _CET_ENDBR to indirect jump targets and adjust jump destination
9129 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9131 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9132 _CET_ENDBR to indirect jump targets and adjust jump destination
9134 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9136 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9137 _CET_ENDBR to indirect jump targets and adjust jump destination
9140 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9142 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9145 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9147 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9149 (_dl_tlsdesc_undefweak): Likewise.
9150 (_dl_tlsdesc_dynamic): Likewise.
9151 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9152 (_dl_tlsdesc_resolve_rel): Likewise.
9153 (_dl_tlsdesc_resolve_rela): Likewise.
9154 (_dl_tlsdesc_resolve_hold): Likewise.
9155 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9156 (_dl_tlsdesc_undefweak): Likewise.
9157 (_dl_tlsdesc_dynamic): Likewise.
9158 (_dl_tlsdesc_resolve_rela): Likewise.
9159 (_dl_tlsdesc_resolve_hold): Likewise.
9161 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9163 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9165 * sysdeps/x86_64/crti.S (_init): Likewise.
9168 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9171 * localedata/locales/os_RU (mon): Rename to...
9173 (mon): Import from CLDR (genitive case).
9175 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9177 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9178 cet-tunables.h> when CET is enabled.
9180 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9183 * configure.ac: Add --enable-cet.
9184 * configure: Regenerated.
9185 * elf/Makefille (all-built-dso): Add a comment.
9186 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9187 Include <dl-prop.h>.
9188 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9190 * elf/dl-open.c: Include <dl-prop.h>.
9191 (dl_open_worker): Call _dl_open_check.
9192 * elf/rtld.c: Include <dl-prop.h>.
9193 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9195 * sysdeps/generic/dl-prop.h: New file.
9196 * sysdeps/i386/dl-cet.c: Likewise.
9197 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9198 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9199 * sysdeps/x86/cet-tunables.h: Likewise.
9200 * sysdeps/x86/check-cet.awk: Likewise.
9201 * sysdeps/x86/configure: Likewise.
9202 * sysdeps/x86/configure.ac: Likewise.
9203 * sysdeps/x86/dl-cet.c: Likewise.
9204 * sysdeps/x86/dl-procruntime.c: Likewise.
9205 * sysdeps/x86/dl-prop.h: Likewise.
9206 * sysdeps/x86/libc-start.h: Likewise.
9207 * sysdeps/x86/link_map.h: Likewise.
9208 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9210 (_dl_runtime_profile): Likewise.
9211 (_dl_runtime_resolve_shstk): New.
9212 (_dl_runtime_profile_shstk): Likewise.
9213 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9215 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9216 (CFLAGS-.os): Likewise.
9217 (CFLAGS-.op): Likewise.
9218 (CFLAGS-.oS): Likewise.
9219 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9221 (tests-special): Add $(objpfx)check-cet.out.
9222 (cet-built-dso): New.
9223 (+$(cet-built-dso:=.note)): Likewise.
9224 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9225 ($(objpfx)check-cet.out): New.
9226 (generated): Add check-cet.out.
9227 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9229 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9230 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9231 (init_cpu_features): Call get_cet_status to check CET status
9232 and update dl_x86_feature_1 with CET status. Call
9233 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9234 (set_x86_shstk). Disable and lock CET in libc.a.
9235 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9236 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9237 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9238 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9239 (_CET_ENDBR): Define if not defined.
9240 (ENTRY): Add _CET_ENDBR.
9241 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9243 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9245 (_dl_runtime_profile): Likewise.
9247 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9251 restore r2 on longjmp.
9252 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9254 Added rules to build test tst-setjmp-bug21895-static.
9255 Added module setjmp-bug21895 and rules to build a shared object from it.
9256 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9257 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9259 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9261 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9262 * benchtests/bench-strstr.c: Likewise.
9263 * string/memmem.c (FASTSEARCH): Define.
9264 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9265 Add support for FASTSEARCH.
9266 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9267 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9268 (FASTSEARCH): Define.
9269 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9270 * string/test-strstr.c: Likewise.
9272 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9275 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9277 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9278 H.J. Lu <hongjiu.lu@intel.com>
9280 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9281 (__longjmp): Restore shadow stack pointer if shadow stack is
9282 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9283 isn't defined for __longjmp_cancel.
9284 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9285 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9286 and SHADOW_STACK_POINTER_OFFSET is defined.
9287 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9288 (setjmp): Save shadow stack pointer if shadow stack is enabled
9289 and SHADOW_STACK_POINTER_OFFSET is defined.
9290 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9291 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9292 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9295 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9296 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9297 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9298 Remove jmp_buf-ssp.sym.
9299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9301 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9302 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9303 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9305 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9306 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9307 (__longjmp): Restore shadow stack pointer if shadow stack is
9308 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9309 isn't defined for __longjmp_cancel.
9310 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9311 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9312 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9314 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9317 * nptl/pthread_create.c: Include <tls-setup.h>.
9318 (__pthread_create_2_1): Call tls_setup_tcbhead.
9319 * sysdeps/generic/tls-setup.h: New file.
9320 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9321 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9322 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9324 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9326 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9327 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9328 (X86_FEATURE_1_SHSTK): Likewise.
9329 (CET_ENABLED): Likewise.
9330 (IBT_ENABLED): Likewise.
9331 (SHSTK_ENABLED): Likewise.
9333 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9336 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9337 (LOCALES): Likewise.
9338 * localedata/dsb_DE.UTF-8.in: New file.
9339 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9341 2018-07-12 Florian Weimer <fweimer@redhat.com>
9343 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9344 __mprotect, not mprotect.
9346 2018-07-11 Florian Weimer <fweimer@redhat.com>
9348 * io/Makefile (headers): Add bits/statx.h.
9350 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9352 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9353 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9355 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9356 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9359 2018-07-10 Florian Weimer <fweimer@redhat.com>
9361 * io/Makefile (routines): Add statx.
9362 (tests-internal): Add tst-statx.
9363 * io/Versions (GLIBC_2.28): Export statx.
9364 * io/bits/statx.h: New file.
9365 * io/sys/stat.h [__USE_GNU]: Include it.
9366 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9367 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9369 * io/statx.c: New file.
9370 * io/statx_generic.: Likewise.
9371 * io/tst-statx.: Likewise.
9372 * include/bits/statx.h: Likewise.
9373 * sysdeps/unix/sysv/linux/kernel-features.h
9374 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9375 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9376 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9380 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9381 * sysdeps/unix/sysv/linux/statx.c: New file.
9382 * manual/filesys.texi: Note that statx is undocumented.
9383 * sysdeps/**/libc*.abilist: Update.
9385 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9387 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9388 a kernel issue which lead to test failure in some cases.
9390 2018-07-10 Florian Weimer <fweimer@redhat.com>
9393 * posix/regexec.c (check_node_accept_bytes): When comparing
9394 weights, do not compare an extra byte after the end of the
9397 2018-07-10 Florian Weimer <fweimer@redhat.com>
9399 * libio/readline.c: Fix copyright year.
9400 * libio/tst-readline.c Likewise.
9401 * nss/tst-nss-files-hosts-getent.c: Likewise.
9403 2018-07-06 Florian Weimer <fweimer@redhat.com>
9406 * nss/nss_files/files-XXX.c (internal_getent): Use
9407 __libc_readline_unlocked. Seek back to the start of the line if
9408 parsing failes with ERANGE.
9409 (get_contents_ret, get_contents): Remove.
9410 * nss/tst-nss-files-hosts-getent.c: New file.
9411 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9412 (tst-nss-files-hosts-getent): Link with -ldl.
9414 2018-07-06 Florian Weimer <fweimer@redhat.com>
9416 * include/stdio.h (__libc_readline_unlocked): Declare.
9417 (__ftello64, __fseeko64): Declare aliases.
9418 * libio/readline.c: New file.
9419 * libio/tst-readline.c: Likewise.
9420 (routines): Add readline.
9421 (tests-internal): Add tst-readlime.
9422 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9423 __libc_readline_unlocked.
9424 * libio/fseeko.c (__fseeko): Rename from fseeko.
9425 (fseeko): Add alias.
9426 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9427 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9428 (fseeko64): Add alias.
9429 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9430 * libio/ftello64.c (__ftello64): Rename from ftello64.
9431 (ftello64): Add alias.
9433 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9435 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9438 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9440 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9441 Use dl_hwcap without masking.
9442 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9445 2018-07-06 Florian Weimer <fweimer@redhat.com>
9447 * conform/conformtest.pl (checknamespace): Escape literal braces
9448 in regular expressions.
9450 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9452 * sysdeps/x86/cpu-features.c (get_common_indeces):
9453 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9454 * sysdeps/x86/cpu-features.c (init_cpu_features):
9455 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9457 2018-07-05 Florian Weimer <fweimer@redhat.com>
9459 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9461 (CFLAGS-elf-init.oS): Likewise.
9463 2018-07-05 Florian Weimer <fweimer@redhat.com>
9464 Carlos O'Donell <carlos@redhat.com>
9466 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9467 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9468 with stack protector enabled because there is no risk of infinite
9471 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9475 * libc-abis (ABSOLUTE): New ABI.
9476 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9477 * NEWS: Mention the new ABI.
9479 2018-07-05 Florian Weimer <fweimer@redhat.com>
9482 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9483 (RENAME_WHITEOUT): Define.
9484 [__USE_GNU] (renameat2): Declare.
9485 * stdio-common/Makefile (routines): Add renameat2.
9486 (tests): Add tst-renameat2.
9487 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9488 * stdio-common/renameat2.c: New file.
9489 * stdio-common/tst-renameat2.c: Likewise.
9490 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9491 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9493 * sysdeps/unix/sysv/linux/kernel-features.h
9494 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9496 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9498 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9499 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9500 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9501 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9502 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9503 * include/stdio.h (__renameat): Add alias for renameat.
9504 * stdio-common/renameat.c (__renameat): Rename from renameat.
9505 Add hidden definition and alias.
9506 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9507 * sysdeps/mach/hurd/renameat.c: Likewise.
9508 * sysdeps/**/libc*.abilist: Add renameat2.
9510 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9512 * posix/bug-regex33.c: Fix build after regex sync.
9514 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9517 * localedata/tst-langinfo-setlocale.c: New file.
9518 * localedata/tst-langinfo-setlocale-static.c: New file.
9519 * localedata/tst-langinfo-newlocale.c: New file.
9520 * localedata/tst-langinfo-newlocale-static.c: New file.
9521 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9522 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9523 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9524 (tests-static): Remove tst-langinfo-static. Add
9525 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9526 (tests-special): Remove $(objpfx)tst-langinfo.out,
9527 $(objpfx)tst-langinfo-static.out. Add
9528 $(objpfx)tst-langinfo-setlocale.out,
9529 $(objpfx)tst-langinfo-newlocale.out,
9530 $(objpfx)tst-langinfo-setlocale-static.out,
9531 $(objpfx)tst-langinfo-newlocale-static.out.
9532 ($(objpfx)tst-langinfo.out): Remove.
9533 ($(objpfx)tst-langinfo-static.out): Remove.
9534 ($(objpfx)tst-langinfo-newlocale.out): New target.
9535 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9536 (test-xfail-tst-langinfo-newlocale-static): Add.
9537 ($(objpfx)tst-langinfo-setlocale.out): New target.
9538 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9539 * localedata/tst-langinfo.c: Call test_locale.
9540 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9543 2018-07-04 Florian Weimer <fweimer@redhat.com>
9545 testrun.sh: Implement --tool=strace, --tool=valgrind
9546 * Makefile (testrun-script): Define variable.
9547 (testrun.sh): Use variable.
9548 * manual/install.texi (Tools for Compilation): make 4.0 or later
9550 * configure.ac: Check for make 4.0 or later.
9551 * INSTALL: Regenerate.
9552 * configure: Likewise.
9554 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9560 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9561 * posix/PCRE.tests: Remove invalid test.
9562 * posix/bug-regex28.c: Fix expected values for used syntax.
9563 * posix/bug-regex37.c: New file.
9564 * posix/bug-regex38.c: Likewise.
9565 * posix/regcomp.c: Sync with gnulib.
9566 * posix/regex.c: Likewise.
9567 * posix/regex.h: Likewise.
9568 * posix/regex_internal.c: Likewise.
9569 * posix/regex_internal.h: Likewise.
9570 * posix/regexec.c: Likewise.
9572 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9575 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9576 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9577 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9578 * localedata/unicode-gen/PropList.txt: likewise.
9579 * localedata/unicode-gen/UnicodeData.txt: likewise.
9580 * localedata/charmaps/UTF-8: Regenerate.
9581 * localedata/locales/i18n_ctype: likewise.
9582 * localedata/locales/tr_TR: likewise.
9583 * localedata/locales/translit_circle: likewise.
9584 * localedata/locales/translit_cjk_compat: likewise.
9585 * localedata/locales/translit_combining: likewise.
9586 * localedata/locales/translit_compat: likewise.
9587 * localedata/locales/translit_font: likewise.
9588 * localedata/locales/translit_fraction: likewise.
9590 2018-07-03 Florian Weimer <fweimer@redhat.com>
9593 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9594 * stdio-common/tst-printf.sh: Adjust expected output.
9597 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9599 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9602 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9604 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9605 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9606 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9607 * stdio-common/tst-printfsz-islongdouble.c: New file.
9608 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9610 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9611 [subdir == stdio-common] (tests-internal): Add
9612 test-printf-size-ieee128, and test-printf-size-ibm128.
9613 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9614 (CFLAGS-test-printf-size-ibm128.c): New variables.
9615 [subdir == stdio-common] (tests-special): Add
9616 $(objpfx)test-printf-size-ieee128.out and
9617 $(objpfx)test-printf-size-ibm128.out.
9618 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9619 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9620 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9621 __printf_sizeieee128.
9622 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9624 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9626 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9629 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9631 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9632 (exp2f_inline): Likewise.
9633 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9634 (__math_uflowf): Likewise.
9635 (__math_may_uflowf): Likewise.
9636 (__math_divzerof): Likewise.
9637 (__math_invalidf): Likewise.
9638 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9639 (__math_oflowf): Likewise.
9640 (__math_uflowf): Likewise.
9641 (__math_may_uflowf): Likewise.
9642 (__math_divzerof): Likewise.
9643 (__math_invalidf): Likewise.
9645 2018-06-29 DJ Delorie <dj@redhat.com>
9646 Carlos O'Donell <carlos@redhat.com>
9649 * include/libc-symbols.h: Comment the freeres framework.
9650 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9651 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9652 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9653 * dlfcn/dlerror.c: Include libc-symbols.h
9654 (__dlerror_main_freeres): New function.
9655 * dlfcn/dlfreeres.c: New file.
9656 * dlfcn/sdlfreeres.c: New file.
9657 * include/dlfcn.h: Declare __dlerror_main_freeres.
9658 * malloc/set-freeres.c: Declare __libdl_freeres, and
9659 __libpthread_freeres.
9660 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9661 the releavant libraries are loaded.
9662 * malloc/thread-freeres.c: Add comments.
9663 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9664 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9665 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9666 (__free_stacks): Rename to...
9667 (free_stacks): ...this. Mark static.
9668 (queue_stack): Call free_stacks.
9669 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9670 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9671 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9672 ptr_freeres element from struct.
9673 (pthread_functions): Remove .ptr_freeres from struct initializer.
9674 [SHARED] (nptl_freeres): Remove.
9675 * nptl/nptlfreeres.c: New file.
9677 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9678 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9680 (__free_stacks): Rename to...
9681 (__nptl_stacks_freeres): ...this.
9682 (__shm_directory_freeres): Declare.
9683 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9684 (__nptl_unwind_freeres): ...this.
9685 * resolv/res-close.c: Add comment.
9686 * resolv/resolv_conf.c: Include libc-symbols.h.
9687 * string/strerror_l.c: Include libc-symbols.h.
9688 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9689 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9690 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9691 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9693 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9695 * stdlib/tst-strfmon_l.c: Add tests for long double.
9697 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9700 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9701 * localedata/locales/dsb_DE: New file.
9703 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9706 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9708 (alt_mon): New entry, import from CLDR (nominative case).
9710 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9713 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9715 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9717 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9718 Use vector registers.
9720 * sysdeps/aarch64/multiarch/memmove_falkor.S
9721 (__memcpy_falkor): Use vector registers.
9723 2018-06-29 Martin Sebor <msebor@redhat.com>
9725 * manual/stdio.texi (Customizing Printf): Mention interaction
9728 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9731 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9732 `st_value' is 0 if `st_shndx' is SHN_ABS.
9733 * elf/tst-absolute-zero.c: New file.
9734 * elf/tst-absolute-zero-lib.c: New file.
9735 * elf/tst-absolute-zero-lib.lds: New file.
9736 * elf/Makefile (tests): Add `tst-absolute-zero'.
9737 (modules-names): Add `tst-absolute-zero-lib'.
9738 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9739 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9740 ($(objpfx)tst-absolute-zero: New dependency.
9742 2018-06-29 Zack Weinberg <zackw@panix.com>
9744 * configure.ac: New command-line option --disable-crypt.
9745 Force --disable-nss-crypt when --disable-crypt is given, with a
9746 warning if it was explicitly enabled.
9747 * configure: Regenerate.
9748 * config.make.in: New boolean substitution variable $(build-crypt).
9749 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9750 when $(build-crypt).
9751 * manual/install.texi: Document --disable-crypt.
9752 * INSTALL: Regenerate.
9754 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9756 * conform/Makefile: Only include libcrypt.a in
9757 linknamespace-libs-xsi and linknamespace-libs-XPG4
9758 when $(build-crypt).
9759 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9760 USE_CRYPT to 1 when $(build-crypt).
9761 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9762 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9763 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9765 2018-06-29 Zack Weinberg <zackw@panix.com>
9767 * crypt/crypt.h, posix/unistd.h: Update comments and
9768 prototypes for crypt and crypt_r.
9770 * manual/crypt.texi (Cryptographic Functions): New initial
9772 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9773 (Unpredictable Bytes): Improve initial exposition. Clarify error
9774 behavior of getentropy and getrandom.
9775 * manual/examples/genpass.c: Generate a salt using getentropy
9776 instead of the current time. Use hash $5$ (SHA-2-256).
9777 * manual/examples/testpass.c: Demonstrate validation against
9778 hashes generated with three different one-way functions.
9780 * manual/intro.texi: crypt.texi does not need an overview
9783 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9784 * manual/terminal.texi: Consistently refer to "passphrases"
9785 * instead of "passwords", and to the "user database" instead
9786 * of the "password database".
9787 * manual/users.texi: Similarly. Add notes about how actual
9788 passphrase hashes are now stored in the shadow database.
9789 Remove 20-year-old junk todo note.
9791 2018-06-29 Zack Weinberg <zackw@panix.com>
9793 * manual/crypt.texi: Use a normal top-level @node declaration.
9794 Move most of the introductory text to the 'crypt' section.
9795 Move the example programs below the @deftypefun for 'crypt_r'.
9796 Move the 'getpass' section...
9797 * manual/terminal.texi: ...here.
9799 2018-06-29 Zack Weinberg <zackw@panix.com>
9800 Florian Weimer <fweimer@redhat.com>
9802 * posix/unistd.h: Do not declare encrypt.
9803 (_XOPEN_CRYPT): Remove macro definition.
9804 (crypt): Declare only for _USE_MISC.
9805 * stdlib/stdlib.h: Do not declare setkey.
9806 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9807 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9809 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9810 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9811 into compat symbols. Don't define initial_perm if it's not
9813 * crypt/cert.c: Link explicitly with the expected versions for
9814 setkey and encrypt. If they are not available at all, mark
9815 the test as unsupported.
9817 * sunrpc/des_crypt.c: Unconditionally block linkage with
9818 cbc_crypt and ecb_crypt for new binaries.
9819 * sunrpc/des_soft.c: Unconditionally block linkage with
9820 des_setparity for new binaries.
9822 * manual/crypt.texi: Remove the entire "DES Encryption"
9823 section. Also remove the paragraph talking about FIPS 140-2
9824 from the introduction.
9825 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9826 of libgcrypt for "real" encryption, not DES.
9827 * manual/conf.texi (Constants for Sysconf): Mention that
9828 _XOPEN_CRYPT is no longer impelemented.
9830 * conform/data/unistd.h-data: Remove crypt function declaration.
9832 2018-06-29 Florian Weimer <fweimer@redhat.com>
9835 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9836 (disallow_malloc_check): Remove variable.
9837 (__malloc_check_init): Adjust.
9838 (malloc_set_state): Update comment.
9839 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9842 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9845 * localedata/locales/ast_ES (mon): Rename to...
9847 (mon): Import from CLDR (genitive case).
9849 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9850 Jakub Sitnicki <jkbs@redhat.com>
9853 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9856 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9858 * manual/llio.texi: Remove spurious space.
9860 2018-06-28 Florian Weimer <fweimer@redhat.com>
9863 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9866 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9868 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9869 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9870 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9871 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9872 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9873 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9874 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9876 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9879 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9880 Copy and null-terminate entries that are not terminated, in
9881 addition to empty ones.
9883 2018-06-27 Florian Weimer <fweimer@redhat.com>
9886 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9887 (extend_alloca_account): Remove.
9888 * manual/stdio.texi (Variable Arguments Output): Update comment.
9890 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9892 * nptl/sockperf.c: Remove file.
9894 2018-06-27 Florian Weimer <fweimer@redhat.com>
9897 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9898 scratch_buffer instead of extend_alloca.
9900 2018-06-27 Florian Weimer <fweimer@redhat.com>
9903 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9904 scratch_buffer instead of extend_alloca. Update comments.
9906 2018-06-27 Florian Weimer <fweimer@redhat.com>
9909 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9910 instead of extend_alloca.
9912 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9915 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9916 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9918 * scripts/test-installation.pl: Put temporary files in build
9919 directory, not /tmp.
9920 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9921 (CFLAGS-bug4.c): Likewise.
9922 (CFLAGS-bug5.c): Likewise.
9923 (CFLAGS-test-fseek.c): Likewise.
9924 (CFLAGS-test-popen.c): Likewise.
9925 (CFLAGS-test_rdwr.c): Likewise.
9926 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9928 * stdio-common/bug4.c (main): Likewise.
9929 * stdio-common/bug5.c (main): Likewise.
9930 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9931 * stdio-common/test-popen.c (do_test): Likewise.
9932 * stdio-common/test_rdwr.c (main): Likewise.
9934 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9936 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9937 (sem_open): Set sem.newsem.pad to zero for valgrind.
9939 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9942 * NEWS: Mention fcntl64 addition.
9943 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9944 * login/utmp_file.c: Likewise.
9945 * sysdeps/posix/fdopendir.c: Likewise.
9946 * sysdeps/posix/opendir.c: Likewise.
9947 * sysdeps/unix/pt-fcntl.c: Likewise.
9948 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9949 __fcntl64_nocancel_adjusted): New prototype.
9950 (__fcntl_nocancel_adjusted): Remove prototype.
9951 * io/Makefile (routines): Add fcntl64.
9952 (CFLAGS-fcntl64.c): New rule.
9953 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9954 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9955 * io/fcntl.h (fcntl64): Add prototype and redirect if
9956 __USE_FILE_OFFSET64 is defined.
9957 * io/fcntl64.c: New file.
9958 * manual/llio.text: Add a note for which commands fcntl acts a
9960 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9961 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9962 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9964 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9965 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9967 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9968 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9969 to __fcntl64_nocancel.
9970 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9971 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9972 to __fcntl64_nocancel.
9973 * sysdeps/generic/not-cancel.h: Likewise.
9974 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9975 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9976 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9977 (fcntl64): New symbol.
9978 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9979 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9980 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9983 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9985 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9986 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9987 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9988 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9990 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9991 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9992 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9993 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9994 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9995 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9996 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9997 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9998 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10003 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10004 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10007 2018-06-26 Florian Weimer <fweimer@redhat.com>
10009 Run thread shutdown functions in an explicit order.
10010 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10012 (__libc_thread_freeres): Call thread shutdown functions
10014 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10015 * include/string.h (__strerror_thread_freeres): Declare.
10016 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10017 arena_thread_freeres. No longer static. Remove thread shutdown
10019 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10021 * resolv/res-close.c (__res_thread_freeres): Renamed from
10022 res_thread_freeres. No longer static. Remove thread shutdown
10024 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10025 * resolv/resolv_conf.c (freeres): Remove incorrect section
10026 attribute and use libc_freeres_fn.
10027 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10028 strerror_thread_freeres. No longer static. Remove thread
10029 shutdown hook registration.
10030 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10031 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10032 shutdown hook registration.
10033 * Makerules (shlib.lds): Do not provide section boundary symbols
10034 for __libc_thread_subfreeres.
10035 * manual/memory.texi (Basic Allocation): Update comment.
10037 2018-06-26 Florian Weimer <fweimer@redhat.com>
10039 Remove always-defined _RPC_THREAD_SAFE_ macro.
10040 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10041 Do not define _RPC_THREAD_SAFE_.
10042 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10044 * sunrpc/clnt_perr.c: Likewise.
10045 * sunrpc/clnt_raw.c: Likewise.
10046 * sunrpc/clnt_simp.c: Likewise.
10047 * sunrpc/key_call.c: Likewise.
10048 * sunrpc/rpc_common.c: Likewise.
10049 * sunrpc/rpc_main.c: Likewise.
10050 * sunrpc/rpc_thread.c: Likewise.
10051 * sunrpc/svc.c: Likewise.
10052 * sunrpc/svc_raw.c: Likewise.
10053 * sunrpc/svc_simple.c: Likewise.
10054 * sumrpc/svcauth_des.c: Likewise.
10056 2018-06-26 Florian Weimer <fweimer@redhat.com>
10058 * libio/Makefile (tests-internal): Add tst-vtables,
10059 tst-vtables-interposed.
10060 * libio/tst-vtables.c: New file.
10061 * libio/tst-vtables-common.c: Likewise.
10062 * libio/tst-vtables-interposed.c: Likewise.
10064 2018-06-26 Florian Weimer <fweimer@redhat.com>
10066 * support/support_test_main.c (support_test_main): Only call
10067 setvbuf if not disables.
10068 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10069 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10071 2018-06-26 Florian Weimer <fweimer@redhat.com>
10074 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10076 2018-06-25 Florian Weimer <fweimer@redhat.com>
10079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10080 Use struct scratch_buffer instead of extend_alloca.
10082 2018-06-25 Florian Weimer <fweimer@redhat.com>
10085 * nss/getent.c (initgroups_keys): Use dynarray instead of
10088 2018-06-25 Florian Weimer <fweimer@redhat.com>
10091 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10092 Use struct scratch_buffer instead of extend_alloca.
10094 2018-06-25 Florian Weimer <fweimer@redhat.com>
10097 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10098 back to malloc directly, without stack allocations.
10100 2018-06-25 Florian Weimer <fweimer@redhat.com>
10103 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10106 2018-06-25 Florian Weimer <fweimer@redhat.com>
10109 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10111 * nscd/hstcache.c (addhstbyX): Likewise.
10112 * nscd/pwdcache.c (addpwbyX): Likewise.
10113 * nscd/servicescache.c (addservbyX): Likewise.
10115 2018-06-25 Florian Weimer <fweimer@redhat.com>
10118 * nscd/connections.c (read_cmdline): New function.
10119 (restart): Use it. Update comment.
10121 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10124 * localedata/locales/csb_PL (mon): Rename to...
10126 (abmon): Rename to...
10127 (ab_alt_mon): This.
10128 (mon): Add with proper genitive forms, copy from Wikipedia.
10131 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10134 * localedata/locales/csb_PL (mon): Fix typos:
10135 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10136 (yesstr): Add, value is "jo".
10137 (nostr): Add, value is "nié".
10139 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10141 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10142 all log1p and significand functions on m680x0.
10143 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10144 of s_significand.c..
10145 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10146 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10147 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10148 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10149 s_log1p.c and include it..
10151 2018-06-21 Vincent Chen <vincentc@andestech.com>
10153 * elf/elf.h (R_NDS32_NONE): New define.
10154 (R_NDS32_32_RELA): Likewise.
10155 (R_NDS32_COPY): Likewise.
10156 (R_NDS32_GLOB_DAT): Likewise.
10157 (R_NDS32_JUMP_SLOT): Likewise.
10158 (R_NDS32_RELATIVE): Likewise.
10159 (R_NDS32_TLS_TPOFF): Likewise.
10160 (R_NDS32_TLS_DESC): Likewise.
10162 2018-06-21 Mark Wielaard <mark@klomp.org>
10164 * elf/elf.h (R_BPF_MAP_FD): Removed.
10165 (R_BPF_64_64, R_BPF_64_32): New.
10167 2018-06-21 Florian Weimer <fweimer@redhat.com>
10170 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10171 Renamed from libc_feholdsetround_ctx.
10172 (default_libc_feresetround_ctx): Renamed from
10173 libc_feresetround_ctx.
10174 (default_libc_feholdsetround_noex_ctx): Renamed from
10175 libc_feholdsetround_noex_ctx.
10176 (default_libc_feresetround_noex_ctx): Renamed from
10177 libc_feresetround_noex_ctx.
10178 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10179 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10180 forwardning to the old implementations under the new names.
10181 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10182 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10183 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10184 (libc_feresetround_ctx): Forward to default implements for i386
10185 and MATH_SET_BOTH_ROUNDING_MODES.
10186 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10187 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10189 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10191 * string/tst-cmp.c: Include <libc-diag.h>.
10192 (strncmp_max): Disable -Wstringop-overflow= around call to
10194 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10197 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10198 (main): Disable -Wunused-value around call to strpbrk.
10199 * string/bug-strspn1.c: Include <libc-diag.h>.
10200 (main): Disable -Wunused-value around call to strspn.
10202 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10203 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10205 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10206 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10208 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10210 * math/Makefile (libm-calls): Move s_significandF to...
10211 (gen-libm-calls): ... here.
10212 * math/s_significand_template.c: New file.
10213 * math/s_significand.c: Removed.
10214 * math/s_significandf.c: Removed.
10215 * math/s_significandl.c: Removed.
10216 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10217 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10219 * math/e_exp2_template.c (declare_mgen_finite_alias,
10220 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10221 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10222 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10224 2018-06-20 Florian Weimer <fweimer@redhat.com>
10226 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10228 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10232 floating-point number to strtod functions rather than possibly
10233 negating result of those functions.
10234 * stdio-common/tst-scanf-round.c: New file.
10235 * stdio-common/Makefile (tests): Add tst-scanf-round.
10236 ($(objpfx)tst-scanf-round): Depend on $(libm).
10238 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10240 * sysdeps/mach/hurd/localplt.data: Move to...
10241 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10242 R_386_GLOB_DAT like on Linux i386.
10244 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10246 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10247 (SHM_STAT_ANY): New macro.
10248 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10249 (SHM_STAT_ANY): Likewise.
10250 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10251 (SHM_STAT_ANY): Likewise.
10252 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10253 (SHM_STAT_ANY): Likewise.
10254 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10255 (SHM_STAT_ANY): Likewise.
10256 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10257 (SHM_STAT_ANY): Likewise.
10258 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10259 (SHM_STAT_ANY): Likewise.
10260 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10261 (SHM_STAT_ANY): Likewise.
10262 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10263 (SHM_STAT_ANY): Likewise.
10264 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10265 (SHM_STAT_ANY): Likewise.
10266 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10267 (SHM_STAT_ANY): Likewise.
10268 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10269 (SHM_STAT_ANY): Likewise.
10271 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10272 (SEM_STAT_ANY): New macro.
10273 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10274 (SEM_STAT_ANY): Likewise.
10275 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10276 (SEM_STAT_ANY): Likewise.
10277 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10278 (SEM_STAT_ANY): Likewise.
10279 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10280 (SEM_STAT_ANY): Likewise.
10281 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10282 (SEM_STAT_ANY): Likewise.
10283 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10284 (SEM_STAT_ANY): Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10286 (SEM_STAT_ANY): Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10288 (SEM_STAT_ANY): Likewise.
10289 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10290 (SEM_STAT_ANY): Likewise.
10292 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10293 (MSG_STAT_ANY): New macro.
10294 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10295 (MSG_STAT_ANY): Likewise.
10296 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10297 (MSG_STAT_ANY): Likewise.
10298 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10299 (MSG_STAT_ANY): Likewise.
10300 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10301 (MSG_STAT_ANY): Likewise.
10302 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10303 (MSG_STAT_ANY): Likewise.
10304 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10305 (MSG_STAT_ANY): Likewise.
10306 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10307 (MSG_STAT_ANY): Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10309 (MSG_STAT_ANY): Likewise.
10310 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10311 (MSG_STAT_ANY): Likewise.
10313 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10314 (MAP_TYPE): Change value to 0x2b.
10316 2018-06-18 Florian Weimer <fweimer@redhat.com>
10319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10320 socket with SOCK_CLOEXEC.
10322 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10325 * sysdeps/powerpc/powerpc64/le/Makefile
10326 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10327 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10328 (gnulib-tests): Also add $(f128-loader-link) for
10329 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10331 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10333 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10334 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10336 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10337 (sendfile64): New strong alias.
10338 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10339 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10340 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10341 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10343 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10344 ___pthread_get_cleanup_stack.
10345 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10346 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10347 * mach/shortcut.awk: Make syscall stubs include
10348 <mach-shortcuts-hidden.h> and add hidden definition.
10349 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10350 (__mach_msg): Add hidden prototype.
10351 * mach/msg.c: Include <mach.h>.
10352 (__mach_msg): Add hidden definition.
10353 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10354 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10355 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10356 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10357 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10358 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10359 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10360 prototype and definition.
10361 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10362 hidden target for _hurd_self_sigstate.
10364 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10367 * stdlib/tst-strtod-nan-sign-main.c: New file.
10368 * stdlib/tst-strtod-nan-sign.c: Likewise.
10369 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10370 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10371 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10372 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10373 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10375 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10381 2018-06-14 Florian Weimer <fweimer@redhat.com>
10384 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10385 that the result stays within the ISO-8859-1 range.
10386 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10387 characters are defined in IBM273.
10389 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10391 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10392 __mach_task_self): Remove attribute_hidden.
10394 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10396 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10397 ignore -Wrestrict for one test.
10399 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10400 Szabolcs Nagy <szabolcs.nagy@arm.com>
10402 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10404 2018-06-14 Florian Weimer <fweimer@redhat.com>
10406 * scripts/update-abilist.sh: Accept empty list of files to patch.
10408 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10410 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10411 test-xfail-check-abi-libmachuser): Add.
10412 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10413 __libc_read and __libc_write to __read and __write.
10414 * sysdeps/hurd/include/hurd/port.h: New file.
10415 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10416 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10417 __thread_switch, __evc_wait): Move declarations to...
10418 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10420 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10421 use PLT to call _hurd_self_sigstate.
10423 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10426 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10427 MAX_EXP as overflowing.
10428 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10430 (round_str): Output also whether result overflows in each rounding
10432 * stdlib/tst-strtod-round-data: Add more tests.
10433 * stdlib/tst-strtod-round-data.h: Regenerated.
10434 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10435 (TEST): Handle extra arguments for overflow flags.
10436 (struct test_overflow): New type.
10437 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10438 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10439 (test_in_one_mode): Take argument with overflow information.
10440 (do_test): Update calls to test_in_one_mode.
10442 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10444 * elf/dl-load (_dl_dst_substitute): Correct comment.
10445 (_dl_dst_count): Likewise.
10447 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10448 lll_futex_timed_wait.
10450 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10453 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10455 * math/test-nan-const.c: New file.
10456 * math/Makefile (tests): Add test-nan-const.
10457 (CFLAGS-test-nan-const.c): New variable.
10459 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10461 * benchtests/scripts/compare_strings.py (process_results): Add
10462 funcs argument. Compare only functions which are selected.
10463 (main): Check if base function is among selected functions.
10464 Pass selected functions to process_results.
10465 (__main__): Add -f/--functions argument.
10467 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10468 Hongbo Zhang <hongbo.zhang@linaro.org>
10470 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10471 __memcpy_falkor for phecda core.
10472 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10473 __memmove_falkor for phecda core.
10474 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10475 __memset_falkor for phecda core.
10476 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10478 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10479 macro to identify phecda core.
10481 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10482 Andreas Schwab <schwab@suse.de>
10483 Dmitry V. Levin <ldv@altlinux.org>
10484 Florian Weimer <fweimer@redhat.com>
10491 * elf/dl-dst.h: Remove DL_DST_COUNT.
10492 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10493 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10494 (is_dst): Comment. Support ELF gABI.
10495 (_dl_dst_count): Comment. Simplify and count DSTs.
10496 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10497 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10500 2018-06-12 Zack Weinberg <zackw@panix.com>
10502 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10503 * sysdeps/unix/sysv/linux/dl-sysdep.c
10504 Include not-cancel.h. Use __close_nocancel instead of __close,
10505 __open64_nocancel instead of __open, __read_nocancel instead of
10506 __libc_read, and __write_nocancel instead of __libc_write.
10508 * csu/check_fds.c (check_one_fd)
10509 * sysdeps/posix/fdopendir.c (__fdopendir)
10510 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10511 instead of __fcntl and/or __libc_fcntl.
10513 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10514 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10515 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10516 Use __open64_nocancel instead of __open_nocancel.
10518 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10519 hidden_proto declarations to the end and issue them if either
10520 IS_IN(libc) or IS_IN(rtld).
10521 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10522 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10523 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10524 read_nocancel, waitpid_nocancel, write_nocancel.
10526 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10527 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10528 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10530 * nptl/pt-fcntl.c: New file.
10531 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10532 (libpthread-routines): Add pt-fcntl.
10533 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10534 (__libc_fcntl): Remove attribute_hidden.
10535 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10536 __fcntl_nocancel_adjusted, not fcntl_common.
10537 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10538 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10539 to fcntl_nocancel.c.
10540 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10543 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10545 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10546 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10547 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10548 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10549 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10550 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10551 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10552 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10553 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10554 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10555 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10556 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10557 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10558 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10559 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10560 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10561 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10562 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10563 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10564 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10566 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10567 libpthread-routines.
10568 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10571 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10572 __libc_read, and __write instead of __libc_write. Define
10573 __open64 in addition to __open.
10575 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10579 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10580 to _private_tm[3] and add __glibc_reserved2.
10581 Add _Static_assert of offset of __private_ss == 0x30.
10582 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10583 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10585 2018-06-12 Florian Weimer <fweimer@redhat.com>
10587 x86: Make strncmp usable from rtld.
10588 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10589 __strncmp_ia32 if in libc (and not in rtld).
10590 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10591 strncmp if not in libc (and not to __strncmp_sse2).
10593 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10596 * localedata/locales/gd_GB (mon): Rename to...
10598 (mon): Import from CLDR (genitive case).
10599 * localedata/locales/hsb_DE (mon): Rename to...
10601 (mon): Import from CLDR (genitive case).
10602 * localedata/locales/wa_BE (mon): Rename to...
10604 (mon): Add, fill with the proper genitive forms, but CLDR data
10605 is incomplete; completed according to the comments in this file.
10606 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10608 * localedata/locales/wa_BE (country_name): Reword
10609 "Beljike" -> "Beldjike".
10611 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10614 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10615 cases of non-finite arguments.
10616 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10618 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10621 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10623 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10626 * include/unistd.h (__execvpex): New prototype.
10627 * posix/Makefile (tests): Add tst-spawn4.
10628 (tests-internal): Add tst-spawn4-compat.
10629 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10630 * posix/tst-spawn4-compat.c: New file.
10631 * posix/tst-spawn4.c: Likewise.
10632 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10633 binaries as shell scripts.
10634 * sysdeps/posix/spawni.c (__spawni): Likewise.
10636 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10639 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10640 ($(all-built-dso:=.dynsym): New target.
10641 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10642 ($(objpfx)check-initfini.out): New target.
10643 (generated): Add check-initfini.out.
10644 * scripts/check-initfini.awk: New file.
10645 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10647 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10649 * sysdeps/arm/crti.S (_init): Mark as hidden.
10651 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10653 * sysdeps/i386/crti.S (_init): Mark as hidden.
10655 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10657 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10659 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10661 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10663 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10665 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10667 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10669 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10671 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10673 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10675 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10677 * sysdeps/sh/crti.S (_init): Mark as hidden.
10679 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10681 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10684 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10686 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10687 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10688 and TF redirection to KFtype and KF only when the default
10689 long double type is not the IEEE 128-bit floating point type.
10691 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10693 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10695 (HWCAP_USCAT): Likewise.
10696 (HWCAP_ILRCPC): Likewise.
10697 (HWCAP_FLAGM): Likewise.
10698 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10700 (_dl_aarch64_cap_flags): Add new flag names.
10702 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10703 (MAP_FIXED_NOREPLACE): New macro.
10704 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10705 (MAP_FIXED_NOREPLACE): Likewise.
10706 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10707 (MAP_FIXED_NOREPLACE): Likewise.
10708 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10709 (MAP_FIXED_NOREPLACE): Likewise.
10710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10711 (MAP_FIXED_NOREPLACE): Likewise.
10712 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10713 (MAP_FIXED_NOREPLACE): Likewise.
10714 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10715 (MAP_FIXED_NOREPLACE): Likewise.
10716 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10717 (MAP_FIXED_NOREPLACE): Likewise.
10718 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10719 (MAP_FIXED_NOREPLACE): Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10721 (MAP_FIXED_NOREPLACE): Likewise.
10722 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10723 (MAP_FIXED_NOREPLACE): Likewise.
10724 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10725 (MAP_FIXED_NOREPLACE): Likewise.
10726 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10727 (MAP_FIXED_NOREPLACE): Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10729 (MAP_FIXED_NOREPLACE): Likewise.
10730 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10731 (MAP_FIXED_NOREPLACE): Likewise.
10733 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10736 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10738 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10741 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10743 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10745 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10747 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10749 * benchtests/scripts/compare_string.py: (process_results) Catch
10750 exception in non-existent base_func and catch exception in
10751 non-existent attribute.
10752 (parse_file) Catch exception if input file does not exist.
10754 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10756 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10757 options to avoid diff calculation and omit header, respectively.
10758 (main): process --no-diff and --no-header
10760 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10761 H.J. Lu <hongjiu.lu@intel.com>
10763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10764 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10767 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10768 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10769 and __wcsncmp_sse2.
10770 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10771 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10772 AVX unaligned load is fast and vzeroupper is preferred.
10773 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10774 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10775 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10776 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10777 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10778 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10779 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10780 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10781 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10782 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10785 2018-06-01 Florian Weimer <fweimer@redhat.com>
10787 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10788 configuring with --disable-multi-arch, building with
10789 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10792 2018-06-01 Florian Weimer <fweimer@redhat.com>
10794 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10795 results from building with “-march=x86-64 -mtune=generic
10796 -mfpmath=sse” and running on a Haswell-era CPU.
10798 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10801 * soft-fp/sqrttf2.c: Remove file.
10802 * soft-fp/sqrtdf2.c: Move to ....
10803 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10805 (__sqrtdf2): Make conditional on
10806 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10808 * soft-fp/sqrtsf2.c: Move to ....
10809 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10811 (__sqrtsf2): Make conditional on
10812 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10814 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10815 (gcc-double-routines): Remove sqrtdf2.
10816 (gcc-quad-routines): Remove sqrttf2.
10817 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10818 Do not filter out sqrtsf2 and sqrtdf2.
10819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10820 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10822 2018-06-01 Florian Weimer <fweimer@redhat.com>
10824 * sysdeps/generic/libcidn.abilist: Remove file.
10826 2018-06-01 Florian Weimer <fweimer@redhat.com>
10829 * libio/strfile.h (struct _IO_str_fields): Rename members to
10830 discourage their use and add comment.
10831 (_IO_STR_DYNAMIC): Remove unused macro.
10832 * libio/strops.c (_IO_str_init_static_internal): Do not use
10833 callback pointers. Call malloc and free.
10834 (_IO_str_overflow): Do not use callback pointers. Call malloc
10836 (enlarge_userbuf): Likewise.
10837 (_IO_str_finish): Call free.
10838 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10839 _allocate_buffer_unused.
10840 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10842 (enlarge_userbuf): Likewise.
10843 (_IO_wstr_finish): Call free.
10844 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10845 _allocate_buffer_unused, _free_buffer_unused.
10846 * libio/memstream.c (__open_memstream): Likewise.
10847 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10848 * libio/wmemstream.c (open_wmemstream): Likewise.
10850 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10852 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10855 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10857 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10858 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10859 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10861 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10863 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10865 2018-05-29 Florian Weimer <fweimer@redhat.com>
10867 * support/Makefile (libsupport-routines): Add
10868 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10869 xpthread_barrierattr_setpshared.
10870 * support/xpthread_barrierattr_destroy.c: New file.
10871 * support/xpthread_barrierattr_init.c: Likewise.
10872 * support/xpthread_barrierattr_setpshared.c: Likewise.
10874 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10877 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10878 _r_debug and update DT_DEBUG for debugger.
10880 2018-05-29 Florian Weimer <fweimer@redhat.com>
10882 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10883 (tst-strtod5i.out): Likewise.
10885 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10887 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10888 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10889 (sparc64-quad-routines): New variable. Moved from ....
10890 [$(subdir) = soft-fp] (sysdep_routines): Add
10891 $(sparc64-quad-routines). Moved from ....
10892 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10893 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10894 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10896 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10897 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10898 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10899 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10900 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10901 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10902 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10903 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10904 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10905 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10906 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10907 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10908 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10909 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10910 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10911 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10912 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10913 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10914 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10915 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10916 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10917 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10918 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10919 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10920 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10921 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10922 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10923 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10924 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10925 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10926 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10927 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10929 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10930 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10931 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10932 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10933 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10935 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10936 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10937 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10938 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10939 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10940 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10941 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10942 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10943 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10944 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10945 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10946 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10947 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10948 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10949 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10950 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10951 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10953 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10955 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10956 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10957 (sparc32-quad-routines): New variable. Moved from ....
10958 [$(subdir) = soft-fp] (sysdep_routines): Add
10959 $(sparc32-quad-routines). Moved from ....
10960 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10961 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10963 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10964 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10965 * sysdeps/sparc/sparc32/q_add.c: ... here.
10966 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10967 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10968 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10969 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10970 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10971 * sysdeps/sparc/sparc32/q_div.c: ... here.
10972 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10973 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10974 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10975 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10976 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10977 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10978 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10979 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10980 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10981 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10982 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10983 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10984 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10985 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10986 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10987 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10988 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10989 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10990 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10991 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10992 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10993 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10994 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10995 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10996 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10997 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10998 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10999 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11000 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11001 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11002 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11003 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11004 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11005 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11006 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11007 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11008 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11009 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11010 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11011 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11012 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11013 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11014 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11015 * sysdeps/sparc/sparc32/q_util.c: ... here.
11016 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11017 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11018 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11019 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11021 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11022 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11024 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11025 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11026 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11027 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11029 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11035 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11036 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11038 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11041 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11044 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11046 * sysdeps/sh/Implies: Remove sh/soft-fp.
11047 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11048 * sysdeps/sh/sfp-machine.h: ... here.
11050 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11052 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11053 (__mempcpy_erms): Skip zero length.
11054 (__memmove_erms): Likewise.
11055 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11056 (__memset_erms): Likewise.
11058 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11060 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11061 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11062 Add functions moved from ....
11063 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11064 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11065 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11067 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11068 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11069 * sysdeps/alpha/e_sqrtl.c: ... here.
11070 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11071 * sysdeps/alpha/local-soft-fp.h: ... here.
11072 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11073 * sysdeps/alpha/ots_add.c: ... here.
11074 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11075 * sysdeps/alpha/ots_cmp.c: ... here.
11076 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11077 * sysdeps/alpha/ots_cmpe.c: ... here.
11078 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11079 * sysdeps/alpha/ots_cvtqux.c: ... here.
11080 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11081 * sysdeps/alpha/ots_cvtqx.c: ... here.
11082 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11083 * sysdeps/alpha/ots_cvttx.c: ... here.
11084 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11085 * sysdeps/alpha/ots_cvtxq.c: ... here.
11086 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11087 * sysdeps/alpha/ots_cvtxt.c: ... here.
11088 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11089 * sysdeps/alpha/ots_div.c: ... here.
11090 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11091 * sysdeps/alpha/ots_mul.c: ... here.
11092 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11093 * sysdeps/alpha/ots_nintxq.c: ... here.
11094 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11095 * sysdeps/alpha/ots_sub.c: ... here.
11096 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11097 * sysdeps/alpha/sfp-machine.h: ... here.
11099 2018-05-23 Florian Weimer <fweimer@redhat.com>
11107 Switch to extern IDNA implementation (libidn2).
11108 * libidn: Remove subdirectory.
11109 * LICENSES: Do not mention licensing conditions for the removed
11111 * config.h.in (HAVE_LIBIDN): Remove.
11112 * include/dlfcn.h (__libc_dlopen): Update comment.
11113 * include/idna.h: Remove file.
11114 * inet/Makefile (routines): Add idna.
11115 (tests-static, tests-internal): Add tst-idna_name_classify.
11116 (LOCALES): Generate locales for tests.
11117 (tst-idna_name_classify.out): Depend on generated locales.
11118 * inet/idna_name_classify.c: New file.
11119 * inet/tst-idna_name_classify.c: Likewise.
11120 * inet/net-internal.h (__idna_to_dns_encoding)
11121 (__idna_from_dns_encoding): Declare.
11122 * inet/net-internal.h (enum idna_name_classification): Define.
11123 (__idna_name_classify): Declare.
11124 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11125 __idna_from_dns_encoding.
11126 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11127 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11128 name as a fallback in case of encoding errors.
11129 (getnameinfo): Use DEPRECATED_NI_IDN.
11130 * inet/idna.c: New file.
11131 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11132 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11133 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11134 (modules-names): Add tst-no-libidn2.
11135 (extra-test-objs): Add tst-no-libidn2.os.
11136 (LDFLAGS-tst-no-libidn2.so): Set soname.
11137 (LOCALES): Set, and generate locales.
11138 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11139 (tst-resolv-ai_idn-latin1): Likewise.
11140 (tst-resolv-ai_idn-nolibidn2): Likewise.
11141 (tst-resolv-ai_idn.out): Depend on locales.
11142 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11143 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11145 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11146 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11147 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11148 * resolv/tst-resolv-ai_idn.c: New file.
11149 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11150 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11151 * resolv/tst-no-libidn2.c: Likewise.
11152 * support/support_format_addrinfo.c (format_ai_flags): Do not
11153 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11154 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11155 (gaih_inet): Call __idna_to_dns_encoding and
11156 __idna_from_dns_encoding, and use the original (punycode) name if
11157 __idna_from_dns_encoding fails due to an encoding error.
11158 (getaddrinfo): Use DEPRECATED_AI_IDN.
11159 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11160 * sysdeps/unix/inet/configure: Remove file.
11161 * sysdeps/unix/inet/configure.ac: Likewise.
11163 2018-05-23 Florian Weimer <fweimer@redhat.com>
11165 Implement allocate_once.
11166 * include/allocate_once.h: New file.
11167 * misc/allocate_once.c: Likewise.
11168 * misc/tst-allocate_once.c: Likewise.
11169 * misc/Makefile (routines): Add allocate_once.
11170 (tests-internal): Add tst-allocate_once.
11171 (generated): Add tst-allocate_once.mtrace,
11172 tst-allocate_once-mem.out.
11173 (tests-special): Add tst-allocate_once-mem.out.
11174 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11175 (tst-allocate_once-mem.out): Call mtrace.
11176 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11178 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11181 * string/test-memcpy.c (do_test1): New function.
11182 (test_main): Call it.
11184 2018-05-23 Andreas Schwab <schwab@suse.de>
11188 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11189 (L(preloop_large)): Save initial destination pointer in %r11 and
11190 use it instead of %rax after the loop.
11191 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11193 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11195 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11196 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11197 -I../soft-fp. Moved from ....
11198 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11199 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11200 * sysdeps/aarch64/e_sqrtl.c: ... here.
11201 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11202 * sysdeps/aarch64/sfp-machine.h: ... here.
11204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11205 -Wmaybe-uninitialized around access to fq[0].
11206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11210 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11211 aliases for non-libc case of versioned symbols.
11212 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11213 (llseek): Define as compat symbol if
11214 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11216 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11217 Make into a compat symbol, disabled for minimum symbol version
11218 GLIBC_2.28 and later.
11219 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11221 2018-05-22 Florian Weimer <fweimer@redhat.com>
11223 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11224 not add -mpreferred-stack-boundary=4.
11225 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11226 (stack-align-test-flags): Likewise.
11227 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11229 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11230 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11231 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11232 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11233 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11234 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11235 (CFLAGS-tst-align2.c): Likewise.
11237 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11239 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11240 (index_arch_Prefer_FSRM): Likewise.
11241 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11242 Also check Prefer_FSRM.
11243 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11244 Also return OPTIMIZE (erms) for Prefer_FSRM.
11246 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11248 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11249 (index_cpu_FSRM): Likewise.
11250 (reg_FSRM): Likewise.
11252 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11254 * math/gen-tgmath-tests.py: Import sys.
11255 (Tests.__init__): Initialize macros_seen.
11256 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11257 if requested to do so for this macro.
11258 (Tests.add_all_tests): Take argument for macro for which to
11260 (Tests.check_macro_list): New function.
11261 (main): Handle check-list argument and argument specifying macro
11262 for which to generate tests.
11263 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11264 [PYTHON] (tgmath3-macro-tests): Likewise.
11265 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11266 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11267 not test-tgmath3.c.
11268 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11269 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11271 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11272 [PYTHON] ($(foreach
11273 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11275 [PYTHON] (tests-special): Add
11276 $(objpfx)test-tgmath3-macro-list.out.
11277 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11279 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11280 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11284 * time/tzset.c (SECSPERDAY): Cast to time_t.
11285 * time/tst-y2039.c: New file.
11286 * time/Makefile (tests): Add tst-y2039.
11288 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11290 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11291 (PREFETCH_ONE_SET): Remove duplicate line.
11293 2018-05-17 Florian Weimer <fweimer@redhat.com>
11295 * sysdeps/generic/math-type-macros-double.h: Include
11296 <math-nan-payload-double.h> after <libm-alias-double.h>.
11297 * sysdeps/generic/math-type-macros-float.h: Include
11298 <math-nan-payload-float.h> after <libm-alias-float.h>.
11299 * sysdeps/generic/math-type-macros-float128.h: Include
11300 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11301 * sysdeps/generic/math-type-macros-ldouble.h: Include
11302 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11304 2018-05-17 Andreas Schwab <schwab@suse.de>
11306 * resolv/res_send.c (__res_context_send): Don't set errno when
11307 returing error after malloc failure.
11309 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11311 * nptl/allocatestack.c (allocate_stack): Remove the
11312 !__ASSUME_PRIVATE_FUTEX paths.
11313 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11314 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11316 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11317 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11318 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11319 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11320 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11321 !__ASSUME_PRIVATE_FUTEX path.
11322 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11323 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11324 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11325 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11326 !__ASSUME_PRIVATE_FUTEX macros.
11327 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11328 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11329 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11330 * sysdeps/unix/sysv/linux/kernel-features.h
11331 (__ASSUME_PRIVATE_FUTEX): Removed.
11333 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11335 * math/Makefile (libm-narrow-fns): Add div.
11336 (libm-test-funcs-narrow): Likewise.
11337 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11338 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11339 * math/gen-auto-libm-tests.c (test_functions): Add div.
11340 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11341 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11342 (NARROW_DIV_TRIVIAL): Likewise.
11343 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11345 (__ddivl): Likewise.
11346 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11348 (CFLAGS-nldbl-ddiv.c): New variable.
11349 (CFLAGS-nldbl-fdiv.c): Likewise.
11350 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11352 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11354 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11355 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11356 * math/auto-libm-test-in: Add tests of div.
11357 * math/auto-libm-test-out-narrow-div: New generated file.
11358 * math/libm-test-narrow-div.inc: New file.
11359 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11362 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11363 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11364 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11373 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11374 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11375 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11376 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11378 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11404 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11407 * nscd/nscd-client.h (sendfileall): Remove prototype.
11408 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11409 (handle_request): Use writeall instead of sendfileall.
11410 * nscd/aicache.c (addhstaiX): Likewise.
11411 * nscd/grpcache.c (cache_addgr): Likewise.
11412 * nscd/hstcache.c (cache_addhst): Likewise.
11413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11414 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11415 * nscd/pwdcache.c (cache_addpw): Likewise.
11416 * nscd/servicescache.c (cache_addserv): Likewise.
11417 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11418 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11422 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11424 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11425 Include <string/strncat.c>.
11426 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11428 (__GI___strncat): New hidden alias.
11430 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11432 * sysdeps/mips/mips32/libm-test-ulps: Update.
11433 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11435 2018-05-16 Florian Weimer <fweimer@redhat.com>
11437 * support/Makefile (libsupport-routines): Add support_quote_blob,
11438 support_test_compare_blob.
11439 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11440 * support/check.h (TEST_COMPARE_BLOB): Define.
11441 (support_test_compare_blob): Declare.
11442 * support/support.h (support_quote_blob): Declare.
11443 * support/support_quote_blob.c: New file.
11444 * support/support_test_compare_blob.c: Likewise.
11445 * support/tst-support_quote_blob.c: Likewise.
11446 * support/tst-test_compare_blob.c: Likewise.
11448 2018-05-16 Florian Weimer <fweimer@redhat.com>
11450 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11451 of <strtod_nan_double.h>.
11452 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11453 instead of SET_MANTISSA.
11454 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11455 of include <strtod_nan_float.h>.
11456 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11457 instead of <strtod_nan_ldouble.h>.
11458 * stdlib/strtod_nan_double.h: Move to ...
11459 * sysdeps/generic/math-nan-payload-double.h: ... here.
11460 (FLOAT): Remove definition.
11461 (SET_MANTISSA): Rename to ...
11462 (SET_NAN_PAYLOAD): ... this.
11463 * stdlib/strtod_nan_float.h: Move to ...
11464 * sysdeps/generic/math-nan-payload-float.h: ... here.
11465 (FLOAT): Remove definition.
11466 (SET_MANTISSA): Rename to ...
11467 (SET_NAN_PAYLOAD): ... this.
11468 * sysdeps/generic/math-type-macros-double.h: Include
11469 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11470 instead of <math-svid-compat.h>.
11471 * sysdeps/generic/math-type-macros-float.h: Include
11472 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11473 instead of <math-svid-compat.h>.
11474 * sysdeps/generic/math-type-macros-float128.h: Include
11475 <math-nan-payload-float128.h>.
11476 * sysdeps/generic/math-type-macros-ldouble.h: Include
11477 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11478 instead of <math-svid-compat.h>.
11479 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11480 check for definition.
11481 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11482 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11483 Include <ieee754_float128.h>.
11484 (FLOAT): Remove definition.
11485 (SET_MANTISSA): Rename to ...
11486 (SET_NAN_PAYLOAD): ... this.
11487 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11488 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11489 Do not include <float128_private.h>.
11490 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11492 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11493 (FLOAT): Remove definition.
11494 (SET_MANTISSA): Rename to ...
11495 (SET_NAN_PAYLOAD): ... this.
11496 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11497 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11498 (FLOAT): Remove definition.
11499 (SET_MANTISSA): Rename to ...
11500 (SET_NAN_PAYLOAD): ... this.
11501 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11502 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11503 (FLOAT): Remove definition.
11504 (SET_MANTISSA): Rename to ...
11505 (SET_NAN_PAYLOAD): ... this.
11506 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11507 of "../stdlib/strtod_nan_double.h".
11508 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11509 of "../stdlib/strtod_nan_float.h".
11510 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11511 instead of "../stdlib/strtod_nan_ldouble.h".
11512 * manual/arith.texi (Parsing of Floats): Adjust comment.
11514 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11516 * math/Makefile (libm-narrow-fns): Add mul.
11517 (libm-test-funcs-narrow): Likewise.
11518 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11519 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11520 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11521 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11522 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11523 (NARROW_MUL_TRIVIAL): Likewise.
11524 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11525 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11527 (__dmull): Likewise.
11528 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11530 (CFLAGS-nldbl-dmul.c): New variable.
11531 (CFLAGS-nldbl-fmul.c): Likewise.
11532 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11534 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11536 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11537 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11538 * math/auto-libm-test-in: Add tests of mul.
11539 * math/auto-libm-test-out-narrow-mul: New generated file.
11540 * math/libm-test-narrow-mul.inc: New file.
11541 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11544 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11545 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11546 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11554 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11555 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11556 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11557 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11558 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11560 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11586 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11588 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11589 with *%eax in call.
11591 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11593 * sysdeps/i386/ldsodefs.h: Removed.
11594 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11595 * sysdeps/x86/ldsodefs.h: This.
11596 (La_i86_regs): New.
11597 (La_i86_retval): Likewise.
11598 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11599 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11601 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11603 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11606 2018-05-13 Alan Modra <amodra@gmail.com>
11608 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11609 R_PARISC_TLS_DTPOFF32 reloc addend.
11611 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11613 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11614 * math/math.h: Restrict the prototype definition for the functions
11615 issignaling(_Float128) and iszero(_Float128); and template
11616 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11617 __HAVE_FLOAT128_UNLIKE_LDBL.
11618 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11619 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11620 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11621 __f128() constants; define the type _Float128 as long double;
11622 and reuse long double in __CFLOAT128.
11624 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11626 * sysdeps/generic/math_private.h: Do not include
11628 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11630 * math/fromfp.h: Include <math-barriers.h>.
11631 * math/math-narrow.h: Likewise.
11632 * math/s_nextafter.c: Likewise.
11633 * math/s_nexttowardf.c: Likewise.
11634 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11635 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11636 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11637 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11638 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11639 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11640 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11644 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11647 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11648 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11649 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11651 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11652 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11654 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11655 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11656 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11657 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11658 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11659 * sysdeps/ieee754/k_standardl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11676 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11681 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11683 2018-05-11 Florian Weimer <fweimer@redhat.com>
11685 Use 64-bit epoch values in the time zone file parser.
11686 * include/time.h (internal_time_t): Define.
11687 (__tzfile_compute): Use it.
11688 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11690 (transitions): Switch to internal_time_t.
11691 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11693 (__tzfile_compute): Use internal_time_t for timer argument. Check
11694 for truncation before calling __offtime.
11696 2018-05-11 Florian Weimer <fweimer@redhat.com>
11699 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11700 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11702 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11703 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11704 export without --enable-obsolete-rpc.
11705 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11706 symbol. This should not have been exported, ever.
11708 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11711 * localedata/locales/gd_GB (abmon): Fix typo in May:
11712 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11714 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11716 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11717 Use multiple registers to copy data in loop tail.
11719 * sysdeps/aarch64/multiarch/memmove_falkor.S
11720 (__memmove_falkor): Use multiple registers to move data in
11723 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11725 * math/math-underflow.h: New file.
11726 * sysdeps/generic/math_private.h: Do not include <float.h>.
11727 (fabs_tg): Remove macro. Moved to math-underflow.h.
11728 (min_of_type_f): Likewise.
11729 (min_of_type_): Likewise.
11730 (min_of_type_l): Likewise.
11731 (min_of_type_f128): Likewise.
11732 (min_of_type): Likewise.
11733 (math_check_force_underflow): Likewise.
11734 (math_check_force_underflow_nonneg): Likewise.
11735 (math_check_force_underflow_complex): Likewise.
11736 * math/e_exp2_template.c: Include <math-underflow.h>.
11737 * math/k_casinh_template.c: Likewise.
11738 * math/s_catan_template.c: Likewise.
11739 * math/s_catanh_template.c: Likewise.
11740 * math/s_ccosh_template.c: Likewise.
11741 * math/s_cexp_template.c: Likewise.
11742 * math/s_clog10_template.c: Likewise.
11743 * math/s_clog_template.c: Likewise.
11744 * math/s_csin_template.c: Likewise.
11745 * math/s_csinh_template.c: Likewise.
11746 * math/s_csqrt_template.c: Likewise.
11747 * math/s_ctan_template.c: Likewise.
11748 * math/s_ctanh_template.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11767 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11769 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11770 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11772 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11773 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11774 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11775 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11778 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11779 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11780 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11826 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11827 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11829 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11834 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11836 * sysdeps/generic/math-barriers.h: New file.
11837 * sysdeps/generic/math_private.h [!math_opt_barrier]
11838 (math_opt_barrier): Move to math-barriers.h.
11839 [!math_opt_barrier] (math_force_eval): Likewise.
11840 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11841 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11843 (math_force_eval): Likewise.
11844 * sysdeps/alpha/fpu/math-barriers.h: New file.
11845 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11847 (math_force_eval): Likewise.
11848 * sysdeps/x86/fpu/math-barriers.h: New file.
11849 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11851 (math_force_eval): Likewise.
11852 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11853 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11854 multiple-include guard for rename.
11855 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11856 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11858 (math_force_eval): Likewise.
11860 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11864 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11866 * stdlib/Makefile (test-bz22786): New test.
11867 * stdlib/test-bz22786.c: New test.
11869 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11871 * include/math-narrow-eval.h: New file. Contents moved from ....
11872 * sysdeps/generic/math_private.h: ... here.
11873 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11874 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11875 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11876 * stdlib/strtod_l.c: Likewise.
11877 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11878 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11879 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11893 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11894 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11895 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11899 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11901 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11903 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11904 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11905 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11907 2018-05-08 Andreas Schwab <schwab@suse.de>
11909 * sysdeps/nptl/internaltypes.h: Fix comment.
11911 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11913 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11914 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11917 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11919 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11920 of I into loop header.
11921 * benchtests/bench-memmove-walk.c
11922 (test_main): Likewise.
11924 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11927 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11928 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11930 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11933 * elf/dl-load.c (open_verify): Fix stack overflow.
11934 * elf/Makefile (tst-big-note): New test.
11935 * elf/tst-big-note-lib.S: New.
11936 * elf/tst-big-note.c: New.
11938 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11940 * scripts/abilist.awk: Ignore absolute symbols.
11941 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11942 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11943 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11944 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11945 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11946 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11947 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11948 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11949 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11950 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11951 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11952 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12034 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12048 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12076 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12085 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12097 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12187 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12202 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12241 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12294 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12297 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12298 Use atomic_load_acquire to load __tid.
12300 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12302 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12303 Restore the pointer into %rdx, after syscall and use %rdx,
12304 instead of %rsi, to restore context.
12306 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12308 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12309 Pop the pointer into %rdx after syscall and use %rdx, instead
12310 of %rsi, to restore context.
12312 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12314 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12315 handlers after setjmp.
12316 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12318 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12319 <libc-pointer-arith.h>.
12320 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12321 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12322 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12323 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12324 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12325 * sysdeps/x86/__longjmp_cancel.S: New file.
12326 * sysdeps/x86/longjmp.c: Likewise.
12327 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12329 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12331 * NEWS: Add ustat.h deprecation entry.
12332 * bits/ustat.h: Remove file.
12333 * misc/sys/ustat.h: Likewise.
12334 * misc/ustat.h: Likewise.
12335 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12336 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12337 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12338 compatibility mode.
12339 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12340 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12341 generic Linux implementation.
12343 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12345 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12346 * math/w_expl_compat.c: Likewise.
12347 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12349 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12351 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12353 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12355 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12356 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12357 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12359 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12362 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12363 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12366 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12368 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12370 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12371 * math/w_asin_template.c: Likewise.
12372 * math/w_atanh_template.c: Likewise.
12374 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12376 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12377 to powerpc/powerpc64/be for big-endian.
12378 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12381 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12382 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12383 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12384 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12385 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12386 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12387 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12388 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12389 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12390 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12391 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12392 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12393 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12394 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12395 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12396 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12397 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12398 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12399 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12400 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12401 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12402 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12403 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12404 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12405 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12406 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12407 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12408 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12409 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12410 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12411 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12415 adjusted to imply powerpc64 and older processors on powerpc64/be.
12416 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12419 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12420 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12421 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12422 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12423 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12424 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12425 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12426 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12427 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12428 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12429 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12430 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12431 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12432 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12433 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12434 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12435 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12436 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12437 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12438 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12439 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12440 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12441 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12442 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12443 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12444 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12445 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12446 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12448 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12449 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12450 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12451 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12453 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12454 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12456 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12458 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12459 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12460 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12461 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12462 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12463 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12464 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12465 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12466 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12467 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12468 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12470 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12471 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12472 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12473 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12474 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12475 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12476 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12477 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12478 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12479 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12480 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12482 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12483 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12484 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12485 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12486 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12487 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12488 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12489 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12490 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12491 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12492 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12493 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12495 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12496 and adjusted to imply olders processors.
12497 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12498 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12499 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12500 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12501 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12502 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12503 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12504 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12505 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12506 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12507 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12526 powerpc64 and adjusted.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12532 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12534 * sysdeps/tile: Remove.
12535 * sysdeps/unix/sysv/linux/tile: Likewise.
12536 * README (tilegx-*-linux-gnu): Remove from list of supported
12538 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12539 contribution of support for generic Linux kernel syscall
12541 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12542 tilegx configurations.
12543 (Config.install_linux_headers): Do not handle tile.
12544 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12546 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12547 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12548 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12549 conditional undefine and redefine.
12550 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12552 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12553 conditional undefine and redefine.
12555 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12557 * signal/tst-sigaction.c: New file to test BZ #23069.
12558 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12560 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12563 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12564 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12565 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12566 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12568 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12570 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12571 _DIRENT_MATCHES_DIRENT64 is not defined.
12572 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12573 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12575 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12576 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12578 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12580 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12581 version to GCC 8 branch.
12583 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12585 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12586 (check_no_hidden): Use type of original function when declaring
12589 * sysdeps/unix/sysv/linux/sys/ptrace.h
12590 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12591 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12592 (struct __ptrace_seccomp_metadata): New type.
12593 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12594 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12595 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12596 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12597 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12598 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12600 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12602 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12604 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12605 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12606 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12607 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12608 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12610 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12612 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12614 * dirent/versionsort.c (versionsort): Likewise.
12615 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12616 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12617 * dirent/versionsort64.c (versionsort64): Likewise.
12618 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12619 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12620 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12621 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12622 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12625 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12626 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12627 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12633 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12635 * elf/elf.h (NT_PPC_PKEY): New macro.
12637 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12640 * localedata/locales/hr_HR: fix thousands_sep and
12643 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12645 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12646 (XTABS): Define to TAB3.
12648 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12650 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12652 * dirent/scandir-tail-common.c: New file.
12653 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12654 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12655 * dirent/scandir.c: Use scandir-tail-common.c.
12656 * dirent/scandirat.c: Likewise.
12657 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12658 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12659 if _DIRENT_MATCHES_DIRENT64 is defined.
12660 * dirent/scandirat64.c (scandirat64): Likewise.
12661 * include/dirent.h (__scandir_tail): Only define iff
12662 _DIRENT_MATCHES_DIRENT64 is not defined.
12663 (__scandir64_tail): Define regardless.
12664 (__scandirat, scandirat64): Remove libc_hidden_proto.
12665 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12666 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12671 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12673 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12675 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12677 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12679 (_dl_aarch64_cap_flags): Add asimdfhm.
12681 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12683 * sysdeps/nios2/libm-test-ulps: Update.
12685 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12687 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12688 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12690 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12692 (_DIRENT_MATCHES_DIRENT64): Undef
12693 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12694 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12695 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12696 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12697 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12698 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12699 use getdents64 syscalls as base.
12700 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12701 symbol if required.
12702 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12703 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12704 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12706 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12707 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12708 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12709 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12711 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12712 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12714 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12716 * scripts/test_printers_common.py (init_test): Disable lock elision.
12718 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12720 * math/test-tgmath.c (count_double, count_float,
12721 count_ldouble, count_cdouble, count_cfloat,
12722 count_cldouble): Use volatile int.
12724 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12726 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12727 (conformtest-xfail-conds): Add i386-gnu.
12728 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12730 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12731 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12732 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12733 msqid_ds.msg_lrpid): Likewise.
12734 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12736 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12737 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12738 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12739 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12741 (struct statvfs64): Likewise.
12742 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12744 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12745 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12746 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12747 instead of wait_queue.
12748 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12749 instead of vm_area_struct.
12750 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12751 struct sched_param definition to it.
12752 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12753 * bits/types/struct_sched_param.h: New file.
12754 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12755 <bits/types/struct_sched_param.h> instead of <sched.h>.
12756 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12757 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12758 generic version but include <bits/pthreadtypes.h> to make struct
12759 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12760 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12762 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12763 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12764 [__USE_XOPEN] (OFDEL): New macro.
12765 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12766 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12767 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12769 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12770 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12771 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12773 * sysdeps/i386/sys/ucontext.h: Likewise.
12774 * sysdeps/m68k/sys/ucontext.h: Likewise.
12775 * sysdeps/mips/sys/ucontext.h: Likewise.
12776 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12777 * sysdeps/mach/hurd/i386/Makefile
12778 (test-xfail-POSIX/fcntl.h/conform): Add.
12779 (test-xfail-POSIX/signal.h/conform): Add.
12780 (test-xfail-POSIX/semaphore.h/conform): Add.
12781 (test-xfail-POSIX/regex.h/conform): Add.
12782 (test-xfail-POSIX/aio.h/conform): Add.
12783 (test-xfail-POSIX/mqueue.h/conform): Add.
12784 (test-xfail-POSIX/sys/types.h/conform): Add.
12785 (test-xfail-UNIX98/fcntl.h/conform): Add.
12786 (test-xfail-UNIX98/netdb.h/conform): Add.
12787 (test-xfail-UNIX98/signal.h/conform): Add.
12788 (test-xfail-UNIX98/semaphore.h/conform): Add.
12789 (test-xfail-UNIX98/regex.h/conform): Add.
12790 (test-xfail-UNIX98/aio.h/conform): Add.
12791 (test-xfail-UNIX98/ftw.h/conform): Add.
12792 (test-xfail-UNIX98/mqueue.h/conform): Add.
12793 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12794 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12795 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12796 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12797 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12798 (test-xfail-UNIX98/sys/types.h/conform): Add.
12799 (test-xfail-UNIX98/stdlib.h/conform): Add.
12800 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12801 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12802 (test-xfail-POSIX2008/netdb.h/conform): Add.
12803 (test-xfail-POSIX2008/signal.h/conform): Add.
12804 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12805 (test-xfail-POSIX2008/regex.h/conform): Add.
12806 (test-xfail-POSIX2008/aio.h/conform): Add.
12807 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12808 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12809 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12810 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12811 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12812 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12813 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12814 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12815 (test-xfail-XOPEN2K/signal.h/conform): Add.
12816 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12817 (test-xfail-XOPEN2K/regex.h/conform): Add.
12818 (test-xfail-XOPEN2K/aio.h/conform): Add.
12819 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12820 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12821 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12822 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12823 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12824 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12825 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12826 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12827 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12828 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12829 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12830 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12831 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12832 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12833 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12834 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12835 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12836 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12837 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12838 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12839 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12840 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12841 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12842 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12843 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12844 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12845 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12847 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12848 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12850 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12852 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12853 --enable-obsolete for powerpc-linux-gnuspe.
12855 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12857 * conform/data/sys/un.h-data: Allow sun_ prefix.
12858 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12860 * sysdeps/mach/include/mach.h: Likewise.
12861 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12862 * sysdeps/mach/include/mach_error.h: Likewise.
12864 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12866 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12867 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12868 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12869 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12871 2018-04-16 Andreas Schwab <schwab@suse.de>
12874 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12876 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12878 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12879 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12881 2018-04-12 DJ Delorie <dj@redhat.com>
12883 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12886 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12888 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12889 (struct kernel_sigaction): Use the same definition on 31bit as is used
12892 2018-04-09 Florian Weimer <fweimer@redhat.com>
12895 * resolv/res_send.c (send_dg): Use designated initializers instead
12896 of assignment to zero-initialize other fields of struct mmsghdr.
12898 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12900 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12901 __READDIR_ALIAS): Undefine after usage.
12902 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12903 __READDIR_R_ALIAS): Likewise.
12904 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12905 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12906 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12907 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12908 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12910 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12911 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12913 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12916 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12917 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12918 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12919 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12920 * sysdeps/unix/sysv/linux/readdir.c: New file.
12921 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12922 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12923 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12925 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12927 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12929 * manual/charset.texi (Converting a Character): Fix typo.
12931 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12935 * sysdeps/arm/libm-test-ulps: Update.
12937 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12938 as base implementation.
12939 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12940 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12941 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12944 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12945 remove unrequired definitions and update comments.
12946 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12947 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12948 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12949 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12950 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12951 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12953 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12955 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12956 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12957 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12959 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12960 and RESET_SA_RESTORER hooks.
12962 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12964 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12966 2018-04-05 Florian Weimer <fweimer@redhat.com>
12968 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12969 integer overflow, memory leak on error, and indeterminate errno
12970 value. Add a null wide character to terminate the result string.
12971 * manual/charset.texi (Converting a Character): Mention embedded
12972 null bytes in the mbrtowc input string. Explain what happens in
12973 the -2 result case. Do not claim that mbrtowc is simple or
12974 obvious to use. Adjust the description of the code example. Use
12975 @code, not @var, for concrete variables.
12977 2018-04-05 Florian Weimer <fweimer@redhat.com>
12979 * manual/examples/mbstouwcs.c: New file.
12980 * manual/charset.texi (Converting a Character): Include it.
12982 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12984 * include/dirent.h (dirfd): Add hidden proto.
12985 * dirent/dirfd.c (dirfd): Add hidden def.
12986 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12987 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12989 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12991 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12992 sin, cos and sincos to 1 ULP.
12994 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12997 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12999 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13000 * elf/tst-absolute-sym.c: New file.
13001 * elf/tst-absolute-sym-lib.c: New file.
13002 * elf/tst-absolute-sym-lib.lds: New file.
13003 * elf/Makefile (tests): Add `tst-absolute-sym'.
13004 (modules-names): Add `tst-absolute-sym-lib'.
13005 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13006 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13007 ($(objpfx)tst-absolute-sym): New dependency.
13010 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13012 (SYMBOL_ADDRESS): New macro.
13013 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13014 SYMBOL_ADDRESS for symbol address calculation.
13015 * elf/dl-runtime.c (_dl_fixup): Likewise.
13016 (_dl_profile_fixup): Likewise.
13017 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13018 * elf/rtld.c (dl_main): Likewise.
13019 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13020 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13021 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13022 (elf_machine_rela): Likewise.
13023 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13024 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13025 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13026 (elf_machine_rela): Likewise.
13027 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13028 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13029 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13030 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13032 (elf_machine_reloc): Likewise.
13033 (elf_machine_got_rel): Likewise.
13034 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13035 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13036 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13038 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13040 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13050 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13053 2018-04-04 Zack Weinberg <zackw@panix.com>
13055 * sysdeps/generic/internal-signals.h: Include signal.h,
13056 sigsetops.h, and stdbool.h.
13057 (__libc_signal_block_all): Actually block all signals.
13058 (__libc_signal_block_app): Likewise.
13059 (__libc_signal_restore_set): Actually restore the signal mask.
13061 2018-04-04 Florian Weimer <fweimer@redhat.com>
13063 inet: Actually build and run tst-deadline.
13064 * inet/Makefile (tests-internal): Add tst-deadline and do not
13065 overwrite the variable.
13066 (tests-static-internal): Remove variable.
13068 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13071 * bits/uio-ext.h (RWF_APPEND): New.
13072 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13073 * manual/llio.texi: Document RWF_APPEND.
13074 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13075 (RWF_SUPPORTED): Add RWF_APPEND.
13077 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13080 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13081 check for internal nptl signals.
13082 * nptl/sigaction.c (__sigaction): Likewise.
13083 * signal/sigaddset.c (sigaddset): Likewise.
13084 * signal/sigdelset.c (sigdelset): Likewise.
13085 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13086 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13088 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13089 to filter out internal nptl signals.
13090 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13091 also check realtime signals using standard macros.
13092 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13093 __is_internal_signal, __libc_signal_block_all,
13094 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13095 * sysdeps/nptl/sigfillset.c: Remove file.
13096 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13097 Change return to bool.
13098 (__clear_internal_signals): Remove SIGTIMER clean since it is
13099 equal to SIGCANEL on Linux.
13100 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13101 signal set was constructed using standard functions.
13103 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13105 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13106 ifname is too long.
13107 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13108 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13109 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13111 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13112 * signal/sigaddset.c: Include <sigsetopts.h>.
13113 * signal/sigdelset.c: Likewise.
13115 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13119 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13120 logic as sin and cos.
13122 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13124 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13125 inputs. Return correct sign.
13126 (do_sincos): Remove small input check before do_sin, let do_sin set
13131 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13133 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13134 (do_cos_slow): Likewise.
13135 (do_sin_slow): Likewise.
13136 (reduce_and_compute): Likewise.
13141 (sloww1): Likewise.
13142 (sloww2): Likewise.
13144 (bslow1): Likewise.
13145 (bslow2): Likewise.
13146 (cslow2): Likewise.
13148 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13150 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13151 (do_cos): Remove corp parameter and calculations.
13152 (do_sin): Likewise.
13153 (do_sincos): Remove cor variable.
13154 (__sin): Use do_sincos for huge inputs.
13156 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13157 (reduce_and_compute_sincos): Remove unused function.
13159 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13161 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13162 reduce_sincos, improve accuracy to 136 bits.
13163 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13164 (__sin): Use improved reduction and simplified do_sincos calculation.
13166 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13168 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13170 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13171 (do_sincos_2): Likewise.
13172 (__sin): Remove middle range reduction case.
13174 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13177 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13179 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13183 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13185 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13187 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13190 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13192 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13193 Remove definitions.
13194 (opendir_oflags): Use O_DIRECTORY regardless.
13195 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13196 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13198 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13200 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13201 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13203 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13204 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13205 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13206 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13207 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13208 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13210 * htl/Makefile: Bump licence to LGPL 2.1+.
13211 * htl/alloca_cutoff.c: Likewise.
13212 * htl/cthreads-compat.c: Likewise.
13213 * htl/lockfile.c: Likewise.
13214 * htl/pt-alloc.c: Likewise.
13215 * htl/pt-cancel.c: Likewise.
13216 * htl/pt-cleanup.c: Likewise.
13217 * htl/pt-create.c: Likewise.
13218 * htl/pt-dealloc.c: Likewise.
13219 * htl/pt-detach.c: Likewise.
13220 * htl/pt-exit.c: Likewise.
13221 * htl/pt-getattr.c: Likewise.
13222 * htl/pt-initialize.c: Likewise.
13223 * htl/pt-internal.h: Likewise.
13224 * htl/pt-join.c: Likewise.
13225 * htl/pt-self.c: Likewise.
13226 * htl/pt-setcancelstate.c: Likewise.
13227 * htl/pt-setcanceltype.c: Likewise.
13228 * htl/pt-sigmask.c: Likewise.
13229 * htl/pt-spin-inlines.c: Likewise.
13230 * htl/pt-testcancel.c: Likewise.
13231 * htl/pt-yield.c: Likewise.
13232 * htl/tests/test-1.c: Likewise.
13233 * htl/tests/test-10.c: Likewise.
13234 * htl/tests/test-11.c: Likewise.
13235 * htl/tests/test-12.c: Likewise.
13236 * htl/tests/test-13.c: Likewise.
13237 * htl/tests/test-14.c: Likewise.
13238 * htl/tests/test-15.c: Likewise.
13239 * htl/tests/test-16.c: Likewise.
13240 * htl/tests/test-17.c: Likewise.
13241 * htl/tests/test-2.c: Likewise.
13242 * htl/tests/test-3.c: Likewise.
13243 * htl/tests/test-4.c: Likewise.
13244 * htl/tests/test-5.c: Likewise.
13245 * htl/tests/test-6.c: Likewise.
13246 * htl/tests/test-7.c: Likewise.
13247 * htl/tests/test-8.c: Likewise.
13248 * htl/tests/test-9.c: Likewise.
13249 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13250 * sysdeps/htl/bits/cancelation.h: Likewise.
13251 * sysdeps/htl/bits/pthread-np.h: Likewise.
13252 * sysdeps/htl/bits/pthread.h: Likewise.
13253 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13254 * sysdeps/htl/bits/semaphore.h: Likewise.
13255 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13256 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13257 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13258 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13259 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13260 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13261 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13262 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13263 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13264 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13265 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13266 * sysdeps/htl/old_pt-atfork.c: Likewise.
13267 * sysdeps/htl/pt-atfork.c: Likewise.
13268 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13269 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13270 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13271 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13272 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13273 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13274 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13275 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13276 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13277 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13278 * sysdeps/htl/pt-attr-init.c: Likewise.
13279 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13280 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13281 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13282 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13283 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13284 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13285 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13286 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13287 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13288 * sysdeps/htl/pt-attr.c: Likewise.
13289 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13290 * sysdeps/htl/pt-barrier-init.c: Likewise.
13291 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13292 * sysdeps/htl/pt-barrier.c: Likewise.
13293 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13294 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13295 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13296 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13297 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13298 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13299 * sysdeps/htl/pt-cond-init.c: Likewise.
13300 * sysdeps/htl/pt-cond-signal.c: Likewise.
13301 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13302 * sysdeps/htl/pt-cond-wait.c: Likewise.
13303 * sysdeps/htl/pt-cond.c: Likewise.
13304 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13305 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13306 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13307 * sysdeps/htl/pt-condattr-init.c: Likewise.
13308 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13309 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13310 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13311 * sysdeps/htl/pt-equal.c: Likewise.
13312 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13313 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13314 * sysdeps/htl/pt-getschedparam.c: Likewise.
13315 * sysdeps/htl/pt-getspecific.c: Likewise.
13316 * sysdeps/htl/pt-init-specific.c: Likewise.
13317 * sysdeps/htl/pt-key-create.c: Likewise.
13318 * sysdeps/htl/pt-key-delete.c: Likewise.
13319 * sysdeps/htl/pt-key.h: Likewise.
13320 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13321 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13322 * sysdeps/htl/pt-mutex-init.c: Likewise.
13323 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13324 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13325 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13326 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13327 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13328 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13329 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13330 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13331 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13332 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13333 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13334 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13335 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13336 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13337 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13338 * sysdeps/htl/pt-mutexattr.c: Likewise.
13339 * sysdeps/htl/pt-once.c: Likewise.
13340 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13341 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13342 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13343 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13344 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13345 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13346 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13347 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13348 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13349 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13350 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13351 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13352 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13353 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13354 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13355 * sysdeps/htl/pt-setschedparam.c: Likewise.
13356 * sysdeps/htl/pt-setschedprio.c: Likewise.
13357 * sysdeps/htl/pt-setspecific.c: Likewise.
13358 * sysdeps/htl/pt-spin.c: Likewise.
13359 * sysdeps/htl/pt-startup.c: Likewise.
13360 * sysdeps/htl/pthread.h: Likewise.
13361 * sysdeps/htl/sem-close.c: Likewise.
13362 * sysdeps/htl/sem-destroy.c: Likewise.
13363 * sysdeps/htl/sem-getvalue.c: Likewise.
13364 * sysdeps/htl/sem-init.c: Likewise.
13365 * sysdeps/htl/sem-open.c: Likewise.
13366 * sysdeps/htl/sem-post.c: Likewise.
13367 * sysdeps/htl/sem-timedwait.c: Likewise.
13368 * sysdeps/htl/sem-trywait.c: Likewise.
13369 * sysdeps/htl/sem-unlink.c: Likewise.
13370 * sysdeps/htl/sem-wait.c: Likewise.
13371 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13372 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13373 * sysdeps/mach/htl/pt-block.c: Likewise.
13374 * sysdeps/mach/htl/pt-spin.c: Likewise.
13375 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13376 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13377 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13378 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13379 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13380 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13381 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13382 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13383 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13384 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13385 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13386 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13387 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13388 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13389 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13390 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13391 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13392 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13393 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13394 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13395 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13396 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13397 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13398 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13399 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13400 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13401 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13402 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13403 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13404 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13405 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13406 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13407 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13408 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13409 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13410 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13411 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13412 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13413 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13414 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13415 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13416 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13417 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13419 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13420 * README: Remove the mention of out-of-tree patches needed for
13423 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13424 (UTIME_NOW, UTIME_OMIT): Define macros.
13426 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13427 instead of pthread_detach.
13428 (__cthread_fork): Call __pthread_create instead of pthread_create.
13429 (__cthread_keycreate): Call __pthread_key_create instead of
13430 pthread_key_create.
13431 (__cthread_getspecific): Call __pthread_getspecific instead of
13432 pthread_getspecific.
13433 (__cthread_setspecific): Call __pthread_setspecific instead of
13434 pthread_setspecific.
13435 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13436 __pthread_mutex_unlock instead of pthread_mutex_lock and
13437 pthread_mutex_unlock.
13438 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13439 ___pthread_get_cleanup_stack.
13440 (__pthread_get_cleanup_stack): New strong alias.
13441 * htl/pt-create.c: Include <pthreadP.h>.
13442 (entry_point): Call __pthread_exit instead of pthread_exit.
13443 (pthread_create): Rename to __pthread_create.
13444 (pthread_create): New strong alias.
13445 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13446 (pthread_detach): New strong alias.
13447 (__pthread_detach): Call __pthread_cond_broadcast instead of
13448 pthread_cond_broadcast.
13449 * htl/pt-exit.c: Include <pthreadP.h>.
13450 (__pthread_exit): Call __pthread_setcancelstate and
13451 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13452 __pthread_get_cleanup_stack.
13453 * htl/pt-testcancel.c: Include <pthreadP.h>.
13454 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13455 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13456 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13457 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13458 pthread_attr_getstacksize.
13459 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13460 Rename to __pthread_attr_getstackaddr.
13461 (pthread_attr_getstackaddr): New strong alias.
13462 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13463 Rename to __pthread_attr_getstacksize.
13464 (pthread_attr_getstacksize): New strong alias.
13465 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13466 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13467 (pthread_attr_setstack): New strong alias.
13468 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13469 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13470 pthread_attr_getstacksize, pthread_attr_setstacksize and
13471 pthread_attr_setstackaddr.
13472 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13473 Rename to __pthread_attr_setstackaddr.
13474 (pthread_attr_setstackaddr): New strong alias.
13475 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13476 Rename to __pthread_attr_setstacksize.
13477 (pthread_attr_setstacksize): New strong alias.
13478 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13479 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13481 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13482 (__pthread_key_create): New hidden def.
13483 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13484 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13485 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13486 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13487 __pthread_setspecific, __pthread_setcancelstate,
13488 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13489 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13490 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13492 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13493 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13494 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13495 (pthread_attr_setstackaddr): New strong alias.
13496 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13497 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13498 (pthread_attr_setstacksize): New strong alias.
13499 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13500 (call_exit): Call __pthread_exit instead of pthread_exit.
13501 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13502 (_pthread_mutex_init): New hidden definition.
13503 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13504 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13505 instead of pthread_attr_init and pthread_attr_setstack.
13507 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13508 __vm_deallocate instead of vm_allocate and vm_deallocate.
13509 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13511 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13513 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13515 * hurd/siginfo.c: Include <libioP.h>.
13516 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13517 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13519 * mach/devstream.c: Include <libioP.h>.
13520 (dealloc_ref): Call __mach_port_deallocate instead of
13521 mach_port_deallocate.
13522 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13523 Call __mach_port_deallocate instead of mach_port_deallocate.
13524 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13526 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13528 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13529 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13530 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13532 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13534 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13535 instead of sysconf.
13536 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13537 __clock_gettime instead of clock_gettime.
13538 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13539 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13540 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13541 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13542 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13544 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13545 __clock_gettime and __nanosleep instead of clock_gettime and
13547 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13548 __hurd_catch_signal.
13549 (hurd_catch_signal): New strong alias.
13550 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13551 __hurd_catch_signal instead of hurd_catch_signal.
13552 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13553 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13554 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13555 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13556 (_hurd_thread_sigstate): Add hidden def.
13557 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13559 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13560 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13561 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13562 __hurd_file_name_path_lookup.
13563 (hurd_file_name_path_lookup): New strong alias.
13564 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13565 hurd_file_name_path_lookup.
13566 * mach/errstring.c (mach_error_type): Add hidden def.
13567 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13568 * mach/mutex-init.c (__mutex_init): Add hidden def.
13569 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13570 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13571 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13572 * sysdeps/mach/hurd/getcwd.c
13573 (_hurd_canonicalize_directory_name_internal): Rename to
13574 __hurd_canonicalize_directory_name_internal.
13575 (_hurd_canonicalize_directory_name_internal): New strong alias.
13576 (__canonicalize_directory_name_internal, __getcwd): Call
13577 __hurd_canonicalize_directory_name_internal instead of
13578 _hurd_canonicalize_directory_name_internal.
13579 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13580 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13582 * sysdeps/hurd/include/hurd.h: New file.
13583 * sysdeps/hurd/include/hurd/fd.h: New file.
13584 * sysdeps/hurd/include/hurd/signal.h: New file.
13585 * sysdeps/mach/include/lock-intern.h: New file.
13586 * sysdeps/mach/include/mach.h: New file.
13587 * sysdeps/mach/include/mach/mig_support.h: New file.
13588 * sysdeps/mach/include/mach_error.h: New file.
13589 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13591 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13592 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13593 _HEADER_H_HIDDEN_DEF macro.
13594 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13595 _hurd_fd_error_signal): Add hidden prototype.
13596 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13598 * libio/iolibio.h (_IO_puts): New hidden prototype.
13599 * libio/ioputs.c (_IO_puts): New hidden def.
13600 * sysdeps/mach/hurd/localplt.data: New file.
13602 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13603 Amos Jeffries <squid3@treenet.co.nz>
13604 David Michael <fedora.dm0@gmail.com>
13605 Marco Gerards <marco@gnu.org>
13606 Marcus Brinkmann <marcus@gnu.org>
13607 Neal H. Walfield <neal@gnu.org>
13608 Pino Toscano <toscano.pino@tiscali.it>
13609 Richard Braun <rbraun@sceen.net>
13610 Roland McGrath <roland@gnu.org>
13611 Samuel Thibault <samuel.thibault@ens-lyon.org>
13612 Thomas DiModica <ricinwich@yahoo.com>
13613 Thomas Schwinge <tschwinge@gnu.org>
13615 * htl: New directory.
13616 * sysdeps/htl: New directory.
13617 * sysdeps/hurd/htl: New directory.
13618 * sysdeps/i386/htl: New directory.
13619 * sysdeps/mach/htl: New directory.
13620 * sysdeps/mach/hurd/htl: New directory.
13621 * sysdeps/mach/hurd/i386/htl: New directory.
13622 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13623 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13624 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13626 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13628 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13629 signals in thread created for runing timers.
13631 2018-04-01 Florian Weimer <fweimer@redhat.com>
13633 * support/support_format_addrinfo.c (support_format_addrinfo):
13634 Include unknown error number in formatted result.
13636 2018-03-29 Florian Weimer <fweimer@redhat.com>
13638 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13641 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13643 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13644 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13645 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13646 (__ASSUME_CLONE_BACKWARDS): Define.
13648 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13651 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13652 early when linux sentinel value is set.
13654 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13656 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13658 2018-03-27 Andreas Schwab <schwab@suse.de>
13661 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13662 allocation of private copy of nsaddr_list fails.
13664 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13667 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13668 * sysdeps/unix/sysv/linux/umount.c: ... here.
13669 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13670 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13671 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13672 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13674 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13675 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13677 2018-03-26 Andreas Schwab <schwab@suse.de>
13679 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13680 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13681 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13682 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13683 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13684 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13685 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13686 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13687 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13688 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13689 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13690 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13691 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13692 (R_RISCV_NUM): Define.
13694 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13696 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13697 TLS declaration of errno.
13698 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13700 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13701 (ARCH_SETUP_TLS): Likewise.
13702 * sysdeps/mach/hurd/libc-start.h: New file copied from
13703 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13704 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13705 instead of __libc_setup_tls.
13706 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13707 __libc_setup_tls before initializing libpthread and running _hurd_init
13708 which starts the signal thread.
13709 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13711 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13713 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13716 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13717 after it is defined.
13719 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13720 Max Horn <max@quendi.de>
13724 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13726 * string/test-memmove.c (do_test2): New testcase.
13728 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13730 * sysdeps/generic/frame.h: Remove file.
13731 * sysdeps/arm/frame.h: Likewise.
13732 * sysdeps/hppa/frame.h: Likewise.
13733 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13735 (GET_FRAME): Likewise.
13736 (GET_STACK): Likewise.
13737 (CALL_SIGHANDLER): Likewise.
13738 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13740 (GET_FRAME): Likewise.
13741 (GET_STACK): Likewise.
13742 (CALL_SIGHANDLER): Likewise.
13743 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13745 (GET_FRAME): Likewise.
13746 (GET_STACK): Likewise.
13747 (CALL_SIGHANDLER): Likewise.
13748 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13750 (GET_FRAME): Likewise.
13751 (GET_STACK): Likewise.
13752 (ADVANCE_STACK_FRAME): Likewise.
13753 (CALL_SIGHANDLER): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13755 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13756 (GET_FRAME): Likewise.
13757 (GET_STACK): Likewise.
13758 (CALL_SIGHANDLER): Likewise.
13759 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13760 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13761 (GET_FRAME): Likewise.
13762 (GET_STACK): Likewise.
13763 (CALL_SIGHANDLER): Likewise.
13764 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13765 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13766 (GET_FRAME): Likewise.
13767 (GET_STACK): Likewise.
13768 (CALL_SIGHANDLER): Likewise.
13769 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13770 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13771 (GET_FRAME): Likewise.
13772 (GET_STACK): Likewise.
13773 (CALL_SIGHANDLER): Likewise.
13774 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13776 (GET_FRAME): Likewise.
13777 (GET_STACK): Likewise.
13778 (CALL_SIGHANDLER): Likewise.
13779 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13780 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13781 (GET_FRAME): Likewise.
13782 (GET_STACK): Likewise.
13783 (CALL_SIGHANDLER): Likewise.
13784 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13785 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13786 (GET_FRAME): Likewise.
13787 (GET_STACK): Likewise.
13788 (CALL_SIGHANDLER): Likewise.
13789 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13790 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13791 (GET_FRAME): Likewise.
13792 (GET_STACK): Likewise.
13793 (CALL_SIGHANDLER): Likewise.
13794 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13795 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13796 (GET_FRAME): Likewise.
13797 (GET_STACK): Likewise.
13798 (CALL_SIGHANDLER): Likewise.
13799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13800 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13801 (FIRST_FRAME_POINTER): Likewise.
13802 (ADVANCE_STACK_FRAME): Likewise.
13803 (GET_STACK): Likewise.
13804 (GET_FRAME): Likewise.
13805 (CALL_SIGHANDLER): Likewise.
13806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13807 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13808 (ADVANCE_STACK_FRAME): Likewise.
13809 (GET_STACK): Likewise.
13810 (GET_FRAME): Likewise.
13811 (CALL_SIGHANDLER): Likewise.
13812 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13813 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13814 (GET_FRAME): Likewise.
13815 (GET_STACK): Likewise.
13816 (CALL_SIGHANDLER): Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13818 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13819 (GET_FRAME): Likewise.
13820 (GET_STACK): Likewise.
13821 (CALL_SIGHANDLER): Likewise.
13823 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13825 * sysdeps/x86_64/backtrace.c: Move to ....
13826 * debug/backtrace.c: ... here.
13827 * sysdeps/aarch64/backtrace.c: Remove file.
13828 * sysdeps/alpha/backtrace.c: Likewise.
13829 * sysdeps/hppa/backtrace.c: Likewise.
13830 * sysdeps/ia64/backtrace.c: Likewise.
13831 * sysdeps/mips/backtrace.c: Likewise.
13832 * sysdeps/nios2/backtrace.c: Likewise.
13833 * sysdeps/riscv/backtrace.c: Likewise.
13834 * sysdeps/sh/backtrace.c: Likewise.
13835 * sysdeps/tile/backtrace.c: Likewise.
13837 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13840 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13843 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13846 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13847 possibly overflowing computations.
13849 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13851 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13852 values from Linux-specific section now that it is in the GNU section.
13853 * sysdeps/gnu/errlist.c: Regenerate.
13855 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13857 * math/Makefile (libm-narrow-fns): Add sub.
13858 (libm-test-funcs-narrow): Likewise.
13859 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13860 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13861 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13862 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13863 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13864 (NARROW_SUB_TRIVIAL): Likewise.
13865 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13867 (__dsubl): Likewise.
13868 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13870 (CFLAGS-nldbl-dsub.c): New variable.
13871 (CFLAGS-nldbl-fsub.c): Likewise.
13872 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13874 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13876 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13877 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13878 * math/auto-libm-test-in: Add tests of sub.
13879 * math/auto-libm-test-out-narrow-sub: New generated file.
13880 * math/libm-test-narrow-sub.inc: New file.
13881 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13884 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13885 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13886 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13895 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13896 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13897 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13898 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13900 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13928 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13931 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13933 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13935 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13937 2018-03-18 Richard Braun <rbraun@sceen.net>
13939 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13942 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13944 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13945 (__libc_cleanup_fct): Define function.
13946 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13947 __libc_cleanup_end): Rewrite implementation using
13948 __attribute__ ((__cleanup__)).
13949 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13950 * hurd/Makefile (routines): Add hurdlock.
13951 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13953 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13954 * hurd/hurdpid.c: Include <lowlevellock.h>
13955 (_S_msg_proc_newids): Use lll_wait to synchronize.
13956 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13957 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13958 * mach/Makefile (lock-headers): Remove machine-lock.h.
13959 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13961 (__spin_lock_t): New type.
13962 (__SPIN_LOCK_INITIALIZER): New macro.
13963 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13964 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13965 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13966 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13967 (__mutex_init): Initialize with lll.
13968 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13969 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13971 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13972 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13973 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13974 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13975 (__setpgid): Use lll for synchronization.
13976 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13977 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13978 instead of <cthreads.h>.
13979 (_IO_lock_inexpensive): New macro
13980 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13981 (__libc_lock_self0): New declaration.
13982 (__libc_lock_owner_self): New macro.
13983 (__libc_key_t): Remove type.
13984 (_LIBC_LOCK_INITIALIZER): New macro.
13985 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13986 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13987 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13988 __libc_lock_define_initialized_recursive,
13989 __rtld_lock_define_initialized_recursive,
13990 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13991 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13992 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13993 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13994 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13995 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13996 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13998 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13999 * hurd/hurdlock.c: New file.
14000 * hurd/hurdlock.h: New file.
14001 * mach/lowlevellock.h: New file
14003 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14005 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14007 when opening a symlink with O_NOFOLLOW.
14008 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14009 path when flags contains O_NOFOLLOW.
14010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14011 if flags contains O_DIRECTORY and the result is a directory.
14012 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14013 oneself when the pointer given in D is nul (as set by ext2fs).
14014 * sysdeps/mach/hurd/mlockall.c: New file.
14015 * sysdeps/mach/hurd/munlockall.c: New file.
14017 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14019 * hurd/hurdsig.c: Include <pthread.h>.
14020 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14021 get the signal thread stack layout.
14022 * hurd/Makefile (headers): Remove threadvar.h.
14023 (inline-headers): Remove threadvar.h.
14024 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14025 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14026 __hurd_threadvar_max, __hurd_errno_location.
14027 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14028 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14029 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14030 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14031 unless TLS is not initialized yet, in which case we do not need a
14032 critical section yet anyway.
14033 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14035 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14037 (__hurd_threadvar_index): Remove enum.
14038 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14039 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14041 (__hurd_reply_port0): New variable declaration.
14042 (__hurd_local_reply_port): New macro.
14043 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14044 (interrupted_reply_port_location): Add thread_t parameter. Use it
14045 with THREAD_TCB to access thread-local variables.
14046 (_hurdsig_abort_rpcs): Pass ss->thread to
14047 interrupted_reply_port_location.
14048 (_hurd_internal_post_signal): Likewise.
14049 (_hurdsig_init): Use presence of cthread_fork instead of
14050 __hurd_threadvar_stack_mask to start signal thread by hand.
14051 Remove signal thread threadvar initialization.
14052 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14053 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14054 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14056 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14058 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14059 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14060 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14061 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14062 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14063 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14064 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14066 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14067 <hurd/threadvar.h>.
14068 [IS_IN(rtld)] (rtld_errno): New variable.
14069 [IS_IN(rtld)] (__errno_location): New weak function.
14070 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14071 * sysdeps/mach/hurd/errno.c: Remove file.
14072 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14073 (__fork): Remove THREADVAR_SPACE macro and its use.
14074 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14076 (init): Do not initialize threadvar.
14077 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14079 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14080 __hurd_local_reply_port instead of threadvar.
14081 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14082 _hurd_sigstate fields.
14083 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14084 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14085 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14086 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14087 instead of threadvar.
14088 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14089 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14090 (use_threadvar, global_reply_port): Remove variables.
14091 (__hurd_reply_port0): New variable.
14092 (__mig_get_reply_port): Use __hurd_local_reply_port and
14093 __hurd_reply_port0 instead of threadvar.
14094 (__mig_dealloc_reply_port): Likewise.
14095 (__mig_init): Do not initialize threadvar.
14096 * sysdeps/mach/hurd/profil.c: Fix comment.
14097 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14098 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14099 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14100 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14101 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14102 __cthread_setspecific.
14103 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14104 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14105 __cthread_t instead of cthread_fork, cthread_detach,
14106 pthread_getattr_np, pthread_attr_getstack.
14107 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14108 __cthread_keycreate.
14109 (cthread_getspecific): Rename to __cthread_getspecific.
14110 (cthread_setspecific): Rename to __cthread_setspecific.
14111 (__libc_getspecific): Use __cthread_getspecific instead of
14112 cthread_getspecific.
14113 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14114 __cthread_keycreate instead of cthread_keycreate.
14115 (__libc_setspecific): Use __cthread_setspecific instead of
14116 cthread_setspecific.
14117 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14120 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14121 testing whether it is defined.
14123 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14125 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14127 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14128 * sysdeps/mach/i386/thread_state.h
14129 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14131 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14133 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14135 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14136 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14138 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14140 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14141 descriptor instead of creating a new one.
14142 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14144 * mach/setup-thread.c: Include <ldsodefs.h>.
14145 (__mach_setup_thread): Call _dl_allocate_tls, pass
14146 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14147 MACHINE_THREAD_STATE_FLAVOR, before getting
14148 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14149 MACHINE_THREAD_STATE_FLAVOR with the result.
14150 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14151 MACHINE_THREAD_STATE_FIX_NEW.
14152 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14153 too. Add original thread parameter.
14155 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14157 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14158 Remove inline function.
14160 * sysdeps/i386/fpu/libm-test-ulps: Update.
14161 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14163 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14165 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14168 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14170 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14171 (__sincos_code): Remove define and undefine.
14172 [__FAST_MATH__] (__sincos): Remove inline function.
14173 [__FAST_MATH__] (__sincosf): Remove inline function.
14174 [__FAST_MATH__] (__sincosl): Remove inline function.
14175 (__atan2l): Remove inline functions.
14176 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14177 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14179 (floor): Remove inline function.
14181 [__FAST_MATH__] (__ldexp_code): Remove macro.
14182 [__FAST_MATH__] (ldexp): Remove inline function.
14183 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14184 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14185 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14186 [__USE_ISOC99] (__lrint_code): Remove macro.
14187 [__USE_ISOC99] (__llrint_code): Likewise.
14188 [__USE_ISOC99] (lrintf): Remove inline function.
14189 [__USE_ISOC99] (lrint): Likewise.
14190 [__USE_ISOC99] (lrintl): Likewise.
14191 [__USE_ISOC99] (llrint): Likewise.
14192 [__USE_ISOC99] (llrintf): Likewise.
14193 [__USE_ISOC99] (llrintl): Likewise.
14195 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14197 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14198 (__ieee754_sqrtf): Remove.
14199 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14200 (__ieee754_sqrtf): Remove.
14201 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14202 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14203 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14204 (__ieee754_sqrtf): Remove.
14205 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14206 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14209 (__ieee754_sqrt): Remove.
14210 (__ieee754_sqrtf): Remove.
14211 (__ieee754_sqrtl): Remove.
14212 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14213 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14214 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14215 (__ieee754_sqrtf): Remove.
14216 (__ieee754_sqrtl): Remove.
14218 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14220 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14221 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14222 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14223 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14224 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14225 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14226 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14227 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14229 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14230 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14231 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14232 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14233 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14234 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14235 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14236 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14237 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14238 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14239 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14242 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14243 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14246 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14258 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14259 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14260 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14261 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14262 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14263 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14265 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14266 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14267 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14268 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14270 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14272 * include/math.h (sqrt): Declare with asm redirect.
14275 (sqrtf128): Likewise.
14276 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14277 nonlib and libnldbl with -fmath-errno.
14278 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14279 * math/w_sqrt_template.c: Likewise.
14280 * math/w_sqrtf_compat.c: Likewise.
14281 * math/w_sqrtl_compat.c: Likewise.
14282 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14283 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14284 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14287 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14289 * benchtests/Makefile: Define _ISOMAC.
14290 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14291 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14292 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14293 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14294 * benchtests/bench-timing.h: Define attribute_hidden.
14296 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14298 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14301 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14304 * localedata/locales/cs_CZ (mon): Rename to...
14306 (mon): Import from CLDR (genitive case).
14308 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14311 * localedata/locales/el_CY (abmon): Rename to...
14312 (ab_alt_mon): This.
14313 (abmon): Import from CLDR (abbreviated genitive case).
14314 * localedata/locales/el_GR (abmon): Rename to...
14315 (ab_alt_mon): This.
14316 (abmon): Import from CLDR (abbreviated genitive case).
14318 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14321 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14323 2018-03-15 Robert Buj <robert.buj@gmail.com>
14326 * localedata/locales/ca_ES (abmon): Rename to...
14327 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14328 (mon): Rename to...
14330 (abmon): Import from CLDR (genitive case, month names preceded by
14333 (abday): Synchronize with CLDR.
14334 (d_t_fmt): Likewise.
14338 (LC_TIME): Improve indentation.
14339 (LC_TELEPHONE): Likewise.
14340 (LC_NAME): Likewise.
14341 (LC_ADDRESS): Likewise.
14343 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14345 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14346 (lrintf): Remove definitions used only with old GCC.
14347 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14348 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14349 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14350 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14351 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14352 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14353 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14354 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14355 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14356 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14357 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14358 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14359 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14360 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14361 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14362 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14365 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14366 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14367 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14368 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14369 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14370 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14371 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14372 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14373 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14374 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14376 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14378 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14379 instruction to unbreak builds with binutils 2.26 and older.
14381 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14383 * sysdeps/aarch64/strncmp.S (count): New macro.
14384 (strncmp): Store misaligned length in SRC1 in COUNT.
14385 (mutual_align): Adjust.
14386 (misaligned8): Load dword at a time when it is safe.
14388 2018-03-12 Zack Weinberg <zackw@panix.com>
14392 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14393 if the _IO_EOF_SEEN bit is already set; update commentary.
14394 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14395 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14397 * support/support_openpty.c, support/tty.h: New files.
14398 * support/Makefile (libsupport-routines): Add support_openpty.
14400 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14402 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14403 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14405 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14407 * po/pt_BR.po: Update translations.
14409 2018-03-12 David Michael <fedora.dm0@gmail.com>
14411 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14412 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14413 get a port to the startup server.
14415 2018-03-11 Zack Weinberg <zackw@panix.com>
14417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14418 before nldbl-compat.h.
14420 2018-03-10 Zack Weinberg <zackw@panix.com>
14422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14423 math.h or math_private.h.
14425 * sysdeps/alpha/fpu/s_isnan.c
14426 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14427 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14432 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14433 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14434 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14440 Include math_private.h.
14442 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14443 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14444 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14445 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14446 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14447 * sysdeps/powerpc/power7/fpu/s_logb.c:
14448 Include math.h and math_private.h.
14450 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14451 uses of $at in .set noat / .set at.
14453 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14455 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14456 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14457 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14458 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14461 2018-03-09 Florian Weimer <fweimer@redhat.com>
14463 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14466 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14469 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14470 Add nop before __startcontext, add explaining comments.
14472 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14475 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14477 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14479 Do not build hardware transactional code for __SPE__.
14480 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14481 (__lll_trylock_elision): Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14483 (__lll_unlock_elision): Likewise.
14485 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14486 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14487 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14488 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14489 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14490 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14491 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14492 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14493 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14494 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14495 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14496 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14498 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14499 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14501 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14502 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14503 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14504 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14505 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14507 (__ASSUME_CLONE_BACKWARDS): Define.
14508 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14509 __clone2 if __NR_clone2 is defined.
14510 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14511 (__ASSUME_CLONE_BACKWARDS): Likewise.
14512 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14513 (__ASSUME_CLONE_BACKWARDS): Likewise.
14514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14515 (__ASSUME_CLONE2): Likewise.
14516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14517 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14518 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14519 variants and the define architecture can use.
14520 (__ASSUME_CLONE_DEFAULT): Define as default.
14521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14522 (__ASSUME_CLONE_BACKWARDS): Likewise.
14523 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14524 (__ASSUME_CLONE_BACKWARDS): Likewise.
14525 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14526 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14528 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14530 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14532 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14535 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14536 (do_test_limit): Likewise.
14538 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14539 for every implementation.
14540 (do_test): Likewise.
14542 * benchtests/bench-strncmp.c: Convert output to json.
14544 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14546 * io/futimens.c: Add missing start-of-file descriptive comment.
14547 * io/utime.c: Likewise.
14548 * misc/futimesat.c: Likewise.
14549 * misc/utimes.c: Likewise.
14550 * sysdeps/mach/hurd/futimesat.c: Likewise.
14551 * sysdeps/mach/hurd/utimes.c: Likewise.
14552 * sysdeps/posix/utime.c: Likewise.
14553 * sysdeps/posix/utimes.c: Likewise.
14554 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14555 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14556 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14557 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14559 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14561 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14563 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14564 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14565 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14566 (__futimens): Move implementation to...
14567 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14568 utime_tvalue_from_tspec): ... new helper functions.
14569 (hurd_futimens): New function.
14570 * sysdeps/mach/hurd/futimesat.c: New file.
14571 * sysdeps/mach/hurd/utimensat.c: New file.
14573 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14575 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14576 UTIME_OMIT): New macros.
14577 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14578 before reverting to converting time spec to time value and calling
14580 * sysdeps/mach/hurd/utime-helper.c: New file.
14581 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14582 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14583 reverting to utime_tvalue_from_tval and __file_utimes.
14584 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14585 (__lutimes): Just call hurd_futimens after lookup.
14586 * sysdeps/mach/hurd/utimes.c: Likewise.
14588 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14590 * bits/sigaction.h: Add include guard.
14591 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14592 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14593 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14594 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14595 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14596 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14597 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14598 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14599 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14601 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14603 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14604 -Wmaybe-uninitialized for -Os.
14605 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14608 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14610 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14611 __INO_T_MATCHES_INO64_T is defined.
14612 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14613 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14615 * dirent/alphasort64.c: Likewise.
14616 * dirent/scandir.c: Likewise.
14617 * dirent/scandir64-tail.c: Likewise.
14618 * dirent/scandir64.c: Likewise.
14619 * dirent/scandirat.c: Likewise.
14620 * dirent/scandirat64.c: Likewise.
14621 * dirent/versionsort.c: Likewise.
14622 * dirent/versionsort64.c: Likewise.
14623 * include/dirent.h: Likewise.
14625 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14626 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14627 for socketpair endpoint.
14628 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14629 WRITE_BUFFER_SIZE as buffer size for sending socket.
14630 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14631 issue on system where send is implemented with sendto syscall.
14632 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14633 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14634 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14635 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14638 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14639 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14640 sa_restorer for vDSO case.
14641 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14643 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14645 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14646 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14647 * hurd/hurd/ioctl.h: Include <mach/port.h>
14648 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14649 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14650 <mach/mach_types.h> and <mach/message.h>.
14651 (headers): Move mach/param.h to bits/mach/param.h.
14652 * sysdeps/mach/i386/mach/param.h: Move file to ...
14653 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14654 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14656 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14657 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14658 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14659 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14660 trivial, for C++ conformity.
14661 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14662 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14663 Process mig output through $(migheadersed).
14664 * hurd/Makefile (migheadersed): Define variable.
14665 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14666 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14668 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14669 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14670 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14671 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14672 <bits/types/sigset_t.h>.
14673 [!defined __USE_GNU]: Do not #error out.
14674 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14675 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14676 Include <stddef.h> and <bits/types/sigset_t.h>
14677 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14678 instead of sighandler_t.
14679 * stdlib/errno.h (error_t): Move definition to...
14680 * bits/types/error_t.h: ... new header.
14681 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14682 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14683 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14684 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14685 * hurd/hurd.h: Include <bits/types/error_t.h>
14686 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14687 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14688 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14689 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14690 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14691 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14692 * sysdeps/mach/hurd/futimens.c: New file.
14694 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14697 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14698 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14699 * nscd/gai.c (__nss_hosts_database): Readd definition.
14700 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14701 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14702 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14704 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14706 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14707 (ifunc_one): Likewise.
14709 2018-03-01 DJ Delorie <dj@delorie.com>
14712 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14715 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14717 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14718 `match_pid' parameter.
14719 (td_ta_thr_iter): Update accordingly.
14721 2018-03-01 Florian Weimer <fweimer@redhat.com>
14723 * nptl/Makefile (install-lib-ldscripts): Remove.
14724 (install): Remove rule.
14725 ($(inst_libdir)/libpthread.so): Likewise.
14727 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14730 * localedata/locales/an_ES: update month and day names,
14731 improve d_fmt, improve postal_fmt, add country_post,
14734 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14736 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14737 Ukrainian instead of Bulgarian.
14739 2018-03-01 Florian Weimer <fweimer@redhat.com>
14741 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14744 2018-03-01 Florian Weimer <fweimer@redhat.com>
14746 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14747 * nptl/Makefile (routines): Add pthread_atfork.
14748 (static-only-routines): Set to pthread_atfork.
14749 (libpthread-routines): Remove pthread_atfork.
14750 (libpthread-static-only-routines): Remove.
14751 (install): Update comment.
14752 (libpthread.so): Do not install libpthread_nonshared.a.
14753 (tests): Do not link with libpthread_nonshared.a.
14754 (generated): Remove libpthread_nonshared.a.
14755 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14756 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14757 with libpthread_nonshared.a.
14759 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14762 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14763 (libc_feholdexcept_setroundf128): New macro.
14764 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14767 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14769 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14770 * include/inttypes.h: New file.
14772 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14774 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14775 -Os in two more places.
14777 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14779 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14780 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14781 be sorted correctly at the moment because of a bug.
14783 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14785 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14786 treat ñ as a primary different character, sync the collation
14787 for Spanish with CLDR.
14788 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14789 * localedata/Makefile: Add new test files.
14790 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14791 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14793 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14794 * localedata/am_ET.UTF-8.in: New test file.
14795 * localedata/az_AZ.UTF-8.in: Likewise.
14796 * localedata/be_BY.UTF-8.in: Likewise.
14797 * localedata/ber_DZ.UTF-8.in: Likewise.
14798 * localedata/ber_MA.UTF-8.in: Likewise.
14799 * localedata/bg_BG.UTF-8.in: Likewise.
14800 * localedata/br_FR.UTF-8.in: Likewise.
14801 * localedata/cmn_TW.UTF-8.in: Likewise.
14802 * localedata/crh_UA.UTF-8.in: Likewise.
14803 * localedata/csb_PL.UTF-8.in: Likewise.
14804 * localedata/cv_RU.UTF-8.in: Likewise.
14805 * localedata/cy_GB.UTF-8.in: Likewise.
14806 * localedata/dz_BT.UTF-8.in: Likewise.
14807 * localedata/eo.UTF-8.in: Likewise.
14808 * localedata/es_ES.UTF-8.in: Likewise.
14809 * localedata/fa_IR.UTF-8.in: Likewise.
14810 * localedata/fi_FI.UTF-8.in: Likewise.
14811 * localedata/fil_PH.UTF-8.in: Likewise.
14812 * localedata/fur_IT.UTF-8.in: Likewise.
14813 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14814 * localedata/ha_NG.UTF-8.in: Likewise.
14815 * localedata/ig_NG.UTF-8.in: Likewise.
14816 * localedata/ik_CA.UTF-8.in: Likewise.
14817 * localedata/kk_KZ.UTF-8.in: Likewise.
14818 * localedata/ku_TR.UTF-8.in: Likewise.
14819 * localedata/ky_KG.UTF-8.in: Likewise.
14820 * localedata/ln_CD.UTF-8.in: Likewise.
14821 * localedata/mi_NZ.UTF-8.in: Likewise.
14822 * localedata/ml_IN.UTF-8.in: Likewise.
14823 * localedata/mn_MN.UTF-8.in: Likewise.
14824 * localedata/mr_IN.UTF-8.in: Likewise.
14825 * localedata/mt_MT.UTF-8.in: Likewise.
14826 * localedata/nb_NO.UTF-8.in: Likewise.
14827 * localedata/om_KE.UTF-8.in: Likewise.
14828 * localedata/os_RU.UTF-8.in: Likewise.
14829 * localedata/ps_AF.UTF-8.in: Likewise.
14830 * localedata/ro_RO.UTF-8.in: Likewise.
14831 * localedata/ru_RU.UTF-8.in: Likewise.
14832 * localedata/sc_IT.UTF-8.in: Likewise.
14833 * localedata/se_NO.UTF-8.in: Likewise.
14834 * localedata/sq_AL.UTF-8.in: Likewise.
14835 * localedata/sv_SE.UTF-8.in: Likewise.
14836 * localedata/szl_PL.UTF-8.in: Likewise.
14837 * localedata/tg_TJ.UTF-8.in: Likewise.
14838 * localedata/tk_TM.UTF-8.in: Likewise.
14839 * localedata/tt_RU.UTF-8.in: Likewise.
14840 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14841 * localedata/ug_CN.UTF-8.in: Likewise.
14842 * localedata/uz_UZ.UTF-8.in: Likewise.
14843 * localedata/vi_VN.UTF-8.in: Likewise.
14844 * localedata/yi_US.UTF-8.in: Likewise.
14845 * localedata/yo_NG.UTF-8.in: Likewise.
14846 * localedata/zh_CN.UTF-8.in: Likewise.
14847 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14848 file and fix bugs in the collation.
14849 * localedata/locales/az_AZ: Likewise.
14850 * localedata/locales/be_BY: Likewise.
14851 * localedata/locales/ber_DZ: Likewise.
14852 * localedata/locales/ber_MA: Likewise.
14853 * localedata/locales/bg_BG: Likewise.
14854 * localedata/locales/br_FR: Likewise.
14855 * localedata/locales/br_FR@euro: Likewise.
14856 * localedata/locales/ca_ES: Likewise.
14857 * localedata/locales/cns11643_stroke: Likewise.
14858 * localedata/locales/crh_UA: Likewise.
14859 * localedata/locales/cs_CZ: Likewise.
14860 * localedata/locales/csb_PL: Likewise.
14861 * localedata/locales/cv_RU: Likewise.
14862 * localedata/locales/cy_GB: Likewise.
14863 * localedata/locales/da_DK: Likewise.
14864 * localedata/locales/dz_BT: Likewise.
14865 * localedata/locales/en_CA: Likewise.
14866 * localedata/locales/eo: Likewise.
14867 * localedata/locales/es_CU: Likewise.
14868 * localedata/locales/es_EC: Likewise.
14869 * localedata/locales/es_ES: Likewise.
14870 * localedata/locales/es_US: Likewise.
14871 * localedata/locales/et_EE: Likewise.
14872 * localedata/locales/fa_IR: Likewise.
14873 * localedata/locales/fi_FI: Likewise.
14874 * localedata/locales/fil_PH: Likewise.
14875 * localedata/locales/fur_IT: Likewise.
14876 * localedata/locales/gez_ER@abegede: Likewise.
14877 * localedata/locales/ha_NG: Likewise.
14878 * localedata/locales/hr_HR: Likewise.
14879 * localedata/locales/hsb_DE: Likewise.
14880 * localedata/locales/hu_HU: Likewise.
14881 * localedata/locales/ig_NG: Likewise.
14882 * localedata/locales/ik_CA: Likewise.
14883 * localedata/locales/is_IS: Likewise.
14884 * localedata/locales/iso14651_t1_pinyin: Likewise.
14885 * localedata/locales/kk_KZ: Likewise.
14886 * localedata/locales/ku_TR: Likewise.
14887 * localedata/locales/ky_KG: Likewise.
14888 * localedata/locales/ln_CD: Likewise.
14889 * localedata/locales/lt_LT: Likewise.
14890 * localedata/locales/lv_LV: Likewise.
14891 * localedata/locales/mi_NZ: Likewise.
14892 * localedata/locales/ml_IN: Likewise.
14893 * localedata/locales/mn_MN: Likewise.
14894 * localedata/locales/mr_IN: Likewise.
14895 * localedata/locales/mt_MT: Likewise.
14896 * localedata/locales/nb_NO: Likewise.
14897 * localedata/locales/om_KE: Likewise.
14898 * localedata/locales/os_RU: Likewise.
14899 * localedata/locales/pl_PL: Likewise.
14900 * localedata/locales/ps_AF: Likewise.
14901 * localedata/locales/ro_RO: Likewise.
14902 * localedata/locales/ru_RU: Likewise.
14903 * localedata/locales/ru_UA: Likewise.
14904 * localedata/locales/sc_IT: Likewise.
14905 * localedata/locales/se_NO: Likewise.
14906 * localedata/locales/si_LK: Likewise.
14907 * localedata/locales/sq_AL: Likewise.
14908 * localedata/locales/sv_FI: Likewise.
14909 * localedata/locales/sv_FI@euro: Likewise.
14910 * localedata/locales/sv_SE: Likewise.
14911 * localedata/locales/szl_PL: Likewise.
14912 * localedata/locales/tg_TJ: Likewise.
14913 * localedata/locales/ti_ER: Likewise.
14914 * localedata/locales/tk_TM: Likewise.
14915 * localedata/locales/tl_PH: Likewise.
14916 * localedata/locales/tr_TR: Likewise.
14917 * localedata/locales/tt_RU: Likewise.
14918 * localedata/locales/tt_RU@iqtelif: Likewise.
14919 * localedata/locales/ug_CN: Likewise.
14920 * localedata/locales/uk_UA: Likewise.
14921 * localedata/locales/uz_UZ: Likewise.
14922 * localedata/locales/uz_UZ@cyrillic: Likewise.
14923 * localedata/locales/vi_VN: Likewise.
14924 * localedata/locales/yi_US: Likewise.
14925 * localedata/locales/yo_NG: Likewise.
14927 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14929 * gen-locales.mk: Make test files which contain @ modifiers in their
14931 * localedata/gen-locale.sh: Likewise.
14933 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14935 * posix/tst-fnmatch.input: Fix results for range expressions
14937 * posix/tst-regexloc.c: Do not use a range expression for
14938 de_DE.ISO-8859-1 locale.
14940 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14942 * posix/bug-regex5.c: Fix test case because with the new
14943 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14944 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14949 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14950 downloaded from ISO, the collation order of @-. and space has changed.
14951 Therefore, this test file needed to be adapted.
14952 * localedata/fr_CA.UTF-8.in: Likewise.
14953 * localedata/fr_FR.UTF-8.in: Likewise.
14954 * localedata/uk_UA.UTF-8.in: Likewise.
14956 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14958 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14959 order of ȥ in the new iso14651_t1_common file.
14960 * localedata/pl_PL.UTF-8.in: Likewise.
14962 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14964 * localedata/locales/iso14651_t1_common: Add sections for various
14965 scripts to the iso14651_t1_common file.
14967 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14969 * localedata/locales/iso14651_t1_common: Use the code point of a
14970 character in the fourth collation level instead of IGNORE for all
14971 entries which have IGNORE on all 4 levels.
14973 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14975 * localedata/locales/iso14651_t1_common: Add some convenient collation
14976 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14977 rules similar to those in CLDR.
14979 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14981 * localedata/locales/iso14651_t1_common: The new version of this
14982 file downloaded from ISO contained several syntax errors which
14983 are fixed by this patch.
14985 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14987 * localedata/locales/iso14651_t1_common: replace all <U.....>
14988 with <U000.....> because glibc understands only 4 digit or 8 digit
14990 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14992 * localedata/locales/iso14651_t1_common: Necessary changes
14993 to make the file downloaded from ISO usable by glibc.
14995 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14998 * localedata/locales/iso14651_t1_common: Update file to
14999 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15001 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15003 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15004 of <nptl/pthreadP.h>
15005 (thread_attr_compare): Move function to...
15006 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15007 * sysdeps/nptl/timer_routines.h: ... new header.
15008 * sysdeps/mach/hurd/gai_misc.h: New file.
15010 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15012 * string/strcoll_l.c: Include <libc-diag.h>.
15013 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15014 declarations of seq1 and seq2.
15017 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15018 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15020 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15025 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15026 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15027 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15028 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15029 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15031 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15033 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15034 macros used in __ptrace_request.
15036 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15039 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15041 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15042 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15046 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15049 * ctype/ctype.c (tolower): Use libc_hidden_def.
15050 (toupper): Likewise.
15051 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15052 [!_ISOMAC] (toupper): Likewise.
15054 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15056 * localedata/Makefile: Remove --quiet argument when
15059 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15062 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15064 * localedata/locales/pt_PT (LC_TIME): likewise
15066 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15069 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15070 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15071 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15073 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15077 * nptl/Makefile (routines): Remove unregister-atfork.
15078 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15079 (fork_handler_alloc): Remove function.
15080 (fork_handlers, fork_handler_init): New variables.
15081 (__fork_lock): Rename to atfork_lock.
15082 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15083 to use a dynamic array to add/remove atfork handlers.
15084 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15085 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15086 Remove declaration.
15087 (fork_handler): Remove next, refcntr, and need_signal member.
15088 (__run_fork_handler_type): New enum.
15089 (__run_fork_handlers): New prototype.
15090 * nptl/register-atfork.c: Remove file.
15091 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15093 * sysdeps/nptl/nptl-signals.h: Move to ...
15094 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15096 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15097 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15098 unnecessary check for SIGTIMER.
15099 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15100 remove unnecessary removal of SIGTIMER.
15101 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15102 include-signals.h rename.
15103 * nptl/pthreadP.h: Likewise.
15104 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15105 __is_internal_signal instead of __nptl_is_internal_signal.
15107 2018-02-22 Andrew Waterman <andrew@sifive.com>
15110 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15111 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15112 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15113 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15115 2018-02-22 DJ Delorie <dj@delorie.com>
15117 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15119 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15121 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15122 do_misaligned, not misaligned8.
15124 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15126 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15127 Add memcpy_thunderx2.
15128 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15130 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15131 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15132 and IS_THUNDERX2PA checks.
15133 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15134 Use macro to set name appropriately.
15135 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15136 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15137 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15139 (IS_THUNDERX2): New macro.
15141 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15143 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15145 2018-02-21 Zack Weinberg <zackw@panix.com>
15147 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15148 Define here, unconditionally.
15149 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15150 * libio/libioP.h: Remove #if 0 blocks.
15151 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15152 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15153 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15155 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15156 Assume weak_alias is always defined.
15158 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15159 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15160 Remove #if 0 and #ifdef TODO blocks.
15161 Assume text_set_element is always defined.
15163 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15164 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15165 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15167 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15168 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15169 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15170 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15171 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15172 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15173 Reformat bit flags for _flags field to make occupancy clearer.
15175 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15176 Keep definitions consistent with those in libio/libio.h.
15178 * libio/libio.h (_IO_file_flags): Remove macro.
15179 All uses changed to _flags.
15181 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15182 (__HAVE_COLUMN, _IO_BE): Don't define.
15183 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15184 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15185 * libio/libioP.h (EOF): Don't define.
15186 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15187 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15188 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15189 testing _IO_UNIFIED_JUMPTABLES.
15191 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15192 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15193 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15194 (_IO_size_t): Delete; all uses changed to size_t.
15195 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15196 (_IO_off_t): Delete; all uses changed to off_t.
15197 (_IO_off64_t): Delete; all uses changed to off64_t.
15198 (_IO_pid_t): Delete; all uses changed to pid_t.
15199 (_IO_uid_t): Delete; all uses changed to uid_t.
15200 (_IO_wint_t): Delete; all uses changed to wint_t.
15201 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15202 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15203 (_IO_cookie_io_functions_t): Delete; all uses changed to
15204 cookie_io_functions_t.
15205 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15206 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15207 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15208 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15210 * libio/iofopncook.c: Remove unnecessary forward declarations.
15211 * libio/iolibio.h: Correct outdated commentary.
15212 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15213 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15214 Remove unnecessary casts.
15215 * stdio-common/getline.c: Use _IO_getdelim directly.
15216 Don't redefine ssize_t.
15217 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15218 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15219 Remove outdated comments.
15220 * stdio-common/vfscanf.c: Don't redefine va_list.
15222 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15223 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15224 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15225 which are always true, and __cplusplus, which is always false.
15227 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15231 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15232 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15233 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15234 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15236 [!_ISOMAC] (putc_unlocked): Likewise.
15237 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15238 define inline if [__USE_EXTERN_INLINES].
15239 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15244 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15245 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15246 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15247 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15248 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15250 * time/tzfile.c (__tzfile_read): Likewise.
15252 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15255 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15257 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15259 * io/fcntl.h: Fix a typo in a comment.
15261 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15264 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15265 define _DEFAULT_SOURCE.
15266 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15268 2018-02-21 Florian Weimer <fweimer@redhat.com>
15271 * elf/cache.c (save_cache): Call fsync on temporary file before
15273 (save_aux_cache): Call fdatasync on temporary file before renaming
15276 2018-02-21 Florian Weimer <fweimer@redhat.com>
15279 * include/caller.h: Remove file.
15280 * elf/dl-caller.c: Likewise.
15281 * elf/Makefile (dl-routines): Remove dl-caller.
15282 (shared-only-routines): Do not add dl-caller.
15283 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15285 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15287 (dl_open_worker): Do not call __check_caller.
15288 (_dl_open): Do not set caller_dl_open member.
15289 * elf/rtld.c (_rtld_global_ro): Do not initialize
15290 _dl_check_caller member.
15291 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15292 _dl_check_caller member.
15293 (_dl_check_caller): Remove declaration.
15294 * sysdeps/unix/sysv/linux/dl-execstack.c
15295 (_dl_make_stack_executable): Do not call __check_caller.
15297 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15299 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15300 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15302 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15304 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15307 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15310 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15311 of 199606L, 200112L, and 200809L.
15312 (_XOPEN_SOURCE): Document special values of 600 and 700.
15313 (_ISOC11_SOURCE): Document macro.
15314 (_ATFILE_SOURCE): Likewise.
15315 (_FORTIFY_SOURCE): Likewise.
15317 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15321 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15322 and define as weak alias of __ferror_unlocked. Use
15324 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15326 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15327 function if [__USE_EXTERN_INLINES].
15328 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15331 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15334 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15336 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15339 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15340 the GLIBC_2.1 version.
15342 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15345 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15346 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15347 intl/tst-gettext-de.po from po/de.po by removing the
15348 POT-Creation-Date line.
15349 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15351 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15354 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15356 * mach/Makefile (headers): Add mach/param.h.
15357 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15358 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15359 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15360 (__ptsname_r): Move implementation to...
15361 (__ptsname_internal): ... new function. Add filling the STP
15364 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15366 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15369 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15371 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15374 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15376 * nptl/Makefile (tst-mutex8-ENV): Delete.
15377 * nptl/tst-mutex8.c (check_type):
15378 Add runtime check if mutex will be elided.
15380 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15384 * manual/install.texi (Configuring and compiling): Describe
15385 passing CC and CFLAGS on configure command line, not as
15386 environment variables. Use @code markup on those variables.
15387 Specify what options go in CC and what go in CFLAGS. Note the
15388 requirement to compile with optimization.
15389 * INSTALL: Regenerated.
15392 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15393 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15394 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15395 __sigprocmask instead of sigprocmask.
15396 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15398 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15399 __sigsetjmp and sigprocmask.
15402 * include/argz.h (argz_next): Use libc_hidden_proto.
15403 (__argz_next): Likewise.
15404 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15405 (argz_next): Use libc_hidden_weak.
15408 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15410 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15414 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15416 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15420 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15421 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15422 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15423 (__feof_unlocked): New declaration, and inline function if
15424 [__USE_EXTERN_INLINES].
15425 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15426 instead of feof_unlocked.
15427 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15428 * nss/nsswitch.c (nss_parse_file): Likewise.
15429 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15431 * time/getdate.c (__getdate_r): Likewise.
15432 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15433 Define as macro to call __feof_unlocked.
15435 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15437 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15439 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15441 * math/Makefile: Remove mpexp.c and mplog.c
15442 * sysdeps/i386/fpu/mpexp.c: Delete file.
15443 * sysdeps/i386/fpu/mplog.c: Likewise.
15444 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15445 * sysdeps/ia64/fpu/mplog.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15447 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15448 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15449 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15450 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15451 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15452 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15453 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15454 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15456 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15457 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15458 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15459 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15460 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15461 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15463 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15467 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15469 * sysdeps/sh/libm-test-ulps: Update.
15471 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15473 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15476 2018-02-12 Zack Weinberg <zackw@panix.com>
15479 * posix/sys/types.h: Don't include sys/sysmacros.h.
15480 * misc/sys/sysmacros.h: Remove the conditional deprecation
15481 warnings for the macros defined by this header.
15483 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15485 * manual/probes.texi: Remove slowexp probes.
15486 * math/Makefile: Remove slowexp.
15487 * sysdeps/generic/math_private.h (__slowexp): Remove.
15488 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15489 document error bounds.
15490 * sysdeps/i386/fpu/slowexp.c: Remove.
15491 * sysdeps/ia64/fpu/slowexp.c: Remove.
15492 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15493 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15494 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15495 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15496 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15497 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15498 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15500 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15501 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15504 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15507 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15508 * benchtests/pow-inputs: Update comment for slow path cases.
15509 * manual/probes.texi (slowpow_p10): Delete removed probe.
15510 (slowpow_p10): Likewise.
15511 * math/Makefile: Remove halfulp.c and slowpow.c.
15512 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15513 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15514 (__halfulp): Remove.
15515 (__slowpow): Remove.
15516 * sysdeps/i386/fpu/halfulp.c: Delete file.
15517 * sysdeps/i386/fpu/slowpow.c: Likewise.
15518 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15519 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15521 improve comments and add error analysis.
15522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15523 (power1): Remove function:
15524 (log1): Remove error argument, add error analysis.
15525 (my_log2): Remove function.
15526 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15527 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15528 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15529 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15530 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15531 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15532 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15533 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15534 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15535 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15536 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15537 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15538 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15539 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15541 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15543 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15544 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15546 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15549 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15550 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15551 and PTRACE_SETHBPREGS.
15553 2018-02-10 Zack Weinberg <zackw@panix.com>
15556 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15558 * malloc/tst-malloc-stats-cancellation.c: New test case.
15559 * malloc/Makefile: Add new test case.
15561 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15563 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15565 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15567 * math/Makefile (libm-narrow-fns): Add add.
15568 (libm-test-funcs-narrow): Likewise.
15569 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15570 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15571 * math/gen-auto-libm-tests.c (test_functions): Add add.
15572 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15573 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15574 (NARROW_ADD_TRIVIAL): Likewise.
15575 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15577 (__daddl): Likewise.
15578 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15580 (CFLAGS-nldbl-dadd.c): New variable.
15581 (CFLAGS-nldbl-fadd.c): Likewise.
15582 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15586 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15587 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15588 * math/auto-libm-test-in: Add tests of add.
15589 * math/auto-libm-test-out-narrow-add: New generated file.
15590 * math/libm-test-narrow-add.inc: New file.
15591 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15592 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15593 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15594 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15595 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15596 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15605 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15606 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15607 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15608 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15610 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15638 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15639 (f128-pairs): New variable.
15640 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15641 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15643 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15644 Also make tests add $(f128-loader-link) to gnulib-tests.
15646 2018-02-09 DJ Delorie <dj@redhat.com>
15649 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15650 64-bit ELF type for 64-bit ELF objects.
15652 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15654 * math/libm-test-driver.c (snan_tests_arg): New variable.
15655 * math/libm-test-support.h (snan_tests_arg): New declaration.
15656 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15658 * math/Makefile (test-type-pairs): New variable.
15659 (test-type-pairs-f64xf128-yes): Likewise.
15660 (tests): Add test-narrow-macros.
15661 (libm-test-funcs-narrow): New variable.
15662 (libm-test-c-narrow): Likewise.
15663 (generated): Add $(libm-test-c-narrow).
15664 (libm-tests-base-narrow): New variable.
15665 (libm-tests-narrow): Likewise.
15666 (libm-tests): Add $(libm-tests-narrow).
15667 (libm-tests-for-type): Handle $(libm-tests-narrow).
15668 (libm-test-c-narrow-obj): New variable.
15669 ($(libm-test-c-narrow-obj)): New rule.
15670 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15671 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15672 $(o-iterator) to set dependencies and CFLAGS.
15673 * math/gen-auto-libm-tests.c: Document use for narrowing
15675 (output_for_one_input_case): Take argument NARROW.
15676 (generate_output): Likewise. Update call to
15677 output_for_one_input_case.
15678 (main): Take --narrow option. Update call to generate_output.
15679 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15680 (apply_lit): Update call to _apply_lit.
15681 (apply_arglit): New function.
15682 (parse_args): Handle "a" arguments.
15683 (parse_auto_input): Handle format names using ":".
15684 * math/README.libm-test: Document "a" parameter type.
15685 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15686 (ARG_TYPE_TRUE_MIN): Likewise.
15687 (ARG_TYPE_MAX): Likwise.
15688 (ARG_MIN_EXP): Likewise.
15689 (ARG_MAX_EXP): Likewise.
15690 (ARG_MANT_DIG): Likewise.
15691 (TEST_COND_arg_ibm128): Likewise.
15692 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15693 (TEST_COND_arg_fmt): New macro.
15694 (init_max_error): Update prototype.
15695 * math/libm-test-support.c (test_ibm128): New variable.
15696 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15697 instead of using [TEST_COND_ibm128] conditional.
15698 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15699 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15700 [TEST_NARROW] (TEST_MSG): New definition.
15701 (arg_plus_zero): New macro.
15702 (arg_minus_zero): Likewise.
15703 (arg_plus_infty): Likewise.
15704 (arg_minus_infty): Likewise.
15705 (arg_qnan_value_pl): Likewise.
15706 (arg_qnan_value): Likewise.
15707 (arg_snan_value_pl): Likewise.
15708 (arg_snan_value): Likewise.
15709 (arg_max_value): Likewise.
15710 (arg_min_value): Likewise.
15711 (arg_min_subnorm_value): Likewise.
15712 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15713 (RUN_TEST_LOOP_aa_f): New macro.
15714 (TEST_SUFF): New macro.
15715 (TEST_SUFF_STR): Likewise.
15716 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15717 (TEST_COND_any_ibm128): New macro.
15718 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15719 this_func. Update call to init_max_error.
15720 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15721 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15722 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15723 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15724 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15725 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15726 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15727 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15728 * math/test-math-vector.h (TEST_NARROW): Likewise.
15729 * math/test-arg-double.h: New file.
15730 * math/test-arg-float128.h: Likewise.
15731 * math/test-arg-float32x.h: Likewise.
15732 * math/test-arg-float64.h: Likewise.
15733 * math/test-arg-float64x.h: Likewise.
15734 * math/test-arg-ldouble.h: Likewise.
15735 * math/test-math-narrow.h: Likewise.
15736 * math/test-narrow-macros.c: Likewise.
15737 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15738 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15739 test-narrow-macros-ldbl-64.
15740 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15742 * math/bits/mathcalls-narrow.h: New file.
15743 * include/bits/mathcalls-narrow.h: Likewise.
15744 * math/math-narrow.h: Likewise.
15745 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15746 (__MATHCALL_NARROW_ARGS_2): Likewise.
15747 (__MATHCALL_NARROW_ARGS_3): Likewise.
15748 (__MATHCALL_NARROW_NORMAL): Likewise.
15749 (__MATHCALL_NARROW_REDIR): Likewise.
15750 (__MATHCALL_NARROW): Likewise.
15751 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15752 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15754 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15755 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15756 (libm-narrow-fns): New variable.
15757 (libm-narrow-types-basic): Likewise.
15758 (libm-narrow-types-ldouble-yes): Likewise.
15759 (libm-narrow-types-float128-yes): Likewise.
15760 (libm-narrow-types-float128-alias-yes): Likewise.
15761 (libm-narrow-types): Likewise.
15762 (libm-routines): Add narrowing functions.
15763 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15764 (libc_feholdexcept_setroundf128): New macro.
15765 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15766 * sysdeps/ieee754/float128/float128_private.h: Include
15767 <math/math-narrow.h>.
15768 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15769 Undefine and redefine.
15770 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15771 (libm_alias_float_ldouble): Undefine and redefine.
15772 (libm_alias_double_ldouble): Likewise.
15774 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15776 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15778 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15781 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15783 * manual/creature.texi: Convert references to gcc.info to gcc.
15784 * manual/stdio.texi: Likewise.
15785 * manual/string.texi: Likewise.
15787 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15790 * posix/bits/types.h (__int_least8_t): New typedef.
15791 (__uint_least8_t): Likewise.
15792 (__int_least16_t): Likewise.
15793 (__uint_least16_t): Likewise.
15794 (__int_least32_t): Likewise.
15795 (__uint_least32_t): Likewise.
15796 (__int_least64_t): Likewise.
15797 (__uint_least64_t): Likewise.
15798 * sysdeps/generic/stdint.h (int_least8_t): Define using
15800 (int_least16_t): Define using __int_least16_t.
15801 (int_least32_t): Define using __int_least32_t.
15802 (int_least64_t): Define using __int_least64_t.
15803 (uint_least8_t): Define using __uint_least8_t.
15804 (uint_least16_t): Define using __uint_least16_t.
15805 (uint_least32_t): Define using __uint_least32_t.
15806 (uint_least64_t): Define using __uint_least64_t.
15807 * wcsmbs/uchar.h: Include <bits/types.h>.
15808 (char16_t): Define using __uint_least16_t conditional only on
15810 (char32_t): Define using __uint_least32_t conditional only on
15812 * wcsmbs/test-char-types.c: New file.
15813 * wcsmbs/Makefile (tests): Add test-char-types.
15815 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15818 2018-02-07 Zack Weinberg <zackw@panix.com>
15820 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15821 Delete all contents except for definitions of _G_HAVE_MMAP and
15822 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15823 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15824 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15827 * libio/libio.h: Don't include bits/_G_config.h here.
15828 Include stddef.h with __need_wchar_t defined. Include
15829 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15830 Define _IO_iconv_t here, directly.
15831 Don't define _IO_HAVE_ST_BLKSIZE.
15832 * libio/libioP.h: Include _G_config.h here. Move include of
15833 shlib-compat.h up with rest of includes. Simplify conditionals
15834 controlling definition of _IO_JUMPS_OFFSET.
15836 * csu/init.c: Remove always-true #if around entire file.
15837 Don't include stdio.h. Set _IO_stdin_used to hardwired
15838 constant 0x20001, and update commentary.
15839 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15840 Replace all uses of _G_va_list with __gnuc_va_list.
15841 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15842 instead of #if _IO_HAVE_ST_BLKSIZE.
15843 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15844 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15847 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15848 multiple-include guard to match.
15849 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15851 Remove preprocessor conditionals that are always true and/or
15852 redundant to other preprocessor conditionals in the same nest.
15853 Include shlib-compat.h unconditionally.
15854 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15855 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15856 defined after including stdio.h.
15857 Use __BEGIN_DECLS/__END_DECLS.
15859 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15860 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15861 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15863 2018-02-07 Zack Weinberg <zackw@panix.com>
15865 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15866 New single-type headers split from _G_config.h.
15867 * libio/bits/types/cookie_io_functions_t.h
15868 * libio/bits/types/struct_FILE.h
15869 New single-type headers split from libio.h.
15871 * libio/Makefile: Install the above new headers. Don't install
15872 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15874 * libio/_G_config.h, libio/libio.h: Delete file.
15876 * libio/bits/libio.h: Remove improper-inclusion guard.
15877 Include stdio.h and don't repeat anything that it does.
15878 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15879 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15880 __io_read_fn as cookie_read_function_t,
15881 __io_write_fn as cookie_write_function_t,
15882 __io_seek_fn as cookie_seek_function_t,
15883 __io_close_fn as cookie_close_function_t,
15884 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15885 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15886 here, in the "compatibility defines" section. Remove an #if 0
15887 block. Use the "body" macros from bits/types/struct_FILE.h to
15888 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15889 and _IO_ferror_unlocked.
15890 Move prototypes of __uflow and __overflow...
15892 * libio/stdio.h: ...here. Don't include bits/libio.h.
15893 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15894 directly from stdarg.h. Include bits/types/__fpos_t.h,
15895 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15896 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15897 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15898 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15899 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15900 __ssize_t, not _IO_ssize_t. Unconditionally define
15901 BUFSIZ as 8192 and EOF as (-1).
15903 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15904 macros from bits/types/struct_FILE.h instead of _IO_* macros
15905 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15906 instead of _IO_ssize_t.
15907 * libio/bits/stdio2.h: Similarly.
15909 * libio/iolibio.h: Add multiple-include guard.
15910 Include bits/libio.h after stdio.h.
15911 * libio/libioP.h: Add multiple-include guard.
15912 Include stdio.h and bits/libio.h before iolibio.h.
15914 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15915 * include/bits/types/cookie_io_functions_t.h
15916 * include/bits/types/struct_FILE.h: New wrappers.
15918 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15919 Get definitions of _G_fpos_t and _G_fpos64_t from
15920 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15921 respectively. Remove improper-inclusion guards.
15923 * conform/data/stdio.h-data: Update expectations of va_list.
15924 * scripts/check-installed-headers.sh: Remove special case for
15925 libio.h and _G_config.h.
15927 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15931 * include/sys/sysmacros.h [!_ISOMAC]
15932 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15934 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15935 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15937 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15938 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15940 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15941 Undefine and redefine to add use __gnu_dev_ prefix.
15942 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15944 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15945 and define as hidden inline function.
15946 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15948 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15950 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15951 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15952 (gnu_dev_minor): Likewise.
15953 (gnu_dev_makedev): Likewise.
15954 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15956 * posix/wordexp.c (exec_comm_child): Likewise.
15957 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15958 instead of minor and __gnu_dev_major instead of major.
15959 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15960 __gnu_dev_major instead of major.
15961 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15962 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15963 instead of gnu_dev_minor.
15964 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15965 (SLAVE_P): Likewise.
15966 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15967 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15971 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15973 * locale/weightwc.h (findidx): Likewise.
15975 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15977 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15978 (slowlog_inexact): Likewise
15979 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15980 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15982 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15985 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15986 missing second underscore to parameter name.
15988 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15994 * bits/byteswap.h: Update file comment. Do not include
15995 <bits/byteswap-16.h>.
15996 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15998 (__bswap_16): Define as inline function.
15999 (__bswap_constant_32): Reformat definition.
16000 (__bswap_32): Always define as inline function, not macro, using
16001 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16002 otherwise __bswap_constant_32.
16003 (__bswap_constant_64): Reformat definition. Do not use
16004 __extension__ here.
16005 (__bswap_64): Always define as inline function, not macro. Use
16006 __extension__ on function definition. Use __builtin_bswap64 if
16007 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16008 * string/test-endian-file-scope.c: New file.
16009 * string/test-endian-sign-conversion.c: Likewise.
16010 * string/Makefile (headers): Remove bits/byteswap-16.h.
16011 (tests): Add test-endian-file-scope and
16012 test-endian-sign-conversion.
16013 (CFLAGS-test-endian-sign-conversion.c): New variable.
16014 * bits/byteswap-16.h: Remove file.
16015 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16016 * sysdeps/ia64/bits/byteswap.h: Likewise.
16017 * sysdeps/m68k/bits/byteswap.h: Likewise.
16018 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16019 * sysdeps/s390/bits/byteswap.h: Likewise.
16020 * sysdeps/tile/bits/byteswap.h: Likewise.
16021 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16022 * sysdeps/x86/bits/byteswap.h: Likewise.
16025 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16026 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16027 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16028 199901L] (__restrict): Define to restrict.
16031 * string/testcopy.c: Include <support/support.h>. Do not include
16032 <malloc.h>. Use <support/test-driver.c>.
16033 (main): Rename to do_test. Make static. Use xmalloc instead of
16037 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16038 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16039 (SSIZE_MAX): Define to INT_MAX.
16040 * posix/test-ssize-max.c: New file.
16041 * posix/Makefile (tests): Add test-ssize-max.
16044 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16045 <support/support.h>. Do not include <malloc.h>.
16046 (query_auxv): Use xmalloc instead of malloc.
16049 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16050 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16053 2018-02-06 Florian Weimer <fweimer@redhat.com>
16056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16057 Use scratch_buffer instead of extend_alloca.
16059 2018-02-06 Zack Weinberg <zackw@panix.com>
16061 * libio/stdio.h: Don't define getc or putc as macros.
16062 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16063 not _IO_getc and _IO_putc.
16065 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16066 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16068 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16070 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16071 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16073 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16076 * elf/elf.h (NT_PRFPREG): New macro.
16077 (NT_S390_VXRS_LOW): Likewise.
16078 (NT_S390_VXRS_HIGH): Likewise.
16079 (NT_S390_GS_CB): Likewise.
16080 (NT_S390_GS_BC): Likewise.
16081 (NT_S390_RI_CB): Likewise.
16083 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16084 (MAP_SYNC): New macro.
16085 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16087 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16088 (MAP_SYNC): Likewise.
16089 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16090 (MAP_SYNC): Likewise.
16091 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16092 (MAP_SYNC): Likewise.
16093 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16094 (MAP_SYNC): Likewise.
16095 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16096 (MAP_SYNC): Likewise.
16097 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16098 (MAP_SYNC): Likewise.
16099 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16101 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16104 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16105 (MAP_SHARED_VALIDATE): New macro.
16106 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16107 (MAP_SHARED_VALIDATE): Likewise.
16109 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16111 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16112 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16113 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16115 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16117 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16118 (DT_NUM): Updated to 35.
16120 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16123 __builtin_expect with __glibc_likely and __glibc_unlikely.
16124 (elf_machine_rela): Likewise.
16125 (elf_machine_lazy_rel): Likewise.
16127 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16130 __builtin_expect with __glibc_likely and __glibc_unlikely.
16131 (elf_machine_lazy_rel): Likewise.
16133 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16136 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16138 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16140 2018-02-05 Andreas Schwab <schwab@suse.de>
16143 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16146 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16148 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16149 not check against PTHREAD_STACK_MIN.
16151 2018-02-02 Sean McKean <smckean83@gmail.com>
16154 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16156 2018-02-02 Florian Weimer <fweimer@redhat.com>
16159 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16160 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16161 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16162 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16163 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16164 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16165 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16166 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16167 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16168 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16169 * misc/tst-preadvwritev2.c (do_test): Call it.
16170 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16172 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16174 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16176 * benchtests/bench-memcmp.c: Print json instead of plain text.
16178 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16181 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16183 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16185 (s390_sthyi): New syscall.
16187 * sysdeps/generic/ldbl-classify-compat.h: New file.
16188 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16189 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16190 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16191 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16192 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16193 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16194 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16195 <ldbl-classify-compat.h>.
16196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16197 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16198 <ldbl-classify-compat.h>.
16199 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16200 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16201 <ldbl-classify-compat.h>.
16202 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16204 <ldbl-classify-compat.h>.
16205 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16207 <ldbl-classify-compat.h>.
16208 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16210 <ldbl-classify-compat.h>.
16211 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16212 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16213 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16214 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16215 * sysdeps/microblaze/math_private.h: Likewise.
16216 * sysdeps/nios2/math_private.h: Likewise.
16217 * sysdeps/sh/math_private.h: Likewise.
16219 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16220 * sysdeps/m68k/coldfire/math_private.h: ... here.
16221 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16222 * sysdeps/tile/math_private.h: Likewise.
16223 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16225 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16228 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16230 (libc_fetestexcept): Likewise.
16231 (libc_feupdateenv_test): Likewise.
16232 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16233 (libc_fetestexcept): Likewise.
16234 (libc_feupdateenv_test): Likewise.
16235 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16236 (libc_fetestexcept): Likewise.
16237 (libc_feupdateenv_test): Likewise.
16238 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16239 (libc_fetestexcept): Likewise.
16240 (libc_feupdateenv_test): Likewise.
16242 * sysdeps/generic/math_private.h
16243 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16244 New inline function.
16245 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16248 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16249 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16250 * sysdeps/generic/math_private.h
16251 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16253 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16255 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16257 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16259 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16261 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16263 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16264 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16265 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16266 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16267 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16268 (__fegetenv): Likewise.
16269 (fesetenv): Likewise.
16270 (__fesetenv): Likewise.
16271 (feupdateenv): Likewise.
16272 (__feupdateenv): Likewise.
16273 (fegetround): Likewise.
16274 (__fegetround): Likewise.
16275 (fesetround): Likewise.
16276 (__fesetround): Likewise.
16278 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16279 (feraiseexcept): New macro.
16280 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16281 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16283 (__feraiseexcept): Likewise.
16284 (feclearexcept): Likewise.
16285 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16286 (__feraiseexcept): Likewise.
16287 (feclearexcept): Likewise.
16288 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16289 (__feraiseexcept): Likewise.
16290 (feclearexcept): Likewise.
16291 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16292 (__feraiseexcept): Likewise.
16293 (feclearexcept): Likewise.
16294 (fetestexcept): Likewise.
16296 * sysdeps/m68k/coldfire/math-tests.h: New file.
16298 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16299 * sysdeps/m68k/bits/fenv.h: ... here.
16300 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16302 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16304 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16306 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16308 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16310 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16312 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16313 (__FE_UNDEFINED): New enum constant.
16314 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16316 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16318 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16320 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16321 to match generic bits/fenv.h.
16322 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16325 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16327 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16328 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16329 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16330 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16332 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16333 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16334 Joseph Myers <joseph@codesourcery.com>
16337 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16338 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16339 computation using c.
16340 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16341 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16342 computation using c.
16344 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16346 * version.h (RELEASE): Set to "development".
16347 (VERSION): Set to "2.27.9000".
16348 * NEWS (2.28): New section.
16350 * version.h (RELEASE): Set to "stable".
16351 (VERSION): Set to "2.27".
16352 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16354 * NEWS: Add the list of bugs fixed in 2.27.
16356 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16358 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16359 against PTHREAD_STACK_MIN.
16361 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16363 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16365 (Rafal Luzynski, Andreas Schwab): Update.
16367 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16370 * NEWS: List the languages which actually use the alternative
16371 months feature in this release. Also explain that "alt_mon" and
16372 "ab_alt_mon" are optional.
16374 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16377 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16379 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16381 * manual/install.texi (Tools for Compilation): Update the newest
16382 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16383 * INSTALL: Regenerated.
16385 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16387 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16388 instead of __builtin_expect.
16390 2018-01-30 Florian Weimer <fweimer@redhat.com>
16392 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16394 * nss/tst-nss-getpwent.c (do_test): Likewise.
16396 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16399 * localedata/locales/hr_HR (mon): Rename to...
16401 (mon): Import from CLDR (genitive case).
16402 (d_t_fmt): Update the comment.
16404 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16406 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16407 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16408 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16410 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16412 * mach/Versions: Fix version when __mach_host_self_ was added.
16413 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16414 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16415 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16416 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16417 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16418 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16419 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16420 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16421 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16422 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16423 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16424 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16425 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16426 || to respect codestyle.
16427 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16428 (do_test_bz20181): Rename accordingly.
16429 * malloc/malloc.c: Include <assert.h>.
16430 (assert): Do not define.
16431 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16432 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16433 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16434 * sysdeps/mach/hurd/hp-timing.h: New file.
16435 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16437 2018-01-29 Darius Rad <darius@bluespec.com>
16439 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16441 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16443 * sysdeps/init_array/crti.S (.section .init_array): Add
16444 PREINIT_FUNCTION when defined.
16445 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16446 * config.h.in: Regenerate.
16447 * manual/platform.texi: Add RISC-V documenation for
16448 __riscv_flush_icache.
16449 * sysdeps/riscv/__longjmp.S: New file.
16450 * sysdeps/riscv/backtrace.c: Likewise.
16451 * sysdeps/riscv/bits/endian.h: Likewise.
16452 * sysdeps/riscv/bits/setjmp.h: Likewise.
16453 * sysdeps/riscv/bits/wordsize.h: Likewise.
16454 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16455 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16456 * sysdeps/riscv/dl-trampoline.S: Likewise.
16457 * sysdeps/riscv/gccframe.h: Likewise.
16458 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16459 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16460 * sysdeps/riscv/machine-gmon.h: Likewise.
16461 * sysdeps/riscv/memusage.h: Likewise.
16462 * sysdeps/riscv/setjmp.S: Likewise.
16463 * sysdeps/riscv/sys/asm.h: Likewise.
16464 * sysdeps/riscv/tls-macros.h: Likewise.
16465 * sysdeps/riscv/dl-tls.h: New file.
16466 * sysdeps/riscv/libc-tls.c: Likewise.
16467 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16468 * sysdeps/riscv/nptl/tls.h: Likewise.
16469 * sysdeps/riscv/stackinfo.h: Likewise.
16470 * sysdeps/riscv/bits/fenv.h: New file.
16471 * sysdeps/riscv/e_sqrtl.c: Likewise.
16472 * sysdeps/riscv/fpu_control.h: Likewise.
16473 * sysdeps/riscv/math-tests.h: Likewise.
16474 * sysdeps/riscv/nofpu/Implies: Likewise.
16475 * sysdeps/riscv/sfp-machine.h: Likewise.
16476 * sysdeps/riscv/tininess.h: Likewise.
16477 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16478 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16479 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16480 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16481 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16482 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16483 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16484 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16485 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16486 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16487 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16488 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16489 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16490 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16491 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16492 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16493 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16494 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16495 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16496 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16497 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16498 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16499 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16500 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16501 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16502 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16503 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16504 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16505 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16506 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16507 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16508 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16509 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16510 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16511 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16512 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16513 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16514 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16515 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16516 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16517 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16518 * sysdeps/riscv/rvf/math_private.h: Likewise.
16519 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16520 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16521 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16522 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16523 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16524 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16525 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16526 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16527 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16528 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16529 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16530 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16531 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16532 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16533 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16534 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16535 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16536 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16537 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16538 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16539 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16540 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16541 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16542 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16543 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16544 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16545 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16546 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16547 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16548 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16549 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16550 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16551 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16552 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16553 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16554 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16555 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16556 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16557 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16558 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16559 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16560 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16561 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16562 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16563 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16564 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16565 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16566 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16567 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16568 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16569 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16570 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16571 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16572 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16573 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16574 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16575 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16576 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16577 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16578 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16579 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16580 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16581 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16582 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16583 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16584 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16587 * sysdeps/riscv/Implies: New file.
16588 * sysdeps/riscv/Makefile: Likewise.
16589 * sysdeps/riscv/configure: Likewise.
16590 * sysdeps/riscv/configure.ac: Likewise.
16591 * sysdeps/riscv/nptl/Makefile: Likewise.
16592 * sysdeps/riscv/preconfigure: Likewise.
16593 * sysdeps/riscv/rv64/Implies-after: Likewise.
16594 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16595 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16596 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16597 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16598 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16599 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16600 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16601 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16602 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16603 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16604 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16605 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16606 (Config): Likewise.
16608 2018-01-29 Florian Weimer <fweimer@redhat.com>
16611 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16612 libnsl_hidden_proto.
16613 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16614 libnsl_hidden_proto.
16615 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16616 * nis/Makefile (libnsl-routines): Add nss-default only for
16617 build-obsolete-nsl.
16618 * nis/nis_defaults.c (__nis_default_ttl): Add
16619 libnsl_hidden_nolink_def.
16620 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16622 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16623 * nis/ypclnt.c (yp_maplist): Likewise.
16625 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16628 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16630 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16632 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16633 clean -dxfq for git updates when replacing sources.
16635 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16636 --disable-libcilkrts unconditionally, not just for the final GCC
16639 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16642 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16645 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16648 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16651 * localedata/locales/be_BY (mon): Rename to...
16652 (alt_mon): This, then synchronize with CLDR (nominative case).
16653 (abmon): Rename to...
16654 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16655 (mon): Import from CLDR (genitive case).
16657 * localedata/locales/be_BY@latin (mon): Rename to...
16659 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16661 * localedata/locales/be_BY@latin (lang_name): Reworded to
16662 "biełaruskaja mova".
16664 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16667 * localedata/locales/el_CY (mon): Renamed to...
16669 (mon): Import from CLDR (genitive case).
16670 * localedata/locales/el_GR: Likewise.
16672 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16675 * localedata/locales/ru_RU (mon): Rename to...
16677 (abmon): Rename to...
16678 (ab_alt_mon): This.
16679 (mon): Import from CLDR (genitive case).
16680 (abmon): Copy from the old content except the 5th month which is
16681 now in the genitive case, even when abbreviated.
16682 * localedata/locales/ru_UA: Likewise.
16683 * time/tst-strptime.c (day_tests): Add an actual example of
16684 a difference between %b and %Ob in Russian.
16686 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16688 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16689 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16691 * resolv/res-close.c: Include <stdlib.h>.
16692 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16693 <sys/wait.h>, <time.h>, <sys/uio.h>.
16694 (NOT_CANCEL_H): Add inclusion guard.
16695 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16696 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16697 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16700 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16701 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16703 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16704 timer_ptr2id to cast struct timer_node * to void *.
16705 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16706 --disable-libcilkrts to gcc configure.
16707 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16708 and make them the default for now.
16709 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16710 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16711 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16712 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16713 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16715 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16716 __task_terminate would ever return successfully.
16717 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16719 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16720 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16721 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16722 critical section to make code simpler and avoid warning.
16723 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16724 critical section to make code simpler and avoid warning.
16725 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16726 const char * instead of char *.
16727 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16728 __hurd_file_name_split, hurd_file_name_split,
16729 __hurd_directory_name_split, hurd_directory_name_split,
16730 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16731 hurd_file_name_path_lookup): Make lookup function parameter take a
16732 const char *name instead of char *name.
16733 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16734 __hurd_directory_name_split): Likewise.
16735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16736 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16737 * sysdeps/mach/hurd/check_native.c: New file.
16738 * sysdeps/mach/hurd/check_pf.c: New file.
16739 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16740 (__freeifaddrs): Define macro to freeifaddrs.
16741 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16742 * sysdeps/mach/libmachuser.abilist: New file.
16743 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16744 (do_test_bz20181): Rename accordingly.
16745 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16746 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16748 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16749 version only if __USE_EXTERN_INLINES is defined.
16750 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16751 __hurd_sockfail): Likewise.
16752 (_hurd_fd_get): Always declare functions, and provide inline versions
16753 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16754 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16755 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16756 _hurd_port_set): Always declare functions, and provide inline versions
16757 only if __USE_EXTERN_INLINES and _LIBC are defined and
16759 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16760 _hurd_critical_section_unlock): Likewise.
16761 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16762 * __hurd_threadvar_location): Likewise.
16763 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16764 _hurd_userlink_clear): Likewise.
16765 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16766 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16767 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16768 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16769 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16770 __spin_lock_locked): Likewise.
16771 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16772 __spin_lock_locked): Likewise.
16773 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16774 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16775 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16776 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16777 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16778 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16779 _POSIX_NO_TRUNC): Define to 0.
16780 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16781 check size against PTHREAD_STACK_MIN.
16782 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16783 IS_IN(libpthread)]: Include <sigsetops.h>.
16784 * mach/Makefile (user-interfaces): Add mach/gnumach.
16785 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16786 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16787 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16788 instead of invalid -1.
16789 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16790 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16791 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16794 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16796 * hurd/fcntl-internal.h: New file.
16798 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16800 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16802 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16804 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16807 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16808 Build only shared objects.
16810 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16812 * README: Update for hppa.
16814 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16816 * sysdeps/sparc/fpu/libm-test-ulps: Update
16817 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16819 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16823 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16826 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16827 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16828 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16829 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16832 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16835 * bits/types/__cancel_jmp_buf_tag.h: New file.
16836 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16837 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16838 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16839 * nptl/Makefile (headers): Add
16840 bits/types/__cancel_jmp_buf_tag.h.
16841 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16842 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16843 * sysdeps/nptl/pthread.h: Include
16844 <bits/types/__cancel_jmp_buf_tag.h>.
16845 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16847 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16849 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16852 * localedata/locales/uk_UA (mon): Renamed to...
16854 (alt_digits): "0" removed and then renamed to...
16856 (date_fmt): Definition changed not to use the alternative
16859 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16861 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16862 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16863 * elf/elf.h (EF_RISCV_RVC): New define.
16864 (EF_RISCV_FLOAT_ABI): Likewise.
16865 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16866 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16867 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16868 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16869 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16871 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16873 2018-01-25 Andreas Schwab <schwab@suse.de>
16875 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16877 * sysdeps/gnu/configure: Regenerate.
16878 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16879 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16881 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16882 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16883 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16884 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16885 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16887 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16889 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16890 URL, and run autoconf, make it the default for now.
16892 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16894 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16895 soft-float ColdFire configuration.
16897 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16898 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16899 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16901 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16904 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16906 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16908 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16911 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16912 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16913 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16916 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16919 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16920 Rename to __reserved and add comment.
16921 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16922 Rename to __reserved.
16924 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16926 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16927 i686-gnu configurations.
16928 (Context.run_builds): Include mig, gnumach and hurd in components
16930 (Context.checkout): Add mig, gnumach and hurd to components.
16931 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16933 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16934 (Config.build): Install gnumach headers, build mig and install
16935 hurd headers for 'gnu' OS.
16936 (Config.install_gnumach_headers): New function.
16937 (Config.install_hurd_headers): Likewise.
16938 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16939 when building for 'gnu' OS.
16941 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16943 * manual/tunables.texi (Hardware Capability Tunables): Fix
16946 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16948 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16949 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16950 (ALTMON_11, ALTMON_12): Improve documentation.
16951 * manual/time.texi (strftime): Likewise.
16953 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16956 * localedata/locales/pl_PL: Alternative month names added,
16957 primary month names are genitive now.
16958 * time/tst-strptime.c (day_tests): Actually use a genitive case
16959 of a month name in Polish language.
16961 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16964 * manual/locale.texi: Document ALTMON_1..12 constants for
16965 nl_langinfo. Specify when to use ALTMON instead of MON.
16966 * manual/time.texi (strftime, strptime): Document GNU extension
16967 permitting O modifier with %B and %b. Specify when to use
16970 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16973 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16974 names, define them as the same as abbreviated month names explicitly.
16975 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16976 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16977 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16978 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16979 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16980 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16981 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16982 _NL_WABALTMON_12): New enum constants.
16983 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16984 wab_alt_mon, and ab_alt_mon_defined members.
16985 (time_output): Output ab_alt_mon and wab_alt_mon members.
16986 (time_read): Read them, initialize them as copies of abmon and wabmon
16987 respectively if they are missing, initialize ab_alt_mon_defined.
16988 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16989 * locale/programs/locfile-kw.h: Regenerate.
16990 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16991 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16993 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16994 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16995 (__strftime_internal): Handle %Ob and %Oh formats.
16996 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16997 (__strptime_internal): Handle %Ob and %Oh formats.
16998 * time/tst-strptime.c (day_tests): Add more tests to parse different
16999 forms of month names including the new %Ob format specifier.
17001 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17004 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17005 define them as the same as primary full month names explicitly.
17006 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17007 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17008 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17009 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17010 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17011 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17012 _NL_WALTMON_12): New enum constants.
17013 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17014 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17016 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17017 walt_mon, and alt_mon_defined members.
17018 (time_output): Output alt_mon and walt_mon members.
17019 (time_read): Read them, initialize them as copies of mon and wmon
17020 respectively if they are missing, initialize alt_mon_defined.
17021 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17022 * locale/programs/locfile-kw.h: Regenerate.
17023 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17024 * localedata/tst-langinfo.c (map): Add tests for the new constants
17025 ALTMON_1 .. ALTMON_12.
17026 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17028 * time/strftime_l.c (f_altmonth): New macro.
17029 (__strftime_internal): Handle %OB format.
17030 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17031 (__strptime_internal): Handle %OB format.
17032 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17033 of month names including the new %OB format specifier.
17035 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17038 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17039 from ABORT_TRANSACTION.
17040 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17041 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17042 ABORT_TRANSACTION_IMPL): Likewise.
17043 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17044 Linux code, but remove the code that aborts transactions.
17046 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17048 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17050 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17052 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17053 in date: "2004-14-09" should be "2004-09-14".
17054 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17055 "2003-15-09" should be "2003-09-15".
17057 2018-01-18 Arjun Shankar <arjun@redhat.com>
17063 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17065 (_int_memalign): check for integer overflow before calling
17067 * malloc/tst-malloc-too-large.c: New test.
17068 * malloc/Makefile: Add tst-malloc-too-large.
17070 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17072 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17073 in date: "2017-24-07" should be "2017-07-24".
17074 * localedata/locales/mai_IN: Likewise.
17075 * localedata/locales/mai_NP: Likewise.
17077 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17079 * po/ru.po: Update translations.
17081 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17084 * sysdeps/hppa/backtrace.c: New file.
17086 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17089 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17090 align La_x86_64_retval to VEC_SIZE.
17092 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17094 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17095 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17097 2018-01-16 Florian Weimer <fweimer@redhat.com>
17099 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17100 Move tst-thread-exit-clobber ...
17101 [$(CXX)] (tests-unsupported): ... to here.
17103 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17105 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17106 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17107 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17108 (_dl_aarch64_cap_flags): Update.
17109 (_DL_HWCAP_COUNT): Update.
17111 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17113 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17114 (_DL_HWCAP_LAST): Remove.
17115 (_DL_HWCAP_COUNT): Move to ...
17116 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17117 (_DL_HWCAP_COUNT): ... here.
17119 2018-01-16 Florian Weimer <fweimer@redhat.com>
17121 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17122 mode with GNU extensions.
17124 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17126 * elf/elf.h (NT_ARM_SVE): Define.
17128 2018-01-15 Florian Weimer <fweimer@redhat.com>
17131 * nptl/tst-minstack-throw.cc: New file.
17132 * nptl/Makefile (tests): Add tst-minstack-throw.
17133 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17134 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17136 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17138 * scripts/build-many-glibcs.py (Context.checkout): Default
17139 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17142 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17145 * elf/elf.h (DF_1_STUB): Define.
17146 (DF_1_PIE): Define.
17148 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17152 Do not add 0.5 to integer or out-of-range arguments.
17154 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17156 * po/bg.po: Update translations.
17157 * po/cs.po: Likewise.
17158 * po/de.po: Likewise.
17159 * po/ko.po: Likewise.
17160 * po/pl.po: Likewise.
17161 * po/sv.po: Likewise.
17162 * po/uk.po: Likewise.
17163 * po/vi.po: Likewise.
17165 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17167 * aarch64/start.S (_start): Use __wrap_main.
17168 (__wrap_main): New local symbol.
17170 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17174 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17175 generic_getcwd if the path returned by getcwd syscall is not absolute.
17176 * io/tst-getcwd-abspath.c: New test.
17177 * io/Makefile (tests): Add tst-getcwd-abspath.
17179 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17181 * malloc/malloc.c (malloc_consolidate): Add size check.
17183 2018-01-12 Florian Weimer <fweimer@redhat.com>
17185 * support/write_message.c (write_message): Preserve errno.
17186 * support/check.c (print_failure): Likewise.
17187 * support/support_test_verify_impl.c (support_test_verify_impl):
17189 * support/support_test_compare_failure.c
17190 (support_test_compare_failure): Likewise.
17192 2018-01-12 Florian Weimer <fweimer@redhat.com>
17195 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17196 Prevent installation of libnsl.so.
17197 (libnsl-inhibit-o): Do not build (or install) static libraries.
17199 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17202 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17203 before the day number which may produce a double space.
17204 (date_fmt): Likewise.
17206 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17208 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17209 instead of fegetenv.
17211 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17214 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17215 comment to say exceptions are discarded.
17216 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17218 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17221 2018-01-11 Florian Weimer <fweimer@redhat.com>
17223 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17226 2018-01-11 Florian Weimer <fweimer@redhat.com>
17229 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17230 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17232 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17235 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17236 negative arguments in test for NaN or infinity argument.
17238 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17240 * po/libc.pot: Regenerate.
17242 2018-01-10 Florian Weimer <fweimer@redhat.com>
17245 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17246 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17248 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17250 * hurd/hurd/fd.h: Include <fcntl.h>
17251 (__hurd_at_flags): New function.
17252 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17253 with call to __hurd_at_flags.
17254 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17255 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17257 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17258 (__access_noerrno): Use __faccessat_common instead of access_common.
17259 (__access): Likewise.
17260 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17261 with a call to __faccessat.
17262 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17263 (__faccessat_common): ... this. Move implementation of __access into it when
17264 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17265 reauthenticate_cwdir_at helper to implement AT mechanism.
17266 (__faccessat_noerrno): New function, just calls __faccessat_common.
17267 (__faccessat): New function, just calls __faccessat_common.
17268 (faccessat): Define weak alias.
17270 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17273 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17274 (CFLAGS-s_fmaxmagl.c): New variable.
17275 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17279 long int for arguments of possibly overflowing addition or
17281 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17283 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17286 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17287 (CFLAGS-e_remainderl.c): New variable.
17290 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17292 (CFLAGS-s_cacoshl.c): Likewise.
17293 (CFLAGS-s_casinhl.c): Likewise.
17294 (CFLAGS-s_catanl.c): Likewise.
17295 (CFLAGS-s_catanhl.c): Likewise.
17296 (CFLAGS-s_cexpl.c): Likewise.
17297 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17298 (CFLAGS-s_csinhl.c): Likewise.
17299 (CFLAGS-s_clogl.c): Likewise.
17300 (CFLAGS-s_clog10l.c): Likewise.
17301 (CFLAGS-s_csinl.c): Likewise.
17302 (CFLAGS-s_csqrtl.c): Likewise.
17304 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17305 2017-01-09 Svante Signell <svante.signell@gmail.com>
17307 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17308 (_hurd_exec_paths): New function.
17309 * hurd/hurd.h (_hurd_exec): Deprecate function.
17310 (_hurd_exec_paths): Declare function.
17311 * hurd/Versions: Export _hurd_exec_paths.
17312 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17313 (__execve): Use __getcwd to build absolute path, and use
17314 _hurd_exec_paths instead of _hurd_exec.
17315 * sysdeps/mach/hurd/spawni.c: Likewise.
17316 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17319 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17321 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17322 test instead of failing in case of ENOENT returned by posix_openpt.
17324 2018-01-08 Florian Weimer <fweimer@redhat.com>
17326 resolv: Support binary labels in test framework.
17327 * support/resolv_test.c (struct to_be_freed): Remove.
17328 (struct compressed_name): New.
17329 (allocate_compressed_name, ascii_tolower)
17330 (compare_compressed_name): New functions.
17331 (struct resolv_response_builder): Update type of
17332 compression_offsets for use with tsearch. Rempve to_be_freed.
17333 (response_push_pointer_to_free): Remove function.
17334 (resolv_response_add_name): Rewrite using struct compressed_name
17335 and tsearch instead of hsearch_r.
17336 (response_builder_allocate): Remove initialization of
17337 compression_offsets.
17338 (response_builder_free): Update for removal of to_be_freed. Use
17339 tdestroy instead of hdestroy_r.
17340 * resolv/Makefile (tests): Add tst-resolv-binary.
17341 (tst-resolv-binary): Link with -lresolv -lpthread.
17343 2018-01-08 Florian Weimer <fweimer@redhat.com>
17345 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17346 time. Pass positive flag instead of negative flag to
17347 support_test_compare_failure.
17348 (support_test_compare_failure): Change negative parameter to
17350 * support/support_test_compare_failure.c (report)
17351 (support_test_compare_failure): Likewise.
17352 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17353 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17355 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17358 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17359 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17360 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17362 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17364 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17366 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17367 Add s_sincosf-sse2 and s_sincosf-fma.
17368 (CFLAGS-s_sincosf-fma.c): New.
17369 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17370 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17371 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17372 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17373 __sincosf is defined.
17375 2018-01-08 Florian Weimer <fweimer@redhat.com>
17377 * nptl/tst-thread-exit-clobber.cc: New file.
17378 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17380 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17381 (tests): Add tst-thread-exit-clobber.
17382 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17384 2018-01-08 Florian Weimer <fweimer@redhat.com>
17386 * support/check.h (support_static_assert): Define.
17387 (TEST_COMPARE): Use it.
17389 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17391 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17392 [!__RLIM_T_MATCHES_RLIM64_T]
17393 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17394 __getrlimit64. Add libc_hidden_weak.
17396 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17398 * elf/elf.h (R_RISCV_NONE): New define.
17399 (R_RISCV_32): Likewise.
17400 (R_RISCV_64): Likewise.
17401 (R_RISCV_RELATIVE): Likewise.
17402 (R_RISCV_COPY): Likewise.
17403 (R_RISCV_JUMP_SLOT): Likewise.
17404 (R_RISCV_TLS_DTPMOD32): Likewise.
17405 (R_RISCV_TLS_DTPMOD64): Likewise.
17406 (R_RISCV_TLS_DTPREL32): Likewise.
17407 (R_RISCV_TLS_DTPREL64): Likewise.
17408 (R_RISCV_TLS_TPREL32): Likewise.
17409 (R_RISCV_TLS_TPREL64): Likewise.
17410 * Makerules (make-link-multidir): Make directories before linking into
17412 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17414 (VDSO_HASH_LINUX_4_15): Likewise.
17415 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17416 in subdirectories of lib.
17417 * nptl/Makefile (/librt.so): Always depend on
17418 "$(shared-thread-library)".
17420 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17422 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17423 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17424 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17426 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17427 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17429 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17430 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17431 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17432 * sysdeps/gnu/glob-lstat-compat.c: New file.
17433 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17434 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17436 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17438 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17439 Reserve 16 chars to reloc_addr before calling _itoa_word.
17441 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17444 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17445 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17447 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17448 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17450 * resource/tst-getrlimit.c: Add copyright header.
17452 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17453 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17455 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17456 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17457 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17458 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17460 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17461 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17462 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17463 RLIM64_INFINITY): Fix values to match the kernel ones.
17464 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17465 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17466 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17467 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17468 getrlimit64@@GLIBC_2_27.
17469 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17471 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17472 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17473 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17474 setrlimit, getrlimit64 and setrlimit64.
17476 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17479 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17480 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17482 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17484 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17485 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17486 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17488 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17492 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17493 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17497 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17498 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17499 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17500 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17502 2018-01-04 Florian Weimer <fweimer@redhat.com>
17505 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17506 Align the stack before calling exit.
17507 * stdlib/tst-makecontext-align.c: New file.
17508 * stdlib/Makefile (tests): Add tst-makecontext-align.
17510 2018-01-04 Florian Weimer <fweimer@redhat.com>
17512 Add support for calling dlvsym from libc.so.
17513 * include/dlfcn.h (__libc_dlvsym): Declare.
17514 * elf/Makefile (tests-static-internal): Add
17515 tst-libc_dlvsym-static.
17516 (tests-internal): Add tst-libc_dlvsym.
17517 (modules-names): Add tst-libc_dlvsym-dso.
17518 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17519 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17520 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17521 object tst-libc_dlvsym-dso.so needs to be built before running
17523 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17524 * elf/Versions: Export __libc_dlvsym.
17525 * elf/dl-libc.c (struct do_dlvsym_args): New.
17526 (do_dlvsym, __libc_dlvsym): New functions.
17527 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17528 (_dl_open_hook2): New variable.
17529 (__libc_register_dl_open_hook): Set it.
17530 * elf/tst-libc_dlvsym-dso.c: New file.
17531 * elf/tst-libc_dlvsym-static.c: Likewise.
17532 * elf/tst-libc_dlvsym.c: Likewise.
17533 * elf/tst-libc_dlvsym.h: Likewise.
17535 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17537 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17538 include <sys/mount.h>.
17540 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17542 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17543 Add __NO_MATH_ERRNO__ check.
17545 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17547 * sysdeps/mips/mips32/libm-test-ulps: Update.
17548 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17550 2018-01-02 Florian Weimer <fweimer@redhat.com>
17552 * misc/tst-pselect.c: Add copyright header.
17554 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17556 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17558 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17560 (settrlimit): Rename into setrlimit.
17561 (__sttrlimit): Rename into __setrlimit.
17563 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17564 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17565 never defined in that case.
17567 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17569 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17571 * sysdeps/arm/libm-test-ulps: Update.
17573 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17574 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17576 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17578 * NEWS: Add cosf and sincosf to list of optimized functions.
17580 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17583 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17584 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17585 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17586 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17588 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17591 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17593 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17594 making a copy of it.
17596 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17598 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17599 trailing whitespace removed.
17600 * scripts/config.guess: Update to version 2018-01-01.
17601 * scripts/config.sub: Update to version 2018-01-01.
17602 * scripts/move-if-change: Update from gnulib.
17604 * NEWS: Update copyright dates.
17605 * catgets/gencat.c (print_version): Likewise.
17606 * csu/version.c (banner): Likewise.
17607 * debug/catchsegv.sh: Likewise.
17608 * debug/pcprofiledump.c (print_version): Likewise.
17609 * debug/xtrace.sh (do_version): Likewise.
17610 * elf/ldconfig.c (print_version): Likewise.
17611 * elf/ldd.bash.in: Likewise.
17612 * elf/pldd.c (print_version): Likewise.
17613 * elf/sotruss.sh: Likewise.
17614 * elf/sprof.c (print_version): Likewise.
17615 * iconv/iconv_prog.c (print_version): Likewise.
17616 * iconv/iconvconfig.c (print_version): Likewise.
17617 * locale/programs/locale.c (print_version): Likewise.
17618 * locale/programs/localedef.c (print_version): Likewise.
17619 * login/programs/pt_chown.c (print_version): Likewise.
17620 * malloc/memusage.sh (do_version): Likewise.
17621 * malloc/memusagestat.c (print_version): Likewise.
17622 * malloc/mtrace.pl: Likewise.
17623 * manual/libc.texinfo: Likewise.
17624 * nptl/version.c (banner): Likewise.
17625 * nscd/nscd.c (print_version): Likewise.
17626 * nss/getent.c (print_version): Likewise.
17627 * nss/makedb.c (print_version): Likewise.
17628 * posix/getconf.c (main): Likewise.
17629 * scripts/test-installation.pl: Likewise.
17630 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17632 * All files with FSF copyright notices: Update copyright dates
17633 using scripts/update-copyrights.
17634 * locale/programs/charmap-kw.h: Regenerated.
17635 * locale/programs/locfile-kw.h: Likewise.
17637 2017-12-31 Zack Weinberg <zackw@panix.com>
17639 * libio/bits/libio-ldbl.h: Correct check for improper
17640 inclusion. Add own multiple include guard.
17642 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17643 Dmitry V. Levin <ldv@altlinux.org>
17647 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17648 string token expansion. Check for NULL pointer or empty string possibly
17649 returned by expand_dynamic_string_token.
17650 (decompose_rpath): Check for empty path after dynamic string
17653 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17656 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17658 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17659 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17660 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17661 and PTRACE_SYSCALL.
17662 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17667 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17669 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17670 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17671 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17672 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17674 bits/ptrace-shared.h.
17675 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17676 <bits/ptrace-shared.h>.
17677 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17678 __ptrace_peeksiginfo_flags, ptrace): Remove.
17679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17681 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17682 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17683 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17685 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17688 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17689 end of the loop. Improve comments.
17691 2017-12-29 Zack Weinberg <zackw@panix.com>
17694 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17695 might be set on success.
17697 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17700 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17701 is unchanged on success.
17703 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17705 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17707 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17708 expand_dynamic_string_token): Likewise.
17709 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17712 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17715 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17716 is set and name contains ':', and all code depending on these checks.
17718 2017-12-24 Zack Weinberg <zackw@panix.com>
17720 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17721 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17723 * libio/libio.h: Rename the original version of this file to
17724 libio/bits/libio.h. Error out if not included by stdio.h or the
17726 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17727 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17728 if not included by bits/libio.h or the stub _G_config.h.
17729 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17730 sysdeps/unix/sysv/linux/bits. Error out if not included by
17731 bits/libio.h or the stub _G_config.h.
17732 * libio/stdio.h: Include bits/libio.h, not libio.h.
17733 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17734 well as libio.h and _G_config.h.
17736 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17737 * libio/strfile.h, stdio-common/vfscanf.c
17738 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17739 Include stdio.h, not _G_config.h nor libio.h.
17740 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17741 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17743 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17745 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17748 * stdlib/getrandom.c (getrandom): Fix comment.
17749 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17751 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17754 * manual/arith.texi (strtoul): Fix a typo.
17757 * manual/arith.texi (finite): Fix the description of the return
17760 2017-12-22 Eric Blake <ebb9@byu.net>
17762 Avoid gcc warnings on cygwin
17763 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17764 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17765 Avoid unused variable.
17767 2017-12-22 Florian Weimer <fweimer@redhat.com>
17769 * io/Makefile (routines): Add copy_file_range.
17770 (tests): Add tst-copy_file_range.
17771 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17772 * io/Versions (GLIBC_2.27): Export copy_file_range.
17773 * io/copy_file_range-compat.c: New file.
17774 * io/copy_file_range.c: Likewise.
17775 * io/tst-copy_file_range-compat.c: Likewise.
17776 * io/tst-copy_file_range.c: Likewise.
17777 * manual/llio.texi (Copying File Data): New section.
17778 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17779 * support/Makefile (libsupport-routines): Add support-xfstat,
17780 xftruncate, xlseek.
17781 * support/support-xfstat.c: New file.
17782 * support/xftruncate.c: Likewise.
17783 * support/xlseek.c: Likewise.
17784 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17785 * sysdeps/unix/sysv/linux/**.abilist: Update.
17786 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17788 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17790 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17791 disable-multi-arch variant to aarch64-linux-gnu.
17793 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17795 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17796 trailing whitespace removed.
17797 * scripts/config.guess: Update to version 2017-12-17.
17798 * scripts/config.sub: Update to version 2017-11-23.
17799 * scripts/install-sh: Update to version 2017-09-23.17.
17800 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17802 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17804 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17805 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17806 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17807 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17808 * sysdeps/tile/crtn.S: Likewise.
17809 * sysdeps/tile/dl-start.S (_start): Likewise.
17810 * sysdeps/tile/dl-trampoline.S: Likewise.
17811 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17812 * sysdeps/tile/start.S (_start): Likewise.
17813 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17814 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17815 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17816 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17817 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17818 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17819 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17821 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17823 * sysdeps/tile/preconfigure: Remove tilegx folder.
17824 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17825 * sysdeps/tile/Implies: ... here.
17826 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17827 * sysdeps/tile/Makefile: ... here.
17828 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17829 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17830 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17831 * sysdeps/tile/bits/wordsize.h: ... here.
17832 * sysdeps/tile/tilegx/*: Move to ...
17833 * sysdeps/tile/*: ... here.
17834 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17835 * sysdeps/tile/tilegx32/Implies: ... here.
17836 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17837 * sysdeps/tile/tilegx64/Implies: ... here.
17838 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17840 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17841 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17842 * sysdeps/unix/sysv/linux/tile/*: ... here.
17843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17844 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17846 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17848 * README: Remove tilepro-*-linux-gnu from supported architecture.
17849 * scripts/build-many-glibcs.py: Likewise.
17850 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17851 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17852 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17853 elf_machine_matches_host, elf_machine_dynamic,
17854 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17855 howto, elf_machine_rela): Likewise.
17856 * sysdeps/tile/dl-start.S (_start): Likewise.
17857 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17858 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17859 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17860 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17861 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17862 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17864 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17865 * sysdeps/tile/preconfigure: Likewise.
17866 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17867 POINTER_CHK_GUARD): Likewise.
17868 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17869 * sysdeps/tile/start.S (_start): Likewise.
17870 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17872 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17873 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17875 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17876 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17877 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17879 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17880 * sysdeps/tile/tilepro/Implies: Remove file.
17881 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17882 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17883 * sysdeps/tile/tilepro/memchr.c: Likewise.
17884 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17885 * sysdeps/tile/tilepro/memset.c: Likewise.
17886 * sysdeps/tile/tilepro/memusage.h: Likewise.
17887 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17888 * sysdeps/tile/tilepro/strchr.c: Likewise.
17889 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17890 * sysdeps/tile/tilepro/strlen.c: Likewise.
17891 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17892 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17893 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17894 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17895 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17897 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17899 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17911 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17912 tilepro mention in comment.
17914 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17915 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17916 * nptl/pthread_join_common.c: New file: common function used on
17917 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17918 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17919 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17920 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17921 (cleanup): Move definition to pthread_join_common.c.
17922 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17923 Remove superflous checks.
17924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17927 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17929 * sysdeps/aarch64/libm-test-ulps: Update.
17931 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17933 * sysdeps/aarch64/memset.S (MEMSET): Define.
17935 2017-12-20 Florian Weimer <fweimer@redhat.com>
17938 nptl: Provide full implementation of pthread_self in libc.so.
17939 * nptl/Makefile (routines): Add pthread_self.
17940 (libpthread-routines): Replace pthread_self with
17941 compat-pthread_self.
17942 * nptl/forward.c (pthread_self): Remove.
17943 * nptl/nptl-init.c (pthread_functions): Do not initialize
17945 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17946 * nptl/compat-pthread_self.c: New file.
17947 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17948 Remove ptr_pthread_self.
17950 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17952 * posix/regcomp.c: Fix spelling in comments.
17953 * posix/regex.h: Likewise.
17954 * posix/regex_internal.c: Likewise.
17955 * posix/regexec.c: Likewise.
17957 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17960 * math/Makefile [C++] (tests): Add test for iseqsig.
17961 * math/math.h [C++] (iseqsig): New implementation, which does
17962 not rely on __MATH_TG/__builtin_types_compatible_p.
17963 * math/test-math-iseqsig.cc: New file.
17964 * sysdeps/powerpc/powerpc64le/Makefile
17965 (CFLAGS-test-math-iseqsig.cc): New variable.
17967 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17969 * elf/dl-load.c (is_trusted_path): Remove.
17970 (fillin_rpath): Remove check_trusted argument and its use,
17971 all callers changed.
17973 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17976 * Makeconfig (link-pie-before-libc): Replace -pie with
17977 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17978 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17979 (tst-dlopen-aout-no-pie): New.
17980 (LDFLAGS-tst-prelink): Removed.
17981 (tst-prelink-no-pie): New.
17982 (LDFLAGS-tst-main1): Removed.
17983 (tst-main1-no-pie): New.
17984 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17985 (tst-gmon-no-pie): New.
17987 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17989 * manual/install.texi: Document that --enable-static-pie
17991 * INSTALL: Regenerated.
17993 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17996 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17999 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18003 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18007 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18009 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18010 <errno.h>. Include "eexp.tbl".
18011 (half): New constant.
18013 (__ieee754_exp): Rewrite.
18014 (__slowexp): Remove prototype.
18015 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18016 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18017 * sysdeps/i386/fpu/slowexp.c: Likewise.
18018 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18019 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18020 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18022 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18023 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18024 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18026 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18027 (CPPFLAGS-slowexp.c): Remove variable.
18028 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18029 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18030 (CFLAGS-slowexp-fma.c): Remove variable.
18031 (CFLAGS-slowexp-fma4.c): Likewise.
18032 (CFLAGS-slowexp-avx.c): Likewise.
18033 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18037 * math/Makefile (type-double-routines): Remove slowexp.
18038 * manual/probes.texi (slowexp_p6): Remove.
18039 (slowexp_p32): Likewise.
18041 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18043 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18046 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18048 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18052 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18054 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18055 <errno.h>. Include "eexp.tbl".
18056 (half): New constant.
18058 (__ieee754_exp): Rewrite.
18059 (__slowexp): Remove prototype.
18060 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18061 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18062 * sysdeps/i386/fpu/slowexp.c: Likewise.
18063 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18064 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18065 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18068 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18069 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18071 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18072 (CPPFLAGS-slowexp.c): Remove variable.
18073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18074 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18075 (CFLAGS-slowexp-fma.c): Remove variable.
18076 (CFLAGS-slowexp-fma4.c): Likewise.
18077 (CFLAGS-slowexp-avx.c): Likewise.
18078 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18082 * math/Makefile (type-double-routines): Remove slowexp.
18083 * manual/probes.texi (slowexp_p6): Remove.
18084 (slowexp_p32): Likewise.
18086 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18087 James Clarke <jrtc27@jrtc27.com>
18090 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18093 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18096 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18099 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18102 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18103 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18104 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18105 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18108 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18111 * bits/types/__cancel_jmp_buf_tag.h: New file.
18112 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18113 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18114 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18115 * nptl/Makefile (headers): Add
18116 bits/types/__cancel_jmp_buf_tag.h.
18117 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18118 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18119 * sysdeps/nptl/pthread.h: Include
18120 <bits/types/__cancel_jmp_buf_tag.h>.
18121 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18123 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18125 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18127 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18128 --enable-static-pie variants to x86_64, x32 and i686.
18130 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18133 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18134 argument for attrubutes. All callers changed.
18135 (__inline_mathop1): Likewise. All callers changed.
18136 (__inline_mathop): Likewise. All callers changed.
18137 [__USE_MISC] (scalbn): Use __inline_forward instead of
18138 __inline_forward_c.
18139 [__USE_ISOC99] (scalbln): Likewise.
18140 [__USE_ISOC99] (nearbyint): Likewise.
18141 [__USE_ISOC99] (lrint): Likewise.
18142 [__USE_MISC] (scalbnf): Likewise.
18143 [__USE_ISOC99] (scalblnf): Likewise.
18144 [__USE_ISOC99] (nearbyintf): Likewise.
18145 [__USE_ISOC99] (lrintf): Likewise.
18146 [__USE_MISC] (scalbnl): Likewise.
18147 [__USE_ISOC99] (scalblnl): Likewise.
18148 [__USE_ISOC99] (nearbyintl): Likewise.
18149 [__USE_ISOC99] (lrintl): Likewise.
18150 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18151 __inline_mathop and __m81_defun changed.
18153 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18154 CPU or FPU for ARM hard-float configurations.
18156 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18158 * nptl/tst-attr3.c: Include <libc-diag.h>.
18159 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18161 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18163 * string/tester.c (test_strncat): Also disable -Warray-bounds
18164 warnings for two tests.
18166 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18169 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18170 $(cc-pie-default) == yes.
18171 * config.make.in (cc-pie-default): New.
18172 * configure.ac (libc_cv_pie_default): Renamed to ...
18173 (libc_cv_cc_pie_default): This.
18174 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18175 * configure: Regenerated.
18177 2017-12-18 Florian Weimer <fweimer@redhat.com>
18180 ld.so: Harden dl-libc/libdl hooks.
18181 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18182 (rtld_active): New function.
18183 * dlfcn/dladdr.c (__dladdr): Call it.
18184 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18185 * dlfcn/dlclose.c (__dlcose): Likewise.
18186 * dlfcn/dlerror.c (__dlerror): Likewise.
18187 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18188 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18189 * dlfcn/dlopen.c (__dlopen): Likewise.
18190 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18191 * dlfcn/dlsym.c (__dlsym): Likewise.
18192 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18193 * libio/vtables.c (_IO_vtable_check): Likewise.
18194 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18195 (__libc_dlclose): Likewise.
18196 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18199 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18202 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18203 buffers for readlink input and output.
18205 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18208 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18209 inhibit_stack_protector.
18212 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18213 inhibit_stack_protector.
18215 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18218 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18219 code and invocation.
18221 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18223 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18225 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18228 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18230 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18232 * sysdeps/s390/fpu/libm-test-ulps: Update.
18234 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18238 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18240 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18241 constants to s_sincosf.h file.
18242 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18245 * sysdeps/ieee754/flt-32/s_sincosf.h:
18248 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18251 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18254 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18257 * INSTALL: Regenerated.
18258 * Makeconfig (real-static-start-installed-name): New.
18259 (pic-default): Updated for --enable-static-pie.
18260 (pie-default): New for --enable-static-pie.
18261 (default-pie-ldflag): Likewise.
18262 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18263 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18264 Replace $(static-start-installed-name) with
18265 $(real-static-start-installed-name).
18266 (+prectorT): Updated for --enable-static-pie.
18267 (+postctorT): Likewise.
18268 (CFLAGS-.o): Add $(pie-default).
18269 (CFLAGS-.op): Likewise.
18270 * NEWS: Mention --enable-static-pie.
18271 * config.h.in (ENABLE_STATIC_PIE): New.
18272 * configure.ac (--enable-static-pie): New configure option.
18273 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18274 (have-static-pie): Likewise.
18275 Enable static PIE if linker supports --no-dynamic-linker.
18276 (ENABLE_STATIC_PIE): New AC_DEFINE.
18277 (enable-static-pie): New LIBC_CONFIG_VAR.
18278 * configure: Regenerated.
18279 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18280 gr$(start-installed-name) for --enable-static-pie.
18281 (extra-objs): Likewise.
18282 (install-lib): Likewise.
18283 (extra-objs): Add static-reloc.o and static-reloc.os
18284 ($(objpfx)$(start-installed-name)): Also depend on
18285 $(objpfx)static-reloc.o.
18286 ($(objpfx)r$(start-installed-name)): New.
18287 ($(objpfx)g$(start-installed-name)): Also depend on
18288 $(objpfx)static-reloc.os.
18289 ($(objpfx)gr$(start-installed-name)): New.
18290 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18292 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18294 * csu/static-reloc.c: New file.
18295 * elf/Makefile (routines): Add dl-reloc-static-pie.
18296 (elide-routines.os): Likewise.
18297 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18298 (tst-tls1-static-non-pie-no-pie): New.
18299 * elf/dl-reloc-static-pie.c: New file.
18300 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18301 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18302 STATIC_PIE_BOOTSTRAP.
18303 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18304 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18305 (tests-static): Likewise.
18306 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18307 (tst-gmon-static-no-pie): New.
18308 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18309 (CRT-tst-gmon-static-pie): Likewise.
18310 (tst-gmon-static-pie-ENV): Likewise.
18311 (tests-special): Likewise.
18312 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18313 (clean-tst-gmon-static-pie-data): Likewise.
18314 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18315 * gmon/tst-gmon-static-pie.c: New file.
18316 * manual/install.texi: Document --enable-static-pie.
18317 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18318 (_dl_get_dl_main_map): Likewise.
18319 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18320 * sysdeps/x86_64/configure.ac: Likewise.
18321 * sysdeps/i386/configure: Regenerated.
18322 * sysdeps/x86_64/configure: Likewise.
18323 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18324 (ASFLAGS-.op): Likewise.
18326 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18328 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18329 * posix/tst-mmap-offset.c (fname): Use /tmp.
18330 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18332 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18334 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18336 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18338 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18341 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18343 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18344 --with-float=hard for arm-linux-gnueabihf configurations.
18347 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18348 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18349 ($(mo-installed)): Use $(objpfx)%.mo.
18350 (realclean): Remove rule.
18352 * po/Makefile (linguas): Remove rule and dependencies.
18353 (linguas.mo): Likewise.
18354 (.PHONY): Do not depend on linguas and linguas.mo.
18355 (podir): Remove variable.
18356 (pofiles): Likewise.
18357 [$(pofiles)] (%.po): Remove rule.
18359 * sysdeps/sparc/sparc32/Makefile
18360 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18361 start-of-line whitespace in argument of echo.
18362 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18363 with whitespace. Generate __wrap_.udiv alias.
18364 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18365 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18366 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18367 * sysdeps/sparc/sparc32/urem.S: Likewise.
18369 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18371 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18372 for aligned inputs.
18374 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18376 * benchtests/bench-strcmp.c: Print output in JSON format.
18378 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18380 2017-12-14 Florian Weimer <fweimer@redhat.com>
18384 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18385 the expanded path string.
18387 2017-12-14 Florian Weimer <fweimer@redhat.com>
18391 * elf/dl-load.c (system_dirs): Update comment.
18392 (nsystem_dirs_len): Use array_length.
18393 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18395 2017-12-14 Florian Weimer <fweimer@redhat.com>
18397 Simplify compiling most of support/ outside of glibc.
18398 * support/check_addrinfo.c: Include <string.h>.
18399 * support/check_dns_packet.c: Likewise.
18400 * support/check_hostent.c: Likewise.
18401 * support/support_can_chroot.c: Include <support/xunistd.h>.
18402 * support/support_format_addrinfo.c: Include <stdlib.h>
18403 * support/support_format_dns_packet.c: Include <stdbool.h>.
18404 * support/support_format_hostent.c: Include <stdlib.h>.
18405 * support/support_format_netent.c: Likewise.
18406 * support/support_write_string.c: Include <support/xunistd.h>.
18407 * support/xdlfcn.c: Include <stddef.h>.
18409 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18411 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18413 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18414 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18416 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18417 (sysdeps_routines): Add memset-niagara7.
18418 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18422 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18424 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18425 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18426 Add niagara7 option.
18427 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18430 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18431 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18432 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18434 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18436 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18437 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18438 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18439 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18440 and __memmove_niagara7.
18441 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18442 Add niagara7 option.
18443 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18444 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18445 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18446 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18447 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18449 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18451 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18452 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18453 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18454 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18456 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18457 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18458 _dl_sparc_cap_flags array.
18459 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18461 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18463 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18464 time whenever possible.
18466 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18468 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18469 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18471 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18473 * soft-fp/fmadf4.c: Move to ....
18474 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18475 * soft-fp/fmasf4.c: Move to ....
18476 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18477 * soft-fp/fmatf4.c: Move to ....
18478 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18479 * sysdeps/ieee754/soft-fp/Makefile: New file.
18480 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18481 * sysdeps/arm/preconfigure: Regenerated.
18482 * sysdeps/arm/nofpu/Implies: New file.
18483 * sysdeps/arm/s_fma.c: Remove file.
18484 * sysdeps/arm/s_fmaf.c: Likewise.
18485 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18486 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18487 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18488 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18489 * sysdeps/microblaze/s_fma.c: Remove file.
18490 * sysdeps/microblaze/s_fmaf.c: Likewise.
18491 * sysdeps/mips/mips32/nofpu/Implies: New file.
18492 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18493 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18494 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18495 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18496 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18497 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18498 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18500 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18501 * sysdeps/nios2/s_fma.c: Remove file.
18502 * sysdeps/nios2/s_fmaf.c: Likewise.
18503 * sysdeps/sh/nofpu/Implies: New file.
18504 * sysdeps/sh/s_fma.c: Remove file.
18505 * sysdeps/sh/s_fmaf.c: Likewise.
18506 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18507 * sysdeps/tile/s_fma.c: Remove file.
18508 * sysdeps/tile/s_fmaf.c: Likewise.
18510 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18512 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18513 Add s_cosf-sse2 and s_cosf-fma.
18514 (CFLAGS-s_cosf-fma.c): New.
18515 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18516 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18517 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18519 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18521 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18523 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18525 * libio/Makefile (tests): Add tst-bz22415.
18526 (tst-bz22415-ENV): New rule.
18527 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18528 (tests-special): Add tst-bz22415-mem.out.
18529 ($(objpfx)tst-bz22415-mem.out): New rule.
18530 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18531 in case of a successful seek operation.
18532 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18533 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18534 buffer is required.
18535 * libio/tst-bz22415.c: New test.
18537 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18539 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18541 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18542 __IPC_64 to 0 to avoid IPC_64 being set.
18544 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18547 * math/bits/mathcalls.h (nextafter): Remove const.
18548 (nexttoward): Likewise.
18550 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18552 * configure.ac (--with-fp): Remove configure option.
18553 (with_fp_cond): New variable.
18554 (libc_cv_with_fp): New configure test. Use this variable instead
18556 * configure: Regenerated.
18557 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18558 * manual/install.texi (Configuring and compiling): Remove
18560 * INSTALL: Regenerated.
18561 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18562 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18563 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18564 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18565 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18566 use --without-fp to configure glibc.
18568 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18570 * manual/locale.texi (nl_langinfo): Fix a typo.
18572 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18575 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18577 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18579 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18580 (CFLAGS-argp-parse.c): Likewise.
18581 (CFLAGS-argp-fmtstream.c): Likewise.
18582 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18583 (CPPFLAGS-sha512-crypt.c): Likewise.
18584 (CPPFLAGS-md5-crypt.c): Likewise.
18585 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18586 (CFLAGS-stack_chk_fail_local.c): Likewise.
18587 (CFLAGS-backtrace.c): Likewise.
18588 (CFLAGS-sprintf_chk.c): Likewise.
18589 (CFLAGS-snprintf_chk.c): Likewise.
18590 (CFLAGS-vsprintf_chk.c): Likewise.
18591 (CFLAGS-vsnprintf_chk.c): Likewise.
18592 (CFLAGS-asprintf_chk.c): Likewise.
18593 (CFLAGS-vasprintf_chk.c): Likewise.
18594 (CFLAGS-obprintf_chk.c): Likewise.
18595 (CFLAGS-dprintf_chk.c): Likewise.
18596 (CFLAGS-vdprintf_chk.c): Likewise.
18597 (CFLAGS-printf_chk.c): Likewise.
18598 (CFLAGS-fprintf_chk.c): Likewise.
18599 (CFLAGS-vprintf_chk.c): Likewise.
18600 (CFLAGS-vfprintf_chk.c): Likewise.
18601 (CFLAGS-gets_chk.c): Likewise.
18602 (CFLAGS-fgets_chk.c): Likewise.
18603 (CFLAGS-fgets_u_chk.c): Likewise.
18604 (CFLAGS-fread_chk.c): Likewise.
18605 (CFLAGS-fread_u_chk.c): Likewise.
18606 (CFLAGS-swprintf_chk.c): Likewise.
18607 (CFLAGS-vswprintf_chk.c): Likewise.
18608 (CFLAGS-wprintf_chk.c): Likewise.
18609 (CFLAGS-fwprintf_chk.c): Likewise.
18610 (CFLAGS-vwprintf_chk.c): Likewise.
18611 (CFLAGS-vfwprintf_chk.c): Likewise.
18612 (CFLAGS-fgetws_chk.c): Likewise.
18613 (CFLAGS-fgetws_u_chk.c): Likewise.
18614 (CFLAGS-read_chk.c): Likewise.
18615 (CFLAGS-pread_chk.c): Likewise.
18616 (CFLAGS-pread64_chk.c): Likewise.
18617 (CFLAGS-recv_chk.c): Likewise.
18618 (CFLAGS-recvfrom_chk.c): Likewise.
18619 (CFLAGS-tst-longjmp_chk.c): Likewise.
18620 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18621 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18622 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18623 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18624 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18625 (CFLAGS-tst-chk1.c): Likewise.
18626 (CFLAGS-tst-chk2.c): Likewise.
18627 (CFLAGS-tst-chk3.c): Likewise.
18628 (CFLAGS-tst-chk4.cc): Likewise.
18629 (CFLAGS-tst-chk5.cc): Likewise.
18630 (CFLAGS-tst-chk6.cc): Likewise.
18631 (CFLAGS-tst-lfschk1.c): Likewise.
18632 (CFLAGS-tst-lfschk2.c): Likewise.
18633 (CFLAGS-tst-lfschk3.c): Likewise.
18634 (CFLAGS-tst-lfschk4.cc): Likewise.
18635 (CFLAGS-tst-lfschk5.cc): Likewise.
18636 (CFLAGS-tst-lfschk6.cc): Likewise.
18637 (CFLAGS-tst-ssp-1.c): Likewise.
18638 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18639 (CFLAGS-scandir64.c): Likewise.
18640 (CFLAGS-scandir-tail.c): Likewise.
18641 (CFLAGS-scandir64-tail.c): Likewise.
18642 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18643 (CFLAGS-dl-tunables.c): Likewise.
18644 (CFLAGS-dl-runtime.c): Likewise.
18645 (CFLAGS-dl-lookup.c): Likewise.
18646 (CFLAGS-dl-iterate-phdr.c): Likewise.
18647 (CFLAGS-vismain.c): Likewise.
18648 (CFLAGS-tst-linkall-static.c): Likewise.
18649 (CFLAGS-tst-linkall-static.c): Likewise.
18650 (CPPFLAGS-dl-load.c): Likewise.
18651 (CFLAGS-ldconfig.c): Likewise.
18652 (CFLAGS-dl-cache.c): Likewise.
18653 (CFLAGS-cache.c): Likewise.
18654 (CFLAGS-rtld.c): Likewise.
18655 (CFLAGS-multiload.c): Likewise.
18656 (CFLAGS-filtmod1.c): Likewise.
18657 (CFLAGS-tst-align.c): Likewise.
18658 (CFLAGS-tst-align2.c): Likewise.
18659 (CFLAGS-tst-alignmod.c): Likewise.
18660 (CFLAGS-tst-alignmod2.c): Likewise.
18661 (CPPFLAGS-tst-execstack.c): Likewise.
18662 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18663 (CFLAGS-tst-latepthreadmod.c): Likewise.
18664 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18665 (CFLAGS-getgrnam_r.c): Likewise.
18666 (CFLAGS-getgrent_r.c): Likewise.
18667 (CFLAGS-getgrent.c): Likewise.
18668 (CFLAGS-fgetgrent.c): Likewise.
18669 (CFLAGS-fgetgrent_r.c): Likewise.
18670 (CFLAGS-putgrent.c): Likewise.
18671 (CFLAGS-initgroups.c): Likewise.
18672 (CFLAGS-getgrgid.c): Likewise.
18673 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18674 (CFLAGS-getsgent.c): Likewise.
18675 (CFLAGS-fgetsgent.c): Likewise.
18676 (CFLAGS-fgetsgent_r.c): Likewise.
18677 (CFLAGS-putsgent.c): Likewise.
18678 (CFLAGS-getsgnam.c): Likewise.
18679 (CFLAGS-getsgnam_r.c): Likewise.
18680 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18681 (CFLAGS-iconv_charmap.c): Likewise.
18682 (CFLAGS-dummy-repertoire.c): Likewise.
18683 (CFLAGS-charmap.c): Likewise.
18684 (CFLAGS-linereader.c): Likewise.
18685 (CFLAGS-simple-hash.c): Likewise.
18686 (CFLAGS-gconv_conf.c): Likewise.
18687 (CFLAGS-iconvconfig.c): Likewise.
18688 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18689 (CFLAGS-gethstbyad.c): Likewise.
18690 (CFLAGS-gethstbynm_r.c): Likewise.
18691 (CFLAGS-gethstbynm.c): Likewise.
18692 (CFLAGS-gethstbynm2_r.c): Likewise.
18693 (CFLAGS-gethstbynm2.c): Likewise.
18694 (CFLAGS-gethstent_r.c): Likewise.
18695 (CFLAGS-gethstent.c): Likewise.
18696 (CFLAGS-rcmd.c): Likewise.
18697 (CFLAGS-getnetbynm_r.c): Likewise.
18698 (CFLAGS-getnetbynm.c): Likewise.
18699 (CFLAGS-getnetbyad_r.c): Likewise.
18700 (CFLAGS-getnetbyad.c): Likewise.
18701 (CFLAGS-getnetent_r.c): Likewise.
18702 (CFLAGS-getnetent.c): Likewise.
18703 (CFLAGS-getaliasent_r.c): Likewise.
18704 (CFLAGS-getaliasent.c): Likewise.
18705 (CFLAGS-getrpcent_r.c): Likewise.
18706 (CFLAGS-getrpcent.c): Likewise.
18707 (CFLAGS-getservent_r.c): Likewise.
18708 (CFLAGS-getservent.c): Likewise.
18709 (CFLAGS-getprtent_r.c): Likewise.
18710 (CFLAGS-getprtent.c): Likewise.
18711 (CFLAGS-either_ntoh.c): Likewise.
18712 (CFLAGS-either_hton.c): Likewise.
18713 (CFLAGS-getnetgrent.c): Likewise.
18714 (CFLAGS-getnetgrent_r.c): Likewise.
18715 (CFLAGS-tst-checks-posix.c): Likewise.
18716 (CFLAGS-tst-sockaddr.c): Likewise.
18717 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18718 (CFLAGS-tst-translit.c): Likewise.
18719 (CFLAGS-tst-gettext2.c): Likewise.
18720 (CFLAGS-tst-codeset.c): Likewise.
18721 (CFLAGS-tst-gettext3.c): Likewise.
18722 (CFLAGS-tst-gettext4.c): Likewise.
18723 (CFLAGS-tst-gettext5.c): Likewise.
18724 (CFLAGS-tst-gettext6.c): Likewise.
18725 * io/Makefile (CFLAGS-open.c): Likewise.
18726 (CFLAGS-open64.c): Likewise.
18727 (CFLAGS-creat.c): Likewise.
18728 (CFLAGS-creat64.c): Likewise.
18729 (CFLAGS-fcntl.c): Likewise.
18730 (CFLAGS-poll.c): Likewise.
18731 (CFLAGS-ppoll.c): Likewise.
18732 (CFLAGS-lockf.c): Likewise.
18733 (CFLAGS-statfs.c): Likewise.
18734 (CFLAGS-fstatfs.c): Likewise.
18735 (CFLAGS-statvfs.c): Likewise.
18736 (CFLAGS-fstatvfs.c): Likewise.
18737 (CFLAGS-fts.c): Likewise.
18738 (CFLAGS-fts64.c): Likewise.
18739 (CFLAGS-ftw.c): Likewise.
18740 (CFLAGS-ftw64.c): Likewise.
18741 (CFLAGS-lockf.c): Likewise.
18742 (CFLAGS-posix_fallocate.c): Likewise.
18743 (CFLAGS-posix_fallocate64.c): Likewise.
18744 (CFLAGS-fallocate.c): Likewise.
18745 (CFLAGS-fallocate64.c): Likewise.
18746 (CFLAGS-read.c): Likewise.
18747 (CFLAGS-write.c): Likewise.
18748 (CFLAGS-test-stat.c): Likewise.
18749 (CFLAGS-test-lfs.c): Likewise.
18750 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18751 (CFLAGS-fputc.c): Likewise.
18752 (CFLAGS-fputwc.c): Likewise.
18753 (CFLAGS-freopen64.c): Likewise.
18754 (CFLAGS-freopen.c): Likewise.
18755 (CFLAGS-fseek.c): Likewise.
18756 (CFLAGS-fseeko64.c): Likewise.
18757 (CFLAGS-fseeko.c): Likewise.
18758 (CFLAGS-ftello64.c): Likewise.
18759 (CFLAGS-ftello.c): Likewise.
18760 (CFLAGS-fwide.c): Likewise.
18761 (CFLAGS-genops.c): Likewise.
18762 (CFLAGS-getc.c): Likewise.
18763 (CFLAGS-getchar.c): Likewise.
18764 (CFLAGS-getwc.c): Likewise.
18765 (CFLAGS-getwchar.c): Likewise.
18766 (CFLAGS-iofclose.c): Likewise.
18767 (CFLAGS-iofflush.c): Likewise.
18768 (CFLAGS-iofgetpos64.c): Likewise.
18769 (CFLAGS-iofgetpos.c): Likewise.
18770 (CFLAGS-iofgets.c): Likewise.
18771 (CFLAGS-iofgetws.c): Likewise.
18772 (CFLAGS-iofputs.c): Likewise.
18773 (CFLAGS-iofputws.c): Likewise.
18774 (CFLAGS-iofread.c): Likewise.
18775 (CFLAGS-iofsetpos64.c): Likewise.
18776 (CFLAGS-iofsetpos.c): Likewise.
18777 (CFLAGS-ioftell.c): Likewise.
18778 (CFLAGS-iofwrite.c): Likewise.
18779 (CFLAGS-iogetdelim.c): Likewise.
18780 (CFLAGS-iogetline.c): Likewise.
18781 (CFLAGS-iogets.c): Likewise.
18782 (CFLAGS-iogetwline.c): Likewise.
18783 (CFLAGS-ioputs.c): Likewise.
18784 (CFLAGS-ioseekoff.c): Likewise.
18785 (CFLAGS-ioseekpos.c): Likewise.
18786 (CFLAGS-iosetbuffer.c): Likewise.
18787 (CFLAGS-iosetvbuf.c): Likewise.
18788 (CFLAGS-ioungetc.c): Likewise.
18789 (CFLAGS-ioungetwc.c): Likewise.
18790 (CFLAGS-oldfileops.c): Likewise.
18791 (CFLAGS-oldiofclose.c): Likewise.
18792 (CFLAGS-oldiofgetpos64.c): Likewise.
18793 (CFLAGS-oldiofgetpos.c): Likewise.
18794 (CFLAGS-oldiofsetpos64.c): Likewise.
18795 (CFLAGS-oldiofsetpos.c): Likewise.
18796 (CFLAGS-peekc.c): Likewise.
18797 (CFLAGS-putc.c): Likewise.
18798 (CFLAGS-putchar.c): Likewise.
18799 (CFLAGS-putwc.c): Likewise.
18800 (CFLAGS-putwchar.c): Likewise.
18801 (CFLAGS-rewind.c): Likewise.
18802 (CFLAGS-wfileops.c): Likewise.
18803 (CFLAGS-wgenops.c): Likewise.
18804 (CFLAGS-oldiofopen.c): Likewise.
18805 (CFLAGS-iofopen.c): Likewise.
18806 (CFLAGS-iofopen64.c): Likewise.
18807 (CFLAGS-oldtmpfile.c): Likewise.
18808 (CFLAGS-tst_putwc.c): Likewise.
18809 * locale/Makefile (CFLAGS-md5.c): Likewise.
18810 (CFLAGS-charmap.c): Likewise.
18811 (CFLAGS-locfile.c): Likewise.
18812 (CFLAGS-charmap-dir.c): Likewise.
18813 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18814 (CFLAGS-getpt.c): Likewise.
18815 (CFLAGS-pt_chown.c): Likewise.
18816 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18817 (CFLAGS-obstack.c): Likewise.
18818 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18819 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18820 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18821 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18822 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18823 (CFLAGS-test-tgmath.c): Likewise.
18824 (CFLAGS-test-tgmath2.c): Likewise.
18825 (CFLAGS-test-tgmath-ret.c): Likewise.
18826 (CFLAGS-test-powl.c): Likewise.
18827 (CFLAGS-test-snan.c): Likewise.
18828 (CFLAGS-test-signgam-finite.c): Likewise.
18829 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18830 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18831 (CFLAGS-test-signgam-uchar.c): Likewise.
18832 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18833 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18834 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18835 (CFLAGS-test-signgam-uint.c): Likewise.
18836 (CFLAGS-test-signgam-uint-init.c): Likewise.
18837 (CFLAGS-test-signgam-uint-static.c): Likewise.
18838 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18839 (CFLAGS-test-signgam-ullong.c): Likewise.
18840 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18841 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18842 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18843 (CFLAGS-test-math-cxx11.cc): Likewise.
18844 (CFLAGS-test-math-isinff.cc): Likewise.
18845 (CFLAGS-test-math-iszero.cc): Likewise.
18846 (CFLAGS-test-math-issignaling.cc): Likewise.
18847 (CFLAGS-test-math-iscanonical.cc): Likewise.
18848 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18849 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18850 (CFLAGS-test-flt-eval-method.c): Likewise.
18851 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18852 (CFLAGS-test-finite-macros.c): Likewise.
18853 * misc/Makefile (CFLAGS-select.c): Likewise.
18854 (CFLAGS-tsearch.c): Likewise.
18855 (CFLAGS-lsearch.c): Likewise.
18856 (CFLAGS-pselect.c): Likewise.
18857 (CFLAGS-readv.c): Likewise.
18858 (CFLAGS-writev.c): Likewise.
18859 (CFLAGS-preadv.c): Likewise.
18860 (CFLAGS-preadv64.c): Likewise.
18861 (CFLAGS-pwritev.c): Likewise.
18862 (CFLAGS-pwritev64.c): Likewise.
18863 (CFLAGS-preadv2.c): Likewise.
18864 (CFLAGS-preadv64v2.c): Likewise.
18865 (CFLAGS-pwritev2.c): Likewise.
18866 (CFLAGS-pwritev64v2.c): Likewise.
18867 (CFLAGS-usleep.c): Likewise.
18868 (CFLAGS-syslog.c): Likewise.
18869 (CFLAGS-error.c): Likewise.
18870 (CFLAGS-getpass.c): Likewise.
18871 (CFLAGS-mkstemp.c): Likewise.
18872 (CFLAGS-mkstemp64.c): Likewise.
18873 (CFLAGS-getsysstats.c): Likewise.
18874 (CFLAGS-getusershell.c): Likewise.
18875 (CFLAGS-err.c): Likewise.
18876 (CFLAGS-tst-tsearch.c): Likewise.
18877 (CFLAGS-msync.c): Likewise.
18878 (CFLAGS-fdatasync.c): Likewise.
18879 (CFLAGS-fsync.c): Likewise.
18880 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18881 (CFLAGS-unwind.c): Likewise.
18882 (CFLAGS-unwind-forcedunwind.c): Likewise.
18883 (CFLAGS-pthread_cancel.c): Likewise.
18884 (CFLAGS-pthread_setcancelstate.c): Likewise.
18885 (CFLAGS-pthread_setcanceltype.c): Likewise.
18886 (CFLAGS-cancellation.c): Likewise.
18887 (CFLAGS-libc-cancellation.c): Likewise.
18888 (CFLAGS-pthread_exit.c): Likewise.
18889 (CFLAGS-forward.c): Likewise.
18890 (CFLAGS-pthread_testcancel.c): Likewise.
18891 (CFLAGS-pthread_join.c): Likewise.
18892 (CFLAGS-pthread_timedjoin.c): Likewise.
18893 (CFLAGS-pthread_once.c): Likewise.
18894 (CFLAGS-pthread_cond_wait.c): Likewise.
18895 (CFLAGS-sem_wait.c): Likewise.
18896 (CFLAGS-sem_timedwait.c): Likewise.
18897 (CFLAGS-fcntl.c): Likewise.
18898 (CFLAGS-lockf.c): Likewise.
18899 (CFLAGS-pread.c): Likewise.
18900 (CFLAGS-pread64.c): Likewise.
18901 (CFLAGS-pwrite.c): Likewise.
18902 (CFLAGS-pwrite64.c): Likewise.
18903 (CFLAGS-wait.c): Likewise.
18904 (CFLAGS-waitpid.c): Likewise.
18905 (CFLAGS-sigwait.c): Likewise.
18906 (CFLAGS-msgrcv.c): Likewise.
18907 (CFLAGS-msgsnd.c): Likewise.
18908 (CFLAGS-tcdrain.c): Likewise.
18909 (CFLAGS-open.c): Likewise.
18910 (CFLAGS-open64.c): Likewise.
18911 (CFLAGS-pause.c): Likewise.
18912 (CFLAGS-recv.c): Likewise.
18913 (CFLAGS-send.c): Likewise.
18914 (CFLAGS-accept.c): Likewise.
18915 (CFLAGS-sendto.c): Likewise.
18916 (CFLAGS-connect.c): Likewise.
18917 (CFLAGS-recvfrom.c): Likewise.
18918 (CFLAGS-recvmsg.c): Likewise.
18919 (CFLAGS-sendmsg.c): Likewise.
18920 (CFLAGS-close.c): Likewise.
18921 (CFLAGS-read.c): Likewise.
18922 (CFLAGS-write.c): Likewise.
18923 (CFLAGS-nanosleep.c): Likewise.
18924 (CFLAGS-sigsuspend.c): Likewise.
18925 (CFLAGS-msync.c): Likewise.
18926 (CFLAGS-fdatasync.c): Likewise.
18927 (CFLAGS-fsync.c): Likewise.
18928 (CFLAGS-pt-system.c): Likewise.
18929 (CFLAGS-tst-cleanup2.c): Likewise.
18930 (CFLAGS-tst-cleanupx2.c): Likewise.
18931 (CFLAGS-flockfile.c): Likewise.
18932 (CFLAGS-ftrylockfile.c): Likewise.
18933 (CFLAGS-funlockfile.c): Likewise.
18934 (CFLAGS-tst-initializers1.c): Likewise.
18935 (CFLAGS-tst-initializers1-c89.c): Likewise.
18936 (CFLAGS-tst-initializers1-c99.c): Likewise.
18937 (CFLAGS-tst-initializers1-c11.c): Likewise.
18938 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18939 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18940 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18941 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18942 (CFLAGS-nscd_getgr_r.c): Likewise.
18943 (CFLAGS-nscd_gethst_r.c): Likewise.
18944 (CFLAGS-nscd_getai.c): Likewise.
18945 (CFLAGS-nscd_initgroups.c): Likewise.
18946 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18947 (CFLAGS-pause.c): Likewise.
18948 (CFLAGS-pread.c): Likewise.
18949 (CFLAGS-pread64.c): Likewise.
18950 (CFLAGS-pwrite.c): Likewise.
18951 (CFLAGS-pwrite64.c): Likewise.
18952 (CFLAGS-sleep.c): Likewise.
18953 (CFLAGS-wait.c): Likewise.
18954 (CFLAGS-waitid.c): Likewise.
18955 (CFLAGS-waitpid.c): Likewise.
18956 (CFLAGS-getopt.c): Likewise.
18957 (CFLAGS-wordexp.c): Likewise.
18958 (CFLAGS-sysconf.c): Likewise.
18959 (CFLAGS-pathconf.c): Likewise.
18960 (CFLAGS-fpathconf.c): Likewise.
18961 (CFLAGS-spawn.c): Likewise.
18962 (CFLAGS-spawnp.c): Likewise.
18963 (CFLAGS-spawni.c): Likewise.
18964 (CFLAGS-glob.c): Likewise.
18965 (CFLAGS-glob64.c): Likewise.
18966 (CFLAGS-getconf.c): Likewise.
18967 (CFLAGS-nanosleep.c): Likewise.
18968 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18969 (CFLAGS-getpwent.c): Likewise.
18970 (CFLAGS-getpw.c): Likewise.
18971 (CFLAGS-fgetpwent_r.c): Likewise.
18972 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18973 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18974 (CFLAGS-mq_timedreceive.c): Likewise.
18975 (CFLAGS-mq_timedsend.c): Likewise.
18976 (CFLAGS-clock_nanosleep.c): Likewise.
18977 (CFLAGS-librt-cancellation.c): Likewise.
18978 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18979 (CFLAGS-getspent.c): Likewise.
18980 (CFLAGS-fgetspent.c): Likewise.
18981 (CFLAGS-fgetspent_r.c): Likewise.
18982 (CFLAGS-putspent.c): Likewise.
18983 (CFLAGS-getspnam.c): Likewise.
18984 (CFLAGS-getspnam_r.c): Likewise.
18985 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18986 (CFLAGS-sigsuspend.c): Likewise.
18987 (CFLAGS-sigtimedwait.c): Likewise.
18988 (CFLAGS-sigwait.c): Likewise.
18989 (CFLAGS-sigwaitinfo.c): Likewise.
18990 (CFLAGS-sigreturn.c): Likewise.
18991 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18992 (CFLAGS-vfwprintf.c): Likewise.
18993 (CFLAGS-tmpfile.c): Likewise.
18994 (CFLAGS-tmpfile64.c): Likewise.
18995 (CFLAGS-tempname.c): Likewise.
18996 (CFLAGS-psignal.c): Likewise.
18997 (CFLAGS-vprintf.c): Likewise.
18998 (CFLAGS-cuserid.c): Likewise.
18999 (CFLAGS-errlist.c): Likewise.
19000 (CFLAGS-siglist.c): Likewise.
19001 (CFLAGS-scanf15.c): Likewise.
19002 (CFLAGS-scanf17.c): Likewise.
19003 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19004 (CFLAGS-msort.c): Likewise.
19005 (CFLAGS-qsort.c): Likewise.
19006 (CFLAGS-system.c): Likewise.
19007 (CFLAGS-fmtmsg.c): Likewise.
19008 (CFLAGS-strfmon.c): Likewise.
19009 (CFLAGS-strfmon_l.c): Likewise.
19010 (CFLAGS-strfromd.c): Likewise.
19011 (CFLAGS-strfromf.c): Likewise.
19012 (CFLAGS-strfroml.c): Likewise.
19013 (CFLAGS-tst-bsearch.c): Likewise.
19014 (CFLAGS-tst-qsort.c): Likewise.
19015 (CFLAGS-tst-makecontext2.c): Likewise.
19016 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19017 (CFLAGS-xnlm_prot.c): Likewise.
19018 (CFLAGS-xrstat.c): Likewise.
19019 (CFLAGS-xyppasswd.c): Likewise.
19020 (CFLAGS-xklm_prot.c): Likewise.
19021 (CFLAGS-xrex.c): Likewise.
19022 (CFLAGS-xsm_inter.c): Likewise.
19023 (CFLAGS-xmount.c): Likewise.
19024 (CFLAGS-xrusers.c): Likewise.
19025 (CFLAGS-xspray.c): Likewise.
19026 (CFLAGS-xnfs_prot.c): Likewise.
19027 (CFLAGS-xrquota.c): Likewise.
19028 (CFLAGS-xkey_prot.c): Likewise.
19029 (CFLAGS-auth_unix.c): Likewise.
19030 (CFLAGS-key_call.c): Likewise.
19031 (CFLAGS-pmap_rmt.c): Likewise.
19032 (CFLAGS-clnt_perr.c): Likewise.
19033 (CFLAGS-openchild.c): Likewise.
19034 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19035 (CFLAGS-msgsnd.c): Likewise.
19036 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19037 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19038 (CFLAGS-tzset.c): Likewise.
19039 (CFLAGS-getdate.c): Likewise.
19040 (CFLAGS-test_time.c): Likewise.
19041 (CPPFLAGS-tst-tzname.c): Likewise.
19042 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19043 (CFLAGS-zic.c): Likewise.
19044 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19045 (CFLAGS-wcswidth.c): Likewise.
19046 (CFLAGS-wcstol.c): Likewise.
19047 (CFLAGS-wcstoul.c): Likewise.
19048 (CFLAGS-wcstoll.c): Likewise.
19049 (CFLAGS-wcstoull.c): Likewise.
19050 (CFLAGS-wcstod.c): Likewise.
19051 (CFLAGS-wcstold.c): Likewise.
19052 (CFLAGS-wcstof128.c): Likewise.
19053 (CFLAGS-wcstof.c): Likewise.
19054 (CFLAGS-wcstol_l.c): Likewise.
19055 (CFLAGS-wcstoul_l.c): Likewise.
19056 (CFLAGS-wcstoll_l.c): Likewise.
19057 (CFLAGS-wcstoull_l.c): Likewise.
19058 (CFLAGS-wcstod_l.c): Likewise.
19059 (CFLAGS-wcstold_l.c): Likewise.
19060 (CFLAGS-wcstof128_l.c): Likewise.
19061 (CFLAGS-wcstof_l.c): Likewise.
19062 (CPPFLAGS-tst-wchar-h.c): Likewise.
19063 (CPPFLAGS-wcstold_l.c): Likewise.
19065 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19067 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19069 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19070 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19072 * manual/tunables.texi (Hardware Capability Tunables): Document
19073 glibc.tune.cached_memopt.
19074 * sysdeps/powerpc/cpu-features.c: New file.
19075 * sysdeps/powerpc/cpu-features.h: New file.
19076 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19077 _dl_powerpc_cpu_features.
19078 * sysdeps/powerpc/dl-tunables.list: New file.
19079 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19080 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19081 (INIT_ARCH): Initialize use_aligned_memopt.
19082 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19083 IS_IN(rtld))]: Restrict dl_platform_init availability and
19084 initialize CPU features used by tunables.
19085 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19086 Add memcpy-power8-cached.
19087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19088 __memcpy_power8_cached.
19089 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19090 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19093 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19095 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19096 (CFLAGS-noinl-tester.c): Likewise.
19097 (CFLAGS-tst-strlen.c): Likewise.
19098 (CFLAGS-stratcliff.c): Likewise.
19099 (CFLAGS-test-ffs.c): Likewise.
19100 (CFLAGS-tst-inlcall.c): Likewise.
19101 (CFLAGS-tst-xbzero-opt.c): Likewise.
19102 (CFLAGS-memcpy.c): Likewise.
19103 (CFLAGS-wordcopy.c): Likewise.
19105 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19107 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19108 Store r15 on stack and add cfi rule.
19109 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19112 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19115 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19118 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19120 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19121 Add s_sinf-sse2 and s_sinf-fma.
19122 (CFLAGS-s_sinf-fma.c): New.
19123 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19124 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19125 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19127 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19129 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19131 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19134 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19135 part of result to imaginary part of argument if it is zero and the
19136 real part of the argument is not finite.
19137 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19138 of result to real part of argument if it is zero and the imaginary
19139 part of the argument is not finite.
19141 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19144 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19145 and to the list of locales to be built for testing.
19146 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19147 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19148 and build the collation rules upon that.
19150 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19152 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19153 * manual/math.texi (Mathematics): Document support for _Float32.
19154 * math/Makefile (test-types): Add float32.
19155 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19156 * stdlib/Versions (GLIBC_2.27): Likewise.
19157 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19158 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19159 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19160 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19161 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19162 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19163 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19164 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19167 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19168 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19169 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19170 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19171 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19172 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19173 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19174 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19175 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19176 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19177 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19182 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19183 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19184 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19202 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19203 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19204 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19205 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19206 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19207 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19208 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19209 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19211 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19220 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19221 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19222 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19226 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19229 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19231 * stdlib/strtof.c: Include <bits/floatn.h>
19232 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19233 and later undefine as macro. Define as weak alias if
19235 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19236 and later undefine as macro. Define as weak alias if
19238 * stdlib/strtof_l.c: Include <bits/floatn.h>
19239 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19240 and later undefine as macro. Define as weak alias if
19242 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19243 and later undefine as macro. Define as weak alias if
19246 * stdlib/strfromf.c: Include <bits/floatn.h>.
19247 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19248 and later undefine as macro and define as weak alias.
19250 * math/test-float32.h: New file.
19252 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19253 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19254 (libm_alias_float_other_r): Create f32 alias.
19255 (libm_alias_float_r): Use semicolon before call to
19256 libm_alias_float_other_r.
19258 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19259 second argument to libm_alias_float_other.
19260 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19261 second argument to libm_alias_float_other.
19262 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19263 argument to libm_alias_float_other.
19266 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19267 real part of result for argument 0 + i * NaN.
19268 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19269 results for tests of 0 + i * NaN.
19271 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19273 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19275 2017-12-06 David S. Miller <davem@davemloft.net>
19277 * sysdeps/sparc/fpu/libm-test-ulps: Update
19278 exp_{downward,towardzero,upward} ulps.
19280 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19282 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19285 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19287 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19294 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19297 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19298 and to the list of locales to be built for testing.
19299 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19300 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19301 and build the collation rules upon that.
19303 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19305 * NEWS: Add sinf to list of optimized functions.
19307 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19309 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19310 (__HAVE_FLOAT32X): Likewise.
19311 * manual/math.texi (Mathematics): Document support for _Float64
19313 * math/Makefile (test-types): Add float64 and float32x.
19314 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19316 * stdlib/Versions (GLIBC_2.27): Likewise.
19317 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19318 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19322 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19323 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19327 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19328 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19334 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19335 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19336 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19340 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19341 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19342 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19343 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19344 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19361 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19362 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19364 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19365 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19368 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19370 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19379 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19380 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19384 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19385 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19388 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19390 * bits/floatn-common.h: Include <bits/long-double.h>.
19391 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19392 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19393 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19394 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19395 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19396 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19397 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19398 (__builtin_huge_valf64): Use __builtin_huge_vall.
19399 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19400 (__builtin_inff64): Use __builtin_infl.
19401 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19402 (__builtin_nanf64): Use __builtin_nanl.
19403 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19404 (__builtin_nansf64): Use __builtin_nansl.
19406 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19407 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19408 Carlos O'Donnell <carlos@redhat.com>
19410 * elf/dl-tunables.list: Add elision parameters.
19411 * manual/tunables.texi: Add entries about elision tunable.
19412 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19413 Add callback functions to dynamically enable/disable elision.
19414 Add multiple callbacks functions to set elision parameters.
19415 Deleted __libc_enable_secure check.
19416 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19417 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19418 * configure: Regenerated.
19419 * configure.ac: Option enable_lock_elision was deleted.
19420 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19421 * config.make.in: Remove references to enable_lock_elision.
19422 * manual/install.texi: Elision configure option was removed.
19423 * INSTALL: Regenerated to remove enable_lock_elision.
19425 Disable elision so it can verify error case for destroying a mutex.
19426 * sysdeps/powerpc/nptl/elide.h:
19427 Cleanup ENABLE_LOCK_ELISION check.
19428 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19429 * sysdeps/s390/configure: Regenerated.
19430 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19431 * nptl/tst-mutex8.c:
19432 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19433 * sysdeps/powerpc/powerpc32/sysdep.h:
19434 Deleted all ENABLE_LOCK_ELISION checks.
19435 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19436 * sysdeps/powerpc/sysdep.h: Likewise.
19437 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19438 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19439 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19440 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19441 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19442 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19443 enable-lock-elision.
19445 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19447 * stdlib/strtod.c: Include <bits/floatn.h>.
19448 (BUILD_DOUBLE): New macro.
19449 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19450 (strtof64): Define and later undefine as macro. Define as weak
19451 alias if [!USE_WIDE_CHAR].
19452 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19453 (wcstof64): Define and later undefine as macro. Define as weak
19454 alias if [USE_WIDE_CHAR].
19455 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19456 (strtof32x): Define and later undefine as macro. Define as weak
19457 alias if [!USE_WIDE_CHAR].
19458 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19459 (wcstof32x): Define and later undefine as macro. Define as weak
19460 alias if [USE_WIDE_CHAR].
19461 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19462 (BUILD_DOUBLE): New macro.
19463 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19464 (strtof64_l): Define and later undefine as macro. Define as weak
19465 alias if [!USE_WIDE_CHAR].
19466 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19467 (wcstof64_l): Define and later undefine as macro. Define as weak
19468 alias if [USE_WIDE_CHAR].
19469 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19470 (strtof32x_l): Define and later undefine as macro. Define as weak
19471 alias if [!USE_WIDE_CHAR].
19472 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19473 (wcstof32x_l): Define and later undefine as macro. Define as weak
19474 alias if [USE_WIDE_CHAR].
19476 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19478 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19479 (reduced): Use ones as double instead of integer.
19481 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19483 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19485 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19487 * stdlib/strfromd.c: Include <bits/floatn.h>.
19488 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19489 and later undefine as macro and define as weak alias.
19490 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19493 * math/test-float32x.h: New file.
19494 * math/test-float64.h: Likewise.
19496 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19497 (libm_alias_double_other_r_f64): New macro.
19498 (libm_alias_double_other_r_f32x): Likewise.
19499 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19500 libm_alias_double_other_r_f32x.
19501 (libm_alias_double_r): Use semicolon before call to
19502 libm_alias_double_other_r.
19503 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19505 (libm_alias_double_other_r_f64): New macro.
19506 (libm_alias_double_other_r_f32x): Likewise.
19507 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19508 libm_alias_double_other_r_f32x.
19510 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19512 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19514 (SINF_FUNC): Likewise. Replace floor with simple casts.
19516 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19519 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19520 and to the list of locales to be built for testing.
19521 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19522 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19523 and build the collation rules upon that.
19525 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19527 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19528 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19529 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19530 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19531 instead of __insn__xxx.
19532 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19533 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19534 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19535 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19536 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19537 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19539 2017-12-05 Florian Weimer <fweimer@redhat.com>
19541 Linux: Implement interfaces for memory protection keys
19542 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19544 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19545 * support/xunistd.h (xsysconf): Declare.
19546 * support/xraise.c: New file.
19547 * support/xsigaction.c: Likewise.
19548 * support/xsignal.c: Likewise.
19549 * support/xsysconf.c: Likewise.
19550 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19551 pkey_set, pkey_get, pkey_mprotect.
19552 [misc] (tests): Add tst-pkey.
19553 (tst-pkey): Link with -lpthread.
19554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19555 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19556 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19557 (PKEY_DISABLE_WRITE): Define.
19558 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19560 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19561 (SEGV_PKUERR): Add.
19562 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19563 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19564 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19565 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19567 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19568 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19569 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19570 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19571 * sysdeps/unix/sysv/linux/**.abilist: Update.
19573 2017-12-05 Florian Weimer <fweimer@redhat.com>
19575 * support/tst-test_compare.c (subprocess): Use long long instead
19576 of long argument for consistent type width across 32-bit and
19577 64-bit architectures.
19578 (do_test): Adjust expected output.
19580 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19582 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19583 (cosf): Define using libm_alias_float.
19584 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19585 (fabsf): Define using libm_alias_float.
19586 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19587 (fmaf): Define using libm_alias_float.
19588 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19589 (rintf): Define using libm_alias_float.
19590 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19591 (sinf): Define using libm_alias_float.
19592 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19593 <libm-alias-float.h>.
19594 (modff): Define using libm_alias_float.
19595 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19596 <libm-alias-float.h>.
19597 (logbf): Define using libm_alias_float.
19598 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19599 <libm-alias-float.h>.
19600 (ceilf): Define using libm_alias_float.
19601 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19602 <libm-alias-float.h>.
19603 (copysignf): Define using libm_alias_float.
19604 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19605 <libm-alias-float.h>.
19606 (floorf): Define using libm_alias_float.
19607 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19608 <libm-alias-float.h>.
19609 (llrintf): Define using libm_alias_float.
19610 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19611 <libm-alias-float.h>.
19612 (llroundf): Define using libm_alias_float.
19613 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19614 <libm-alias-float.h>.
19615 (lrintf): Define using libm_alias_float.
19616 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19617 <libm-alias-float.h>.
19618 (lroundf): Define using libm_alias_float.
19619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19620 <libm-alias-float.h>.
19621 (nearbyintf): Define using libm_alias_float.
19622 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19623 <libm-alias-float.h>.
19624 (rintf): Define using libm_alias_float.
19625 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19626 <libm-alias-float.h>.
19627 (roundf): Define using libm_alias_float.
19628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19629 <libm-alias-float.h>.
19630 (truncf): Define using libm_alias_float.
19631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19632 Include <libm-alias-float.h>.
19633 (ceilf): Define using libm_alias_float.
19634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19635 Include <libm-alias-float.h>.
19636 (copysignf): Define using libm_alias_float.
19637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19638 Include <libm-alias-float.h>.
19639 (floorf): Define using libm_alias_float.
19640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19641 Include <libm-alias-float.h>.
19642 (llrintf): Define using libm_alias_float.
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19644 Include <libm-alias-float.h>.
19645 (llroundf): Define using libm_alias_float.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19647 Include <libm-alias-float.h>.
19648 (logbf): Define using libm_alias_float.
19649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19650 Include <libm-alias-float.h>.
19651 (lrintf): Define using libm_alias_float.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19653 Include <libm-alias-float.h>.
19654 (lroundf): Define using libm_alias_float.
19655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19656 Include <libm-alias-float.h>.
19657 (modff): Define using libm_alias_float.
19658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19659 Include <libm-alias-float.h>.
19660 (roundf): Define using libm_alias_float.
19661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19662 Include <libm-alias-float.h>.
19663 (truncf): Define using libm_alias_float.
19664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19665 <libm-alias-float.h>.
19666 (llrintf): Define using libm_alias_float.
19667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19668 <libm-alias-float.h>.
19669 (llroundf): Define using libm_alias_float.
19670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19671 <libm-alias-float.h>.
19672 (ceilf): Define using libm_alias_float.
19673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19674 <libm-alias-float.h>.
19675 (floorf): Define using libm_alias_float.
19676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19677 <libm-alias-float.h>.
19678 (llroundf): Define using libm_alias_float.
19679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19680 <libm-alias-float.h>.
19681 (lroundf): Define using libm_alias_float.
19682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19683 <libm-alias-float.h>.
19684 (roundf): Define using libm_alias_float.
19685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19686 <libm-alias-float.h>.
19687 (truncf): Define using libm_alias_float.
19688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19689 <libm-alias-float.h>.
19690 (copysignf): Define using libm_alias_float.
19691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19692 <libm-alias-float.h>.
19693 (llrintf): Define using libm_alias_float.
19694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19695 <libm-alias-float.h>.
19696 (llroundf): Define using libm_alias_float.
19697 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19698 <libm-alias-float.h>.
19699 (lrintf): Define using libm_alias_float.
19700 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19701 <libm-alias-float.h>.
19702 (lroundf): Define using libm_alias_float.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19704 <libm-alias-float.h>.
19705 (ceilf): Define using libm_alias_float.
19706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19707 <libm-alias-float.h>.
19708 (copysignf): Define using libm_alias_float.
19709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19710 <libm-alias-float.h>.
19711 (cosf): Define using libm_alias_float.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19713 <libm-alias-float.h>.
19714 (floorf): Define using libm_alias_float.
19715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19716 <libm-alias-float.h>.
19717 (llrintf): Define using libm_alias_float.
19718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19719 <libm-alias-float.h>.
19720 (llroundf): Define using libm_alias_float.
19721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19722 <libm-alias-float.h>.
19723 (logbf): Define using libm_alias_float.
19724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19725 <libm-alias-float.h>.
19726 (modff): Define using libm_alias_float.
19727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19728 <libm-alias-float.h>.
19729 (roundf): Define using libm_alias_float.
19730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19731 <libm-alias-float.h>.
19732 (sinf): Define using libm_alias_float.
19733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19734 <libm-alias-float.h>.
19735 (truncf): Define using libm_alias_float.
19736 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19737 <libm-alias-float.h>.
19738 (ceilf): Define using libm_alias_float.
19739 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19740 <libm-alias-float.h>.
19741 (copysignf): Define using libm_alias_float.
19742 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19743 <libm-alias-float.h>.
19744 (floorf): Define using libm_alias_float.
19745 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19746 <libm-alias-float.h>.
19747 (llrintf): Define using libm_alias_float.
19748 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19749 <libm-alias-float.h>.
19750 (llroundf): Define using libm_alias_float.
19751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19752 <libm-alias-float.h>.
19753 (nearbyintf): Define using libm_alias_float.
19754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19755 <libm-alias-float.h>.
19756 (rintf): Define using libm_alias_float.
19757 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19758 <libm-alias-float.h>.
19759 (roundf): Define using libm_alias_float.
19760 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19761 <libm-alias-float.h>.
19762 (truncf): Define using libm_alias_float.
19763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19764 <libm-alias-float.h>.
19765 (ceilf): Define using libm_alias_float.
19766 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19767 <libm-alias-float.h>.
19768 (floorf): Define using libm_alias_float.
19769 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19770 <libm-alias-float.h>.
19771 (llroundf): Define using libm_alias_float.
19772 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19773 <libm-alias-float.h>.
19774 (roundf): Define using libm_alias_float.
19775 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19776 <libm-alias-float.h>.
19777 (truncf): Define using libm_alias_float.
19778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19779 <libm-alias-float.h>.
19780 (copysignf): Define using libm_alias_float.
19781 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19782 <libm-alias-float.h>.
19783 (llrintf): Define using libm_alias_float.
19784 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19785 <libm-alias-float.h>.
19786 (llroundf): Define using libm_alias_float.
19787 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19788 <libm-alias-float.h>.
19789 (cosf): Define using libm_alias_float.
19790 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19791 <libm-alias-float.h>.
19792 (llrintf): Define using libm_alias_float.
19793 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19794 <libm-alias-float.h>.
19795 (llroundf): Define using libm_alias_float.
19796 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19797 <libm-alias-float.h>.
19798 (sinf): Define using libm_alias_float.
19800 2017-12-04 Florian Weimer <fweimer@redhat.com>
19802 * support/check.h (TEST_COMPARE): Define.
19803 (support_test_compare_failure): Declare.
19804 * support/Makefile (libsupport-routines): Add
19805 support_test_compare_failure.
19806 (tests): Add tst-test_compare.
19807 * support /support_test_compare_failure.c: New file.
19808 * support/tst-test_compare.c: Likewise.
19810 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19813 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19814 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19815 available, this rewrite of the collation rules does reproduce
19816 the test file in the same order.
19818 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19821 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19822 digraphs in the month and day names. Using single code points for
19823 digraphs is deprecated. While there are dedicated Unicode
19824 codepoints, for the digraphs, these are included for backwards
19825 compatibility and modern texts use a sequence of Basic Latin
19826 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19827 This makes the month and day names agree exactly with CLDR now,
19828 CLDR does not use the single code points for the digraphs either.
19830 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19832 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19834 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19839 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19841 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19842 Define only for libc.so.
19844 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19847 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19848 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19849 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19852 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19855 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19857 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19860 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19861 PREINIT_FUNCTION_WEAK is nonzero.
19862 (gmon_initializer): New function. Put procedure label for it in
19863 .init_array section.
19864 (_init): Don't call PREINIT_FUNCTION.
19865 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19866 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19867 value when map argument is null.
19869 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19870 depi instruction from PIC pc-relative sequence.
19871 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19872 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19873 (elf_machine_load_address): Likewise.
19874 (elf_machine_runtime_setup): Likewise.
19876 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19878 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19879 <libm-alias-double.h>.
19880 (logb): Define using libm_alias_double.
19881 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19882 <libm-alias-double.h>.
19883 (copysign): Define using libm_alias_double.
19884 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19885 <libm-alias-double.h>.
19886 (llrint): Define using libm_alias_double.
19887 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19888 <libm-alias-double.h>.
19889 (llround): Define using libm_alias_double.
19890 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19891 <libm-alias-double.h>.
19892 (lrint): Define using libm_alias_double.
19893 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19894 <libm-alias-double.h>.
19895 (lround): Define using libm_alias_double.
19896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19897 Include <libm-alias-double.h>.
19898 (copysign): Define using libm_alias_double.
19899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19900 Include <libm-alias-double.h>.
19901 (llrint): Define using libm_alias_double.
19902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19903 Include <libm-alias-double.h>.
19904 (llround): Define using libm_alias_double.
19905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19906 <libm-alias-double.h>.
19907 (logb): Define using libm_alias_double.
19908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19909 Include <libm-alias-double.h>.
19910 (lrint): Define using libm_alias_double.
19911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19912 Include <libm-alias-double.h>.
19913 (lround): Define using libm_alias_double.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19915 <libm-alias-double.h>.
19916 (llrint): Define using libm_alias_double.
19917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19918 <libm-alias-double.h>.
19919 (llround): Define using libm_alias_double.
19920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19921 <libm-alias-double.h>.
19922 (llround): Define using libm_alias_double.
19923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19924 <libm-alias-double.h>.
19925 (lround): Define using libm_alias_double.
19926 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19927 <libm-alias-double.h>.
19928 (copysign): Define using libm_alias_double.
19929 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19930 <libm-alias-double.h>.
19931 (llrint): Define using libm_alias_double.
19932 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19933 <libm-alias-double.h>.
19934 (llround): Define using libm_alias_double.
19935 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19936 <libm-alias-double.h>.
19937 (lrint): Define using libm_alias_double.
19938 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19939 <libm-alias-double.h>.
19940 (lround): Define using libm_alias_double.
19941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19942 <libm-alias-double.h>.
19943 (copysign): Define using libm_alias_double.
19944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19945 <libm-alias-double.h>.
19946 (llrint): Define using libm_alias_double.
19948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19949 <libm-alias-double.h>.
19950 (llround): Define using libm_alias_double.
19951 (lround): Likewise.
19952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19953 <libm-alias-double.h>.
19954 (logb): Define using libm_alias_double.
19955 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19956 <libm-alias-double.h>.
19957 (copysign): Define using libm_alias_double.
19958 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19959 <libm-alias-double.h>.
19960 (llrint): Define using libm_alias_double.
19962 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19963 <libm-alias-double.h>.
19964 (llround): Define using libm_alias_double.
19965 (lround): Likewise.
19966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19967 <libm-alias-double.h>.
19968 (llround): Define using libm_alias_double.
19969 (lround): Likewise.
19970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19971 <libm-alias-double.h>.
19972 (copysign): Define using libm_alias_double.
19973 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19974 <libm-alias-double.h>.
19975 (llrint): Define using libm_alias_double.
19977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19978 <libm-alias-double.h>.
19979 (llround): Define using libm_alias_double.
19980 (lround): Likewise.
19981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19982 <libm-alias-double.h>.
19983 (llrint): Define using libm_alias_double.
19985 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19986 <libm-alias-double.h>.
19987 (llround): Define using libm_alias_double.
19988 (lround): Likewise.
19990 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19993 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19994 compat symbol based on llround.
19996 * sysdeps/powerpc/power7/fpu/s_logb.c
19997 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19998 symbol based on __logb, not on logb.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20000 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20002 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20004 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20005 (rint): Define using libm_alias_double.
20006 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20007 <libm-alias-double.h>.
20008 (modf): Define using libm_alias_double.
20009 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20010 <libm-alias-double.h>.
20011 (ceil): Define using libm_alias_double.
20012 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20013 <libm-alias-double.h>.
20014 (floor): Define using libm_alias_double.
20015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20016 <libm-alias-double.h>.
20017 (nearbyint): Define using libm_alias_double.
20018 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20019 <libm-alias-double.h>.
20020 (rint): Define using libm_alias_double.
20021 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20022 <libm-alias-double.h>.
20023 (round): Define using libm_alias_double.
20024 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20025 <libm-alias-double.h>.
20026 (trunc): Define using libm_alias_double.
20027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20028 <libm-alias-double.h>.
20029 (ceil): Define using libm_alias_double.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20031 Include <libm-alias-double.h>.
20032 (floor): Define using libm_alias_double.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20034 <libm-alias-double.h>.
20035 (modf): Define using libm_alias_double.
20036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20037 Include <libm-alias-double.h>.
20038 (round): Define using libm_alias_double.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20040 Include <libm-alias-double.h>.
20041 (trunc): Define using libm_alias_double.
20042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20043 <libm-alias-double.h>.
20044 (ceil): Define using libm_alias_double.
20045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20046 <libm-alias-double.h>.
20047 (floor): Define using libm_alias_double.
20048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20049 <libm-alias-double.h>.
20050 (round): Define using libm_alias_double.
20051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20052 <libm-alias-double.h>.
20053 (trunc): Define using libm_alias_double.
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20055 <libm-alias-double.h>.
20056 (ceil): Define using libm_alias_double.
20057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20058 <libm-alias-double.h>.
20059 (floor): Define using libm_alias_double.
20060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20061 <libm-alias-double.h>.
20062 (modf): Define using libm_alias_double.
20063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20064 <libm-alias-double.h>.
20065 (round): Define using libm_alias_double.
20066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20067 <libm-alias-double.h>.
20068 (trunc): Define using libm_alias_double.
20069 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20070 <libm-alias-double.h>.
20071 (ceil): Define using libm_alias_double.
20072 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20073 <libm-alias-double.h>.
20074 (floor): Define using libm_alias_double.
20075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20076 <libm-alias-double.h>.
20077 (nearbyint): Define using libm_alias_double.
20078 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20079 <libm-alias-double.h>.
20080 (rint): Define using libm_alias_double.
20081 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20082 <libm-alias-double.h>.
20083 (round): Define using libm_alias_double.
20084 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20085 <libm-alias-double.h>.
20086 (trunc): Define using libm_alias_double.
20087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20088 <libm-alias-double.h>.
20089 (ceil): Define using libm_alias_double.
20090 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20091 <libm-alias-double.h>.
20092 (floor): Define using libm_alias_double.
20093 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20094 <libm-alias-double.h>.
20095 (round): Define using libm_alias_double.
20096 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20097 <libm-alias-double.h>.
20098 (trunc): Define using libm_alias_double.
20100 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20101 (fabs): Define using libm_alias_double.
20102 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20103 (fma): Define using libm_alias_double.
20104 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20105 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20106 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20107 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20109 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20111 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20113 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20114 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20115 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20118 due redirect macro.
20120 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20122 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20124 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20126 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20127 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20128 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20129 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20132 (libm-sysdep_routines): Add s_nearbyintf-generic and
20133 s_nearbyint-generic.
20134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20147 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20158 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20169 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20180 (sysdep_calls): New rule.
20181 (sysdep_routines): Use sysdep_calls as base.
20182 (libm-sysdep_routines): Add generic rule for symbols shared with
20183 libc. Add s_copysign-generic and s_copysign-generic objects.
20184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20193 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20196 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20197 the list of locales to be built for testing.
20198 * localedata/is_IS.UTF-8.in: New file.
20199 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20202 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20204 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20205 <libm-alias-float.h>.
20206 (fabsf): Define using libm_alias_float.
20208 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20210 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20212 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20214 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20215 <libm-alias-float.h>.
20216 (fabsf): Define using libm_alias_float.
20217 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20218 <libm-alias-float.h>.
20219 (lrintf): Define using libm_alias_float.
20220 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20221 <libm-alias-float.h>.
20222 (rintf): Define using libm_alias_float.
20224 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20225 <libm-alias-double.h>.
20226 (fabs): Define using libm_alias_double.
20227 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20228 <libm-alias-double.h>.
20229 (lrint): Define using libm_alias_double.
20230 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20231 <libm-alias-double.h>.
20232 (rint): Define using libm_alias_double.
20234 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20235 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20236 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20237 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20238 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20239 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20240 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20241 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20242 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20243 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20244 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20245 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20246 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20247 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20248 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20249 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20250 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20251 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20253 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20254 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20255 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20257 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20258 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20259 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20261 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20262 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20263 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20264 s_expm1_template.c.
20265 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20266 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20267 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20269 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20270 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20271 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20272 s_floor_template.c.
20273 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20274 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20275 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20276 s_frexp_template.c.
20277 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20278 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20279 s_lrint_template.c.
20280 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20281 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20282 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20284 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20285 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20286 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20287 s_nearbyint_template.c.
20288 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20289 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20290 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20291 s_remquo_template.c.
20292 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20293 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20294 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20296 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20297 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20298 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20300 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20301 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20302 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20303 s_sincos_template.c.
20304 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20305 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20306 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20308 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20309 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20310 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20312 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20313 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20314 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20315 s_trunc_template.c.
20316 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20317 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20318 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20319 s_atan.c instead of including s_atan.c.
20320 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20321 s_atanf.c instead of including s_atanf.c.
20322 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20323 s_atanl.c instead of including s_atanl.c.
20324 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20325 instead of s_atan.c.
20326 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20327 instead of s_atanf.c.
20328 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20329 instead of s_atanl.c.
20331 * scripts/update-copyrights: Do not handle intl/plural.c
20334 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20337 * configure.ac (BISON): Require to be present.
20338 * configure: Regenerated.
20339 * intl/Makefile (generated): Add plural.c.
20340 [$(BISON) != no]: Make code unconditional.
20341 (plural.c): Change rule to $(objpfx)plural.c.
20342 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20343 * intl/plural.c: Remove.
20344 * manual/install.texi (Tools for Compilation): Document bison as
20346 * INSTALL: Regenerated.
20348 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20350 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20351 <libm-alias-double.h>.
20352 (llrint): Define using libm_alias_double.
20353 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20354 <libm-alias-float.h>.
20355 (llrintf): Define using libm_alias_float.
20356 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20357 <libm-alias-ldouble.h>.
20358 (llrintl): Define using libm_alias_ldouble.
20360 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20361 declare_mgen_alias instead of weak_alias.
20362 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20363 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20364 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20366 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20368 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20370 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20371 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20372 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20374 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20375 Add submul_1-generic.
20376 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20377 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20378 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20380 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20381 Add addmul_1-generic.
20382 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20383 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20384 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20388 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20389 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20390 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20392 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20394 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20395 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20396 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20398 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20400 According to CLDR, collation rules for Serbian and Bosnian
20401 should be the same as for Croatian.
20404 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20405 and to the list of locales to be built for testing.
20406 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20407 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20408 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20409 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20411 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20413 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20414 to make test case pass.
20415 * localedata/hr_HR.UTF-8.in: Add more test strings.
20417 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20419 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20421 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20423 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20424 the list of locales to built for testing.
20425 * localedata/hr_HR.UTF-8.in: New file.
20427 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20430 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20432 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20433 CLDR (except use ligatures for the digraphs, CLDR does not use
20434 the ligatures), add first_workday, some fixes in the date and time
20436 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20438 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20439 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20440 Add int_p_cs_precedes and int_n_cs_precedes.
20441 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20442 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20444 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20445 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20447 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20448 and lang_lib. Change postal_fmt.
20450 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20452 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20454 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20455 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20456 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20457 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20458 * sysdeps/generic/setjmpP.h: New file.
20459 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20460 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20461 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20462 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20463 Add jmp_buf-ssp.sym.
20464 (tests): Add tst-saved_mask-1.
20466 2017-11-30 Arjun Shankar <arjun@redhat.com>
20470 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20471 instead of request2size.
20473 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20476 (__lllrint): Remove alias.
20477 (lllrint): Likewise.
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20479 (__lllrintf): Likewise.
20480 (lllrintf): Likewise.
20482 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20483 <libm-alias-float.h>.
20484 (copysignf): Define using libm_alias_float.
20485 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20486 <libm-alias-float.h>.
20487 (fabsf): Define using libm_alias_float.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20489 Include <libm-alias-float.h>.
20490 (copysignf): Define using libm_alias_float.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20492 <libm-alias-float.h>.
20493 (fabsf): Define using libm_alias_float.
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20495 <libm-alias-float.h>.
20496 (fdimf): Define using libm_alias_float.
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20498 <libm-alias-float.h>.
20499 (fmaf): Define using libm_alias_float.
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20501 <libm-alias-float.h>.
20502 (llrintf): Define using libm_alias_float.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20504 Include <libm-alias-float.h>.
20505 (nearbyintf): Define using libm_alias_float.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20507 <libm-alias-float.h>.
20508 (rintf): Define using libm_alias_float.
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20510 <libm-alias-float.h>.
20511 (llrintf): Define using libm_alias_float.
20512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20513 <libm-alias-float.h>.
20514 (lrintf): Define using libm_alias_float.
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20516 <libm-alias-float.h>.
20517 (nearbyintf): Define using libm_alias_float.
20518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20519 <libm-alias-float.h>.
20520 (rintf): Define using libm_alias_float.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20522 <libm-alias-float.h>.
20523 (ceilf): Define using libm_alias_float.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20525 <libm-alias-float.h>.
20526 (floorf): Define using libm_alias_float.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20528 <libm-alias-float.h>.
20529 (fmaf): Define using libm_alias_float.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20531 <libm-alias-float.h>.
20532 (lrintf): Define using libm_alias_float.
20533 (llrintf): Likewise.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20535 <libm-alias-float.h>.
20536 (nearbyintf): Define using libm_alias_float.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20538 <libm-alias-float.h>.
20539 (rintf): Define using libm_alias_float.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20541 <libm-alias-float.h>.
20542 (truncf): Define using libm_alias_float.
20543 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20544 <libm-alias-float.h>.
20545 (copysignf): Define using libm_alias_float.
20546 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20547 <libm-alias-float.h>.
20548 (fabsf): Define using libm_alias_float.
20549 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20550 <libm-alias-float.h>.
20551 (lrintf): Define using libm_alias_float.
20552 (llrintf): Likewise.
20553 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20554 <libm-alias-float.h>.
20555 (nearbyintf): Define using libm_alias_float.
20556 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20557 <libm-alias-float.h>.
20558 (rintf): Define using libm_alias_float.
20560 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20562 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20563 <libm-alias-double.h>.
20564 (copysign): Define using libm_alias_double.
20565 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20566 <libm-alias-double.h>.
20567 (fabs): Define using libm_alias_double.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20569 Include <libm-alias-double.h>.
20570 (copysign): Define using libm_alias_double.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20572 <libm-alias-double.h>.
20573 (fabs): Define using libm_alias_double.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20575 <libm-alias-double.h>.
20576 (fdim): Define using libm_alias_double.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20578 <libm-alias-double.h>.
20579 (fma): Define using libm_alias_double.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20581 <libm-alias-double.h>.
20582 (llrint): Define using libm_alias_double.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20584 Include <libm-alias-double.h>.
20585 (nearbyint): Define using libm_alias_double.
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20587 <libm-alias-double.h>.
20588 (rint): Define using libm_alias_double.
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20590 <libm-alias-double.h>.
20591 (fabs): Define using libm_alias_double.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20593 <libm-alias-double.h>.
20594 (llrint): Define using libm_alias_double.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20596 <libm-alias-double.h>.
20597 (nearbyint): Define using libm_alias_double.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20599 <libm-alias-double.h>.
20600 (rint): Define using libm_alias_double.
20601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20602 <libm-alias-double.h>.
20603 (ceil): Define using libm_alias_double.
20604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20605 <libm-alias-double.h>.
20606 (floor): Define using libm_alias_double.
20607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20608 <libm-alias-double.h>.
20609 (fma): Define using libm_alias_double.
20610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20611 <libm-alias-double.h>.
20612 (lrint): Define using libm_alias_double.
20613 (llrint): Likewise.
20614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20615 <libm-alias-double.h>.
20616 (nearbyint): Define using libm_alias_double.
20617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20618 <libm-alias-double.h>.
20619 (rint): Define using libm_alias_double.
20620 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20621 <libm-alias-double.h>.
20622 (trunc): Define using libm_alias_double.
20623 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20624 <libm-alias-double.h>.
20625 (copysign): Define using libm_alias_double.
20626 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20627 <libm-alias-double.h>.
20628 (fabs): Define using libm_alias_double.
20629 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20630 <libm-alias-double.h>.
20631 (lrint): Define using libm_alias_double.
20632 (llrint): Likewise.
20633 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20634 <libm-alias-double.h>.
20635 (nearbyint): Define using libm_alias_double.
20636 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20637 <libm-alias-double.h>.
20638 (rint): Define using libm_alias_double.
20641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20643 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20645 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20646 SPARC --disable-multi-arch glibc variants.
20648 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20649 <libm-alias-float.h>.
20650 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20652 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20653 <libm-alias-float.h>.
20654 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20656 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20657 <libm-alias-float.h>.
20658 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20660 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20661 <libm-alias-float.h>.
20662 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20664 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20665 <libm-alias-float.h>.
20666 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20668 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20669 <libm-alias-float.h>.
20670 (ceilf): Define using libm_alias_float.
20671 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20672 <libm-alias-float.h>.
20673 (floorf): Define using libm_alias_float.
20674 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20675 <libm-alias-float.h>.
20676 (fmaf): Define using libm_alias_float.
20677 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20678 <libm-alias-float.h>.
20679 (nearbyintf): Define using libm_alias_float.
20680 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20681 <libm-alias-float.h>.
20682 (rintf): Define using libm_alias_float.
20683 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20684 <libm-alias-float.h>.
20685 (truncf): Define using libm_alias_float.
20686 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20687 (copysignf): Define using libm_alias_float.
20688 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20689 (cosf): Define using libm_alias_float.
20690 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20691 (fabsf): Define using libm_alias_float.
20692 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20693 (fmaxf): Define using libm_alias_float.
20694 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20695 (fminf): Define using libm_alias_float.
20696 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20697 (llrintf): Define using libm_alias_float.
20698 [!__ILP32__] (lrintf): Likewise.
20699 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20700 (sincosf): Define using libm_alias_float.
20701 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20702 (sinf): Define using libm_alias_float.
20703 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20704 (lrintf): Define using libm_alias_float.
20706 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20707 <libm-alias-double.h>.
20708 (atan): Define using libm_alias_double.
20709 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20710 <libm-alias-double.h>.
20711 (ceil): Define using libm_alias_double.
20712 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20713 <libm-alias-double.h>.
20714 (floor): Define using libm_alias_double.
20715 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20716 <libm-alias-double.h>.
20717 (fma): Define using libm_alias_double.
20718 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20719 <libm-alias-double.h>.
20720 (nearbyint): Define using libm_alias_double.
20721 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20722 <libm-alias-double.h>.
20723 (rint): Define using libm_alias_double.
20724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20725 <libm-alias-double.h>.
20726 (sin): Define using libm_alias_double.
20728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20729 <libm-alias-double.h>.
20730 (tan): Define using libm_alias_double.
20731 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20732 <libm-alias-double.h>.
20733 (trunc): Define using libm_alias_double.
20734 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20735 (copysign): Define using libm_alias_double.
20736 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20737 (fabs): Define using libm_alias_double.
20738 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20739 (fmax): Define using libm_alias_double.
20740 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20741 (fmin): Define using libm_alias_double.
20742 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20743 (llrint): Define using libm_alias_double.
20744 [!__ILP32__] (lrint): Likewise.
20745 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20746 (lrint): Define using libm_alias_double.
20748 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20751 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20761 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20771 (libm-sysdep_routines): Add s_nearbyint-generic and
20772 s_nearbyintf-generic objects.
20773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20781 Add s_finitef-generic and s_finite-generic objects.
20782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20790 Add s_isinff-generic and s_isinf-generic objects.
20791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20799 Add s_isnanf-generic and s_isnan-generic objects.
20800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20807 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20811 (sysdep_routines): Use sysdep_calls as base.
20812 (libm-sysdep_routines): Add generic rule for symbols shared with
20813 libc. Add s_signbit-generic and s_signbitf-generic objects.
20814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20821 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20824 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20825 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20826 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20827 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20828 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20829 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20830 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20831 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20832 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20833 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20834 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20835 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20836 libm_alias_float_r.
20837 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20838 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20840 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20841 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20842 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20843 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20844 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20845 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20846 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20847 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20848 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20849 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20851 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20853 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20854 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20855 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20856 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20857 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20858 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20859 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20860 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20861 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20862 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20863 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20864 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20865 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20866 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20867 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20868 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20869 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20870 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20871 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20873 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20874 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20875 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20876 * sysdeps/ia64/fpu/w_lgammaf_main.c
20877 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20878 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20880 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20881 Alexandre Oliva <aoliva@redhat.com>
20884 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20885 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20887 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20889 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20890 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20891 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20892 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20893 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20894 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20895 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20896 instead of “ifdef DIACRIT_BACKWARD”.
20898 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20900 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20901 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20902 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20903 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20904 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20905 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20912 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20913 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20914 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20915 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20916 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20917 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20919 ($(have-as-vis3) == yes): Remove conditional.
20920 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20936 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20937 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20939 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20941 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20942 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20943 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20944 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20945 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20946 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20947 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20948 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20949 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20950 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20951 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20952 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20953 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20954 libm_alias_double_r.
20955 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20957 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20958 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20959 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20960 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20961 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20962 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20963 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20964 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20965 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20966 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20967 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20969 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20971 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20972 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20973 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20974 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20975 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20976 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20977 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20978 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20979 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20980 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20981 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20982 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20983 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20984 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20985 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20986 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20987 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20988 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20990 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20991 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20992 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20993 * sysdeps/ia64/fpu/w_lgamma_main.c
20994 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20995 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20997 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20999 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21000 address of $global$ into %dp register earlier. Use pc-relative
21001 instruction sequence for PIC case.
21003 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21005 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21006 (asinhf): Define using libm_alias_float.
21007 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21008 (atanf): Define using libm_alias_float.
21009 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21010 (cbrtf): Define using libm_alias_float.
21011 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21012 (ceilf): Define using libm_alias_float.
21013 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21014 (copysignf): Define using libm_alias_float.
21015 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21016 (expm1f): Define using libm_alias_float.
21017 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21018 (fabsf): Define using libm_alias_float.
21019 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21020 (floorf): Define using libm_alias_float.
21021 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21022 (fmaxf): Define using libm_alias_float.
21023 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21024 (fminf): Define using libm_alias_float.
21025 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21026 (frexpf): Define using libm_alias_float.
21027 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21028 (llrintf): Define using libm_alias_float.
21029 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21030 (logbf): Define using libm_alias_float.
21031 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21032 (lrintf): Define using libm_alias_float.
21033 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21034 (nearbyintf): Define using libm_alias_float.
21035 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21036 (remquof): Define using libm_alias_float.
21037 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21038 (rintf): Define using libm_alias_float.
21039 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21040 (truncf): Define using libm_alias_float.
21041 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21042 <libm-alias-float.h>.
21043 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21045 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21046 <libm-alias-float.h>.
21047 (expf): Define using libm_alias_float, or libm_alias_float_other
21049 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21050 <libm-alias-float.h>.
21051 (log2f): Define using libm_alias_float, or libm_alias_float_other
21053 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21054 <libm-alias-float.h>.
21055 (logf): Define using libm_alias_float, or libm_alias_float_other
21057 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21058 <libm-alias-float.h>.
21059 (powf): Define using libm_alias_float, or libm_alias_float_other
21061 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21062 <libm-alias-float.h>.
21063 (cosf): Define using libm_alias_float.
21064 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21065 <libm-alias-float.h>.
21066 (sincosf): Define using libm_alias_float.
21067 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21068 <libm-alias-float.h>.
21069 (sinf): Define using libm_alias_float.
21070 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21071 (fmaxf): Define using libm_alias_float.
21072 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21073 (fminf): Define using libm_alias_float.
21074 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21075 <libm-alias-float.h>.
21076 (fmaf): Define using libm_alias_float.
21078 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21079 (asinh): Define using libm_alias_double.
21080 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21081 (atan): Define using libm_alias_double.
21082 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21083 (cbrt): Define using libm_alias_double.
21084 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21085 (ceil): Define using libm_alias_double.
21086 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21087 (copysign): Define using libm_alias_double.
21088 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21089 (expm1): Define using libm_alias_double.
21090 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21091 (fabs): Define using libm_alias_double.
21092 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21093 (fdim): Define using libm_alias_double.
21094 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21095 (floor): Define using libm_alias_double.
21096 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21097 (fmax): Define using libm_alias_double.
21098 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21099 (fmin): Define using libm_alias_double.
21100 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21101 (frexp): Define using libm_alias_double.
21102 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21103 (llrint): Define using libm_alias_double.
21104 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21105 (logb): Define using libm_alias_double.
21106 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21107 (lrint): Define using libm_alias_double.
21108 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21109 (nearbyint): Define using libm_alias_double.
21110 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21111 (remquo): Define using libm_alias_double.
21112 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21113 (rint): Define using libm_alias_double.
21114 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21115 (trunc): Define using libm_alias_double.
21116 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21117 (fmax): Define using libm_alias_double.
21118 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21119 (fmin): Define using libm_alias_double.
21120 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21121 (fma): Define using libm_alias_double.
21123 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21126 * elf/dl-hwcaps.c (ROUND): Removed.
21127 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21128 and ELF_NOTE_NEXT_OFFSET.
21129 * elf/dl-load.c (ROUND): Removed.
21130 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21131 * elf/readelflib.c (ROUND): Removed.
21132 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21133 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21134 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21135 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21137 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21139 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21140 [!__fmaf] (fmaf): Define using libm_alias_float.
21142 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21143 [!__fma] (fma): Define using libm_alias_double.
21144 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21146 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21149 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21150 and implement the collation rules for cs from CLDR on top of that.
21151 * Makefile: Add cs_CZ.UTF-8 to test-input.
21152 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21154 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21156 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21158 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21159 Icarus Sparry <icarus.w.sparry@intel.com>
21161 * benchtests/Makefile:Add BENCHSET to allow subsets of
21162 benchmarks to be run.
21163 * benchtests/README: Add documentation for: Running subsets of
21166 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21168 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21169 range of tests names.
21171 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21172 result from property and remove "max", min" and "mean" from
21173 required properties based on benchtests/bench-skeleton.c.
21175 2017-11-28 Florian Weimer <fweimer@redhat.com>
21178 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21179 due to Internet requirement.
21180 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21182 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21184 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21187 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21188 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21189 (sysdep_routines): Add memset-ultra1.
21190 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21193 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21194 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21195 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21196 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21197 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21203 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21204 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21205 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21206 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21207 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21208 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21209 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21211 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21212 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21213 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21214 (sysdep_routines): Add memcpy-ultra1.
21215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21216 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21218 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21220 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21221 (cfloat_versions): Take function argument without trailing 'f'.
21222 Call libm_alias_float_other.
21223 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21224 * sysdeps/alpha/fpu/cargf.c: Likewise.
21225 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21226 * sysdeps/alpha/fpu/conjf.c: Likewise.
21227 * sysdeps/alpha/fpu/crealf.c: Likewise.
21228 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21229 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21230 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21231 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21232 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21233 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21234 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21235 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21236 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21237 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21238 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21239 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21240 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21241 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21242 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21243 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21244 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21245 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21246 (clog10f): Use libm_alias_float_other.
21247 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21248 (ceilf): Define using libm_alias_float.
21249 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21250 (copysignf): Define using libm_alias_float.
21251 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21252 (fabsf): Define using libm_alias_float.
21253 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21254 (floorf): Define using libm_alias_float.
21255 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21256 (fmaxf): Define using libm_alias_float.
21257 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21258 (fminf): Define using libm_alias_float.
21259 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21260 (lrintf): Define using libm_alias_float.
21261 (llrintf): Likewise.
21262 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21263 (lroundf): Define using libm_alias_float.
21264 (llroundf): Likewise.
21265 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21266 (rintf): Define using libm_alias_float.
21267 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21268 (truncf): Define using libm_alias_float.
21270 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21271 (ceilf): Define using libm_alias_float.
21272 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21273 (floorf): Define using libm_alias_float.
21274 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21275 (fmaf): Define using libm_alias_float.
21276 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21277 (fmaxf): Define using libm_alias_float.
21278 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21279 (fminf): Define using libm_alias_float.
21280 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21281 (llrintf): Define using libm_alias_float.
21282 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21283 (llroundf): Define using libm_alias_float.
21284 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21285 (lrintf): Define using libm_alias_float.
21286 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21287 (lroundf): Define using libm_alias_float.
21288 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21289 <libm-alias-float.h>.
21290 (nearbyintf): Define using libm_alias_float.
21291 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21292 (rintf): Define using libm_alias_float.
21293 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21294 (roundf): Define using libm_alias_float.
21295 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21296 (truncf): Define using libm_alias_float.
21298 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21299 (ceil): Define using libm_alias_double.
21300 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21301 (copysign): Define using libm_alias_double.
21302 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21303 (fabs): Define using libm_alias_double.
21304 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21305 (floor): Define using libm_alias_double.
21306 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21307 (fmax): Define using libm_alias_double.
21308 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21309 (fmin): Define using libm_alias_double.
21310 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21311 (lrint): Define using libm_alias_double.
21312 (llrint): Likewise.
21313 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21314 (lround): Define using libm_alias_double.
21315 (llround): Likewise.
21316 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21317 (rint): Define using libm_alias_double.
21318 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21319 (trunc): Define using libm_alias_double.
21321 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21322 (libm_alias_double_r): Add semicolon after weak_alias call.
21324 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21326 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21327 (ceil): Define using libm_alias_double.
21328 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21329 (floor): Define using libm_alias_double.
21330 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21331 (fma): Define using libm_alias_double.
21332 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21333 (fmax): Define using libm_alias_double.
21334 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21335 (fmin): Define using libm_alias_double.
21336 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21337 (llrint): Define using libm_alias_double.
21338 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21339 (llround): Define using libm_alias_double.
21340 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21341 (lrint): Define using libm_alias_double.
21342 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21343 (lround): Define using libm_alias_double.
21344 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21345 (nearbyint): Define using libm_alias_double.
21346 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21347 (rint): Define using libm_alias_double.
21348 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21349 (round): Define using libm_alias_double.
21350 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21351 (trunc): Define using libm_alias_double.
21353 2017-11-27 Florian Weimer <fweimer@redhat.com>
21355 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21356 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21357 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21358 (tests): Add tst-mlock2.
21359 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21361 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21362 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21363 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21364 for mlock. Document mlock2.
21366 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21368 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21369 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21371 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21373 * sysdeps/x86/Makeconfig: New file.
21374 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21375 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21376 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21377 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21378 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21379 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21380 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21382 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21383 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21384 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21385 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21386 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21387 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21388 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21389 * manual/math.texi (Mathematics): Document support for _Float64x.
21390 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21391 * stdlib/Versions (GLIBC_2.27): Likewise.
21392 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21394 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21401 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21403 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21408 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21411 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21413 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21414 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21415 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21416 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21417 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21418 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21420 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21421 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21423 2017-11-27 Andreas Schwab <schwab@suse.de>
21425 * elf/Makefile (dl-routines): Add dl-sort-maps.
21426 * elf/dl-sort-maps.c: New file.
21427 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21428 (_dl_sort_maps): Declare.
21429 * elf/dl-fini.c (_dl_sort_fini): Remove.
21430 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21431 * elf/dl-close.c (_dl_close_worker): Likewise.
21432 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21434 * elf/dl-open.c (dl_open_worker): Likewise.
21436 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21438 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21439 using libm_alias_float128.
21440 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21442 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21444 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21445 (setpayloadsigf128): Likewise.
21446 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21448 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21451 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21452 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21453 -mfloat128 to CFLAGS.
21455 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21457 (CFLAGS-libm-test-support-float64x.c): New variable.
21458 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21459 $(f128-loader-link) to gnulib-tests.
21461 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21462 (libm_alias_float128_other_r): If
21463 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21465 (libm_alias_float128_r): Add semicolon after weak_alias call.
21466 * sysdeps/generic/libm-alias-ldouble.h
21467 (libm_alias_ldouble_other_r_f128): New macro.
21468 (libm_alias_ldouble_other_r_f64x): Likewise.
21469 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21470 and libm_alias_ldouble_other_r_f64x.
21471 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21472 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21473 (libm_alias_ldouble_other_r_f128): New macro.
21474 (libm_alias_ldouble_other_r_f64x): Likewise.
21475 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21476 and libm_alias_ldouble_other_r_f64x.
21478 * stdlib/strfroml.c: Always include <stdlib.h>.
21479 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21480 undefine as macro and define as weak alias.
21481 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21482 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21484 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21485 Define and later undefine as macro and define as weak alias.
21487 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21488 Define and later undefine as macro. Define as weak alias if
21490 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21491 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21492 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21493 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21494 Define and later undefine as macro. Define as weak alias if
21496 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21497 Define and later undefine as macro. Define as weak alias if
21499 * sysdeps/ieee754/float128/strtof128_l.c
21500 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21501 Define and later undefine as macro. Define as weak alias if
21503 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21504 Define and later undefine as macro. Define as weak alias if
21506 * sysdeps/ieee754/ldbl-128/strtold_l.c
21507 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21508 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21509 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21510 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21511 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21512 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21513 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21514 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21515 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21516 * sysdeps/ieee754/ldbl-96/strtold_l.c
21517 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21518 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21519 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21520 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21522 * math/test-float64x.h: New file.
21523 * math/Makefile (type-float64x-yes): New variable.
21524 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21526 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21527 function-like macro.
21528 (min_of_type_): Likewise.
21529 (min_of_type_l): Likewise.
21530 (min_of_type_f128): Likewise.
21531 (min_of_type): Pass () as last argument of __MATH_TG.
21533 * stdlib/tst-strtod-round-skeleton.c
21534 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21537 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21538 for combinations of long double with _Float64 and _Float64x.
21540 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21541 (__DECL_SIMD_cosf32): Likewise.
21542 (__DECL_SIMD_cosf64): Likewise.
21543 (__DECL_SIMD_cosf32x): Likewise.
21544 (__DECL_SIMD_cosf64x): Likewise.
21545 (__DECL_SIMD_cosf128x): Likewise.
21546 (__DECL_SIMD_sinf16): Likewise.
21547 (__DECL_SIMD_sinf32): Likewise.
21548 (__DECL_SIMD_sinf64): Likewise.
21549 (__DECL_SIMD_sinf32x): Likewise.
21550 (__DECL_SIMD_sinf64x): Likewise.
21551 (__DECL_SIMD_sinf128x): Likewise.
21552 (__DECL_SIMD_sincosf16): Likewise.
21553 (__DECL_SIMD_sincosf32): Likewise.
21554 (__DECL_SIMD_sincosf64): Likewise.
21555 (__DECL_SIMD_sincosf32x): Likewise.
21556 (__DECL_SIMD_sincosf64x): Likewise.
21557 (__DECL_SIMD_sincosf128x): Likewise.
21558 (__DECL_SIMD_logf16): Likewise.
21559 (__DECL_SIMD_logf32): Likewise.
21560 (__DECL_SIMD_logf64): Likewise.
21561 (__DECL_SIMD_logf32x): Likewise.
21562 (__DECL_SIMD_logf64x): Likewise.
21563 (__DECL_SIMD_logf128x): Likewise.
21564 (__DECL_SIMD_expf16): Likewise.
21565 (__DECL_SIMD_expf32): Likewise.
21566 (__DECL_SIMD_expf64): Likewise.
21567 (__DECL_SIMD_expf32x): Likewise.
21568 (__DECL_SIMD_expf64x): Likewise.
21569 (__DECL_SIMD_expf128x): Likewise.
21570 (__DECL_SIMD_powf16): Likewise.
21571 (__DECL_SIMD_powf32): Likewise.
21572 (__DECL_SIMD_powf64): Likewise.
21573 (__DECL_SIMD_powf32x): Likewise.
21574 (__DECL_SIMD_powf64x): Likewise.
21575 (__DECL_SIMD_powf128x): Likewise.
21577 * stdlib/Versions (libc): Move entries for wcstof128 and
21578 wcstof128_l to ....
21579 * wcsmbs/Versions (libc): ... here.
21580 Include <float128-abi.h>.
21582 2017-11-24 Florian Weimer <fweimer@redhat.com>
21584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21585 bits/mman-shared.h.
21586 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21587 <bits/mman-shared.h>.
21588 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21590 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21591 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21592 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21593 <bits/mman-shared.h>.
21595 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21598 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21599 posix_memalign/free.
21600 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21602 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21605 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21606 and implement the collation rules for pl from CLDR on top of that.
21607 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21608 of locales to be built for testing.
21609 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21611 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21613 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21614 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21615 libm_alias_ldouble_other.
21616 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21617 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21618 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21619 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21620 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21621 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21622 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21623 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21624 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21625 libm_alias_ldouble_r.
21626 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21627 libm_alias_ldouble_other.
21628 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21629 (log10l): Likewise.
21630 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21631 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21632 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21633 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21634 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21635 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21636 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21637 (atan2l): Likewise.
21638 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21639 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21640 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21641 libm_alias_ldouble.
21642 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21644 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21645 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21646 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21648 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21649 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21650 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21651 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21652 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21653 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21654 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21655 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21656 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21657 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21658 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21659 libm_alias_ldouble.
21660 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21661 libm_alias_ldouble_other.
21662 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21663 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21664 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21665 libm_alias_ldouble.
21666 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21667 libm_alias_ldouble_other.
21668 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21669 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21670 * sysdeps/ia64/fpu/w_lgammal_main.c
21671 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21672 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21674 2017-11-23 Florian Weimer <fweimer@redhat.com>
21676 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21677 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21678 alike. Remove freeres marker.
21679 * malloc/arena.c (arena_thread_freeres): Call
21680 tcache_thread_shutdown.
21682 2017-11-23 Florian Weimer <fweimer@redhat.com>
21685 Export nscd hash function as __nss_hash.
21686 * include/nss.h (__nss_hash): Declare.
21687 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21689 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21690 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21692 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21693 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21694 * nss/Makefiles (routines): Add nss_hash.
21695 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21696 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21697 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21698 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21700 2017-11-23 Florian Weimer <fweimer@redhat.com>
21703 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21704 Return error code, not -1.
21705 * signal/tst-sigwait-eintr.c: New file.
21706 * signal/Makefile (tests): Add tst-sigwait-eintr.
21708 2017-11-23 Florian Weimer <fweimer@redhat.com>
21710 Linux: Add memfd_create system call wrapper
21711 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21714 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21715 [__USE_GNU] (memfd_create): Declare.
21716 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21717 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21718 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21719 * sysdeps/unix/sysv/linux/**.abilist: Update.
21720 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21722 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21724 * localedata/gen-locale.sh: Fix typo in variable name.
21726 * resolv/res_debug.c (p_secstodate): Condition definition on
21727 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21728 directly as __p_secstodate, and as a compat symbol. Do not use
21729 libresolv_hidden_def.
21730 * resolv/resolv.h (p_secstodate): Remove macro and function
21732 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21733 using p_secstodate.
21734 * include/resolv.h (__p_secstodate): Do not use
21735 libresolv_hidden_proto.
21736 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21737 (tests-internal): ... here.
21738 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21739 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21740 and declare and use __p_secstodate and use compat_symbol_reference
21742 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21743 implementation returning 77.
21746 * resolv/res_debug.c: Include <libc-diag.h>.
21747 (p_secstodate): Assert time_t at least as wide as u_long. On
21748 overflow, use integer seconds since the epoch as output, or use
21749 "<overflow>" as output and set errno to EOVERFLOW if integer
21750 seconds since the epoch would be 14 or more characters.
21751 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21753 * resolv/tst-p_secstodate.c: New file.
21754 * resolv/Makefile (tests): Add tst-p_secstodate.
21755 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21757 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21758 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21759 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21761 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21763 * posix/regcomp.c (init_word_char): Add comments.
21765 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21768 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21769 strlen to compute length of ut_user and set trailing NUL byte of
21772 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21775 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21776 using “copy "iso14651_t1"” and then implementing the
21777 collation rules for lv from CLDR on top of that.
21778 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21779 of locales to be built for testing.
21780 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21783 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21785 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21786 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21787 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21788 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21789 [__USE_MISC] (MADV_HWPOISON): New macro.
21790 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21792 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21794 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21795 -Wmissing-braces on GCC 4.9.
21797 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21799 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21800 * sysdeps/s390/s390-32/start.S (_start): Likewise
21801 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21802 (thread_start): Likewise.
21803 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21804 (thread_start): Likewise.
21805 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21806 (__makecontext_ret): Likewise.
21807 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21808 (__makecontext_ret): Likewise.
21810 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21812 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21813 __wcschrnul): Remove attribute_hidden.
21815 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21817 regex: don't assume uint64_t or uint32_t
21818 This avoids -Werror=overflow errors for 32-bit systems in
21819 the 64-bit case. Problem reported by Joseph Myers in:
21820 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21821 Also, when this code is used in Gnulib it ports to platforms
21822 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21823 them, and on some 32-bit compilers there is no uint64_t.
21824 Problem reported by Gianluigi Tiesi in:
21825 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21826 * posix/regcomp.c (init_word_char): Don't assume that the types
21827 uint64_t and uint32_t exist. Adapted from Gnulib patch
21828 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21829 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21831 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21833 * sysdeps/aarch64/memset-reg.h: New file.
21834 * sysdeps/aarch64/memset.S: Use it.
21835 (__memset): Rename to MEMSET macro.
21836 [ZVA_MACRO]: Use zva_macro.
21837 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21838 Add memset_generic and memset_falkor.
21839 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21840 (__libc_ifunc_impl_list): Add memset ifuncs.
21841 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21842 local variable zva_size.
21843 * sysdeps/aarch64/multiarch/memset.c: New file.
21844 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21845 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21846 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21847 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21848 (DCZID_DZP_MASK): New macro.
21849 (DCZID_BS_MASK): Likewise.
21850 (init_cpu_features): Read and set zva_size.
21851 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21852 (struct cpu_features): New member zva_size.
21854 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21855 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21856 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21858 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21859 backwards. Fix timing computation.
21860 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21861 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21862 on memset by N at a time. Fix timing computation.
21864 2017-11-20 Florian Weimer <fweimer@redhat.com>
21866 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21867 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21869 2017-11-19 Florian Weimer <fweimer@redhat.com>
21871 manual: Document mprotect
21872 * manual/memory.texi (Memory Protection): New section.
21873 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21874 documentation of PROT_* flags and reference the Memory Protection
21877 2017-11-19 Florian Weimer <fweimer@redhat.com>
21879 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21880 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21881 (Scatter-Gather): ... to here. Remove misleading comment.
21883 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21885 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21888 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21889 when /proc/<pid>/setgroups does not exist.
21891 2017-11-18 Florian Weimer <fweimer@redhat.com>
21893 * sysdeps/unix/sysv/linux/tst-ttyname.c
21894 (become_root_in_mount_ns): Remove.
21895 (do_in_chroot_1): Call support_enter_mount_namespace.
21896 (do_in_chroot_2): Likewise.
21897 (do_test): Call support_become_root early.
21899 2017-11-18 Florian Weimer <fweimer@redhat.com>
21901 * support/namespace.h (support_enter_mount_namespace): Declare.
21902 * support/support_enter_mount_namespace.c: New file.
21903 * support/Makefile (libsupport-routines): Add
21904 support_enter_mount_namespace.
21906 2017-11-18 Florian Weimer <fweimer@redhat.com>
21908 * support/temp_file.c (support_create_temp_directory): Use
21909 test_dir and do not rely on the presence of the XXXXXX suffix.
21910 * support/temp_file.h (support_create_temp_directory): Update
21912 * support/tst-xreadlink.c (do_test): Adjust.
21913 * support/support_chroot.c (support_chroot_create): Likewise.
21915 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21917 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21922 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21924 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21925 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21926 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21927 (ceill): Define using libm_alias_ldouble.
21928 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21929 <libm-alias-ldouble.h>.
21930 (copysignl): Define using libm_alias_ldouble.
21931 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21932 (fabsl): Define using libm_alias_ldouble.
21933 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21934 (floorl): Define using libm_alias_ldouble.
21935 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21936 (fmaxl): Define using libm_alias_ldouble.
21937 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21938 (fminl): Define using libm_alias_ldouble.
21939 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21940 (llrintl): Define using libm_alias_ldouble.
21941 (lrintl): Likewise.
21942 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21943 <libm-alias-ldouble.h>.
21944 (nearbyintl): Define using libm_alias_ldouble.
21945 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21946 (truncl): Define using libm_alias_ldouble.
21947 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21948 <libm-alias-ldouble.h>.
21949 (lrintl): Define using libm_alias_ldouble.
21951 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21952 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21953 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21954 (asinhl): Define using libm_alias_ldouble.
21955 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21956 (atanl): Define using libm_alias_ldouble.
21957 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21958 (cbrtl): Define using libm_alias_ldouble.
21959 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21960 (ceill): Define using libm_alias_ldouble.
21961 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21962 (copysignl): Define using libm_alias_ldouble.
21963 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21964 (fabsl): Define using libm_alias_ldouble.
21965 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21966 (floorl): Define using libm_alias_ldouble.
21967 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21968 (fmaxl): Define using libm_alias_ldouble.
21969 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21970 (fminl): Define using libm_alias_ldouble.
21971 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21972 (frexpl): Define using libm_alias_ldouble.
21973 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21974 (llrintl): Define using libm_alias_ldouble.
21975 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21976 (logbl): Define using libm_alias_ldouble.
21977 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21978 (lrintl): Define using libm_alias_ldouble.
21979 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21980 (nearbyintl): Define using libm_alias_ldouble.
21981 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21982 (nextafterl): Define using libm_alias_ldouble.
21983 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21984 (remquol): Define using libm_alias_ldouble.
21985 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21986 (rintl): Define using libm_alias_ldouble.
21987 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21988 (truncl): Define using libm_alias_ldouble.
21989 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21990 (fmaxl): Define using libm_alias_ldouble.
21991 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21992 (fminl): Define using libm_alias_ldouble.
21994 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21995 to C syntax instead of availability and properties of types.
21996 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21997 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21998 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21999 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22000 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22001 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22003 2017-11-17 Florian Weimer <fweimer@redhat.com>
22005 support_become_root: Enable file creation in namespaces.
22006 * support/support_become_root.c (setup_mapping): New function.
22007 (support_become_root): Call it.
22009 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22011 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22014 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22016 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22017 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22019 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22021 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22023 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22026 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22028 * INSTALL: Fix botched up regeneration.
22030 * NEWS: Update sourceare link to https.
22031 * configure.ac: Likewise.
22032 * crypt/md5test-giant.c: Likewise.
22033 * dlfcn/bug-atexit1.c: Likewise.
22034 * dlfcn/bug-atexit2.c: Likewise.
22035 * localedata/README: Likewise.
22036 * malloc/tst-mallocfork.c: Likewise.
22037 * manual/install.texi: Likewise.
22038 * nptl/tst-pthread-getattr.c: Likewise.
22039 * stdio-common/tst-fgets.c: Likewise.
22040 * stdio-common/tst-fwrite.c: Likewise.
22041 * sunrpc/Makefile: Likewise.
22042 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22043 * wcsmbs/tst-mbrtowc2.c: Likewise.
22044 * configure: Regenerate.
22045 * INSTALL: Regenerate.
22047 2017-11-15 Martin Sebor <msebor@redhat.com>
22049 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22050 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22051 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22053 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22056 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22057 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22061 Defer is_pty check until end of the function.
22062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22065 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22066 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22067 (ttyname): Likewise.
22068 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22069 (__ttyname_r): Likewise.
22071 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22074 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22076 * manual/terminal.texi (Is It a Terminal):
22077 Mention ENODEV for ttyname and ttyname_r.
22079 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22081 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22082 constant and macro.
22084 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22085 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22086 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22087 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22088 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22089 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22091 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22093 * signal/sigrelse.c (sigrelse): Optimize implementation.
22095 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22096 (__sigpause): Rely on __sigsuspend to implement single thread
22097 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22099 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22101 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22102 kernel version to 4.14.
22104 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22107 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22108 Check if ifname is too long.
22110 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22112 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22114 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22116 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22117 was accidentally lost.
22119 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22121 * localedata/locales/az_IR: Add standard copyright header.
22123 2017-11-15 Florian Weimer <fweimer@redhat.com>
22126 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22127 not just the top one. Output a new "subheaps" statistic.
22129 2017-11-15 Florian Weimer <fweimer@redhat.com>
22132 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22133 under the per-arena lock.
22134 * malloc/Makefile (tests): Add tst-malloc_info.
22135 (tst-malloc_info): Link with libpthread.
22136 * malloc/tst-malloc_info.c: New file.
22138 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22141 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22142 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22143 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22144 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22145 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22146 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22147 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22148 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22157 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22158 (__floating_type): Likewise.
22159 (__real_integer_type): Likewise.
22160 (__complex_integer_type): Likewise.
22161 (__expr_is_real): Likewise.
22162 (__tgmath_real_type_sub): Likewise.
22163 (__tgmath_real_type): Likewise.
22164 (__tgmath_complex_type_sub): Likewise.
22165 (__tgmath_complex_type): Likewise.
22166 (__TGMATH_F128): Likewise.
22167 (__TGMATH_CF128): Likewise.
22168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22173 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22181 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22185 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22187 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22188 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22189 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22193 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22195 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22196 for stpncpy calls for GCC 8.
22197 (test_strncat): Disable -Wstringop-truncation warning for strncat
22198 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22199 strncat call for GCC 7.
22200 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22202 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22205 * string/bug-strncat1.c: Include <libc-diag.h>.
22206 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22208 2017-11-13 Claude Paroz <claude@2xlibre.net>
22211 * localedata/locales/aa_DJ: Improved readibility by replacing
22212 <Uxxxx> sequences in the ASCII printable range by their ASCII
22213 character equivalents.
22214 * localedata/locales/aa_ER: Likewise.
22215 * localedata/locales/aa_ER@saaho: Likewise.
22216 * localedata/locales/aa_ET: Likewise.
22217 * localedata/locales/af_ZA: Likewise.
22218 * localedata/locales/agr_PE: Likewise.
22219 * localedata/locales/ak_GH: Likewise.
22220 * localedata/locales/am_ET: Likewise.
22221 * localedata/locales/anp_IN: Likewise.
22222 * localedata/locales/ar_AE: Likewise.
22223 * localedata/locales/ar_BH: Likewise.
22224 * localedata/locales/ar_DZ: Likewise.
22225 * localedata/locales/ar_EG: Likewise.
22226 * localedata/locales/ar_IN: Likewise.
22227 * localedata/locales/ar_IQ: Likewise.
22228 * localedata/locales/ar_JO: Likewise.
22229 * localedata/locales/ar_KW: Likewise.
22230 * localedata/locales/ar_LB: Likewise.
22231 * localedata/locales/ar_LY: Likewise.
22232 * localedata/locales/ar_MA: Likewise.
22233 * localedata/locales/ar_OM: Likewise.
22234 * localedata/locales/ar_QA: Likewise.
22235 * localedata/locales/ar_SA: Likewise.
22236 * localedata/locales/ar_SD: Likewise.
22237 * localedata/locales/ar_SS: Likewise.
22238 * localedata/locales/ar_SY: Likewise.
22239 * localedata/locales/ar_TN: Likewise.
22240 * localedata/locales/ar_YE: Likewise.
22241 * localedata/locales/as_IN: Likewise.
22242 * localedata/locales/ast_ES: Likewise.
22243 * localedata/locales/ayc_PE: Likewise.
22244 * localedata/locales/az_AZ: Likewise.
22245 * localedata/locales/az_IR: Likewise.
22246 * localedata/locales/be_BY: Likewise.
22247 * localedata/locales/be_BY@latin: Likewise.
22248 * localedata/locales/bem_ZM: Likewise.
22249 * localedata/locales/ber_DZ: Likewise.
22250 * localedata/locales/ber_MA: Likewise.
22251 * localedata/locales/bg_BG: Likewise.
22252 * localedata/locales/bhb_IN: Likewise.
22253 * localedata/locales/bho_IN: Likewise.
22254 * localedata/locales/bi_VU: Likewise.
22255 * localedata/locales/bn_BD: Likewise.
22256 * localedata/locales/bn_IN: Likewise.
22257 * localedata/locales/bo_CN: Likewise.
22258 * localedata/locales/bo_IN: Likewise.
22259 * localedata/locales/br_FR: Likewise.
22260 * localedata/locales/brx_IN: Likewise.
22261 * localedata/locales/bs_BA: Likewise.
22262 * localedata/locales/byn_ER: Likewise.
22263 * localedata/locales/ca_AD: Likewise.
22264 * localedata/locales/ca_ES: Likewise.
22265 * localedata/locales/ca_FR: Likewise.
22266 * localedata/locales/ca_IT: Likewise.
22267 * localedata/locales/ce_RU: Likewise.
22268 * localedata/locales/chr_US: Likewise.
22269 * localedata/locales/cmn_TW: Likewise.
22270 * localedata/locales/crh_UA: Likewise.
22271 * localedata/locales/cs_CZ: Likewise.
22272 * localedata/locales/csb_PL: Likewise.
22273 * localedata/locales/cv_RU: Likewise.
22274 * localedata/locales/cy_GB: Likewise.
22275 * localedata/locales/da_DK: Likewise.
22276 * localedata/locales/de_AT: Likewise.
22277 * localedata/locales/de_BE: Likewise.
22278 * localedata/locales/de_CH: Likewise.
22279 * localedata/locales/de_DE: Likewise.
22280 * localedata/locales/de_IT: Likewise.
22281 * localedata/locales/de_LI: Likewise.
22282 * localedata/locales/de_LU: Likewise.
22283 * localedata/locales/doi_IN: Likewise.
22284 * localedata/locales/dv_MV: Likewise.
22285 * localedata/locales/dz_BT: Likewise.
22286 * localedata/locales/el_CY: Likewise.
22287 * localedata/locales/el_GR: Likewise.
22288 * localedata/locales/en_AG: Likewise.
22289 * localedata/locales/en_AU: Likewise.
22290 * localedata/locales/en_BW: Likewise.
22291 * localedata/locales/en_CA: Likewise.
22292 * localedata/locales/en_DK: Likewise.
22293 * localedata/locales/en_GB: Likewise.
22294 * localedata/locales/en_HK: Likewise.
22295 * localedata/locales/en_IE: Likewise.
22296 * localedata/locales/en_IL: Likewise.
22297 * localedata/locales/en_IN: Likewise.
22298 * localedata/locales/en_NG: Likewise.
22299 * localedata/locales/en_NZ: Likewise.
22300 * localedata/locales/en_PH: Likewise.
22301 * localedata/locales/en_SG: Likewise.
22302 * localedata/locales/en_US: Likewise.
22303 * localedata/locales/en_ZA: Likewise.
22304 * localedata/locales/en_ZM: Likewise.
22305 * localedata/locales/en_ZW: Likewise.
22306 * localedata/locales/eo: Likewise.
22307 * localedata/locales/es_AR: Likewise.
22308 * localedata/locales/es_BO: Likewise.
22309 * localedata/locales/es_CL: Likewise.
22310 * localedata/locales/es_CO: Likewise.
22311 * localedata/locales/es_CR: Likewise.
22312 * localedata/locales/es_CU: Likewise.
22313 * localedata/locales/es_DO: Likewise.
22314 * localedata/locales/es_EC: Likewise.
22315 * localedata/locales/es_ES: Likewise.
22316 * localedata/locales/es_GT: Likewise.
22317 * localedata/locales/es_HN: Likewise.
22318 * localedata/locales/es_MX: Likewise.
22319 * localedata/locales/es_NI: Likewise.
22320 * localedata/locales/es_PA: Likewise.
22321 * localedata/locales/es_PE: Likewise.
22322 * localedata/locales/es_PR: Likewise.
22323 * localedata/locales/es_PY: Likewise.
22324 * localedata/locales/es_SV: Likewise.
22325 * localedata/locales/es_US: Likewise.
22326 * localedata/locales/es_UY: Likewise.
22327 * localedata/locales/es_VE: Likewise.
22328 * localedata/locales/et_EE: Likewise.
22329 * localedata/locales/eu_ES: Likewise.
22330 * localedata/locales/eu_ES@euro: Likewise.
22331 * localedata/locales/fa_IR: Likewise.
22332 * localedata/locales/ff_SN: Likewise.
22333 * localedata/locales/fi_FI: Likewise.
22334 * localedata/locales/fil_PH: Likewise.
22335 * localedata/locales/fo_FO: Likewise.
22336 * localedata/locales/fr_BE: Likewise.
22337 * localedata/locales/fr_CA: Likewise.
22338 * localedata/locales/fr_CH: Likewise.
22339 * localedata/locales/fr_FR: Likewise.
22340 * localedata/locales/fr_LU: Likewise.
22341 * localedata/locales/fur_IT: Likewise.
22342 * localedata/locales/fy_DE: Likewise.
22343 * localedata/locales/fy_NL: Likewise.
22344 * localedata/locales/ga_IE: Likewise.
22345 * localedata/locales/gd_GB: Likewise.
22346 * localedata/locales/gez_ER: Likewise.
22347 * localedata/locales/gez_ET: Likewise.
22348 * localedata/locales/gl_ES: Likewise.
22349 * localedata/locales/gu_IN: Likewise.
22350 * localedata/locales/gv_GB: Likewise.
22351 * localedata/locales/ha_NG: Likewise.
22352 * localedata/locales/hak_TW: Likewise.
22353 * localedata/locales/he_IL: Likewise.
22354 * localedata/locales/hi_IN: Likewise.
22355 * localedata/locales/hif_FJ: Likewise.
22356 * localedata/locales/hne_IN: Likewise.
22357 * localedata/locales/hr_HR: Likewise.
22358 * localedata/locales/hsb_DE: Likewise.
22359 * localedata/locales/ht_HT: Likewise.
22360 * localedata/locales/hu_HU: Likewise.
22361 * localedata/locales/hy_AM: Likewise.
22362 * localedata/locales/i18n: Likewise.
22363 * localedata/locales/ia_FR: Likewise.
22364 * localedata/locales/id_ID: Likewise.
22365 * localedata/locales/ig_NG: Likewise.
22366 * localedata/locales/ik_CA: Likewise.
22367 * localedata/locales/is_IS: Likewise.
22368 * localedata/locales/it_CH: Likewise.
22369 * localedata/locales/it_IT: Likewise.
22370 * localedata/locales/iu_CA: Likewise.
22371 * localedata/locales/ja_JP: Likewise.
22372 * localedata/locales/ka_GE: Likewise.
22373 * localedata/locales/kk_KZ: Likewise.
22374 * localedata/locales/kl_GL: Likewise.
22375 * localedata/locales/kn_IN: Likewise.
22376 * localedata/locales/ko_KR: Likewise.
22377 * localedata/locales/kok_IN: Likewise.
22378 * localedata/locales/ks_IN: Likewise.
22379 * localedata/locales/ks_IN@devanagari: Likewise.
22380 * localedata/locales/ku_TR: Likewise.
22381 * localedata/locales/kw_GB: Likewise.
22382 * localedata/locales/ky_KG: Likewise.
22383 * localedata/locales/lb_LU: Likewise.
22384 * localedata/locales/lg_UG: Likewise.
22385 * localedata/locales/li_BE: Likewise.
22386 * localedata/locales/li_NL: Likewise.
22387 * localedata/locales/lij_IT: Likewise.
22388 * localedata/locales/ln_CD: Likewise.
22389 * localedata/locales/lo_LA: Likewise.
22390 * localedata/locales/lt_LT: Likewise.
22391 * localedata/locales/lv_LV: Likewise.
22392 * localedata/locales/lzh_TW: Likewise.
22393 * localedata/locales/mag_IN: Likewise.
22394 * localedata/locales/mai_IN: Likewise.
22395 * localedata/locales/mg_MG: Likewise.
22396 * localedata/locales/mhr_RU: Likewise.
22397 * localedata/locales/mi_NZ: Likewise.
22398 * localedata/locales/mk_MK: Likewise.
22399 * localedata/locales/ml_IN: Likewise.
22400 * localedata/locales/mn_MN: Likewise.
22401 * localedata/locales/mni_IN: Likewise.
22402 * localedata/locales/mr_IN: Likewise.
22403 * localedata/locales/ms_MY: Likewise.
22404 * localedata/locales/mt_MT: Likewise.
22405 * localedata/locales/my_MM: Likewise.
22406 * localedata/locales/nan_TW: Likewise.
22407 * localedata/locales/nan_TW@latin: Likewise.
22408 * localedata/locales/nb_NO: Likewise.
22409 * localedata/locales/nds_DE: Likewise.
22410 * localedata/locales/nds_NL: Likewise.
22411 * localedata/locales/ne_NP: Likewise.
22412 * localedata/locales/nhn_MX: Likewise.
22413 * localedata/locales/niu_NU: Likewise.
22414 * localedata/locales/niu_NZ: Likewise.
22415 * localedata/locales/nl_AW: Likewise.
22416 * localedata/locales/nl_BE: Likewise.
22417 * localedata/locales/nl_NL: Likewise.
22418 * localedata/locales/nn_NO: Likewise.
22419 * localedata/locales/nr_ZA: Likewise.
22420 * localedata/locales/nso_ZA: Likewise.
22421 * localedata/locales/oc_FR: Likewise.
22422 * localedata/locales/om_ET: Likewise.
22423 * localedata/locales/om_KE: Likewise.
22424 * localedata/locales/or_IN: Likewise.
22425 * localedata/locales/os_RU: Likewise.
22426 * localedata/locales/pa_IN: Likewise.
22427 * localedata/locales/pa_PK: Likewise.
22428 * localedata/locales/pap_AW: Likewise.
22429 * localedata/locales/pap_CW: Likewise.
22430 * localedata/locales/pl_PL: Likewise.
22431 * localedata/locales/ps_AF: Likewise.
22432 * localedata/locales/pt_BR: Likewise.
22433 * localedata/locales/pt_PT: Likewise.
22434 * localedata/locales/quz_PE: Likewise.
22435 * localedata/locales/raj_IN: Likewise.
22436 * localedata/locales/ro_RO: Likewise.
22437 * localedata/locales/ru_RU: Likewise.
22438 * localedata/locales/ru_UA: Likewise.
22439 * localedata/locales/rw_RW: Likewise.
22440 * localedata/locales/sa_IN: Likewise.
22441 * localedata/locales/sat_IN: Likewise.
22442 * localedata/locales/sc_IT: Likewise.
22443 * localedata/locales/sd_IN: Likewise.
22444 * localedata/locales/sd_IN@devanagari: Likewise.
22445 * localedata/locales/se_NO: Likewise.
22446 * localedata/locales/sgs_LT: Likewise.
22447 * localedata/locales/shs_CA: Likewise.
22448 * localedata/locales/si_LK: Likewise.
22449 * localedata/locales/sid_ET: Likewise.
22450 * localedata/locales/sk_SK: Likewise.
22451 * localedata/locales/sl_SI: Likewise.
22452 * localedata/locales/sm_WS: Likewise.
22453 * localedata/locales/so_DJ: Likewise.
22454 * localedata/locales/so_ET: Likewise.
22455 * localedata/locales/so_KE: Likewise.
22456 * localedata/locales/so_SO: Likewise.
22457 * localedata/locales/sq_AL: Likewise.
22458 * localedata/locales/sq_MK: Likewise.
22459 * localedata/locales/sr_ME: Likewise.
22460 * localedata/locales/sr_RS: Likewise.
22461 * localedata/locales/sr_RS@latin: Likewise.
22462 * localedata/locales/ss_ZA: Likewise.
22463 * localedata/locales/st_ZA: Likewise.
22464 * localedata/locales/sv_FI: Likewise.
22465 * localedata/locales/sv_SE: Likewise.
22466 * localedata/locales/sw_KE: Likewise.
22467 * localedata/locales/sw_TZ: Likewise.
22468 * localedata/locales/szl_PL: Likewise.
22469 * localedata/locales/ta_IN: Likewise.
22470 * localedata/locales/ta_LK: Likewise.
22471 * localedata/locales/tcy_IN: Likewise.
22472 * localedata/locales/te_IN: Likewise.
22473 * localedata/locales/tg_TJ: Likewise.
22474 * localedata/locales/th_TH: Likewise.
22475 * localedata/locales/the_NP: Likewise.
22476 * localedata/locales/ti_ER: Likewise.
22477 * localedata/locales/ti_ET: Likewise.
22478 * localedata/locales/tig_ER: Likewise.
22479 * localedata/locales/tk_TM: Likewise.
22480 * localedata/locales/tl_PH: Likewise.
22481 * localedata/locales/tn_ZA: Likewise.
22482 * localedata/locales/to_TO: Likewise.
22483 * localedata/locales/tpi_PG: Likewise.
22484 * localedata/locales/tr_CY: Likewise.
22485 * localedata/locales/tr_TR: Likewise.
22486 * localedata/locales/ts_ZA: Likewise.
22487 * localedata/locales/tt_RU: Likewise.
22488 * localedata/locales/tt_RU@iqtelif: Likewise.
22489 * localedata/locales/ug_CN: Likewise.
22490 * localedata/locales/uk_UA: Likewise.
22491 * localedata/locales/unm_US: Likewise.
22492 * localedata/locales/ur_IN: Likewise.
22493 * localedata/locales/ur_PK: Likewise.
22494 * localedata/locales/uz_UZ: Likewise.
22495 * localedata/locales/uz_UZ@cyrillic: Likewise.
22496 * localedata/locales/ve_ZA: Likewise.
22497 * localedata/locales/vi_VN: Likewise.
22498 * localedata/locales/wa_BE: Likewise.
22499 * localedata/locales/wae_CH: Likewise.
22500 * localedata/locales/wal_ET: Likewise.
22501 * localedata/locales/wo_SN: Likewise.
22502 * localedata/locales/xh_ZA: Likewise.
22503 * localedata/locales/yi_US: Likewise.
22504 * localedata/locales/yo_NG: Likewise.
22505 * localedata/locales/yue_HK: Likewise.
22506 * localedata/locales/yuw_PG: Likewise.
22507 * localedata/locales/zh_CN: Likewise.
22508 * localedata/locales/zh_HK: Likewise.
22509 * localedata/locales/zh_SG: Likewise.
22510 * localedata/locales/zh_TW: Likewise.
22511 * localedata/locales/zu_ZA: Likewise.
22513 2017-11-13 Florian Weimer <fweimer@redhat.com>
22515 * support/next_to_fault.h, support/next_to_fault.c: New files.
22516 * support/Makefile (libsupport-routines): Add next_to_fault.
22517 * resolv/tst-inet_pton.c (struct next_to_fault)
22518 (next_to_fault_allocate, next_to_fault_free): Remove.
22519 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22521 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22523 * elf/dl-support.c: Include <dl-procruntime.c>.
22524 * include/link.h: Include <link_map.h>.
22525 * sysdeps/generic/dl-procruntime.c: New file.
22526 * sysdeps/generic/link_map.h: Likewise.
22527 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22528 the writable ld.so namespace.
22530 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22532 timezone: pacify GCC -Wstringop-truncation
22533 Problem reported by Martin Sebor in:
22534 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22535 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22537 2017-11-12 Florian Weimer <fweimer@redhat.com>
22539 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22541 (tests): Add tst-xreadlink.
22542 * support/support.h (xstrndup): Declare.
22543 * support/xunistd.h (xunlink, xreadlink): Declare.
22544 * support/temp_file.h (support_create_temp_directory): Declare.
22545 * support/temp_file.c (support_create_temp_directory): New function.
22546 * support/support_chroot.c (support_chroot_create): Use it.
22547 * support/xreadlink.c: New file.
22548 * support/xstrndup.c: Likewise.
22549 * support/xunlink.c: Likewise.
22550 * support/tst-xreadlink.c: Likewise.
22552 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22554 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22556 2017-11-11 Florian Weimer <fweimer@redhat.com>
22560 * resolv/res_comp.c (printable_string, binary_hnok)
22561 (binary_leading_dash): New functions.
22562 (res_hnok): Reimplement using these functions and ns_name_pton.
22563 (res_ownok): Likewise.
22564 (res_mailok): Reimplement using printable_string, ns_name_pton and
22566 (res_dnok): Reimplement using printable_string and ns_name_pton.
22567 * resolv/tst-res_hnok.c (tests): Add additional tests.
22568 (LETTERDIGITS, PRINTABLE): Define.
22569 (do_test): Adjust one_char results.
22571 2017-11-11 Florian Weimer <fweimer@redhat.com>
22574 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22575 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22577 2017-11-11 Florian Weimer <fweimer@redhat.com>
22579 * resolv/tst-ns_name_pton.c: New file.
22580 * resolv/Makefile (tests): Add tst-ns_name_pton.
22581 (tst-ns_name_pton): Link against libresolv.
22583 2017-11-11 Florian Weimer <fweimer@redhat.com>
22585 * resolv/tst-res_hnok.c: New file.
22586 * resolv/Makefile (tests): Add tst-res_hnok.
22587 (tst-res_hnok): Link against libresolv.
22589 2017-11-11 Florian Weimer <fweimer@redhat.com>
22591 * resolv/tst-resolv-network.c: Use test framework instead explicit
22594 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22596 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22597 <jmp_buf-macros.h>.
22598 [!_ISOMAC] (STR_HELPER): New.
22599 [!_ISOMAC] (STR): Likewise.
22600 [!_ISOMAC] (TEST_SIZE): Likewise.
22601 [!_ISOMAC] (TEST_ALIGN): Likewise.
22602 [!_ISOMAC] (TEST_OFFSET): Likewise.
22603 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22604 field offsets of jmp_buf as well as sigjmp_buf.
22605 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22606 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22607 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22608 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22609 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22610 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22611 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22612 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22613 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22614 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22616 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22618 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22623 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22624 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22625 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22632 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22633 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22634 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22636 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22640 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22642 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22644 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22646 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22648 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22650 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22652 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22654 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22656 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22658 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22660 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22662 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22664 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22666 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22668 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22670 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22672 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22674 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22676 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22678 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22680 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22682 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22684 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22686 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22688 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22690 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22692 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22694 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22696 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22698 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22700 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22702 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22704 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22706 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22708 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22710 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22712 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22714 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22716 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22718 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22720 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22722 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22724 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22726 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22728 * stdlib/tst-strtod.h (F16): New macro.
22734 (IF_FLOAT16): Likewise.
22735 (IF_FLOAT32): Likewise.
22736 (IF_FLOAT64): Likewise.
22737 (IF_FLOAT32X): Likewise.
22738 (IF_FLOAT64X): Likewise.
22739 (IF_FLOAT128X): Likewise.
22740 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22741 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22742 (STRTOD_TEST_FOREACH): Likewise.
22743 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22744 (CHOOSE_f64): Likewise.
22745 (CHOOSE_f32x): Likewise.
22746 (CHOOSE_f64x): Likewise.
22748 2017-11-07 Andreas Schwab <schwab@suse.de>
22750 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22752 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22755 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22757 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22760 2017-11-07 Claude Paroz <claude@2xlibre.net>
22763 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22765 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22767 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22770 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22773 * nptl/allocatestack.c (allocate_stack): Check if
22774 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22775 __PTHREAD_MUTEX_HAVE_PREV is defined.
22776 * nptl/descr.h (pthread): Likewise.
22777 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22779 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22780 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22781 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22782 * sysdeps/nptl/bits/thread-shared-types.h
22783 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22785 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22786 of __WORDSIZE for internal layout.
22787 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22788 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22789 instead of __WORDSIZE whether to use an union for __spins and __list
22791 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22793 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22796 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22799 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22802 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22805 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22808 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22811 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22814 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22817 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22820 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22823 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22824 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22826 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22829 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22830 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22832 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22833 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22835 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22836 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22839 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22841 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22842 checks for expected input type size.
22843 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22844 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22846 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22847 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22848 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22849 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22850 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22851 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22852 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22853 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22854 superflous runtime assert check.
22855 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22857 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22859 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22861 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22863 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22865 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22867 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22868 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22869 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22871 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22873 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22875 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22877 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22879 * nptl/pthread_attr_setinheritsched.c
22880 (__pthread_attr_setinheritsched): Likewise.
22881 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22883 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22885 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22886 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22887 __old_pthread_attr_setstack): Likewise.
22888 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22890 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22892 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22894 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22895 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22897 * nptl/tst-typesizes.c: Remove file.
22899 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22900 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22901 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22902 checks for internal pthread_mutex_t offsets.
22903 * sysdeps/aarch64/nptl/pthread-offsets.h
22904 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22905 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22906 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22907 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22908 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22909 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22910 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22911 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22912 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22913 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22914 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22915 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22916 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22917 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22918 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22919 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22920 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22921 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22923 2017-11-07 Florian Weimer <fweimer@redhat.com>
22925 * bits/mman-linux.h: Move ...
22926 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22928 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22931 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22933 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22934 Redefine STRNLEN as __strnlen_power8.
22936 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22938 * signal/sighold.c (sighold): Optimize implementation.
22940 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22941 __NR_rt_sigqueueinfo.
22943 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22945 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22946 assume __NR_rt_sigtimedwait.
22947 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22948 and add LIBC_CANCEL_HANDLED for cancellation marking.
22949 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22951 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22952 (sysdeps_routines): Add memchr_noneon.
22953 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22954 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22955 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22956 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22957 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22958 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22959 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22961 * sysdeps/arm/arm-ifunc.h: New file.
22962 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22963 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22964 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22965 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22966 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22967 (__memcpy_neon): Avoid create hidden alias.
22968 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22969 (__memcpy_vfp): Likewise.
22970 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22971 (sysdep_routines): Add memcpy_arm.
22972 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22974 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22977 * Makerules (make-link-multidir): New.
22978 * config.make.in (multidir): New.
22979 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22980 * configure: Regenerated.
22981 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22982 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22983 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22986 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22989 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22990 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22992 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22994 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22997 2017-11-04 Florian Weimer <fweimer@redhat.com>
22999 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23001 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23003 * math/math.h [__HAVE_DISTINCT_FLOAT16
23004 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23005 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23006 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23007 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23008 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23009 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23010 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23011 (__MATH_TG_F32): New macro.
23012 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23013 (__MATH_TG_F64X): Likewise.
23014 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23015 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23017 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23019 * po/de.po: Update translations.
23020 * po/ru.po: Likewise.
23022 2017-11-03 Florian Weimer <fweimer@redhat.com>
23024 * manual/filesys.texi (Hard Links): Document linkat.
23026 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23028 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23029 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23030 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23031 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23032 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23033 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23034 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23035 the same as _Float128.
23036 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23037 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23038 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23041 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23043 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23045 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23047 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23048 (strtof32x): Likewise.
23049 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23050 (strtof64x): Likewise.
23051 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23052 (strtof128x): Likewise.
23053 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23054 (strfromf16): Likewise.
23055 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23056 (strfromf32): Likewise.
23057 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23058 (strfromf64): Likewise.
23059 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23060 (strfromf32x): Likewise.
23061 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23062 (strfromf64x): Likewise.
23063 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23064 (strfromf128x): Likewise.
23065 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23066 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23067 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23068 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23069 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23070 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23072 2017-11-03 Richard Henderson <rth@twiddle.net>
23074 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23076 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23078 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23080 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23082 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23083 DT_TLSDESC_GOT initialization.
23084 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23085 (_dl_tlsdesc_resolve_hold): Likewise.
23086 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23087 (_dl_tlsdesc_resolve_hold): Likewise.
23088 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23089 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23091 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23093 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23095 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23098 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23099 non-lazily for R_ARM_TLS_DESC.
23101 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23104 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23105 R_ARM_TLS_DESC case.
23106 (elf_machine_lazy_rel): Remove the prelink check.
23108 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23110 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23111 DT_TLSDESC_GOT initialization.
23112 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23113 (_dl_tlsdesc_resolve_rela): Likewise.
23114 (_dl_tlsdesc_resolve_hold): Likewise.
23115 (_dl_tlsdesc_undefweak): Remove ldar.
23116 (_dl_tlsdesc_dynamic): Likewise.
23117 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23118 (_dl_tlsdesc_resolve_rela): Likewise.
23119 (_dl_tlsdesc_resolve_hold): Likewise.
23120 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23121 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23122 (_dl_tlsdesc_resolve_rela): Likewise.
23123 (_dl_tlsdesc_resolve_hold): Likewise.
23125 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23127 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23128 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23130 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23132 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23133 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23135 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23137 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23139 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23140 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23141 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23142 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23143 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23144 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23145 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23146 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23147 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23148 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23149 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23151 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23154 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23155 * localedata/locales/tpi_PG: Add standard header.
23157 2017-11-02 Florian Weimer <fweimer@redhat.com>
23159 test-errno-linux: quotactl can fail with EPERM in containers.
23160 * sysdeps/unix/sysv/linux/test-errno-linux.c
23161 (LIST, LIST_FORWARD): New macros.
23162 (check_error_in_list): New function.
23163 (test_wrp_rv): Accept list of permitted error codes.
23164 (test_wrp_rv2): Remove.
23165 (test_wrp): Call test_wrp_rv with list of error codes.
23166 (test_wrp2): Accept list of error codes.
23167 (do_test): Adjust. Allow EPERM for quotactl.
23169 2017-11-02 Florian Weimer <fweimer@redhat.com>
23171 * stdio-common/bug16.c (do_test): Use array_length.
23172 * stdio-common/errlist.c (_sys_nerr): Likewise.
23173 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23174 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23175 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23176 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23177 (do_test): Use array_length.
23178 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23179 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23180 * stdio-common/tst-printf-round.c (do_test): Likewise.
23181 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23182 (CHECK): Use array_length.
23183 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23184 * stdio-common/tstscanf.c (main): Likewise.
23185 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23187 2017-11-02 Florian Weimer <fweimer@redhat.com>
23189 Add array_length and array_end macros.
23190 * include/array_length.h: New file.
23192 2017-11-02 Florian Weimer <fweimer@redhat.com>
23195 * posix/tst-glob-tilde.c (do_noescape): New variable.
23196 (one_test): Process it.
23197 (do_test): Set do_noescape. Add unescaping test case.
23199 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23202 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23203 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23204 with appropriate macros defined and undefined.
23205 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23206 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23207 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23208 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23209 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23210 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23211 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23212 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23213 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23214 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23217 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23218 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23219 that for long double. Do not condition define and undefine of
23220 _Mdouble_complex_ on [__CFLOAT128].
23222 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23224 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23225 of <sysdeps/generic/sysdep.h>.
23226 (ALIGNARG): Removed.
23227 (ASM_SIZE_DIRECTIVE): Likewise.
23230 (ENTRY_CHK): Likewise.
23231 (END_CHK): Likewise.
23232 (syscall_error): Likewise.
23233 (mcount): Likewise.
23234 (PSEUDO_END): Likewise.
23236 (atom_text_section): Likewise.
23237 * sysdeps/x86/sysdep.h: New file.
23238 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23239 of <sysdeps/generic/sysdep.h>.
23240 (ALIGNARG): Removed.
23241 (ASM_SIZE_DIRECTIVE): Likewise.
23244 (ENTRY_CHK): Likewise.
23245 (END_CHK): Likewise.
23246 (syscall_error): Likewise.
23247 (mcount): Likewise.
23248 (PSEUDO_END): Likewise.
23250 (atom_text_section): Likewise.
23252 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23254 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23255 category of LC_CTYPE set to "i18n:2012".
23256 * localedata/locales/i18n_ctype: Regenerate.
23258 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23260 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23261 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23262 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23263 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23265 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23266 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23268 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23270 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23273 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23275 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23277 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23279 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23280 (CMPLXF32X): Likewise.
23281 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23282 (CMPLXF64X): Likewise.
23283 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23284 (CMPLXF128X): Likewise.
23287 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23288 (__MATH_EVAL_FMT2): Define to add 0.0f.
23290 2017-10-31 Alan Modra <amodra@gmail.com>
23292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23308 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23309 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23310 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23312 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23319 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23320 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23321 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23322 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23323 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23325 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23326 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23327 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23328 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23329 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23330 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23334 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23335 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23336 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23337 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23340 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23342 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23343 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23344 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23346 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23348 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23349 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23351 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23355 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23356 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23359 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23361 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23362 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23365 include sysdep.h and math_ldbl_opt.h.
23367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23368 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23394 2017-10-31 Alan Modra <amodra@gmail.com>
23396 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23397 string/strncase_l.c, not string/strncase.c.
23398 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23399 (libc_hidden_def): Redefine.
23401 2017-10-31 Alan Modra <amodra@gmail.com>
23403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23404 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23405 (__strcasecmp): Don't define.
23407 2017-10-31 Alan Modra <amodra@gmail.com>
23409 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23411 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23412 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23415 2017-10-31 Alan Modra <amodra@gmail.com>
23417 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23420 2017-10-31 Alan Modra <amodra@gmail.com>
23422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23423 Redefine only when SHARED.
23425 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23427 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23428 Include <bits/math-finite.h> with appropriate macros defined and
23430 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23431 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23432 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23433 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23434 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23436 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23437 [!_Mlong_double_] (_Mlong_double_): Likewise.
23438 [!_Mfloat16_] (_Mfloat16_): Likewise.
23439 [!_Mfloat32_] (_Mfloat32_): Likewise.
23440 [!_Mfloat64_] (_Mfloat64_): Likewise.
23441 [!_Mfloat128_] (_Mfloat128_): Likewise.
23442 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23443 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23444 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23445 (_Mdouble_): Define without indirection through those macros.
23446 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23447 [!_Mfloat128_] (_Mfloat128_): Likewise.
23448 [_Mlong_double_] (_Mlong_double_): Likewise.
23449 (_Mdouble_): Define without indirection through those macros.
23450 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23451 not add -D_Mlong_double_=double.
23452 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23453 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23455 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23457 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23459 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23461 * sysdeps/x86/libc-start.c: Reformat.
23463 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23467 (1): Renamed to ...
23470 (L(Src2)): Likewise.
23471 (L(1)): Renamed to ...
23474 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23476 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23477 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23478 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23479 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23480 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23481 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23482 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23483 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23484 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23485 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23486 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23487 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23488 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23489 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23490 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23491 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23492 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23493 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23494 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23495 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23496 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23497 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23498 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23499 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23500 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23501 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23502 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23503 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23504 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23505 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23506 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23507 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23508 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23509 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23510 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23511 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23512 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23513 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23514 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23515 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23516 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23517 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23518 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23519 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23520 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23521 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23522 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23523 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23524 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23525 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23526 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23527 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23528 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23529 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23530 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23531 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23532 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23533 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23534 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23535 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23536 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23537 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23538 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23539 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23540 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23541 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23543 2017-10-30 Florian Weimer <fweimer@redhat.com>
23545 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23547 * io/tst-mkdirat.c (do_test): Likewise.
23548 * io/tst-mkfifoat.c (do_test): Likewise.
23549 * io/tst-mknodat.c (do_test): Likewise.
23550 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23551 * locale/programs/locale.c (select_dirs): Likewise.
23552 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23553 * posix/bug-glob2.c (my_readdir): Likewise.
23554 * posix/tst-dir.c (main): Likewise.
23555 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23556 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23558 2017-10-30 Florian Weimer <fweimer@redhat.com>
23560 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23563 2017-10-30 Florian Weimer <fweimer@redhat.com>
23565 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23566 Convert to support/test-driver.c.
23567 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23568 New macro parameters.
23569 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23570 * posix/tst-gnuglob.c: New file.
23571 * posix/tst-gnuglob64.c: Likewise.
23572 * posix/Makefile (tests): Add tst-gnuglob64.
23574 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23577 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23578 and use a better translation for March in “mon”.
23579 * localedata/locales/csb_PL: Use more ASCII to improve the
23580 readability of the source.
23582 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23585 * localedata/locales/km_KH: Use ASCII as much
23586 as possible for better readability of the source and
23587 remove useless comments.
23588 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23589 was commented out and apparently wrong anyway because it was
23590 using Lao characters. If Buddhist era should be used
23591 for km_KH, a native speaker should write the correct formaat
23593 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23594 (According to CLDR, the first weekday for Cambodia is Sunday).
23595 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23596 (These were using Lao characters which must be wrong. If we get
23597 the correct data from a native speaker, we could add it back, until
23598 then it is better not to have name_mr and name_mrs at all than
23601 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23603 * locale/loadlocale.c: Correct size of
23604 _nl_value_type_LC_<category> arrays.
23606 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23608 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23609 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23610 with appropriate macros defined and undefined.
23611 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23612 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23613 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23614 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23615 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23617 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23619 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23622 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23624 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23625 with lowercase letters to make it agree with CLDR.
23627 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23630 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23631 first letters of yesstr and nostr in yesexpr and noexpr,
23632 not for the full words.
23633 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23634 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23635 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23636 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23637 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23638 first letters of yesstr and nostr in yesexpr and noexpr,
23639 until now only English was matched in yesexpr and noexpr.
23640 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23641 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23642 fil but not for tl. As tl and fil are very similar, using fil
23643 is probably better than using English.
23645 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23648 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23649 in yesstr and nostr.
23651 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23653 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23654 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23655 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23657 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23659 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23661 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23663 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23664 (SNANF128X): Likewise.
23666 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23667 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23668 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23669 (HUGE_VAL_F32): Likewise.
23670 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23671 (HUGE_VAL_F64): Likewise.
23672 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23673 (HUGE_VAL_F32X): Likewise.
23674 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23675 (HUGE_VAL_F64X): Likewise.
23676 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23677 (HUGE_VAL_F128X): Likewise.
23679 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23681 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23682 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23683 for the br_FR locale.
23685 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23688 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23690 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23692 * locale/programs/record-status.h: Define globals, and function
23693 prototypes. Move function bodies...
23694 * locale/programs/record-status.c: ... to here. New file.
23695 * iconv/Makefile (iconv_prog-modules): Add record-status.
23696 * locale/Makefile (lib-modules): Likewise.
23697 * iconv/iconv_prog.c: Remove verbose.
23698 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23699 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23700 record a warning about ASCII compatibility.
23701 * locale/programs/ld-monetary.c (monetary_finish): If
23702 warn_int_curr_symbol is true then record a warning about the symbol
23703 not being in our ISO 4217 list.
23704 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23705 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23706 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23707 (OPT_NO_WARN): Define.
23708 (OPT_WARN): Define.
23709 (options): Add entry for --no-warnings, and --warnings.
23710 (set_warnings): New function to enable/disable warnings.
23711 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23712 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23713 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23714 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23715 Pass flags to generate_locale.
23716 (generate_locale): Accept new flag argument and pass it to localedef
23718 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23719 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23721 * localedata/Makefile (test-input-data): Use full file name.
23722 * localedata/da_DK.in: Rename to...
23723 * localedata/da_DK.ISO-8859-1.in: ...this.
23724 * localedata/de_DE.in: Rename to...
23725 * localedata/de_DE.ISO-8859-1.in: ...this.
23726 * localedata/en_US.in: Rename to...
23727 * localedata/en_US.ISO-8859-1.in: ...this.
23728 * localedata/fr_FR.in: Rename to...
23729 * localedata/fr_FR.UTF-8.in: ... this.
23730 * localedata/hr_HR.in: Rename to...
23731 * localedata/hr_HR.ISO-8859-2.in: ...this.
23732 * localedata/hu_HU.in: Rename to...
23733 * localedata/hu_HU.UTF-8.in: ...this.
23734 * localedata/si_LK.in: Rename to...
23735 * localedata/si_LK.UTF-8.in: ...this.
23736 * localedata/sv_SE.in: Rename to...
23737 * localedata/sv_SE.ISO-8859-1.in: ...this.
23738 * localedata/tr_TR.in: Rename to...
23739 * localedata/tr_TR.UTF-8.in: ...this.
23740 * localedata/uk_UA.in: Rename to...
23741 * localedata/uk_UA.UTF-8.in: ...this.
23742 * localedata/sort-test.sh: Test file is locale name with the
23745 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23746 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23748 * localedata/locales/i18n_ctype: Regenerate.
23749 * localedata/locales/tr_TR: Likewise.
23750 * localedata/locales/translit_circle: Likewise.
23751 * localedata/locales/translit_cjk_compat: Likewise.
23752 * localedata/locales/translit_combining: Likewise.
23753 * localedata/locales/translit_compat: Likewise.
23754 * localedata/locales/translit_font: Likewise.
23755 * localedata/locales/translit_fraction: Likewise.
23757 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23759 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23760 lxvd2x/stxvd2x with lvx/stvx.
23761 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23763 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23765 * include/alloc_buffer.h: Replace "if if " with "if " in
23767 * sysdeps/mips/memcpy.S: Likkewise.
23768 * sysdeps/mips/memset.S: Likewise.
23769 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23771 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23773 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23776 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23779 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23780 yesexpr and noexpr.
23781 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23782 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23783 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23784 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23785 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23786 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23787 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23789 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23791 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23792 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23793 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23794 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23795 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23796 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23797 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23798 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23799 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23800 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23801 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23802 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23804 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23806 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23807 as possible for better readability of the source.
23808 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23809 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23810 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23811 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23812 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23813 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23814 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23815 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23816 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23817 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23818 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23819 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23820 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23821 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23822 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23823 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23824 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23825 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23826 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23827 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23828 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23829 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23830 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23831 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23832 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23833 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23834 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23835 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23836 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23837 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23838 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23839 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23840 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23841 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23842 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23843 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23844 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23845 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23846 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23847 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23848 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23849 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23850 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23851 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23852 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23853 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23854 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23855 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23856 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23857 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23858 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23859 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23860 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23861 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23862 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23863 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23864 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23865 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23866 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23867 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23868 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23869 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23870 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23871 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23872 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23873 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23874 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23875 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23876 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23877 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23878 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23879 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23880 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23881 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23882 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23883 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23884 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23885 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23886 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23887 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23888 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23889 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23890 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23891 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23892 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23893 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23894 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23895 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23896 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23897 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23898 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23899 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23900 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23901 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23902 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23903 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23904 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23905 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23906 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23907 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23908 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23909 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23910 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23911 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23912 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23913 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23914 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23915 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23916 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23917 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23918 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23919 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23920 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23921 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23922 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23923 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23924 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23925 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23926 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23927 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23928 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23929 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23930 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23931 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23932 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23933 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23934 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23935 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23936 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23937 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23938 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23939 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23940 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23941 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23942 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23943 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23944 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23945 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23946 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23947 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23948 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23949 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23950 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23951 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23952 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23953 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23954 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23955 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23956 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23957 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23958 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23959 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23960 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23961 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23962 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23963 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23964 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23965 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23966 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23967 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23968 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23969 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23970 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23971 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23972 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23973 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23974 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23975 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23976 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23977 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23978 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23979 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23980 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23981 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23983 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23985 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23986 (Use first letters of yesstr and nostr correctly instead of using
23989 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23991 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23992 (Use first letters of yesstr and nostr correctly).
23994 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23996 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23997 also check for the first characters of yesstr and nostr.
23998 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23999 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24003 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24004 also check for Chinese characters.
24006 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24008 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24009 match also for the contents of yesstr and nostr. As the first letter
24010 of yesstr and nostr is equal, checking only for the first letter
24013 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24015 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24016 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24018 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24020 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24021 of main contributor.
24023 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24025 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24026 instead of using English.
24028 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24030 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24031 by including the first letters of nostr and yesexpr in the regexp.
24032 Also make it more readable by using ASCII where possible.
24034 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24036 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24037 the first letter of nostr in the regexp. It agrees with CLDR now.
24038 Also make it more readable by using ASCII where possible.
24040 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24042 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24043 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24044 these strings contain a U+17D6 (which somewhat looks like a colon)
24045 instead of a real colon to separate the full words for “yes”
24046 and “no” from the single letter responses.
24048 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24050 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24051 it agree with CLDR (include the first letter of yesstr).
24052 Also make it more readable by using ASCII where possible.
24054 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24056 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24057 and improve yesexpr and noexpr. The yesstr and nostr apparently
24058 came from CLDR. And CLDR has a bug there: these strings contain
24059 a U+0903 (which looks like a colon) instead of a real colon
24060 to separate the full words for “yes” and “no” from the single
24063 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24065 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24066 letters of the full yesstr and nostr in yesexpr and noexpr.
24068 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24070 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24071 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24072 * localedata/locales/an_ES: Make source more readable by using ASCII
24075 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24078 * localedata/locales/yuw_PG: New file.
24079 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24080 * locale/iso-639.def: Add Yau (Uruwa).
24082 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24084 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24086 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24088 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24089 (__libc_realloc): Likewise.
24090 (_mid_memalign): Likewise.
24091 (__libc_calloc): Likewise.
24093 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24095 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24096 by adding the generic +1 and -0 as in all other locales.
24097 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24098 day names and make it more readable by using ASCII where possible.
24100 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24102 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24103 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24105 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24107 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24108 WNOHANG in waitpid call.
24110 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24112 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24113 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24115 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24116 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24117 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24118 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24119 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24120 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24121 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24122 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24125 2017-10-23 Michael Collison <michael.collison@arm.com>
24127 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24128 with __builtin_sqrt.
24129 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24130 with __builtin_sqrtf.
24131 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24132 with __builtin_ceil.
24133 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24134 with __builtin_ceilf.
24135 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24136 with __builtin_floor.
24137 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24138 with __builtin_floorf.
24139 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24140 with __builtin_fma.
24141 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24142 with __builtin_fmaf.
24143 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24144 with __builtin_fmax.
24145 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24146 with __builtin_fmaxf.
24147 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24148 with __builtin_fmin.
24149 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24150 with __builtin_fminf.
24151 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24152 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24153 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24154 with builtin_rint and conversion to int.
24155 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24156 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24157 with builtin_llround.
24158 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24159 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24160 with builtin_rint and conversion to long int.
24161 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24162 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24163 with builtin_lround.
24164 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24165 with builtin_lroundf.
24166 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24167 statements with __builtin_nearbyint.
24168 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24169 statements with __builtin_nearbyintf.
24170 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24171 with __builtin_rint.
24172 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24173 with __builtin_rintf.
24174 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24175 with __builtin_round.
24176 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24177 with __builtin_roundf.
24178 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24179 with __builtin_trunc.
24180 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24181 with __builtin_truncf.
24182 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24183 and s_l[l]round[f].c too.
24185 2017-10-23 Alan Modra <amodra@gmail.com>
24187 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24188 Adjust stack after restoring regs. Add missing LR cfi_restore.
24190 2017-10-23 Alan Modra <amodra@gmail.com>
24192 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24193 Move LR save and frame setup/teardown and LR restore to
24194 immediately around memset call. Provide cfi.
24196 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24198 * sysdeps/i386/fpu/e_powf.S: Removed.
24199 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24200 * sysdeps/i386/fpu/w_powf.c: Likewise.
24201 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24202 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24203 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24205 (CFLAGS-e_powf-sse2.c): New.
24206 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24207 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24209 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24211 * sysdeps/i386/fpu/e_log2f.S: Removed.
24212 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24213 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24214 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24216 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24218 (CFLAGS-e_log2f-sse2.c): New.
24219 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24220 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24222 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24226 (CFLAGS-e_powf-fma.c): New.
24227 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24228 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24230 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24232 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24234 (CFLAGS-e_log2f-fma.c): New.
24235 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24236 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24238 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24240 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24242 (CFLAGS-e_logf-fma.c): New.
24243 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24244 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24246 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24248 * sysdeps/i386/fpu/e_logf.S: Removed.
24249 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24250 * sysdeps/i386/fpu/w_logf.c: Likewise.
24251 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24252 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24253 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24254 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24256 (CFLAGS-e_logf-sse2.c): New.
24257 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24258 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24260 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24262 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24263 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24264 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24265 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24266 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24268 (CFLAGS-e_exp2f-sse2.c): New.
24269 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24270 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24272 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24274 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24276 (CFLAGS-e_exp2f-fma.c): New.
24277 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24278 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24280 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24282 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24283 * sysdeps/i386/fpu/e_expf.S: Likewise.
24284 * sysdeps/i386/fpu/math_errf.c: Likewise.
24285 * sysdeps/i386/fpu/w_expf.c: Likewise.
24286 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24287 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24288 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24289 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24290 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24291 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24292 Remove e_expf-ia32.
24293 (CFLAGS-e_expf-sse2.c): New.
24294 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24295 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24297 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24299 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24300 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24301 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24304 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24306 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24307 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24309 (__redirect_expf): This.
24310 (SYMBOL_NAME): Changed to expf.
24311 (__ieee754_expf): Renamed to ...
24313 (__GI___expf): This.
24314 (__ieee754_expf): Add strong_alias.
24315 (__expf_finite): Likewise.
24317 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24319 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24322 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24325 2017-10-21 Florian Weimer <fweimer@redhat.com>
24327 * posix/Makefile (tests): Add tst-glob-tilde.
24328 (tests-special): Add tst-glob-tilde-mem.out
24329 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24330 (tst-glob-tilde-mem.out): Add mtrace check.
24331 * posix/tst-glob-tilde.c: New file.
24333 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24335 * bits/floatn-common.h: New file.
24336 * math/Makefile (headers): Add bits/floatn-common.h.
24337 * bits/floatn.h: Include <bits/floatn-common.h>.
24338 * sysdeps/ia64/bits/floatn.h: Likewise.
24339 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24340 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24341 * sysdeps/powerpc/bits/floatn.h: Likewise.
24342 * sysdeps/x86/bits/floatn.h: Likewise.
24344 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24346 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24347 indicates whether compiler emits an warning for alias for
24348 functions with incompatible types.
24351 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24352 the auxiliary process is terminated by a signal before calling _exit
24355 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24358 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24360 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24361 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24362 and bit_arch_XSAVEC_Usable if needed.
24363 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24364 and bit_arch_Use_dl_runtime_resolve_opt.
24365 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24367 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24368 (bit_arch_Prefer_No_AVX512): Updated.
24369 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24370 (bit_arch_XSAVEC_Usable): New.
24371 (STATE_SAVE_OFFSET): Likewise.
24372 (STATE_SAVE_MASK): Likewise.
24373 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24374 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24375 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24376 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24377 (index_arch_XSAVEC_Usable): New.
24378 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24379 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24380 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24382 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24383 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24384 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24385 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24386 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24387 _dl_runtime_resolve_xsavec.
24388 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24390 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24391 instead of VEC_SIZE.
24392 (REGISTER_SAVE_BND0): Removed.
24393 (REGISTER_SAVE_BND1): Likewise.
24394 (REGISTER_SAVE_BND3): Likewise.
24395 (REGISTER_SAVE_RAX): Always defined to 0.
24397 (_dl_runtime_resolve_avx): Likewise.
24398 (_dl_runtime_resolve_avx_slow): Likewise.
24399 (_dl_runtime_resolve_avx_opt): Likewise.
24400 (_dl_runtime_resolve_avx512): Likewise.
24401 (_dl_runtime_resolve_avx512_opt): Likewise.
24402 (_dl_runtime_resolve_sse): Likewise.
24403 (_dl_runtime_resolve_sse_vex): Likewise.
24405 (_dl_runtime_resolve_fxsave): Likewise.
24406 (USE_XSAVE): Likewise.
24407 (_dl_runtime_resolve_xsave): Likewise.
24408 (USE_XSAVEC): Likewise.
24409 (_dl_runtime_resolve_xsavec): Likewise.
24410 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24412 (_dl_runtime_resolve_avx512_opt): Likewise.
24413 (_dl_runtime_resolve_avx): Likewise.
24414 (_dl_runtime_resolve_avx_opt): Likewise.
24415 (_dl_runtime_resolve_sse): Likewise.
24416 (_dl_runtime_resolve_sse_vex): Likewise.
24417 (_dl_runtime_resolve_fxsave): New.
24418 (_dl_runtime_resolve_xsave): Likewise.
24419 (_dl_runtime_resolve_xsavec): Likewise.
24421 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24425 * posix/glob.c (__glob): Fix one-byte overflow.
24427 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24429 * malloc/malloc.c (sysdep-cancel.h): Add include.
24431 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24433 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24435 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24437 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24438 (tests): Remove $(objpfx)ga_test depdendency.
24439 * resolv/ga_test.c: Remove file.
24441 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24444 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24445 * localedata/locales/kab_DZ: New file.
24447 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24449 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24450 _dl_relocate_static_pie instead of _dl_start to compute load
24451 address in static PIE.
24453 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24455 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24457 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24460 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24461 * localedata/locales/shn_MM: New file.
24463 2017-10-20 Florian Weimer <fweimer@redhat.com>
24466 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24467 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24468 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24469 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24470 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24471 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24473 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24475 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24477 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24479 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24482 * sysdeps/mips/bits/long-double.h: Move to ....
24483 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24485 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24487 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24489 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24490 H.J. Lu <hongjiu.lu@intel.com>
24493 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24494 GLRO(dl_platform) to NULL.
24495 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24496 (modules-names): Add tst-platformmod-1 and
24497 x86_64/tst-platformmod-2.
24498 (CFLAGS-tst-platform-1.c): New.
24499 (CFLAGS-tst-platformmod-1.c): Likewise.
24500 (CFLAGS-tst-platformmod-2.c): Likewise.
24501 (LDFLAGS-tst-platformmod-2.so): Likewise.
24502 ($(objpfx)tst-platform-1): Likewise.
24503 ($(objpfx)tst-platform-1.out): Likewise.
24504 (tst-platform-1-ENV): Likewise.
24505 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24506 * sysdeps/x86_64/tst-platform-1.c: New file.
24507 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24508 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24510 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24513 * locale/iso-639.def: Add Karbi.
24514 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24515 * localedata/locales/mjw_IN: New file.
24517 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24519 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24520 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24521 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24522 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24523 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24524 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24525 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24527 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24528 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24529 * manual/math.texi (Mathematics): Document additional architecture
24530 support for _Float128.
24531 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24532 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24533 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24534 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24540 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24541 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24542 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24543 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24544 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24545 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24547 2017-10-18 Renlin Li <renlin.li@arm.com>
24549 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24550 _DYNAMIC symbol to calculate load address.
24552 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24554 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24555 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24557 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24558 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24560 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24563 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24564 and improve readability by using more ASCII.
24565 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24566 and improve readability by using more ASCII.
24568 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24570 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24571 not all targets support atomics on bool.
24573 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24575 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24576 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24578 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24579 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24580 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24581 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24582 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24583 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24585 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24587 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24590 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24593 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24594 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24595 (do_check_remalloced_chunk): Fix build bug.
24596 (do_check_malloc_state): Add assert that checks arena->top.
24597 (malloc_consolidate): Remove initialization.
24598 (int_mallinfo): Remove call to malloc_consolidate.
24599 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24601 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24603 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24604 (have_fastchunks): Remove.
24605 (clear_fastchunks): Remove.
24606 (set_fastchunks): Remove.
24607 (malloc_state): Add have_fastchunks.
24608 (malloc_init_state): Use have_fastchunks.
24609 (do_check_malloc_state): Remove incorrect invariant checks.
24610 (_int_malloc): Use have_fastchunks.
24611 (_int_free): Likewise.
24612 (malloc_consolidate): Likewise.
24614 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24616 * malloc/malloc.c (tcache_put): Inline.
24617 (tcache_get): Inline.
24619 2017-10-17 Jordi Mallach <jordi@gnu.org>
24621 Aurelien Jarno <aurelien@aurel32.net>
24623 * localedata/locales/ca_ES@valencia: New file.
24624 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24626 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24629 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24632 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24634 * scripts/build-many-glibcs.py (Context.add_all_configs):
24635 Add arm-linux-gnueabihf multiarch extra_glibcs.
24637 * sysdeps/generic/ifunc-init.h: New file.
24638 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24640 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24643 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24644 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24645 * stdlib/tst-strfmon_l.c: adapt test case.
24647 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24649 * sysdeps/generic/float128-abi.h: New file.
24650 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24651 non-__prefixed symbols to ....
24652 * math/Versions: ... here. Include <float128-abi.h>.
24653 * stdlib/Versions ... and here. Include <float128-abi.h>
24655 2017-10-16 Florian Weimer <fweimer@redhat.com>
24657 * version.h (VERSION): Switch to ".9000" as the development
24660 2017-10-16 Florian Weimer <fweimer@redhat.com>
24663 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24664 compat_symbol_reference to access non-default version.
24666 2017-10-16 Florian Weimer <fweimer@redhat.com>
24668 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24670 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24672 * include/shlib-compat.h (compat_symbol_reference): Update
24675 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24677 * math/Makefile (test-types): Add
24678 $(type-float128-$(float128-alias-fcts)).
24679 * math/test-float128.h (TYPE_STR): Define conditional on
24680 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24681 (ULP_IDX): Likewise.
24682 (ULP_I_IDX): Likewise.
24684 * stdlib/strtold.c: Include <bits/floatn.h>
24685 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24686 and later undefine as macro. Define as weak alias if
24688 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24689 and later undefine as macro. Define as weak alias if
24691 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24692 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24693 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24694 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24695 Define and later undefine as macro. Define as weak alias if
24697 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24699 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24700 Define and later undefine as macro. Define as weak alias if
24702 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24703 Define and later undefine as macro. Define as weak alias if
24706 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24708 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24709 record_verbose messages.
24711 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24714 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24715 to silence -O3 -Wall warning with GCC 7.
24717 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24719 * Makeconfig (+link-static-before-libc): Use the first of
24720 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24721 * gmon/Makefile (tests): Add tst-gmon-static.
24722 (tests-static): Likewise.
24723 (CFLAGS-tst-gmon-static.c): New.
24724 (CRT-tst-gmon-static): Likewise.
24725 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24726 (tst-gmon-static-ENV): Likewise.
24727 (tests-special): Likewise.
24728 ($(objpfx)tst-gmon-static.out): Likewise.
24729 (clean-tst-gmon-static-data): Likewise.
24730 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24731 * gmon/tst-gmon-static-gprof.sh: New file.
24732 * gmon/tst-gmon-static.c: Likewise.
24734 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24737 * locale/programs/linereader.c (get_string): Don't warn on
24738 non-symbolic character.
24741 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24745 * locale/programs/record-status.h: New file
24746 * locale/programs/locale.c: Add comment.
24747 * locale/programs/charmap-dir.c: Don't include error.h.
24748 (charmap_opendir): Use record_error.
24749 * locale/programs/charmap.c: Don't include error.h.
24750 (charmap_read): Use record_error, and record_warning.
24751 (parse_charmap): Likewise.
24752 * locale/programs/ld-address.c: Don't include error.h.
24753 (address_finish): Use record_error, and record_warning.
24754 * locale/programs/ld-collate.c: Don't include error.h.
24755 (collate_finish): Use record_error, and record_error_at_line.
24756 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24757 (ctype_class_new): Likewise.
24758 (ctype_map_new): Likewise.
24759 (set_one_default): Likewise.
24760 (set_class_defaults): Likewise.
24761 (translit_flatten): Likewise.
24762 (allocate_arrays): Use record_error, and record_verbose.
24763 * locale/programs/ld-identification.c: Don't include error.h.
24764 (indentation_finish): Use record_error and record_warning.
24765 * locale/programs/ld-measurement.c: Don't include error.h.
24766 (measurement_finish): Use record_error.
24767 * locale/programs/ld-messages.c
24768 (message_finish): Likewise.
24769 * locale/programs/ld-monetary.c
24770 (monetary_finish): Likewise.
24771 * locale/programs/ld-name.c (name_finish): Use record_error
24772 and record_warning.
24773 * locale/programs/ld-numeric.c
24774 (numeric_finish): Use record_error.
24775 * locale/programs/ld-paper.c: Don't include error.h.
24776 (paper_finish): Use record_error.
24777 * locale/programs/ld-telephone.c: Don't include error.h.
24778 (telephone_finish): Use record_error.
24779 * locale/programs/ld-time.c (time_finish): Likewise.
24780 * locale/programs/linereader.h (lr_error): Make inline func.
24781 * locale/programs/localedef.c: Define recorded_warning_count,
24782 and recorded_error_count.
24783 (main): Use record_error. Use recorded_error_count and
24784 recorded_warning_count to issue correct error returns.
24785 (add_to_readlist): Use record_error.
24786 (find_locale): Likewise.
24787 (load_locale): Likewise.
24788 * locale/programs/localedef.h: Remove be_quiet
24789 and WITH_CUR_LOCALE.
24790 * locale/programs/locarchive.c (compare_from_file): Use
24792 * locale/programs/locfile.c (write_locale_data): Use
24794 * locale/programs/repertoire.c: Dont include error.h.
24795 (repertoire_complain): Use record_error.
24796 * localedata/tst-fmon.sh: Expect failures from localedef.
24797 * localedata/tst-locale.sh: Likewise.
24798 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24800 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24801 (REPORTS): Likewise.
24803 (i18n): Rename to...
24804 (i18n_ctype): ...this.
24805 (i18n-report): Rename to...
24806 (i18n_ctype-report): ...this.
24807 * localedata/locales/i18n_ctype: Regenerate.
24808 * localedata/locales/i18n: copy i18n_ctype.
24810 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24812 * stdlib/strfroml.c: Include <bits/floatn.h>.
24813 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24814 Define before include of <stdlib.h> and undefine afterwards, then
24815 define as weak alias.
24817 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24818 Undefine and restore default definition. Use
24819 libm_alias_ldouble_other.
24821 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24824 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24827 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24830 Assign sym_map to be map for local symbols, as TLS relocations
24831 use sym_map to determine whether the symbol is defined and to
24832 extract the TLS information.
24833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24836 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24839 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24840 (math_force_eval): Add powerpc version.
24843 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24845 (do_test): Likewise.
24846 * stdio-common/tst-printf.sh: Likewise.
24847 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24848 ifdef clause in order to set the carry bit right. Replace r0 by
24849 0 without changing the behavior.
24851 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24853 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24854 <libm-alias-ldouble.h>.
24855 (fabsl): Define using libm_alias_ldouble.
24856 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24857 <libm-alias-ldouble.h>.
24858 (fabsl): Define using libm_alias_ldouble.
24860 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24861 Remove conditional code.
24863 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24864 Rename to __clog10_internal_l.
24865 (__clog10_internal_l): Define aliases using
24866 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24869 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24871 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24872 * benchtests/sincosf-inputs: New file.
24873 * benchtests/cosf-inputs: New file.
24874 * benchtests/sinf-inputs: New file.
24876 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24878 * posix/tst-spawn.c (do_test): Wait for both children.
24880 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24883 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24884 tests-pie): Add tst-gmon-pie.
24885 (CFLAGS-tst-gmon-pie.c): New.
24886 (CRT-tst-gmon-pie): Likewise.
24887 (tst-gmon-pie-ENV): Likewise.
24888 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24889 ($(objpfx)tst-gmon-pie.out): Likewise.
24890 (clean-tst-gmon-pie-data): Likewise.
24891 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24892 * gmon/gmon.c [PIC]: Include <link.h>.
24893 [PIC] (callback): New function.
24894 (write_hist): Add an argument for load address. Subtract load
24896 (write_call_graph): Likewise.
24897 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24898 it to write_hist and write_call_graph.
24899 * gmon/tst-gmon-pie.c: New file.
24901 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24903 * math/Makefile (test-types-basic): New variable.
24904 (test-types): Likewise.
24905 (libm-test-support): Use $(test-types) instead of $(types).
24906 (libm-tests-base-normal): Likewise.
24907 (libm-tests-base-finite): Likewise.
24908 (libm-tests-base-inline): Likewise.
24909 (generated): Likewise.
24910 ($(objpfx)libm-test-support-$(t).c): Likewise.
24911 (libm-tests-for-type iterator): Likewise.
24912 (libm-test-support iterator): Likewise.
24913 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24914 (ulp_idx): Use ULP_IDX.
24915 * math/test-ldouble.h: Include <float.h>.
24916 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24917 (ULP_IDX): New macro.
24918 (ULP_I_IDX): Likewise.
24919 * math/test-double.h (ULP_IDX): Likewise.
24920 (ULP_I_IDX): Likewise.
24921 * math/test-float.h (ULP_IDX): Likewise.
24922 (ULP_I_IDX): Likewise.
24923 * math/test-float128.h (ULP_IDX): Likewise.
24924 (ULP_I_IDX): Likewise.
24926 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24928 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24930 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24931 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24932 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24933 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24934 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24937 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24938 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24942 (SINGLE_THREAD_BY_GLOBAL): Define.
24943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24945 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24947 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24949 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24951 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24952 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24956 2017-10-11 Andreas Schwab <schwab@suse.de>
24958 * nis/Makefile (aux): Remove.
24959 * nscd/Makefile (aux): Add nscd_hash.
24960 (nscd-modules): Likewise.
24961 ($(objpfx)nscd): Don't depend on libnsl.
24962 * nscd/nscd_hash.c: New file.
24963 * nscd/nscd_hash.h: Likewise.
24964 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24965 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24966 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24967 instead of <nis/rpcsvc/nis.h>.
24968 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24970 2017-10-11 Florian Weimer <fweimer@redhat.com>
24973 Avoid large NSS buffers with many addresses, aliases.
24974 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24975 using dynarrays and struct alloc_buffer.
24976 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24977 (tst-nss-files-hosts-multi): Link with -ldl.
24978 * nss/tst-nss-files-hosts-multi.c: New file.
24980 2017-10-11 Florian Weimer <fweimer@redhat.com>
24983 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24984 scratch_buffer. Eliminate gotos.
24986 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24988 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24989 libm_alias_ldouble_other.
24990 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24991 undefine and redefine.
24992 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24993 (exp10l): Do not define here.
24994 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24995 (weak_alias): Undefine and redefine.
24996 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24997 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24998 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24999 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25001 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25002 [!__fma] (fma): Define using libm_alias_double.
25003 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25004 [!__fmaf] (fmaf): Define using libm_alias_float.
25005 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25006 (fmal): Define using libm_alias_ldouble.
25008 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25010 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25012 (libm_alias_double_other): Likewise.
25013 (libm_alias_double_r): Use libm_alias_double_other_r.
25014 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25016 (libm_alias_float_other): Likewise.
25017 (libm_alias_float_r): Use libm_alias_float_other_r.
25018 * sysdeps/generic/libm-alias-float128.h
25019 (libm_alias_float128_other_r): New macro.
25020 (libm_alias_float128_other): Likewise.
25021 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25022 * sysdeps/generic/libm-alias-ldouble.h
25023 (libm_alias_ldouble_other_r): New macro.
25024 (libm_alias_ldouble_other): Likewise.
25025 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25026 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25027 (libm_alias_double_other_r): New macro.
25028 (libm_alias_double_other): Likewise.
25029 (libm_alias_double_r): Use libm_alias_double_other_r.
25030 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25031 (libm_alias_ldouble_other_r): New macro.
25032 (libm_alias_ldouble_other): Likewise.
25033 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25034 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25035 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25036 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25037 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25038 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25039 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25040 * math/w_exp2f.c: Use libm_alias_float_other.
25041 * math/w_expf.c: Likewise.
25042 * math/w_log2f.c: Likewise.
25043 * math/w_logf.c: Likewise.
25044 * math/w_powf.c: Likewise.
25045 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25046 [!__exp2f]: Use libm_alias_float_other.
25047 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25048 [!__expf]: Use libm_alias_float_other.
25049 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25050 [!__log2f]: Use libm_alias_float_other.
25051 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25052 [!__logf]: Use libm_alias_float_other.
25053 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25054 [!__powf]: Use libm_alias_float_other.
25056 2017-10-10 Florian Weimer <fweimer@redhat.com>
25058 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25060 (_nss_files_gethostbyname3_r): Call it.
25062 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25064 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25065 error. Remove default definition of declare_mgen_alias.
25066 [!declare_mgen_alias_r]: Likewise.
25067 * sysdeps/generic/math-type-macros-double.h
25068 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25069 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25070 (declare_mgen_alias_r): Likewise.
25071 * sysdeps/generic/math-type-macros-float128.h
25072 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25073 * sysdeps/generic/math-type-macros-ldouble.h
25074 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25075 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25077 (declare_mgen_alias_r_s): Likewise.
25078 (declare_mgen_alias_r): Likewise.
25079 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25080 (lgamma_r): Define using libm_alias_double_r.
25081 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25082 (lgammaf_r): Define using libm_alias_float_r.
25083 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25084 (lgammal_r): Define using libm_alias_ldouble_r.
25085 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25086 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25088 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25090 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25091 extern declaration.
25093 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25095 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25097 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25100 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25101 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25102 * math/Makefile (test-math-cxx11): New test.
25103 * math/test-math-cxx11.cc: New file.
25105 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25107 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25109 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25110 call to allocate the slave pty file descriptor.
25112 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25114 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25115 [!__fma] (fma): Define using libm_alias_double.
25116 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25117 [!__fma] (fma): Define using libm_alias_double.
25119 * sysdeps/ieee754/float128/float128_private.h: Include
25120 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25121 (libm_alias_ldouble_r): Undefine and redefine.
25122 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25123 <libm-alias-ldouble.h>.
25124 (asinhl): Define using libm_alias_ldouble.
25125 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25126 <libm-alias-ldouble.h>.
25127 (atanl): Define using libm_alias_ldouble.
25128 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25129 <libm-alias-ldouble.h>.
25130 (cbrtl): Define using libm_alias_ldouble.
25131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25132 <libm-alias-ldouble.h>.
25133 (ceill): Define using libm_alias_ldouble.
25134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25135 <libm-alias-ldouble.h>.
25136 (copysignl): Define using libm_alias_ldouble.
25137 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25138 <libm-alias-ldouble.h>.
25139 (cosl): Define using libm_alias_ldouble.
25140 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25141 <libm-alias-ldouble.h>.
25142 (erfl): Define using libm_alias_ldouble.
25144 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25145 <libm-alias-ldouble.h>.
25146 (expm1l): Define using libm_alias_ldouble.
25147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25148 <libm-alias-ldouble.h>.
25149 (fabsl): Define using libm_alias_ldouble.
25150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25151 <libm-alias-ldouble.h>.
25152 (floorl): Define using libm_alias_ldouble.
25153 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25154 <libm-alias-ldouble.h>.
25155 (fmal): Define using libm_alias_ldouble.
25156 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25157 <libm-alias-ldouble.h>.
25158 (frexpl): Define using libm_alias_ldouble.
25159 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25160 libm_alias_ldouble.
25161 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25162 <libm-alias-ldouble.h>.
25163 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25164 libm_alias_ldouble.
25165 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25166 <libm-alias-ldouble.h>.
25167 (getpayloadl): Define using libm_alias_ldouble.
25168 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25169 <libm-alias-ldouble.h>.
25170 (llrintl): Define using libm_alias_ldouble.
25171 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25172 <libm-alias-ldouble.h>.
25173 (llroundl): Define using libm_alias_ldouble.
25174 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25175 <libm-alias-ldouble.h>.
25176 (logbl): Define using libm_alias_ldouble.
25177 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25178 <libm-alias-ldouble.h>.
25179 (lrintl): Define using libm_alias_ldouble.
25180 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25181 <libm-alias-ldouble.h>.
25182 (lroundl): Define using libm_alias_ldouble.
25183 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25184 <libm-alias-ldouble.h>.
25185 (modfl): Define using libm_alias_ldouble.
25186 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25187 <libm-alias-ldouble.h>.
25188 (nearbyintl): Define using libm_alias_ldouble.
25189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25190 <libm-alias-ldouble.h>.
25191 (nextafterl): Define using libm_alias_ldouble.
25192 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25193 <libm-alias-ldouble.h>.
25194 (nextupl): Define using libm_alias_ldouble.
25195 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25196 <libm-alias-ldouble.h>.
25197 (remquol): Define using libm_alias_ldouble.
25198 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25199 <libm-alias-ldouble.h>.
25200 (rintl): Define using libm_alias_ldouble.
25201 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25202 <libm-alias-ldouble.h>.
25203 (roundevenl): Define using libm_alias_ldouble.
25204 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25205 <libm-alias-ldouble.h>.
25206 (roundl): Define using libm_alias_ldouble.
25207 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25208 using libm_alias_ldouble.
25209 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25210 <libm-alias-ldouble.h>.
25211 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25212 Define using libm_alias_ldouble.
25213 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25214 <libm-alias-ldouble.h>.
25215 (sincosl): Define using libm_alias_ldouble.
25216 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25217 <libm-alias-ldouble.h>.
25218 (sinl): Define using libm_alias_ldouble.
25219 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25220 <libm-alias-ldouble.h>.
25221 (tanhl): Define using libm_alias_ldouble.
25222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25223 <libm-alias-ldouble.h>.
25224 (tanl): Define using libm_alias_ldouble.
25225 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25226 <libm-alias-ldouble.h>.
25227 (totalorderl): Define using libm_alias_ldouble.
25228 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25229 <libm-alias-ldouble.h>.
25230 (totalordermagl): Define using libm_alias_ldouble.
25231 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25232 <libm-alias-ldouble.h>.
25233 (truncl): Define using libm_alias_ldouble.
25234 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25235 libm_alias_ldouble.
25236 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25237 libm_alias_ldouble.
25238 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25239 <libm-alias-ldouble.h>.
25240 (weak_alias): Do not undefine and redefine.
25241 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25242 (copysignl): Define with long_double_symbol only if [IS_IN
25244 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25245 <libm-alias-ldouble.h>.
25246 (weak_alias): Do not undefine and redefine.
25247 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25248 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25249 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25250 <libm-alias-ldouble.h>.
25251 (weak_alias): Do not undefine and redefine.
25252 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25253 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25254 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25255 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25258 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25261 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25264 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25271 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25274 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25279 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25282 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25283 (tcache_thread_freeres): Set tcache_shutting_down before
25284 freeing the tcache.
25285 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25286 * malloc/tst-malloc-tcache-leak.c: New file.
25288 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25291 back to powerpc32 file.
25292 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25293 (memrchr): Add __memrchr_power8 to ifunc list.
25294 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25295 extra bytes for unaligned inputs.
25297 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25299 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25300 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25301 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25303 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25305 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25307 * sysdeps/arm/libm-test-ulps: Update.
25309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25310 <libm-alias-ldouble.h>.
25311 (asinhl): Define using libm_alias_ldouble.
25312 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25313 <libm-alias-ldouble.h>.
25314 (cbrtl): Define using libm_alias_ldouble.
25315 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25316 <libm-alias-ldouble.h>.
25317 (copysignl): Define using libm_alias_ldouble.
25318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25319 <libm-alias-ldouble.h>.
25320 (cosl): Define using libm_alias_ldouble.
25321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25322 <libm-alias-ldouble.h>.
25323 (erfl): Define using libm_alias_ldouble.
25325 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25326 <libm-alias-ldouble.h>.
25327 (fmal): Define using libm_alias_ldouble.
25328 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25329 <libm-alias-ldouble.h>.
25330 (frexpl): Define using libm_alias_ldouble.
25331 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25332 libm_alias_ldouble.
25333 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25334 <libm-alias-ldouble.h>.
25335 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25336 libm_alias_ldouble.
25337 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25338 <libm-alias-ldouble.h>.
25339 (getpayloadl): Define using libm_alias_ldouble.
25340 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25341 <libm-alias-ldouble.h>.
25342 (llrintl): Define using libm_alias_ldouble.
25343 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25344 <libm-alias-ldouble.h>.
25345 (llroundl): Define using libm_alias_ldouble.
25346 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25347 <libm-alias-ldouble.h>.
25348 (lrintl): Define using libm_alias_ldouble.
25349 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25350 <libm-alias-ldouble.h>.
25351 (lroundl): Define using libm_alias_ldouble.
25352 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25353 <libm-alias-ldouble.h>.
25354 (modfl): Define using libm_alias_ldouble.
25355 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25356 <libm-alias-ldouble.h>.
25357 (nextupl): Define using libm_alias_ldouble.
25358 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25359 <libm-alias-ldouble.h>.
25360 (remquol): Define using libm_alias_ldouble.
25361 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25362 <libm-alias-ldouble.h>.
25363 (roundevenl): Define using libm_alias_ldouble.
25364 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25365 <libm-alias-ldouble.h>.
25366 (roundl): Define using libm_alias_ldouble.
25367 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25368 using libm_alias_ldouble.
25369 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25370 <libm-alias-ldouble.h>.
25371 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25372 <libm-alias-ldouble.h>.
25373 (setpayloadsigl): Define using libm_alias_ldouble.
25374 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25375 <libm-alias-ldouble.h>.
25376 (sincosl): Define using libm_alias_ldouble.
25377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25378 <libm-alias-ldouble.h>.
25379 (sinl): Define using libm_alias_ldouble.
25380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25381 <libm-alias-ldouble.h>.
25382 (tanhl): Define using libm_alias_ldouble.
25383 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25384 <libm-alias-ldouble.h>.
25385 (tanl): Define using libm_alias_ldouble.
25386 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25387 <libm-alias-ldouble.h>.
25388 (totalorderl): Define using libm_alias_ldouble.
25389 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25390 <libm-alias-ldouble.h>.
25391 (totalordermagl): Define using libm_alias_ldouble.
25392 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25393 libm_alias_ldouble.
25394 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25395 libm_alias_ldouble.
25397 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25399 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25401 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25402 (__libc_ifunc_impl_list): Likewise.
25403 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25404 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25406 * benchtests/bench-memmove-walk.c: New file.
25407 * benchtests/Makefile (string-benchset): Add it.
25409 * benchtests/bench-memset-walk.c: New file.
25410 * benchtests/Makefile (string-benchset): Add it.
25412 * benchtests/bench-memcpy-walk.c: New file.
25413 * benchtests/Makefile (string-benchset): Add it.
25415 2017-10-05 Florian Weimer <fweimer@redhat.com>
25417 nscd: Eliminate compilation time dependency in the build output.
25418 * nscd/nscd_stat.c (STATDATA_VERSION)
25419 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25420 (STATDATA_VERSION_FULL): New macro definitions.
25421 (compilation): Remove.
25422 (struct statdata): Adjust version member.
25423 (send_stats): Set version from STATDATA_VERSION_FULL.
25424 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25426 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25428 * configure.ac (--enable-add-ons): Remove option.
25429 (machine): Do not mention add-ons in comment.
25430 (LIBC_PRECONFIGURE): Likewise.
25431 (add_ons): Remove variable and sanity checks and logic to locate
25433 (add_ons_automatic): Remove variable.
25434 (configured_add_ons): Likewise.
25435 (add_ons_sfx): Likewise.
25436 (add_ons_pfx): Likewise.
25437 (add_on_subdirs): Likewise.
25438 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25439 consideration of add-ons in Implies handling.
25440 (sysdeps_add_ons): Likewise.
25441 * configure: Regenerated.
25442 * libidn/configure.ac: Remove.
25443 * libidn/configure: Likewise.
25444 * sysdeps/unix/inet/configure.ac: New file.
25445 * sysdeps/unix/inet/configure: New generated file.
25446 * sysdeps/unix/inet/Subdirs: Add libidn.
25447 * Makeconfig (sysdeps-srcdirs): Remove variable.
25448 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25449 ($(common-objpfx)config.status): Do not depend on add-on files.
25450 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25452 (all-subdirs): Do not include $(add-on-subdirs).
25453 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25454 * config.make.in (add-ons): Remove variable.
25455 (add-on-subdirs): Likewise.
25456 (sysdeps-add-ons): Likewise.
25457 * manual/Makefile (add-chapters): Remove.
25458 ($(objpfx)texis): Do not depend on $(add-chapters).
25459 (nonexamples): Do not handle $(add-chapters).
25460 (examples): Do not handle $(add-ons).
25461 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25463 * manual/install.texi (Installation): Do not mention add-ons.
25464 (--enable-add-ons): Do not document configure option.
25465 * INSTALL: Regenerated.
25466 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25467 * manual/maint.texi (Hierarchy Conventions): Do not mention
25469 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25471 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25473 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25474 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25476 2017-10-05 Andreas Schwab <schwab@suse.de>
25479 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25480 (_IO_flush_all_lockp): Always lock list_all_lock.
25481 (_IO_flush_all_linebuffered): Likewise.
25482 (_IO_unbuffer_all): Likewise.
25484 2017-10-05 Florian Weimer <fweimer@redhat.com>
25487 Do not flush stdio streams on abort.
25488 * stdlib/abort.c (fflush): Remove macro definition.
25489 (abort): Remove stages related to stdio flushing.
25491 2017-10-05 Florian Weimer <fweimer@redhat.com>
25493 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25495 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25497 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25499 2017-10-05 Florian Weimer <fweimer@redhat.com>
25501 * support/support_format_hostent.c (support_format_hostent): Add
25502 more error information for NETDB_INTERNAL.
25504 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25506 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25507 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25508 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25509 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25510 AC_DEFINE if multi-arch is enabled.
25511 * sysdeps/i386/configure: Regenerated.
25513 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25515 * Makeconfig (+link-static-before-libc): Use
25516 $(DEFAULT-LDFLAGS-$(@F)).
25517 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25518 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25519 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25521 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25523 * elf/Makefile (tests): Add tst-main1.
25524 (modules-names): Add tst-main1mod.
25525 ($(objpfx)tst-main1): New.
25526 (CRT-tst-main1): Likewise.
25527 (LDFLAGS-tst-main1): Likewise.
25528 (LDLIBS-tst-main1): Likewise.
25529 (tst-main1mod.so-no-z-defs): Likewise.
25530 * elf/tst-main1.c: New file.
25531 * elf/tst-main1mod.c: Likewise.
25533 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25535 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25537 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25539 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25540 (fma): Define using libm_alias_double.
25541 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25542 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25544 (fmal): Do not define as compat symbol here.
25545 * sysdeps/alpha/fpu/s_fma.c: New file.
25547 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25549 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25551 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25556 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25558 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25559 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25560 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25561 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25563 Include <math_ldbl_opt.h>
25564 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25566 (compat_symbol): Undefine and redefine.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25569 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25570 (compat_symbol): Undefine and redefine.
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25572 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25573 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25574 GLIBC_2_1 for libm.
25575 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25576 GLIBC_2.0 copysignl symbol.
25577 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25578 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25580 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25582 2017-10-04 Florian Weimer <fweimer@redhat.com>
25584 * scripts/check-local-headers.sh: Ignore nspr4 header file
25585 directory in addition to nspr.
25587 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25590 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25591 * configure: Regenerate.
25592 * crypt/Makefile (nss-cpp-flags): New variable.
25593 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25594 (CPPFLAGS-md5-crypt.c): Use it.
25595 * scripts/check-local-headers.sh: Ignore nspr header file
25598 2017-10-04 Andreas Schwab <schwab@suse.de>
25600 * nis/Makefile (services): Remove compat.
25601 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25602 ($(objpfx)libnss_compat.so): Remove rule.
25603 * nis/Versions (libnss_compat): Remove.
25604 * nss/Makefile (services): Add compat.
25605 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25606 * nss/Versions (libnss_compat): Define.
25607 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25608 Don't include <rpc/types.h>. Replace bool_t by bool.
25609 * nss/nss_compat/compat-initgroups.c: Likewise.
25610 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25611 instead of <rpcsrv/ypclnt.h>.
25612 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25613 yp_get_default_domain.
25614 * nss/nss_compat/compat-pwd.c: Likewise.
25615 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25616 yp_get_default_domain.
25617 * nss/nss_compat/nisdomain.c: New file.
25618 * nss/nss_compat/nisdomain.h: Likewise.
25620 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25623 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25624 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25626 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25632 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25635 "movl main@GOTOFF(%ebx), %eax".
25637 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25639 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25640 allow undefined _DYNAMIC in PIE libc.a.
25641 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25644 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25646 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25649 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25651 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25654 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25656 * math/test-math-iscanonical.cc (error): Replace bool with int.
25658 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25660 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25661 (modf): Define using libm_alias_double, only if [!__modf].
25662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25663 <libm-alias-double.h>.
25664 (modf): Define using libm_alias_double, only if [!__modf].
25665 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25666 compat symbol here.
25667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25668 (weak_alias): Do not undefine and redefine.
25669 (strong_alias): Likewise.
25670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25671 (weak_alias): Likewise.
25672 (strong_alias): Likewise.
25674 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25675 (logb): Define using libm_alias_double, only if [!__logb].
25676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25677 <libm-alias-double.h>.
25678 (logb): Define using libm_alias_double, only if [!__logb].
25679 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25681 (weak_alias): Do not undefine and redefine.
25682 (strong_alias): Likewise.
25683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25684 (weak_alias): Likewise.
25685 (strong_alias): Likewise.
25687 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25689 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25690 Check SHARED instead PIC.
25692 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25694 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25695 [!__fmaf] (fmaf): Define using libm_alias_float.
25697 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25698 (frexp): Define using libm_alias_double.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25700 <libm-alias-double.h>.
25701 (frexp): Define using libm_alias_double.
25702 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25703 compat symbol here.
25705 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25708 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25709 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25710 (CFLAGS-test-math-iscanonical.cc): New variable.
25711 * math/test-math-iscanonical.cc: New file.
25712 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25713 Provide a C++ implementation based on function overloading,
25714 rather than using __MATH_TG, which uses C-only builtins.
25715 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25717 * sysdeps/powerpc/powerpc64le/Makefile
25718 (CFLAGS-test-math-iscanonical.cc): New variable.
25720 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25722 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25723 (ceil): Define using libm_alias_double.
25724 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25725 (floor): Define using libm_alias_double.
25726 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25727 <libm-alias-double.h>.
25728 (llround): Define using libm_alias_double.
25729 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25730 <libm-alias-double.h>.
25731 (lround): Define using libm_alias_double.
25732 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25733 <libm-alias-double.h>.
25734 (nearbyint): Define using libm_alias_double.
25735 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25736 <libm-alias-double.h>.
25737 (remquo): Define using libm_alias_double.
25738 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25739 (rint): Define using libm_alias_double.
25740 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25741 (round): Define using libm_alias_double.
25742 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25743 (trunc): Define using libm_alias_double.
25744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25745 <libm-alias-double.h>.
25746 (ceil): Define using libm_alias_double.
25747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25748 <libm-alias-double.h>.
25749 (floor): Define using libm_alias_double.
25750 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25751 <libm-alias-double.h>.
25752 (llround): Define using libm_alias_double.
25753 [_LP64] (lround): Likewise.
25754 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25755 <libm-alias-double.h>.
25756 [!_LP64] (lround): Define using libm_alias_double.
25757 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25758 <libm-alias-double.h>.
25759 (nearbyint): Define using libm_alias_double.
25760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25761 <libm-alias-double.h>.
25762 (remquo): Define using libm_alias_double.
25763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25764 <libm-alias-double.h>.
25765 (rint): Define using libm_alias_double.
25766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25767 <libm-alias-double.h>.
25768 (round): Define using libm_alias_double.
25769 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25770 <libm-alias-double.h>.
25771 (trunc): Define using libm_alias_double.
25772 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25773 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25774 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25775 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25776 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25777 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25778 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25779 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25780 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25782 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25784 * math/w_remainder.c: New file.
25785 * math/w_remainderf.c: New file.
25786 * math/w_remainderl.c: New file.
25788 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25790 * elf/rtld.c (BOOTSTRAP_MAP): New.
25791 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25792 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25794 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25796 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25799 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25801 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25802 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25803 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25804 rtld_hidden_data_ver): Define to empty.
25805 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25806 __assert_perror_fail): Likewise.
25807 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25808 (__rewinddir): Likewise.
25809 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25810 (__profile_frequency): Likewise.
25811 * include/setjmp.h (__sigsetjmp): Likewise.
25812 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25813 __libc_sigaction): Likewise.
25814 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25815 not set hidden attribute.
25816 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25817 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25818 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25819 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25820 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25821 __fxstatat64): Likewise.
25822 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25823 (__uname): Likewise.
25824 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25825 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25826 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25827 (NO_RTLD_HIDDEN): Set.
25828 * sysdeps/mach/hurd/configure: Refresh.
25829 * config.h.in: Refresh.
25831 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25833 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25834 (atan): Define using libm_alias_double.
25835 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25836 (tan): Define using libm_alias_double.
25837 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25838 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25841 define as weak alias of __atan. Do not define any aliases if
25843 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25844 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25846 as weak alias of __tan. Do not define any aliases if [__tan].
25847 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25848 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25849 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25851 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25852 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25853 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25854 and define as weak alias of __atan.
25855 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25859 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25860 define as weak alias of __tan.
25862 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25864 * math/w_lgamma.c: New file.
25865 * math/w_lgammaf.c: New file.
25866 * math/w_lgammal.c: New file.
25868 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25870 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25871 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25872 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25873 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25874 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25875 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25876 * sysdeps/i386/fpu/w_log2f.c: New file.
25877 * sysdeps/i386/fpu/w_logf.c: New file.
25878 * sysdeps/i386/fpu/w_powf.c: New file.
25879 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25880 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25881 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25883 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25884 H.J. Lu <hongjiu.lu@intel.com>
25886 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25887 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25888 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25889 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25892 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25893 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25894 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25895 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25896 * sysdeps/i386/fpu/w_exp2f.c: New file.
25897 * sysdeps/i386/fpu/w_expf.c: New file.
25898 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25899 * sysdeps/x86_64/fpu/w_expf.c: New file.
25901 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25903 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25906 * math/w_log2f.c: New file.
25907 * math/w_logf.c: New file.
25908 * math/w_powf.c: New file.
25909 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25910 * math/w_logf_compat.c (__logf_compat): Likewise.
25911 * math/w_powf_compat.c (__powf_compat): Likewise.
25912 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25913 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25914 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25915 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25916 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25917 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25918 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25919 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25920 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25921 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25922 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25923 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25924 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25925 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25926 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25935 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25936 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25937 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25938 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25939 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25944 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25945 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25946 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25948 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25950 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25951 (sysdep_routines): Add memrchr_power8.
25952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25953 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25954 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25956 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25957 (memrchr): Add __memrchr_power8 to ifunc list.
25958 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25963 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25964 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25966 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25967 (__posix_fallocate64_l64): Likewise.
25969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25972 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25973 (__sched_setaffinity_new): Add libc_hidden_proto and
25976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25979 * include/glob.h (__glob64): Add libc_hidden_proto.
25980 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25986 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25992 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25997 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26003 * csu/version.c (__libc_print_version): Add attribute_hidden.
26005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26008 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26013 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26018 * nscd/nscd_helper.c (__nis_hash): New prototype.
26020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26023 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26024 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26026 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26027 * termios/tcgetattr.c (__tcgetattr): Likewise.
26029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26032 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26033 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26034 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26035 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26036 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26041 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26046 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26047 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26052 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26057 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26058 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26063 * include/ifreq.h: New file.
26064 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26065 (__ifreq): Likewise.
26066 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26067 (__ifreq): Likewise.
26069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26072 * include/idna.h: New file.
26073 * inet/getnameinfo.c: Include <idna.h> instead of
26075 (__idna_to_unicode_lzlz): Removed.
26076 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26078 (__idna_to_ascii_lz): Removed.
26079 (__idna_to_unicode_lzlz): Likewise.
26081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26084 * include/plural-exp.h: New file.
26085 * intl/plural-exp.c: Include <plural-exp.h> instead of
26088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26091 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26092 "getsourcefilter.h".
26093 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26094 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26095 "getsourcefilter.h".
26096 (__get_sol): Removed.
26098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26101 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26103 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26108 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26114 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26116 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26119 * include/search.h (__tdestroy): Add libc_hidden_proto.
26120 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26125 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26130 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26136 * include/signal.h (__kill): Add libc_hidden_proto.
26137 (__sigblock): Likewise.
26138 (__sigprocmask): Likewise.
26139 (__sigaltstack): Likewise.
26140 * signal/kill.c (__kill): Add libc_hidden_def.
26141 * signal/sigblock.c (__sigblock): Likewise.
26142 * signal/sigprocmask.c (__sigprocmask): Likewise.
26143 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26144 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26145 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26146 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26147 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26149 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26151 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26152 (__sigprocmask): Likewise.
26153 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26155 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26156 (__sigprocmask): Likewise.
26157 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26163 * include/string.h (__strsep): Add libc_hidden_proto.
26164 * string/strsep.c (__strsep): Add libc_hidden_def.
26166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26169 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26171 (__spawni): Likewise.
26173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26176 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26177 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26183 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26188 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26189 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26190 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26191 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26192 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26194 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26195 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26200 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26201 (__dcigettext): Likewise.
26203 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26206 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26208 (__get_nprocs): Likewise.
26209 (__get_phys_pages): Likewise.
26210 (__get_avphys_pages): Likewise.
26211 (__get_child_max): Add attribute_hidden.
26212 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26213 (__get_nprocs): Likewise.
26214 (__get_phys_pages): Likewise.
26215 (__get_avphys_pages): Likewise.
26216 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26218 (__get_nprocs): Likewise.
26219 (__get_phys_pages): Likewise.
26220 (__get_avphys_pages): Likewise.
26221 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26223 (__get_nprocs_conf): Likewise.
26224 (__get_phys_pages): Likewise.
26225 (__get_avphys_pages): Likewise.
26227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26230 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26232 (__netlink_close): Likewise.
26233 (__netlink_free_handle): Likewise.
26234 (__netlink_request): Likewise.
26236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26239 * include/rpc/rpc.h (__rpc_thread_variables): Add
26241 (__rpc_thread_svc_cleanup): Likewise.
26242 (__rpc_thread_clnt_cleanup): Likewise.
26243 (__rpc_thread_key_cleanup): Likewise.
26245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26248 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26249 (__writev): Likewise.
26250 * misc/readv.c (__readv): Add libc_hidden_def.
26251 * misc/writev.c (__writev): Likewise.
26252 * sysdeps/posix/readv.c (__readv): Likewise.
26253 * sysdeps/posix/writev.c (__writev): Likewise.
26254 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26255 (__readv): Likewise.
26256 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26257 (__writev): Likewise.
26259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26262 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26263 (__regcomp): Add libc_hidden_proto.
26264 (__regexec): Likewise.
26265 (__regfree): Likewise.
26266 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26267 (__regfree): Likewise.
26268 * posix/regexec.c (__regexec): Likewise.
26270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26273 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26274 (__getutent): Likewise.
26275 (__getutid): Likewise.
26276 (__getutline): Likewise.
26277 (__pututline): Likewise.
26278 (__getutent_r): Likewise.
26279 (__getutid_r): Likewise.
26280 (__getutline_r): Likewise.
26281 (__utmpname): Add attribute_hidden.
26282 (__setutent): Likewise.
26283 (__endutent): Likewise.
26284 * login/getutent.c (__getutent): Add libc_hidden_def.
26285 * login/getutent_r.c (__getutent_r): Likewise.
26286 (__pututline): Likewise.
26287 * login/getutid.c (__getutid): Likewise.
26288 * login/getutid_r.c (__getutid_r): Likewise.
26289 * login/getutline.c (__getutline): Likewise.
26290 * login/getutline_r.c (__getutline_r): Likewise.
26291 * login/updwtmp.c (__updwtmp): Likewise.
26293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26296 * include/dirent.h (__opendir): Always add attribute_hidden.
26297 (__fdopendir): Likewise.
26298 (__closedir): Likewise.
26299 (__readdir): Likewise.
26300 (__readdir64): Add libc_hidden_proto.
26301 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26302 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26303 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26304 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26310 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26311 * include/netdb.h (__gethostbyaddr_r): Likewise.
26312 (__gethostbyname_r): Likewise.
26313 (__gethostbyname2_r): Likewise.
26314 (__getnetbyaddr_r): Likewise.
26315 (__getnetbyname_r): Likewise.
26316 (__getservbyname_r): Likewise.
26317 (__getservbyport_r): Likewise.
26318 (__getprotobyname_r): Likewise.
26319 (__getprotobynumber_r): Likewise.
26320 (__getnetgrent_r): Likewise.
26321 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26322 (__getrpcbynumber_r): Likewise.
26323 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26328 * include/stdio.h (__fcloseall): Add attribute_hidden.
26329 (__getline): Likewise.
26330 (__path_search): Likewise.
26331 (__gen_tempname): Likewise.
26332 (__libc_message): Likewise.
26333 (__flockfile): Likewise.
26334 (__funlockfile): Likewise.
26335 (__fxprintf): Likewise.
26336 (__fxprintf_nocancel): Likewise.
26338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26341 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26342 (__sgetsgent_r): Likewise.
26344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26347 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26348 (__statfs64): Likewise.
26349 (__fstatfs64): Likewise.
26350 * include/sys/statvfs.h (__statvfs64): Likewise.
26351 (__fstatvfs64): Likewise.
26352 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26353 (__statfs_filesize_max): Likewise.
26354 (__statfs_symlinks): Likewise.
26355 (__statfs_chown_restricted): Likewise.
26357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26360 * include/time.h (__tzstring): Add attribute_hidden.
26361 (__tzfile_read): Likewise.
26362 (__tzfile_compute): Likewise.
26363 (__tzfile_default): Likewise.
26364 (__tzset_parse_tz): Likewise.
26365 (__offtime): Likewise.
26366 (__asctime_r): Likewise.
26367 (__tzset): Likewise.
26368 (__tz_convert): Likewise.
26369 (__getdate_r): Likewise.
26370 (__getclktck): Likewise.
26372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26375 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26376 (__nscd_unmap): Likewise.
26377 (__nscd_cache_search): Likewise.
26378 (__nscd_get_nl_timestamp): Likewise.
26379 (__nscd_getpwnam_r): Likewise.
26380 (__nscd_getpwuid_r): Likewise.
26381 (__nscd_getgrnam_r): Likewise.
26382 (__nscd_getgrgid_r): Likewise.
26383 (__nscd_gethostbyname_r): Likewise.
26384 (__nscd_gethostbyname2_r): Likewise.
26385 (__nscd_gethostbyaddr_r): Likewise.
26386 (__nscd_getai): Likewise.
26387 (__nscd_getgrouplist): Likewise.
26388 (__nscd_getservbyname_r): Likewise.
26389 (__nscd_getservbyport_r): Likewise.
26390 (__nscd_innetgr): Likewise.
26391 (__nscd_setnetgrent): Likewise.
26393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26396 * include/gmp.h: Declare internal functions only if _ISOMAC is
26398 (__mpn_extract_double): Add attribute_hidden.
26399 (__mpn_extract_long_double): Likewise.
26400 (__mpn_extract_float128): Likewise.
26401 (__mpn_construct_float): Likewise.
26402 (__mpn_construct_double): Likewise.
26403 (__mpn_construct_long_double): Likewise.
26404 (__mpn_construct_float128): Likewise.
26405 (mpn_add_1): Likewise.
26406 (mpn_addmul_1): Likewise.
26407 (mpn_add_n): Likewise.
26408 (mpn_cmp): Likewise.
26409 (mpn_divrem): Likewise.
26410 (mpn_lshift): Likewise.
26411 (mpn_mul): Likewise.
26412 (mpn_mul_1): Likewise.
26413 (mpn_rshift): Likewise.
26414 (mpn_sub_1): Likewise.
26415 (mpn_submul_1): Likewise.
26416 (mpn_sub_n): Likewise.
26418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26421 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26422 (__wcscat): Likewise.
26423 (__btowc): Likewise.
26424 (__wcrtomb): Likewise.
26425 (__mbsrtowcs): Likewise.
26426 (__wcsrtombs): Likewise.
26427 (__mbsnrtowcs): Likewise.
26428 (__wcsnrtombs): Likewise.
26429 (__wcsncpy): Likewise.
26430 (__wcpncpy): Likewise.
26431 (__wmemcpy): Likewise.
26432 (__wmempcpy): Likewise.
26433 (__wmemmove): Likewise.
26434 (__wcschrnul): Likewise.
26435 (__vfwscanf): Likewise.
26436 (__vswprintf): Likewise.
26437 (__fwprintf): Likewise.
26438 (__vfwprintf): Likewise.
26440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26443 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26444 (__getgrgid_r): Likewise.
26445 (__getgrnam_r): Likewise.
26446 * include/pwd.h (__getpwuid_r): Likewise.
26447 (__getpwnam_r): Likewise.
26448 (__fgetpwent_r): Likewise.
26449 * include/shadow.h (__getspnam_r): Likewise.
26450 (__sgetspent_r): Likewise.
26451 (__fgetspent_r): Likewise.
26453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26456 * include/unistd.h (__access): Add attribute_hidden.
26457 (__lseek64): Likewise.
26458 (__libc_pread64): Likewise.
26459 (__pipe2): Likewise.
26460 (__sleep): Likewise.
26461 (__chdir): Likewise.
26462 (__fchdir): Likewise.
26463 (__getcwd): Likewise.
26464 (__rmdir): Likewise.
26465 (__execvpe): Likewise.
26466 (__execve): Likewise.
26467 (__setsid): Likewise.
26468 (__getuid): Likewise.
26469 (__geteuid): Likewise.
26470 (__getgid): Likewise.
26471 (__getegid): Likewise.
26472 (__getgroups): Likewise.
26473 (__group_member): Likewise.
26474 (__ttyname_r): Likewise.
26475 (__isatty): Likewise.
26476 (__readlink): Likewise.
26477 (__unlink): Likewise.
26478 (__gethostname): Likewise.
26479 (__profil): Likewise.
26480 (__getdtablesize): Likewise.
26482 (__ftruncate): Likewise.
26483 (__ftruncate64): Likewise.
26485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26488 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26489 * argp/argp-fs-xinl.c: Likewise.
26490 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26491 * argp/argp-parse.c: Include <argp.h>.
26492 * argp/argp-xinl.c: Likewise.
26493 * include/argp-fmtstream.h: New file.
26494 * include/argp.h (__argp_error): Add attribute_hidden.
26495 (__argp_failure): Likewise.
26496 (__argp_input): Likewise.
26497 (__argp_state_help): Likewise.
26499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26502 * include/wchar.h (____wcstof_l_internal): New prototype.
26503 (____wcstod_l_internal): Likewise.
26504 (____wcstold_l_internal): Likewise.
26505 (____wcstol_l_internal): Likewise.
26506 (____wcstoul_l_internal): Likewise.
26507 (____wcstoll_l_internal): Likewise.
26508 (____wcstoull_l_internal): Likewise.
26509 (____wcstof128_l_internal): Likewise.
26510 * sysdeps/ieee754/float128/wcstof128.c
26511 (____wcstof128_l_internal): Removed.
26512 * sysdeps/ieee754/float128/wcstof128_l.c
26513 (____wcstof128_l_internal): Likewise.
26514 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26515 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26516 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26517 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26518 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26519 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26520 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26521 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26522 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26523 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26528 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26529 instead of <sys/statvfs.h>.
26530 (__internal_statvfs): Removed.
26531 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26532 instead of <sys/statvfs.h>.
26533 (__internal_statvfs64): Removed.
26534 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26535 "internal_statvfs.h" instead of <sys/statvfs.h>.
26536 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26537 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26538 instead of <sys/statvfs.h>.
26539 (__internal_statvfs): Removed.
26540 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26541 instead of <sys/statvfs.h>.
26542 (__internal_statvfs64): Removed.
26544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26547 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26548 (__gconv_close): Likewise.
26549 (__gconv): Likewise.
26550 (__gconv_find_transform): Likewise.
26551 (__gconv_lookup_cache): Likewise.
26552 (__gconv_compare_alias_cache): Likewise.
26553 (__gconv_load_cache): Likewise.
26554 (__gconv_get_path): Likewise.
26555 (__gconv_close_transform): Likewise.
26556 (__gconv_release_cache): Likewise.
26557 (__gconv_find_shlib): Likewise.
26558 (__gconv_release_shlib): Likewise.
26559 (__gconv_get_builtin_trans): Likewise.
26560 (__gconv_compare_alias): Likewise.
26561 * include/dlfcn.h (_dlerror_run): Likewise.
26562 * include/stdio.h (__fortify_fail_abort): Likewise.
26563 * include/time.h (__tz_compute): Likewise.
26564 (__strptime_internal): Likewise.
26565 * intl/gettextP.h (_nl_find_domain): Likewise.
26566 (_nl_load_domain): Likewise.
26567 (_nl_find_msg): Likewise.
26568 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26569 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26570 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26571 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26572 (__gai_find_request): Likewise.
26573 (__gai_remove_request): Likewise.
26574 (__gai_notify): Likewise.
26575 (__gai_notify_only): Likewise.
26576 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26577 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26578 (_dl_non_dynamic_init): Likewise.
26579 (_dl_aux_init): Likewise.
26580 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26581 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26583 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26584 (__wcsmbs_clone_conv): Likewise.
26585 (__wcsmbs_named_conv): Likewise.
26587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26590 * include/stdlib.h (__random): Add attribute_hidden.
26591 (__random_r): Likewise.
26592 (__srandom_r): Likewise.
26593 (__initstate_r): Likewise.
26594 (__setstate_r): Likewise.
26595 (__erand48_r): Likewise.
26596 (__nrand48_r): Likewise.
26597 (__jrand48_r): Likewise.
26598 (__srand48_r): Likewise.
26599 (__seed48_r): Likewise.
26600 (__lcong48_r): Likewise.
26601 (__drand48_iterate): Likewise.
26602 (__setenv): Likewise.
26603 (__unsetenv): Likewise.
26604 (__clearenv): Likewise.
26605 (__ptsname_r): Likewise.
26606 (__posix_openpt): Likewise.
26607 (__add_to_environ): Likewise.
26608 (__realpath): Add libc_hidden_proto.
26609 (__ecvt_r): Likewise.
26610 (__fcvt_r): Likewise.
26611 (__qecvt_r): Likewise.
26612 (__qfcvt_r): Likewise.
26613 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26614 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26619 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26620 * include/time.h (__mktime_internal): Likewise.
26621 * libio/iolibio.h (__fopen_internal): Likewise.
26623 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26625 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26627 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26628 Correct offset used to restore PIC register.
26630 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26633 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26634 code to load address of __getcontext_ret when generating PIC code.
26636 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26638 * elf/Makefile (tests-static-internal): Add
26639 tst-tls1-static-non-pie.
26640 (LDFLAGS-tst-tls1-static-non-pie): New.
26641 * elf/tst-tls1-static-non-pie.c: New file.
26643 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26645 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26646 (asinh): Define using libm_alias_double.
26647 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26648 (cbrt): Define using libm_alias_double.
26649 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26650 <libm-alias-double.h>.
26651 (copysign): Define using libm_alias_double.
26652 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26653 (erf): Define using libm_alias_double.
26655 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26656 (expm1): Define using libm_alias_double.
26657 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26658 (fabs): Define using libm_alias_double.
26659 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26661 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26662 <libm-alias-double.h>.
26663 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26665 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26666 <libm-alias-double.h>.
26667 (getpayload): Define using libm_alias_double.
26668 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26669 <libm-alias-double.h>.
26670 (llrint): Define using libm_alias_double.
26671 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26672 (lrint): Define using libm_alias_double.
26673 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26674 <libm-alias-double.h>.
26675 (nextup): Define using libm_alias_double.
26676 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26677 <libm-alias-double.h>.
26678 (roundeven): Define using libm_alias_double.
26679 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26681 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26682 <libm-alias-double.h>.
26683 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26684 using libm_alias_double.
26685 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26686 (cos): Define using libm_alias_double.
26688 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26689 <libm-alias-double.h>.
26690 (sincos): Define using libm_alias_double.
26691 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26692 (tanh): Define using libm_alias_double.
26693 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26694 <libm-alias-double.h>.
26695 (totalorder): Define using libm_alias_double.
26696 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26697 <libm-alias-double.h>.
26698 (totalordermag): Define using libm_alias_double.
26699 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26701 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26703 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26704 <libm-alias-double.h>.
26705 (getpayload): Define using libm_alias_double.
26706 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26707 <libm-alias-double.h>.
26708 (roundeven): Define using libm_alias_double.
26709 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26710 <libm-alias-double.h>.
26711 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26712 <libm-alias-double.h>.
26713 (totalorder): Define using libm_alias_double.
26714 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26715 <libm-alias-double.h>.
26716 (totalordermag): Define using libm_alias_double.
26717 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26718 libc compat symbol here.
26719 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26720 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26721 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26722 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26723 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26724 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26725 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26726 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26727 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26728 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26730 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26732 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26733 _dl_relocate_static_pie instead of _dl_start to compute load
26734 address in static PIE. Return 0 if _DYNAMIC is undefined for
26737 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26739 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26740 _DYNAMIC is undefined for static executable.
26742 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26744 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26746 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26750 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26752 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26753 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26754 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26755 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26756 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26757 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26758 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26759 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26761 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26762 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26763 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26764 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26765 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26768 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26770 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26772 * math/bits/cmathcalls.h (cimag): Remove inline.
26773 (creal): Remove inline.
26774 (conj): Remove inline.
26776 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26778 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26779 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26780 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26781 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26782 (issignalingf_inline): Likewise.
26783 (POWF_LOG2_TABLE_BITS): Likewise.
26784 (POWF_LOG2_POLY_ORDER): Likewise.
26785 (POWF_SCALE_BITS): Likewise.
26786 (POWF_SCALE): Likewise.
26787 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26788 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26789 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26791 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26793 * math/Makefile (type-float-routines): Add e_log2f_data.
26794 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26795 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26796 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26797 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26798 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26799 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26800 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26802 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26804 * math/Makefile (type-float-routines): Add e_logf_data.
26805 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26806 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26807 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26808 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26809 * sysdeps/i386/fpu/e_logf_data.c: New file.
26810 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26811 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26813 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26815 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26816 undefined _DYNAMIC in PIE libc.a.
26817 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26820 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26822 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26823 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26824 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26825 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26826 (__signbit): Remove.
26827 (__signbitl): Remove.
26828 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26829 (__signbit): Remove.
26830 (__signbitl): Remove.
26831 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26832 (__signbit): Remove.
26833 (__signbitl): Remove.
26834 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26835 (__signbit): Remove.
26836 (__signbitl): Remove.
26837 * sysdeps/tile/bits/mathinline.h: Delete file.
26838 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26839 (__signbit): Remove.
26840 (__signbitl): Remove.
26842 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26844 * math/math.h: Improve handling of C99 isgreater macros.
26845 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26846 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26847 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26848 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26849 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26851 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26853 * sysdeps/aarch64/libm-test-ulps: Update.
26855 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26859 math_opt_barrier on argument when doing arithmetic on it.
26860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26861 Likewise. Use math_force_eval not math_opt_barrier after
26863 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26864 math_opt_barrier on argument when doing arithmetic on it.
26865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26868 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26870 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26872 (__freeifaddrs): Likewise.
26874 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26876 * include/dirent.h (__dirfd): New declaration.
26877 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26879 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26880 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26881 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26882 * include/unistd.h (__revoke): New declaration.
26883 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26885 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26886 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26888 * include/dirent.h (__seekdir): New declaration.
26889 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26890 redefine as weak alias.
26891 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26893 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26894 and use libc_hidden_def on them.
26895 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26897 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26898 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26899 instead of getifaddrs and freeifaddrs.
26901 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26904 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26905 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26906 (__dso_handle): Remove declaration.
26907 * dlfcn/tstatexit.c (__dso_handle): Removed.
26908 (main): Don't check __dso_handle.
26909 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26910 (main): Don't check __dso_handle.
26911 * include/dso_handle.h: New file.
26912 * malloc/mtrace.c: Include <dso_handle.h>.
26913 (mtrace): Pass __dso_handle directly.
26914 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26915 (__dso_handle): Remove declaration.
26916 (__pthread_atfork): Pass __dso_handle directly.
26917 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26918 (__dso_handle): Removed.
26919 * posix/wordexp-test.c: Include <dso_handle.h>.
26920 (__dso_handle): Remove declaration.
26921 (__app_register_atfork): Pass __dso_handle directly.
26922 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26923 (__dso_handle): Remove declaration.
26924 (at_quick_exit): Pass __dso_handle directly.
26925 * stdlib/atexit.c: Include <dso_handle.h>.
26926 (__dso_handle): Remove declaration.
26927 (atexit): Pass __dso_handle directly.
26928 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26929 (__dso_handle): Removed.
26931 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26933 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26936 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26938 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26939 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26940 values to correct default value for given type.
26942 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26945 * elf/Makefile (tests): Add tst-debug1.
26946 ($(objpfx)tst-debug1): New.
26947 ($(objpfx)tst-debug1.out): Likewise.
26948 ($(objpfx)tst-debug1mod1.so): Likewise.
26949 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26950 with p_filesz == 0.
26951 * elf/tst-debug1.c: New file.
26953 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26955 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26956 Define using __ifunc.
26958 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26960 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26963 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26966 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26968 2017-09-26 Florian Weimer <fweimer@redhat.com>
26970 * resolv/Makefile (tests-internal): Fix typo in comment.
26972 2017-09-26 Florian Weimer <fweimer@redhat.com>
26974 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26976 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26978 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26979 Use an union instead of a max_align_t array for __space,
26980 so that __space is the same size on all platforms.
26981 * malloc/scratch_buffer_grow_preserve.c
26982 (__libc_scratch_buffer_grow_preserve): Likewise.
26985 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26987 * posix/Makefile (routines): Add glob-lstat-compat and
26988 glob64-lstat-compat.
26989 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26990 * posix/glob-lstat-compat.c: New file.
26991 * posix/glob64-lstat-compat.c: Likewise.
26992 * posix/tst-glob_lstat_compat.c: Likewise.
26993 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26994 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26995 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26996 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26998 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26999 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27000 * posix/glob.c (glob_lstat): New function.
27001 (glob): Rename to __glob and add versioned symbol to 2.27.
27002 (glob_in_dir): Use glob_lstat.
27003 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27004 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27005 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27007 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27008 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27009 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27010 gl_lstat on glob call.
27011 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27012 and glob64 symbols.
27013 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27014 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27015 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27016 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27017 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27018 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27019 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27020 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27021 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27022 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27023 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27024 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27027 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27029 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27030 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27031 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27033 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27036 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27037 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27038 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27040 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27042 * configure.ac (AS): Require binutils 2.25 or later.
27043 * configure: Regenerated.
27045 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27048 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27051 2017-09-25 DJ Delorie <dj@redhat.com>
27054 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27057 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27059 * sysdeps/ieee754/dbl-64/sincos32.h
27060 [SINCCOS32_H]: Remove define.
27061 [SINCOS32_H]: Define.
27063 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27065 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27067 * math/w_exp2f.c: New file.
27068 * math/w_expf.c: New file.
27069 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27070 * math/w_expf_compat.c (__expf_compat): Likewise.
27071 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27072 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27073 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27074 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27075 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27076 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27077 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27078 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27079 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27080 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27081 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27082 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27083 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27084 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27093 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27094 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27095 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27102 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27103 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27104 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27106 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27108 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27109 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27110 (roundtoint, converttoint): Likewise.
27111 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27112 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27113 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27114 * sysdeps/ieee754/flt-32/math_config.h: New file.
27115 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27116 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27117 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27118 * sysdeps/i386/fpu/math_errf.c: New file.
27119 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27120 * sysdeps/ia64/fpu/math_errf.c: New file.
27121 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27122 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27124 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27126 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27127 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27128 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27129 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27130 to make sure that these symbols are defined.
27131 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27133 (__need_NULL): Do not define.
27134 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27136 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27137 CMGROUP_MAX, cmsgcred): Do not define.
27138 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27140 * bits/socket.h: Likewise.
27141 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27142 __gettimeofday instead of gettimeofday.
27143 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27144 instead of settimeofday.
27146 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27148 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27149 (asinhf): Define using libm_alias_float.
27150 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27151 (atanf): Define using libm_alias_float.
27152 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27153 (cbrtf): Define using libm_alias_float.
27154 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27155 (ceilf): Define using libm_alias_float.
27156 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27157 <libm-alias-float.h>.
27158 (copysignf): Define using libm_alias_float.
27159 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27160 (cosf): Define using libm_alias_float.
27161 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27162 (erff): Define using libm_alias_float.
27164 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27165 (expm1f): Define using libm_alias_float.
27166 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27167 (fabsf): Define using libm_alias_float.
27168 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27169 (floorf): Define using libm_alias_float.
27170 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27171 (frexpf): Define using libm_alias_float.
27172 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27174 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27175 <libm-alias-float.h>.
27176 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27178 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27179 <libm-alias-float.h>.
27180 (getpayloadf): Define using libm_alias_float.
27181 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27182 <libm-alias-float.h>.
27183 (llrintf): Define using libm_alias_float.
27184 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27185 <libm-alias-float.h>.
27186 (llroundf): Define using libm_alias_float.
27187 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27188 (logbf): Define using libm_alias_float.
27189 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27190 (lrintf): Define using libm_alias_float.
27191 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27192 (lroundf): Define using libm_alias_float.
27193 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27194 (modff): Define using libm_alias_float.
27195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27196 <libm-alias-float.h>.
27197 (nearbyintf): Define using libm_alias_float.
27198 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27199 <libm-alias-float.h>.
27200 (nextafterf): Define using libm_alias_float.
27201 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27202 <libm-alias-float.h>.
27203 (nextupf): Define using libm_alias_float.
27204 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27205 <libm-alias-float.h>.
27206 (remquof): Define using libm_alias_float.
27207 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27208 (rintf): Define using libm_alias_float.
27209 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27210 <libm-alias-float.h>.
27211 (roundevenf): Define using libm_alias_float.
27212 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27213 (roundf): Define using libm_alias_float.
27214 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27215 using libm_alias_float.
27216 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27217 <libm-alias-float.h>.
27218 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27219 Define using libm_alias_float.
27220 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27221 <libm-alias-float.h>.
27222 (sincosf): Define using libm_alias_float.
27223 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27224 (sinf): Define using libm_alias_float.
27225 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27226 (tanf): Define using libm_alias_float.
27227 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27228 (tanhf): Define using libm_alias_float.
27229 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27230 <libm-alias-float.h>.
27231 (totalorderf): Define using libm_alias_float.
27232 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27233 <libm-alias-float.h>.
27234 (totalordermagf): Define using libm_alias_float.
27235 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27236 (truncf): Define using libm_alias_float.
27237 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27239 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27242 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27245 math/math.h: Let fpclassify use the builtin in C++ mode, even
27246 when optimazing for size.
27248 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27250 * csu/Makefile (generated): Do not add version-info.h.
27251 (before-compile): Likewise.
27252 (all-Banner-files): Remove variable.
27253 ($(objpfx)version-info.h): Remove rule.
27254 * csu/version.c (banner): Do not include "version-info.h".
27255 * libidn/Banner: Remove.
27256 * manual/contrib.texi (Simon Josefsson): New entry.
27258 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27261 Remove conditionals on LDBL_MANT_DIG.
27262 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27263 (__ieee754_lgammal_r): Likewise.
27265 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27269 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27270 _Float128 and L(). Replace _Float128 with long double and L(x)
27271 with xL, throughout the file.
27272 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27277 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27280 sysdeps/ieee754/ldbl-128ibm.
27281 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27282 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27283 of including it. Keep _Float128 and L() intact. These will be
27284 reviewed by a separate patch.
27285 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27290 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27293 (__finitef128): Define to __redirect___finitef128.
27294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27295 (__isinff128): Define to __redirect___isinff128.
27296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27297 (__isnanf128): Define to __redirect___isnanf128.
27299 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27301 * sysdeps/powerpc/powerpc64le/Makefile
27302 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27303 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27305 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27306 Carlos O'Donell <carlos@redhat.com>
27309 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27310 * stdlib/test-dlclose-exit-race.c: New file.
27311 * stdlib/test-dlclose-exit-race-helper.c: New file.
27312 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27314 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27316 * crypt/Banner: Remove file.
27317 * nptl/Banner: Likewise.
27318 * resolv/Banner: Likewise.
27319 * soft-fp/Banner: Likewise.
27320 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27321 ($(objpfx)version.d): Remove dependency on banner.h.
27322 ($(objpfx)version.os): Likewise.
27323 * nptl/version.c (banner): Do not include banner.h.
27324 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27325 Jelinek and BIND code.
27327 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27328 Carlos O'Donell <carlos@redhat.com>
27330 * support/xdlfcn.h: New file.
27331 * support/xdlfcn.c: New file.
27332 * support/Makefile (libsupport-routines): Add xdlfcn.
27333 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27335 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27338 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27339 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27340 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27341 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27342 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27343 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27344 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27345 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27347 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27348 Ricky Zhou <rickyz@google.com>
27349 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27352 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27354 (__new_exitfn): Fail registration when we finished at_exit processing.
27355 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27356 * stdlib/on_exit.c (__on_exit): Likewise.
27357 * stdlib/exit.c (__exit_funcs_done): New variable.
27358 (__run_exit_handlers): Use __exit_funcs_lock.
27359 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27361 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27362 (test-cxa_atexit-race, test-on_exit-race): New tests.
27363 * stdlib/test-atexit-race-common.c: New file.
27364 * stdlib/test-atexit-race.c: New file.
27365 * stdlib/test-at_quick_exit-race.c: New file.
27366 * stdlib/test-cxa_atexit-race.c: New file.
27367 * stdlib/test-on_exit-race.c: New file.
27369 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27371 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27372 * benchtests/exp2f-inputs: Copy of expf-inputs.
27373 * benchtests/log2f-inputs: Copy of logf-inputs.
27375 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27377 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27378 Explicitly take address of first element of array arguments in
27379 call to INLINE_SYSCALL.
27381 2017-09-19 Andreas Schwab <schwab@suse.de>
27384 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27386 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27389 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27390 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27391 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27392 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27393 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27395 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27396 * posix/Makefile (tests): Add tst-fexecve.
27397 * posix/tst-fexecve.c: New file.
27399 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27401 * benchtests/Makefile: Add logf benchmark.
27402 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27404 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27406 * benchtests/Makefile: Add expf benchmark.
27407 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27409 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27411 * csu/Makefile: Add -funwind-tables to libc-start.c.
27412 * debug/Makefile: Add -funwind-tables to backtrace.c.
27413 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27414 * sysdeps/arm/Makefile: Likewise.
27415 * sysdeps/i386/Makefile: Likewise.
27416 * sysdeps/m68k/Makefile: Likewise.
27417 * sysdeps/mips/Makefile: Likewise.
27418 * sysdeps/nios2/Makefile: Likewise.
27419 * sysdeps/sh/Makefile: Likewise.
27420 * sysdeps/sparc/Makefile: Likewise.
27422 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27424 * benchtests/Makefile (bench-math): Add trunc and truncf.
27425 (CFLAGS-bench-trunc.c): New variable.
27426 (CFLAGS-bench-truncf.c): Likewise.
27427 * benchtests/trunc-inputs: New file.
27428 * benchtests/truncf-inputs: Likewise.
27430 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27432 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27434 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27436 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27437 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27439 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27440 (exp10l): Define as weak alias.
27441 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27442 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27444 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27445 (remainderl): Define as weak alias.
27447 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27448 (fmal): Define using libm_alias_ldouble.
27449 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27450 (acoshl): Define using libm_alias_ldouble.
27451 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27452 (acosl): Define using libm_alias_ldouble.
27453 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27454 (asinl): Define using libm_alias_ldouble.
27455 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27456 (atan2l): Define using libm_alias_ldouble.
27457 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27458 (atanhl): Define using libm_alias_ldouble.
27459 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27460 (coshl): Define using libm_alias_ldouble.
27461 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27462 (exp10l): Define using libm_alias_ldouble.
27463 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27464 (exp2l): Define using libm_alias_ldouble.
27465 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27466 (expl): Define using libm_alias_ldouble.
27467 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27468 (fmodl): Define using libm_alias_ldouble.
27469 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27470 (hypotl): Define using libm_alias_ldouble.
27471 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27472 (j0l): Define using libm_alias_ldouble.
27474 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27475 (j1l): Define using libm_alias_ldouble.
27477 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27478 (jnl): Define using libm_alias_ldouble.
27480 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27481 (log10l): Define using libm_alias_ldouble.
27482 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27483 (log2l): Define using libm_alias_ldouble.
27484 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27485 (logl): Define using libm_alias_ldouble.
27486 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27487 (powl): Define using libm_alias_ldouble.
27488 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27489 (remainderl): Define using libm_alias_ldouble.
27490 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27491 (sinhl): Define using libm_alias_ldouble.
27492 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27493 (sqrtl): Define using libm_alias_ldouble.
27494 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27495 (tgammal): Define using libm_alias_ldouble.
27496 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27497 (exp10l): Do not use long_double_symbol here.
27498 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27499 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27500 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27501 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27502 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27503 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27504 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27505 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27506 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27507 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27508 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27509 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27510 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27511 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27512 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27513 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27514 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27515 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27516 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27517 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27518 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27519 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27521 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27523 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27524 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27526 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27528 * io/read.c (read): Add libc_hidden_weak.
27529 * sysdeps/mach/hurd/read.c (read): Likewise.
27530 * io/write.c (write): Likewise.
27531 * sysdeps/mach/hurd/write.c (write): Likewise.
27532 * io/pread64.c (__pread64): Likewise.
27533 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27534 * posix/pread64.c (__pread64): Add libc_hidden_def.
27536 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27538 * benchtests/scripts/compare_strings.py: New option -g.
27539 (draw_graph): Print a message that a graph is being generated.
27540 (process_results): Generate graph only if -g is passed.
27541 (main): Process option -g.
27543 * benchtests/scripts/compare_strings.py (process_results):
27544 Better spacing for output.
27546 * benchtests/scripts/compare_strings.py: Use argparse.
27547 * benchtests/README: Document existence of compare_strings.py.
27549 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27551 * math/s_fma.c: Include <libm-alias-double.h>.
27552 (fma): Define using libm_alias_double.
27553 * math/s_nextafter.c: Include <libm-alias-double.h>.
27554 (nextafter): Define using libm_alias_double.
27555 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27556 (acos): Define using libm_alias_double.
27557 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27558 (aocsh): Define using libm_alias_double.
27559 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27560 (asin): Define using libm_alias_double.
27561 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27562 (atan2): Define using libm_alias_double.
27563 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27564 (atanh): Define using libm_alias_double.
27565 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27566 (cosh): Define using libm_alias_double.
27567 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27568 (exp10): Define using libm_alias_double.
27569 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27570 (exp2): Define using libm_alias_double.
27571 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27572 (exp): Define using libm_alias_double.
27573 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27574 (fmod): Define using libm_alias_double.
27575 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27576 (hypot): Define using libm_alias_double.
27577 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27578 (j0): Define using libm_alias_double.
27580 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27581 (j1): Define using libm_alias_double.
27583 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27584 (jn): Define using libm_alias_double.
27586 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27587 (log10): Define using libm_alias_double.
27588 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27589 (log2): Define using libm_alias_double.
27590 * math/w_log_compat.c: Include <libm-alias-double.h>.
27591 (log): Define using libm_alias_double.
27592 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27593 (pow): Define using libm_alias_double.
27594 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27595 (remainder): Define using libm_alias_double.
27596 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27597 (sinh): Define using libm_alias_double.
27598 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27599 (sqrt): Define using libm_alias_double.
27600 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27601 (tgamma): Define using libm_alias_double.
27602 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27603 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27604 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27605 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27606 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27607 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27608 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27609 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27610 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27611 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27612 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27613 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27614 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27615 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27616 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27617 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27618 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27619 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27620 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27621 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27622 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27623 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27624 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27625 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27626 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27628 * math/e_acoshl.c: Remove.
27629 * math/e_acosl.c: Likewise.
27630 * math/e_asinl.c: Likewise.
27631 * math/e_atan2l.c: Likewise.
27632 * math/e_atanhl.c: Likewise.
27633 * math/e_coshl.c: Likewise.
27634 * math/e_expl.c: Likewise.
27635 * math/e_fmodl.c: Likewise.
27636 * math/e_gammal_r.c: Likewise.
27637 * math/e_hypotl.c: Likewise.
27638 * math/e_j0l.c: Likewise.
27639 * math/e_j1l.c: Likewise.
27640 * math/e_jnl.c: Likewise.
27641 * math/e_lgammal_r.c: Likewise.
27642 * math/e_log10l.c: Likewise.
27643 * math/e_log2l.c: Likewise.
27644 * math/e_logl.c: Likewise.
27645 * math/e_powl.c: Likewise.
27646 * math/e_rem_pio2l.c: Likewise.
27647 * math/e_sinhl.c: Likewise.
27648 * math/e_sqrtf128.c: Likewise.
27649 * math/e_sqrtl.c: Likewise.
27650 * math/k_cosl.c: Likewise.
27651 * math/k_sinl.c: Likewise.
27652 * math/k_tanl.c: Likewise.
27653 * math/s_asinhl.c: Likewise.
27654 * math/s_atanl.c: Likewise.
27655 * math/s_cbrtl.c: Likewise.
27656 * math/s_erfl.c: Likewise.
27657 * math/s_expm1l.c: Likewise.
27658 * math/s_log1pl.c: Likewise.
27659 * math/s_tanhl.c: Likewise.
27661 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27665 [$(subdir) = math] (sysdep_calls): New variable. Has the
27666 previous contents of sysdep_routines, but re-sorted..
27667 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27669 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27670 defined in sysdep_calls and replace by the respective m_* names.
27671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27672 (compat_symbol): Undefine to avoid duplicated compat symbols in
27675 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27677 * math/s_fmaf.c: Include <libm-alias-float.h>.
27678 (fmaf): Define using libm_alias_float.
27679 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27680 (acosf): Define using libm_alias_float.
27681 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27682 (acoshf): Define using libm_alias_float.
27683 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27684 (asinf): Define using libm_alias_float.
27685 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27686 (atan2f): Define using libm_alias_float.
27687 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27688 (atanhf): Define using libm_alias_float.
27689 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27690 (coshf): Define using libm_alias_float.
27691 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27692 (exp10f): Define using libm_alias_float.
27693 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27694 (fmodf): Define using libm_alias_float.
27695 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27696 (hypotf): Define using libm_alias_float.
27697 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27698 (j0f): Define using libm_alias_float.
27700 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27701 (j1f): Define using libm_alias_float.
27703 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27704 (jnf): Define using libm_alias_float.
27706 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27707 (log10f): Define using libm_alias_float.
27708 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27709 (log2f): Define using libm_alias_float.
27710 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27711 (logf): Define using libm_alias_float.
27712 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27713 (powf): Define using libm_alias_float.
27714 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27715 (remainderf): Define using libm_alias_float.
27716 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27717 (sinhf): Define using libm_alias_float.
27718 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27719 (sqrtf): Define using libm_alias_float.
27720 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27721 (tgammaf): Define using libm_alias_float.
27723 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27725 * include/math.h (roundeven): Change hidden_proto call to
27727 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27729 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27730 (y0): Rename to __y0 and define as weak alias.
27731 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27732 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27734 (y0f): Rename to __y0f and define as weak alias.
27735 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27737 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27738 (y1): Rename to __y1 and define as weak alias.
27739 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27740 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27742 (y1f): Rename to __y1f and define as weak alias.
27743 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27745 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27746 (yn): Rename to __yn and define as weak alias.
27747 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27748 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27750 (ynf): Rename to __ynf and define as weak alias.
27751 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27752 (fromfp): Define as weak alias.
27753 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27754 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27755 (fromfpx): Define as weak alias.
27756 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27757 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27758 __getpayload and define as weak alias.
27759 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27760 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27761 __roundeven and define as weak alias.
27762 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27763 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27765 (setpayload): Define as weak alias.
27766 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27767 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27769 (setpayloadsig): Define as weak alias.
27770 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27771 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27772 __totalorder and define as weak alias.
27773 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27774 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27775 to __totalordermag and define as weak alias.
27776 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27777 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27778 (ufromfp): Define as weak alias.
27779 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27780 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27782 (ufromfpx): Define as weak alias.
27783 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27784 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27785 Rename to __getpayload and define as weak alias.
27786 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27787 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27788 Rename to __roundeven and define as weak alias.
27789 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27790 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27791 Rename to __totalorder and define as weak alias.
27792 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27793 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27794 (totalordermag): Rename to __totalordermag and define as weak
27796 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27797 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27799 (__roundevenl): Likewise.
27800 (__totalorderl): Likewise.
27801 (__totalordermagl): Likewise
27802 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27804 (fromfpf128): Define as weak alias.
27805 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27807 (fromfpxf128): Define as weak alias.
27808 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27810 (setpayloadf128): Define as weak alias.
27811 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27812 __setpayloadsigf128.
27813 (setpayloadsigf128): Define as weak alias.
27814 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27816 (ufromfpf128): Define as weak alias.
27817 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27819 (ufromfpxf128): Define as weak alias.
27820 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27821 (fromfpf): Define as weak alias.
27822 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27824 (fromfpxf): Define as weak alias.
27825 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27826 __getpayloadf and define as weak alias.
27827 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27828 __roundevenf and define as weak alias.
27829 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27831 (setpayloadf): Define as weak alias.
27832 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27834 (setpayloadsigf): Define as weak alias.
27835 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27836 __totalorderf and define as weak alias.
27837 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27838 Rename to __totalordermagf and define as weak alias.
27839 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27841 (ufromfpf): Define as weak alias.
27842 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27844 (ufromfpxf): Define as weak alias.
27845 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27847 (fromfpl): Define as weak alias.
27848 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27850 (fromfpxl): Define as weak alias.
27851 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27852 to __getpayloadl and define as weak alias.
27853 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27854 __roundevenl and define as weak alias.
27855 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27857 (setpayloadl): Define as weak alias.
27858 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27860 (setpayloadsigl): Define as weak alias.
27861 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27862 to __totalorderl and define as weak alias.
27863 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27864 Rename to __totalordermagl and define as weak alias.
27865 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27867 (ufromfpl): Define as weak alias.
27868 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27870 (ufromfpxl): Define as weak alias.
27871 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27873 (fromfpl): Define as weak alias.
27874 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27876 (fromfpxl): Define as weak alias.
27877 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27878 Rename to __getpayloadl and define as weak alias.
27879 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27880 to __roundevenl and define as weak alias. Call __roundeven
27881 instead of roundeven.
27882 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27884 (setpayloadl): Define as weak alias.
27885 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27887 (setpayloadsigl): Define as weak alias.
27888 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27889 Rename to __totalorderl and define as weak alias.
27890 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27891 Rename to __totalordermagl and define as weak alias.
27892 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27894 (ufromfpl): Define as weak alias.
27895 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27897 (ufromfpxl): Define as weak alias.
27898 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27900 (fromfpl): Define as weak alias.
27901 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27903 (fromfpxl): Define as weak alias.
27904 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27905 __getpayloadl and define as weak alias.
27906 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27907 __roundevenl and define as weak alias.
27908 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27910 (setpayloadl): Define as weak alias.
27911 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27913 (setpayloadsigl): Define as weak alias.
27914 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27915 __totalorderl and define as weak alias.
27916 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27917 Rename to __totalordermagl and define as weak alias.
27918 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27920 (ufromfpl): Define as weak alias.
27921 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27923 (ufromfpxl): Define as weak alias.
27925 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27927 * benchtests/bench-string.h (realloc_bufs): New function.
27928 (test_init): Call it.
27929 * benchtests/bench-memset-large.c (do_test): Likewise.
27930 * benchtests/bench-memset.c (do_test): Likewise.
27932 * benchtests/bench-memset-large.c: Print output in JSON
27934 * benchtests/bench-memset.c: Likewise.
27936 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27939 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27940 * iconvdata/Makefile: Add IBM858.
27941 * iconvdata/gconv-modules: Likewise.
27942 * iconvdata/tst-tables.sh: Likewise.
27943 * iconvdata/ibm858.c: New file.
27944 * localedata/charmaps/IBM858: Likewise.
27946 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27949 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27950 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27952 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27955 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27956 and add tel_int_fmt.
27958 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27960 * sysdeps/generic/libm-alias-float128.h: New file.
27961 * sysdeps/generic/math-type-macros-float128.h: Include
27962 <libm-alias-float128.h>.
27963 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27965 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27967 * sysdeps/generic/libm-alias-ldouble.h: New file.
27968 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27970 * sysdeps/generic/math-type-macros-ldouble.h: Include
27971 <libm-alias-ldouble.h>.
27972 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27973 libm_alias_ldouble.
27975 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27977 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27978 * math/w_exp_compat.c: ... here.
27979 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27980 * math/w_expf_compat.c: ... here.
27981 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27982 * math/w_expl_compat.c: ... here.
27983 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27984 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27985 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27986 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27988 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27990 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27992 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27994 (ldexpl): Only define as compat symbol for libc, not libm.
27995 (scalbnl): Define as compat symbol for libc here.
27996 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27997 define for [IS_IN (libc)].
27998 (__ldexpl_2): Remove alias.
27999 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28000 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28001 name in long_double_symbol call.
28002 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28003 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28006 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28008 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28009 Define as compat symbol.
28011 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28013 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28014 * sysdeps/unix/sysv/linux/alpha/Makefile
28015 [$(subdir) = csu] (sysdep_routines): Remove rule.
28017 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28019 * sysdeps/generic/libm-alias-double.h: New file.
28020 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28021 * sysdeps/generic/math-type-macros-double.h: Include
28022 <libm-alias-double.h>.
28023 [declare_mgen_alias] (declare_mgen_alias): Define to use
28025 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28026 (M_LIBM_NEED_COMPAT): Remove macro.
28027 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28028 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28029 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28031 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28032 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28033 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28034 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28035 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28036 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28037 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28038 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28039 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28040 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28041 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28042 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28043 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28044 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28045 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28046 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28047 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28048 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28049 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28050 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28051 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28052 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28053 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28054 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28055 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28056 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28057 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28058 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28059 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28061 (declare_mgen_alias): New macro.
28062 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28063 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28065 (M_LIBM_NEED_COMPAT): Remove macro.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28067 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28068 <first-versions.h>.
28069 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28070 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28072 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28074 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28075 (declare_mgen_alias_2): Remove.
28076 * sysdeps/generic/math-type-macros-double.h
28077 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28079 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28081 (ldexp): Define with declare_mgen_alias.
28082 (scalbn): Likewise.
28084 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28086 * grp/initgroups.c: Include config.h.
28087 (DEFAULT_CONFIG): New macro.
28088 (internal_getgrouplist): Use DEFAULT_CONFIG.
28089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28090 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28091 (DEFAULT_DEFCONFIG): New macro.
28092 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28093 * nss/grp-lookup.c: Include config.h
28094 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28095 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28096 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28097 * manual/nss.texi: Update default values section.
28099 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28102 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28104 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28105 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28106 Handle MathVec_Prefer_No_AVX512.
28107 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28108 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28111 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28113 * posix/sched_primax.c (__sched_get_priority_max): Add
28115 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28116 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28117 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28118 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28119 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28120 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28121 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28122 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28125 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28127 * sysdeps/generic/libm-alias-float.h: New file.
28128 * sysdeps/generic/math-type-macros-float.h: Include
28129 <libm-alias-float.h>.
28130 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28132 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28135 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28136 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28137 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28138 (HWCAP_IMPORTANT): Likewise.
28139 (HWCAP_X86_64): New enum.
28140 (HWCAP_X86_AVX512_1): Updated.
28141 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28142 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28143 (modules-names): Add x86_64/tst-x86_64mod-1.
28144 (LDFLAGS-tst-x86_64mod-1.so): New.
28145 ($(objpfx)tst-x86_64-1): Likewise.
28146 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28147 (tst-x86_64-1-clean): Likewise.
28148 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28149 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28151 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28153 * po/sv.po: Update translations.
28154 * po/fr.po: Likewise.
28156 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28158 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28160 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28162 * elf/rtld-Rules: Fix $(error) use.
28164 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28167 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28168 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28169 * localedata/locales/bn_BD: “Bengali” was still used in some
28170 comments. Change it to “Bangla”.
28172 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28174 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28176 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28178 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28179 thunderx2t99p1 to list of cpu names.
28180 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28181 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28183 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28185 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28186 Use strcmp instead of tunable_is_name.
28188 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28191 (F_GET_RW_HINT): New macro.
28192 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28193 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28194 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28195 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28196 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28197 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28198 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28199 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28200 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28203 (F_ADD_SEALS): New macro.
28204 [__USE_GNU] (F_GET_SEALS): Likewise.
28205 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28206 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28207 [__USE_GNU] (F_SEAL_GROW): Likewise.
28208 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28210 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28212 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28213 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28214 * posix/glob_internal.h (__glob_pattern_type):
28215 * posix/glob.c (glob):
28216 * posix/glob_pattern_p.c (__glob_pattern_p):
28219 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28220 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28221 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28222 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28223 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28225 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28226 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28227 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28230 * sysdeps/wordsize-64/glob.c: Likewise.
28231 * sysdeps/wordsize-64/glob64.c: Likewise.
28232 * sysdeps/wordsize-64/globfree.c: Likewise.
28233 * sysdeps/wordsize-64/globfree64.c: Likewise.
28234 * sysdeps/unix/sysv/linux/glob.c: New file.
28235 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28236 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28237 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28238 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28239 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28240 adds !GLOB_NO_OLD_VERSION as an extra condition.
28241 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28242 using relative path instead of absolute one.
28243 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28244 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28245 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28246 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28247 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28248 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28251 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28252 (glob): Use the same scratch buffer for both getlogin_r and
28253 getpwnam_r. Don’t require preallocation of the login name. This
28254 simplifies storage allocation, and corrects the handling of
28258 * posix/glob.c (glob): Port recent patches to platforms
28259 lacking getpwnam_r.
28260 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28261 returns an error number rather than setting errno.
28263 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28264 instead of GCC extension.
28265 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28266 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28267 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28271 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28272 * posix/bug-glob1.c: Remove file.
28273 * posix/tst-glob_symlinks.c: New file.
28274 * posix/glob.c (__lstat64): New macro.
28275 (is_dir): New function.
28276 (glob, glob_in_dir): Match symlinks even if they are dangling.
28277 (link_stat, link_exists_p): Remove. All uses removed.
28281 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28282 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28287 * posix/Makefile (routines): Add globfree, globfree64, and
28289 * posix/flexmember.h: New file.
28290 * posix/glob_internal.h: Likewise.
28291 * posix/glob_pattern_p.c: Likewise.
28292 * posix/globfree.c: Likewise.
28293 * posix/globfree64.c: Likewise.
28294 * sysdeps/gnu/globfree64.c: Likewise.
28295 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28296 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28297 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28298 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28299 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28300 * sysdeps/wordsize-64/globfree.c: Likewise.
28301 * sysdeps/wordsize-64/globfree64.c: Likewise.
28302 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28303 [NDEBUG): Remove comments.
28304 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28305 (dirent_type): New type. Use uint_fast8_t not
28306 uint8_t, as C99 does not require uint8_t.
28307 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28308 (struct readdir_result): Use dirent_type. Do not define skip_entry
28309 unless it is needed; this saves a byte on platforms lacking d_ino.
28310 (readdir_result_type, readdir_result_skip_entry):
28311 New functions, replacing ...
28312 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28313 these functions, which were removed. This makes the callers
28314 easier to read. All callers changed.
28315 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28316 (size_add_wrapv, glob_use_alloca): New static functions.
28317 (glob, glob_in_dir): Check for size_t overflow in several places,
28318 and fix some size_t checks that were not quite right.
28319 Remove old code using SHELL since Bash no longer
28321 (glob, prefix_array): Separate MS code better.
28322 (glob_in_dir): Remove old Amiga and VMS code.
28323 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28325 (glob_in_dir): Do not rely on undefined behavior in accessing
28326 struct members beyond their bounds. Use a flexible array member
28328 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28329 0/1. Caller changed.
28330 (glob): Fix memory leaks.
28331 * posix/glob64 (globfree64): Move to separate file.
28332 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28333 (globfree64): Remove hidden alias.
28334 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28336 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28338 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28340 Move compat code to separate file.
28341 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28344 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28346 * resolv/tst-resolv-qtypes.c (domain): Changed to
28347 "const char domain[] =".
28349 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28351 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28354 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28355 (TCP_MD5SIG_EXT): Likewise.
28356 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28357 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28358 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28360 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28362 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28364 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28366 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28369 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28371 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28373 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28374 before assuming that the file is empty. Avoid testing buffer content
28377 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28380 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28382 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28384 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28386 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28388 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28390 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28392 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28395 2017-09-06 Florian Weimer <fweimer@redhat.com>
28397 * malloc/dynarray_emplace_enlarge.c
28398 (__libc_dynarray_emplace_enlarge): Add missing else.
28400 2017-09-06 Florian Weimer <fweimer@redhat.com>
28403 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28404 case of failure to obtain the global conf object.
28406 2017-09-06 Florian Weimer <fweimer@redhat.com>
28409 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28410 dynarray allocation failure.
28412 2017-09-06 Florian Weimer <fweimer@redhat.com>
28414 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28415 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28416 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28418 (response): Call them. Add 'p', '6' flag processing.
28419 (test_reverse): New function.
28420 (test_get2_any): Call it.
28421 (test_no_inet6): Add 'p' test.
28422 (test_inet6): Likewise.
28424 2017-09-06 Florian Weimer <fweimer@redhat.com>
28426 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28427 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28429 (test_gai): Adjust query names. Add additional tests.
28430 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28431 test_get2. Adjust query names. Add additional tests.
28432 (test_no_inet6): New function, extracted from threadfunc.
28433 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28434 Add additional tests.
28436 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28439 * localedata/unicode-gen/utf8_gen.py: Set the width for
28440 characters with Prepended_Concatenation_Mark property to 1
28441 * localedata/charmaps/UTF-8: Updated using the improved script.
28443 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28446 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28447 use the range notation for all ranges of neighbouring characters
28448 with the same width.
28450 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28452 * sysdeps/generic/math-type-macros-double.h: Include
28453 <math-svid-compat.h>.
28454 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28455 * sysdeps/generic/math-type-macros-float.h: Include
28456 <math-svid-compat.h>.
28457 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28458 * sysdeps/generic/math-type-macros-ldouble.h: Include
28459 <math-svid-compat.h>.
28460 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28461 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28463 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28464 * math/w_acosf_compat.c: Likewise.
28465 * math/w_acosh_compat.c: Likewise.
28466 * math/w_acoshf_compat.c: Likewise.
28467 * math/w_acoshl_compat.c: Likewise.
28468 * math/w_acosl_compat.c: Likewise.
28469 * math/w_asin_compat.c: Likewise.
28470 * math/w_asinf_compat.c: Likewise.
28471 * math/w_asinl_compat.c: Likewise.
28472 * math/w_atan2_compat.c: Likewise.
28473 * math/w_atan2f_compat.c: Likewise.
28474 * math/w_atan2l_compat.c: Likewise.
28475 * math/w_atanh_compat.c: Likewise.
28476 * math/w_atanhf_compat.c: Likewise.
28477 * math/w_atanhl_compat.c: Likewise.
28478 * math/w_cosh_compat.c: Likewise.
28479 * math/w_coshf_compat.c: Likewise.
28480 * math/w_coshl_compat.c: Likewise.
28481 * math/w_exp10_compat.c: Likewise.
28482 * math/w_exp10f_compat.c: Likewise.
28483 * math/w_exp10l_compat.c: Likewise.
28484 * math/w_exp2_compat.c: Likewise.
28485 * math/w_exp2f_compat.c: Likewise.
28486 * math/w_exp2l_compat.c: Likewise.
28487 * math/w_fmod_compat.c: Likewise.
28488 * math/w_fmodf_compat.c: Likewise.
28489 * math/w_fmodl_compat.c: Likewise.
28490 * math/w_hypot_compat.c: Likewise.
28491 * math/w_hypotf_compat.c: Likewise.
28492 * math/w_hypotl_compat.c: Likewise.
28493 * math/w_j0_compat.c: Likewise.
28494 * math/w_j0f_compat.c: Likewise.
28495 * math/w_j0l_compat.c: Likewise.
28496 * math/w_j1_compat.c: Likewise.
28497 * math/w_j1f_compat.c: Likewise.
28498 * math/w_j1l_compat.c: Likewise.
28499 * math/w_jn_compat.c: Likewise.
28500 * math/w_jnf_compat.c: Likewise.
28501 * math/w_jnl_compat.c: Likewise.
28502 * math/w_lgamma_r_compat.c: Likewise.
28503 * math/w_lgammaf_r_compat.c: Likewise.
28504 * math/w_lgammal_r_compat.c: Likewise.
28505 * math/w_log10_compat.c: Likewise.
28506 * math/w_log10f_compat.c: Likewise.
28507 * math/w_log10l_compat.c: Likewise.
28508 * math/w_log2_compat.c: Likewise.
28509 * math/w_log2f_compat.c: Likewise.
28510 * math/w_log2l_compat.c: Likewise.
28511 * math/w_log_compat.c: Likewise.
28512 * math/w_logf_compat.c: Likewise.
28513 * math/w_logl_compat.c: Likewise.
28514 * math/w_pow_compat.c: Likewise.
28515 * math/w_powf_compat.c: Likewise.
28516 * math/w_powl_compat.c: Likewise.
28517 * math/w_remainder_compat.c: Likewise.
28518 * math/w_remainderf_compat.c: Likewise.
28519 * math/w_remainderl_compat.c: Likewise.
28520 * math/w_sinh_compat.c: Likewise.
28521 * math/w_sinhf_compat.c: Likewise.
28522 * math/w_sinhl_compat.c: Likewise.
28523 * math/w_sqrt_compat.c: Likewise.
28524 * math/w_sqrtf_compat.c: Likewise.
28525 * math/w_sqrtl_compat.c: Likewise.
28526 * math/w_tgamma_compat.c: Likewise.
28527 * math/w_tgammaf_compat.c: Likewise.
28528 * math/w_tgammal_compat.c: Likewise.
28529 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28530 [LIBM_SVID_COMPAT].
28531 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28532 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28533 [LIBM_SVID_COMPAT].
28534 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28535 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28536 [LIBM_SVID_COMPAT].
28537 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28538 * sysdeps/i386/fpu/w_sqrt.c: New file.
28539 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28540 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28541 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28542 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28543 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28544 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28545 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28546 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28547 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28548 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28549 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28550 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28551 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28552 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28553 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28554 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28555 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28556 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28557 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28558 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28559 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28560 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28561 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28562 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28563 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28564 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28565 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28566 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28567 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28568 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28569 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28570 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28571 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28572 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28573 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28574 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28575 * sysdeps/ia64/fpu/w_log.c: Likewise.
28576 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28577 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28578 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28579 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28580 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28581 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28582 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28583 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28584 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28585 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28586 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28587 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28588 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28589 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28590 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28591 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28592 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28593 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28594 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28595 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28596 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28597 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28598 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28600 [LIBM_SVID_COMPAT].
28601 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28602 * sysdeps/ieee754/k_standard.c: Likewise.
28603 * sysdeps/ieee754/k_standardf.c: Likewise.
28604 * sysdeps/ieee754/k_standardl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28607 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28608 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28609 long_double_symbol call on [LIBM_SVID_COMPAT].
28610 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28611 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28612 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28613 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28614 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28615 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28616 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28617 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28618 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28619 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28620 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28621 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28622 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28623 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28624 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28625 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28626 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28627 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28628 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28629 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28630 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28631 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28633 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28635 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28636 * malloc/tst-mallocstate.c: Convert from test-skeleton
28637 to test-driver. Ifdef code using TEST_COMPAT macro.
28638 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28639 * math/test-matherr.c: Likewise.
28641 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28644 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28645 comparing word with byte-swapped constant.
28647 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28650 * locale/iso-639.def: add Miskito.
28651 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28652 * localedata/locales/miq_NI: New file.
28654 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28657 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28658 (__mkdir): Likewise.
28659 * io/chmod.c (__chmod): Add libc_hidden_def.
28660 * io/mkdir.c (__mkdir): Likewise.
28661 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28662 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28663 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28664 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28666 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28668 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28672 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28673 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28675 2017-09-04 Florian Weimer <fweimer@redhat.com>
28677 * math/math.h: Issue warning if log is defined.
28679 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28681 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28682 kernel version to 4.13.
28684 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28686 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28687 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28689 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28690 just <bits/types.h>.
28691 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28692 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28693 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28694 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28695 * misc/preadv2.c: Include <errno.h>.
28696 * misc/preadv64v2.c: Include <errno.h>.
28697 * misc/pwritev2.c: Include <errno.h>.
28698 * misc/pwritev64v2.c: Include <errno.h>.
28699 * sysdeps/posix/preadv2.c: Include <errno.h>.
28700 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28701 Fix <unistd.h> inclusion.
28702 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28703 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28704 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28705 __strtoul_internal): New functions.
28706 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28707 * sysdeps/posix/system.c: Include <sigsetops.h>.
28708 * sysdeps/mach/hurd/i386/Makefile
28709 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28710 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28711 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28712 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28713 __feraiseexcept_renamed to feraiseexcept instead of
28714 __GI_feraiseexcept.
28715 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28716 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28717 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28718 RWF_NOWAIT): Define to 0 if undefined already.
28719 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28721 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28722 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28724 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28726 * manual/math.texi (pow10): Do not document.
28727 (pow10f): Likewise.
28728 (pow10l): Likewise.
28729 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28730 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28731 * math/libm-test-exp10.inc (pow10_test): Remove.
28732 (do_test): Do not call pow10.
28733 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28734 [NO_LONG_DOUBLE] (pow10l): Likewise.
28735 * math/w_exp10f_compat.c (pow10f): Likewise.
28736 * math/w_exp10l_compat.c (pow10l): Likewise.
28737 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28738 (pow10): Make into compat symbol.
28739 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28740 (pow10f): Make into compat symbol.
28741 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28742 (pow10l): Make into compat symbol.
28743 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28745 (CFLAGS-nldbl-pow10.c): Remove variable..
28746 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28747 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28748 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28749 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28750 Undefine and redefine.
28751 (pow10l): Make into compat symbol.
28752 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28753 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28754 * sysdeps/arm/libm-test-ulps: Likewise.
28755 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28756 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28757 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28758 * sysdeps/microblaze/libm-test-ulps: Likewise.
28759 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28760 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28761 * sysdeps/nios2/libm-test-ulps: Likewise.
28762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28763 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28765 * sysdeps/sh/libm-test-ulps: Likewise.
28766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28767 * sysdeps/tile/libm-test-ulps: Likewise.
28768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28770 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28772 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28774 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28776 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28777 "../ChangeLog.old/ChangeLog.8".
28778 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28779 "../ChangeLog.old/ChangeLog.14".
28781 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28783 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28786 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28788 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28790 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28792 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28793 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28795 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28797 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28798 32 atexit handlers.
28800 2017-09-01 Zack Weinberg <zackw@panix.com>
28802 * math/math.h (HUGE_VAL): Improve commentary.
28804 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28805 Andreas Schwab <schwab@suse.de>
28808 * include/stdio.h (__gen_tempfd): New function.
28809 * stdio-common/Makefile (routines): Add gentempfd.
28810 * stdio-common/gentempfd.c: New file.
28811 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28812 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28813 unnamed file first.
28815 2017-09-01 Florian Weimer <fweimer@redhat.com>
28819 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28820 result to determine success or failure, not the errno value.
28821 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28822 (tst-nss-files-hosts-erange): Link with -ldl.
28823 * nss/tst-nss-files-hosts-erange.c: New file.
28824 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28825 (do_test): Add NO_DATA tests.
28826 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28827 (do_test): Call it.
28829 2017-09-01 Florian Weimer <fweimer@redhat.com>
28832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28833 coming from gethostbyname2_r.
28835 2017-09-01 Florian Weimer <fweimer@redhat.com>
28837 * support/namespace.h (struct support_chroot_configuration): Add
28839 (struct support_chroot): Add path_hosts, path_host_conf.
28840 * support/support_chroot.c (write_file): New function.
28841 (support_chroot_create): Call it to process /etc/resolv.conf,
28842 /etc/hosts, /etc/host.conf.
28843 (support_chroot_free): Update.
28845 2017-09-01 Florian Weimer <fweimer@redhat.com>
28847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28848 status indicates it is set.
28850 2017-09-01 Florian Weimer <fweimer@redhat.com>
28853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28854 function lookup failures more reliable.
28856 2017-09-01 Florian Weimer <fweimer@redhat.com>
28858 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28859 (getcanonname): Likewise.
28860 (gaih_inet): Likewise.
28862 2017-09-01 Florian Weimer <fweimer@redhat.com>
28864 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28865 (getcanonname): Likewise.
28866 (gaih_inet): Likewise.
28868 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28869 Richard Henderson <rth@twiddle.net>
28871 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28872 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28873 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28874 (IREG_SIZE, OREG_SIZE): New macros.
28875 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28876 (IREG_SIZE, OREG_SIZE): New macros.
28877 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28878 (IREG_SIZE): New macro.
28879 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28880 (IREG_SIZE): New macro.
28881 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28883 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28884 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28885 (__CONCATX): Handle exceptions correctly on large values that may
28887 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28888 Initialize if not already set.
28889 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28891 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28893 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28894 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28896 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28900 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28902 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28906 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28908 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28909 (NO_CANCELLATION): Likewise.
28910 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28912 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28914 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28917 (NO_CANCELLATION): Likewise.
28918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28919 (NO_CANCELLATION): Likewise.
28920 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28922 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28924 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28926 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28928 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28930 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28931 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28933 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28935 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28938 2017-08-31 Florian Weimer <fweimer@redhat.com>
28940 * include/libc-symbols.h (internal_function): Remove.
28942 2017-08-31 Florian Weimer <fweimer@redhat.com>
28944 * stdlib/fmtmsg.c (internal_addseverity): Remove
28947 2017-08-31 Florian Weimer <fweimer@redhat.com>
28949 * stdio-common/printf_fp.c (group_number): Remove
28951 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28953 2017-08-31 Florian Weimer <fweimer@redhat.com>
28955 * posix/fnmatch.c (internal_function): Remove definition.
28956 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28957 * posix/regcomp.c (peek_token, init_word_char)
28958 (duplicate_node_closure, fetch_token, peek_token)
28959 (peek_token_bracket, build_range_exp, build_collating_symbol):
28961 * posix/regex_internal.c (re_string_construct_common)
28962 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28963 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28964 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28965 (re_string_translate_buffer, re_string_reconstruct)
28966 (re_string_peek_byte_case, re_string_fetch_byte_case)
28967 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28968 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28969 (re_node_set_add_intersect, re_node_set_init_union)
28970 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28971 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28972 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28973 (re_acquire_state_context): Likewise.
28974 * posix/regex_internal.h (internal_function): Remove definition.
28975 (re_string_realloc_buffers, build_wcs_buffer)
28976 (build_wcs_upper_buffer, build_upper_buffer)
28977 (re_string_translate_buffer, re_string_context_at)
28978 (re_string_char_size_at, re_string_wchar_at)
28979 (re_string_elem_size_at): Likewise.
28980 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28981 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28982 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28983 (re_search_internal, re_search_2_stub, re_search_stub)
28984 (re_copy_regs, prune_impossible_nodes, check_matching)
28985 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28986 (free_fail_stack_return, sift_states_iter_mb)
28987 (sift_states_backward, build_sifted_states)
28988 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28989 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28990 (check_subexp_limits, sift_states_bkref, merge_state_array)
28991 (find_recover_state, transit_state, merge_state_with_log)
28992 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28993 (transit_state_mb, transit_state_bkref, get_subexp)
28994 (get_subexp_sub, find_subexp_node, check_arrival)
28995 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28996 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28997 (check_node_accept_bytes, find_collation_sequence_value)
28998 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28999 (acquire_init_state_context, check_halt_node_context)
29000 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29001 (sub_epsilon_src_nodes): Likewise.
29002 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29003 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29004 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29005 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29006 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29007 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29008 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29009 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29010 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29011 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29012 (PREADV): Likewise.
29013 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29014 (PREADV): Likewise.
29015 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29016 (PWRITEV): Likewise.
29017 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29018 (PWRITEV): Likewise.
29019 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29020 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29022 2017-08-31 Florian Weimer <fweimer@redhat.com>
29024 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29025 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29026 Remove internal_function.
29027 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29028 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29029 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29030 (__deallocate_stack, __libc_pthread_init)
29031 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29032 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29033 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29035 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29036 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29037 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29039 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29040 (__pthread_mutex_unlock_usercnt): Likewise.
29042 2017-08-31 Florian Weimer <fweimer@redhat.com>
29044 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29045 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29046 (fts_safe_changedir): Remove internal_function.
29047 * io/ftw.c (internal_function): Remove definition.
29048 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29050 2017-08-31 Florian Weimer <fweimer@redhat.com>
29052 * inet/deadline.c (__deadline_current_time)
29053 (__deadline_from_timeval, __deadline_to_ms): Remove
29055 * inet/getnameinfo.c (nrl_domainname): Likewise.
29056 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29057 * inet/inet6_option.c (add_pad): Likewise.
29058 * inet/net-internal.h (__deadline_current_time)
29059 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29060 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29061 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29062 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29064 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29066 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29067 include <bits/nan.h>.
29068 * math/Makefile (headers): Remove bits/nan.h.
29069 * bits/nan.h: Remove.
29070 * sysdeps/ieee754/bits/nan.h: Likewise.
29071 * sysdeps/mips/bits/nan.h: Likewise.
29073 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29074 not include <bits/inf.h>.
29075 * math/Makefile (headers): Remove bits/inf.h.
29076 * bits/inf.h: Remove.
29077 * sysdeps/ieee754/bits/inf.h: Likewise.
29079 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29080 bits/huge_vall.h or bits/huge_val_flt128.h.
29081 (HUGE_VAL): Define directly here.
29082 [__USE_ISOC99] (HUGE_VALF): Likewise.
29083 [__USE_ISOC99] (HUGE_VALL): Likewise.
29084 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29085 (HUGE_VAL_F128): Likewise.
29086 * math/Makefile (headers): Remove bits/huge_val.h,
29087 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29088 * bits/huge_val.h: Remove.
29089 * bits/huge_val_flt128.h: Likewise.
29090 * bits/huge_valf.h: Likewise.
29091 * bits/huge_vall.h: Likewise.
29092 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29093 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29094 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29095 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29096 * sysdeps/sh/bits/huge_val.h: Likewise.
29097 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29098 * sysdeps/x86/bits/huge_vall.h: Likewise.
29100 2017-08-31 Florian Weimer <fweimer@redhat.com>
29102 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29104 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29106 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29107 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29108 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29109 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29112 * elf/dl-libc.c (dlerror_run): Likewise.
29113 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29114 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29115 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29116 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29118 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29119 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29120 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29121 * elf/dl-profile.c (_dl_start_profile): Likewise.
29122 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29123 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29125 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29126 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29127 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29128 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29129 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29130 (_dl_allocate_tls_storage): Likewise.
29131 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29132 (_dl_check_all_versions): Likewise.
29133 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29134 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29135 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29136 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29137 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29138 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29139 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29140 internal_function from __dl_start.
29141 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29142 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29143 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29144 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29145 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29146 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29147 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29148 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29149 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29150 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29151 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29152 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29153 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29154 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29155 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29157 (struct rtld_global_ro): Remove internal_function from the
29158 _dl_lookup_symbol_x member.
29159 (_dl_symbol_value): Remove. No longer defined anywhere.
29160 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29162 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29163 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29165 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29166 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29167 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29168 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29169 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29170 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29171 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29172 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29173 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29175 2017-08-31 Florian Weimer <fweimer@redhat.com>
29177 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29178 Remove internal_function.
29179 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29181 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29184 2017-08-31 Florian Weimer <fweimer@redhat.com>
29186 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29187 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29188 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29190 2017-08-31 Florian Weimer <fweimer@redhat.com>
29192 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29193 (__gai_enqueue_request): Remove internal_function.
29194 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29195 (__gai_remove_request, __gai_notify, __gai_notify_only)
29196 (__gai_sigqueue): Likewise.
29197 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29198 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29199 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29200 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29203 2017-08-31 Florian Weimer <fweimer@redhat.com>
29205 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29206 * include/dirent.h (__opendirat, __getdents, __getdents64)
29207 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29208 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29209 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29210 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29214 2017-08-31 Florian Weimer <fweimer@redhat.com>
29216 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29218 (GETCWD_RETURN_TYPE): Likewise.
29220 2017-08-31 Florian Weimer <fweimer@redhat.com>
29222 * include/time.h (__tz_compute, __strptime_internal): Remove
29224 * time/strptime_l.c (__strptime_internal): Likewise.
29225 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29227 2017-08-31 Florian Weimer <fweimer@redhat.com>
29229 * iconv/gconv.c (__gconv): Remove internal_function.
29230 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29231 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29232 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29233 (__gconv_release_cache): Likewise.
29234 * iconv/gconv_close.c (__gconv_close): Likewise.
29235 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29236 (read_conf_file, __gconv_get_path): Likewise.
29237 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29238 (__gconv_release_step, gen_steps, increment_counter)
29239 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29240 (__gconv_close_transform, free_modules_db): Likewise.
29241 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29243 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29244 (__gconv_find_transform, __gconv_lookup_cache)
29245 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29246 (__gconv_close_transform, __gconv_release_cache)
29247 (__gconv_loaded_object, __gconv_release_shlib)
29248 (__gconv_compare_alias): Likewise.
29249 * iconv/gconv_open.c (__gconv_open): Likewise.
29250 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29251 * iconv/iconvconfig.c (add_module): Likewise.
29252 * intl/dcigettext.c (plural_lookup, guess_category_value)
29253 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29254 * intl/eval-plural.h (plural_eval): Likewise.
29255 * intl/finddomain.c (_nl_find_domain): Likewise.
29256 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29257 (_nl_load_domain, _nl_find_msg): Likewise.
29258 (internal_function): Remove definition.
29259 * intl/loadinfo.h (internal_function): Likewise.
29260 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29262 * intl/localealias.c (internal_function): Remove definition.
29263 (read_alias_file): Remove internal_function.
29264 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29265 * intl/plural-exp.h (internal_function): Remove definition.
29266 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29268 * intl/plural.c: Regenerate.
29269 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29270 * locale/coll-lookup.c (__collidx_table_lookup)
29271 (__collseq_table_lookup): Likewise.
29272 * locale/coll-lookup.h (__collidx_table_lookup)
29273 (__collseq_table_lookup): Likewise.
29274 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29275 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29276 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29277 (_nl_unload_locale): Likewise.
29278 * locale/localeinfo.h (struct __locale_data): Remove
29279 internal_function from cleanup member.
29280 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29281 (_nl_remove_locale, _nl_load_locale_from_archive)
29282 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29283 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29284 (_nl_cleanup_time): Remove internal_function.
29285 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29286 (_nl_parse_alt_digit): Likewise.
29287 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29288 (_nl_select_era_entry): Likewise.
29289 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29290 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29291 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29292 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29293 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29295 2017-08-31 Florian Weimer <fweimer@redhat.com>
29297 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29298 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29299 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29300 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29302 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29303 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29304 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29305 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29307 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29309 2017-08-31 Florian Weimer <fweimer@redhat.com>
29311 * misc/getttyent.c (skip, value): Remove internal_function.
29312 * misc/syslog.c (openlog_internal): Likewise.
29313 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29315 2017-08-31 Florian Weimer <fweimer@redhat.com>
29317 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29318 (__nss_rewrite_field): Remove internal_function.
29319 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29320 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29321 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29322 * nss/nsswitch.c (nss_parse_file, nss_getline)
29323 (nss_parse_service_list, nss_new_service): Likewise.
29324 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29325 * nss/valid_field.c (__nss_valid_field): Likewise.
29326 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29328 2017-08-31 Florian Weimer <fweimer@redhat.com>
29330 * malloc/arena.c (__malloc_fork_lock_parent)
29331 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29332 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29333 internal_function from defintions.
29334 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29335 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29336 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29337 internal_function from declarations.
29338 * malloc/malloc.c (internal_function): Do not define.
29339 (mem2mem_check): Remove internal_function from declaration.
29340 (munmap_chunk, mremap_chunk): Remove internal_function.
29341 * malloc/mtrace.c (tr_where): Likewise.
29343 2017-08-31 Florian Weimer <fweimer@redhat.com>
29345 * include/rpc/pmap_clnt.h (__get_socket): Remove
29347 * sunrpc/auth_des.c (synchronize): Likewise.
29348 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29349 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29350 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29351 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29352 (key_call): Likewise.
29353 * sunrpc/pm_getport.c (__get_socket): Likewise.
29354 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29355 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29356 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29357 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29358 (invalidate): Likewise.
29359 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29360 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29361 (set_input_fragment, get_input_bytes): Likewise.
29363 2017-08-31 Florian Weimer <fweimer@redhat.com>
29365 * malloc/malloc.c (_int_free): Remove locked variable and related
29368 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29371 * Makerules (build-module-helper-objlist): Filter out
29372 $(elf-objpfx)sofini.os.
29373 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29376 2017-08-31 Florian Weimer <fweimer@redhat.com>
29378 * libio/fcloseall.c: Assume weak_alias is defined.
29379 * libio/feof.c: Likewise.
29380 * libio/fileno.c: Likewise.
29381 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29382 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29384 (_IO_file_open): Call __open directly.
29385 (_IO_new_file_sync): Assume ESPIPE is defined.
29386 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29387 (_IO_new_file_write): Call __write directly.
29388 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29389 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29390 * libio/genops.c: Assume _LIBC is defined.
29391 (save_for_backup): Remove internal_function.
29392 * libio/getc.c: Assume weak_alias is defined.
29393 * libio/getwc.c: Likewise.
29394 * libio/iofclose.c: Assume _LIBC is defined.
29395 * libio/iofdopen.c: Likewise.
29396 (_IO_fcntl): Remove macro definition.
29397 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29398 Call __fcntl directly.
29399 * libio/iofflush.c: Assume weak_alias is defined.
29400 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29402 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29403 * libio/iofgets.c: Likewise.
29404 * libio/iofopen.c: Assume _LIBC is defined.
29405 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29406 * libio/iofputs.c: Assume weak_alias is defined.
29407 * libio/iofread.c: Likewise.
29408 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29409 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29410 * libio/ioftell.c: Assume weak_alias is defined.
29411 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29412 * libio/iofwide.c: Assume _LIBC is defined.
29413 (_IO_fwide): Drop SHARED conditional because it is implied by
29415 * libio/iofwrite.c: Assume weak_alias is defined.
29416 * libio/iogetdelim.c: Likewise.
29417 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29418 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29419 (_IO_getwline): Call __wmemcpy directly.
29420 * libio/iopopen.c: Assume _LIBC is defined.
29421 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29422 (_IO_close): Remove macro definitions.
29423 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29425 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29427 * libio/ioputs.c: Assume weak_alias is defined.
29428 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29429 * libio/iosetbuffer.c: Assume weak_alias is defined.
29430 * libio/iosetvbuf.c: Likewise.
29431 * libio/ioungetc.c: Likewise.
29432 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29433 libc_hidden_def, libc_hidden_weak, NULL are defined.
29434 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29435 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29437 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29439 (_IO_old_file_init_internal): Drop SHARED conditional because it
29440 is implied by SHLIB_COMPAT.
29441 (_IO_old_file_fopen): Call __open directly.
29442 (_IO_old_file_sync): Assume ESPIPE is defined.
29443 (_IO_old_file_write): Call __write directly.
29444 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29445 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29446 Call __fcntl directly.
29447 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29448 (_IO_old_fgetpos): Assume EIO is defined.
29449 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29450 (_IO_old_fgetpos64): Assume EIO is defined.
29451 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29452 (_IO_old_fsetpos): Assume EIO is defined.
29453 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29454 (_IO_old_fsetpos64): Assume EIO is defined.
29455 * libio/oldiopopen.c: Assume _LIBC is defined.
29456 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29457 (_IO_close): Remove macro definitions.
29458 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29460 (_IO_old_proc_close): Call __close, __waitpid directly.
29461 * libio/put.c: Assume weak_alias is defined.
29462 * libio/stdfiles.c: Assume _LIBC is defined.
29463 * libio/stdio.c: Likewise.
29464 * libio/wfileops.c: Likewise.
29465 (_IO_wfile_sync): Assume ESPIPE is defined.
29466 * libio/wgenops.c: Assume _LIBC is defined.
29467 (save_for_wbackup): Remove internal_function.
29469 2017-08-31 Florian Weimer <fweimer@redhat.com>
29471 * malloc/malloc.c (top_check): Change return type to void. Remove
29473 * malloc/hooks.c (top_check): Likewise.
29474 (malloc_check, realloc_check, memalign_check): Adjust.
29476 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29479 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29480 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29481 sigcontext and namespace requirements.
29482 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29483 * sysdeps/m68k/sys/ucontext.h: Likewise.
29484 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29485 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29486 <bits/sigcontext.h>.
29487 (__ctx): Define earlier.
29488 (mcontext_t): Define structure contents rather than using struct
29490 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29491 __glibc_reserved1 instead of __reserved.
29492 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29493 <bits/sigcontext.h>.
29494 (__ctx): Define earlier.
29495 (mcontext_t): Define structure contents rather than using struct
29497 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29498 mcontext_t instead of struct sigcontext.
29499 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29500 <bits/sigcontext.h>.
29501 (__ctx): Define earlier.
29502 (mcontext_t): Define structure contents rather than using struct
29504 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29505 <bits/sigcontext.h>.
29506 (__ctx): Define earlier.
29507 (mcontext_t): Define structure contents rather than using struct
29509 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29510 mcontext_t instead of struct sigcontext.
29511 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29512 mcontext_t instead of struct sigcontext.
29513 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29514 <bits/sigcontext.h>.
29515 (__ctx): New macro.
29516 (struct __ia64_fpreg_mcontext): New type.
29517 (mcontext_t): Define structure contents rather than using struct
29519 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29520 (uc_sigmask): Define using __ctx.
29521 (uc_stack): Likewise.
29522 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29523 <bits/sigcontext.h>.
29524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29525 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29526 <bits/sigcontext.h>.
29527 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29528 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29529 <bits/sigcontext.h>.
29530 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29531 <bits/sigcontext.h>.
29532 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29533 <bits/sigcontext.h>.
29534 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29535 <bits/sigcontext.h>.
29536 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29537 <bits/sigcontext.h>.
29538 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29539 <bits/sigcontext.h>.
29540 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29541 <bits/sigcontext.h>.
29542 (__ctx): Define earlier.
29543 (mcontext_t): Define structure contents rather than using struct
29545 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29546 <bits/sigcontext.h>. Include <bits/types.h>.
29547 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29548 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29549 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29550 (test-xfail-UNIX98/signal.h/conform): Likewise.
29551 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29552 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29553 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29554 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29555 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29556 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29557 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29558 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29559 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29561 2017-08-30 Florian Weimer <fweimer@redhat.com>
29563 * malloc/dynarray_emplace_enlarge.c
29564 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29565 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29566 * malloc/tst-dynarray.c (test_long_overflow): New function.
29567 (do_test): Call it.
29569 2017-08-30 Florian Weimer <fweimer@redhat.com>
29571 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29572 (set_arena_corrupt): Remove definitions.
29573 (mtrim): Do not check for corrupt arena.
29574 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29577 2017-08-30 Florian Weimer <fweimer@redhat.com>
29580 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29582 (ptmalloc_init): Do not set or use check_action.
29583 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29584 call to malloc_printerr. Remove return statement.
29585 (free_check): Likewise. Remove arena unlock.
29586 (top_check): Update comment. Adjust call to malloc_printerr.
29587 Remove heap repair code.
29588 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29589 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29590 (sysmalloc): Adjust call to malloc_printerr.
29591 (munmap_chunk, __libc_realloc): Likewise. Remove return
29593 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29594 Remove errout label and corresponding gotos.
29595 (_int_free): Likewise. Remove arena unlock.
29596 (do_set_mallopt_check): Do not set check_action.
29597 (malloc_printerr): Adjust parameter list. Do not mark arena as
29599 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29601 * manual/probes.texi (Memory Allocation Probes): Remove
29602 memory_mallopt_check_action.
29604 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29606 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29607 Use pointer to uint64_t instead of long int for sp.
29609 2017-08-30 Florian Weimer <fweimer@redhat.com>
29612 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29613 without printing a backtrace. Do not leak any information in the
29615 * manual/memory.texi (Heap Consistency Checking): Update.
29616 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29618 2017-08-30 Florian Weimer <fweimer@redhat.com>
29620 Do not scale NPTL tests with available number of CPUs.
29621 * nptl/tst-cond16.c (count): Set to constant value of 8.
29622 * nptl/tst-cond18.c (count): Likewise.
29624 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29627 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29628 Define to take a second argument that is a macro that
29629 concatentates a suffix, not the suffix itself.
29630 (__CONCAT_d): New macro.
29631 (__CONCAT_f): Likewise.
29632 (__CONCAT_l): Likewise.
29634 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29636 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29639 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29640 Aurelien Jarno <aurelien@aurel32.net>
29641 Maciej W. Rozycki <macro@imgtec.com>
29644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29645 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29646 `mips16-syscall6' and `mips16-syscall7'.
29647 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29648 (CFLAGS-mips16-syscall7.c): Remove.
29649 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29650 Remove `__mips16_syscall5', `__mips16_syscall6' and
29651 `__mips16_syscall7'.
29652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29653 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29654 `__mips_syscall_return'.
29655 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29656 (__mips16_syscall1): Likewise.
29657 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29658 (__mips16_syscall2): Likewise.
29659 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29660 (__mips16_syscall3): Likewise.
29661 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29662 (__mips16_syscall4): Likewise.
29663 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29665 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29667 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29669 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29670 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29671 `__mips16_syscall5'. Remove prototype.
29672 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29673 `__mips16_syscall6'. Remove prototype.
29674 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29675 `__mips16_syscall7'. Remove prototype.
29676 (__nomips16, __mips16_syscall_return): Move to...
29677 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29678 (__nomips16, __mips_syscall_return): ... here.
29679 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29680 `__mips16_syscall_return' to `__mips_syscall_return'.
29681 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29682 `internal_syscall##nr'.
29683 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29684 `internal_syscall##nr'.
29685 (FORCE_FRAME_POINTER): Remove.
29686 (__mips_syscall5): New prototype.
29687 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29688 (__mips_syscall6): New prototype.
29689 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29690 (__mips_syscall7): New prototype.
29691 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29692 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29693 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29694 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29695 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29696 (sysdep_routines): Add libc-do-syscall.
29697 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29698 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29700 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29703 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29704 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29705 (advise_stack_range): New function.
29706 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29707 stack non required to advise_stack_range at allocatestack.c
29709 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29711 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29713 2017-08-29 Florian Weimer <fweimer@redhat.com>
29716 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29717 __end_fct. Mangle __end_fct after setting it to NULL.
29718 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29719 (modules-names, modules-names-tests): Add
29720 tst-gconv-init-failure-mod.
29721 (gconv-modules): New target.
29722 (tst-gconv-init-failure-mod.so): Link against libsupport.
29723 (tst-gconv-init-failure): Depend on gconv-modules,
29724 tst-gconv-init-failure-mod.so.
29725 * iconv/tst-gconv-init-failure-mod.c: New file.
29726 * iconv/tst-gconv-init-failure.c: Likewise.
29727 * iconv/test-gconv-modules: Likewise.
29729 2017-08-29 Florian Weimer <fweimer@redhat.com>
29732 * iconv/gconv_db.c (free_derivation): Remove redundant
29734 (gen_steps): Unconditionally mangle __btowc_fct after
29736 (increment_counter): Likewise. Do not call init_fct for internal
29739 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29742 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29743 (_MSUF_): Remove macro.
29744 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29746 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29747 (__REDIRFROM_X): New macro.
29748 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29750 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29751 (__REDIRTO_X): Likewise.
29752 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29754 (__MATH_REDIRCALL_2): Likewise.
29755 (__MATH_REDIRCALL_INTERNAL): Likewise.
29756 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29757 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29758 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29759 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29760 * math/test-finite-macros.c: New file.
29761 * math/Makefile (tests): Add test-finite-macros.
29762 (CFLAGS-test-finite-macros.c): New variable.
29764 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29765 Jeff Law <law@redhat.com>
29768 Mangle NULL pointers in iconv/gconv.
29769 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29770 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29771 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29772 is non-NULL before demangling the end_fct. Check for NULL
29773 end_fct after demangling.
29774 (__gconv_release_step): Demangle the end_fct before checking
29775 it for NULL. Remove assert on __shlibc_handle != NULL.
29776 (gen_steps): Don't check btowc_fct for NULL before mangling.
29777 Demangle init_fct before checking for NULL.
29778 (increment_counter): Likewise.
29779 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29780 end_fct for NULL before mangling.
29781 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29784 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29787 * locale/iso-639.def: add Morisyen.
29789 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29792 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29793 (iszero): New C++ implementation that does not use
29794 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29795 signaling nans are enabled, since __builtin_types_compatible_p
29796 is a C-only feature.
29797 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29798 defined, include ieee754_float128.h for access to the union and
29799 member ieee854_float128.ieee.
29800 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29801 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29802 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29803 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29804 options of test-math-zero on powerpc64le.
29806 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29808 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29809 Change double to float.
29811 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29813 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29815 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29816 conditional code; define contents only for [LIBM_SVID_COMPAT].
29818 2017-08-28 Florian Weimer <fweimer@redhat.com>
29820 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29821 (abi-lp64_be-options): Remove.
29822 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29823 (abi-hard-options): Likewise.
29824 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29825 (abi-o32_hard-options, abi-o32_soft_2008-options)
29826 (abi-o32_hard_2008-options, abi-n32_soft-options)
29827 (abi-n32_hard-options, abi-n32_soft_2008-options)
29828 (abi-n32_hard_2008-options, abi-n64_soft-options)
29829 (abi-n64_hard-options, abi-n64_soft_2008-options)
29830 (abi-n64_hard_2008-options): Likewise.
29831 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29832 (abi-64-v1-options, abi-64-v2-options): Likewise.
29833 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29834 (abi-64-options): Likewise.
29835 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29836 (abi-64-options): Likewise.
29837 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29838 (abi-64-options): Likewise.
29839 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29840 (abi-64-options, abi-x32-options): Likewise.
29842 2017-08-28 Florian Weimer <fweimer@redhat.com>
29844 Store supported list of SYS_* system calls in the source tree.
29845 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29846 (bits/syscall.h): Generate from list file.
29847 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29848 [$(subdir) = misc] (tests): Add tst-syscall-list.
29849 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29850 [$(subdir) = misc] (tst-syscall-list-macros.list)
29851 [$(subdir) = misc] (tst-syscall-list-nr.list)
29852 (tst-syscall-list-sys.list): Helper targets for new
29853 tst-syscall-list test.
29854 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29855 tst-syscall-list.sh.
29856 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29857 target. Do not include bits/syscall.d.
29858 [$(subdir) = misc] (generated): Do not update.
29859 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29860 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29861 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29862 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29864 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29866 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29867 (tst-cxa_atexit, tst-on_exit): Likewise.
29868 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29869 tst-cxa_atexit, and tst-on_exit.
29870 * stdlib/tst-atexit-common.c: New file.
29871 * stdlib/tst-atexit.c: New file.
29872 * stdlib/tst-at_quick_exit.c: New file.
29873 * stdlib/tst-cxa_atexit.c: New file.
29874 * stdlib/tst-on_exit.c: New file.
29876 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29878 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29879 * mach/stack_chk_fail_local.c: New file.
29880 * hurd/stack_chk_fail_local.c: New file.
29881 * mach/Machrules ($(interface-library)-routines): Add
29882 stack_chk_fail_local.
29883 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29884 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29885 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29886 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29887 * hurd/Makefile (CFLAGS-hurdstartup.o,
29888 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29890 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29893 (index_cpu_*, index_arch_*): Removed.
29895 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29897 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29898 Use uint64_t instead of unsigned long.
29900 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29902 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29903 [__HAVE_DISTINCT_FLOAT128].
29905 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29906 of <bits/math-finite.h>.
29907 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29908 inclusion of <bits/math-finite.h>.
29909 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29910 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29911 __NO_LONG_DOUBLE_MATH].
29912 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29913 (__MATH_REDIRCALL_2): Likewise.
29914 (__MATH_REDIRCALL_INTERNAL): Likewise.
29915 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29916 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29917 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29936 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29937 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29938 w_sqrtf_compat-ppc32.
29940 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29942 * math/math.h [defined __cplusplus] (issignaling): In the long
29943 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29944 is not defined. Call __issignaling, otherwise.
29946 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29948 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29949 syscall definitions and replace __builtin_expect with __glibc_likely.
29950 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29952 (SYSCALL_CANCELLABLE): Removedefinition
29953 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29955 (PSEUDO_END): Likewise.
29956 [IS_IN (libpthread)] (CENABLE): Likewise.
29957 [IS_IN (libpthread)] (CDISABLE): Likewise.
29958 [IS_IN (libc)] (CENABLE): Likewise.
29959 [IS_IN (libc)] (CENABLE): Likewise.
29960 [IS_IN (librt)] (CDISABLE): Likewise.
29961 [IS_IN (librt)] (CDISABLE): Likewise.
29962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29963 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29965 (PSEUDO_END): Likewise.
29966 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29967 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29968 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29969 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29970 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29971 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29972 (CENABLE): Likewise.
29973 (CDISABLE): Likewise.
29974 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29975 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29977 (PSEUDO_END): Likewise.
29978 [IS_IN (libpthread)] (CENABLE): Likewise.
29979 [IS_IN (libpthread)] (CDISABLE): Likewise.
29980 [IS_IN (libc)] (CENABLE): Likewise.
29981 [IS_IN (libc)] (CENABLE): Likewise.
29982 [IS_IN (librt)] (CDISABLE): Likewise.
29983 [IS_IN (librt)] (CDISABLE): Likewise.
29984 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29985 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29987 (PSEUDO_END): Likewise.
29988 [IS_IN (libpthread)] (CENABLE): Likewise.
29989 [IS_IN (libpthread)] (CDISABLE): Likewise.
29990 [IS_IN (libc)] (CENABLE): Likewise.
29991 [IS_IN (libc)] (CENABLE): Likewise.
29992 [IS_IN (librt)] (CDISABLE): Likewise.
29993 [IS_IN (librt)] (CDISABLE): Likewise.
29994 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29995 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29997 (PSEUDO_END): Likewise.
29998 [IS_IN (libpthread)] (CENABLE): Likewise.
29999 [IS_IN (libpthread)] (CDISABLE): Likewise.
30000 [IS_IN (libc)] (CENABLE): Likewise.
30001 [IS_IN (libc)] (CENABLE): Likewise.
30002 [IS_IN (librt)] (CDISABLE): Likewise.
30003 [IS_IN (librt)] (CDISABLE): Likewise.
30004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30005 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30007 (PSEUDO_END): Likewise.
30008 [IS_IN (libpthread)] (CENABLE): Likewise.
30009 [IS_IN (libpthread)] (CDISABLE): Likewise.
30010 [IS_IN (libc)] (CENABLE): Likewise.
30011 [IS_IN (libc)] (CENABLE): Likewise.
30012 [IS_IN (librt)] (CDISABLE): Likewise.
30013 [IS_IN (librt)] (CDISABLE): Likewise.
30014 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30015 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30017 (PSEUDO_END): Likewise.
30018 [IS_IN (libpthread)] (CENABLE): Likewise.
30019 [IS_IN (libpthread)] (CDISABLE): Likewise.
30020 [IS_IN (libc)] (CENABLE): Likewise.
30021 [IS_IN (libc)] (CENABLE): Likewise.
30022 [IS_IN (librt)] (CDISABLE): Likewise.
30023 [IS_IN (librt)] (CDISABLE): Likewise.
30024 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30025 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30027 (PSEUDO_END): Likewise.
30028 [IS_IN (libpthread)] (CENABLE): Likewise.
30029 [IS_IN (libpthread)] (CDISABLE): Likewise.
30030 [IS_IN (libc)] (CENABLE): Likewise.
30031 [IS_IN (libc)] (CENABLE): Likewise.
30032 [IS_IN (librt)] (CDISABLE): Likewise.
30033 [IS_IN (librt)] (CDISABLE): Likewise.
30034 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30035 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30037 (PSEUDO_END): Likewise.
30038 [IS_IN (libpthread)] (CENABLE): Likewise.
30039 [IS_IN (libpthread)] (CDISABLE): Likewise.
30040 [IS_IN (libc)] (CENABLE): Likewise.
30041 [IS_IN (libc)] (CENABLE): Likewise.
30042 [IS_IN (librt)] (CDISABLE): Likewise.
30043 [IS_IN (librt)] (CDISABLE): Likewise.
30044 (SINGLE_THREAD_P): Likewise.
30045 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30047 (PSEUDO_END): Likewise.
30048 [IS_IN (libpthread)] (CENABLE): Likewise.
30049 [IS_IN (libpthread)] (CDISABLE): Likewise.
30050 [IS_IN (libc)] (CENABLE): Likewise.
30051 [IS_IN (libc)] (CENABLE): Likewise.
30052 [IS_IN (librt)] (CDISABLE): Likewise.
30053 [IS_IN (librt)] (CDISABLE): Likewise.
30054 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30055 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30057 (PSEUDO_END): Likewise.
30058 [IS_IN (libpthread)] (CENABLE): Likewise.
30059 [IS_IN (libpthread)] (CDISABLE): Likewise.
30060 [IS_IN (libc)] (CENABLE): Likewise.
30061 [IS_IN (libc)] (CENABLE): Likewise.
30062 [IS_IN (librt)] (CDISABLE): Likewise.
30063 [IS_IN (librt)] (CDISABLE): Likewise.
30064 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30065 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30066 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30067 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30070 (PSEUDO_END): Likewise.
30071 [IS_IN (libpthread)] (CENABLE): Likewise.
30072 [IS_IN (libpthread)] (CDISABLE): Likewise.
30073 [IS_IN (libc)] (CENABLE): Likewise.
30074 [IS_IN (libc)] (CENABLE): Likewise.
30075 [IS_IN (librt)] (CDISABLE): Likewise.
30076 [IS_IN (librt)] (CDISABLE): Likewise.
30077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30080 (PSEUDO_END): Likewise.
30081 [IS_IN (libpthread)] (CENABLE): Likewise.
30082 [IS_IN (libpthread)] (CDISABLE): Likewise.
30083 [IS_IN (libc)] (CENABLE): Likewise.
30084 [IS_IN (libc)] (CENABLE): Likewise.
30085 [IS_IN (librt)] (CDISABLE): Likewise.
30086 [IS_IN (librt)] (CDISABLE): Likewise.
30087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30088 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30090 (PSEUDO_END): Likewise.
30091 [IS_IN (libpthread)] (CENABLE): Likewise.
30092 [IS_IN (libpthread)] (CDISABLE): Likewise.
30093 [IS_IN (libc)] (CENABLE): Likewise.
30094 [IS_IN (libc)] (CENABLE): Likewise.
30095 [IS_IN (librt)] (CDISABLE): Likewise.
30096 [IS_IN (librt)] (CDISABLE): Likewise.
30097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30100 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30101 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30103 (PSEUDO_END): Likewise.
30104 [IS_IN (libpthread)] (CENABLE): Likewise.
30105 [IS_IN (libpthread)] (CDISABLE): Likewise.
30106 [IS_IN (libc)] (CENABLE): Likewise.
30107 [IS_IN (libc)] (CENABLE): Likewise.
30108 [IS_IN (librt)] (CDISABLE): Likewise.
30109 [IS_IN (librt)] (CDISABLE): Likewise.
30110 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30111 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30113 (PSEUDO_END): Likewise.
30114 [IS_IN (libpthread)] (CENABLE): Likewise.
30115 [IS_IN (libpthread)] (CDISABLE): Likewise.
30116 [IS_IN (libc)] (CENABLE): Likewise.
30117 [IS_IN (libc)] (CENABLE): Likewise.
30118 [IS_IN (librt)] (CDISABLE): Likewise.
30119 [IS_IN (librt)] (CDISABLE): Likewise.
30120 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30122 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30124 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30126 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30130 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30133 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30134 middle and outer with size_t instead of int. Repleace %d and
30135 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30136 "MAX (outer, nchars - 64)" to support unsigned outer and
30137 nchars. Also exit loop when outer == 0.
30139 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30141 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30142 * include/signal.h (__sigsuspend_nocancel): Likewise.
30143 * include/time.h (__nanosleep_nocancel): Likewise.
30144 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30145 * login/utmp_file.c: Include non cancellable syscall header.
30146 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30149 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30151 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30152 .byte sequences with AVX512F instructions.
30153 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30154 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30155 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30158 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30161 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30162 Steve Ellcey <sellcey@cavium.com>
30164 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30165 Use PTR_REG macro in cmp instruction.
30167 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30169 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30170 Change the return type of the ifunc resolver to match the return
30171 type of the target function.
30173 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30175 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30176 (preadv64): Likewise.
30177 (pwrite64(: Likewise.
30178 (pwritev64): Likewise.
30180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30181 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30182 (LOAD_ARGS_0): Likewise.
30183 (LOAD_ARGS_1): Likewise.
30184 (LOAD_ARGS_2): Likewise.
30185 (LOAD_ARGS_3): Likewise.
30186 (LOAD_ARGS_4): Likewise.
30187 (LOAD_ARGS_5): Likewise.
30188 (LOAD_ARGS_6): Likewise.
30189 (LOAD_REGS_0): Likewise.
30190 (LOAD_REGS_1): Likewise.
30191 (LOAD_REGS_2): Likewise.
30192 (LOAD_REGS_3): Likewise.
30193 (LOAD_REGS_4): Likewise.
30194 (LOAD_REGS_5): Likewise.
30195 (LOAD_REGS_6): Likewise.
30196 (ASM_ARGS_0): Likewise.
30197 (ASM_ARGS_1): Likewise.
30198 (ASM_ARGS_2): Likewise.
30199 (ASM_ARGS_3): Likewise.
30200 (ASM_ARGS_4): Likewise.
30201 (ASM_ARGS_5): Likewise.
30202 (ASM_ARGS_6): Likewise.
30203 (LOAD_ARGS_TYPES_1): Likewise.
30204 (LOAD_ARGS_TYPES_2): Likewise.
30205 (LOAD_ARGS_TYPES_3): Likewise.
30206 (LOAD_ARGS_TYPES_4): Likewise.
30207 (LOAD_ARGS_TYPES_5): Likewise.
30208 (LOAD_ARGS_TYPES_6): Likewise.
30209 (LOAD_REGS_TYPES_1): Likewise.
30210 (LOAD_REGS_TYPES_2): Likewise.
30211 (LOAD_REGS_TYPES_3): Likewise.
30212 (LOAD_REGS_TYPES_4): Likewise.
30213 (LOAD_REGS_TYPES_5): Likewise.
30214 (LOAD_REGS_TYPES_6): Likewise.
30215 (TYPEFY): New define.
30216 (ARGIFY): Likewise.
30217 (internal_syscall0): Likewise.
30218 (internal_syscall1): Likewise.
30219 (internal_syscall2): Likewise.
30220 (internal_syscall3): Likewise.
30221 (internal_syscall4): Likewise.
30222 (internal_syscall5): Likewise.
30223 (internal_syscall6): Likewise.
30224 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30225 (INTERNAL_SYSCALL_NCS): Remove define.
30226 (internal_syscall1): Add define.
30228 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30230 * math/w_remainder_compat.c: Remove duplicate inclusion of
30231 math-svid-compat.h.
30232 * math/w_remainderf_compat.c: Likewise.
30233 * math/w_remainderl_compat.c: Likewise.
30235 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30239 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30242 * math/tgmath.h (__floating_type): Simplify definitions.
30243 (__real_integer_type): New macro.
30244 (__complex_integer_type): Likewise.
30245 (__expr_is_real): Likewise.
30246 (__tgmath_real_type_sub): Update comment to describe handling of
30248 (__tgmath_complex_type_sub): New macro.
30249 (__tgmath_complex_type): Likewise.
30250 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30251 (__TGMATH_CF128): Use __expr_is_real.
30252 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30254 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30255 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30256 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30259 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30261 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30263 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30265 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30268 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30269 nanosleep_not_cancel with __nanosleep_nocancel.
30270 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30271 (__nanosleep_nocancel): New macro.
30272 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30274 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30276 (__nanosleep_nocancel): New prototype.
30278 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30279 pause_not_cancel with __pause_nocancel.
30280 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30281 (__pause_nocancel): New macro.
30282 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30284 (__pause_nocancel): New prototype.
30285 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30287 2017-08-22 Martin Sebor <msebor@redhat.com>
30289 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30290 to return a pointer to the same type as the target function.
30292 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30296 * include/printf.h (__printf_fphex): Add attribute_hidden.
30297 (__guess_grouping): New prototype.
30298 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30299 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30300 libc_hidden_proto and libc_hidden_def.
30301 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30302 (__vstrfmon_l): Remove the third argument passed to
30305 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30307 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30308 definition for issignaling that does not rely on __MATH_TG,
30309 since __MATH_TG uses __builtin_types_compatible_p, which is only
30310 available in C mode.
30311 (CFLAGS-test-math-issignaling.cc): New variable.
30312 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30313 * math/test-math-issignaling.cc: New test for C++ implementation
30314 of type-generic issignaling.
30315 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30316 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30317 options of test-math-issignaling on powerpc64le.
30319 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30321 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30323 (hidden_proto): Likewise.
30324 (hidden_tls_proto): Likewise.
30325 (__hidden_proto): Likewise.
30327 2017-08-22 Florian Weimer <fweimer@redhat.com>
30329 math: Statically link tests of internal functionality.
30330 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30332 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30333 (gmp-objs): Remove assignment.
30334 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30336 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30339 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30341 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30343 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30346 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30347 variable definitions above inclusion of ../Rules.
30349 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30351 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30352 case calling __builtin_unreachable.
30354 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30356 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30357 __waitpid_nocancel.
30358 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30359 (__waitpid_nocancel): New macro.
30360 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30362 (__waitpid_nocancel): Replace macro with a function.
30363 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30366 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30368 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30369 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30371 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30372 __writev_nocancel_nostatus.
30373 (write_call_graph): Likewise.
30374 (write_bb_counts): Likewise.
30375 * resolv/herror.c (herror): Likewise.
30376 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30378 (__writev_nocancel_nostatus): New macro.
30379 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30381 (__writev_nocancel_nostatus): New function.
30383 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30386 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30388 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30390 (hidden_proto): Likewise.
30391 (hidden_tls_proto): Likewise.
30392 (__hidden_proto): Likewise.
30395 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30396 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30407 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30408 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30409 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30410 GLIBC_2.0 sqrtl symbol.
30412 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30413 [__USE_MISC] (_LIB_VERSION): Likewise.
30414 [__USE_MISC] (struct exception): Likewise.
30415 [__USE_MISC] (matherr): Likewise.
30416 [__USE_MISC] (DOMAIN): Likewise.
30417 [__USE_MISC] (SING): Likewise.
30418 [__USE_MISC] (OVERFLOW): Likewise.
30419 [__USE_MISC] (UNDERFLOW): Likewise.
30420 [__USE_MISC] (TLOSS): Likewise.
30421 [__USE_MISC] (PLOSS): Likewise.
30422 [__USE_MISC] (HUGE): Likewise.
30423 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30424 * math/math-svid-compat.h: New file.
30425 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30427 * include/math.h [!_ISOMAC] (__matherr): Remove.
30428 * manual/arith.texi (FP Exceptions): Do not document matherr.
30429 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30430 (tests-internal): New variable.
30431 (install-lib): Do not add libieee.a.
30432 (non-lib.a): Likewise.
30433 (extra-objs): Do not add libieee.a and ieee-math.o.
30434 (CPPFLAGS-s_lib_version.c): Remove variable.
30435 ($(objpfx)libieee.a): Remove rule.
30436 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30437 * math/ieee-math.c: Remove.
30438 * math/libm-test-support.c (matherr): Remove.
30439 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30440 and license notices. Include <math-svid-compat.h> and
30442 (matherr): Undefine as macro. Use compat_symbol_reference.
30443 (_LIB_VERSION): Likewise.
30444 * math/test-matherr-2.c: New file.
30445 * math/test-matherr-3.c: Likewise.
30446 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30448 (__kernel_standard_f): Likewise.
30449 (__kernel_standard_l): Likewise.
30450 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30451 <math_private.h>. Include <math-svid-compat.h>.
30452 (_LIB_VERSION): Undefine as macro.
30453 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30454 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30455 [LIBM_SVID_COMPAT], use compat_symbol.
30456 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30457 <math_private.h>. Include <math-svid-compat.h>.
30458 (matherr): Undefine as macro.
30459 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30461 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30462 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30463 compat_symbol_reference.
30464 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30465 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30466 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30467 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30468 (MATHERR_D): Remove declaration.
30469 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30470 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30471 [LIBM_BUILD] (pmatherrf): Likewise.
30472 [LIBM_BUILD] (pmatherr): Likewise.
30473 [LIBM_BUILD] (pmatherrl): Likewise.
30474 (DOMAIN): Likewise.
30476 (OVERFLOW): Likewise.
30477 (UNDERFLOW): Likewise.
30480 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30481 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30483 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30484 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30486 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30487 * math/w_acos_compat.c: Likewise.
30488 * math/w_acosf_compat.c: Likewise.
30489 * math/w_acosh_compat.c: Likewise.
30490 * math/w_acoshf_compat.c: Likewise.
30491 * math/w_acoshl_compat.c: Likewise.
30492 * math/w_acosl_compat.c: Likewise.
30493 * math/w_asin_compat.c: Likewise.
30494 * math/w_asinf_compat.c: Likewise.
30495 * math/w_asinl_compat.c: Likewise.
30496 * math/w_atan2_compat.c: Likewise.
30497 * math/w_atan2f_compat.c: Likewise.
30498 * math/w_atan2l_compat.c: Likewise.
30499 * math/w_atanh_compat.c: Likewise.
30500 * math/w_atanhf_compat.c: Likewise.
30501 * math/w_atanhl_compat.c: Likewise.
30502 * math/w_cosh_compat.c: Likewise.
30503 * math/w_coshf_compat.c: Likewise.
30504 * math/w_coshl_compat.c: Likewise.
30505 * math/w_exp10_compat.c: Likewise.
30506 * math/w_exp10f_compat.c: Likewise.
30507 * math/w_exp10l_compat.c: Likewise.
30508 * math/w_exp2_compat.c: Likewise.
30509 * math/w_exp2f_compat.c: Likewise.
30510 * math/w_exp2l_compat.c: Likewise.
30511 * math/w_fmod_compat.c: Likewise.
30512 * math/w_fmodf_compat.c: Likewise.
30513 * math/w_fmodl_compat.c: Likewise.
30514 * math/w_hypot_compat.c: Likewise.
30515 * math/w_hypotf_compat.c: Likewise.
30516 * math/w_hypotl_compat.c: Likewise.
30517 * math/w_j0_compat.c: Likewise.
30518 * math/w_j0f_compat.c: Likewise.
30519 * math/w_j0l_compat.c: Likewise.
30520 * math/w_j1_compat.c: Likewise.
30521 * math/w_j1f_compat.c: Likewise.
30522 * math/w_j1l_compat.c: Likewise.
30523 * math/w_jn_compat.c: Likewise.
30524 * math/w_jnf_compat.c: Likewise.
30525 * math/w_jnl_compat.c: Likewise.
30526 * math/w_lgamma_main.c: Likewise.
30527 * math/w_lgamma_r_compat.c: Likewise.
30528 * math/w_lgammaf_main.c: Likewise.
30529 * math/w_lgammaf_r_compat.c: Likewise.
30530 * math/w_lgammal_main.c: Likewise.
30531 * math/w_lgammal_r_compat.c: Likewise.
30532 * math/w_log10_compat.c: Likewise.
30533 * math/w_log10f_compat.c: Likewise.
30534 * math/w_log10l_compat.c: Likewise.
30535 * math/w_log2_compat.c: Likewise.
30536 * math/w_log2f_compat.c: Likewise.
30537 * math/w_log2l_compat.c: Likewise.
30538 * math/w_log_compat.c: Likewise.
30539 * math/w_logf_compat.c: Likewise.
30540 * math/w_logl_compat.c: Likewise.
30541 * math/w_pow_compat.c: Likewise.
30542 * math/w_powf_compat.c: Likewise.
30543 * math/w_powl_compat.c: Likewise.
30544 * math/w_remainder_compat.c: Likewise.
30545 * math/w_remainderf_compat.c: Likewise.
30546 * math/w_remainderl_compat.c: Likewise.
30547 * math/w_scalb_compat.c: Likewise.
30548 * math/w_scalbf_compat.c: Likewise.
30549 * math/w_scalbl_compat.c: Likewise.
30550 * math/w_sinh_compat.c: Likewise.
30551 * math/w_sinhf_compat.c: Likewise.
30552 * math/w_sinhl_compat.c: Likewise.
30553 * math/w_sqrt_compat.c: Likewise.
30554 * math/w_sqrtf_compat.c: Likewise.
30555 * math/w_sqrtl_compat.c: Likewise.
30556 * math/w_tgamma_compat.c: Likewise.
30557 * math/w_tgammaf_compat.c: Likewise.
30558 * math/w_tgammal_compat.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30560 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30561 * sysdeps/ieee754/k_standard.c: Likewise.
30562 * sysdeps/ieee754/k_standardf.c: Likewise.
30563 * sysdeps/ieee754/k_standardl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30566 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30570 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30571 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30572 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30579 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30580 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30582 2017-08-21 Florian Weimer <fweimer@redhat.com>
30585 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30586 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30587 Move before inclusion of ../Rules.
30589 2017-08-21 Florian Weimer <fweimer@redhat.com>
30592 * assert/assert.h (assert): Use static_cast (bool) for C++.
30593 Use the ternary operator in the warning branch for GNU C.
30594 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30595 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30596 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30597 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30598 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30600 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30603 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30604 (__syscall_clock_gettime): Add attribute_hidden.
30605 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30606 (__start_context): Likewise.
30608 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30610 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30612 (hidden_proto): Likewise.
30613 (hidden_tls_proto): Likewise.
30614 (__hidden_proto): Likewise.
30616 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30618 * include/libc-symbols.h (attribute_hidden): Enable hidden
30619 visibility in libc.a compiled with PIE.
30621 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30624 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30625 Add attribute_hidden.
30627 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30630 * Makerules (all-nonlib): Add $(others-extras).
30631 * catgets/Makefile (others-extras): New.
30632 * elf/Makefile (others-extras): Likewise.
30633 * nss/Makefile (others-extras): Likewise.
30635 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30638 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30639 * elf/dl-open.c: Include <libc-internal.h>.
30640 (__libc_multiple_libcs): Removed.
30641 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30643 * include/libc-internal.h (__libc_multiple_libcs): New.
30644 * misc/sbrk.c: Include <libc-internal.h>.
30645 (__libc_multiple_libcs): Removed.
30647 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30650 * grp/initgroups.c (__nss_group_database): Removed.
30651 (__nss_initgroups_database): Likewise.
30652 * nscd/gai.c (__nss_hosts_database): Likewise.
30653 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30654 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30655 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30656 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30657 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30658 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30660 * nss/nsswitch.c (__nss_database_custom): Define only if
30661 USE_NSCD is defined.
30662 (__nss_configure_lookup): Use __nss_database_custom only if
30663 USE_NSCD is defined.
30664 * nss/nsswitch.h (__nss_database_custom): Declare only if
30665 USE_NSCD is defined. Add attribute_hidden.
30666 (__nss_setent): Add attribute_hidden.
30667 (__nss_endent): Likewise.
30668 (__nss_getent_r): Likewise.
30669 (__nss_getent): Likewise.
30670 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30672 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30675 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30676 libc_hidden_proto and libc_hidden_def.
30678 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30681 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30682 Add libc_hidden_proto.
30683 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30684 Add libc_hidden_def.
30686 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30689 * gmon/Makefile (routines): Remove bb_init_func and
30691 (elide-routines.os): Removed.
30692 * gmon/bb_exit_func.c: Likewise.
30693 * gmon/bb_init_func.c: Likewise.
30694 * include/sys/gmon.h (__bb): Likewise.
30695 (__bb_init_func): Likewise.
30696 (__bb_exit_func): Likewise.
30697 * sysdeps/alpha/bb_init_func.S: Likewise.
30699 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30701 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30702 * include/setjmp.h (____longjmp_chk): Here. Add
30705 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30708 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30710 (__strspn_sse2): Likewise.
30712 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30714 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30715 (close_not_cancel_no_status): Likewise.
30716 (__close_nocancel): New macro.
30717 (__close_nocancel_nostatus): Likewise.
30718 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30720 (close_not_cancel): Likewise.
30721 (close_not_cancel_no_status): Likewise.
30722 (__close_nocancel): New prototype.
30723 (__close_nocancel_nostatus): New function.
30724 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30725 * catgets/open_catalog.c (__open_catalog): Replace
30726 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30727 * gmon/gmon.c (write_gmon): Likewise.
30728 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30729 * intl/loadmsgcat.c (close): Likewise.
30730 * io/ftw.c (open_dir_stream): Likewise.
30731 (ftw_startup): Likewise.
30732 * libio/fileops.c (_IO_file_open): Likewise.
30733 (_IO_file_close_mmap): Likewise.
30734 (_IO_file_close): Likewise.
30735 * libio/iopopen.c (_IO_dup2): Likewise.
30736 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30737 * locale/loadlocale.c (_nl_load_locale): Likewise.
30738 * login/utmp_file.c (pututline_file): Likewise.
30739 (endutent_file): Likewise.
30740 * misc/daemon.c (daemon): Likewise.
30741 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30742 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30743 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30744 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30745 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30746 * nscd/nscd_helper.c (open_socket): Likewise.
30747 (__nscd_open_socket): Likewise.
30748 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30749 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30750 (__nscd_innetgr): Likewise.
30751 * nss/nss_db/db-open.c (internal_setent): Likewise.
30752 * resolv/res-close.c (__res_iclose): Likewise.
30753 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30754 * sysdeps/posix/closedir.c (__closedir): Likewise.
30755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30756 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30757 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30758 (opendir_tail): Likewise.
30759 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30760 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30761 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30762 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30763 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30764 (gethostid): Likewise.
30765 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30766 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30769 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30770 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30771 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30773 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30774 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30775 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30777 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30778 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30780 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30782 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30783 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30784 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30787 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30788 (openat_not_cancel_3): Likewise.
30789 (openat64_not_cancel_3): Likewise).
30790 (openat_not_cancel_3): Likewise).
30791 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30793 (openat_not_cancel_3): Likewise.
30794 (openat64_not_cancel): Likewise.
30795 (openat64_not_cancel_3): Likewise.
30796 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30797 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30798 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30799 __open{64}_nocancel.
30800 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30801 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30802 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30804 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30807 * include/argz.h (__argz_create_sep): New function prototype.
30808 (__argz_append): Likewise.
30809 (__argz_add): Likewise.
30810 (__argz_add_sep): Likewise.
30811 (__argz_delete): Likewise.
30812 (__argz_insert): Likewise.
30813 (__argz_replace): Likewise.
30814 * string/argz.h (__argz_create_sep): Removed.
30815 (__argz_append): Likewise.
30816 (__argz_add): Likewise.
30817 (__argz_add_sep): Likewise.
30818 (__argz_delete): Likewise.
30819 (__argz_insert): Likewise.
30820 (__argz_replace): Likewise.
30822 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30824 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30825 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30826 (GNU_PROPERTY_STACK_SIZE): Likewie.
30827 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30828 (GNU_PROPERTY_LOPROC): Likewise.
30829 (GNU_PROPERTY_HIPROC): Likewise.
30830 (GNU_PROPERTY_LOUSER): Likewise.
30831 (GNU_PROPERTY_HIUSER): Likewise.
30832 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30833 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30834 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30835 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30836 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30837 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30838 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30839 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30840 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30841 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30842 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30843 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30844 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30845 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30846 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30847 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30848 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30849 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30850 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30851 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30852 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30853 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30854 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30856 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30858 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30861 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30864 * math/math.h (isinf): Check if in C or C++ mode before using
30865 __builtin_types_compatible_p, since this is a C mode feature.
30867 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30869 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30870 (__write_nocancel): New macro.
30871 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30872 Rewrite as a function prototype.
30873 (write_not_cancel): Remove macro.
30874 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30875 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30876 (write_gmon): Likewise.
30877 * libio/fileops.c (_IO_new_file_write): Likewise.
30878 * login/utmp_file.c (pututline_file): Likewise.
30879 (updwtmp_file): Likewise.
30880 * stdio-common/psiginfo.c (psiginfo): Likewise.
30881 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30882 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30883 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30885 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30888 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30889 (__read_nocancel): New macro.
30890 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30892 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30894 (__read_nocancel): New prototype.
30895 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30896 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30897 with __read_nocancel.
30898 * intl/loadmsgcat.c (read): Likewise.
30899 * libio/fileops.c (_IO_file_read): Likewise.
30900 * locale/loadlocale.c (_nl_load_locale): Likewise.
30901 * login/utmp_file.c (getutent_r_file): Likewise.
30902 (internal_getut_r): Likewise.
30903 (getutline_r_file): Likewise.
30904 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30905 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30906 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30909 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30910 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30911 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30913 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30915 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30917 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30919 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30921 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30924 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30925 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30928 2017-08-17 DJ Delorie <dj@redhat.com>
30930 * bug17079.c: Update to new test harness.
30931 * test-digits-dots.c: Likewise.
30932 * test-netdb.c: Likewise.
30933 * tst-field.c: Likewise.
30934 * tst-nss-getpwent.c: Likewise.
30935 * tst-nss-static.c: Likewise.
30936 * tst-nss-test1.c: Likewise.
30937 * tst-nss-test2.c: Likewise.
30938 * tst-nss-test3.c: Likewise.
30939 * tst-nss-test4.c: Likewise.
30940 * tst-nss-test5.c: Likewise.
30942 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30944 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30945 (open_not_cancel_2): Likewise.
30946 (open_nocancel): New macro.
30947 (open64_nocancel): Likewise.
30948 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30949 (open_not_cancel_2): Likewise.
30950 (__open_nocancel): New prototype.
30951 (__open64_nocancel): Likewise.
30952 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30954 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30955 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30956 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30957 with __open_nocancel.
30958 * csu/check_fds.c (check_one_fd): Likewise.
30959 * gmon/gmon.c (write_gmon): Likewise.
30960 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30961 * intl/loadmsgcat.c (open): Likewise.
30962 * libio/fileops.c (_IO_file_open): Likewise.
30963 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30964 * locale/loadlocale.c (_nl_load_locale): Likewise.
30965 * login/utmp_file.c (setutent_file): Likewise.
30966 * misc/daemon.c (daemon): Likewise.
30967 * nss/nss_db/db-open.c (internal_setent): Likewise.
30968 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30969 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30970 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30971 (__opendir): Likewise.
30972 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30973 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30974 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30975 (gethostid): Likewise.
30976 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30980 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30981 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30982 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30984 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30986 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30988 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30990 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30992 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30994 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30995 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30997 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30999 * benchtests/bench-skeleton.c (main): Add support for
31000 latency benchmarking.
31001 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31003 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31005 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31006 the startup object.
31008 2017-08-17 Florian Weimer <fweimer@redhat.com>
31010 * include/sys/socket.h (__opensock): Remove internal_function.
31011 * socket/opensock.c (__opensock): Likewise.
31012 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31014 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31017 * signal/bits/types/__sigval_t.h: New file.
31018 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31019 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31020 and define sigval_t using __sigval_t.
31021 * include/bits/types/__sigval_t.h: New file.
31022 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31023 instead of <bits/types/__sigval_t.h>.
31024 (struct sigevent): Use __sigval_t instead of sigval_t.
31025 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31026 instead of <bits/types/__sigval_t.h>.
31027 (siginfo_t): Use __sigval_t instead of sigval_t.
31028 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31029 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31030 (struct sigevent): Use __sigval_t instead of sigval_t.
31031 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31032 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31033 (siginfo_t): Use __sigval_t instead of sigval_t.
31034 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31036 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31038 * NEWS: Remove "[Add new features here]" for 2.27.
31040 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31042 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31045 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31047 * NEWS: Mention x86-64 FMA optimization.
31049 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31054 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31055 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31056 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31058 2017-08-16 Andreas Schwab <schwab@suse.de>
31062 * elf/ldd.bash.in: Never run file directly.
31064 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31067 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31068 (L(SP_INF_0)): Likewise.
31070 2017-08-15 Florian Weimer <fweimer@redhat.com>
31072 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31075 2017-08-15 Florian Weimer <fweimer@redhat.com>
31077 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31078 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31079 BROKEN_THREAD_SIGNALS code.
31080 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31081 request_list): Remove caller_pid member used for
31082 BROKEN_THREAD_SIGNALS.
31083 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31084 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31085 Remove BROKEN_THREAD_SIGNALS support.
31086 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31087 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31089 2017-08-15 Florian Weimer <fweimer@redhat.com>
31091 * gmon/Makefile (tests): Add tst-gmon.
31092 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31094 (tests-special): Add tst-gmon-prof.out.
31095 (tst-gmon.out): Depend on clean-tst-gmon-data.
31096 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31097 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31098 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31100 * aclocal.m4 (GPROF): Set and substitute.
31101 * config.amke.in (GPROF): Set.
31102 * configure: Regenerate.
31104 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31106 * elf/elf.h A (NT_PPC_TAR): New macro.
31107 (NT_PPC_PPR): Likewise.
31108 (NT_PPC_DSCR): Likewise.
31109 (NT_PPC_EBB): Likewise.
31110 (NT_PPC_PMU): Likewise.
31111 (NT_PPC_TM_CGPR): Likewise.
31112 (NT_PPC_TM_CFPR): Likewise.
31113 (NT_PPC_TM_CVMX): Likewise.
31114 (NT_PPC_TM_CVSX): Likewise.
31115 (NT_PPC_TM_SPR): Likewise.
31116 (NT_PPC_TM_CTAR): Likewise.
31117 (NT_PPC_TM_CPPR): Likewise.
31118 (NT_PPC_TM_CDSCR): Likewise.
31120 2017-08-15 Florian Weimer <fweimer@redhat.com>
31122 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31123 regparm (2) instead of internal_function.
31124 (_MCOUNT_DECL): Adjust.
31126 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31128 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31129 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31131 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31133 * conform/data/sys/wait.h-data (si_value): Do not expect for
31136 2017-08-14 Florian Weimer <fweimer@redhat.com>
31139 NSS: Create stubs for accidentally exported lookup functions.
31140 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31141 Remove declaration.
31142 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31143 (ether_hostton): Call __nss_ethers_lookup2 instead.
31144 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31145 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31146 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31147 (setup): Call __nss_netgroup_lookup2 instead.
31148 * nss/Makefile (routines): Add compat-lookup.
31149 * nss/Versions (GLIBC_2.27): Add symbol version.
31150 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31151 (DB_COMPAT_FCT): Remove.
31152 * nss/compat-lookup.c: New file.
31153 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31154 from databases.def.
31155 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31156 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31157 (netname2user): Call __nss_publickey_lookup2 instead.
31158 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31159 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31162 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31163 Sergei Trofimovich <slyfox@inbox.ru>
31166 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31167 Rename to MMAP2_PAGE_UNIT.
31168 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31169 __OFF_T_MATCHES_OFF64_T is not defined.
31170 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31172 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31173 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31175 2017-08-14 Florian Weimer <fweimer@redhat.com>
31177 i386: Do not set internal_function.
31178 * config.h.in (USE_REGPARMS, internal_function): Remove.
31179 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31180 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31182 2017-08-14 Florian Weimer <fweimer@redhat.com>
31184 * elf/dl-init.c (_dl_init): Remove internal_function.
31185 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31186 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31188 2017-08-14 Florian Weimer <fweimer@redhat.com>
31190 * elf/rtld.c (_dl_start): Remove internal_function.
31191 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31194 2017-08-14 Florian Weimer <fweimer@redhat.com>
31196 * elf/dl-fini.c (_dl_fini): Remove internal_function
31197 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31199 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31201 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31202 (bit_cpu_SHSTK): Likewise.
31203 (index_cpu_IBT): Likewise.
31204 (index_cpu_SHSTK): Likewise.
31205 (reg_IBT): Likewise.
31206 (reg_SHSTK): Likewise.
31207 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31208 Handle index_cpu_IBT and index_cpu_SHSTK.
31210 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31213 * po/fr.po: Fix spelling mistake.
31215 2017-08-13 Florian Weimer <fweimer@redhat.com>
31217 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31218 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31219 (_dl_catch_error, _dl_receive_error): Likewise.
31220 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31221 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31222 (_dl_deallocate_tls): Likewise.
31223 * include/dlfcn.h (_dl_addr): Likewise.
31224 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31225 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31226 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31229 2017-08-13 Florian Weimer <fweimer@redhat.com>
31231 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31232 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31234 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31236 2017-08-13 Florian Weimer <fweimer@redhat.com>
31238 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31240 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31241 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31242 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31243 internal_function from _dl_make_stack_executable_hook member.
31244 (_dl_make_stack_executable): Remove internal_function.
31245 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31247 * sysdeps/unix/sysv/linux/dl-execstack.c
31248 (_dl_make_stack_executable): Likewise.
31250 2017-08-13 Florian Weimer <fweimer@redhat.com>
31252 * sysdeps/unix/sysv/linux/netlinkaccess.h
31253 (__netlink_assert_response): Remove internal_function.
31254 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31255 (__netlink_assert_response): Likewise.
31257 2017-08-13 Florian Weimer <fweimer@redhat.com>
31259 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31261 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31263 2017-08-13 Florian Weimer <fweimer@redhat.com>
31265 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31267 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31268 * inet/netgroup.h (__internal_setnetgrent)
31269 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31270 * inet/getnetgrent_r.c (__internal_setnetgrent)
31271 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31272 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31273 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31274 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31275 * nss/nsswitch.h (db_lookup_function): Likewise.
31277 2017-08-13 Florian Weimer <fweimer@redhat.com>
31279 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31280 Remove internal_function.
31281 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31282 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31283 message argument on the stack.
31284 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31287 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31289 Adapt test case data to the changes in the thousands
31293 * localedata/tst-langinfo.sh: Adapt test case data.
31294 * stdlib/tst-strfmon_l.c: Likewise.
31295 * stdlib/tst-strtod4.c: Likewise.
31296 * stdlib/tst-strtod5i.c: Likewise.
31298 2017-08-11 Florian Weimer <fweimer@redhat.com>
31301 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31302 Suppress pedantic warning resulting from statement expression.
31303 (__ASSERT_FUNCTION): Add missing __extension__.
31305 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31307 * benchtests/bench-memmove-large.c: Print output in JSON
31309 * benchtests/bench-memmove.c: Likewise.
31311 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31312 * benchtests/bench-memchr.c (do_one_test): Likewise.
31313 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31314 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31315 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31316 * benchtests/bench-memmove.c (do_one_test): Likewise.
31317 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31318 * benchtests/bench-memset.c (do_one_test): Likewise.
31319 * benchtests/bench-string.h (test_init): Remove memsets.
31321 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31324 (Computing the Width of an Integer Data Type): Rename section to
31325 "Width of an Integer Type". Remove inaccurate statement regarding
31326 lack of C language facilities for determining width of integer
31327 types, and reorder content to improve flow and context of
31330 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31332 * lang.texi (va_copy): Change standard from ISO to C99.
31333 (__va_copy): Add standard and header annotation.
31334 Update description for clarity of origins and current use.
31336 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31339 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31340 xssqrtqp requires operands to be in Vector Registers
31341 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31342 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31343 (__ieee754_sqrtf128): Likewise.
31345 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31347 * sysdeps/aarch64/memcmp.S (memcmp):
31348 Rewrite of optimized memcmp.
31350 2017-08-10 Florian Weimer <fweimer@redhat.com>
31352 Introduce ld.so exceptions.
31353 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31354 (_dl_exception_create, _dl_exception_create_format)
31355 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31356 (_dl_catch_exception): Declare.
31357 (_dl_catch_error): Update comment.
31358 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31359 errstring, malloced members with exception member.
31360 (_dl_out_of_memory): Remove.
31361 (fatal_error): New function, extracted from _dl_signal_error.
31362 (_dl_signal_exception, _dl_signal_cexception): New functions.
31363 (_dl_signal_error): Call _dl_exception_create to allocate an
31365 (_dl_catch_exception): New function, based on _dl_catch_error.
31366 (_dl_catch_error): Implement using _dl_catch_exception.
31367 * elf/dl-exception.c: New file.
31368 * elf/Makefile (dl-routines): Add dl-exception.
31369 (elide-routines.os): Likewise.
31370 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31371 _dl_exception_create_format, _dl_exception_free.
31372 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31373 _dl_signal_exception.
31374 * elf/dl-lookup.c (make_string): Remove.
31375 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31376 _dl_signal_cexception, _dl_exception_free.
31377 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31378 _dl_signal_exception.
31379 * elf/dl-sym.c (do_sym): Likewise.
31380 * elf/dl-version.c (make_string): Remove.
31381 (match_symbol): Use _dl_exception_create_format,
31382 _dl_signal_cexception, _dl_exception_free.
31383 (_dl_check_map_versions): Likewise.
31384 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31385 _dl_catch_exception.
31386 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31387 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31388 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31389 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31390 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31391 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31392 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31393 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31395 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31402 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31403 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31404 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31406 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31408 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31410 2017-08-10 Florian Weimer <fweimer@redhat.com>
31412 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31413 attribute_hidden, internal_function.
31414 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31417 2017-08-10 Florian Weimer <fweimer@redhat.com>
31419 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31420 function which calls __builtin_unreachable.
31422 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31424 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31425 Indian monetary formatting
31426 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31429 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31431 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31432 Fix typo in comment.
31435 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31436 PTRACE_SEIZE_DEVEL): Remove.
31437 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31438 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31443 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31445 * posix/bits/types.h (__qaddr_t): Remove.
31448 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31449 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31451 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31452 (ucontext_t): Use __ctx with uc_flags.
31453 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31454 (__ctxt): Likewise.
31455 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31457 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31458 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31460 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31461 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31463 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31465 (ucontext_t): Use __ctx with uc_flags.
31466 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31467 (ucontext_t): Use __ctx with uc_flags.
31468 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31469 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31470 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31471 (ucontext_t): Use __ctx with uc_flags.
31472 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31473 undefine further down.
31474 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31476 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31477 undefine further down.
31478 (ucontext_t): Use __ctx with uc_flags.
31479 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31480 undefine further down.
31481 (ucontext_t): Use __ctx with uc_flags.
31482 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31483 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31484 Rename uc_pad to __glibc_reserved1.
31485 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31486 undefine further down.
31487 (ucontext_t): Use __ctx with uc_flags.
31488 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31490 (ucontext_t): Use __ctx with uc_flags.
31491 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31492 __ctx with uc_flags.
31493 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31494 (ucontext_t): Use __ctx with uc_flags.
31495 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31496 __ctx with uc_flags.
31498 2017-08-09 Florian Weimer <fweimer@redhat.com>
31501 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31502 before early return.
31504 2017-08-09 Andreas Schwab <schwab@suse.de>
31507 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31511 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31512 tst-compat-forwarder.
31513 (modules-names): Add tst-compat-forwarder-mod.
31514 ($(objpfx)tst-compat-forwarder): Depend on
31515 $(objpfx)tst-compat-forwarder-mod.so.
31516 * nptl/tst-compat-forwarder.c: New file.
31517 * nptl/tst-compat-forwarder-mod.c: New file.
31519 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31521 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31524 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31525 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31527 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31529 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31530 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31531 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31532 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31534 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31537 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31540 * manual/setjmp.texi (getcontex): Document uc_stack value
31541 compatibility differences.
31543 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31545 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31546 (old_malloc_hook): Likewise.
31547 (old_memalign_hook): Likewise.
31548 (old_realloc_hook): Likewise.
31549 (struct hdr): Likewise.
31551 (freehook): Likewise.
31552 (mallochook): Likewise.
31553 (memalignhook): Likewise.
31554 (reallochook): Likewise.
31555 (mprobe): Likewise.
31556 * malloc/mtrace.c (mallwatch): Likewise.
31557 (tr_old_free_hook): Likewise.
31558 (tr_old_malloc_hook): Likewise.
31559 (tr_old_realloc_hook): Likewise.
31560 (tr_old_memalign_hook): Likewise.
31561 (tr_where): Likewise.
31562 (lock_and_info): Likewise.
31563 (tr_freehook): Likewise.
31564 (tr_mallochook): Likewise.
31565 (tr_reallochook): Likewise.
31566 (tr_memalignhook): Likewise.
31567 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31568 * misc/mmap.c (__mmap): Likewise.
31569 * misc/mmap64.c (__mmap64): Likewise.
31570 * misc/mprotect.c (__mprotect): Likewise.
31571 * misc/msync.c (msync): Likewise.
31572 * misc/munmap.c (__munmap): Likewise.
31573 * posix/posix_madvise.c (posix_madvise): Likewise.
31574 * socket/send.c (__send): Likewise.
31575 * socket/sendto.c (__sendto): Likewise.
31576 * socket/setsockopt.c (__setsockopt): Likewise.
31577 * string/memcmp.c (__ptr_t): Remove macro.
31578 (MEMCMP): Use void * instead of ptr_t.
31579 * string/memrchr.c (__ptr_t): Remove macro.
31580 (__memrchr): Use void * instead of ptr_t.
31581 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31582 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31583 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31584 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31585 * sysdeps/mach/msync.c (msync): Likewise.
31586 * sysdeps/mach/munmap.c (__munmap): Likewise.
31587 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31589 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31590 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31591 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31592 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31593 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31594 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31595 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31598 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31599 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31600 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31601 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31602 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31603 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31604 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31605 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31606 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31608 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31609 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31610 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31611 (MEMCMP): Use void * instead of ptr_t.
31612 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31613 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31615 2017-08-08 Florian Weimer <fweimer@redhat.com>
31617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31620 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31623 * csu/libc-tls.c: Include <startup.h> first.
31624 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31625 * elf/dl-tunables.c: Include <startup.h> first.
31626 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31627 * sysdeps/generic/startup.h: New file.
31628 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31629 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31630 (I386_USE_SYSENTER): New. Defined to 0.
31632 2017-08-08 Andreas Schwab <schwab@suse.de>
31635 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31636 * nptl/pt-system.c (system): Likewise.
31638 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31641 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31643 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31644 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31645 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31646 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31647 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31648 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31649 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31651 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31654 * bits/sigaction.h (struct sigaction): Define sa_handler and
31655 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31656 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31657 [__USE_XOPEN_EXTENDED].
31658 (SA_RESTART): Likewise.
31659 (SA_NODEFER): Likewise.
31660 (SA_RESETHAND): Likewise.
31661 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31662 (struct sigaction): Define sa_handler and sa_sigaction using union
31663 also for [__USE_XOPEN_EXTENDED].
31664 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31665 [__USE_XOPEN_EXTENDED].
31666 (SA_RESTART): Likewise.
31667 (SA_NODEFER): Likewise.
31668 (SA_RESETHAND): Likewise.
31669 * sysdeps/unix/sysv/linux/bits/sigaction.h
31670 (struct sigaction): Define sa_handler and sa_sigaction using union
31671 also for [__USE_XOPEN_EXTENDED].
31672 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31673 [__USE_XOPEN_EXTENDED].
31674 (SA_RESTART): Likewise.
31675 (SA_NODEFER): Likewise.
31676 (SA_RESETHAND): Likewise.
31677 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31678 (struct sigaction): Define sa_handler and sa_sigaction using union
31679 also for [__USE_XOPEN_EXTENDED].
31680 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31681 [__USE_XOPEN_EXTENDED].
31682 (SA_RESTART): Likewise.
31683 (SA_NODEFER): Likewise.
31684 (SA_RESETHAND): Likewise.
31685 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31686 (struct sigaction): Define sa_handler and sa_sigaction using union
31687 also for [__USE_XOPEN_EXTENDED].
31688 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31689 [__USE_XOPEN_EXTENDED].
31690 (SA_RESTART): Likewise.
31691 (SA_NODEFER): Likewise.
31692 (SA_RESETHAND): Likewise.
31693 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31694 (struct sigaction): Define sa_handler and sa_sigaction using union
31695 also for [__USE_XOPEN_EXTENDED].
31696 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31697 [__USE_XOPEN_EXTENDED].
31698 (SA_RESTART): Likewise.
31699 (SA_NODEFER): Likewise.
31700 (SA_RESETHAND): Likewise.
31701 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31702 (struct sigaction): Define sa_handler and sa_sigaction using union
31703 also for [__USE_XOPEN_EXTENDED].
31704 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31705 [__USE_XOPEN_EXTENDED].
31706 (SA_RESTART): Likewise.
31707 (SA_NODEFER): Likewise.
31708 (SA_RESETHAND): Likewise.
31709 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31710 (struct sigaction): Define sa_handler and sa_sigaction using union
31711 also for [__USE_XOPEN_EXTENDED].
31712 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31713 [__USE_XOPEN_EXTENDED].
31714 (SA_RESTART): Likewise.
31715 (SA_NODEFER): Likewise. Define directly rather than as alias.
31716 (SA_RESETHAND): Likewise.
31717 (SA_INTERRUPT): Define only for [__USE_MISC].
31718 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31719 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31721 (SA_STACK): Define only for [__USE_MISC].
31722 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31723 (struct sigaction): Define sa_handler and sa_sigaction using union
31724 also for [__USE_XOPEN_EXTENDED].
31725 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31726 [__USE_XOPEN_EXTENDED].
31727 (SA_RESTART): Likewise.
31728 (SA_NODEFER): Likewise.
31729 (SA_RESETHAND): Likewise.
31730 (SA_NOPTRACE): Define only for [__USE_MISC].
31732 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31733 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31734 (struct catalog_info): Likewise.
31735 * inet/htontest.c (lo): Likewise.
31737 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31738 * inet/inet_net.c (inet_network): Likewise.
31739 * inet/inet_netof.c (inet_netof): Likewise.
31740 * inet/rcmd.c (__ivaliduser): Likewise.
31741 (iruserok): Likewise.
31742 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31743 * locale/programs/locale-spec.c (locale_special): Likewise.
31744 * nis/nis_findserv.c (struct findserv_req): Likewise.
31745 (__nis_findfastest_with_timeout): Likewise.
31746 * nss/test-netdb.c (test_network): Likewise.
31747 * resolv/inet_neta.c (inet_neta): Likewise.
31748 * resolv/ns_date.c (ns_datetosecs): Likewise.
31749 (SECS_PER_DAY): Likewise.
31750 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31752 * resolv/res_comp.c (__putlong): Likewise.
31753 (__putshort): Likewise.
31754 (_getlong): Likewise.
31755 (_getshort): Likewise.
31756 * resolv/res_debug.c (p_time): Likewise.
31757 (precsize_ntoa): Likewise.
31758 (precsize_aton): Likewise.
31759 (latlon2ul): Likewise.
31760 (loc_aton): Likewise.
31761 (loc_ntoa): Likewise.
31762 * resolv/res_hconf.c (struct netaddr): Likewise.
31763 (_res_hconf_reorder_addrs): Likewise.
31764 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31765 (clnttcp_control): Likewise.
31766 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31767 (clntudp_control): Likewise.
31768 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31769 (clntunix_control): Likewise.
31770 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31771 * sunrpc/rpc/auth.h (union des_block): Likewise.
31772 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31773 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31774 (xdrrec_create): Likewise.
31775 (xdrrec_endofrecord): Likewise.
31776 (flush_out): Likewise.
31777 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31778 (xdrstdio_putlong): Likewise.
31779 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31782 * misc/sys/cdefs.h (__long_double_t): Remove.
31783 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31784 instead of __long_double_t,
31785 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31787 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31789 * benchtests/scripts/compare_strings.py: Avoid display error when
31790 running on a text terminal.
31792 * benchtests/scripts/compare_strings.py (main): Add an
31793 optional -base option.
31794 (process_results): New argument base_func.
31796 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31798 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31799 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31801 2017-08-07 Andreas Schwab <schwab@suse.de>
31803 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31805 * intl/Makefile ($(objpfx)tst-gettext.out)
31806 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31807 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31808 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31810 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31811 * posix/Makefile ($(objpfx)globtest.out)
31812 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31813 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31814 ($(objpfx)tst-printf.out): Likewise.
31815 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31816 ($(objpfx)tst-setcontext3.out): Likewise.
31818 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31820 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31821 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31822 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31823 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31824 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31826 (CFLAGS-doasin-fma.c): New.
31827 (CFLAGS-dosincos-fma.c): Likewise.
31828 (CFLAGS-e_asin-fma.c): Likewise.
31829 (CFLAGS-e_atan2-fma.c): Likewise.
31830 (CFLAGS-e_exp-fma.c): Likewise.
31831 (CFLAGS-e_log-fma.c): Likewise.
31832 (CFLAGS-e_pow-fma.c): Likewise.
31833 (CFLAGS-halfulp-fma.c): Likewise.
31834 (CFLAGS-mpa-fma.c): Likewise.
31835 (CFLAGS-mpatan-fma.c): Likewise.
31836 (CFLAGS-mpatan2-fma.c): Likewise.
31837 (CFLAGS-mpexp-fma.c): Likewise.
31838 (CFLAGS-mplog-fma.c): Likewise.
31839 (CFLAGS-mpsqrt-fma.c): Likewise.
31840 (CFLAGS-mptan-fma.c): Likewise.
31841 (CFLAGS-s_atan-fma.c): Likewise.
31842 (CFLAGS-sincos32-fma.c): Likewise.
31843 (CFLAGS-slowexp-fma.c): Likewise.
31844 (CFLAGS-slowpow-fma.c): Likewise.
31845 (CFLAGS-s_sin-fma.c): Likewise.
31846 (CFLAGS-s_tan-fma.c): Likewise.
31847 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31848 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31849 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31850 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31851 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31852 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31853 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31854 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31855 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31856 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31857 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31861 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31863 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31865 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31867 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31869 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31872 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31873 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31874 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31879 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31881 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31882 (min_of_type_f): New macro.
31883 (min_of_type_): Likewise.
31884 (min_of_type_l): Likewise.
31885 (min_of_type_f128): Likewise.
31886 (min_of_type): Define using __MATH_TG and taking an expression
31888 (math_check_force_underflow): Pass expression instead of type to
31890 (math_check_force_underflow_nonneg): Likewise.
31892 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31894 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31895 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31896 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31901 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31902 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31903 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31904 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31905 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31906 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31907 memmove_chk-nonshared and memset_chk-nonshared
31908 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31909 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31910 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31911 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31912 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31913 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31914 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31915 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31916 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31917 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31918 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31919 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31920 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31921 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31922 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31923 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31924 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31925 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31926 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31927 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31928 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31929 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31930 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31931 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31932 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31933 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31934 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31935 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31936 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31937 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31938 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31939 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31940 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31941 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31942 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31943 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31944 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31945 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31946 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31947 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31948 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31949 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31950 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31951 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31952 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31953 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31954 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31955 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31956 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31957 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31958 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31959 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31960 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31961 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31962 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31963 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31964 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31965 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31966 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31967 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31968 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31969 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31970 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31971 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31972 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31973 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31974 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31975 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31976 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31977 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31978 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31988 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31992 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31993 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31996 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32002 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32003 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32004 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32005 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32006 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32007 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32017 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32019 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32020 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32021 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32022 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32023 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32024 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32025 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32026 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32027 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32028 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32029 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32030 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32031 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32032 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32033 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32034 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32035 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32036 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32037 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32038 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32039 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32040 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32042 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32045 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32047 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32048 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32061 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32062 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32064 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32065 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32066 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32067 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32068 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32069 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32070 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32074 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32075 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32076 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32077 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32079 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32080 Don't include <sysdep.h> nor <init-arch.h>.
32081 (_ZGVbN2v_cos): Removed.
32082 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32084 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32085 Don't include <sysdep.h> nor <init-arch.h>.
32086 (_ZGVdN4v_cos): Removed.
32087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32090 Don't include <sysdep.h> nor <init-arch.h>.
32091 (_ZGVeN8v_cos): Removed.
32092 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32095 Don't include <sysdep.h> nor <init-arch.h>.
32096 (_ZGVbN2v_exp): Removed.
32097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32100 Don't include <sysdep.h> nor <init-arch.h>.
32101 (_ZGVdN4v_exp): Removed.
32102 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32104 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32105 Don't include <sysdep.h> nor <init-arch.h>.
32106 (_ZGVeN8v_exp): Removed.
32107 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32109 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32110 Don't include <sysdep.h> nor <init-arch.h>.
32111 (_ZGVbN2v_log): Removed.
32112 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32114 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32115 Don't include <sysdep.h> nor <init-arch.h>.
32116 (_ZGVdN4v_log): Removed.
32117 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32119 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32120 Don't include <sysdep.h> nor <init-arch.h>.
32121 (_ZGVeN8v_log): Removed.
32122 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32124 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32125 Don't include <sysdep.h> nor <init-arch.h>.
32126 (_ZGVbN2vv_pow): Removed.
32127 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32129 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32130 Don't include <sysdep.h> nor <init-arch.h>.
32131 (_ZGVdN4vv_pow): Removed.
32132 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32134 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32135 Don't include <sysdep.h> nor <init-arch.h>.
32136 (_ZGVeN8vv_pow): Removed.
32137 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32139 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32140 Don't include <sysdep.h> nor <init-arch.h>.
32141 (_ZGVbN2v_sin): Removed.
32142 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32144 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32145 Don't include <sysdep.h> nor <init-arch.h>.
32146 (_ZGVbN4v_sin): Removed.
32147 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32149 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32150 Don't include <sysdep.h> nor <init-arch.h>.
32151 (_ZGVbN8v_sin): Removed.
32152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32155 Don't include <sysdep.h> nor <init-arch.h>.
32156 (_ZGVbN2vvv_sincos): Removed.
32157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32160 Don't include <sysdep.h> nor <init-arch.h>.
32161 (_ZGVdN4vvv_sincos): Removed.
32162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32165 Don't include <sysdep.h> nor <init-arch.h>.
32166 (_ZGVeN8vvv_sincos): Removed.
32167 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32169 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32170 Don't include <sysdep.h> nor <init-arch.h>.
32171 (_ZGVeN16v_cosf): Removed.
32172 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32174 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32175 Don't include <sysdep.h> nor <init-arch.h>.
32176 (_ZGVbN4v_cosf): Removed.
32177 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32179 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32180 Don't include <sysdep.h> nor <init-arch.h>.
32181 (_ZGVdN8v_cosf): Removed.
32182 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32184 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32185 Don't include <sysdep.h> nor <init-arch.h>.
32186 (_ZGVeN16v_expf): Removed.
32187 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32189 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32190 Don't include <sysdep.h> nor <init-arch.h>.
32191 (_ZGVbN4v_expf): Removed.
32192 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32194 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32195 Don't include <sysdep.h> nor <init-arch.h>.
32196 (_ZGVdN8v_expf): Removed.
32197 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32199 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32200 Don't include <sysdep.h> nor <init-arch.h>.
32201 (_ZGVeN16v_logf): Removed.
32202 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32204 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32205 Don't include <sysdep.h> nor <init-arch.h>.
32206 (_ZGVbN4v_logf): Removed.
32207 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32209 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32210 Don't include <sysdep.h> nor <init-arch.h>.
32211 (_ZGVdN8v_logf): Removed.
32212 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32214 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32215 Don't include <sysdep.h> nor <init-arch.h>.
32216 (_ZGVeN16vv_powf): Removed.
32217 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32219 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32220 Don't include <sysdep.h> nor <init-arch.h>.
32221 (_ZGVbN4vv_powf): Removed.
32222 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32224 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32225 Don't include <sysdep.h> nor <init-arch.h>.
32226 (_ZGVdN8vv_powf): Removed.
32227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32230 Don't include <sysdep.h> nor <init-arch.h>.
32231 (_ZGVeN16vvv_sincosf): Removed.
32232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32235 Don't include <sysdep.h> nor <init-arch.h>.
32236 (_ZGVbN4vvv_sincosf): Removed.
32237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32240 Don't include <sysdep.h> nor <init-arch.h>.
32241 (_ZGVdN8vvv_sincosf): Removed.
32242 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32244 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32245 Don't include <sysdep.h> nor <init-arch.h>.
32246 (_ZGVeN16v_sinf): Removed.
32247 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32249 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32250 Don't include <sysdep.h> nor <init-arch.h>.
32251 (_ZGVbN4v_sinf): Removed.
32252 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32254 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32255 Don't include <sysdep.h> nor <init-arch.h>.
32256 (_ZGVdN8v_sinf): Removed.
32258 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32260 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32261 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32262 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32263 s_rint-sse4_1 and s_rintf-sse4_1.
32264 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32265 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32269 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32271 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32272 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32273 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32274 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32275 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32277 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32278 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32279 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32280 (__ceilf): Removed.
32281 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32282 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32283 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32284 (__floor): Removed.
32285 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32286 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32287 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32288 (__floorf): Removed.
32289 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32291 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32292 (__nearbyint): Removed.
32293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32295 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32296 (__nearbyintf): Removed.
32297 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32298 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32299 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32301 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32302 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32303 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32304 (__rintf): Removed.
32306 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32308 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32309 SHARED. Avoid dynamic relocation against main in static PIE.
32311 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32314 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32315 (LDFLAGS-tst-prelink): Likewise.
32317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32319 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32320 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32321 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32322 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32323 (INTERNAL_SYSCALL_NCS): Likewise.
32324 (LOADARGS_1): Likewise.
32325 (LOADARGS_5): Likewise.
32326 (RESTOREARGS_1): Likewise.
32327 (RESTOREARGS_5): Likewise.
32329 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32331 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32332 (MEMPCPY_SYMBOL): Likewise.
32333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32334 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32338 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32340 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32341 (__hidden_ver1): Don't use in libc.a.
32342 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32343 (__mempcpy): Don't create a weak alias in libc.a.
32344 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32346 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32347 (__hidden_ver1): Don't use in libc.a.
32349 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32351 * config.make.in (have-insert): New.
32352 * configure.ac (libc_cv_insert): New. Set to yes if linker
32353 supports INSERT in linker script.
32354 (AC_SUBST(libc_cv_insert): New.
32355 * configure: Regenerated.
32356 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32357 if $(have-insert) == yes.
32359 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32361 * elf/Makefile (tests): Add vismain only if
32362 $(have-protected-data) == yes.
32363 (tests-pie): Likewise.
32365 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32368 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32369 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32371 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/i386/i586/memset.S
32375 (__memset_zero_constant_len_parameter): Removed.
32376 * sysdeps/i386/i686/memset.S
32377 (__memset_zero_constant_len_parameter): Likewise.
32378 * sysdeps/i386/i686/multiarch/memset_chk.S
32379 (__memset_zero_constant_len_parameter): Likewise.
32380 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32383 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32385 * stdlib/getentropy.c (getentropy): Change return type to int.
32387 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32389 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32391 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32393 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32395 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32396 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32398 (ieee_float_shape_type): Likewise.
32399 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32400 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32401 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32402 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32403 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32404 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32405 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32406 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32407 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32409 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32410 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32411 (__ieee754_yn): Likewise.
32412 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32413 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32414 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32416 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32417 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32418 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32419 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32420 (__erfc): Likewise.
32421 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32422 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32423 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32424 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32425 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32426 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32428 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32429 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32430 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32431 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32432 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32433 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32434 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32435 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32436 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32437 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32438 (__issignaling): Likewise.
32439 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32440 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32441 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32443 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32444 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32445 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32448 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32450 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32451 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32452 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32453 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32454 (__erfcf): Likewise.
32455 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32456 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32457 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32458 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32460 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32461 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32463 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32464 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32465 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32466 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32467 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32468 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32469 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32470 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32472 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32474 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32476 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32477 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32479 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32481 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32482 (__ieee754_ynl): Likewise.
32483 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32484 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32486 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32488 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32489 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32490 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32492 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32493 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32494 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32495 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32496 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32497 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32498 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32501 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32502 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32503 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32505 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32506 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32507 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32508 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32509 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32512 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32518 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32519 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32520 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32521 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32523 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32524 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32529 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32531 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32532 (__ieee754_remainderl): Likewise.
32533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32534 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32535 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32536 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32538 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32541 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32542 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32543 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32544 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32545 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32548 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32549 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32550 (__ieee754_y0l): Likewise.
32553 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32554 (__ieee754_y1l): Likewise.
32557 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32558 (__ieee754_ynl): Likewise.
32559 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32560 (__ieee754_lgammal_r): Likewise.
32561 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32563 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32564 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32565 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32566 (__erfcl): Likewise.
32567 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32568 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32570 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32571 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32572 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32573 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32574 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32578 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32579 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32580 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32581 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32582 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32584 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32585 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32587 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32588 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32589 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32590 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32591 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32593 2017-08-03 Florian Weimer <fweimer@redhat.com>
32596 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32597 on memory allocation failure.
32599 2017-08-03 Alan Modra <amodra@gmail.com>
32601 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32602 tst-tlsopt-powerpc.c with function name change and no test harness.
32603 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32604 Call tls_get_addr_opt_test.
32605 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32606 (modules-names): Add mod-tlsopt-powerpc.
32607 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32608 (tst-tlsopt-powerpc): Depend on .so.
32609 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32610 define. Expand use in TLS_GD and TLS_LD.
32612 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32614 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32616 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32618 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32621 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32622 comparing size with that of double.
32623 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32624 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32625 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32626 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32627 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32628 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32629 unsigned __int128 types.
32631 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32633 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32634 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32635 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32636 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32637 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32639 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32641 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32643 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32645 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32647 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32655 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32658 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32659 bit-field expressions passed to sizeof or typeof.
32660 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32661 (__TGMATH_F128): Likewise.
32662 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32663 (__TGMATH_CF128): Likewise.
32664 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32665 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32666 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32667 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32668 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32669 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32670 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32671 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32672 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32673 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32674 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32675 (__TGMATH_UNARY_IMAG): Likewise.
32676 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32677 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32678 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32680 (define_vars_for_type): Handle bit_field type specially.
32681 (Tests.__init__): Declare structure with bit-field element.
32683 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32687 (MEMCPY_CHK): Define only if SHARED is defined.
32688 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32690 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32693 See ChangeLog.18 for earlier changes.