1 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6 * sysdeps/mach/hurd/getcwd.c
7 (__hurd_canonicalize_directory_name_internal): Likewise.
8 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
9 (pthread_mutex_consistent): Likewise.
10 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
12 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
13 (__pthread_mutex_transfer_np): Likewise.
14 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
15 (__pthread_mutex_unlock): Likewise.
16 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
17 (mtx_owned_p): Likewise.
18 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
19 (pthread_mutexattr_getrobust): Likewise.
20 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
21 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
23 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
25 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
27 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
28 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
31 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
33 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
34 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
35 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
36 (____longjmp_chk): Likewise.
37 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
39 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40 (INTERNAL_SYSCALL): Likewise.
41 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42 (INTERNAL_SYSCALL): Likewise.
43 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44 (__get_clockfreq_via_cpuinfo): Likewise.
46 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
48 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
49 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
50 (WORD_COPY_BWD): Likewise.
51 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
52 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
55 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
57 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
59 2019-02-25 Joseph Myers <joseph@codesourcery.com>
61 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
62 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
63 rather than after operators.
64 * elf/cache.c (print_cache): Likewise.
65 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
66 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
67 * hurd/hurdinit.c (_hurd_setproc): Likewise.
68 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
69 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
70 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
71 (reauth_proc): Likewise.
72 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
73 (__file_name_split_at): Likewise.
74 (__directory_name_split_at): Likewise.
75 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
76 * hurd/port2fd.c (_hurd_port2fd): Likewise.
77 * iconv/gconv_dl.c (do_print): Likewise.
78 * inet/netinet/in.h (struct sockaddr_in): Likewise.
79 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
80 * locale/setlocale.c (new_composite_name): Likewise.
81 * malloc/memusagestat.c (main): Likewise.
82 * misc/fstab.c (fstab_convert): Likewise.
83 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
85 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
86 (getgrent_next_file): Likewise.
87 (internal_getgrnam_r): Likewise.
88 (internal_getgrgid_r): Likewise.
89 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
91 (internal_getgrent_r): Likewise.
92 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93 (getpwent_next_nss): Likewise.
94 (getpwent_next_file): Likewise.
95 (internal_getpwnam_r): Likewise.
96 (internal_getpwuid_r): Likewise.
97 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
99 (getspent_next_nss): Likewise.
100 (internal_getspnam_r): Likewise.
101 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
102 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
103 * string/strchr.c (STRCHR): Likewise.
104 * string/strchrnul.c (STRCHRNUL): Likewise.
105 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
106 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
107 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
108 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
109 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
111 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
112 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
113 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
114 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
115 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
116 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
117 (open_file): Likewise.
118 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
119 (pthread_mutexattr_setprotocol): Likewise.
120 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
121 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
122 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
123 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
124 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
126 (elf_machine_rela): Likewise.
127 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
128 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
129 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
130 * sysdeps/posix/rename.c (rename): Likewise.
131 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
132 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
133 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
134 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
135 * sysdeps/unix/grantpt.c (grantpt): Likewise.
136 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
137 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
139 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
141 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
142 * time/tzfile.c (__tzfile_compute): Likewise.
144 2019-02-22 Joseph Myers <joseph@codesourcery.com>
146 * benchtests/bench-memmem.c (simple_memmem): Break lines before
147 rather than after operators.
148 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
149 * crypt/md5.c (md5_finish_ctx): Likewise.
150 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
151 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
152 * elf/cache.c (load_aux_cache): Likewise.
153 * elf/dl-load.c (open_verify): Likewise.
154 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
155 * elf/readelflib.c (process_elf_file): Likewise.
156 * elf/rtld.c (dl_main): Likewise.
157 * elf/sprof.c (generate_call_graph): Likewise.
158 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
159 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
160 * hurd/dtable.c (reauth_dtable): Likewise.
161 * hurd/getdport.c (__getdport): Likewise.
162 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
163 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
164 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
166 * hurd/hurdioctl.c (fioctl): Likewise.
167 * hurd/hurdselect.c (_hurd_select): Likewise.
168 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
169 (STOPSIGS): Likewise.
170 * hurd/hurdstartup.c (_hurd_startup): Likewise.
171 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
172 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
173 * hurd/msgportdemux.c (msgport_server): Likewise.
174 * hurd/setauth.c (_hurd_setauth): Likewise.
175 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
176 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
177 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
178 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
179 * login/tst-utmp.c (do_check): Likewise.
180 (simulate_login): Likewise.
181 * mach/lowlevellock.h (lll_lock): Likewise.
182 (lll_trylock): Likewise.
183 * math/test-fenv.c (ALL_EXC): Likewise.
184 * math/test-fenvinline.c (ALL_EXC): Likewise.
185 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
186 * nis/nis_call.c (__do_niscall3): Likewise.
187 * nis/nis_callback.c (cb_prog_1): Likewise.
188 * nis/nis_defaults.c (searchaccess): Likewise.
189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
190 * nis/nis_ismember.c (internal_ismember): Likewise.
191 * nis/nis_local_names.c (nis_local_principal): Likewise.
192 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
193 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
195 * nis/ypclnt.c (yp_match): Likewise.
196 (yp_first): Likewise.
198 (yp_master): Likewise.
199 (yp_order): Likewise.
200 * nscd/hstcache.c (cache_addhst): Likewise.
201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
202 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
203 (internal_getpwuid_r): Likewise.
204 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
205 * posix/glob.h (__GLOB_FLAGS): Likewise.
206 * posix/regcomp.c (peek_token): Likewise.
207 (peek_token_bracket): Likewise.
208 (parse_expression): Likewise.
209 * posix/regexec.c (sift_states_iter_mb): Likewise.
210 (check_node_accept_bytes): Likewise.
211 * posix/tst-spawn3.c (do_test): Likewise.
212 * posix/wordexp-test.c (testit): Likewise.
213 * posix/wordexp.c (parse_tilde): Likewise.
214 (exec_comm): Likewise.
215 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
216 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
217 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
218 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
219 * stdio-common/tst-fileno.c (do_test): Likewise.
220 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
221 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
222 * stdlib/strtod_l.c (round_and_return): Likewise.
223 (____STRTOF_INTERNAL): Likewise.
224 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
225 * string/strcspn.c (STRCSPN): Likewise.
226 * string/test-memmem.c (simple_memmem): Likewise.
227 * termios/tcsetattr.c (tcsetattr): Likewise.
228 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
229 * time/asctime.c (asctime_internal): Likewise.
230 * time/strptime_l.c (__strptime_internal): Likewise.
231 * time/sys/time.h (timercmp): Likewise.
232 * time/tzfile.c (__tzfile_compute): Likewise.
234 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
237 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
239 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
241 * argp/argp-help.c (__argp_error_internal): New function,
242 renamed from __argp_error, but that takes a 'mode_flags'
243 parameter to control the format of long double parameters.
244 (__argp_error): Converted into a call __argp_error_internal.
245 (__argp_failure_internal): New function, renamed from
246 __argp_failure, but that takes a 'mode_flags' parameter.
247 (__argp_failure): Converted into a call __argp_failure_internal.
248 * misc/err.c (__vwarnx_internal): New function, renamed from
249 vwarnx, but that takes a 'mode_flags' parameter.
250 (vwarnx): Converted into a call to __vwarnx_internal.
251 (__vwarn_internal): New function, renamed from vwarn, but that
252 takes a 'mode_flags' parameter.
253 (vwarn): Converted into a call to __vwarn_internal.
254 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
255 call to __vfxprintf with 'mode_flags'.
256 (__error_internal): New function, renamed from error, but that
257 takes a 'mode_flags' parameter.
258 (error): Converted into a call to __error_internal.
259 (__error_at_line_internal): New function, renamed from
260 error_at_line, but that takes a 'mode_flags' parameter.
261 (error_at_line): Converted into a call to
262 __error_at_line_internal.
263 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
264 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
267 2019-02-20 Martin Liska <mliska@suse.cz>
269 * math/Makefile: Install math-vector-fortran.h.
270 * bits/math-vector-fortran.h: New file.
271 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
273 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
275 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
276 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
278 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
280 * nptl/pthread_mutex_trylock.c: Fix comment.
282 2019-02-19 Carlos O'Donell <carlos@redhat.com>
284 * nptl/pthread_tryjoin.c: Fix comment.
286 2019-02-18 Joseph Myers <joseph@codesourcery.com>
289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
290 after R_SPARC_H34 case.
292 2019-02-18 Florian Weimer <fweimer@redhat.com>
294 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
295 (getanswer): Do not call Dprintf.
296 (res_gethostbyname2_context): Likewise.
297 (res_gethostbyaddr_context): Likewise.
299 2019-02-18 Florian Weimer <fweimer@redhat.com>
301 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
303 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
305 * libio/stdfiles.c: Update comment.
306 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
307 set _IO_stdin, _IO_stdout, _IO_stderr.
308 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
309 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
311 (_IO_deallocate_file): New inline function.
312 * libio/iolibio.h (_IO_vprintf): Remove definition.
313 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
314 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
315 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
317 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
318 __builtin_expect. Use _IO_legacy_file.
320 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
322 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
323 Initialize ctid with a known value and remove update of ctid
325 (wait_tid): Adjust arguments and call futex_wait with ctid_val
326 as assumed current value of ctid_ptr.
328 2019-02-15 Florian Weimer <fweimer@redhat.com>
330 Check that non-sysdeps headers have wrapper headers.
331 * scripts/check-wrapper-headers.py: New file.
332 * Makefile (tests-special): Add check-wrapper-headers.out.
333 (check-wrapper-headers.out): New target.
334 * Rules (tests-special): Add check-wrapper-headers.out.
335 (check-wrapper-headers.out): New target.
337 2019-02-15 Florian Weimer <fweimer@redhat.com>
339 Add missing header wrappers under include/.
340 * include/ar.h: New file.
341 * include/bits/mqueue2.h: Likewise.
342 * include/bits/stdio.h: Likewise.
343 * include/bits/stdio2.h: Likewise.
344 * include/fstab.h: Likewise.
345 * include/fts.h: Likewise.
346 * include/lastlog.h: Likewise.
347 * include/netinet/icmp6.h: Likewise.
348 * include/netinet/igmp.h: Likewise.
349 * include/netinet/ip6.h: Likewise.
350 * include/re_comp.h: Likewise.
351 * include/regexp.h: Likewise.
352 * include/rpcsvc/bootparam.h: Likewise.
353 * include/rpcsvc/yp_prot.h: Likewise.
354 * include/sys/random.h: Likewise.
355 * include/sys/stropts.h: Likewise.
356 * include/sys/ttychars.h: Likewise.
357 * include/sys/vfs.h: Likewise.
358 * include/wait.h: Likewise.
360 2019-02-15 Florian Weimer <fweimer@redhat.com>
362 * nptl_db/proc_service.h: Move to ...
363 * sysdeps/nptl/proc_service.h: ... here.
364 * nptl_db/thread_db.h: Move to ...
365 * sysdeps/nptl/thread_db.h: ... here.
366 * nptl/descr.h: Include <thread_db.h>.
368 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
370 * io/Makefile (tests): Add tst-lockf.
371 * io/lockf.c (lockf): Use __fcntl and only define for
372 !__OFF_T_MATCHES_OFF64_T.
373 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
374 __OFF_T_MATCHES_OFF64_T case.
375 * io/tst-lockf.c: New file.
376 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
377 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
378 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
379 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
380 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
383 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
386 2019-02-15 Florian Weimer <fweimer@redhat.com>
389 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
390 pd->result after the thread descriptor has been freed.
392 2019-02-15 Joseph Myers <joseph@codesourcery.com>
394 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
395 from function return type.
397 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
399 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
401 * scripts/test_printers_common.py: Set TERM to a known harmless
404 2019-02-14 Joseph Myers <joseph@codesourcery.com>
406 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
407 (xdr_u_int): Likewise.
408 (xdr_enum): Likewise.
409 (xdr_bytes): Reword fall-through comment.
410 (xdr_string): Likewise.
412 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
415 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
416 (tests): Add tst-join8 tst-join9.
417 * nptl/lll_timedwait_tid.c: Remove file.
418 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
419 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
420 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
421 * nptl/pthread_join_common.c (timedwait_tid): New function.
422 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
424 * nptl/tst-join5.c (thread_join): New function.
425 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
427 * nptl/tst-join8.c: New file.
428 * nptl/tst-join9.c: Likewise.
429 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
430 lll_futex_timed_wait_cancel): Add generic macros.
431 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
435 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
436 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
438 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
440 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
441 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
442 (lll_futex_timed_wait_cancel): New macro.
444 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
446 * benchtests/Makefile: Add malloc-simple benchmark.
447 * benchtests/bench-malloc-simple.c: New benchmark.
449 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
451 * benchtests/bench-memmove.c (do_one_test): Remove unused
454 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
458 2019-01-13 Jim Wilson <jimw@sifive.com>
461 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
462 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
464 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
466 * nptl/Makefile (tests): Add tst-unwind-thread.
467 (CFLAGS-tst-unwind-thread.c): Define.
468 * nptl/tst-unwind-thread.c: New file.
469 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
472 2019-02-13 Joseph Myers <joseph@codesourcery.com>
474 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
476 * nis/nis_call.c (__do_niscall3): Likewise.
478 * catgets/gencat.c (normalize_line): Use braces around empty
480 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
481 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
482 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
483 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
484 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
485 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
486 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
489 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
492 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
494 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
495 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
496 * benchtests/bench-strchr.c (stupid_strchr): Remove.
497 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
498 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
499 * benchtests/bench-strlen.c (builtin_strlen): Remove.
500 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
501 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
502 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
503 * benchtests/bench-strspn.c (stupid_strspn): Remove.
504 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
505 * benchtests/bench-bcopy.c: Delete file.
506 * benchtests/bench-bzero.c: Likewise.
507 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
508 (simple_memccpy): Remove.
509 (generic_memccpy): Add function.
510 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
511 * benchtests/bench-memmove.c (simple_bcopy): Remove.
512 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
513 (generic_mempcpy): Add new function.
514 * benchtests/bench-memset.c (simple_bzero): Remove.
515 (builtin_bzero): Remove.
516 (builtin_memset): Remove.
517 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
518 (generic_rawmemchr): Add new function.
520 2019-02-12 Florian Weimer <fweimer@redhat.com>
522 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
524 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
527 * elf/Makefile (tests): Add tst-audit13.
528 (modules-names): Add tst-audit13mod1.
529 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
531 * elf/tst-audit13.c: New file.
532 * elf/tst-audit13mod1.c: Likewise.
534 2019-02-12 Florian Weimer <fweimer@redhat.com>
537 * elf/rtld.c (unload_audit_module): New function.
538 (report_audit_module_load_error): Likewise.
539 (load_audit_module): Likewise. Extracted from dl_main. Call
540 _dl_close if the laversion symbol cannot be found. Use early
541 returns for error handling. Add malloc error check. Check for a
542 zero return value from la_version. Remove spurious comment about
543 static TLS initialization. Remove useless casts.
544 (notify_audit_modules_of_loaded_object): New function. Extracted
546 (load_audit_module): Likewise.
547 (dl_main): Call load_audit_modules.
549 2019-02-12 Joseph Myers <joseph@codesourcery.com>
551 * elf/dl-exception.c (_dl_exception_create_format): Add
552 fall-through comments.
553 * elf/ldconfig.c (parse_conf_include): Likewise.
554 * elf/rtld.c (print_statistics): Likewise.
555 * locale/programs/charmap.c (parse_charmap): Likewise.
556 * misc/mntent_r.c (__getmntent_r): Likewise.
557 * posix/wordexp.c (parse_arith): Likewise.
558 (parse_backtick): Likewise.
559 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
560 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
563 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
565 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
566 Use float instead of double.
568 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
570 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
572 2019-02-08 Joseph Myers <joseph@codesourcery.com>
574 * sysdeps/powerpc/bits/mathinline.h: Remove.
576 2019-02-08 Florian Weimer <fweimer@redhat.com>
578 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
579 * math/bits/math-finite.h: Move to ...
580 * bits/math-finite.h: ... here.
582 2019-02-08 Florian Weimer <fweimer@redhat.com>
584 * sysdeps/generic/bits/unistd_ext.h: Move to ...
585 * bits/unistd_ext.h: here.
587 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
590 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
591 * nss/tst-nss-files-hosts-long.c: New file.
592 * nss/tst-nss-files-hosts-long.root: New directory.
593 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
594 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
596 2019-02-08 Florian Weimer <fweimer@redhat.com>
598 * include/bits/unistd_ext.h: Remove file.
599 * posix/bits/unistd_ext.h: Move to ...
600 * sysdeps/generic/bits/unistd_ext.h: ... here.
602 2019-02-08 Florian Weimer <fweimer@redhat.com>
604 * include/bits/unistd_ext.h: New file.
606 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
608 * time/tst-strftime2.c: Use array_length macros instead of magic
611 2019-02-08 Florian Weimer <fweimer@redhat.com>
614 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
616 * nptl/register-atfork.c (__run_fork_handlers): Only perform
617 locking if the new do_locking argument is true.
618 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
621 2019-02-08 Florian Weimer <fweimer@redhat.com>
624 Linux: Add gettid system call wrapper.
625 * posix/Makefile (headers): Add bits/unistd_ext.h.
626 * posix/bits/unistd_ext.h: New file.
627 * posix/unistd.h: Include it.
628 * manual/process.texi (Process Identification): Document gettid.
629 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
630 tst-gettid, tst-gettid-kill.
631 (tst-gettid): Link with $(shared-thread-library).
632 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
633 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
634 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
635 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
636 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
637 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
639 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
641 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
642 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
644 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
646 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
648 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
650 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
652 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
654 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
656 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
657 (GLIBC_2.30): Likewise.
658 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
659 (GLIBC_2.30): Likewise.
660 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
661 (GLIBC_2.30): Likewise.
662 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
663 (GLIBC_2.30): Likewise.
664 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
667 (GLIBC_2.30): Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
669 (GLIBC_2.30): Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
671 (GLIBC_2.30): Likewise.
672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
673 (GLIBC_2.30): Likewise.
674 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
678 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
680 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
681 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
683 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
685 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
687 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
689 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
691 2019-02-07 Florian Weimer <fweimer@redhat.com>
693 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
694 compatibility symbols.
696 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
699 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
700 Add compiler barriers and comments.
702 2019-02-07 Florian Weimer <fweimer@redhat.com>
704 * include/array_length.h (array_length): Do not use a statement
705 expression and _Static_assert, so that array_length can be used at
706 file scope and as a constant expression.
708 2019-02-07 Florian Weimer <fweimer@redhat.com>
710 * support/xdlfcn.h (xdlmopen): Declare.
711 * support/xdlmopen.c: New file.
712 * support/Makefile (libsupport-routines): Add xdlmopen.
714 2019-02-06 Joseph Myers <joseph@codesourcery.com>
716 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
717 before return type, without separate inline.
718 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
719 * elf/dl-tunables.h (tunable_is_name): Likewise.
720 * malloc/malloc.c (do_set_trim_threshold): Likewise.
721 (do_set_top_pad): Likewise.
722 (do_set_mmap_threshold): Likewise.
723 (do_set_mmaps_max): Likewise.
724 (do_set_mallopt_check): Likewise.
725 (do_set_perturb_byte): Likewise.
726 (do_set_arena_test): Likewise.
727 (do_set_arena_max): Likewise.
728 (do_set_tcache_max): Likewise.
729 (do_set_tcache_count): Likewise.
730 (do_set_tcache_unsorted_limit): Likewise.
731 * nis/nis_subr.c (count_dots): Likewise.
732 * nptl/allocatestack.c (advise_stack_range): Likewise.
733 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
735 (reduce_sincos): Likewise.
736 (do_sincos): Likewise.
737 * sysdeps/unix/sysv/linux/x86/elision-conf.c
738 (do_set_elision_enable): Likewise.
739 (TUNABLE_CALLBACK_FNDECL): Likewise.
741 2019-02-06 Florian Weimer <fweimer@redhat.com>
743 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
744 (xdlsym): Use dlerror to detect a NULL symbol.
746 2019-02-06 Florian Weimer <fweimer@redhat.com>
748 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
750 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
752 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
754 * libio/tst-bz24153.c (wide): Use wide char format specifier.
756 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
758 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
759 __wmemcmp and weak alias to wmemcmp.
761 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
764 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
765 TLS_TCB_AT_TP tls variant.
766 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
767 Add alignment checks.
768 * support/Makefile (libsupport-routines): Add xposix_memalign and
770 * support/support.h: Add xposix_memalign.
771 * support/xthread.h: Add xpthread_attr_setstack.
772 * support/xposix_memalign.c: New File.
773 * support/xpthread_attr_setstack.c: Likewise.
775 2019-02-05 Florian Weimer <fweimer@redhat.com>
778 arm: Use "nr" constraint for Systemtap probes, to avoid the
779 compiler using memory operands for constants, due to the "o"
780 alternative in the default "nor" constraint.
781 * include/stap-probe.h [USE_STAP_PROBE]: Include
782 <stap-probe-machine.h>
783 * sysdeps/generic/stap-probe-machine.h: New file.
784 * sysdeps/arm/stap-probe-machine.h: Likewise.
786 2019-02-04 Joseph Myers <joseph@codesourcery.com>
788 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
789 with 0, not tcache->entries[tc_idx].
791 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
794 2019-02-04 Andreas Schwab <schwab@suse.de>
798 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
799 looking up collating elements match against (wide) character
800 sequence instead of name. Correct alignment adjustment.
801 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
802 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
803 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
804 (LOCALES): Add cs_CZ.ISO-8859-2.
805 * posix/tst-fnmatch4.c: New file.
806 * posix/tst-fnmatch5.c: New file.
807 * include/wchar.h (__wmemcmp): Declare.
808 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
809 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
810 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
811 * sysdeps/s390/wmemcmp.c: Likewise.
813 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
817 * NEWS: Updated for CVE-2019-7309.
818 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
819 upper 32 bits of RDX register for x32. Use unsigned Jcc
820 instructions, instead of signed.
821 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
822 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
824 2019-02-04 Florian Weimer <fweimer@redhat.com>
826 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
827 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
828 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
830 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
831 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
832 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
833 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
835 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
837 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
839 (posix_spawn_file_actions_addopen): Likewise.
840 (posix_spawn_file_actions_addclose): Likewise.
841 (posix_spawn_file_actions_adddup2): Likewise.
842 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
844 (posix_spawn_file_actions_addfchdir_np): Likewise.
846 2019-02-04 David Newall <glibc@davidnewall.com>
848 elf: Implement --preload option for the dynamic linker.
849 * elf/rtld.c (preloadarg): New variable.
850 (handle_preload_list): Pass through “where” argument to
852 (dl_main): Handle "--preload" and add second call to
854 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
855 (tst-rtld-preload-OBJS): Set variable.
856 (tst-rtld-preload.out): New target.
857 * elf/tst-rtld-preload.sh: New file.
859 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
861 * Makefile (testrun.sh): Exit in case of incorrect argument.
863 2019-02-04 Florian Weimer <fweimer@redhat.com>
865 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
868 2019-02-03 Florian Weimer <fweimer@redhat.com>
870 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
871 implicit overflow checks.
873 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
875 * stdlib/isomac.c: Include <unistd.h>.
877 2019-02-03 Florian Weimer <fweimer@redhat.com>
879 * include/time.h (__tzfile_default): Use int, not long int, for
881 * time/tzfile.c (struct ttinfo): Change type of the offset member
883 (__tzfile_read): Remove useless cast.
884 (__tzfile_default): Adjust prototype.
885 * time/tzset.c (tz_rule): Change type of the offset member to int.
886 (parse_offset): Change the type of the sign variable to int.
888 2019-02-03 Florian Weimer <fweimer@redhat.com>
891 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
892 * libio/getchar.c (getchar): Likewise.
893 * libio/getchar_u.c (getchar_unlocked): Likewise.
894 * libio/getwchar.c (getwchar): Likewise.
895 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
896 * libio/iogets.c (_IO_gets): Likewise.
897 * libio/vscanf.c (_IO_vscanf): Likewise.
898 * libio/vwscanf.c (__vwscanf): Likewise.
899 * libio/tst-bz24153.c: New file.
900 * libio/Makefile (tests): Add it.
902 2019-02-02 Florian Weimer <fweimer@redhat.com>
905 * manual/resource.texi (Basic Scheduling Functions): Add
906 portability note. Change process to task throughout the section.
907 Remove incorrect comment about sched_yield as it affects
908 tasks/threads, not entire processes.
909 * sysdeps/unix/sysv/linux/bits/posix_opt.h
910 (_POSIX_PRIORITY_SCHEDULING): Update comment.
912 2019-02-01 Joseph Myers <joseph@codesourcery.com>
914 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
915 * configure: Regenerated.
916 * manual/install.texi (Tools for Compilation): Update minimum GCC
918 * INSTALL: Regenerated.
920 2019-02-01 Florian Weimer <fweimer@redhat.com>
922 * support/support_test_compare_string.c
923 (support_test_compare_string): Use "string" in error message.
924 * support/tst-test_compare_string.c (do_test): Adjust.
926 2019-02-01 Florian Weimer <fweimer@redhat.com>
928 * support/support_format_address_family.c
929 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
931 2019-02-01 Florian Weimer <fweimer@redhat.com>
933 * manual/socket.texi (Internet Address Formats): Clarify the byte
934 order of struct sockaddr_in, struct sockaddr_in6. Document
935 sin6_flowinfo and sin6_scope_id.
937 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
939 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
940 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
941 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
942 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
943 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
944 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
946 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
948 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
949 [!MEMCHR](MEMCHR): Set to __memchr.
950 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
951 Add memchr_generic and memchr_nosimd.
952 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
953 (__libc_ifunc_impl_list): Add memchr ifuncs.
954 * sysdeps/aarch64/multiarch/memchr.c: New file.
955 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
956 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
958 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
960 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
962 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
963 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
964 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
965 Add IS_EMAG check for ifunc dispatch.
966 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
967 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
969 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
971 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
974 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
977 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
979 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
981 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
983 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
984 syscall-template file.
986 2019-01-31 Carlos O'Donell <carlos@redhat.com>
987 Torvald Riegel <triegel@redhat.com>
988 Rik Prohaska <prohaska7@gmail.com>
991 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
992 tst-rwlock-trywrlock-stall.
993 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
994 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
995 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
996 Set __wrphase_fute to 1 only if we started the write phase.
997 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
998 * nptl/tst-rwlock-trywrlock-stall.c: New file.
999 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1000 * support/xpthread_rwlock_destroy.c: New file.
1001 * support/xthread.h: Declare xpthread_rwlock_destroy.
1003 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1005 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1008 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1011 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1012 * libio/fileops.c (_IO_new_file_underflow): Likewise
1013 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1014 * libio/putchar.c (putchar): Likewise.
1015 * libio/putchar_u.c (putchar_unlocked): Likewise.
1016 * libio/putwchar.c (putchar): Likewise.
1017 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1018 * libio/tst-bz24051.c: New test.
1019 * libio/Makefile (tests): Add tst-bz24051
1021 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1023 regex: fix read overrun [BZ #24114]
1024 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1025 https://debbugs.gnu.org/34140
1026 * posix/regexec.c (proceed_next_node):
1027 Do not read past end of input buffer.
1029 2019-01-31 Florian Weimer <fweimer@redhat.com>
1032 * nss/nss_files/files-alias.c (get_next_alias): Handle
1033 continuation line without newline at the end.
1034 * nss/tst-nss-files-alias-truncated.c: New file.
1035 * nss/Makefile [$(build-shared)] (tests): Add
1036 tst-nss-files-alias-truncated.
1037 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1038 * support/namespace.h (struct support_chroot_configuration): Add
1040 (struct support_chroot): Add path_aliases member.
1041 * support/support_chroot.c (support_chroot_create): Handle
1043 (support_chroot_free): Free path_aliases.
1045 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1047 * version.h (RELEASE): Set to "development".
1048 (VERSION): Set to "2.29.9000".
1049 * NEWS: Add section for 2.30.
1051 * version.h (RELEASE): Set to "stable".
1052 (VERSION): Set to "2.29".
1053 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1055 * NEWS: Add the list of bugs fixed in 2.29.
1056 * manual/contrib.texi: Update contributors list with some more
1058 * manual/install.texi: Update latest versions of packages
1060 * INSTALL: Regenerated.
1062 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1064 * po/be.po: Update translations.
1065 * po/bg.po: Likewise.
1066 * po/ca.po: Likewise.
1067 * po/cs.po: Likewise.
1068 * po/da.po: Likewise.
1069 * po/de.po: Likewise.
1070 * po/el.po: Likewise.
1071 * po/eo.po: Likewise.
1072 * po/es.po: Likewise.
1073 * po/fi.po: Likewise.
1074 * po/fr.po: Likewise.
1075 * po/gl.po: Likewise.
1076 * po/hr.po: Likewise.
1077 * po/hu.po: Likewise.
1078 * po/ia.po: Likewise.
1079 * po/id.po: Likewise.
1080 * po/it.po: Likewise.
1081 * po/ja.po: Likewise.
1082 * po/ko.po: Likewise.
1083 * po/lt.po: Likewise.
1084 * po/nb.po: Likewise.
1085 * po/nl.po: Likewise.
1086 * po/pl.po: Likewise.
1087 * po/pt_BR.po: Likewise.
1088 * po/ru.po: Likewise.
1089 * po/rw.po: Likewise.
1090 * po/sk.po: Likewise.
1091 * po/sl.po: Likewise.
1092 * po/sv.po: Likewise.
1093 * po/tr.po: Likewise.
1094 * po/uk.po: Likewise.
1095 * po/vi.po: Likewise.
1096 * po/zh_CN.po: Likewise.
1097 * po/zh_TW.po: Likewise.
1099 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1102 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1103 of $f3 register on $y_is_neg path.
1105 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1108 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1109 sigaltstack.ss_flags.
1111 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1114 * manual/time.texi (strftime): Document "%Ey".
1115 * time/strftime_l.c (__strftime_internal): Set the default width
1116 padding with zero of "%Ey" to 2.
1119 * manual/time.texi (strftime): Document "%EC" and "%EY".
1120 * time/Makefile (tests): Add tst-strftime2.
1121 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1122 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1123 override padding for "%Ey".
1124 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1125 "%Ey" in the subformat as if decorated with that flag.
1126 * time/tst-strftime2.c: New file.
1128 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1130 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1134 * elf/Makefile (tests): Add tst-audit13.
1135 (modules-names): Add tst-audit13mod1.
1136 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1138 * elf/rtld.c (dl_main): Handle invalid audit module version.
1139 * elf/tst-audit13.c: New file.
1140 * elf/tst-audit13mod1.c: Likewise.
1142 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1144 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1145 returned by __hurd_at_flags.
1146 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1147 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1148 directly instead of __hurd_file_name_lookup.
1150 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1152 * scripts/build-many-glibcs.py (Context.checkout): Default
1153 binutils version to 2.32 branch.
1155 2019-01-21 Florian Weimer <fweimer@redhat.com>
1159 resolv: Reject trailing characters in host names
1160 * include/arpa/inet.h (__inet_aton_exact): Declare.
1161 (inet_aton): Remove hidden prototype. No longer used internally.
1162 * nscd/gai.c (__inet_aton): Do not define.
1163 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1164 * nss/digits_dots.c (__inet_aton): Likewise.
1165 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1166 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1167 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1168 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1169 (tst-resolv-trailing): Likewise.
1170 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1172 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1173 Make static. Add endp parameter.
1174 (__inet_aton_exact): New function.
1175 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1176 (__inet_addr): Call inet_aton_end.
1177 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1178 not just IPv6. Call __inet_aton_exact.
1179 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1180 (tests): Make const. Add additional test cases with trailing
1182 (do_test): Use array_length.
1183 * resolv/tst-inet_aton_exact.c: New file.
1184 * resolv/tst-resolv-trailing.c: Likewise.
1185 * resolv/tst-resolv-nondecimal.c: Likewise.
1186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1188 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1192 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1193 Clear the upper 32 bits of RSI register.
1194 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1195 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1196 and tst-size_t-wcsnlen.
1197 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1198 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1200 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1204 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1205 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1207 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1208 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1210 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1214 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1216 * sysdeps/x86_64/strcmp.S: Likewise.
1217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1218 tst-size_t-strncmp and tst-size_t-wcsncmp.
1219 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1220 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1221 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1223 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1227 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1228 RDX_LP for length. Clear the upper 32 bits of RDX register.
1229 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1230 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1231 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1232 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1234 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1238 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1239 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1240 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1241 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1243 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1247 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1248 length. Clear the upper 32 bits of RDX register.
1249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1250 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1252 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1254 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1256 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1258 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1262 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1263 length. Clear the upper 32 bits of RDX register.
1264 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1265 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1266 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1268 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1269 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1271 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1276 upper 32 bits of RDX register.
1277 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1278 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1280 * sysdeps/x86_64/x32/test-size_t.h: New file.
1281 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1282 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1284 2019-01-18 Florian Weimer <fweimer@redhat.com>
1287 resolv: Do not send queries for non-host-names in nss_dns.
1288 * resolv/nss_dns/dns-host.c (check_name): New function.
1289 (_nss_dns_gethostbyname2_r): Use it.
1290 (_nss_dns_gethostbyname_r): Likewise.
1291 (_nss_dns_gethostbyname4_r): Likewise.
1293 2019-01-21 Florian Weimer <fweimer@redhat.com>
1295 * resolv/inet_addr.c: Reformat to GNU style.
1296 (__inet_addr, __inet_aton): Update comment.
1298 2019-01-18 Florian Weimer <fweimer@redhat.com>
1300 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1301 ("malloc: Use current (C11-style) atomics for fastbin access").
1302 This commit introduces a substantial performance regression on
1304 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1305 (REMOVE_FB): Define.
1306 (_int_malloc): Use it and reindent.
1307 (_int_free): Use CAS loop with
1308 catomic_compare_and_exchange_val_rel.
1309 (malloc_consolidate): Use atomic_exchange_acq.
1312 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1314 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1316 (LDFLAGS-tst-minsigstksz-2): Likewise.
1317 (LDFLAGS-tst-minsigstksz-3): Likewise.
1318 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1319 (LDFLAGS-tst-minsigstksz-4): Likewise.
1321 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1323 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1326 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1328 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1330 2019-01-16 Zack Weinberg <zackw@panix.com>
1332 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1333 (xget_sigstack_location): New test support functions.
1334 * support/xsigstack.c: New file, implementing them.
1335 * support/tst-xsigstack.c: New test for them.
1336 * support/Makefile: Update.
1338 * signal/tst-minsigstksz-1.c
1339 * signal/tst-minsigstksz-2.c
1340 * signal/tst-minsigstksz-3.c
1341 * signal/tst-minsigstksz-3a.c
1342 * signal/tst-minsigstksz-4.c: New tests.
1343 * signal/Makefile: Run them.
1345 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1347 * po/libc.pot: Regenerate.
1349 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1351 * math/libm-test-fma.inc (fma_test_data): Set
1352 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1354 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1356 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1357 (do_test): Changed __vector __int128_t to __vector unsigned int.
1359 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1362 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1363 stpcpy-avx2 and stpncpy-avx2.
1364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1365 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1366 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1368 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1369 ifunc-strcpy.h}: rename header for a more generic name.
1370 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1371 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1372 AVX unaligned load is fast and vzeroupper is preferred.
1373 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1374 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1375 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1376 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1377 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1378 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1380 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1382 * argp/argp-help.c: Fix typo in comment.
1383 * misc/sys/cdefs.h: Likewise.
1384 * posix/regexec.c (sift_states_iter_mb): Likewise.
1385 * socket/sockatmark.c: Likewise.
1386 * socket/sys/socket.h: Likewise.
1387 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1388 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1389 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1391 * sysdeps/unix/sockatmark.c: Likewise.
1392 * time/strptime_l.c: Likewise.
1394 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1396 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1397 missing space after the cast of "_NL_CURRENT".
1399 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1402 ifdef to fix read of VSCR.
1403 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1404 tst-ucontext-ppc64-vscr.c to test list.
1405 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1407 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1409 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1412 2019-01-09 Jim Wilson <jimw@sifive.com>
1414 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1416 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1418 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1419 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1420 __memcpy_falkor for ares.
1421 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1423 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1426 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1429 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1430 4_FP_W_TYPEs are used for IEEE quad precision.
1431 * soft-fp/extendhftf2.c: Likewise.
1432 * soft-fp/extendsftf2.c: Likewise.
1433 * soft-fp/extendxftf2.c: Likewise.
1434 * soft-fp/trunctfdf2.c: Likewise.
1435 * soft-fp/trunctfhf2.c: Likewise.
1436 * soft-fp/trunctfsf2.c: Likewise.
1437 * soft-fp/trunctfxf2.c: Likewise.
1438 * sysdeps/alpha/ots_cvttx.c: Likewise.
1439 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1440 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1441 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1442 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1443 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1444 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1445 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1446 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1447 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1448 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1449 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1450 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1451 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1452 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1453 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1454 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1455 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1457 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1460 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1461 code with -fmath-errno.
1462 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1463 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1464 * string/test-strerror-errno.c: New file.
1466 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1469 * localedata/locales/en_US (date_fmt): Add, set to
1470 "%a %d %b %Y %r %Z".
1472 2019-01-07 Florian Weimer <fweimer@redhat.com>
1475 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1476 instead of @var{errno}.
1477 (Parsing of Integers): Likewise.
1478 (Parsing of Floats): Likewise.
1479 * manual/filesys.texi (Working with Directory Trees): Likewise.
1480 (Temporary Files): Likewise.
1481 * manual/job.texi (Terminal Access Functions): Likewise.
1482 * manual/llio.texi (Synchronizing I/O): Likewise.
1483 * manual/math.texi (SVID Random): Likewise.
1484 * manual/message.texi (The catgets Functions): Likewise.
1485 (Translation with gettext): Likewise.
1486 (Locating gettext catalog): Likewise.
1487 (Charset conversion in gettext): Likewise.
1488 * manual/nss.texi (NSS Module Function Internals): Likewise.
1489 * manual/search.texi (Hash Search Function): Likewise.
1490 * manual/setjmp.texi (System V contexts): Likewise.
1491 * manual/time.texi (Sleeping): Likewise.
1492 * manual/users.texi (Lookup User): Likewise.
1493 (Lookup Group): Likewise.
1495 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1497 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1500 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1504 __builtin_unreachable for default case in switch.
1505 (__ieee754_yn): Likewise.
1506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1507 (__ieee754_ynl): Likewise.
1508 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1509 (__ieee754_ynl): Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1511 (__ieee754_ynl): Likewise.
1513 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1515 * manual/maint.texi: Use @{ and @}.
1517 2019-01-04 Florian Weimer <fweimer@redhat.com>
1519 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1521 (do_in_chroot_1): Call it.
1523 Improve error reporting in case it is not possible to create a
1524 collision for the PTY name required by the test.
1526 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1528 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1529 lll_wait_tid with timeout.
1530 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1531 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1532 futex_reltimed_wait_cancelable for cancelabla mode.
1533 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1534 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1536 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1537 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1538 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1539 SYSCALL_CANCEL_NCS): New macro.
1540 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1541 (lll_timedwait_tid): Remove macro.
1542 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1544 (lll_timedwait_tid): Likewise.
1545 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1547 (lll_timedwait_tid): Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1550 (lll_timedwait_tid): Likewise.
1551 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1552 Use INTERNAL_SYSCALL_CANCEL.
1553 * sysdeps/unix/sysv/linux/futex-internal.h
1554 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1555 instead of __pthread_{enable,disable}_asynccancel.
1556 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1557 (lll_futex_wait_cancel): New macro.
1559 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1560 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1562 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1563 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1565 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1566 in backtrace analysis.
1567 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1569 (tf_send): Likewise.
1571 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1572 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1573 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1574 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1575 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1576 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1577 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1578 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1579 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1580 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1581 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1582 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1584 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1585 tst-cancel-wrappers.sh.
1586 (generated): Remove tst-cancel-wrappers.out.
1587 (tst-cancel-wrappers.out): Remove rule.
1588 * nptl/tst-cancel-wrappers.sh: Remove file.
1590 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1592 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1593 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1596 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1599 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1600 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1601 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1602 close-on-exec reset for adddup2 file action.
1603 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1605 2019-01-03 Zack Weinberg <zackw@panix.com>
1607 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1608 parameter. Only use deprecated scanf when __USE_GNU is defined
1609 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1610 than 201103L, whichever is relevant for the language being compiled.
1612 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1613 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1614 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1615 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1616 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1620 * libio/iovswscanf.c
1625 * stdio-common/fscanf.c
1626 * stdio-common/scanf.c
1627 * stdio-common/vfscanf.c
1628 * stdio-common/vfwscanf.c
1629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1630 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1631 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1632 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1633 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1634 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1635 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1636 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1637 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1638 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1639 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1640 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1641 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1642 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1643 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1645 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1646 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1647 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1649 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1650 with a preprocessor macro.
1652 * stdio-common/bug21.c, stdio-common/scanf14.c:
1653 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1654 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1655 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1656 to xscanf, xfscanf, xsscanf.
1658 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1659 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1660 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1661 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1663 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1664 override feature selection macros or provide definitions of u_char etc.
1665 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1666 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1667 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1670 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1673 bits/termios-misc.h.
1674 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1675 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1678 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1679 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1681 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1682 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1683 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1684 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1685 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1686 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1688 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1689 (sysdep_headers): Add termios-misc.h.
1691 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1692 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1693 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1697 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1698 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1699 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1700 TCSAFLUSH): Move to termios-tcflow.h.
1701 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1702 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1704 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1708 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1709 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1710 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1711 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1712 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1713 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1714 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1715 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1717 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1718 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1724 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1725 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1726 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1727 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1728 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1730 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1731 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1738 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1739 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1742 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1743 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1744 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1745 __MAX_BAUD): Move to termios-baud.h.
1746 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1747 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1748 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1750 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1752 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1754 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1755 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1757 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1758 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1759 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1761 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1762 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1764 [USE_MISC] (XTABS): Likewise.
1765 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1766 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1770 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1772 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1773 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1775 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1776 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1777 IUTF8): Move to termios-c_iflag.h.
1778 * sysdeps/unix/sysv/linux/alpha/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 (sysdeps_headers): Add
1785 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1786 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1787 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1788 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1790 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1791 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1792 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1793 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1794 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1796 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1798 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1799 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1800 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1801 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1804 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1808 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1810 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1814 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1815 _HAVE_C_OSPEED): Define.
1816 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1817 _HAVE_C_OSPEED): Likewise.
1818 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1819 _HAVE_C_OSPEED): Likewise.
1820 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1821 (cfsetospeed): Check for define value instead of existence.
1822 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1823 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1824 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1825 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1826 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1829 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1831 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1832 (TIOCSER_TEMT): Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1834 (TEOCSER_TEMT): Likewise.
1836 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1839 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1841 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1843 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1845 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1847 * sysdeps/htl/pt-barrierattr-setpshared.c
1848 (pthread_barrierattr_setpshared): Add stub warning.
1849 * sysdeps/htl/pt-condattr-setpshared.c
1850 (pthread_condattr_setpshared): Likewise.
1851 * sysdeps/htl/pt-mutexattr-setpshared.c
1852 (pthread_mutexattr_setpshared): Likewise.
1853 * sysdeps/htl/pt-rwlockattr-setpshared.c
1854 (pthread_rwlockattr_setpshared): Likewise.
1855 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1856 (pthread_mutexattr_setpshared): Likewise.
1858 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1860 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1861 constants to match with Linux 4.20.
1863 * sysdeps/mips/mips32/libm-test-ulps: Update.
1864 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1866 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1869 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1870 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1871 than __typeof (...) for the a_ptr variable.
1873 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1875 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1876 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1877 * libio/Makefile (tests): Add tst-sprintf-ub and
1879 (CFLAGS-tst-sprintf-ub.c): New variable.
1880 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1881 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1882 destination buffer and check for overflows in fortified mode.
1883 * libio/libioP.h (PRINTF_CHK): New macro.
1884 * libio/tst-sprintf-chk-ub.c: New file.
1885 * libio/tst-sprintf-ub.c: Likewise.
1887 2019-01-02 Florian Weimer <fweimer@redhat.com>
1890 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1893 2019-01-02 Florian Weimer <fweimer@redhat.com>
1895 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1897 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1899 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1902 * sysdeps/unix/sysv/linux/netpacket/packet.h
1903 (PACKET_IGNORE_OUTGOING): New macro.
1905 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1908 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1910 (riscv_flush_icache): New syscall.
1912 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1913 trailing whitespace removed.
1914 * scripts/config.guess: Update to version 2019-01-01.
1915 * scripts/config.sub: Update to version 2019-01-01.
1916 * scripts/move-if-change: Update from gnulib.
1918 * NEWS: Update copyright dates.
1919 * catgets/gencat.c (print_version): Likewise.
1920 * csu/version.c (banner): Likewise.
1921 * debug/catchsegv.sh: Likewise.
1922 * debug/pcprofiledump.c (print_version): Likewise.
1923 * debug/xtrace.sh (do_version): Likewise.
1924 * elf/ldconfig.c (print_version): Likewise.
1925 * elf/ldd.bash.in: Likewise.
1926 * elf/pldd.c (print_version): Likewise.
1927 * elf/sotruss.sh: Likewise.
1928 * elf/sprof.c (print_version): Likewise.
1929 * iconv/iconv_prog.c (print_version): Likewise.
1930 * iconv/iconvconfig.c (print_version): Likewise.
1931 * locale/programs/locale.c (print_version): Likewise.
1932 * locale/programs/localedef.c (print_version): Likewise.
1933 * login/programs/pt_chown.c (print_version): Likewise.
1934 * malloc/memusage.sh (do_version): Likewise.
1935 * malloc/memusagestat.c (print_version): Likewise.
1936 * malloc/mtrace.pl: Likewise.
1937 * manual/libc.texinfo: Likewise.
1938 * nptl/version.c (banner): Likewise.
1939 * nscd/nscd.c (print_version): Likewise.
1940 * nss/getent.c (print_version): Likewise.
1941 * nss/makedb.c (print_version): Likewise.
1942 * posix/getconf.c (main): Likewise.
1943 * scripts/test-installation.pl: Likewise.
1944 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1946 * All files with FSF copyright notices: Update copyright dates
1947 using scripts/update-copyrights.
1948 * locale/programs/charmap-kw.h: Regenerated.
1949 * locale/programs/locfile-kw.h: Likewise.
1951 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1953 * timezone/zdump.c: Update from tzcode 2018i.
1954 * timezone/zic.c: Likewise.
1956 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1958 regex: improve Gnulib port to AIX
1959 From the glibc point of view, this removes duplicate macro
1960 definitions and is obviously safe.
1961 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1962 * posix/regex_internal.h:
1963 (__attribute__, __attribute_warn_unused_result__):
1964 Remove; already defined elsewhere.
1966 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1969 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1970 copying operation. (ncopies had the wrong type, resulting in an
1971 integer wraparound and too few elements being copied.)
1973 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1976 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1977 <asm/syscalls.h> exists with __has_include__ before including it.
1979 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1981 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1984 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1986 * hurd/lookup-retry: Include <unistd.h>.
1987 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1988 Release it on return. Handle "pid" magical lookup retry.
1990 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1993 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1994 (t_fmt_ampm): Likewise.
1995 * localedata/locales/aa_ER (t_fmt): Likewise.
1996 (t_fmt_ampm): Likewise.
1997 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1998 (t_fmt_ampm): Likewise.
1999 * localedata/locales/aa_ET (t_fmt): Likewise.
2000 (t_fmt_ampm): Likewise.
2001 * localedata/locales/am_ET (t_fmt): Likewise.
2002 (t_fmt_ampm): Likewise.
2003 * localedata/locales/byn_ER (t_fmt): Likewise.
2004 (t_fmt_ampm): Likewise.
2005 * localedata/locales/om_ET (t_fmt): Likewise.
2006 (t_fmt_ampm): Likewise.
2007 * localedata/locales/sid_ET (t_fmt): Likewise.
2008 (t_fmt_ampm): Likewise.
2009 * localedata/locales/so_DJ (t_fmt): Likewise.
2010 (t_fmt_ampm): Likewise.
2011 * localedata/locales/so_ET (t_fmt): Likewise.
2012 (t_fmt_ampm): Likewise.
2013 * localedata/locales/so_SO (t_fmt): Likewise.
2014 (t_fmt_ampm): Likewise.
2015 * localedata/locales/ti_ER (t_fmt): Likewise.
2016 (t_fmt_ampm): Likewise.
2017 * localedata/locales/ti_ET (t_fmt): Likewise.
2018 (t_fmt_ampm): Likewise.
2019 * localedata/locales/tig_ER (t_fmt): Likewise.
2020 (t_fmt_ampm): Likewise.
2021 * localedata/locales/wal_ET (t_fmt): Likewise.
2022 (t_fmt_ampm): Likewise.
2024 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2025 * localedata/locales/ar_IN (t_fmt): Likewise.
2026 * localedata/locales/bhb_IN (t_fmt): Likewise.
2027 * localedata/locales/bho_IN (t_fmt): Likewise.
2028 * localedata/locales/bi_VU (t_fmt): Likewise.
2029 * localedata/locales/bn_BD (t_fmt): Likewise.
2030 * localedata/locales/bn_IN (t_fmt): Likewise.
2031 * localedata/locales/brx_IN (t_fmt): Likewise.
2032 * localedata/locales/doi_IN (t_fmt): Likewise.
2033 * localedata/locales/en_HK (t_fmt): Likewise.
2034 (t_fmt_ampm): Likewise.
2035 * localedata/locales/en_IN (t_fmt): Likewise.
2036 * localedata/locales/en_PH (t_fmt): Likewise.
2037 * localedata/locales/gu_IN (t_fmt): Likewise.
2038 * localedata/locales/hi_IN (t_fmt): Likewise.
2039 * localedata/locales/hif_FJ (t_fmt): Likewise.
2040 * localedata/locales/hne_IN (t_fmt): Likewise.
2041 * localedata/locales/kn_IN (t_fmt): Likewise.
2042 * localedata/locales/kok_IN (t_fmt): Likewise.
2043 * localedata/locales/ks_IN (t_fmt): Likewise.
2044 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2045 * localedata/locales/mag_IN (t_fmt): Likewise.
2046 * localedata/locales/mai_IN (t_fmt): Likewise.
2047 * localedata/locales/mjw_IN (t_fmt): Likewise.
2048 * localedata/locales/ml_IN (t_fmt): Likewise.
2049 * localedata/locales/mni_IN (t_fmt): Likewise.
2050 * localedata/locales/mr_IN (t_fmt): Likewise.
2051 * localedata/locales/ms_MY (t_fmt): Likewise.
2052 * localedata/locales/pa_IN (t_fmt): Likewise.
2053 * localedata/locales/raj_IN (t_fmt): Likewise.
2054 * localedata/locales/sa_IN (t_fmt): Likewise.
2055 * localedata/locales/sat_IN (t_fmt): Likewise.
2056 * localedata/locales/sd_IN (t_fmt): Likewise.
2057 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2058 * localedata/locales/tcy_IN (t_fmt): Likewise.
2059 * localedata/locales/the_NP (t_fmt): Likewise.
2060 * localedata/locales/to_TO (t_fmt): Likewise.
2061 * localedata/locales/ur_IN (t_fmt): Likewise.
2063 * localedata/locales/hif_FJ (d_t_fmt): Set to
2064 "%A %d %b %Y %I:%M:%S %p".
2065 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2067 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2068 * localedata/locales/ar_BH (t_fmt): Likewise.
2069 * localedata/locales/ar_DZ (t_fmt): Likewise.
2070 * localedata/locales/ar_EG (t_fmt): Likewise.
2071 * localedata/locales/ar_IQ (t_fmt): Likewise.
2072 * localedata/locales/ar_JO (t_fmt): Likewise.
2073 * localedata/locales/ar_KW (t_fmt): Likewise.
2074 * localedata/locales/ar_LB (t_fmt): Likewise.
2075 * localedata/locales/ar_LY (t_fmt): Likewise.
2076 * localedata/locales/ar_OM (t_fmt): Likewise.
2077 * localedata/locales/ar_QA (t_fmt): Likewise.
2078 * localedata/locales/ar_SD (t_fmt): Likewise.
2079 * localedata/locales/ar_SS (t_fmt): Likewise.
2080 * localedata/locales/ar_SY (t_fmt): Likewise.
2081 * localedata/locales/ar_TN (t_fmt): Likewise.
2082 * localedata/locales/ar_YE (t_fmt): Likewise.
2084 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2085 (t_fmt_ampm): Likewise.
2086 * localedata/locales/gez_ET (t_fmt): Likewise.
2087 (t_fmt_ampm): Likewise.
2089 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2090 (t_fmt_ampm): Likewise.
2091 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2093 * localedata/locales/zh_HK (t_fmt):
2094 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2096 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2097 because this locale does not use the 12-hour clock.
2098 (t_fmt): Set to "%Z %H:%M:%S".
2099 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2101 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2102 because this locale does not use the 12-hour clock.
2103 (t_fmt): Set to "%H:%M:%S %Z".
2104 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2106 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2107 because this locale does not use the 12-hour clock.
2108 (t_fmt): Set to "%T".
2109 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2110 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2112 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2113 because this locale does not use the 12-hour clock.
2114 (t_fmt): Set to "%H:%M:%S %Z".
2115 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2117 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2118 because this locale does not use the 12-hour clock.
2119 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2120 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2122 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2126 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2127 (t_fmt_ampm): Likewise.
2128 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2129 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2130 (d_fmt): Set to "%-d.%-m.%y".
2132 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2134 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2135 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2136 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2138 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2139 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2140 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2142 * support/blob_repeat.c (check_mul_overflow_size_t,
2143 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2145 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2147 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2149 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2151 regex: simplify Gnulib port
2152 This simplifies the code, by removing stuff intended for porting
2153 to Gnulib but no longer needed there.
2154 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2155 uses of libc_hidden_def, weak_alias.
2156 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2157 _Restrict_ except for public-facing headers.
2158 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2159 Remove; already defined elsewhere.
2160 * posix/regex.c, posix/regex_internal.h:
2161 Use __GNUC_PREREQ instead of rolling our own.
2162 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2164 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2166 * benchtests/bench-strlen.c (generic_strlen): New function.
2167 (memchr_strlen): New function.
2169 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2172 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2173 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2175 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2177 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2179 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2181 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2182 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2183 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2184 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2185 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2186 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2187 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2189 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2192 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2193 PLT reference in libc.so.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2195 _Q_lltoq and _Q_qtod PLT references in libc.so.
2197 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2199 * benchtests/bench-memchr.c: Cleanup defines.
2200 * benchtests/bench-memcmp.c: Likewise.
2201 * benchtests/bench-memset.c: Likewise.
2202 * benchtests/bench-memset-large.c: Likewise.
2203 * benchtests/bench-memset-walk.c: Likewise.
2204 * benchtests/bench-stpcpy.c: Likewise.
2205 * benchtests/bench-stpncpy.c: Likewise.
2206 * benchtests/bench-strcat.c: Likewise.
2207 * benchtests/bench-strchr.c: Likewise.
2208 * benchtests/bench-strcmp.c: Likewise.
2209 * benchtests/bench-strcpy.c: Likewise.
2210 * benchtests/bench-strcspn.c: Likewise.
2211 * benchtests/bench-string.h: Likewise.
2212 * benchtests/bench-strlen.c: Likewise.
2213 * benchtests/bench-strncat.c: Likewise.
2214 * benchtests/bench-strncmp.c: Likewise.
2215 * benchtests/bench-strncpy.c: Likewise.
2216 * benchtests/bench-strnlen.c: Likewise.
2217 * benchtests/bench-strpbrk.c: Likewise.
2218 * benchtests/bench-strrchr.c: Likewise.
2219 * benchtests/bench-strspn.c: Likewise.
2221 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2223 * stdlib/longlong.h: Update from GCC.
2226 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2227 * configure: Regenerated.
2228 * manual/install.texi (Tools for Compilation): Update minimum GCC
2230 * INSTALL: Regenerated.
2232 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2234 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2236 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2238 * malloc/malloc.c (mremap_chunk): Additional checks.
2240 2018-12-21 Mao Han <han_mao@c-sky.com>
2242 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2243 * scripts/build-many-glibcs.py: Add C-SKY targets.
2244 * sysdeps/csky/Implies: New file.
2245 * sysdeps/csky/Makefile: Likewise.
2246 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2247 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2248 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2249 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2250 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2251 * sysdeps/csky/abiv2/memmove.S: Likewise.
2252 * sysdeps/csky/abiv2/memset.S: Likewise.
2253 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2254 * sysdeps/csky/abiv2/start.S: Likewise.
2255 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2256 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2257 * sysdeps/csky/abiv2/strlen.S: Likewise.
2258 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2259 * sysdeps/csky/abort-instr.h: Likewise.
2260 * sysdeps/csky/atomic-machine.h: Likewise.
2261 * sysdeps/csky/bits/endian.h: Likewise.
2262 * sysdeps/csky/bits/fenv.h: Likewise.
2263 * sysdeps/csky/bits/link.h: Likewise.
2264 * sysdeps/csky/bits/setjmp.h: Likewise.
2265 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2266 * sysdeps/csky/bsd-setjmp.S: Likewise.
2267 * sysdeps/csky/configure: Likewise.
2268 * sysdeps/csky/configure.ac: Likewise.
2269 * sysdeps/csky/dl-machine.h: Likewise.
2270 * sysdeps/csky/dl-procinfo.c: Likewise.
2271 * sysdeps/csky/dl-procinfo.h: Likewise.
2272 * sysdeps/csky/dl-sysdep.h: Likewise.
2273 * sysdeps/csky/dl-tls.h: Likewise.
2274 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2275 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2276 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2277 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2278 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2279 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2280 * sysdeps/csky/fpu/fegetround.c: Likewise.
2281 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2282 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2283 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2284 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2285 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2286 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2287 * sysdeps/csky/fpu/fesetround.c: Likewise.
2288 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2289 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2290 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2291 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2292 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2293 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2294 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2295 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2296 * sysdeps/csky/fpu_control.h: Likewise.
2297 * sysdeps/csky/gccframe.h: Likewise.
2298 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2299 * sysdeps/csky/ldsodefs.h: Likewise.
2300 * sysdeps/csky/libc-tls.c: Likewise.
2301 * sysdeps/csky/linkmap.h: Likewise.
2302 * sysdeps/csky/machine-gmon.h: Likewise.
2303 * sysdeps/csky/memusage.h: Likewise.
2304 * sysdeps/csky/nofpu/Implies: Likewise.
2305 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2306 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2307 * sysdeps/csky/nptl/Makefile: Likewise.
2308 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2309 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2310 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2311 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2312 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2313 * sysdeps/csky/nptl/tls.h: Likewise.
2314 * sysdeps/csky/preconfigure: Likewise.
2315 * sysdeps/csky/sfp-machine.h: Likewise.
2316 * sysdeps/csky/sotruss-lib.c: Likewise.
2317 * sysdeps/csky/stackinfo.h: Likewise.
2318 * sysdeps/csky/sysdep.h: Likewise.
2319 * sysdeps/csky/tininess.h: Likewise.
2320 * sysdeps/csky/tst-audit.h: Likewise.
2321 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2322 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2323 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2324 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2325 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2326 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2327 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2328 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2329 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2330 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2331 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2332 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2333 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2334 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2335 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2336 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2337 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2338 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2339 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2340 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2341 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2342 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2349 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2354 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2355 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2356 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2357 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2358 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2359 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2360 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2361 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2362 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2363 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2364 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2366 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2368 * include/time.h (__difftime64): Add.
2369 * time/difftime.c (subtract): convert to 64-bit time.
2370 * time/difftime.c (__difftime64): Add.
2371 * time/difftime.c (__difftime): Wrap around __difftime64.
2373 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2375 * manual/examples/add.c: Remove redundant "if not".
2376 * manual/examples/argp-ex1.c: Likewise.
2377 * manual/examples/argp-ex2.c: Likewise.
2378 * manual/examples/argp-ex3.c: Likewise.
2379 * manual/examples/argp-ex4.c: Likewise.
2380 * manual/examples/atexit.c: Likewise.
2381 * manual/examples/db.c: Likewise.
2382 * manual/examples/dir.c: Likewise.
2383 * manual/examples/dir2.c: Likewise.
2384 * manual/examples/execinfo.c: Likewise.
2385 * manual/examples/filecli.c: Likewise.
2386 * manual/examples/filesrv.c: Likewise.
2387 * manual/examples/fmtmsgexpl.c: Likewise.
2388 * manual/examples/genpass.c: Likewise.
2389 * manual/examples/inetcli.c: Likewise.
2390 * manual/examples/inetsrv.c: Likewise.
2391 * manual/examples/isockad.c: Likewise.
2392 * manual/examples/longopt.c: Likewise.
2393 * manual/examples/memopen.c: Likewise.
2394 * manual/examples/memstrm.c: Likewise.
2395 * manual/examples/mkdirent.c: Likewise.
2396 * manual/examples/mkfsock.c: Likewise.
2397 * manual/examples/mkisock.c: Likewise.
2398 * manual/examples/mygetpass.c: Likewise.
2399 * manual/examples/pipe.c: Likewise.
2400 * manual/examples/popen.c: Likewise.
2401 * manual/examples/rprintf.c: Likewise.
2402 * manual/examples/search.c: Likewise.
2403 * manual/examples/select.c: Likewise.
2404 * manual/examples/setjmp.c: Likewise.
2405 * manual/examples/sigh1.c: Likewise.
2406 * manual/examples/sigusr.c: Likewise.
2407 * manual/examples/stpcpy.c: Likewise.
2408 * manual/examples/strdupa.c: Likewise.
2409 * manual/examples/strftim.c: Likewise.
2410 * manual/examples/subopt.c: Likewise.
2411 * manual/examples/swapcontext.c: Likewise.
2412 * manual/examples/termios.c: Likewise.
2413 * manual/examples/testopt.c: Likewise.
2414 * manual/examples/testpass.c: Likewise.
2415 * manual/examples/timeval_subtract.c: Likewise.
2417 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2419 * sysdeps/x86/fpu/math_private.h: New file.
2420 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2422 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2427 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2429 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2430 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2431 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2432 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2434 (_dl_show_auxv): Give a special treatment to
2435 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2436 and AT_L3_CACHEGEOMETRY.
2437 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2438 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2439 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2440 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2442 2018-12-19 Andreas Schwab <schwab@suse.de>
2444 * nscd/connections.c (check_use): Don't abort on invalid len.
2446 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2448 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2449 values in the 64bit value cases.
2451 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2457 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2463 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2466 (__gmtime64_r): Add.
2468 (__gmtime64_r): Add.
2469 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2475 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2478 (__localtime64_r): Add.
2480 (__localtime64_r): Add.
2481 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2483 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2485 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2486 kernel_sigction definition.
2488 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2490 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2492 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2493 __syscall_rt_sigaction.
2494 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2495 (kernel_sigaction): Use Linux generic defintion.
2497 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2498 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2499 (__syscall_rt_sigaction): Remove implementation.
2500 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2502 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2503 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2504 INTERNAL_SYSCALL): Remove definitions.
2505 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2506 action and signal set size.
2507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2510 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2511 James Clarke <jrtc27@jrtc27.com>
2514 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2515 Define if SA_RESTORER is defined.
2516 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2517 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2519 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2520 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2522 (HAS_SA_RESTORER): Define.
2523 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2524 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2525 (HAS_SA_RESTORER): Define.
2526 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2527 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2528 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2529 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2532 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2534 * sysdeps/unix/sysv/linux/kernel-features.h
2535 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2537 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2538 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2539 (__ASSUME_ST_INO_64_BIT): Likewise.
2540 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2541 <kernel-features.h>.
2542 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2543 Remove conditional code.
2544 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2545 <kernel-features.h>.
2546 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2547 Remove conditional code.
2548 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2549 <kernel-features.h>.
2550 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2551 Remove conditional code.
2552 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2553 <kernel-features.h>.
2554 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2555 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2557 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2559 * sysdeps/s390/multiarch/ifunc-resolve.h
2560 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2561 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2562 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2563 Delete macro definition.
2564 (s390_libc_ifunc_init): Rename to
2565 s390_libc_ifunc_expr_stfle_init.
2566 * sysdeps/s390/bzero: Use
2567 s390_libc_ifunc_expr_stfle_init instead of
2568 s390_libc_ifunc_init.
2569 * sysdeps/s390/memcmp.c: Likewise.
2570 * sysdeps/s390/memcpy.c: Likewise.
2571 * sysdeps/s390/mempcpy.c: Likewise.
2572 * sysdeps/s390/memset.c: Likewise.
2574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2576 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2577 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2581 * sysdeps/s390/multiarch/Makefile
2582 (sysdep_routines): Remove wmemcmp variants.
2583 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2584 * sysdeps/s390/multiarch/ifunc-impl-list.c
2585 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2586 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2587 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2588 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2589 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2590 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2591 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2592 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2596 * sysdeps/s390/multiarch/Makefile
2597 (sysdep_routines): Remove wmemset variants.
2598 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2599 * sysdeps/s390/multiarch/ifunc-impl-list.c
2600 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2601 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2602 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2603 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2604 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2605 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2606 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2607 * sysdeps/s390/ifunc-wmemset.h: New file.
2609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2611 * sysdeps/s390/multiarch/Makefile
2612 (sysdep_routines): Remove wmemchr variants.
2613 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2614 * sysdeps/s390/multiarch/ifunc-impl-list.c
2615 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2616 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2617 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2618 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2619 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2620 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2621 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2622 * sysdeps/s390/ifunc-wmemchr.h: New file.
2624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2626 * sysdeps/s390/multiarch/Makefile
2627 (sysdep_routines): Remove wcscspn variants.
2628 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2629 * sysdeps/s390/multiarch/ifunc-impl-list.c
2630 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2631 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2632 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2633 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2634 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2635 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2636 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2637 * sysdeps/s390/ifunc-wcscspn.h: New file.
2639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2641 * sysdeps/s390/multiarch/Makefile
2642 (sysdep_routines): Remove wcspbrk variants.
2643 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2644 * sysdeps/s390/multiarch/ifunc-impl-list.c
2645 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2646 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2647 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2648 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2649 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2650 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2651 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2652 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2656 * sysdeps/s390/multiarch/Makefile
2657 (sysdep_routines): Remove wcsspn variants.
2658 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2659 * sysdeps/s390/multiarch/ifunc-impl-list.c
2660 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2661 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2662 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2663 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2664 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2665 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2666 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2667 * sysdeps/s390/ifunc-wcsspn.h: New file.
2669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2671 * sysdeps/s390/multiarch/Makefile
2672 (sysdep_routines): Remove wcsrchr variants.
2673 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2674 * sysdeps/s390/multiarch/ifunc-impl-list.c
2675 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2676 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2677 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2678 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2679 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2680 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2681 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2682 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2686 * sysdeps/s390/multiarch/Makefile
2687 (sysdep_routines): Remove wcschrnul variants.
2688 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2689 * sysdeps/s390/multiarch/ifunc-impl-list.c
2690 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2691 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2692 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2693 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2694 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2695 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2696 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2697 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2701 * sysdeps/s390/multiarch/Makefile
2702 (sysdep_routines): Remove wcschr variants.
2703 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2704 * sysdeps/s390/multiarch/ifunc-impl-list.c
2705 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2706 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2707 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2708 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2709 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2710 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2711 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2712 * sysdeps/s390/ifunc-wcschr.h: New file.
2714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2716 * sysdeps/s390/multiarch/Makefile
2717 (sysdep_routines): Remove wcsncmp variants.
2718 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2719 * sysdeps/s390/multiarch/ifunc-impl-list.c
2720 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2721 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2722 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2723 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2724 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2725 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2726 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2727 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2731 * sysdeps/s390/multiarch/Makefile
2732 (sysdep_routines): Remove wcscmp variants.
2733 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2734 * sysdeps/s390/multiarch/ifunc-impl-list.c
2735 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2736 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2737 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2738 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2739 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2740 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2741 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2742 * sysdeps/s390/ifunc-wcscmp.h: New file.
2744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2746 * sysdeps/s390/multiarch/Makefile
2747 (sysdep_routines): Remove wcsncat variants.
2748 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2749 * sysdeps/s390/multiarch/ifunc-impl-list.c
2750 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2751 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2752 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2753 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2754 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2755 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2756 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2757 * sysdeps/s390/ifunc-wcsncat.h: New file.
2759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2761 * sysdeps/s390/multiarch/Makefile
2762 (sysdep_routines): Remove wcscat variants.
2763 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2764 * sysdeps/s390/multiarch/ifunc-impl-list.c
2765 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2766 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2767 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2768 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2769 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2770 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2771 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2772 * sysdeps/s390/ifunc-wcscat.h: New file.
2774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2776 * sysdeps/s390/multiarch/Makefile
2777 (sysdep_routines): Remove wcpncpy variants.
2778 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2779 * sysdeps/s390/multiarch/ifunc-impl-list.c
2780 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2781 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2782 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2783 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2784 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2785 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2786 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2787 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2791 * sysdeps/s390/multiarch/Makefile
2792 (sysdep_routines): Remove wcsncpy variants.
2793 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2794 * sysdeps/s390/multiarch/ifunc-impl-list.c
2795 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2796 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2797 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2798 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2799 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2800 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2801 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2802 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2806 * sysdeps/s390/multiarch/Makefile
2807 (sysdep_routines): Remove wcpcpy variants.
2808 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2809 * sysdeps/s390/multiarch/ifunc-impl-list.c
2810 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2811 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2812 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2813 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2814 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2815 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2816 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2817 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2821 * sysdeps/s390/multiarch/Makefile
2822 (sysdep_routines): Remove wcscpy variants.
2823 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2824 * sysdeps/s390/multiarch/ifunc-impl-list.c
2825 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2826 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2827 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2828 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2829 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2830 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2831 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2832 * sysdeps/s390/ifunc-wcscpy.h: New file.
2834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2836 * sysdeps/s390/multiarch/Makefile
2837 (sysdep_routines): Remove wcsnlen variants.
2838 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2839 * sysdeps/s390/multiarch/ifunc-impl-list.c
2840 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2841 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2842 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2843 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2844 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2845 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2846 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2847 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2851 * sysdeps/s390/multiarch/Makefile
2852 (sysdep_routines): Remove wcslen variants.
2853 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2854 * sysdeps/s390/multiarch/ifunc-impl-list.c
2855 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2856 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2857 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2858 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2859 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2860 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2861 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2862 * sysdeps/s390/ifunc-wcslen.h: New file.
2864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2866 * sysdeps/s390/multiarch/Makefile
2867 (sysdep_routines): Remove memrchr variants.
2868 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2869 * sysdeps/s390/multiarch/ifunc-impl-list.c
2870 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2871 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2872 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2873 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2874 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2875 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2876 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2877 * sysdeps/s390/ifunc-memrchr.h: New file.
2879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2881 * sysdeps/s390/multiarch/Makefile
2882 (sysdep_routines): Remove memccpy variants.
2883 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2884 * sysdeps/s390/multiarch/ifunc-impl-list.c
2885 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2886 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2887 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2888 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2889 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2890 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2891 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2892 * sysdeps/s390/ifunc-memccpy.h: New file.
2894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2896 * sysdeps/s390/multiarch/Makefile
2897 (sysdep_routines): Remove rawmemchr variants.
2898 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2899 * sysdeps/s390/multiarch/ifunc-impl-list.c
2900 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2901 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2902 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2903 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2904 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2905 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2906 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2907 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2909 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2911 * sysdeps/s390/multiarch/Makefile
2912 (sysdep_routines): Remove memchr variants.
2913 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2914 * sysdeps/s390/multiarch/ifunc-impl-list.c
2915 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2916 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2917 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2918 * sysdeps/s390/multiarch/memchr.c: Move to ...
2919 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2920 * sysdeps/s390/ifunc-memchr.h: New file.
2921 * sysdeps/s390/s390-64/memchr.S: Move to ...
2922 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2923 for 31/64bit and ifunc handling.
2924 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2925 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2926 * sysdeps/s390/s390-32/memchr.S: Likewise.
2928 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2930 * sysdeps/s390/multiarch/Makefile
2931 (sysdep_routines): Remove strcspn variants.
2932 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2933 * sysdeps/s390/multiarch/ifunc-impl-list.c
2934 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2935 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2936 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2937 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2938 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2939 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2940 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2941 * sysdeps/s390/ifunc-strcspn.h: New file.
2943 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2945 * sysdeps/s390/multiarch/Makefile
2946 (sysdep_routines): Remove strpbrk variants.
2947 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2948 * sysdeps/s390/multiarch/ifunc-impl-list.c
2949 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2950 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2951 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2952 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2953 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2954 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2955 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2956 * sysdeps/s390/ifunc-strpbrk.h: New file.
2958 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2960 * sysdeps/s390/multiarch/Makefile
2961 (sysdep_routines): Remove strspn variants.
2962 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2963 * sysdeps/s390/multiarch/ifunc-impl-list.c
2964 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2965 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2966 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2967 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2968 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2969 * sysdeps/s390/multiarch/strspn.c: Move to ...
2970 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2971 * sysdeps/s390/ifunc-strspn.h: New file.
2973 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2975 * sysdeps/s390/multiarch/Makefile
2976 (sysdep_routines): Remove strrchr variants.
2977 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2978 * sysdeps/s390/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2980 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2981 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2982 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2983 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2984 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2985 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2986 * sysdeps/s390/ifunc-strrchr.h: New file.
2988 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2990 * sysdeps/s390/multiarch/Makefile
2991 (sysdep_routines): Remove strchrnul variants.
2992 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2993 * sysdeps/s390/multiarch/ifunc-impl-list.c
2994 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2995 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2996 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2997 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2998 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2999 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3000 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3001 * sysdeps/s390/ifunc-strchrnul.h: New file.
3003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3005 * sysdeps/s390/multiarch/Makefile
3006 (sysdep_routines): Remove strchr variants.
3007 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3008 * sysdeps/s390/multiarch/ifunc-impl-list.c
3009 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3010 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3011 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3012 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3013 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3014 * sysdeps/s390/multiarch/strchr.c: Move to ...
3015 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3016 * sysdeps/s390/ifunc-strchr.h: New file.
3018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3020 * sysdeps/s390/multiarch/Makefile
3021 (sysdep_routines): Remove strncmp variants.
3022 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3023 * sysdeps/s390/multiarch/ifunc-impl-list.c
3024 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3025 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3026 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3027 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3028 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3029 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3030 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3031 * sysdeps/s390/ifunc-strncmp.h: New file.
3033 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3035 * sysdeps/s390/multiarch/Makefile
3036 (sysdep_routines): Remove strcmp variants.
3037 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3038 * sysdeps/s390/multiarch/ifunc-impl-list.c
3039 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3040 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3041 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3042 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3043 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3044 * sysdeps/s390/ifunc-strcmp.h: New file.
3045 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3046 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3047 for 31/64bit and ifunc handling.
3048 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3049 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3050 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3054 * sysdeps/s390/multiarch/Makefile
3055 (sysdep_routines): Remove strncat variants.
3056 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3057 * sysdeps/s390/multiarch/ifunc-impl-list.c
3058 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3059 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3060 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3061 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3062 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3063 * sysdeps/s390/multiarch/strncat.c: Move to ...
3064 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3065 * sysdeps/s390/ifunc-strncat.h: New file.
3067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3069 * sysdeps/s390/multiarch/Makefile
3070 (sysdep_routines): Remove strcat variants.
3071 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3072 * sysdeps/s390/multiarch/ifunc-impl-list.c
3073 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3074 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3075 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3076 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3077 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3078 * sysdeps/s390/multiarch/strcat.c: Move to ...
3079 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3080 * sysdeps/s390/ifunc-strcat.h: New file.
3082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3084 * sysdeps/s390/multiarch/Makefile
3085 (sysdep_routines): Remove stpncpy variants.
3086 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3087 * sysdeps/s390/multiarch/ifunc-impl-list.c
3088 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3089 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3090 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3091 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3092 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3093 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3094 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3095 * sysdeps/s390/ifunc-stpncpy.h: New file.
3097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3099 * sysdeps/s390/multiarch/Makefile
3100 (sysdep_routines): Remove strncpy variants.
3101 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3102 * sysdeps/s390/multiarch/ifunc-impl-list.c
3103 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3104 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3105 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3106 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3107 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3108 * sysdeps/s390/ifunc-strncpy.h: New file.
3109 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3110 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3111 and adjust ifunc handling.
3112 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3113 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3114 and adjust ifunc handling.
3115 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3116 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3118 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3120 * sysdeps/s390/multiarch/Makefile
3121 (sysdep_routines): Remove stpcpy variants.
3122 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3123 * sysdeps/s390/multiarch/ifunc-impl-list.c
3124 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3125 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3126 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3127 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3128 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3129 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3130 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3131 * sysdeps/s390/ifunc-stpcpy.h: New file.
3133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3135 * sysdeps/s390/multiarch/Makefile
3136 (sysdep_routines): Remove strcpy variants.
3137 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3138 * sysdeps/s390/multiarch/ifunc-impl-list.c
3139 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3140 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3141 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3142 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3143 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3144 * sysdeps/s390/ifunc-strcpy.h: New file.
3145 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3146 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3147 for 31/64bit and ifunc handling.
3148 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3149 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3150 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3154 * sysdeps/s390/multiarch/Makefile
3155 (sysdep_routines): Remove strnlen variants.
3156 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3157 * sysdeps/s390/multiarch/ifunc-impl-list.c
3158 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3159 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3160 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3161 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3162 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3163 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3164 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3165 * sysdeps/s390/ifunc-strnlen.h: New file.
3167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3169 * sysdeps/s390/multiarch/Makefile
3170 (sysdep_routines): Remove strlen variants.
3171 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3172 * sysdeps/s390/multiarch/ifunc-impl-list.c
3173 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3174 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3175 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3176 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3177 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3178 * sysdeps/s390/multiarch/strlen.c: Move to ...
3179 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3180 * sysdeps/s390/ifunc-strlen.h: New file.
3182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3184 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3185 * sysdeps/s390/multiarch/ifunc-impl-list.c
3186 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3187 * sysdeps/s390/ifunc-memmem.h: New file.
3188 * sysdeps/s390/memmem.c: Likewise.
3189 * sysdeps/s390/memmem-c.c: Likewise.
3190 * sysdeps/s390/memmem-vx.c: Likewise.
3192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3194 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3195 * sysdeps/s390/multiarch/ifunc-impl-list.c
3196 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3197 * sysdeps/s390/ifunc-strstr.h: New file.
3198 * sysdeps/s390/strstr.c: Likewise.
3199 * sysdeps/s390/strstr-c.c: Likewise.
3200 * sysdeps/s390/strstr-vx.c: Likewise.
3202 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3204 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3205 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3206 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3207 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3209 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3210 * sysdeps/s390/memmove-c.c: New file.
3211 * sysdeps/s390/memmove.c: Likewise.
3212 * sysdeps/s390/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3217 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3218 * sysdeps/s390/configure.ac: Add check for z13 support.
3219 * sysdeps/s390/configure: Regenerated.
3221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3223 * sysdeps/s390/memcopy.h: New file.
3225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3227 * sysdeps/s390/s390-32/bcopy.S: Remove.
3228 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3232 * sysdeps/s390/ifunc-memcpy.h: New File.
3233 * sysdeps/s390/memcpy.S: Move to ...
3234 * sysdeps/s390/memcpy-z900.S ... here.
3235 Move implementations from memcpy-s390x.s to here.
3236 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3237 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3238 Remove memcpy/mempcpy variants.
3239 * sysdeps/s390/Makefile (sysdep_routines):
3240 Add memcpy/mempcpy variants.
3241 * sysdeps/s390/multiarch/ifunc-impl-list.c
3242 (__libc_ifunc_impl_list): Adjust ifunc variants for
3244 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3246 * sysdeps/s390/memcpy.c: ... here.
3247 Adjust ifunc variants for memcpy.
3248 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3249 * sysdeps/s390/mempcpy.c: ... here.
3250 Adjust ifunc variants for mempcpy.
3251 * sysdeps/s390/mempcpy.S: Delete file.
3253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3255 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3256 * sysdeps/s390/memcpy.S: ... here.
3257 Adjust to be usable for 31/64bit.
3258 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3259 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3260 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3261 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3262 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3263 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3264 Adjust to be usable for 31/64bit.
3265 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3266 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3267 * sysdeps/s390/multiarch/memcpy.c: ... here.
3268 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3272 * sysdeps/s390/ifunc-memcmp.h: New File.
3273 * sysdeps/s390/memcmp.S: Move to ...
3274 * sysdeps/s390/memcmp-z900.S ... here.
3275 Move implementations from memcmp-s390x.s to here.
3276 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3277 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3278 Remove memcmp variants.
3279 * sysdeps/s390/Makefile (sysdep_routines):
3280 Add memcmp variants.
3281 * sysdeps/s390/multiarch/ifunc-impl-list.c
3282 (__libc_ifunc_impl_list): Adjust ifunc variants for
3284 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3286 * sysdeps/s390/memcmp.c: ... here.
3287 Adjust ifunc variants for memcmp.
3289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3291 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3292 * sysdeps/s390/memcmp.S: ... here.
3293 Adjust to be usable for 31/64bit.
3294 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3295 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3296 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3298 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3299 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3300 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3301 Adjust to be usable for 31/64bit.
3302 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3303 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3304 * sysdeps/s390/multiarch/memcmp.c: ... here.
3305 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3307 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3309 * sysdeps/s390/s390-32/bzero.S: Delete file.
3310 * sysdeps/s390/s390-64/bzero.S: Likewise.
3311 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3312 * sysdeps/s390/bzero.c: New file.
3313 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3314 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3315 * sysdeps/s390/multiarch/ifunc-impl-list.c
3316 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3318 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3320 * sysdeps/s390/ifunc-memset.h: New File.
3321 * sysdeps/s390/memset.S: Move to ...
3322 * sysdeps/s390/memset-z900.S ... here.
3323 Move implementations from memset-s390x.s to here.
3324 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3325 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3326 Remove memset variants.
3327 * sysdeps/s390/Makefile (sysdep_routines):
3328 Add memset variants.
3329 * sysdeps/s390/multiarch/ifunc-impl-list.c
3330 (__libc_ifunc_impl_list): Adjust ifunc variants for
3332 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3334 * sysdeps/s390/memset.c: ... here.
3335 Adjust ifunc variants for memset.
3337 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3339 * sysdeps/s390/s390-64/memset.S: Move to ...
3340 * sysdeps/s390/memset.S: ... here.
3341 Adjust to be usable for 31/64bit.
3342 * sysdeps/s390/s390-32/memset.S: Delete File.
3343 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3344 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3346 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3347 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3348 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3349 Adjust to be usable for 31/64bit.
3350 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3351 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3352 * sysdeps/s390/multiarch/memset.c: ... here.
3353 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3357 * sysdeps/s390/multiarch/ifunc-resolve.h
3358 (s390_libc_ifunc_init, s390_libc_ifunc,
3359 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3363 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3364 * sysdeps/s390/configure.ac: Add check for z10 support.
3365 * sysdeps/s390/configure: Regenerated.
3367 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3369 * sysdeps/i386/atomic-machine.h: Merged with ...
3370 * sysdeps/x86_64/atomic-machine.h: To ...
3371 * sysdeps/x86/atomic-machine.h: This. New file.
3373 2018-12-18 Florian Weimer <fweimer@redhat.com>
3375 Rewrite locale/gen-translit.pl in Python.
3376 * locale/Makefile (generated): Add C-translit.h.
3377 (before-compile): Add $(objpfx)C-translit.h.
3378 (C-translit.h): Move to $(objpfx). Create target directory.
3379 Build using Python script.
3380 * locale/gen-translit.py: New file.
3381 * locale/gen-translit.pl: Remove file.
3382 * locale/C-translit.h.in: Change comment character to '#' for
3383 easier parsing without a C preprocessor.
3384 * locale/C-translit.h: Remove generated file.
3385 * manual/install.texi (Tools for Compilation): Do not mention
3387 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3388 Remove locale/C-translit.h.
3389 * scripts/update-copyrights: Likewise.
3390 * INSTALL: Regenerate.
3392 2018-12-18 Florian Weimer <fweimer@redhat.com>
3395 * localedata/locales/bi_VU: Remove executable bit from file.
3397 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3400 (__localtime64): Add.
3401 * manual/maint.texi: Document Y2038 symbol handling.
3403 (__localtime64): Add.
3404 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3406 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3408 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3411 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3412 to allow extra macros from first or second sources.
3413 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3414 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3415 (tests-special): Add $(objpfx)tst-mman-consts.out.
3416 ($(objpfx)tst-mman-consts.out): New makefile target.
3418 2018-12-17 Mao Han <han_mao@c-sky.com>
3420 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3421 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3422 without stat64 system call support.
3423 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3424 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3425 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3426 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3427 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3428 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3429 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3430 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3431 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3432 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3433 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3435 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3437 regex: fix storage-exhaustion error
3439 * posix/regexec.c (get_subexp):
3440 Do not continue if storage is exhausted.
3442 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3444 regex: fix heap-use-after-free error
3446 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3447 https://debbugs.gnu.org/32592
3448 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3449 call extend_buffers which reallocates the re_string_t internal buffer.
3450 Local variable 'buf' was not updated in such case, resulting in
3452 * posix/regexec.c (get_subexp): Update 'buf' after call to
3455 2018-12-15 Florian Weimer <fweimer@redhat.com>
3457 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3458 (minimum_stride_size): Use it.
3459 (support_blob_repeat_allocate): Likewise.
3461 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3463 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3468 2018-12-14 Florian Weimer <fweimer@redhat.com>
3470 * manual/process.texi (Process Creation Concepts): Remove
3471 documentation of process (ID) lifetime. List more process
3472 creation functions. Reference Process Identification section.
3473 (Process Identification): Add information about process ID
3474 lifetime. Describe Linux thread/task IDs.
3475 * manual/signal.texi (Signaling Another Process): Mention that the
3476 signal is always sent to the process.
3478 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3480 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3481 and tst-ldbl-efgcvt.
3482 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3483 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3484 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3485 (fcvt_tests, output_error, output_r_error, do_test): Use the
3486 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3487 select the type of floating-point variables and arguments; to
3488 produce extra tests for double and conversion specifiers for
3489 printf; and to set the names of called functions.
3490 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3491 in tst-efgcvt-template.c.
3492 * misc/tst-ldbl-efgcvt.c: Likewise.
3494 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3496 * nss/Makefile (tst-nss-test3.out): New rule.
3498 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3503 2018-12-13 fanjinke <fanjinke@hygon.cn>
3505 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3508 2018-12-13 Andreas Schwab <schwab@suse.de>
3511 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3512 (__pthread_rwlock_rdlock_full): Update expected value for
3513 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3514 * nptl/tst-rwlock-pwn.c: New file.
3515 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3517 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3519 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3522 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3524 * benchtests/scripts/compare_bench.py (do_compare): write to
3525 stderr in casestat is not present.
3526 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3527 stderr in case timings field is not present. Also string showing
3528 the output filename goes into the stderr.
3530 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3532 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3533 and ZeroDivisorError exceptions.
3534 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3535 argument to loop through user provided statistics.
3536 * benchtests/scripts/compare_bench.py (main): Include the --stats
3539 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3541 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3544 2018-12-12 Florian Weimer <fweimer@redhat.com>
3546 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3547 clause to copyright header.
3549 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3552 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3553 registers saved in the stack frame.
3554 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3555 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3557 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3559 * include/bits/monetary-ldbl.h: New file.
3560 * include/bits/printf-ldbl.h: Likewise.
3561 * include/bits/stdio-ldbl.h: Likewise.
3562 * include/bits/stdlib-ldbl.h: Likewise.
3563 * include/bits/syslog-ldbl.h: Likewise.
3564 * include/bits/wchar-ldbl.h: Likewise.
3566 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3568 * libio/libio.h: Remove redirection for _IO_vfprintf.
3570 2018-12-11 Andreas Schwab <schwab@suse.de>
3572 * Makerules: Remove all references to abilist-pattern.
3573 (update-all-abi): Simplify find expression.
3575 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3578 * math/auto-libm-test-in: Add new test case.
3579 * math/auto-libm-test-out-pow: Regenerated.
3580 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3582 2018-12-10 DJ Delorie <dj@redhat.com>
3585 * support/test-container.c: Move postclean step to before we
3588 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3590 * scripts/gen-as-const.py (main): Handle --python option.
3591 * scripts/gen-py-const.awk: Remove.
3592 * Makerules (py-const-script): Use gen-as-const.py.
3593 ($(py-const)): Likewise.
3594 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3595 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3596 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3597 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3598 ~PTHREAD_MUTEX_NO_ELISION_NP.
3599 * manual/README.pretty-printers: Update reference to
3602 * scripts/glibcextract.py: New file.
3603 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3604 or tempfile. Import glibcexctract.
3605 (compute_c_consts): Remove. Moved to glibcextract.py.
3606 (gen_test): Update reference to compute_c_consts.
3608 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3609 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3610 * sysdeps/unix/sysv/linux/Makefile
3611 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3612 Redirect stderr as well as stdout.
3614 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3617 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3618 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3619 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3620 ALWAYS_USE_VSYSCALL.
3621 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3622 ALWAYS_USE_VSYSCALL.
3623 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3624 ALWAYS_USE_VSYSCALL.
3626 2018-12-10 Florian Weimer <fweimer@redhat.com>
3629 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3630 offset instead of count for clarity. Fix typo in comment.
3631 (__old_getdents64): Keep track of previous offset. Use it to call
3633 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3634 that d_off is never zero.
3636 2018-12-10 Andreas Schwab <schwab@suse.de>
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3639 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3641 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3642 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3644 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3646 * timezone/private.h: Update from tzcode 2018g.
3647 * timezone/tzfile.h: Likewise.
3648 * timezone/tzselect.ksh: Likewise.
3649 * timezone/zdump.c: Likewise.
3650 * timezone/zic.c: Likewise.
3652 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3655 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3656 (do_test): Adjust buffer size and fix format.
3658 2018-12-07 DJ Delorie <dj@redhat.com>
3661 * malloc/tst-tcfree3.c: New.
3662 * malloc/Makefile: Add it.
3664 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3666 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3668 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3670 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3671 used as a mask for the mode argument of __vfscanf_internal and
3672 __vfwscanf_internal.
3673 * stdio-common/vfscanf-internal.c
3674 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3675 (__strtof128_internal): Define to __wcstof128_internal.
3676 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3677 __strtof128_internal or __wcstof128_internal when the format of
3678 long double is the same as _Float128.
3680 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3682 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3683 * posix/confstr.c (confstr): Rename to __confstr.
3684 (__confstr): Add hidden def.
3685 (confstr): Add weak alias for __confstr.
3686 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3689 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3691 * NEWS: Mention getcpu.
3692 * include/sched.h (__getcpu): New libc_hidden_proto.
3693 * manual/resource.texi: Document getcpu.
3694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3695 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3696 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3697 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3698 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3699 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3701 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3702 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3703 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3705 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3706 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3710 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3719 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3721 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3722 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3727 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3728 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3729 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3732 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3734 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3736 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3738 2018-12-07 Florian Weimer <fweimer@redhat.com>
3741 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3742 * posix/Versions (GLIBC_2.29): Export
3743 posix_spawn_file_actions_addfchdir_np.
3744 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3745 * posix/spawn_faction_destroy.c
3746 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3747 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3748 and the field action.fchdir_action.
3749 * posix/tst-spawn-chdir.c (add_chdir): New function.
3750 (do_test): Add do_fchdir loop. Call add_chdir.
3751 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3752 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3753 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3754 posix_spawn_file_actions_addfchdir_np.
3755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3757 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3759 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3760 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3762 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3764 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3766 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3768 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3770 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3772 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3773 (GLIBC_2.29): Likewise.
3774 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3775 (GLIBC_2.29): Likewise.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3777 (GLIBC_2.29): Likewise.
3778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3779 (GLIBC_2.29): Likewise.
3780 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3783 (GLIBC_2.29): Likewise.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3785 (GLIBC_2.29): Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3787 (GLIBC_2.29): Likewise.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3789 (GLIBC_2.29): Likewise.
3790 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3792 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3794 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3796 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3799 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3801 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3803 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3806 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3808 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3809 trailing whitespace removed.
3810 * scripts/config.guess: Update to version 2018-11-28.
3811 * scripts/config.sub: Update to version 2018-11-28.
3812 * scripts/install-sh: Update to version 2018-03-11.20.
3813 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3814 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3816 2018-12-07 Florian Weimer <fweimer@redhat.com>
3820 * inet/tst-if_index-long.c: New file.
3821 * inet/Makefile (tests): Add tst-if_index-long.
3823 2018-12-07 Florian Weimer <fweimer@redhat.com>
3825 * support/check.h (support_record_failure_is_failed): Declare.
3826 * support/descriptors.h: New file.
3827 * support/support_descriptors.c: Likewise.
3828 * support/tst-support_descriptors.c: Likewise.
3829 * support/support_record_failure.c
3830 (support_record_failure_is_failed): New function.
3831 * support/Makefile (libsupport-routines): Add support_descriptors.
3832 (tests): Add tst-support_descriptors.
3834 2018-12-05 Zack Weinberg <zackw@panix.com>
3835 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3837 * stdio-common/vfprintf-internal.c
3838 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3839 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3841 and __no_long_double.
3842 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3843 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3845 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3846 and __nldbl_*syslog* functions.
3847 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3848 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3849 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3850 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3851 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3852 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3853 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3854 (__nldbl_vwprintf, __nldbl_wprintf):
3855 Directly call the appropriate __v*printf_internal routine, passing
3856 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3858 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3859 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3860 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3861 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3862 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3863 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3864 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3865 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3866 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3867 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3868 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3869 (__nldbl_syslog, __nldbl_vsyslog):
3870 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3871 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3873 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3876 2018-12-05 Zack Weinberg <zackw@panix.com>
3877 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3880 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3881 Moved here from debug/vsprintf_chk.c.
3882 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3883 and completion logic for the strfile to match exactly what
3884 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3885 _IO_str_init_static_internal instead of maxlen-1.
3886 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3887 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3888 __vsprintf_internal.
3890 * debug/vsprintf_chk.c (__vsprintf_chk)
3891 * debug/sprintf_chk.c (__sprintf_chk):
3892 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3893 'flags' argument is positive, and slen as maxlen. No need to lock
3894 the FILE and/or construct a temporary FILE. Minimize and normalize
3895 header inclusions and variable names. Do not libc_hidden_def anything.
3897 * debug/asprintf_chk.c (__asprintf_chk)
3898 * debug/dprintf_chk.c (__dprintf_chk)
3899 * debug/fprintf_chk.c (__fprintf_chk)
3900 * debug/fwprintf_chk.c (__fwprintf_chk)
3901 * debug/printf_chk.c (__printf_chk)
3902 * debug/snprintf_chk.c (__snprintf_chk)
3903 * debug/swprintf_chk.c (__swprintf_chk)
3904 * debug/vasprintf_chk.c (__vasprintf_chk)
3905 * debug/vdprintf_chk.c (__vdprintf_chk)
3906 * debug/vfprintf_chk.c (__vfprintf_chk)
3907 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3908 * debug/vprintf_chk.c (__vprintf_chk)
3909 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3910 * debug/vswprintf_chk.c (__vswprintf_chk)
3911 * debug/vwprintf_chk.c (__vwprintf_chk)
3912 * debug/wprintf_chk.c (__wprintf_chk):
3913 Directly call the corresponding vxxprintf_internal function, passing
3914 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3915 the FILE and/or construct a temporary FILE. Minimize and normalize
3916 header inclusions and variable names. Do not libc_hidden_def anything.
3918 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3919 __obstack_vprintf_internal.
3920 (__obstack_vprintf_chk): Convert into a wrapper that calls
3921 __obstack_vprintf_internal (these two functions already had the
3922 same code) and move to new file...
3923 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3925 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3926 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3927 * debug/Makefile (routines): Add vobprintf_chk.
3929 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3930 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3931 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3932 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3933 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3934 (__nldbl___obstack_vfprintf_chk):
3935 Directly call the corresponding vxxprintf_internal function,
3936 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3937 duplicate comparison of slen with 0 or maxlen from the corresponding
3938 non-__nldbl function.
3940 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3941 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3942 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3943 Remove libc_hidden_proto.
3945 * stdio-common/vfprintf-internal.c
3946 (__vfprintf_internal, __vfwprintf_internal):
3947 Do not check _IO_FLAGS2_FORTIFY.
3948 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3949 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3950 a comment explaining why it has the maxlen argument.
3951 (_IO_acquire_lock_clear_flags2_fct): Remove.
3952 (_IO_acquire_lock_clear_flags2): Remove.
3953 (_IO_release_lock): Remove conditional statement which will
3955 (_IO_acquire_lock): Remove variable which is now unused.
3956 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3957 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3959 * stdio-common/Makefile (tests): Add tst-bz11319 and
3960 tst-bz11319-fortify2.
3961 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3962 * stdio-common/tst-bz11319-fortify2.c: New file.
3963 * stdio-common/tst-bz11319.c: Likewise.
3965 2018-12-05 Zack Weinberg <zackw@panix.com>
3966 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3968 * misc/syslog.c: Include libioP.h, not iolibio.h.
3969 (__vsyslog_internal): New function with the former body of
3970 __vsyslog_chk; takes mode_flags argument same as
3971 __v*printf_internal. Call __vfprintf_internal directly.
3973 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3974 Remove libc_hidden_def.
3975 (__syslog, __syslog_chk): Use __vsyslog_internal.
3976 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3978 * include/sys/syslog.h: Add multiple inclusion guard.
3979 Add prototype for __vsyslog_internal.
3980 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3983 Use __vsyslog_internal.
3985 2018-12-05 Zack Weinberg <zackw@panix.com>
3986 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3988 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3989 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3990 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3992 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3993 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3995 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3996 Include wctype.h here if COMPILE_WPRINTF is defined.
3997 Define __vfprintf_internal or __vfwprintf_internal, depending
3999 Temporarily, on entry to this function, update mode_flags
4000 according to the environmental settings corresponding to
4001 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4002 Throughout, check mode_flags instead of __ldbl_is_dbl and
4003 _IO_FLAGS2_FORTIFY on the destination FILE.
4004 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4005 Include vfprintf-internal.c. Don't include wctype.h.
4006 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4007 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4009 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4010 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4012 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4014 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4015 and add mode_flags argument; use __vfprintf_internal.
4016 (__vdprintf): New function. Alias vdprintf to this.
4017 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4018 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4019 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4020 (__obstack_printf): Use __obstack_printf_internal.
4021 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4022 public aliases __vsnprintf and vsnprintf.
4023 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4025 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4026 public aliases _IO_vsprintf and vsprintf.
4027 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4028 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4029 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4030 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4031 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4033 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4034 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4035 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4036 * stdio-common/printf.c: Use __vfprintf_internal.
4038 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4039 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4040 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4043 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4044 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4045 __vfwprintf_internal.
4047 * libio/libio.h: Remove libc_hidden_proto and declaration for
4049 Remove declaration of _IO_vfwprintf.
4050 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4052 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4054 * include/stdio.h: Add prototype for __vasprintf.
4055 (__vsnprintf): Remove declaration, because there are no more
4057 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4058 declaration, because there are no more internal calls.
4060 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4061 __vsnprintf_internal, instead of _IO_vsnprintf.
4062 * argp/argp-help.c (__argp_error, __argp_failure): Use
4063 __vasprintf_internal, instead of _IO_vasprintf.
4064 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4065 redefine, because there are no more internal calls.
4067 2018-12-05 Zack Weinberg <zackw@panix.com>
4068 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4070 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4071 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4072 Include libio/strfile.h instead of libioP.h.
4073 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4074 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4075 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4076 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4077 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4078 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4079 necessary. Do not set __no_long_double. Normalize variable names.
4080 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4081 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4082 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4083 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4084 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4085 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4086 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4087 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4088 Do not set __no_long_double. Normalize variable names.
4090 2018-12-05 Zack Weinberg <zackw@panix.com>
4091 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4093 * stdio-common/isoc99_scanf.c
4094 * stdio-common/isoc99_fscanf.c
4095 * stdio-common/isoc99_sscanf.c
4096 * stdio-common/isoc99_vscanf.c
4097 * stdio-common/isoc99_vfscanf.c
4098 * stdio-common/isoc99_vsscanf.c
4099 * wcsmbs/isoc99_wscanf.c
4100 * wcsmbs/isoc99_fwscanf.c
4101 * wcsmbs/isoc99_swscanf.c
4102 * wcsmbs/isoc99_vwscanf.c
4103 * wcsmbs/isoc99_vfwscanf.c
4104 * wcsmbs/isoc99_vswscanf.c:
4105 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4106 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4107 No need to lock and unlock the FILE passed to that function.
4109 * stdio-common/vfscanf-internal.c
4110 (__vfscanf_internal, __vfwscanf_internal):
4111 Don't look at _IO_FLAGS2_SCANF_STD.
4112 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4113 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4114 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4116 2018-12-05 Zack Weinberg <zackw@panix.com>
4117 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4119 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4120 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4121 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4122 * libio/strfile.h: Add multiple inclusion guard.
4123 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4125 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4126 consistency with the other version of this file.
4127 (ldbl_compat_symbol): New macro.
4128 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4131 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4132 Define __vfscanf_internal or __vfwscanf_internal, depending on
4133 COMPILE_WSCANF; don't define any other public symbols.
4134 Remove errval and code to set errp.
4135 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4136 as the mode_flags argument.
4137 (encode_error, conv_error, input_error): Don't set errval.
4138 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4139 Include vfscanf-internal.c.
4140 * stdio-common/vfscanf.c: New file defining the public entry
4141 point vfscanf, which calls __vfscanf_internal.
4142 * stdio-common/vfwscanf.c: New file defining the public entry
4143 point vfwscanf, which calls __vfwscanf_internal.
4145 * stdio-common/iovfscanf.c: New file.
4146 * stdio-common/iovfwscanf.c: Likewise.
4148 * stdio-common/Makefile (routines): Add vfscanf-internal,
4149 vfwscanf-internal, iovfscanf, iovfwscanf.
4150 * stdio-common/Versions: Mention GLIBC_2.29, so that
4151 it can be used in SHLIB_COMPAT expressions.
4152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4153 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4154 Call __vfscanf_internal, instead of _IO_vfscanf.
4155 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4157 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4160 * libio/iovsscanf.c: Clean up includes, when possible. Use
4161 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4162 __vfscanf_internal or __vfwscanf_internal directly.
4163 * libio/iovswscanf.c: Likewise.
4164 * libio/swscanf.c: Likewise.
4165 * libio/vscanf.c: Likewise.
4166 * libio/vwscanf.c: Likewise.
4167 * libio/wscanf.c: Likewise.
4168 * stdio-common/isoc99_fscanf.c: Likewise.
4169 * stdio-common/isoc99_scanf.c: Likewise.
4170 * stdio-common/isoc99_sscanf.c: Likewise.
4171 * stdio-common/isoc99_vfscanf.c: Likewise.
4172 * stdio-common/isoc99_vscanf.c: Likewise.
4173 * stdio-common/isoc99_vsscanf.c: Likewise.
4174 * stdio-common/scanf.c: Likewise.
4175 * stdio-common/sscanf.c: Likewise.
4176 * wcsmbs/isoc99_fwscanf.c: Likewise.
4177 * wcsmbs/isoc99_swscanf.c: Likewise.
4178 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4179 * wcsmbs/isoc99_vswscanf.c: Likewise.
4180 * wcsmbs/isoc99_vwscanf.c: Likewise.
4181 * wcsmbs/isoc99_wscanf.c: Likewise.
4183 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4186 (__tz_compute): Replace time_t with __time64_t.
4187 (__tz_convert): Replace time_t* with __time64_t.
4188 (__offtime): Replace time_t* with __time64_t.
4190 (__gmtime_r): Adjust call to __tz_convert.
4193 (__localtime_r): Likewise.
4194 (localtime): Likewise.
4195 * time/offtime.c: Replace time_t with __time64_t.
4196 * time/tzset.c: Likewise.
4198 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4200 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4201 dynamic linker unless [$(run-built-tests) = yes].
4203 2018-12-03 DJ Delorie <dj@delorie.com>
4205 * support/test-container.c (check_for_unshare_hints): New.
4206 (main): Call it if unshare fails. Add support for "su" scriptlet
4209 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4211 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4212 'START' to indicate that start text should be output.
4213 (gen_test): Likewise.
4214 (main): Generate 'START' for first symbol or '--' line, or at end
4215 of input if not previously generated.
4217 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4220 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4221 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4222 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4223 ALWAYS_USE_VSYSCALL.
4225 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4228 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4231 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4234 * locale/programs/localedef.c: Declare boolean hard_links default true.
4235 (options): Add --no-hard-links option.
4236 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4237 * locale/programs/localedef.h: Declare prototype for hard_links.
4238 * locale/programs/locfile.c (write_locale_data): Don't use hard
4239 links if hard_links is false.
4241 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4243 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4245 (__cache_sysconf): Likewise.
4246 (init_cacheinfo): Likewise.
4247 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4248 populate COMMON_CPUID_INDEX_80000007 and
4249 COMMON_CPUID_INDEX_80000008.
4250 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4251 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4252 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4253 (init_cpu_features): Use _Static_assert on
4254 index_arch_Fast_Unaligned_Load.
4255 __get_cpuid_registers and __get_arch_feature. Updated for
4256 cpu_features_basic. Set stepping in cpu_features.
4257 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4258 (FEATURE_INDEX_2): New.
4259 (FEATURE_INDEX_MAX): Changed to enum.
4260 (COMMON_CPUID_INDEX_D_ECX_1): New.
4261 (COMMON_CPUID_INDEX_80000007): Likewise.
4262 (COMMON_CPUID_INDEX_80000008): Likewise.
4263 (cpuid_registers): Likewise.
4264 (cpu_features_basic): Likewise.
4265 (CPU_FEATURE_USABLE): Likewise.
4266 (bit_arch_XXX_Usable): Likewise.
4267 (cpu_features): Use cpuid_registers and cpu_features_basic.
4268 (bit_arch_XXX): Reweritten.
4269 (bit_cpu_XXX): Likewise.
4270 (index_cpu_XXX): Likewise.
4271 (reg_XXX): Likewise.
4272 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4274 (CHECK_CPU_FEATURE): New.
4275 (CHECK_CPU_FEATURE_USABLE): Likewise.
4276 (cpu_kinds): Likewise.
4277 (do_test): Print vendor, family, model and stepping. Check
4278 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4279 (TEST_FUNCTION): Removed.
4280 Include <support/test-driver.c> instead of
4281 "../../test-skeleton.c".
4282 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4283 Check POPCNT instead of POPCOUNT.
4284 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4286 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4288 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4289 there is no element in `consts'.
4291 2018-12-01 Florian Weimer <fweimer@redhat.com>
4293 * support/support_capture_subprocess.c
4294 (support_capture_subprocess): Check that pipe descriptors have
4295 expected values. Close original pipe descriptors in subprocess.
4297 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4300 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4301 attr with __pthread_default_barrierattr.
4302 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4303 attr with __pthread_default_condattr.
4304 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4305 attr with __pthread_default_mutexattr.
4306 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4307 attr with __pthread_default_rwlockattr.
4309 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4311 * manual/tunables.texi (POSIX Thread Tunables): New node.
4312 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4313 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4314 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4315 __pthread_tunables_init.
4316 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4317 (max_adaptive_count): Define.
4318 * nptl/pthread_mutex_conf.c: New file.
4319 * nptl/pthread_mutex_conf.h: New file.
4320 * sysdeps/generic/adaptive_spin_count.h: New file.
4321 * sysdeps/nptl/dl-tunables.list: New file.
4322 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4323 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4324 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4327 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4330 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4331 * stdlib/on_exit.c (__on_exit): Likewise.
4332 * stdlib/Makefile (tests): Add tst-bz20544.
4333 * stdlib/tst-bz20544.c: New test.
4335 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4338 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4339 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4342 2018-11-30 Florian Weimer <fweimer@redhat.com>
4344 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4345 Extend error logging.
4346 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4349 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4351 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4352 __sigismember instead of sigismember.
4353 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4354 cancel_handler): New definitions.
4355 (do_system): Use posix_spawn instead of fork and execl and remove
4357 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4358 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4359 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4360 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4361 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4362 * sysdeps/unix/sysv/linux/system.c: Likewise.
4366 * NEWS: Add new semantic for atfork with popen and system.
4367 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4370 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4373 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4374 modification order when accessing reloc_result->addr.
4375 * include/link.h (reloc_result): Add field init.
4376 * nptl/Makefile (tests): Add tst-audit-threads.
4377 (modules-names): Add tst-audit-threads-mod1 and
4378 tst-audit-threads-mod2.
4379 Add rules to build tst-audit-threads.
4380 * nptl/tst-audit-threads-mod1.c: New file.
4381 * nptl/tst-audit-threads-mod2.c: Likewise.
4382 * nptl/tst-audit-threads.c: Likewise.
4383 * nptl/tst-audit-threads.h: Likewise.
4385 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4387 * scripts/gen-as-const.py: New file.
4388 * scripts/gen-as-const.awk: Remove.
4389 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4391 ($(objpfx)test-as-const-%.c): Likewise.
4393 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4395 * elf/dl-exception.c: Include <_itoa.h>.
4397 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4399 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4400 returned by __f_setlk.
4402 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4403 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4405 * elf/Makefile (tests-internal): Add tst-create_format1.
4406 * elf/dl-exception.c (_dl_exception_create_format): Support
4408 * elf/tst-create_format1.c: New file.
4410 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4412 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4413 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4415 * argp/argp-help.c (__argp_failure): Likewise.
4417 2018-11-29 Mao Han <han_mao@c-sky.com>
4419 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4420 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4421 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4422 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4423 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4424 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4425 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4426 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4427 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4428 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4429 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4430 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4431 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4432 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4433 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4434 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4435 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4436 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4437 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4438 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4439 (R_CKCORE_TLS_TPOFF32): New defines.
4441 2018-11-29 Florian Weimer <fweimer@redhat.com>
4443 * posix/Makefile (before-compile): Remove testcases.h and
4445 (generated): Add testcases.h and ptestcases.h.
4446 (testcases.h, ptestcases.h): Move to $(objpfx).
4447 (runtests.o): Add dependency on testcases.h.
4448 (runptests.o): Add dependency on ptestcases.h.
4449 * posix/testcases.h, posix/ptestcases.h: Remove files.
4450 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4451 not touch posix/testcases.h and posix/ptestcases.h.
4453 2018-11-28 Florian Weimer <fweimer@redhat.com>
4455 support: Add signal support to support_capture_subprocess_check.
4456 * support/capture_subprocess.h (support_capture_subprocess_check):
4457 Adjust comment and rename parameter.
4458 * support/support_capture_subprocess_check.c
4459 (print_actual_status): New function.
4460 (support_capture_subprocess_check): Support negative
4461 status_or_signal. Call print_actual_status.
4462 * support/tst-support_capture_subprocess.c (do_test): Call
4463 support_capture_subprocess_check.
4464 * libio/tst-vtables-common.c (termination_status)
4465 (init_termination_status): Remove.
4466 (check_for_termination): Adjust support_capture_subprocess_check
4468 (do_test): Remove call to init_termination_status.
4470 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4472 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4473 source directory instead of a copy.
4474 (CommandList.create_copy_dir): Remove.
4476 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4478 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4480 2018-11-28 Florian Weimer <fweimer@redhat.com>
4482 * support/support.h (support_quote_string): Do not use str
4485 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4487 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4488 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4490 2018-11-27 Florian Weimer <fweimer@redhat.com>
4492 * support/support.h (support_quote_string): Declare.
4493 * support/support_quote_string.c: New file.
4494 * support/tst-support_quote_string.c: Likewise.
4495 * support/Makefile (libsupport-routines): Add
4496 support_quote_string.
4497 (tests): Add tst-support_quote_string.
4499 2018-11-27 Florian Weimer <fweimer@redhat.com>
4503 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4504 descriptor leak in case of ENODEV error.
4506 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4509 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4510 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4513 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4515 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4516 Error for unknown lines.
4518 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4520 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4521 Touch additional files.
4523 2018-11-26 Florian Weimer <fweimer@redhat.com>
4526 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4529 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4533 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4534 SHARED. Include sysdep.h.
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4536 ALWAYS_USE_VSYSCALL.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4538 ALWAYS_USE_VSYSCALL.
4540 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4543 * nptl/Makefile (tests-static): Add tst-cond11-static.
4545 * nptl/tst-cond11-static.c: New File.
4546 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4547 tst-affinity-static.
4549 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4551 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4552 (USE_VSYSCALL): Likewise.
4553 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4554 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4556 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4561 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4565 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4568 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4570 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4571 (tst-cet-legacy-1a-ARGS): New.
4572 ($(objpfx)tst-cet-legacy-1a): New target.
4573 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4575 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4577 * conform/conformtest.py (CompileSubTest.__init__): Set
4578 self.run_early to False.
4579 (ExecuteSubTest.__init__): Likewise.
4580 (HeaderTests.run): Try running all non-optional, non-XFAILed
4581 compilation tests in a single execution of the compiler.
4583 * conform/conformtest.py (CompileSubTest): New class.
4584 (ExecuteSubTest): Likewise.
4585 (ElementTest.run): Rename to gen_subtests. Append tests to
4586 self.subtests instead of running them.
4587 (ConstantTest.run): Likewise.
4588 (SymbolTest.run): Likewise.
4589 (TypeTest.run): Likewise.
4590 (TagTest.run): Likewise.
4591 (FunctionTest.run): Likewise.
4592 (VariableTest.run): Likewise.
4593 (MacroFunctionTest.run): Likewise.
4594 (MacroStrTest.run): Likewise.
4595 (HeaderTests.handle_test_line): Generate subtests for tests.
4596 (HeaderTests.run): Run subtests for tests.
4598 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4600 * math/Versions (GLIBC_2.29): Add pow.
4601 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4603 * math/w_pow.c: New file.
4604 * sysdeps/i386/fpu/w_pow.c: New file.
4605 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4607 and add necessary aliases.
4608 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4609 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4610 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4611 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4612 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4613 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4614 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4615 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4616 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4617 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4618 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4619 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4620 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4621 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4622 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4627 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4628 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4629 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4630 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4631 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4632 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4633 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4636 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4637 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4638 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4640 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4642 * math/Versions (GLIBC_2.29): Add log2.
4643 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4645 * math/w_log2.c: New file.
4646 * sysdeps/i386/fpu/w_log2.c: New file.
4647 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4648 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4649 and add necessary aliases.
4650 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4651 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4652 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4654 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4655 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4656 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4657 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4658 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4660 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4661 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4662 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4663 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4664 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4669 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4671 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4672 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4673 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4674 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4675 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4677 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4679 * math/Versions (GLIBC_2.29): Add log.
4680 * math/w_log_compat.c (__log_compat): Change to versioned compat
4682 * math/w_log.c: New file.
4683 * sysdeps/i386/fpu/w_log.c: New file.
4684 * sysdeps/ia64/fpu/e_log.S: Update.
4685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4686 and add necessary aliases.
4687 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4688 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4689 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4690 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4691 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4692 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4693 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4694 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4695 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4697 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4698 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4699 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4700 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4701 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4706 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4707 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4708 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4709 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4710 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4711 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4712 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4713 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4715 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4717 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4718 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4720 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4722 * math/Versions (GLIBC_2.29): Add exp and exp2.
4723 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4724 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4725 * math/w_exp_compat.c (__exp_compat): Likewise.
4726 * math/w_exp.c: New file.
4727 * math/w_exp2.c: New file.
4728 * sysdeps/i386/fpu/w_exp.c: New file.
4729 * sysdeps/i386/fpu/w_exp2.c: New file.
4730 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4731 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4733 and add necessary aliases.
4734 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4735 and add necessary aliases.
4736 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4737 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4738 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4739 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4740 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4741 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4742 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4743 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4744 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4745 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4746 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4747 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4748 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4749 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4750 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4751 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4752 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4758 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4759 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4760 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4761 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4762 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4763 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4764 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4765 (__ieee754_exp): Rename to __exp.
4766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4767 (__ieee754_exp): Rename to __exp.
4768 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4769 (__ieee754_exp): Rename to __exp.
4770 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4772 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4774 2018-11-20 DJ Delorie <dj@redhat.com>
4776 * malloc/malloc.c (tcache_entry): Add key field.
4777 (tcache_put): Set it.
4778 (tcache_get): Likewise.
4779 (_int_free): Check for double free in tcache.
4780 * malloc/tst-tcfree1.c: New.
4781 * malloc/tst-tcfree2.c: New.
4782 * malloc/Makefile: Run the new tests.
4783 * manual/probes.texi: Document memory_tcache_double_free probe.
4785 * dlfcn/dlerror.c (check_free): Prevent double frees.
4787 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4789 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4791 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4793 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4794 in tests. Use names for format arguments.
4795 (ConstantTest.run): Likewise.
4796 (SymbolTest.run): Likewise.
4797 (TypeTest.run): Likewise.
4798 (TagTest.run): Likewise.
4799 (FunctionTest.run): Likewise.
4800 (VariableTest.run): Likewise.
4801 (MacroFunctionTest.run): Likewise.
4802 (MacroStrTest.run): Likewise.
4803 (HeaderTests.__init__): Set self.num_tests.
4804 (HeaderTests.handle_test_line): Set test.num. Increment
4807 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4809 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4810 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4813 2018-11-19 Mao Han <han_mao@c-sky.com>
4815 * scripts/config.guess: Update to version 2018-08-29.
4816 * scripts/config.sub: Update to version 2018-08-29.
4818 2018-11-19 Florian Weimer <fweimer@redhat.com>
4820 support: Print timestamps in timeout handler.
4821 * support/support_test_main.c (print_timestamp): New function.
4822 (signal_handler): Use it to print the termination time and the
4823 time of the last write to standard output.
4825 2018-11-16 Zack Weinberg <zackw@panix.com>
4826 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4828 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4829 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4831 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4832 and add flags argument. Check flags instead of __ldbl_is_dbl when
4833 deciding whether to set is_long_double.
4834 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4835 passing zero for flags argument.
4836 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4838 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4839 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4840 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4841 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4842 variable names. Remove libc_hidden_def/libc_hidden_proto from
4843 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4844 longer called from within the library.
4845 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4846 for __nldbl___vstrfmon_l, declare it explicitly.
4848 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4850 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4852 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4854 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4855 F_SETLK64, F_SETLKW64, respectively.
4856 * sysdeps/mach/hurd/f_setlk.c: New file.
4857 * sysdeps/mach/hurd/f_setlk.h: New file.
4858 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4860 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4861 (__libc_fcntl): Move non-flock operations to...
4862 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4863 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4865 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4867 mktime: DEBUG_MKTIME cleanup
4868 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4869 And it’s no longer needed now that glibc and Gnulib both have
4870 their own testing mechanisms for mktime.
4871 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4873 mktime: fix non-EOVERFLOW errno handling
4875 mktime was not properly reporting failures when the underlying
4876 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4877 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4878 The problem could happen on non-glibc platforms, with Gnulib.
4879 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4880 (tm_diff): ... this simpler function, which does not change errno.
4881 All callers changed to deal with errno themselves.
4882 (ranged_convert, __mktime_internal): Return failure immediately if
4883 the underlying function reports any failure other than EOVERFLOW.
4884 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4887 mktime: fix bug with Y2038 DST transition
4889 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4890 mishandle a DST transition that jumps over the Y2038 boundary.
4891 No such DST transitions are known so this is only a theoretical
4892 bug, but we might as well do things right.
4894 mktime: make more room for overflow
4896 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4897 This is so that we can add tm_diff results to a previous guess,
4898 which will be useful in a later patch.
4900 mktime: simplify offset guess
4902 * time/mktime.c (__mktime_internal): Omit excess precision.
4904 mktime: new test for mktime failure
4906 Based on a test suggested by Albert Aribaud in:
4907 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4908 * time/Makefile (tests): Add bug-mktime4.
4909 * time/bug-mktime4.c: New file.
4911 mktime: fix EOVERFLOW bug
4913 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4914 Include libc-config.h, not config.h, for __set_errno.
4915 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4917 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4919 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4920 __attribute_copy__ to copy attributes from name. Drop static qualifier
4921 to avoid warnings about leaf attribute not having effect on static
4924 2018-11-13 Florian Weimer <fweimer@redhat.com>
4926 * malloc/malloc.c (fastbin_push_entry): New function.
4927 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4928 (REMOVE_FB): Remove macro.
4929 (_int_malloc): Use fastbin_pop_entry and reindent.
4930 (_int_free): Use fastbin_push_entry.
4931 (malloc_consolidate): Use atomic_exchange_acquire.
4933 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4935 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4936 alias attribute, not with strong_alias.
4938 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4939 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4940 with additional parameter thread.
4941 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4942 in terms of __hidden_ver2.
4943 (hidden_tls_def): New macro.
4944 (libc_hidden_tls_def): Likewise.
4945 (rtld_hidden_tls_def): Likewise.
4946 (libm_hidden_tls_def): Likewise.
4947 (libmvec_hidden_tls_def): Likewise.
4948 (libresolv_hidden_tls_def): Likewise.
4949 (librt_hidden_tls_def): Likewise.
4950 (libdl_hidden_tls_def): Likewise.
4951 (libnss_files_hidden_tls_def): Likewise.
4952 (libnsl_hidden_tls_def): Likewise.
4953 (libnss_nisplus_hidden_tls_def): Likewise.
4954 (libutil_hidden_tls_def): Likewise.
4955 (libutil_hidden_tls_def): Likweise.
4956 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4957 libc_hidden_tls_def.
4958 (__sim_disabled_exceptions_thread): Likewise.
4959 (__sim_round_mode_thread): Likewise.
4961 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4962 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4963 copy attributes from name.
4965 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4967 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4968 Use __attribute_copy__ to copy attributes from name.
4970 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4971 with __hidden_ver1 call.
4972 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4973 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4974 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4975 (__cosf): Do not declare here.
4976 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4977 (__sincosf): Do not declare here.
4978 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4979 (__sinf): Do not declare here.
4981 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4982 (__BIG_ENDIAN): Likewise.
4983 (__BYTE_ORDER): Likewise.
4984 (strong_alias): Likewise.
4985 (_strong_alias): Likewise.
4987 2018-11-12 Florian Weimer <fweimer@redhat.com>
4989 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4990 function. Move after the definition of in_smallbin_range. Do not
4991 use __builtin_expect for paths that lead to a noreturn function.
4992 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4993 because it is unclear whether this is in fact an unlikely
4995 (_int_malloc, _int_free): Adjust.
4996 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4998 * malloc/arena.c (heap_trim): Likewise.
5000 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5002 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5003 it, free it if needed.
5004 (reauthenticate): Test and use ccwdir.
5005 (child_init_port): In non-resetids case, test and use ccwdir.
5006 (child_chdir): New nested function to set ccwdir.
5007 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5008 * hurd/hurd/port.h (_hurd_port_move): New function.
5009 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5010 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5011 * hurd/Versions (_hurd_port_move): Export function.
5012 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5014 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5015 of dtablesize for allocating dtable_cloexec.
5017 2018-11-09 Martin Sebor <msebor@redhat.com>
5019 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5020 it's already defined.
5021 (_strong_alias): Use __attribute_copy__.
5022 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5023 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5024 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5025 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5026 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5027 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5028 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5029 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5030 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5031 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5032 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5033 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5034 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5035 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5036 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5037 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5038 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5039 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5040 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5042 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5044 * misc/tst-efgcvt.c: Include support/check.h and
5045 support/test-driver.c. Do not include test-skeleton.c.
5046 (error_count): Remove.
5047 (output_error): Replace increments to error_count with calls to
5048 support_record_failure.
5049 (output_r_error): Likewise.
5050 (special): Likewise.
5051 (do_test): Unconditionally return zero.
5052 (TEST_FUNCTION): Remove.
5054 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5056 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5058 ($(linknamespace-header-tests)): Likewise.
5060 * conform/conformtest.py: New file.
5061 * conform/conformtest.pl: Remove.
5062 * conform/GlibcConform.pm: Likewise.
5063 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5064 (KEYWORDS_C99): Likewise.
5065 (KEYWORDS): Likewise.
5066 * conform/Makefile ($(conformtest-header-tests)): Use
5067 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5068 option. Use --header instead of --headers.
5069 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5071 * conform/data/spawn.h-data: Likewise.
5072 * conform/data/fcntl.h-data (openat): Add space after function
5074 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5075 (wcscasecmp_l): Likewise.
5076 * conform/data/termios.h-data (c_cc): Add space after element
5079 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5081 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5082 instead of manually comparing and reporting mismatching strings.
5083 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5084 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5086 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5088 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5089 __ASSUME_SOCKETCALL.
5090 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5091 (__ASSUME_SOCKETCALL): Remove.
5092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5093 (__ASSUME_SOCKETCALL): Likewise.
5094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5095 (__ASSUME_SOCKETCALL): Likewise.
5096 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5097 (__ASSUME_SOCKETCALL): Likewise.
5098 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5099 (__ASSUME_SOCKETCALL): Likewise.
5100 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5101 (__ASSUME_SOCKETCALL): Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5103 (__ASSUME_SOCKETCALL): Likewise.
5105 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5109 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5110 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5111 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5112 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5115 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5118 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5120 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5124 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5126 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5128 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5130 * support/support_test_compare_string.c
5131 (support_test_compare_string): Fix printf format.
5133 2018-11-07 Florian Weimer <fweimer@redhat.com>
5135 Implement TEST_COMPARE_STRING.
5136 * support/check.h (TEST_COMPARE_STRING): Define.
5137 (support_test_compare_string): Declare.
5138 * support/Makefile (libsupport-routines): Add
5139 support_test_compare_string.
5140 (tests): Add tst-test_compare_string.
5141 * support/support_test_compare_string.c: New file.
5142 * support/tst-test_compare_string.c: Likewise.
5144 2018-11-07 Andreas Schwab <schwab@suse.de>
5147 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5148 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5151 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5155 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5156 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5157 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5160 2018-11-06 Florian Weimer <fweimer@redhat.com>
5163 * posix/Makefile (routines): Add spawn_faction_addchdir.
5164 (tests): Add tst-spawn-chdir.
5165 * posix/Versions (GLIBC_2.29): Add
5166 posix_spawn_file_actions_addchdir_np.
5167 * posix/spawn_faction_addchdir.c: New file.
5168 * posix/spawn_faction_destroy.c
5169 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5170 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5171 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5173 * posix/tst-spawn-chdir.c: New file.
5174 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5175 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5176 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5177 posix_spawn_file_actions_addchdir_np.
5178 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5180 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5182 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5183 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5185 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5187 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5191 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5193 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5195 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5196 (GLIBC_2.29): Likewise.
5197 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5198 (GLIBC_2.29): Likewise.
5199 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5200 (GLIBC_2.29): Likewise.
5201 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5202 (GLIBC_2.29): Likewise.
5203 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5206 (GLIBC_2.29): Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5208 (GLIBC_2.29): Likewise.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5210 (GLIBC_2.29): Likewise.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5212 (GLIBC_2.29): Likewise.
5213 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5217 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5219 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5224 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5226 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5229 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5231 * misc/Makefile (tests): Add tst-ldbl-error.
5232 * misc/tst-ldbl-error.c: New file.
5234 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5236 * misc/Makefile (tests): Add tst-ldbl-warn.
5237 * misc/tst-ldbl-warn.c: New file.
5239 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5241 * argp/Makefile (tests): Add tst-ldbl-argp.
5242 * argp/tst-ldbl-argp.c: New file.
5244 2018-11-05 Arjun Shankar <arjun@redhat.com>
5246 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5247 __gconv_path_elem and call __gconv_get_path unconditionally.
5249 2018-11-05 Andreas Schwab <schwab@suse.de>
5252 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5253 creating the first helper thread failed.
5255 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5257 * sysdeps/mach/hurd/msync.c: New file.
5259 2018-11-02 Florian Weimer <fweimer@redhat.com>
5261 * support/shell-container.c (copy_func): Call
5262 support_copy_file_range instead of copy_file_range to support
5263 cross-device copies.
5265 2018-11-02 Florian Weimer <fweimer@redhat.com>
5267 * support/test-container.c: Include <libc-pointer-arith.h> for
5270 2018-11-01 Zong Li <zong@andestech.com>
5272 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5273 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5274 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5275 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5277 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5278 variable to avoid overlap arguments.
5280 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5282 * posix/bug-regex22.c (main): Use puts with distinct error
5283 messages for unexpected success of re_compile_pattern, not printf
5284 with NULL argument to %s.
5286 * stdio-common/bug22.c: Include <libc-diag.h>.
5287 (do_test): Disable -Wformat-overflow= warnings around fprintf
5288 calls outputting more than INT_MAX characters.
5289 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5290 around printf call with NULL %s argument.
5293 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5294 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5296 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5297 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5298 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5299 (__ASSUME_SENDTO_SYSCALL): Likewise.
5300 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5301 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5303 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5304 (__ASSUME_CONNECT_SYSCALL): Likewise.
5305 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5306 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5307 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5309 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5311 [__LINUX_KERNEL_VERSION >= 0x040400]
5312 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5316 (setsockopt): Likewise.
5318 2018-11-01 Fredrik Noring <noring@nocrew.org>
5320 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5321 with the ISA override.
5323 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5325 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5328 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5330 * manual/errno.texi (EIEIO): Document how translators should
5331 translate the error message.
5332 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5333 printing trailing whitespaces refused by git.
5334 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5335 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5336 * hurd/Makefile (user-interfaces): Add pci.
5338 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5340 * conform/linknamespace.py: New file.
5341 * conform/linknamespace.pl: Remove file.
5342 * conform/Makefile ($(linknamespace-header-tests)): Use
5343 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5346 2018-10-30 Florian Weimer <fweimer@redhat.com>
5348 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5351 2018-10-30 Florian Weimer <fweimer@redhat.com>
5353 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5355 2018-10-30 Florian Weimer <fweimer@redhat.com>
5357 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5358 support_blob_repeat.
5360 2018-10-30 Florian Weimer <fweimer@redhat.com>
5362 Avoid spurious test failures in stdlib/test-bz22786.
5363 * support/Makefile (libsupport-routines): Add blob_repeat.
5364 (tests): Add tst-support_blob_repeat.
5365 * support/blob_repeat.h: New file.
5366 * support/blob_repeat.c: Likewise.
5367 * support/tst-support_blob_repeat.c: Likewise.
5368 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5369 support_blob_repeat_allocate.
5371 2018-10-30 Andreas Schwab <schwab@suse.de>
5374 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5375 Don't use tail call.
5376 * elf/tst-unwind-main.c: New file.
5377 * elf/Makefile (tests): Add tst-unwind-main.
5378 (CFLAGS-tst-unwind-main.c): Define.
5380 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5383 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5385 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5387 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5389 * conform/glibcconform.py: Do not import shutil.
5390 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5393 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5394 critic_missing for versions before 3.4.
5395 * configure: Regenerated.
5396 * manual/install.texi (Tools for Compilation): Document
5397 requirement for Python to build glibc.
5398 * INSTALL: Regenerated.
5399 * Rules [PYTHON]: Make code unconditional.
5400 * benchtests/Makefile [PYTHON]: Likewise.
5401 * conform/Makefile [PYTHON]: Likewise.
5402 * manual/Makefile [PYTHON]: Likewise.
5403 * math/Makefile [PYTHON]: Likewise.
5405 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5407 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5408 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5409 answer to interrupt_operation, return EIEIO instead of EINTR.
5410 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5411 _hurd_intr_rpc_msg_about_to global point to start of controlled
5412 assembly snippet. Make it check canceled flag.
5413 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5414 the _hurd_intr_rpc_msg_about_to point.
5415 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5416 issue, remove cancel flag check.
5418 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5420 * scripts/build-many-glibcs.py: Remove compatibility for missing
5421 os.cpu_count and re.fullmatch.
5423 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5426 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5427 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5428 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5430 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5432 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5435 2018-10-25 Florian Weimer <fweimer@redhat.com>
5439 XFAIL siginfo_t si_band conform test on sparc64.
5440 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5441 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5442 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5443 (conformtest-xfail-conds): Add sparc64-linux.
5444 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5446 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5448 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5450 * elf/elf.h (NT_MIPS_DSP): New macro.
5451 (NT_MIPS_FP_MODE): Likewise.
5453 2018-10-25 Zong Li <zong@andestech.com>
5455 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5456 name by adding the file extension (.so).
5458 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5460 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5461 (test-xfail-ISO11/threads.h/linknamespace,
5462 test-xfail-ISO11/threads.h/conform): Add.
5464 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5466 * math/gen-libm-test.py: Import os.
5467 (ALL_FLOATS_MANUAL): New constant.
5468 (ALL_FLOATS_SUFFIX): Likewise.
5469 (Ulps.all_functions): New function.
5470 (real_all_ulps): Likewise.
5471 (generate_err_table_sub): Likewise.
5472 (generate_err_table): Likewise.
5473 (main): Handle -s and -m options.
5474 * manual/libm-err-tab.pl: Remove.
5475 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5476 instead of libm-err-tab.pl.
5477 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5479 * manual/install.texi (Tools for Compilation): Document
5480 requirement for Python to build manual.
5481 * INSTALL: Regenerated.
5483 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5485 * bits/time64.h: New file.
5486 * include/time.h: Replace internal_time_t with __time64_t.
5487 * posix/bits/types (__time64_t): Add.
5488 * stdlib/Makefile: Add bits/time64.h to includes.
5489 * time/tzfile.c: Replace internal_time_t with __time64_t.
5491 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5493 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5494 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5495 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5496 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5497 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5499 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5500 * posix/spawn_faction_addclose.c
5501 (__posix_spawn_file_actions_addclose): Add hidden definition.
5502 * posix/spawn_faction_adddup2.c
5503 (__posix_spawn_file_actions_adddup2): Likewise.
5504 * posix/spawn_faction_destroy.c
5505 (__posix_spawn_file_actions_destroy): Likewise.
5506 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5508 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5509 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5510 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5512 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5513 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5516 2018-10-24 Andreas Schwab <schwab@suse.de>
5519 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5521 * elf/cache.c (print_cache): Likewise.
5523 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5525 * bits/timesize.h: New file.
5526 * stdlib/Makefile (headers): Add bits/timesize.h.
5527 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5528 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5529 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5530 (__SEM_PAD_AFTER_TIME): Likewise.
5531 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5532 (__SHM_PAD_AFTER_TIME): Likewise.
5533 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5534 (__MSQ_PAD_BEFORE_TIME): Likewise.
5535 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5536 (__SEM_PAD_BEFORE_TIME): Likewise.
5537 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5538 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5539 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5540 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5542 (__MSQ_PAD_BEFORE_TIME): Likewise.
5543 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5544 (__SEM_PAD_BEFORE_TIME): Likewise.
5545 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5546 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5547 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5548 (__MSQ_PAD_BEFORE_TIME): Likewise.
5549 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5550 (__SEM_PAD_BEFORE_TIME): Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5552 (__SHM_PAD_BEFORE_TIME): Likewise.
5553 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5554 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5555 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5557 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5559 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5560 USE_RDTSCP is defined.
5561 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5562 USE_RDTSCP is defined.
5564 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5566 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5570 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5571 independently of other flags.
5573 2018-10-23 Florian Weimer <fweimer@redhat.com>
5575 * time/tst-mktime2.c (N_STRINGS): Remove.
5576 (set_timezone): New function.
5577 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5578 (mktime_test1): Report localtime failure and check errno value.
5580 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5581 (do_test): Remove alarm call. Use set_timezone and array_length.
5583 2018-10-23 Andreas Schwab <schwab@suse.de>
5585 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5586 (__start_context): Use END instead of PSEUDO_END.
5588 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5590 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5593 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5597 * wcsmbs/c32rtomb.c: New file.
5598 * wcsmbs/mbrtoc32.c: Likewise.
5599 * wcsmbs/tst-c32-state.c: Likewise.
5600 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5601 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5602 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5603 (tests): Add tst-c32-state.
5604 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5607 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5609 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5610 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5612 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5615 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5616 pair and return 0 in that case, and use saved character to
5617 interpret following character.
5618 * wcsmbs/tst-c16-surrogate.c: New file.
5619 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5620 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5621 Depend on $(gen-locales)
5623 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5626 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5627 (struct siginfo_t): Use correct type for si_band.
5629 2018-10-19 Florian Weimer <fweimer@redhat.com>
5632 * resource/bits/types/struct_rusage.h (struct rusage): Update
5633 comment on struct. Remove extraneous field comment.
5635 2018-10-18 David S. Miller <davem@davemloft.net>
5637 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5638 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5639 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5640 sysdep_routines in subdir elf.
5641 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5642 version for __vdso_clock_gettime.
5643 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5645 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5646 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5648 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5650 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5652 * sysdeps/i386/init-arch.h: Removed.
5653 * sysdeps/i386/i586/init-arch.h: Likewise.
5654 * sysdeps/i386/i686/init-arch.h: Likewise.
5655 * sysdeps/i386/i686/hp-timing.h: Likewise.
5656 * sysdeps/x86_64/hp-timing.h: Likewise.
5657 * sysdeps/i386/isa.h: New file.
5658 * sysdeps/i386/i586/isa.h: Likewise.
5659 * sysdeps/i386/i686/isa.h: Likewise.
5660 * sysdeps/x86_64/isa.h: Likewise.
5661 * sysdeps/x86/hp-timing.h: New file.
5662 * sysdeps/x86/init-arch.h: Include <isa.h>.
5664 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5666 * math/libm-test-pow.inc (pow_test_data): Do not allow
5667 divide-by-zero exception for pow(+/- 0, -Inf).
5669 2018-10-17 Zack Weinberg <zackw@panix.com>
5671 * manual/job.texi (Job Control is Optional): Remove node, as
5672 job control has not been optional in quite some time.
5673 (Job Control): Mention briefly that systems older than
5674 POSIX.1-2001 might not support job control.
5675 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5676 defined on systems conforming to POSIX.1-2001.
5678 2018-10-17 Arjun Shankar <arjun@redhat.com>
5681 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5683 * (__gconv_read_conf): Mark function static.
5684 * (once): New static variable.
5685 * (__gconv_load_conf): New function.
5686 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5687 * iconv/gconv_db.c (once): Remove static variable.
5688 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5690 * (__gconv_find_transform): Likewise.
5691 * iconv/tst-iconv-mt.c: New test.
5692 * iconv/Makefile: Add tst-iconv_mt.
5694 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5698 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5699 (shmatt_t): Define as __syscall_ulong_t.
5700 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5701 and [__SHM_PAD_AFTER_TIME].
5702 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5703 Define shm_segsz and associated padding based on
5704 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5705 Use __syscall_ulong_t instead of unsigned long int.
5706 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5708 [__USE_MISC] (struct shm_info): Likewise.
5709 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5710 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5711 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5714 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5715 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5716 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5719 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5723 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5724 (SHMLBA): Remove macro.
5725 (__getpagesize): Remove function declaration.
5726 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5728 (SHMLBA): Remove macro.
5729 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5731 (SHMLBA): Remove macro.
5732 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5734 (SHMLBA): Remove macro.
5735 (__getpagesize): Remove function declaration.
5736 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5738 (SHMLBA): Remove macro.
5739 (__getshmlba): Remove function declaration.
5740 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5741 (SHMLBA): Remove macro.
5742 (__getpagesize): Remove function declaration.
5743 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5744 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5745 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5746 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5747 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5748 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5749 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5750 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5752 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5754 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5757 * nptl/tst-mutex10.c: New File.
5758 * nptl/Makefile (tests): Add tst-mutex10.
5759 (tst-mutex10-ENV): New variable.
5760 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5761 Ensure that elision path is used if elision is available.
5762 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5764 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5766 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5767 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5768 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5769 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5771 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5772 (__pthread_mutex_cond_lock_adjust): Likewise.
5773 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5775 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5776 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5777 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5778 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5780 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5781 Use atomic_load_relaxed and atomic_store_relaxed.
5782 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5783 Use atomic_store_relaxed.
5785 2018-10-17 Andreas Schwab <schwab@suse.de>
5787 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5788 * crypt/badsalttest.c (TIMEOUT): Likewise.
5789 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5790 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5791 * io/test-lfs.c (TIMEOUT): Likewise.
5792 * libio/tst-atime.c (TIMEOUT): Likewise.
5793 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5794 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5795 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5796 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5797 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5798 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5799 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5800 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5801 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5802 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5803 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5804 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5805 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5806 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5807 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5808 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5809 * nptl/tst-once2.c (TIMEOUT): Likewise.
5810 * nptl/tst-once3.c (TIMEOUT): Likewise.
5811 * nptl/tst-once4.c (TIMEOUT): Likewise.
5812 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5813 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5814 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5815 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5816 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5817 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5818 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5819 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5820 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5821 * posix/tst-chmod.c (TIMEOUT): Likewise.
5822 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5823 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5824 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5825 * posix/tst-regex2.c (TIMEOUT): Likewise.
5826 * posix/tst-waitid.c (TIMEOUT): Likewise.
5827 * rt/tst-aio.c (TIMEOUT): Likewise.
5828 * rt/tst-aio10.c (TIMEOUT): Likewise.
5829 * rt/tst-aio4.c (TIMEOUT): Likewise.
5830 * rt/tst-aio5.c (TIMEOUT): Likewise.
5831 * rt/tst-aio6.c (TIMEOUT): Likewise.
5832 * rt/tst-aio64.c (TIMEOUT): Likewise.
5833 * rt/tst-aio7.c (TIMEOUT): Likewise.
5834 * rt/tst-aio9.c (TIMEOUT): Likewise.
5835 * rt/tst-clock.c (TIMEOUT): Likewise.
5836 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5837 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5838 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5839 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5840 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5841 * rt/tst-timer4.c (TIMEOUT): Likewise.
5842 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5843 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5844 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5845 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5846 * time/tst-ftime.c (TIMEOUT): Likewise.
5847 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5849 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5851 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5852 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5855 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5859 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5860 instead of <bits/wordsize.h>.
5861 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5862 and [__SEM_PAD_AFTER_TIME].
5863 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5864 __syscall_ulong_t instead of unsigned long int.
5865 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5866 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5867 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5869 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5870 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5871 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5872 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5873 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5875 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5877 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5879 regex: simplify by using intprops.h
5881 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5882 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5883 intprops.h defines them.
5885 regex: __builtin_expect → __glibc_unlikely
5887 This refactoring was prompted by a problem when the regex code is
5888 used as part of Gnulib and when the builder’s compiler does not grok
5889 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5890 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5891 Although this refactoring does not fix the problem directly,
5892 we might as well have Gawk use the now-preferred glibc style for when
5893 __builtin_expect is unavailable.
5894 * posix/regex_internal.h (BE): Remove.
5895 All uses replaced by __glibc_unlikely or __glibc_likely.
5897 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5901 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5902 instead of <bits/wordsize.h>.
5903 (msgqnum_t): Define as __syscall_ulong_t.
5904 (msglen_t): Likewise.
5905 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5906 and [__MSQ_PAD_AFTER_TIME].
5907 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5908 __syscall_ulong_t instead of unsigned long int.
5909 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5910 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5911 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5912 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5914 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5915 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5916 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5919 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5921 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5924 (struct shmid_ds): Condition padding after time fields on
5926 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5927 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5928 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5930 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5931 (struct semid_ds): Condition padding after time fields on
5933 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5934 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5935 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5936 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5938 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5939 (struct msqid_ds): Condition padding after time fields on
5941 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5942 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5943 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5944 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5946 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5948 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5950 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5952 * libio/tst-readline.c (TIMEOUT): Define.
5954 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5956 mktime fix for Gnulib + coreutils
5958 This fix affects only Gnulib. Problem discovered when
5959 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5961 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5962 Do not define since it is not used. Defining an unused static
5963 function prompts a warning from GCC when Coreutils is configured
5964 with --enable-gcc-warnings.
5966 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5968 * benchtests/scripts/compare_bench.py (main): set float type on
5971 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5974 * localedata/locales/kl_GL (mon): Update, the relative case.
5975 (alt_mon): Add, fill with month names in the nominative case.
5976 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5977 (d_fmt): Set to "%b %d %Y".
5979 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5982 <bits/mman-linux.h>.
5983 (PROT_READ): Don't define here.
5984 (PROT_WRITE): Likewise.
5985 (PROT_EXEC): Likewise.
5986 (PROT_NONE): Likewise.
5987 (PROT_GROWSDOWN): Likewise.
5988 (PROT_GROWSUP): Likewise.
5989 (MAP_SHARED): Likewise.
5990 (MAP_PRIVATE): Likewise.
5991 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5992 [__USE_MISC] (MAP_FILE): Likewise.
5993 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5994 [__USE_MISC] (MAP_ANON): Likewise.
5995 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5996 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5997 (MCL_CURRENT): Likewise.
5998 (MCL_FUTURE): Likewise.
5999 (MCL_ONFAULT): Likewise.
6000 [__USE_MISC] (MADV_NORMAL): Likewise.
6001 [__USE_MISC] (MADV_RANDOM): Likewise.
6002 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6003 [__USE_MISC] (MADV_WILLNEED): Likewise.
6004 [__USE_MISC] (MADV_DONTNEED): Likewise.
6005 [__USE_MISC] (MADV_FREE): Likewise.
6006 [__USE_MISC] (MADV_REMOVE): Likewise.
6007 [__USE_MISC] (MADV_DONTFORK): Likewise.
6008 [__USE_MISC] (MADV_DOFORK): Likewise.
6009 [__USE_MISC] (MADV_HWPOISON): Likewise.
6010 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6011 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6012 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6013 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6014 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6015 (__MAP_ANONYMOUS): New macro.
6016 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6017 <bits/mman-linux.h> inclusion.
6018 (MAP_FIXED): Likewise.
6019 (MS_SYNC): Likewise.
6020 (MS_ASYNC): Likewise.
6021 (MS_INVALIDATE): Likewise.
6022 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6023 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6024 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6025 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6026 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6027 [__USE_MISC] (MADV_DODUMP): Likewise.
6028 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6029 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6034 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6035 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6036 Add test-nldbl-redirect.
6037 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6038 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6039 $(objpfx)libnldbl_nonshared.a.
6041 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6043 * support/support.h (support_objdir_elf_ldso): New variable.
6044 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6045 * support/Makefile (CFLAGS-support_paths.c): Add definition
6046 for OBJDIR_ELF_LDSO_PATH.
6047 * support/test-container.c (main): Search for the ld.so
6048 which is also used by the testsuite.
6050 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6053 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6054 should be "sap" rather than "sab".
6055 (day): Fix spelling of Sunday, should be "sapaat" rather than
6058 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6060 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6062 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6065 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6066 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6067 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6069 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6071 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6073 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6075 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6077 (CFLAGS-elision-unlock.c): Likewise.
6078 (CFLAGS-elision-timed.c): Likewise.
6079 (CFLAGS-elision-trylock.c): Likewise.
6080 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6082 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6085 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6086 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6087 new fd_to_filename interface.
6088 * libio/freopen64.c (freopen64): Likewise.
6089 * libio/tst-memstream.h: New file.
6090 * libio/tst-memstream4.c: Likewise.
6091 * libio/tst-wmemstream4.c: Likewise.
6092 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6093 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6094 and remove internal dynamic allocation.
6096 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6099 (MREMAP_MAYMOVE): Do not define here.
6100 [__USE_GNU] (MREMAP_FIXED): Likewise.
6101 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6102 (MREMAP_MAYMOVE): Define here instead.
6103 [__USE_GNU] (MREMAP_FIXED): Likewise.
6104 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6105 (MREMAP_MAYMOVE): Remove.
6106 [__USE_GNU] (MREMAP_FIXED): Likewise.
6108 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6110 * math/fromfp.h: Do not include <math_private.h>.
6111 * math/s_cacosh_template.c: Likewise.
6112 * math/s_casin_template.c: Likewise.
6113 * math/s_casinh_template.c: Likewise.
6114 * math/s_ccos_template.c: Likewise.
6115 * math/s_cproj_template.c: Likewise.
6116 * math/s_fdim_template.c: Likewise.
6117 * math/s_fmaxmag_template.c: Likewise.
6118 * math/s_fminmag_template.c: Likewise.
6119 * math/s_iseqsig_template.c: Likewise.
6120 * math/s_ldexp_template.c: Likewise.
6121 * math/s_nextdown_template.c: Likewise.
6122 * math/w_log1p_template.c: Likewise.
6123 * math/w_scalbln_template.c: Likewise.
6124 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6125 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6126 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6127 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6128 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6129 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6130 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6131 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6132 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6133 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6134 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6135 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6136 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6137 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6138 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6139 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6140 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6146 * sysdeps/ieee754/k_standardf.c: Likewise.
6147 * sysdeps/ieee754/k_standardl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6150 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6157 * sysdeps/ieee754/s_signgam.c: Likewise.
6158 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6159 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6160 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6161 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6162 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6163 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6164 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6165 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6166 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6167 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6168 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6169 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6170 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6171 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6172 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6173 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6174 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6175 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6176 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6177 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6178 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6179 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6180 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6181 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6182 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6183 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6184 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6185 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6186 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6187 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6188 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6189 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6190 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6191 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6192 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6193 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6194 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6196 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6198 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6201 * sysdeps/i386/dl-cet.c: Removed.
6202 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6204 (_dl_runtime_profile_shstk): Likewise.
6205 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6206 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6208 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6211 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6212 do_test_with_invalid_iov): New tests.
6213 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6214 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6215 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6217 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6218 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6219 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6221 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6223 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6224 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6225 (MATH_REDIRECT_BINARY_ARGS): New macro.
6226 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6227 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6228 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6230 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6232 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6243 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6244 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6249 * sysdeps/generic/math_private_calls.h
6250 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6251 Do not declare and define as an inline function.
6252 * math/divtc3.c (__divtc3): Use copysign functions instead of
6253 __copysign variants.
6254 * math/multc3.c (__multc3): Likewise.
6255 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6256 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6257 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6258 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6260 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6261 (__ieee754_yn): Likewise.
6262 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6263 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6265 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6266 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6268 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6275 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6276 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6278 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6279 (__ieee754_ynf): Likewise.
6280 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6281 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6282 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6285 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6286 (__ieee754_ynl): Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6292 (__ieee754_ynl): Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6302 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6303 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6304 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6306 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6307 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6308 using MATH_REDIRECT.
6309 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6311 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6314 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6322 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6323 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6325 (round): Redirect to __round.
6326 (__roundl): Call round instead of __round.
6327 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6329 [_ARCH_PWR5X] (__roundf): Likewise.
6330 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6331 functions instead of __round variants.
6332 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6335 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6339 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6342 (__ieee754_expl): Call roundl instead of __roundl.
6344 2018-09-27 Andreas Schwab <schwab@suse.de>
6347 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6348 (do_test): Make st1 static.
6350 2018-09-26 Andreas Schwab <schwab@suse.de>
6353 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6354 * elf/Makefile (tests): Add tst-unwind-ctor.
6355 (modules-names): Add tst-unwind-ctor-lib.
6356 ($(objpfx)tst-unwind-ctor): Depend on
6357 $(objpfx)tst-unwind-ctor-lib.so.
6359 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6361 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6362 file. Most contents moved from ....
6363 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6364 and include <bits/mman-map-flags-generic.h>.
6365 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6366 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6367 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6368 <bits/mman-map-flags-generic.h>.
6369 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6370 macros defined in <bits/mman-map-flags-generic.h>.
6371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6372 <bits/mman-map-flags-generic.h>.
6373 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6374 defined in <bits/mman-map-flags-generic.h>.
6376 2018-09-26 Andreas Schwab <schwab@suse.de>
6378 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6381 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6382 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6383 Fangrui Song <maskray@google.com>
6386 * config.make.in (have-textrel_ifunc): New define.
6387 * configure.ac: Add check if linker supports textrel relocation with
6389 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6391 (CFLAGS-tst-ifunc-textrel.c): New rule.
6392 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6393 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6394 * elf/tst-ifunc-textrel.c: New file.
6396 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6398 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6399 <bits/procfs-prregset.h>.
6400 (prgregset_t): Define using __prgregset_t.
6401 (prfpregset_t): Define using __prfpregset_t.
6402 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6403 (sysdep_headers): Add bits/procfs-prregset.h.
6404 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6405 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6406 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6407 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6409 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6410 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6411 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6414 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6415 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6416 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6417 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6418 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6419 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6420 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6421 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6422 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6425 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6427 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6428 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6429 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6430 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6431 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6432 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6433 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6434 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6435 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6436 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6439 AArch64 version. Include <bits/procfs.h>.
6440 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6441 (sysdep_headers): Add bits/procfs.h.
6442 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6443 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6444 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6445 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6446 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6447 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6448 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6450 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6451 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6452 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6453 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6454 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6455 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6456 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6457 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6458 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6460 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6462 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6465 2018-09-25 Arjun Shankar <arjun@redhat.com>
6467 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6468 (__gconv_max_path_elem_len): Likewise.
6469 (__gconv_nmodules): Likewise.
6470 (__gconv_get_path): Likewise.
6471 (path_elem): Move to ...
6472 * iconv/gconv_conf.c: ... here.
6473 (__gconv_get_path): Mark function static.
6474 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6475 * iconv/gconv_open.c: ... here.
6477 2018-09-24 Andreas Schwab <schwab@suse.de>
6479 * scripts/haveversions.awk: New file.
6480 * Makerules ($(common-objpfx)Versions.def)
6481 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6482 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6484 * Makeconfig ($(common-objpfx)Versions.def)
6485 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6486 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6488 ($(common-objpfx)Versions.mk): New rule. Include it.
6489 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6490 Emit error if build-obsolete-nsl = yes.
6491 * manual/install.texi (Configuring and compiling): Describe
6492 --enable-obsolete-nsl as unavaiable after version 2.28.
6493 * INSTALL: Regenerate.
6495 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6497 * NEWS: Add note about new TLE support on powerpc64le.
6498 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6499 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6501 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6502 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6503 * sysdeps/powerpc/powerpc32/sysdep.h,
6504 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6505 ABORT_TRANSACTION): Remove macros.
6506 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6507 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6508 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6510 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6511 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6513 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6515 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6518 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6519 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6520 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6521 which is the same as in it_IT.
6522 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6523 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6525 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6527 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6528 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6529 using MATH_REDIRECT.
6530 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6532 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6534 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6536 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6542 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6543 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6544 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6545 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6546 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6547 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6548 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6550 (ceil): Redirect to __ceil.
6551 (floor): Redirect to __floor.
6552 (trunc): Redirect to __trunc.
6553 (__truncl): Call trunc instead of __trunc.
6554 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6556 [_ARCH_PWR5X] (__truncf): Likewise.
6557 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6558 trunc functions instead of __trunc variants.
6559 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6561 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6568 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6569 [__i586__ || __pentium__].
6570 [__i486__]: Handle explicitly.
6571 (HAS_CPUID): Define to 1 if above macros are undefined.
6572 (HAS_I586): Likewise.
6573 (HAS_I686): Likewise.
6575 2018-09-20 Florian Weimer <fweimer@redhat.com>
6577 * misc/tst-gethostid.c: New file.
6578 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6579 (tst-gethostid): Link with -ldl.
6581 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6583 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6584 value from gethostbyname_r.
6586 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6588 * stdlib/tst-setcontext9.c (f1): Rename to...
6590 (f1b): New function implementing lower half of f1 in alternate stack.
6592 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6594 Fix mktime localtime offset confusion
6596 * include/time.h (__mktime_internal): The localtime offset is now
6597 of type long int instead of time_t. This is the longstanding type
6598 in glibc, and it is more than enough to represent difference
6599 between localtime and gmtime even if it is 32 bits and time_t is
6600 64. Changing it now will let us avoid an unnecessary change when
6601 time_t is widened to 64 bits on 32-bit platforms.
6602 * time/mktime-internal.h (mktime_offset_t): Now long int.
6604 Merge mktime, timegm from upstream Gnulib
6605 [BZ #23603][BZ #16346]
6606 This fixes some obscure problems with integer overflow.
6607 Although it looks scary, it is almost all a byte-for-byte copy
6608 from Gnulib, and the Gnulib code has been tested reasonably well.
6609 * include/intprops.h: New file, copied from Gnulib.
6610 * include/verify.h, time/mktime-internal.h:
6611 New tiny files, simplified from Gnulib.
6612 * time/mktime.c: Copy from Gnulib. This has the following changes:
6613 Do not include config.h if DEBUG_MKTIME is nonzero.
6614 Include stdbool.h, intprops.h, verify.h.
6615 Include string.h only if needed.
6616 Include stdlib.h on MS-Windows.
6617 Include mktime-internal.h.
6618 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6619 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6620 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6621 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6622 simplify later conditionals; default the others to zero. Use
6623 these conditionals to express only the code needed on the current
6624 platform. In uses of these conditionals, explicitly spell out how
6625 _LIBC affects things, so it’s easier to review from a glibc
6627 (WRAPV): Remove; no longer needed now that we have
6628 systematic overflow checking.
6629 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6630 compartmentalize tzset issues. Move system-dependent tzsettish
6631 code here from mktime.
6632 (verify): Remove; now done by verify.h. All uses changed.
6633 (long_int): Use a more-conservative definition, to avoid
6635 (SHR): Remove, replacing with ...
6636 (shr): New function, which means we needn’t worry about side
6637 effects in args, and conversion analysis is simpler.
6638 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6639 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6640 (time_t_avg, time_t_add_ok): Remove.
6641 (mktime_min, mktime_max): New constants.
6642 (leapyear, isdst_differ): Use bool for booleans.
6643 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6644 Use long_int, not time_t, for mktime differences.
6645 (long_int_avg): New function, replacing time_t_avg.
6646 INT_ADD_WRAPV replaces time_t_add_ok.
6647 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6649 (convert_time): New function.
6650 (ranged_convert): Use it.
6651 (__mktime_internal): Last arg now points to mktime_offset_t, not
6652 time_t. All uses changed. This is a no-op on glibc, where
6653 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6654 offset guess. Directly check for integer overflow instead of
6655 using a heuristic that works only 99.9...% of the time.
6656 Access *OFFSET only once, to avoid an unlikely race if the
6657 compiler delays a load and if this cascades into a signed integer
6659 (mktime): Move tzsettish code to my_tzset, and move
6660 localtime_offset to within mktime so that it doesn’t
6661 need a separate ifdef.
6662 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6663 instead of localtime.
6664 * time/timegm.c: Copy from Gnulib. This has the following changes:
6665 Include mktime-internal.h.
6666 [!_LIBC]: Include config.h and time.h. Do not include
6667 timegm.h or time_r.h. Make __mktime_internal a macro,
6668 and include mktime-internal.h to get its declaration.
6669 (timegm): Temporary is now mktime_offset_t, not time_t.
6670 This affects only Gnulib.
6672 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6675 * string/test-strstr.c (pr23637): New function.
6676 (test_main): Add tests with longer needles.
6677 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6678 * string/strstr.c (AVAILABLE): Likewise.
6680 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6682 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6684 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6686 * NEWS: Mention pow improvements.
6687 * math/Makefile (type-double-routines): Add e_pow_log_data.
6688 * sysdeps/generic/math_private.h (__exp1): Remove.
6689 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6690 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6691 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6693 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6694 (exp_inline): Remove.
6695 (__ieee754_exp): Only single double input is handled.
6696 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6697 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6698 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6699 (__pow_log_data): Define.
6700 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6701 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6702 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6705 (CFLAGS-e_pow-fma4.c): Likewise.
6707 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6709 Simplify tzfile fstat failure code
6711 * time/tzfile.c (__tzfile_read): Simplify slightly.
6713 Fix tzfile low-memory assertion failure
6715 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6716 when registering time zone abbreviations.
6718 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6720 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6721 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6722 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6723 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6724 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6725 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6726 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6728 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6732 (__ceill): Call ceil instead of __ceil.
6733 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6735 (__floorl): Call floor instead of __floor.
6737 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6739 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6740 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6741 using MATH_REDIRECT.
6742 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6744 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6747 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6748 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6751 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6756 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6757 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6760 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6761 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6762 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6764 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6765 functions instead of __ceil variants.
6766 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6771 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6772 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6774 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6775 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6778 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6780 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6781 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6782 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6783 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6784 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6785 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6786 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6787 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6788 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6789 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6790 (ILL_BADIADDR): Remove constant.
6791 (TRAP_BRANCH): Likewise.
6792 (TRAP_HWBKPT): Likewise.
6794 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6797 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6798 Remove [_MIPS_SIM = _ABIN32] conditional case.
6799 (struct elf_prpsinfo): Likewise.
6802 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6803 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6804 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6806 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6807 elf_prpsinfo): Likewise.
6808 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6809 elf_prpsinfo): Likewise.
6810 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6813 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6814 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6815 using MATH_REDIRECT.
6816 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6818 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6819 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6820 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6821 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6824 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6825 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6828 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6829 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6830 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6831 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6832 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6833 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6834 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6835 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6836 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6843 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6844 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6846 * math/e_scalbf.c (invalid_fn): Likewise.
6847 * math/e_scalbl.c (invalid_fn): Likewise.
6848 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6850 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6852 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6853 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6854 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6856 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6860 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6861 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6863 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6864 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6866 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6867 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6868 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6869 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6870 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6871 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6872 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6873 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6874 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6875 && !NO_MATH_REDIRECT] (floor): Likewise.
6876 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6878 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6881 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6885 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6890 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6891 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6896 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6898 [_ARCH_PWR5X] (__floorf): Likewise.
6899 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6901 [__SSE4_1__] (__floorf): Likewise.
6902 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6903 instead of __floor variants.
6904 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6905 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6906 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6907 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6908 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6909 * math/w_tgamma_compat.c (__tgamma): Likewise.
6910 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6911 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6912 * math/w_tgammal_compat.c (__tgammal): Likewise.
6913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6916 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6918 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6921 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6922 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6924 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6930 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6932 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6933 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6934 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6935 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6937 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6939 * elf/Makefile (modules-names-tests): New variable.
6941 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6943 * NEWS: Mention log2 improvements.
6944 * math/Makefile (type-double-routines): Add e_log2_data.
6945 * sysdeps/i386/fpu/e_log2_data.c: New file.
6946 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6947 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6948 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6949 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6951 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6953 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6955 * NEWS: Mention log improvement.
6956 * math/Makefile (type-double-routines): Add e_log_data.
6957 * sysdeps/i386/fpu/e_log_data.c: New file.
6958 * sysdeps/ia64/fpu/e_log_data.c: New file.
6959 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6960 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6961 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6962 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6963 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6964 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6966 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6967 Xuepeng Guo <xuepeng.guo@intel.com>
6970 * sysdeps/i386/start.S: Include <sysdep.h>
6971 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6972 enabled. Add cfi_undefined (eip).
6974 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6978 (EXTRACT_WORDS64): Likewise.
6979 (INSERT_WORDS64): Likewise.
6980 (GET_FLOAT_WORD): Likewise.
6981 (SET_FLOAT_WORD): Likewise.
6983 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6985 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6986 build, but not for second build if --full-gcc. Use
6987 --enable-languages=all for second build if --full-gcc.
6988 (get_parser): Add --full-gcc option.
6989 (main): Update call to Context.
6991 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6994 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6995 Single Quotation Mark).
6996 (thousands_sep): Likewise.
6997 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6998 * localedata/locales/it_IT (thousands_sep): Use ".".
6999 (grouping): Use "3;3".
7001 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7003 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7004 x86_64 and i686 configs using --enable-obsolete-rpc
7005 --enable-obsolete-nsl.
7007 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7009 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7011 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7013 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7014 Increment size of new_argv by one.
7016 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7019 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7020 * localedata/locales/ar_IN (d_fmt): Likewise.
7021 * localedata/locales/bhb_IN (d_fmt): Likewise.
7022 * localedata/locales/bho_IN (d_fmt): Likewise.
7023 * localedata/locales/bn_BD (d_fmt): Likewise.
7024 * localedata/locales/bn_IN (d_fmt): Likewise.
7025 * localedata/locales/doi_IN (d_fmt): Likewise.
7026 * localedata/locales/gu_IN (d_fmt): Likewise.
7027 * localedata/locales/hi_IN (d_fmt): Likewise.
7028 * localedata/locales/hne_IN (d_fmt): Likewise.
7029 * localedata/locales/kn_IN (d_fmt): Likewise.
7030 * localedata/locales/mag_IN (d_fmt): Likewise.
7031 * localedata/locales/mai_IN (d_fmt): Likewise.
7032 * localedata/locales/mjw_IN (d_fmt): Likewise.
7033 * localedata/locales/ml_IN (d_fmt): Likewise.
7034 * localedata/locales/mni_IN (d_fmt): Likewise.
7035 * localedata/locales/mr_IN (d_fmt): Likewise.
7036 * localedata/locales/pa_IN (d_fmt): Likewise.
7037 * localedata/locales/raj_IN (d_fmt): Likewise.
7038 * localedata/locales/sat_IN (d_fmt): Likewise.
7039 * localedata/locales/sd_IN (d_fmt): Likewise.
7040 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7041 * localedata/locales/ta_IN (d_fmt): Likewise.
7042 * localedata/locales/ta_LK (d_fmt): Likewise.
7043 * localedata/locales/tcy_IN (d_fmt): Likewise.
7044 * localedata/locales/ur_IN (d_fmt): Likewise.
7046 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7047 * localedata/locales/ks_IN (d_fmt): Likewise.
7048 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7050 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7051 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7052 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7053 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7055 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7057 * NEWS: Mention exp and exp2 improvements.
7058 * math/Makefile (libm-support): Remove t_exp.
7059 (type-double-routines): Add math_err and e_exp_data.
7060 * sysdeps/aarch64/libm-test-ulps: Update.
7061 * sysdeps/arm/libm-test-ulps: Update.
7062 * sysdeps/i386/fpu/e_exp_data.c: New file.
7063 * sysdeps/i386/fpu/math_err.c: New file.
7064 * sysdeps/i386/fpu/t_exp.c: Remove.
7065 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7066 * sysdeps/ia64/fpu/math_err.c: New file.
7067 * sysdeps/ia64/fpu/t_exp.c: Remove.
7068 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7069 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7070 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7072 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7073 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7074 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7075 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7076 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7077 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7078 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7079 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7080 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7081 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7085 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7087 * sysdeps/alpha/fpu/math_private.h: Remove.
7089 * sysdeps/generic/math_private.h
7090 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7091 Move this inline function ....
7092 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7093 * include/math.h [!_ISOMAC]: To here....
7095 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7097 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7099 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7100 * include/fenv.h [!_ISOMAC]: ... to here.
7101 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7102 (feraiseexcept): Likewise.
7103 * math/fromfp.h: Do not include <fenv_private.h>.
7104 * math/s_cexp_template.c: Likewise.
7105 * math/s_csin_template.c: Likewise.
7106 * math/s_csinh_template.c: Likewise.
7107 * math/s_ctan_template.c: Likewise.
7108 * math/s_ctanh_template.c: Likewise.
7109 * math/s_iseqsig_template.c: Likewise.
7110 * math/w_acos_compat.c: Likewise.
7111 * math/w_acosf_compat.c: Likewise.
7112 * math/w_acosl_compat.c: Likewise.
7113 * math/w_asin_compat.c: Likewise.
7114 * math/w_asinf_compat.c: Likewise.
7115 * math/w_asinl_compat.c: Likewise.
7116 * math/w_j0_compat.c: Likewise.
7117 * math/w_j0f_compat.c: Likewise.
7118 * math/w_j0l_compat.c: Likewise.
7119 * math/w_j1_compat.c: Likewise.
7120 * math/w_j1f_compat.c: Likewise.
7121 * math/w_j1l_compat.c: Likewise.
7122 * math/w_jn_compat.c: Likewise.
7123 * math/w_jnf_compat.c: Likewise.
7124 * math/w_log10_compat.c: Likewise.
7125 * math/w_log10f_compat.c: Likewise.
7126 * math/w_log10l_compat.c: Likewise.
7127 * math/w_log2_compat.c: Likewise.
7128 * math/w_log2f_compat.c: Likewise.
7129 * math/w_log2l_compat.c: Likewise.
7130 * math/w_log_compat.c: Likewise.
7131 * math/w_logf_compat.c: Likewise.
7132 * math/w_logl_compat.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7139 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7140 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7141 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7142 * sysdeps/ieee754/k_standardl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7160 * math/w_ilogb_template.c: Include <fenv.h> instead of
7162 * math/w_llogb_template.c: Likewise.
7163 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7164 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7166 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7168 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7169 * math/fromfp.h: Include <fenv_private.h>.
7170 * math/math-narrow.h: Likewise.
7171 * math/s_cexp_template.c: Likewise.
7172 * math/s_csin_template.c: Likewise.
7173 * math/s_csinh_template.c: Likewise.
7174 * math/s_ctan_template.c: Likewise.
7175 * math/s_ctanh_template.c: Likewise.
7176 * math/s_iseqsig_template.c: Likewise.
7177 * math/w_acos_compat.c: Likewise.
7178 * math/w_acosf_compat.c: Likewise.
7179 * math/w_acosl_compat.c: Likewise.
7180 * math/w_asin_compat.c: Likewise.
7181 * math/w_asinf_compat.c: Likewise.
7182 * math/w_asinl_compat.c: Likewise.
7183 * math/w_ilogb_template.c: Likewise.
7184 * math/w_j0_compat.c: Likewise.
7185 * math/w_j0f_compat.c: Likewise.
7186 * math/w_j0l_compat.c: Likewise.
7187 * math/w_j1_compat.c: Likewise.
7188 * math/w_j1f_compat.c: Likewise.
7189 * math/w_j1l_compat.c: Likewise.
7190 * math/w_jn_compat.c: Likewise.
7191 * math/w_jnf_compat.c: Likewise.
7192 * math/w_llogb_template.c: Likewise.
7193 * math/w_log10_compat.c: Likewise.
7194 * math/w_log10f_compat.c: Likewise.
7195 * math/w_log10l_compat.c: Likewise.
7196 * math/w_log2_compat.c: Likewise.
7197 * math/w_log2f_compat.c: Likewise.
7198 * math/w_log2l_compat.c: Likewise.
7199 * math/w_log_compat.c: Likewise.
7200 * math/w_logf_compat.c: Likewise.
7201 * math/w_logl_compat.c: Likewise.
7202 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7203 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7204 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7205 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7210 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7212 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7230 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7231 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7232 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7233 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7234 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7240 * sysdeps/ieee754/k_standardl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7277 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7278 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7279 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7280 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7281 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7282 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7283 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7284 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7285 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7286 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7287 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7288 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7289 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7290 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7291 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7292 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7293 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7294 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7295 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7296 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7297 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7298 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7299 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7300 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7301 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7302 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7303 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7304 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7305 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7306 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7307 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7308 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7309 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7310 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7311 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7313 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7316 * include/stdio.h (__libc_fatal): Mention newline in comment.
7317 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7318 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7319 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7320 * nss/nsswitch.c (__nss_next2): Likewise.
7321 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7322 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7323 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7324 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7325 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7326 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7327 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7328 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7329 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7330 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7331 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7332 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7333 (__netlink_assert_response): Likewise.
7335 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7337 * conform/glibcconform.py: New file.
7338 * conform/list-header-symbols.py: Likewise.
7339 * conform/list-header-symbols.pl: Remove.
7340 * conform/Makefile (tests-special): Only add linknamespace tests
7342 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7344 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7347 * support/Makefile (libsupport-routines): Add
7348 support_copy_file_range and xcopy_file_range.
7349 * support/support.h: Include <sys/types.h>.
7350 (support_copy_file_range): New prototype.
7351 * support/support_copy_file_range.c: New file. Copied and
7352 modified from io/copy_file_range-compat.c.
7353 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7354 instead of copy_file_range.
7355 * support/xcopy_file_range.c: New file.
7356 * support/xunistd.h (xcopy_file_range): New prototype.
7358 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7360 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7361 xpthread_create and xpthread_join.
7363 2018-08-30 Florian Weimer <fweimer@redhat.com>
7365 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7367 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7369 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7372 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7374 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7375 and minus_oflow as non-finite.
7377 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7380 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7381 moved to fenv_private.h except for ...
7382 (TOINT_INTRINSICS): Kept in math_private.h.
7383 (roundtoint): Likewise.
7384 (converttoint): Likewise.
7385 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7386 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7387 * sysdeps/arm/math_private.h: Remove.
7388 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7390 * sysdeps/generic/math_private.h: ... this file. Include
7391 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7392 Include <fenv_private.h>. Remove functions and macros moved to
7394 * sysdeps/i386/fpu/math_private.h: Remove.
7395 * sysdeps/mips/math_private.h: Move to ....
7396 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7397 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7398 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7399 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7400 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7401 * sysdeps/powerpc/fpu/math_private.h: Do not include
7403 * sysdeps/riscv/rvf/math_private.h: Move to ....
7404 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7405 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7407 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7408 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7409 * sysdeps/sparc/fpu/math_private.h: Remove.
7410 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7411 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7412 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7414 * sysdeps/x86_64/fpu/math_private.h: Do not include
7415 <sysdeps/i386/fpu/fenv_private.h>.
7417 2018-08-28 Florian Weimer <fweimer@redhat.com>
7420 * posix/tst-regcomp-truncated.c: New file.
7421 * posix/Makefile (tests): Add it.
7422 (tst-regcomp-truncated.out): Depend on generated locales.
7424 2018-08-28 Florian Weimer <fweimer@redhat.com>
7426 * support/test-container.c (main): Treat unshare failure with
7427 EPERM as an unsupported test.
7429 2018-08-28 Florian Weimer <fweimer@redhat.com>
7432 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7433 * nscd/netgroupcache.c
7434 (addgetnetgrentX): Add tofreep parameter. Do not free
7435 heap-allocated buffer.
7436 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7437 (addgetnetgrentX_ignore): New function.
7438 (addgetnetgrent): Call it.
7439 (readdgetnetgrent): Likewise.
7441 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7443 * string/memmem.c: Use memcmp for first match.
7445 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7448 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7450 2018-08-27 DJ Delorie <dj@redhat.com>
7452 * support/Makefile (others): Don't list programs explicitly as a
7453 dependency of "others".
7455 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7457 * sysdeps/generic/math-tests-trap-force.h: New file.
7458 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7459 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7460 * sysdeps/powerpc/math-tests.h: Remove file.
7461 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7463 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7464 Torvald Riegel <triegel@redhat.com>
7467 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7468 Update r to include the set wake-request flag if waiters are
7469 remaining after spinning.
7471 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7473 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7475 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7478 regex: fix uninitialized memory access
7479 I introduced this bug into gnulib in commit
7480 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7481 eventually it was merged into glibc. The bug was found by
7482 project-repo <bugs@feusi.co> and reported here:
7483 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7484 Diagnosis and draft fix reported by Assaf Gordon here:
7485 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7486 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7487 * posix/regex_internal.c (build_wcs_upper_buffer):
7488 Fix bug when mbrtowc returns 0.
7490 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7492 * po/be.po: Update translation.
7494 2018-08-24 DJ Delorie <dj@delorie.com>
7496 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7499 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7502 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7503 create temporary files in source tree.
7505 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7507 * sysdeps/generic/math-tests-trap.h: New file.
7508 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7509 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7510 * sysdeps/aarch64/math-tests.h: Remove file.
7511 * sysdeps/arm/math-tests.h: Likewise.
7512 * sysdeps/riscv/math-tests.h: Likewise.
7513 * sysdeps/aarch64/math-tests-trap.h: New file.
7514 * sysdeps/arm/math-tests-trap.h: Likewise.
7515 * sysdeps/riscv/math-tests-trap.h: Likewise.
7517 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7519 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7520 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7521 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7522 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7523 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7524 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7525 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7532 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7533 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7534 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7535 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7536 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7538 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7540 * sysdeps/generic/math-tests-exceptions.h: New file.
7541 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7542 (EXCEPTION_TESTS_float): Do not define here.
7543 (EXCEPTION_TESTS_double): Likewise.
7544 (EXCEPTION_TESTS_long_double): Likewise.
7545 (EXCEPTION_TESTS_float128): Likewise.
7546 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7548 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7549 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7550 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7551 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7552 * sysdeps/mips/math-tests.h: Likewise.
7553 * sysdeps/nios2/math-tests.h: Likewise.
7554 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7555 (EXCEPTION_TESTS_float): Do not define here.
7556 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7557 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7558 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7560 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7562 * NEWS: Move optimized sinf entry to 2.29.
7564 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7566 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7568 2018-08-22 DJ Delorie <dj@redhat.com>
7570 * Makefile (testroot.pristine): New rules to initialize the
7571 test-in-container "testroot".
7572 * Makerules (all-testsuite): Add tests-container.
7573 * Rules (tests-expected): Add tests-container.
7574 (binaries-all-tests): Likewise.
7575 (tests-container): New, run these tests in the testroot container.
7576 * support/Makefile (others): Add *-container, support_paths.c,
7577 xmkdirp, and links-dso-program.
7578 * support/links-dso-program-c.c: New.
7579 * support/links-dso-program.cc: New.
7580 * support/test-container.c: New.
7581 * support/shell-container.c: New.
7582 * support/echo-container.c: New.
7583 * support/true-container.c: New.
7584 * support/xmkdirp.c: New.
7585 * support/xsymlink.c: New.
7586 * support/support_paths.c: New.
7587 * support/support.h: Add support paths prototypes.
7588 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7590 * nss/tst-nss-test3.c: Convert to test-in-container.
7591 * nss/tst-nss-test3.root/: New.
7593 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7595 regex: port Gnulib code to z/OS POSIX environment
7596 Problem reported by Arnold Robbins in:
7597 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7598 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7601 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7603 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7604 (ROUNDING_TESTS_double): Remove.
7605 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7606 (ROUNDING_TESTS_double): Remove.
7607 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7608 (ROUNDING_TESTS_double): Remove.
7609 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7610 (ROUNDING_TESTS_float): Remove.
7611 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7612 (ROUNDING_TESTS_float): Remove.
7613 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7614 (ROUNDING_TESTS_float): Remove.
7615 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7617 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7618 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7620 * sysdeps/generic/math-tests-rounding.h: New file.
7621 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7622 (ROUNDING_TESTS_float): Do not define here.
7623 (ROUNDING_TESTS_double): Likewise.
7624 (ROUNDING_TESTS_long_double): Likewise.
7625 (ROUNDING_TESTS_float128): Likewise.
7626 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7627 (ROUNDING_TESTS_double): Undefine before defining.
7628 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7629 (ROUNDING_TESTS_double): Undefine before defining.
7630 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7631 (ROUNDING_TESTS_double): Undefine before defining.
7632 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7633 (ROUNDING_TESTS_float): Undefine before defining.
7634 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7635 (ROUNDING_TESTS_float): Undefine before defining.
7636 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7637 (ROUNDING_TESTS_float): Undefine before defining.
7638 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7639 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7641 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7642 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7643 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7644 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7645 (ROUNDING_TESTS_float): Do not define here.
7646 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7647 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7648 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7649 (ROUNDING_TESTS_float): Likewise.
7650 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7651 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7652 * sysdeps/mips/math-tests.h [__mips_soft_float]
7653 (ROUNDING_TESTS_float): Likewise.
7654 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7655 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7656 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7657 (ROUNDING_TESTS_double): Likewise.
7658 (ROUNDING_TESTS_long_double): Likewise.
7660 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7662 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7663 (PF_XDP): New macro.
7664 (AF_XDP): New macro.
7665 (SOL_XDP): New macro.
7667 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7669 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7670 (TCP_INQ): Likewise.
7671 (TCP_CM_INQ): Likewise.
7672 (TCP_REPAIR_ON): Likewise.
7673 (TCP_REPAIR_OFF): Likewise.
7674 (TCP_REPAIR_OFF_NO_WP): Likewise.
7675 (struct tcp_zerocopy_receive): New type.
7677 2018-08-21 Florian Weimer <fweimer@redhat.com>
7679 * support/support.h (support_descriptor_supports_holes): Declare.
7680 * support/Makefile (libsupport-routines): Add
7681 support_descriptor_supports_holes.
7682 * support/support_descriptor_supports_holes.c: New file.
7683 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7684 and stop testing if holes are not supported.
7685 * io/test-lfs.c (do_prepare): Likewise.
7686 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7688 * timezone/tst-tzset.c (create_tz_file): Likewise.
7689 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7691 (do_prepare): Set it.
7692 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7694 2018-08-21 Florian Weimer <fweimer@redhat.com>
7697 * Makeconfig (+cflags): Do not sort (and deduplicate).
7699 2018-08-21 Florian Weimer <fweimer@redhat.com>
7701 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7702 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7704 2018-08-20 Florian Weimer <fweimer@redhat.com>
7706 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7707 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7709 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7711 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7712 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7713 and ssi_arch members.
7715 * elf/elf.c (NT_VMCOREDD): New macro.
7716 (AT_MINSIGSTKSZ): Likewise.
7718 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7721 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7722 s_cosf-ppc64 and s_cosf-power8.
7723 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7724 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7725 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7726 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7733 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7734 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7736 2018-08-17 Florian Weimer <fweimer@redhat.com>
7738 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7740 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7742 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7744 2018-08-16 Florian Weimer <fweimer@redhat.com>
7746 * configure.ac: Add --with-nonshared-cflags option.
7747 * config.make.in (extra-nonshared-cflags): Set variable.
7748 * Makeconfig (CFLAGS-.oS): Use it.
7749 * manual/install.texi (Configuring and compiling): Document
7750 --with-nonshared-cflags.
7751 * configure: Regenerate.
7752 * INSTALL: Likewise.
7754 2018-08-16 Florian Weimer <fweimer@redhat.com>
7756 * Makeconfig (ASFLAGS): Always append required assembler flags.
7758 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7760 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7761 (malloc_consolidate): Likewise.
7763 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7765 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7767 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7769 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7772 * benchtests/bench-strlen.c: Print performance numbers in json.
7774 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7776 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7777 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7778 only for little endian.
7779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7780 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7781 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7782 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7783 Add check for little endian.
7784 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7785 (__strcmp_power9): Add check for little endian.
7786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7787 Add check for little endian.
7788 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7789 (__strncmp_power9): Add check for little endian.
7790 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7791 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7792 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7793 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7794 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7796 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7798 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7799 [!STRLEN](STRLEN): Set to __strlen.
7800 * sysdeps/aarch64/multiarch/strlen.c: New file.
7801 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7802 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7803 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7804 (__libc_ifunc_impl_list): Add strlen.
7805 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7806 strlen_generic and strlen_asimd.
7808 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7810 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7811 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7812 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7814 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7818 2018-08-14 Florian Weimer <fweimer@redhat.com>
7821 * include/stdio.h (__vfxprintf): Declare.
7822 * stdio-common/fxprintf.c (__vfxprintf): New function.
7823 (__fxprintf): Call it.
7824 * misc/err.c (convert_and_print): Remove function.
7825 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7826 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7827 * misc/Makefile (tests): Add tst-warn-wide.
7828 * misc/tst-warn-wide.c: New file.
7830 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7831 Szabolcs Nagy <szabolcs.nagy@arm.com>
7833 * NEWS: Mention sinf, cosf, sincosf.
7834 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7835 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7836 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7837 constants rather than including generic sincosf.h.
7838 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7839 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7840 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7841 (reduced_cos): Remove.
7842 (sinf_poly): New function.
7843 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7845 2018-08-14 Florian Weimer <fweimer@redhat.com>
7849 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7850 processing, bail out if no room, and close the stream before
7852 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7853 (tst-nss-files-alias-leak): Link with libdl.
7854 (tst-nss-files-alias-leak.out): Depend on nss_files.
7856 * nss/tst-nss-files-alias-leak.c: New file.
7858 2018-08-14 Florian Weimer <fweimer@redhat.com>
7860 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7861 server_user, stat_user.
7863 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7865 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7867 (io_pgetevents): New syscall.
7870 * manual/install.texi (Configuring and compiling): Do not list
7871 tools used for testing pretty printers here.
7872 (Tools for Compilation): List Python, PExpect and GDB here.
7873 Update descriptions of uses of Perl and Python.
7874 * INSTALL: Regenerate.
7876 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7879 2018-08-13 Florian Weimer <fweimer@redhat.com>
7881 * misc/error.c (error): Add missing va_end call.
7882 (error_at_line): Likewise.
7884 2018-08-13 Florian Weimer <fweimer@redhat.com>
7886 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7888 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7890 * benchtests/scripts/benchout.schema.json (properties): Add
7893 * benchtests/bench-skeleton.c (main): Add duration and
7894 iterations attributes.
7896 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7898 regex: Gnulib unibyte RRI uses bytes not chars
7899 Adjust the non-glibc code to agree with what Gawk needs for
7900 rational range interpretation (RRI) for regular expression ranges.
7901 In unibyte locales, Gawk wants ranges to use the underlying byte
7902 rather than the character code point. This change does not affect
7904 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7905 In unibyte locales, use the byte value rather than
7906 running it through btowc.
7908 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7910 * sysdeps/generic/math-tests-snan.h: New file.
7911 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7912 (SNAN_TESTS_float): Do not define here.
7913 (SNAN_TESTS_double): Likewise.
7914 (SNAN_TESTS_long_double): Likewise.
7915 (SNAN_TESTS_float128): Likewise.
7916 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7917 * sysdeps/i386/fpu/math-tests.h: Remove file.
7918 * sysdeps/ia64/math-tests-snan.h: New file.
7919 * sysdeps/ia64/math-tests.h: Remove file.
7920 * sysdeps/x86/math-tests.h: Likewise.
7921 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7923 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7924 Szabolcs Nagy <szabolcs.nagy@arm.com>
7926 * math/Makefile: Add s_sincosf_data.c.
7927 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7928 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7929 (sincosf_poly): Likewise.
7930 (reduce_small): Likewise.
7931 (reduce_large): Likewise.
7932 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7933 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7934 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7935 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7937 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7938 Szabolcs Nagy <szabolcs.nagy@arm.com>
7940 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7941 (converttoint): Use lround.
7942 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7943 document the semantics when TOINT_INTRINSICS is set.
7944 (converttoint): Likewise.
7945 (TOINT_RINT): Remove.
7946 (TOINT_SHIFT): Remove.
7947 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7950 2018-08-10 Florian Weimer <fweimer@redhat.com>
7953 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7955 (__old_getdents64): Use getdents64. Convert entries without
7957 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7958 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7959 tst-readdir64-compat.
7961 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7963 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7966 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7968 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7969 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7970 code to s390x-mcount.h and #include it.
7971 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7972 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7975 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7977 * stdlib/Versions: Remove __fentry__.
7978 * sysdeps/i386/Versions: Add __fentry__.
7979 * sysdeps/x86_64/Versions: Add __fentry__.
7981 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7983 * sysdeps/s390/Makefile: Register the new tests.
7984 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7985 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7986 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7987 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7988 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7989 * sysdeps/s390/tst-dl-runtime.c: New file.
7991 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7993 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7996 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7998 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8001 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8003 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8006 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8008 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8011 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8013 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8014 Use symbolic offsets for stack variables.
8016 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8018 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8019 Use symbolic offsets for stack variables.
8021 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8023 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8024 Use symbolic offsets for stack variables.
8026 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8028 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8029 Use symbolic offsets for stack variables.
8031 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8033 * math/gen-libm-test.py: New file.
8034 * math/gen-libm-test.pl: Remove.
8035 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8036 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8038 ($(libm-test-c-noauto-obj)): Likewise.
8039 ($(libm-test-c-auto-obj)): Likewise.
8040 ($(libm-test-c-narrow-obj)): Likewise.
8041 (regen-ulps): Likewise.
8042 * math/README.libm-test: Update references to gen-libm-test.pl.
8043 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8044 referencing gen-libm-test.pl.
8045 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8046 * math/libm-test-support.c: Likewise.
8047 * math/libm-test-support.h: Likewise.
8048 * sysdeps/generic/libm-test-ulps: Likewise.
8050 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8052 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8055 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8057 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8058 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8060 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8062 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8064 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8065 __pthread_setspecific): Add hidden proto.
8066 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8067 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8069 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8071 * benchtests/bench-string.h (buf1_size, buf2_size): New
8073 (init_sizes): New function.
8074 (test_init): Use it.
8075 (alloc_buf, exit_error): New functions.
8076 (alloc_bufs): Use ALLOC_BUF.
8077 (realloc_bufs): Remove.
8078 * benchtests/bench-memcmp.c (do_test): Adjust.
8079 * benchtests/bench-memset-large.c (do_test): Likewise.
8080 * benchtests/bench-memset-walk.c (do_test): Likewise.
8081 * benchtests/bench-memset.c (do_test): Likewise.
8082 * benchtests/bench-strncmp.c (do_test): Likewise.
8084 2018-08-06 Andreas Schwab <schwab@suse.de>
8086 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8087 of CONST_THREAD_AREA.
8089 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8091 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8092 (STATE_SAVE_MASK): Likewise.
8093 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8094 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8095 (STATE_SAVE_MASK): Likewise.
8096 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8097 instead of <cpu-features.h>.
8099 2018-08-03 DJ Delorie <dj@redhat.com>
8101 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8102 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8104 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8106 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8108 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8110 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8111 * math/libm-test-logb.inc (logb_test_data): Likewise.
8113 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8115 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8116 * string/strstr.c (AVAILABLE): Likewise.
8118 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8120 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8123 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8124 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8126 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8128 * po/be.po: Update translation.
8130 * po/be.po: Update translation.
8132 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8134 * sysdeps/x86/cpu-features-offsets.sym
8135 (rtld_global_ro_offsetof): Removed.
8136 (CPU_FEATURES_SIZE): Likewise.
8137 (CPUID_OFFSET): Likewise.
8138 (CPUID_SIZE): Likewise.
8139 (CPUID_EAX_OFFSET): Likewise.
8140 (CPUID_EBX_OFFSET): Likewise.
8141 (CPUID_ECX_OFFSET): Likewise.
8142 (CPUID_EDX_OFFSET): Likewise.
8143 (FAMILY_OFFSET): Likewise.
8144 (MODEL_OFFSET): Likewise.
8145 (FEATURE_OFFSET): Likewise.
8146 (FEATURE_SIZ): Likewise.
8147 (COMMON_CPUID_INDEX_1): Likewise.
8148 (COMMON_CPUID_INDEX_7): Likewise.
8149 (FEATURE_INDEX_1): Likewise.
8150 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8152 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8154 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8155 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8156 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8157 (install-locales): Depend on install-locale-archive.
8158 (install-locale-archive): Define.
8159 (install-locale-files): Define.
8160 (build-one-locale): Define macro.
8161 * manual/install.texi (Running make install): Document.
8162 * manual/INSTALL: Regenerate.
8164 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8166 * benchtests/scripts/compare_strings.py: Import traceback.
8167 (parse_file): Pretty-print error.
8169 * NEWS: Mention the change.
8170 * elf/dl-tunables.list: Rename tune namespace to cpu.
8171 * sysdeps/powerpc/dl-tunables.list: Likewise.
8172 * sysdeps/x86/dl-tunables.list: Likewise.
8173 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8176 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8177 * manual/README.tunables: Likewise.
8178 * manual/tunables.texi: Likewise.
8179 * sysdeps/powerpc/cpu-features.c: Likewise.
8180 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8181 (init_cpu_features): Likewise.
8182 * sysdeps/x86/cpu-features.c: Likewise.
8183 * sysdeps/x86/cpu-features.h: Likewise.
8184 * sysdeps/x86/cpu-tunables.c: Likewise.
8185 * sysdeps/x86_64/Makefile: Likewise.
8186 * sysdeps/x86/dl-cet.c: Likewise.
8188 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8191 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8192 [__mips_hard_float].
8193 (FE_UNDERFLOW): Likewise.
8194 (FE_OVERFLOW): Likewise.
8195 (FE_DIVBYZERO): Likewise.
8196 (FE_INVALID): Likewise.
8197 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8198 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8199 (FE_UPWARD): Likewise.
8200 (FE_DOWNWARD): Likewise.
8201 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8202 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8203 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8204 [__mips_hard_float].
8205 (FP_ROUNDMODE): Likewise.
8206 (FP_RND_NEAREST): Likewise.
8207 (FP_RND_ZERO): Likewise.
8208 (FP_RND_PINF): Likewise.
8209 (FP_RND_MINF): Likewise.
8210 (FP_EX_INVALID): Likewise.
8211 (FP_EX_OVERFLOW): Likewise.
8212 (FP_EX_UNDERFLOW): Likewise.
8213 (FP_EX_DIVZERO): Likewise.
8214 (FP_EX_INEXACT): Likewise.
8215 (FP_INIT_ROUNDMODE): Likewise.
8216 * sysdeps/mips/nofpu/fesetenv.c: New file.
8217 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8219 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8221 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8222 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8223 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8224 conditional on [FE_UPWARD].
8226 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8228 regex: fix memory leak in Gnulib
8229 Problem and fix reported by Assaf Gordon in:
8230 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8231 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8232 range_ends members too, as they are defined in 'struct
8233 re_charset_t' even if not _LIBC. This affects only Gnulib.
8235 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8237 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8239 (get_common_indices): This.
8240 (init_cpu_features): Updated.
8242 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8244 * sysdeps/generic/math-tests-snan-payload.h: New file.
8245 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8246 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8247 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8248 * sysdeps/generic/math-tests.h: Include
8249 <math-tests-snan-payload.h>.
8250 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8251 * sysdeps/hppa/math-tests.h: Remove file.
8252 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8253 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8254 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8257 * sysdeps/generic/math-tests-snan-cast.h: New file.
8258 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8259 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8260 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8261 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8263 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8265 * version.h (RELEASE): Set to "development".
8266 (VERSION): Set to "2.28.9000".
8267 * NEWS (2.29): New section.
8269 * version.h (RELEASE): Set to "stable".
8270 (VERSION): Set to "2.28".
8271 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8272 * NEWS: Add the list of bugs fixed in 2.28.
8274 * po/ca.po: Update to latest version.
8275 * po/cs.po: Likewise
8276 * po/da.po: Likewise
8277 * po/el.po: Likewise
8278 * po/eo.po: Likewise
8279 * po/es.po: Likewise
8280 * po/fi.po: Likewise
8281 * po/fr.po: Likewise
8282 * po/gl.po: Likewise
8283 * po/hu.po: Likewise
8284 * po/ia.po: Likewise
8285 * po/id.po: Likewise
8286 * po/it.po: Likewise
8287 * po/ja.po: Likewise
8288 * po/ko.po: Likewise
8289 * po/lt.po: Likewise
8290 * po/nb.po: Likewise
8291 * po/nl.po: Likewise
8292 * po/pt_BR.po: Likewise
8293 * po/ru.po: Likewise
8294 * po/rw.po: Likewise
8295 * po/sk.po: Likewise
8296 * po/sl.po: Likewise
8297 * po/tr.po: Likewise
8298 * po/zh_CN.po: Likewise
8299 * po/zh_TW.po: Likewise
8301 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8303 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8305 (init): ... before initializing libpthread.
8307 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8308 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8309 (__mach_setup_tls): ... new function.
8310 (mach_setup_tls): New alias.
8311 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8312 __mach_setup_thread.
8313 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8314 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8315 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8316 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8318 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8320 * manual/install.texi: Update versions.
8321 * INSTALL: Regenerate.
8323 * manual/contrib.texi (Contributors): Update contributions.
8325 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8327 * po/be.po: Update translations.
8329 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8331 * sysdeps/sh/libm-test-ulps: Update.
8333 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8335 * po/bg.po: Update translations.
8336 * po/de.po: Likewise.
8337 * po/hr.po: Likewise.
8338 * po/pt_BR.po: Likewise.
8339 * po/sv.po: Likewise.
8340 * po/vi.po: Likewise.
8342 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8345 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8346 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8347 (CFLAGS-tst-cet-property-1.o): New.
8348 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8349 ($(objpfx)tst-cet-property-2): Likewise.
8350 ($(objpfx)tst-cet-property-2.out): Likewise.
8351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8352 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8353 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8354 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8355 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8357 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8360 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8362 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8364 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8365 __sbrk): Do not set attribute_hidden.
8366 * sysdeps/mach/hurd/not-errno.h: New file.
8367 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8368 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8370 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8372 * po/uk.po: Update translations.
8373 * po/cs.po: Likewise.
8374 * po/pl.po: Likewise.
8376 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8379 parse beyond the note end.
8381 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8383 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8384 kernel does not support OFD locks.
8385 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8387 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8389 * sysdeps/mach/hurd/Versions (libc): Make __access and
8390 __access_noerrno external so they can override the ld symbols.
8391 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8392 __writev, __open64, __access_noerrno extern so they can be overrided.
8393 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8394 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8396 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8398 * po/libc.pot: Regenerate.
8400 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8402 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8404 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8407 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8409 (init_cpu_features): Call get_extended_indices for both Intel
8411 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8412 Remove "for AMD" comment.
8414 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8417 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8418 COMMON_CPUID_INDEX_80000001.
8420 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8422 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8423 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8425 2018-07-26 Florian Weimer <fweimer@redhat.com>
8427 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8428 aliases for symbols not in the implementation namespace.
8430 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8433 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8434 lowercase in LATIN script.
8435 * localedata/Makefile (test-input): Add en_US.UTF-8.
8436 * localedata/en_US.UTF-8.in: New file.
8437 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8438 and restore old tests.
8439 * posix/tst-regexloc.c (do_test): Add back range expression test.
8441 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8443 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8445 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8447 * nptl/threads.h: Move to ...
8448 * sysdeps/nptl/threads.h: ... here.
8449 * sysdeps/hurd/stdc-predef.h: New file.
8451 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8453 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8454 tst-cet-setcontext-1 if CET is enabled.
8455 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8456 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8458 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8460 * include/threads.h: Move to ...
8461 * sysdeps/nptl/threads.h: ... here.
8462 * sysdeps/htl/threads.h: New file.
8463 * conform/Makefile (linknamespace-libs-ISO11): Use
8464 static-thread-library instead of linking libpthread.
8465 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8467 2018-07-25 Florian Weimer <fweimer@redhat.com>
8469 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8470 nanoseconds into seconds.
8471 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8472 (do_test): Likewise.
8473 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8474 (do_test): Likewise. Avoid nanosecond overflow and spurious
8475 timeouts due to system load.
8476 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8477 (child_wait): Increment it.
8478 (do_test): Wait as long as necessary until all expected threads
8481 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8482 H.J. Lu <hongjiu.lu@intel.com>
8484 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8487 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8488 (__push___start_context): New.
8489 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8491 (__getcontext): Record the current shadow stack base. Save the
8492 caller's shadow stack pointer and base.
8493 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8494 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8495 (__push___start_context): New prototype.
8496 (__makecontext): Call __push___start_context to allocate a new
8497 shadow stack, push __start_context onto the new stack as well
8498 as the new shadow stack.
8499 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8501 (__setcontext): Restore the target shadow stack.
8502 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8504 (__swapcontext): Record the current shadow stack base. Save
8505 the caller's shadow stack pointer and base. Restore the target
8507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8508 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8509 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8511 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8513 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8514 tst-setcontext8 and tst-setcontext9.
8515 * stdlib/tst-setcontext6.c: New file.
8516 * stdlib/tst-setcontext7.c: Likewise.
8517 * stdlib/tst-setcontext8.c: Likewise.
8518 * stdlib/tst-setcontext9.c: Likewise.
8520 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8522 * stdlib/Makefile ((tests): Add tst-setcontext5.
8523 * stdlib/tst-setcontext5.c: New file.
8525 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8527 * stdlib/Makefile (tests): Add tst-setcontext4.
8528 * stdlib/tst-setcontext4.c: New file.
8530 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8532 * stdlib/Makefile (tests): Add tst-swapcontext1.
8533 * stdlib/tst-swapcontext1.c: New test.
8535 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8537 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8538 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8539 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8540 and tst-cet-legacy-4c.
8541 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8542 and tst-cet-legacy-mod-4.
8543 (CFLAGS-tst-cet-legacy-2.c): New.
8544 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8545 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8546 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8547 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8548 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8549 ($(objpfx)tst-cet-legacy-1): Likewise.
8550 ($(objpfx)tst-cet-legacy-2): Likewise.
8551 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8552 ($(objpfx)tst-cet-legacy-2a): Likewise.
8553 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8554 ($(objpfx)tst-cet-legacy-4): Likewise.
8555 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8556 ($(objpfx)tst-cet-legacy-4a): Likewise.
8557 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8558 (tst-cet-legacy-4a-ENV): Likewise.
8559 ($(objpfx)tst-cet-legacy-4b): Likewise.
8560 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8561 (tst-cet-legacy-4b-ENV): Likewise.
8562 ($(objpfx)tst-cet-legacy-4c): Likewise.
8563 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8564 (tst-cet-legacy-4c-ENV): Likewise.
8565 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8566 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8567 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8568 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8569 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8570 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8571 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8572 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8573 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8574 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8575 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8577 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8579 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8580 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8582 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8583 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8586 2018-07-25 Andreas Schwab <schwab@suse.de>
8589 * locale/weightwc.h (findidx): Handle the case where usrc is a
8590 prefix of cp but one character too short.
8592 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8594 * NEWS: Add ISO C threads addition.
8596 2018-07-24 Florian Weimer <fweimer@redhat.com>
8598 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8599 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8600 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8603 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8605 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8606 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8607 <sys/prctl.h> and <asm/prctl.h>.
8608 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8609 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8611 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8612 ARCH_CET_LEGACY_BITMAP.
8613 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8614 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8615 * sysdeps/x86/libc-start.c: Include <startup.h>.
8617 2018-07-24 Florian Weimer <fweimer@redhat.com>
8619 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8620 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8622 2018-07-24 Rical Jasan <rj@2c3t.io>
8623 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8624 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8627 * manual/debug.texi: Update adjacent chapter name.
8628 * manual/probes.texi: Likewise.
8629 * manual/threads.texi (ISO C Threads): New section.
8630 (POSIX Threads): Convert to a section.
8632 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8633 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8636 * nptl/Makefile (tests): Add new test files.
8637 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8638 * nptl/tst-cnd-basic.c: Likewise.
8639 * nptl/tst-cnd-broadcast.c: Likewise.
8640 * nptl/tst-cnd-timedwait.c: Likewise.
8641 * nptl/tst-mtx-basic.c: Likewise.
8642 * nptl/tst-mtx-recursive.c: Likewise.
8643 * nptl/tst-mtx-timedlock.c: Likewise.
8644 * nptl/tst-mtx-trylock.c: Likewise.
8645 * nptl/tst-thrd-basic.c: Likewise.
8646 * nptl/tst-thrd-detach.c: Likewise.
8647 * nptl/tst-thrd-sleep.c: Likewise.
8648 * nptl/tst-tss-basic.c: Likewise.
8650 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8653 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8654 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8656 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8658 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8659 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8660 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8665 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8666 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8675 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8678 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8682 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8684 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8685 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8686 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8687 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8689 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8696 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8697 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8698 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8699 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8700 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8707 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8708 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8709 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8710 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8712 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8717 * conform/data/threads.h-data (thread_local): New macro.
8718 (TSS_DTOR_ITERATIONS): Likewise.
8720 (tss_dtor_t): Likewise.
8721 (tss_create): New function.
8722 (tss_get): Likewise.
8723 (tss_set): Likewise.
8724 (tss_delete): Likewise.
8725 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8726 tss_get, and tss_set objects.
8727 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8728 * nptl/tss_create.c: New file.
8729 * nptl/tss_delete.c: Likewise.
8730 * nptl/tss_get.c: Likewise.
8731 * nptl/tss_set.c: Likewise.
8732 * sysdeps/nptl/threads.h (thread_local): New define.
8733 (TSS_DTOR_ITERATIONS): Likewise.
8734 (tss_t): New typedef.
8735 (tss_dtor_t): Likewise.
8736 (tss_create): New prototype.
8737 (tss_get): Likewise.
8738 (tss_set): Likewise.
8739 (tss_delete): Likewise.
8742 * conform/data/threads.h-data (cnd_t): New type.
8743 (cnd_init): New function.
8744 (cnd_signal): Likewise.
8745 (cnd_broadcast): Likewise.
8746 (cnd_wait): Likewise.
8747 (cnd_timedwait): Likewise.
8748 (cnd_destroy): Likewise.
8749 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8750 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8752 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8753 * nptl/cnd_broadcast.c: New file.
8754 * nptl/cnd_destroy.c: Likewise.
8755 * nptl/cnd_init.c: Likewise.
8756 * nptl/cnd_signal.c: Likewise.
8757 * nptl/cnd_timedwait.c: Likewise.
8758 * nptl/cnd_wait.c: Likewise.
8759 * sysdeps/nptl/threads.h (cnd_t): New type.
8760 (cnd_init): New prototype.
8761 (cnd_signa): Likewise.
8762 (cnd_broadcast): Likewise.
8763 (cnd_wait): Likewise.
8764 (cnd_timedwait): Likewise.
8765 (cnd_destroy): Likewise.
8768 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8769 (once_flag): New type.
8770 (call_once): New function.
8771 * nptl/Makefile (libpthread-routines): Add call_once object.
8772 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8773 * nptl/call_once.c: New file.
8774 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8775 (once_flag): New type.
8776 (call_once): New prototype.
8779 * conform/data/threads.h-data (mtx_plain): New constant.
8780 (mtx_recursive): Likewise.
8781 (mtx_timed): Likewise.
8783 (mtx_init): New function.
8784 (mtx_lock): Likewise.
8785 (mtx_timedlock): Likewise.
8786 (mtx_trylock): Likewise.
8787 (mtx_unlock): Likewise.
8788 (mtx_destroy): Likewise.
8789 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8790 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8791 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8792 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8793 * nptl/mtx_destroy.c: New file.
8794 * nptl/mtx_init.c: Likewise.
8795 * nptl/mtx_lock.c: Likewise.
8796 * nptl/mtx_timedlock.c: Likewise.
8797 * nptl/mtx_trylock.c: Likewise.
8798 * nptl/mtx_unlock.c: Likewise.
8799 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8800 (mtx_recursive): Likewise.
8801 (mtx_timed): Likewise.
8803 (mtx_init): New prototype.
8804 (mtx_lock): Likewise.
8805 (mtx_timedlock): Likewise.
8806 (mtx_trylock): Likewise.
8807 (mtx_unlock): Likewise.
8808 (mtx_destroy): Likewise.
8811 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8812 (linknamespace-libs-ISO11): Add libpthread.a.
8813 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8815 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8816 * nptl/Makefile (headers): Add threads.h.
8817 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8818 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8820 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8821 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8822 thrd_join, thrd_sleep, and thrd_yield symbols.
8823 * nptl/descr.h (struct pthread): Add c11 field.
8824 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8825 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8826 routine with expected function prototype.
8827 (__pthread_create_2_1): Add C11 threads check based on attribute
8829 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8830 * nptl/thrd_create.c: New file.
8831 * nptl/thrd_current.c: Likewise.
8832 * nptl/thrd_detach.c: Likewise.
8833 * nptl/thrd_equal.c: Likewise.
8834 * nptl/thrd_exit.c: Likewise.
8835 * nptl/thrd_join.c: Likewise.
8836 * nptl/thrd_priv.h: Likewise.
8837 * nptl/thrd_sleep.c: Likewise.
8838 * nptl/thrd_yield.c: Likewise.
8839 * include/threads.h: Likewise.
8841 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8843 * bits/indirect-return.h: New file.
8844 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8845 * sysdeps/x86/bits/indirect-return.h: Likewise.
8846 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8847 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8848 (swapcontext): Add __INDIRECT_RETURN.
8849 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8850 (prepare_test_buffer): Use it.
8852 2018-07-24 Andreas Schwab <schwab@suse.de>
8855 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8856 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8858 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8860 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8861 Redefine if shadow stack is enabled.
8862 (SYSCALL_ERROR_LABEL): Likewise.
8863 (__vfork): Pop shadow stack and jump back to to caller directly
8864 when shadow stack is in use.
8865 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8866 Redefine if shadow stack is enabled.
8867 (SYSCALL_ERROR_LABEL): Likewise.
8868 (__vfork): Pop shadow stack and jump back to to caller directly
8869 when shadow stack is in use.
8871 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8876 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8879 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8881 * scripts/build-many-glibcs.py (Context.checkout): Default
8882 binutils version to 2.31 branch.
8884 2018-07-20 Zong Li <zong@andestech.com>
8886 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8887 URL of gcc's tarball.
8889 2018-07-20 Florian Weimer <fweimer@redhat.com>
8892 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8893 not compare an extra byte after the end of the weights.
8895 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8897 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8899 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8901 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8902 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8903 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8904 list of libraries whose stack executability is expected.
8905 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8906 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8908 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8909 libc.so libpthread.so.
8911 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8913 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8915 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8917 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8919 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8921 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8923 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8924 library to improve command line parsing.
8925 (__main__): make schema file as optional parameter (--schema),
8926 defaulting to benchtests/scripts/benchout.schema.json.
8927 (main): move out of the parsing stuff to __main_ and leave it
8928 only as caller of main comparison functions.
8930 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8932 * NEWS: Add a note for Intel CET status.
8933 * manual/install.texi: Likewise.
8934 * INSTALL: Regenerated.
8936 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8939 * localedata/locales/oc_FR (mon): Rename to...
8940 (alt_mon): This, then update October (typo fix).
8941 (mon): New content (genitive case, month names preceded by
8945 * localedata/locales/oc_FR (abday): Update all items.
8946 (day): Update Wednesday and Saturday (typo fixes).
8947 (abmon): Update all items, except May.
8948 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8949 (LC_IDENTIFICATION): Bump the revision number and date.
8950 Keep the "category" entries in alphabetic order.
8951 (LC_ADDRESS): Remove no longer needed comment.
8952 (LC_COLLATE): Use “copy "ca_ES"”.
8953 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8956 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8958 * grp/tst_fgetgrent.c: Include <unistd.h>.
8959 (main): Use mkstemp instead of tmpnam.
8960 * io/test-utime.c (main): Likewise.
8961 * posix/annexc.c (macrofile): Change to modifiable array.
8962 (main): Remove macrofile here.
8963 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8965 (check_header): Do not remove macrofile here.
8966 * posix/bug-getopt1.c: Include <stdlib.h>.
8967 (do_test): Use mkstemp instead of tmpnam.
8968 * posix/bug-getopt2.c: Include <stdlib.h>.
8969 (do_test): Use mkstemp instead of tmpnam.
8970 * posix/bug-getopt3.c: Include <stdlib.h>.
8971 (do_test): Use mkstemp instead of tmpnam.
8972 * posix/bug-getopt4.c: Include <stdlib.h>.
8973 (do_test): Use mkstemp instead of tmpnam.
8974 * posix/bug-getopt5.c: Include <stdlib.h>.
8975 (do_test): Use mkstemp instead of tmpnam.
8976 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8977 (main): Use mkstemp instead of tmpnam.
8978 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8979 (main): Use mkstemp instead of tmpnam.
8980 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8981 (main): use mkstemp instead of tmpnam.
8982 * stdlib/isomac.c (macrofile): Change to modifiable array.
8983 (main): Remove macrofile here.
8984 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8986 (check_header): Do not remove macrofile here.
8988 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8990 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8991 glibc.tune.x86_shstk.
8993 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8995 * NEWS: Mention --enable-cet.
8996 * manual/install.texi: Document --enable-cet.
8997 * INSTALL: Regenerated.
8999 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9002 Add _CET_NOTRACK before indirect jump to jump table.
9004 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9007 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9010 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9012 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9013 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9016 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9019 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9022 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9025 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9028 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9031 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9033 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9035 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9037 * sysdeps/i386/i686/multiarch/memcmp-sse4.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/memset-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/memcmp.S (memcmp): Add _CET_NOTRACK before
9050 indirect jump to jump table.
9052 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9054 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9055 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9059 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9062 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9066 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9068 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9069 _CET_NOTRACK before indirect jump to jump table.
9071 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9074 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9077 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9079 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9080 indirect jump to jump table.
9082 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9085 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9086 (LOCALES): Likewise.
9087 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9088 * localedata/locales/sah_RU: New file.
9089 * localedata/sah_RU.UTF-8.in: New file.
9091 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9093 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9095 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9096 _CET_ENDBR to indirect jump targets and adjust jump destination
9098 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9100 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9101 _CET_ENDBR to indirect jump targets and adjust jump destination
9103 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9105 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9106 _CET_ENDBR to indirect jump targets and adjust jump destination
9109 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9111 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9114 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9116 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9118 (_dl_tlsdesc_undefweak): Likewise.
9119 (_dl_tlsdesc_dynamic): Likewise.
9120 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9121 (_dl_tlsdesc_resolve_rel): Likewise.
9122 (_dl_tlsdesc_resolve_rela): Likewise.
9123 (_dl_tlsdesc_resolve_hold): Likewise.
9124 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9125 (_dl_tlsdesc_undefweak): Likewise.
9126 (_dl_tlsdesc_dynamic): Likewise.
9127 (_dl_tlsdesc_resolve_rela): Likewise.
9128 (_dl_tlsdesc_resolve_hold): Likewise.
9130 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9132 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9134 * sysdeps/x86_64/crti.S (_init): Likewise.
9137 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9140 * localedata/locales/os_RU (mon): Rename to...
9142 (mon): Import from CLDR (genitive case).
9144 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9146 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9147 cet-tunables.h> when CET is enabled.
9149 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9152 * configure.ac: Add --enable-cet.
9153 * configure: Regenerated.
9154 * elf/Makefille (all-built-dso): Add a comment.
9155 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9156 Include <dl-prop.h>.
9157 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9159 * elf/dl-open.c: Include <dl-prop.h>.
9160 (dl_open_worker): Call _dl_open_check.
9161 * elf/rtld.c: Include <dl-prop.h>.
9162 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9164 * sysdeps/generic/dl-prop.h: New file.
9165 * sysdeps/i386/dl-cet.c: Likewise.
9166 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9167 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9168 * sysdeps/x86/cet-tunables.h: Likewise.
9169 * sysdeps/x86/check-cet.awk: Likewise.
9170 * sysdeps/x86/configure: Likewise.
9171 * sysdeps/x86/configure.ac: Likewise.
9172 * sysdeps/x86/dl-cet.c: Likewise.
9173 * sysdeps/x86/dl-procruntime.c: Likewise.
9174 * sysdeps/x86/dl-prop.h: Likewise.
9175 * sysdeps/x86/libc-start.h: Likewise.
9176 * sysdeps/x86/link_map.h: Likewise.
9177 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9179 (_dl_runtime_profile): Likewise.
9180 (_dl_runtime_resolve_shstk): New.
9181 (_dl_runtime_profile_shstk): Likewise.
9182 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9184 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9185 (CFLAGS-.os): Likewise.
9186 (CFLAGS-.op): Likewise.
9187 (CFLAGS-.oS): Likewise.
9188 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9190 (tests-special): Add $(objpfx)check-cet.out.
9191 (cet-built-dso): New.
9192 (+$(cet-built-dso:=.note)): Likewise.
9193 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9194 ($(objpfx)check-cet.out): New.
9195 (generated): Add check-cet.out.
9196 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9198 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9199 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9200 (init_cpu_features): Call get_cet_status to check CET status
9201 and update dl_x86_feature_1 with CET status. Call
9202 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9203 (set_x86_shstk). Disable and lock CET in libc.a.
9204 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9205 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9206 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9207 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9208 (_CET_ENDBR): Define if not defined.
9209 (ENTRY): Add _CET_ENDBR.
9210 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9212 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9214 (_dl_runtime_profile): Likewise.
9216 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9219 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9220 restore r2 on longjmp.
9221 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9223 Added rules to build test tst-setjmp-bug21895-static.
9224 Added module setjmp-bug21895 and rules to build a shared object from it.
9225 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9226 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9228 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9230 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9231 * benchtests/bench-strstr.c: Likewise.
9232 * string/memmem.c (FASTSEARCH): Define.
9233 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9234 Add support for FASTSEARCH.
9235 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9236 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9237 (FASTSEARCH): Define.
9238 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9239 * string/test-strstr.c: Likewise.
9241 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9244 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9246 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9247 H.J. Lu <hongjiu.lu@intel.com>
9249 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9250 (__longjmp): Restore shadow stack pointer if shadow stack is
9251 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9252 isn't defined for __longjmp_cancel.
9253 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9254 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9255 and SHADOW_STACK_POINTER_OFFSET is defined.
9256 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9257 (setjmp): Save shadow stack pointer if shadow stack is enabled
9258 and SHADOW_STACK_POINTER_OFFSET is defined.
9259 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9260 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9261 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9264 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9265 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9266 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9267 Remove jmp_buf-ssp.sym.
9268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9270 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9271 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9272 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9274 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9275 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9276 (__longjmp): Restore shadow stack pointer if shadow stack is
9277 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9278 isn't defined for __longjmp_cancel.
9279 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9280 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9281 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9283 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9286 * nptl/pthread_create.c: Include <tls-setup.h>.
9287 (__pthread_create_2_1): Call tls_setup_tcbhead.
9288 * sysdeps/generic/tls-setup.h: New file.
9289 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9290 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9291 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9293 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9295 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9296 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9297 (X86_FEATURE_1_SHSTK): Likewise.
9298 (CET_ENABLED): Likewise.
9299 (IBT_ENABLED): Likewise.
9300 (SHSTK_ENABLED): Likewise.
9302 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9305 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9306 (LOCALES): Likewise.
9307 * localedata/dsb_DE.UTF-8.in: New file.
9308 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9310 2018-07-12 Florian Weimer <fweimer@redhat.com>
9312 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9313 __mprotect, not mprotect.
9315 2018-07-11 Florian Weimer <fweimer@redhat.com>
9317 * io/Makefile (headers): Add bits/statx.h.
9319 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9321 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9322 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9324 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9325 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9328 2018-07-10 Florian Weimer <fweimer@redhat.com>
9330 * io/Makefile (routines): Add statx.
9331 (tests-internal): Add tst-statx.
9332 * io/Versions (GLIBC_2.28): Export statx.
9333 * io/bits/statx.h: New file.
9334 * io/sys/stat.h [__USE_GNU]: Include it.
9335 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9336 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9338 * io/statx.c: New file.
9339 * io/statx_generic.: Likewise.
9340 * io/tst-statx.: Likewise.
9341 * include/bits/statx.h: Likewise.
9342 * sysdeps/unix/sysv/linux/kernel-features.h
9343 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9344 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9345 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9346 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9349 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9350 * sysdeps/unix/sysv/linux/statx.c: New file.
9351 * manual/filesys.texi: Note that statx is undocumented.
9352 * sysdeps/**/libc*.abilist: Update.
9354 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9356 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9357 a kernel issue which lead to test failure in some cases.
9359 2018-07-10 Florian Weimer <fweimer@redhat.com>
9362 * posix/regexec.c (check_node_accept_bytes): When comparing
9363 weights, do not compare an extra byte after the end of the
9366 2018-07-10 Florian Weimer <fweimer@redhat.com>
9368 * libio/readline.c: Fix copyright year.
9369 * libio/tst-readline.c Likewise.
9370 * nss/tst-nss-files-hosts-getent.c: Likewise.
9372 2018-07-06 Florian Weimer <fweimer@redhat.com>
9375 * nss/nss_files/files-XXX.c (internal_getent): Use
9376 __libc_readline_unlocked. Seek back to the start of the line if
9377 parsing failes with ERANGE.
9378 (get_contents_ret, get_contents): Remove.
9379 * nss/tst-nss-files-hosts-getent.c: New file.
9380 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9381 (tst-nss-files-hosts-getent): Link with -ldl.
9383 2018-07-06 Florian Weimer <fweimer@redhat.com>
9385 * include/stdio.h (__libc_readline_unlocked): Declare.
9386 (__ftello64, __fseeko64): Declare aliases.
9387 * libio/readline.c: New file.
9388 * libio/tst-readline.c: Likewise.
9389 (routines): Add readline.
9390 (tests-internal): Add tst-readlime.
9391 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9392 __libc_readline_unlocked.
9393 * libio/fseeko.c (__fseeko): Rename from fseeko.
9394 (fseeko): Add alias.
9395 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9396 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9397 (fseeko64): Add alias.
9398 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9399 * libio/ftello64.c (__ftello64): Rename from ftello64.
9400 (ftello64): Add alias.
9402 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9404 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9407 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9409 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9410 Use dl_hwcap without masking.
9411 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9414 2018-07-06 Florian Weimer <fweimer@redhat.com>
9416 * conform/conformtest.pl (checknamespace): Escape literal braces
9417 in regular expressions.
9419 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9421 * sysdeps/x86/cpu-features.c (get_common_indeces):
9422 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9423 * sysdeps/x86/cpu-features.c (init_cpu_features):
9424 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9426 2018-07-05 Florian Weimer <fweimer@redhat.com>
9428 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9430 (CFLAGS-elf-init.oS): Likewise.
9432 2018-07-05 Florian Weimer <fweimer@redhat.com>
9433 Carlos O'Donell <carlos@redhat.com>
9435 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9436 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9437 with stack protector enabled because there is no risk of infinite
9440 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9444 * libc-abis (ABSOLUTE): New ABI.
9445 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9446 * NEWS: Mention the new ABI.
9448 2018-07-05 Florian Weimer <fweimer@redhat.com>
9451 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9452 (RENAME_WHITEOUT): Define.
9453 [__USE_GNU] (renameat2): Declare.
9454 * stdio-common/Makefile (routines): Add renameat2.
9455 (tests): Add tst-renameat2.
9456 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9457 * stdio-common/renameat2.c: New file.
9458 * stdio-common/tst-renameat2.c: Likewise.
9459 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9460 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9462 * sysdeps/unix/sysv/linux/kernel-features.h
9463 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9465 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9467 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9468 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9469 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9470 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9471 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9472 * include/stdio.h (__renameat): Add alias for renameat.
9473 * stdio-common/renameat.c (__renameat): Rename from renameat.
9474 Add hidden definition and alias.
9475 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9476 * sysdeps/mach/hurd/renameat.c: Likewise.
9477 * sysdeps/**/libc*.abilist: Add renameat2.
9479 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9481 * posix/bug-regex33.c: Fix build after regex sync.
9483 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9486 * localedata/tst-langinfo-setlocale.c: New file.
9487 * localedata/tst-langinfo-setlocale-static.c: New file.
9488 * localedata/tst-langinfo-newlocale.c: New file.
9489 * localedata/tst-langinfo-newlocale-static.c: New file.
9490 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9491 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9492 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9493 (tests-static): Remove tst-langinfo-static. Add
9494 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9495 (tests-special): Remove $(objpfx)tst-langinfo.out,
9496 $(objpfx)tst-langinfo-static.out. Add
9497 $(objpfx)tst-langinfo-setlocale.out,
9498 $(objpfx)tst-langinfo-newlocale.out,
9499 $(objpfx)tst-langinfo-setlocale-static.out,
9500 $(objpfx)tst-langinfo-newlocale-static.out.
9501 ($(objpfx)tst-langinfo.out): Remove.
9502 ($(objpfx)tst-langinfo-static.out): Remove.
9503 ($(objpfx)tst-langinfo-newlocale.out): New target.
9504 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9505 (test-xfail-tst-langinfo-newlocale-static): Add.
9506 ($(objpfx)tst-langinfo-setlocale.out): New target.
9507 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9508 * localedata/tst-langinfo.c: Call test_locale.
9509 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9512 2018-07-04 Florian Weimer <fweimer@redhat.com>
9514 testrun.sh: Implement --tool=strace, --tool=valgrind
9515 * Makefile (testrun-script): Define variable.
9516 (testrun.sh): Use variable.
9517 * manual/install.texi (Tools for Compilation): make 4.0 or later
9519 * configure.ac: Check for make 4.0 or later.
9520 * INSTALL: Regenerate.
9521 * configure: Likewise.
9523 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9529 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9530 * posix/PCRE.tests: Remove invalid test.
9531 * posix/bug-regex28.c: Fix expected values for used syntax.
9532 * posix/bug-regex37.c: New file.
9533 * posix/bug-regex38.c: Likewise.
9534 * posix/regcomp.c: Sync with gnulib.
9535 * posix/regex.c: Likewise.
9536 * posix/regex.h: Likewise.
9537 * posix/regex_internal.c: Likewise.
9538 * posix/regex_internal.h: Likewise.
9539 * posix/regexec.c: Likewise.
9541 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9544 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9545 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9546 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9547 * localedata/unicode-gen/PropList.txt: likewise.
9548 * localedata/unicode-gen/UnicodeData.txt: likewise.
9549 * localedata/charmaps/UTF-8: Regenerate.
9550 * localedata/locales/i18n_ctype: likewise.
9551 * localedata/locales/tr_TR: likewise.
9552 * localedata/locales/translit_circle: likewise.
9553 * localedata/locales/translit_cjk_compat: likewise.
9554 * localedata/locales/translit_combining: likewise.
9555 * localedata/locales/translit_compat: likewise.
9556 * localedata/locales/translit_font: likewise.
9557 * localedata/locales/translit_fraction: likewise.
9559 2018-07-03 Florian Weimer <fweimer@redhat.com>
9562 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9563 * stdio-common/tst-printf.sh: Adjust expected output.
9566 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9568 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9571 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9573 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9574 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9575 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9576 * stdio-common/tst-printfsz-islongdouble.c: New file.
9577 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9579 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9580 [subdir == stdio-common] (tests-internal): Add
9581 test-printf-size-ieee128, and test-printf-size-ibm128.
9582 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9583 (CFLAGS-test-printf-size-ibm128.c): New variables.
9584 [subdir == stdio-common] (tests-special): Add
9585 $(objpfx)test-printf-size-ieee128.out and
9586 $(objpfx)test-printf-size-ibm128.out.
9587 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9588 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9589 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9590 __printf_sizeieee128.
9591 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9593 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9595 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9598 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9600 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9601 (exp2f_inline): Likewise.
9602 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9603 (__math_uflowf): Likewise.
9604 (__math_may_uflowf): Likewise.
9605 (__math_divzerof): Likewise.
9606 (__math_invalidf): Likewise.
9607 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9608 (__math_oflowf): Likewise.
9609 (__math_uflowf): Likewise.
9610 (__math_may_uflowf): Likewise.
9611 (__math_divzerof): Likewise.
9612 (__math_invalidf): Likewise.
9614 2018-06-29 DJ Delorie <dj@redhat.com>
9615 Carlos O'Donell <carlos@redhat.com>
9618 * include/libc-symbols.h: Comment the freeres framework.
9619 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9620 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9621 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9622 * dlfcn/dlerror.c: Include libc-symbols.h
9623 (__dlerror_main_freeres): New function.
9624 * dlfcn/dlfreeres.c: New file.
9625 * dlfcn/sdlfreeres.c: New file.
9626 * include/dlfcn.h: Declare __dlerror_main_freeres.
9627 * malloc/set-freeres.c: Declare __libdl_freeres, and
9628 __libpthread_freeres.
9629 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9630 the releavant libraries are loaded.
9631 * malloc/thread-freeres.c: Add comments.
9632 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9633 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9634 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9635 (__free_stacks): Rename to...
9636 (free_stacks): ...this. Mark static.
9637 (queue_stack): Call free_stacks.
9638 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9639 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9640 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9641 ptr_freeres element from struct.
9642 (pthread_functions): Remove .ptr_freeres from struct initializer.
9643 [SHARED] (nptl_freeres): Remove.
9644 * nptl/nptlfreeres.c: New file.
9646 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9647 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9649 (__free_stacks): Rename to...
9650 (__nptl_stacks_freeres): ...this.
9651 (__shm_directory_freeres): Declare.
9652 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9653 (__nptl_unwind_freeres): ...this.
9654 * resolv/res-close.c: Add comment.
9655 * resolv/resolv_conf.c: Include libc-symbols.h.
9656 * string/strerror_l.c: Include libc-symbols.h.
9657 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9658 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9659 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9660 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9662 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9664 * stdlib/tst-strfmon_l.c: Add tests for long double.
9666 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9669 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9670 * localedata/locales/dsb_DE: New file.
9672 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9675 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9677 (alt_mon): New entry, import from CLDR (nominative case).
9679 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9682 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9684 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9686 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9687 Use vector registers.
9689 * sysdeps/aarch64/multiarch/memmove_falkor.S
9690 (__memcpy_falkor): Use vector registers.
9692 2018-06-29 Martin Sebor <msebor@redhat.com>
9694 * manual/stdio.texi (Customizing Printf): Mention interaction
9697 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9700 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9701 `st_value' is 0 if `st_shndx' is SHN_ABS.
9702 * elf/tst-absolute-zero.c: New file.
9703 * elf/tst-absolute-zero-lib.c: New file.
9704 * elf/tst-absolute-zero-lib.lds: New file.
9705 * elf/Makefile (tests): Add `tst-absolute-zero'.
9706 (modules-names): Add `tst-absolute-zero-lib'.
9707 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9708 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9709 ($(objpfx)tst-absolute-zero: New dependency.
9711 2018-06-29 Zack Weinberg <zackw@panix.com>
9713 * configure.ac: New command-line option --disable-crypt.
9714 Force --disable-nss-crypt when --disable-crypt is given, with a
9715 warning if it was explicitly enabled.
9716 * configure: Regenerate.
9717 * config.make.in: New boolean substitution variable $(build-crypt).
9718 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9719 when $(build-crypt).
9720 * manual/install.texi: Document --disable-crypt.
9721 * INSTALL: Regenerate.
9723 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9725 * conform/Makefile: Only include libcrypt.a in
9726 linknamespace-libs-xsi and linknamespace-libs-XPG4
9727 when $(build-crypt).
9728 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9729 USE_CRYPT to 1 when $(build-crypt).
9730 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9731 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9732 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9734 2018-06-29 Zack Weinberg <zackw@panix.com>
9736 * crypt/crypt.h, posix/unistd.h: Update comments and
9737 prototypes for crypt and crypt_r.
9739 * manual/crypt.texi (Cryptographic Functions): New initial
9741 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9742 (Unpredictable Bytes): Improve initial exposition. Clarify error
9743 behavior of getentropy and getrandom.
9744 * manual/examples/genpass.c: Generate a salt using getentropy
9745 instead of the current time. Use hash $5$ (SHA-2-256).
9746 * manual/examples/testpass.c: Demonstrate validation against
9747 hashes generated with three different one-way functions.
9749 * manual/intro.texi: crypt.texi does not need an overview
9752 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9753 * manual/terminal.texi: Consistently refer to "passphrases"
9754 * instead of "passwords", and to the "user database" instead
9755 * of the "password database".
9756 * manual/users.texi: Similarly. Add notes about how actual
9757 passphrase hashes are now stored in the shadow database.
9758 Remove 20-year-old junk todo note.
9760 2018-06-29 Zack Weinberg <zackw@panix.com>
9762 * manual/crypt.texi: Use a normal top-level @node declaration.
9763 Move most of the introductory text to the 'crypt' section.
9764 Move the example programs below the @deftypefun for 'crypt_r'.
9765 Move the 'getpass' section...
9766 * manual/terminal.texi: ...here.
9768 2018-06-29 Zack Weinberg <zackw@panix.com>
9769 Florian Weimer <fweimer@redhat.com>
9771 * posix/unistd.h: Do not declare encrypt.
9772 (_XOPEN_CRYPT): Remove macro definition.
9773 (crypt): Declare only for _USE_MISC.
9774 * stdlib/stdlib.h: Do not declare setkey.
9775 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9776 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9778 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9779 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9780 into compat symbols. Don't define initial_perm if it's not
9782 * crypt/cert.c: Link explicitly with the expected versions for
9783 setkey and encrypt. If they are not available at all, mark
9784 the test as unsupported.
9786 * sunrpc/des_crypt.c: Unconditionally block linkage with
9787 cbc_crypt and ecb_crypt for new binaries.
9788 * sunrpc/des_soft.c: Unconditionally block linkage with
9789 des_setparity for new binaries.
9791 * manual/crypt.texi: Remove the entire "DES Encryption"
9792 section. Also remove the paragraph talking about FIPS 140-2
9793 from the introduction.
9794 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9795 of libgcrypt for "real" encryption, not DES.
9796 * manual/conf.texi (Constants for Sysconf): Mention that
9797 _XOPEN_CRYPT is no longer impelemented.
9799 * conform/data/unistd.h-data: Remove crypt function declaration.
9801 2018-06-29 Florian Weimer <fweimer@redhat.com>
9804 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9805 (disallow_malloc_check): Remove variable.
9806 (__malloc_check_init): Adjust.
9807 (malloc_set_state): Update comment.
9808 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9811 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9814 * localedata/locales/ast_ES (mon): Rename to...
9816 (mon): Import from CLDR (genitive case).
9818 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9819 Jakub Sitnicki <jkbs@redhat.com>
9822 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9825 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9827 * manual/llio.texi: Remove spurious space.
9829 2018-06-28 Florian Weimer <fweimer@redhat.com>
9832 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9835 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9837 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9838 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9839 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9840 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9841 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9842 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9843 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9845 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9848 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9849 Copy and null-terminate entries that are not terminated, in
9850 addition to empty ones.
9852 2018-06-27 Florian Weimer <fweimer@redhat.com>
9855 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9856 (extend_alloca_account): Remove.
9857 * manual/stdio.texi (Variable Arguments Output): Update comment.
9859 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9861 * nptl/sockperf.c: Remove file.
9863 2018-06-27 Florian Weimer <fweimer@redhat.com>
9866 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9867 scratch_buffer instead of extend_alloca.
9869 2018-06-27 Florian Weimer <fweimer@redhat.com>
9872 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9873 scratch_buffer instead of extend_alloca. Update comments.
9875 2018-06-27 Florian Weimer <fweimer@redhat.com>
9878 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9879 instead of extend_alloca.
9881 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9884 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9885 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9887 * scripts/test-installation.pl: Put temporary files in build
9888 directory, not /tmp.
9889 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9890 (CFLAGS-bug4.c): Likewise.
9891 (CFLAGS-bug5.c): Likewise.
9892 (CFLAGS-test-fseek.c): Likewise.
9893 (CFLAGS-test-popen.c): Likewise.
9894 (CFLAGS-test_rdwr.c): Likewise.
9895 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9897 * stdio-common/bug4.c (main): Likewise.
9898 * stdio-common/bug5.c (main): Likewise.
9899 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9900 * stdio-common/test-popen.c (do_test): Likewise.
9901 * stdio-common/test_rdwr.c (main): Likewise.
9903 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9905 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9906 (sem_open): Set sem.newsem.pad to zero for valgrind.
9908 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9911 * NEWS: Mention fcntl64 addition.
9912 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9913 * login/utmp_file.c: Likewise.
9914 * sysdeps/posix/fdopendir.c: Likewise.
9915 * sysdeps/posix/opendir.c: Likewise.
9916 * sysdeps/unix/pt-fcntl.c: Likewise.
9917 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9918 __fcntl64_nocancel_adjusted): New prototype.
9919 (__fcntl_nocancel_adjusted): Remove prototype.
9920 * io/Makefile (routines): Add fcntl64.
9921 (CFLAGS-fcntl64.c): New rule.
9922 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9923 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9924 * io/fcntl.h (fcntl64): Add prototype and redirect if
9925 __USE_FILE_OFFSET64 is defined.
9926 * io/fcntl64.c: New file.
9927 * manual/llio.text: Add a note for which commands fcntl acts a
9929 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9930 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9931 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9933 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9934 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9936 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9937 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9938 to __fcntl64_nocancel.
9939 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9940 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9941 to __fcntl64_nocancel.
9942 * sysdeps/generic/not-cancel.h: Likewise.
9943 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9944 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9945 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9946 (fcntl64): New symbol.
9947 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9956 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9957 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9959 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9963 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9964 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9967 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9972 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9973 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9974 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9976 2018-06-26 Florian Weimer <fweimer@redhat.com>
9978 Run thread shutdown functions in an explicit order.
9979 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9981 (__libc_thread_freeres): Call thread shutdown functions
9983 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9984 * include/string.h (__strerror_thread_freeres): Declare.
9985 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9986 arena_thread_freeres. No longer static. Remove thread shutdown
9988 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9990 * resolv/res-close.c (__res_thread_freeres): Renamed from
9991 res_thread_freeres. No longer static. Remove thread shutdown
9993 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9994 * resolv/resolv_conf.c (freeres): Remove incorrect section
9995 attribute and use libc_freeres_fn.
9996 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9997 strerror_thread_freeres. No longer static. Remove thread
9998 shutdown hook registration.
9999 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10000 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10001 shutdown hook registration.
10002 * Makerules (shlib.lds): Do not provide section boundary symbols
10003 for __libc_thread_subfreeres.
10004 * manual/memory.texi (Basic Allocation): Update comment.
10006 2018-06-26 Florian Weimer <fweimer@redhat.com>
10008 Remove always-defined _RPC_THREAD_SAFE_ macro.
10009 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10010 Do not define _RPC_THREAD_SAFE_.
10011 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10013 * sunrpc/clnt_perr.c: Likewise.
10014 * sunrpc/clnt_raw.c: Likewise.
10015 * sunrpc/clnt_simp.c: Likewise.
10016 * sunrpc/key_call.c: Likewise.
10017 * sunrpc/rpc_common.c: Likewise.
10018 * sunrpc/rpc_main.c: Likewise.
10019 * sunrpc/rpc_thread.c: Likewise.
10020 * sunrpc/svc.c: Likewise.
10021 * sunrpc/svc_raw.c: Likewise.
10022 * sunrpc/svc_simple.c: Likewise.
10023 * sumrpc/svcauth_des.c: Likewise.
10025 2018-06-26 Florian Weimer <fweimer@redhat.com>
10027 * libio/Makefile (tests-internal): Add tst-vtables,
10028 tst-vtables-interposed.
10029 * libio/tst-vtables.c: New file.
10030 * libio/tst-vtables-common.c: Likewise.
10031 * libio/tst-vtables-interposed.c: Likewise.
10033 2018-06-26 Florian Weimer <fweimer@redhat.com>
10035 * support/support_test_main.c (support_test_main): Only call
10036 setvbuf if not disables.
10037 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10038 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10040 2018-06-26 Florian Weimer <fweimer@redhat.com>
10043 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10045 2018-06-25 Florian Weimer <fweimer@redhat.com>
10048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10049 Use struct scratch_buffer instead of extend_alloca.
10051 2018-06-25 Florian Weimer <fweimer@redhat.com>
10054 * nss/getent.c (initgroups_keys): Use dynarray instead of
10057 2018-06-25 Florian Weimer <fweimer@redhat.com>
10060 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10061 Use struct scratch_buffer instead of extend_alloca.
10063 2018-06-25 Florian Weimer <fweimer@redhat.com>
10066 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10067 back to malloc directly, without stack allocations.
10069 2018-06-25 Florian Weimer <fweimer@redhat.com>
10072 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10075 2018-06-25 Florian Weimer <fweimer@redhat.com>
10078 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10080 * nscd/hstcache.c (addhstbyX): Likewise.
10081 * nscd/pwdcache.c (addpwbyX): Likewise.
10082 * nscd/servicescache.c (addservbyX): Likewise.
10084 2018-06-25 Florian Weimer <fweimer@redhat.com>
10087 * nscd/connections.c (read_cmdline): New function.
10088 (restart): Use it. Update comment.
10090 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10093 * localedata/locales/csb_PL (mon): Rename to...
10095 (abmon): Rename to...
10096 (ab_alt_mon): This.
10097 (mon): Add with proper genitive forms, copy from Wikipedia.
10100 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10103 * localedata/locales/csb_PL (mon): Fix typos:
10104 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10105 (yesstr): Add, value is "jo".
10106 (nostr): Add, value is "nié".
10108 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10110 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10111 all log1p and significand functions on m680x0.
10112 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10113 of s_significand.c..
10114 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10115 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10116 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10117 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10118 s_log1p.c and include it..
10120 2018-06-21 Vincent Chen <vincentc@andestech.com>
10122 * elf/elf.h (R_NDS32_NONE): New define.
10123 (R_NDS32_32_RELA): Likewise.
10124 (R_NDS32_COPY): Likewise.
10125 (R_NDS32_GLOB_DAT): Likewise.
10126 (R_NDS32_JUMP_SLOT): Likewise.
10127 (R_NDS32_RELATIVE): Likewise.
10128 (R_NDS32_TLS_TPOFF): Likewise.
10129 (R_NDS32_TLS_DESC): Likewise.
10131 2018-06-21 Mark Wielaard <mark@klomp.org>
10133 * elf/elf.h (R_BPF_MAP_FD): Removed.
10134 (R_BPF_64_64, R_BPF_64_32): New.
10136 2018-06-21 Florian Weimer <fweimer@redhat.com>
10139 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10140 Renamed from libc_feholdsetround_ctx.
10141 (default_libc_feresetround_ctx): Renamed from
10142 libc_feresetround_ctx.
10143 (default_libc_feholdsetround_noex_ctx): Renamed from
10144 libc_feholdsetround_noex_ctx.
10145 (default_libc_feresetround_noex_ctx): Renamed from
10146 libc_feresetround_noex_ctx.
10147 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10148 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10149 forwardning to the old implementations under the new names.
10150 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10151 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10152 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10153 (libc_feresetround_ctx): Forward to default implements for i386
10154 and MATH_SET_BOTH_ROUNDING_MODES.
10155 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10156 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10158 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10160 * string/tst-cmp.c: Include <libc-diag.h>.
10161 (strncmp_max): Disable -Wstringop-overflow= around call to
10163 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10166 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10167 (main): Disable -Wunused-value around call to strpbrk.
10168 * string/bug-strspn1.c: Include <libc-diag.h>.
10169 (main): Disable -Wunused-value around call to strspn.
10171 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10172 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10174 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10175 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10177 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10179 * math/Makefile (libm-calls): Move s_significandF to...
10180 (gen-libm-calls): ... here.
10181 * math/s_significand_template.c: New file.
10182 * math/s_significand.c: Removed.
10183 * math/s_significandf.c: Removed.
10184 * math/s_significandl.c: Removed.
10185 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10186 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10188 * math/e_exp2_template.c (declare_mgen_finite_alias,
10189 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10190 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10191 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10193 2018-06-20 Florian Weimer <fweimer@redhat.com>
10195 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10197 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10200 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10201 floating-point number to strtod functions rather than possibly
10202 negating result of those functions.
10203 * stdio-common/tst-scanf-round.c: New file.
10204 * stdio-common/Makefile (tests): Add tst-scanf-round.
10205 ($(objpfx)tst-scanf-round): Depend on $(libm).
10207 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10209 * sysdeps/mach/hurd/localplt.data: Move to...
10210 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10211 R_386_GLOB_DAT like on Linux i386.
10213 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10215 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10216 (SHM_STAT_ANY): New macro.
10217 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10218 (SHM_STAT_ANY): Likewise.
10219 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10220 (SHM_STAT_ANY): Likewise.
10221 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10222 (SHM_STAT_ANY): Likewise.
10223 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10224 (SHM_STAT_ANY): Likewise.
10225 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10226 (SHM_STAT_ANY): Likewise.
10227 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10228 (SHM_STAT_ANY): Likewise.
10229 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10230 (SHM_STAT_ANY): Likewise.
10231 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10232 (SHM_STAT_ANY): Likewise.
10233 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10234 (SHM_STAT_ANY): Likewise.
10235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10236 (SHM_STAT_ANY): Likewise.
10237 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10238 (SHM_STAT_ANY): Likewise.
10240 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10241 (SEM_STAT_ANY): New macro.
10242 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10243 (SEM_STAT_ANY): Likewise.
10244 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10245 (SEM_STAT_ANY): Likewise.
10246 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10247 (SEM_STAT_ANY): Likewise.
10248 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10249 (SEM_STAT_ANY): Likewise.
10250 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10251 (SEM_STAT_ANY): Likewise.
10252 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10253 (SEM_STAT_ANY): Likewise.
10254 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10255 (SEM_STAT_ANY): Likewise.
10256 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10257 (SEM_STAT_ANY): Likewise.
10258 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10259 (SEM_STAT_ANY): Likewise.
10261 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10262 (MSG_STAT_ANY): New macro.
10263 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10264 (MSG_STAT_ANY): Likewise.
10265 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10266 (MSG_STAT_ANY): Likewise.
10267 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10268 (MSG_STAT_ANY): Likewise.
10269 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10270 (MSG_STAT_ANY): Likewise.
10271 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10272 (MSG_STAT_ANY): Likewise.
10273 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10274 (MSG_STAT_ANY): Likewise.
10275 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10276 (MSG_STAT_ANY): Likewise.
10277 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10278 (MSG_STAT_ANY): Likewise.
10279 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10280 (MSG_STAT_ANY): Likewise.
10282 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10283 (MAP_TYPE): Change value to 0x2b.
10285 2018-06-18 Florian Weimer <fweimer@redhat.com>
10288 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10289 socket with SOCK_CLOEXEC.
10291 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10294 * sysdeps/powerpc/powerpc64/le/Makefile
10295 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10296 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10297 (gnulib-tests): Also add $(f128-loader-link) for
10298 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10300 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10302 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10303 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10305 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10306 (sendfile64): New strong alias.
10307 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10308 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10309 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10310 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10312 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10313 ___pthread_get_cleanup_stack.
10314 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10315 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10316 * mach/shortcut.awk: Make syscall stubs include
10317 <mach-shortcuts-hidden.h> and add hidden definition.
10318 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10319 (__mach_msg): Add hidden prototype.
10320 * mach/msg.c: Include <mach.h>.
10321 (__mach_msg): Add hidden definition.
10322 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10323 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10324 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10325 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10326 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10327 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10328 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10329 prototype and definition.
10330 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10331 hidden target for _hurd_self_sigstate.
10333 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10336 * stdlib/tst-strtod-nan-sign-main.c: New file.
10337 * stdlib/tst-strtod-nan-sign.c: Likewise.
10338 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10339 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10340 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10341 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10342 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10344 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10350 2018-06-14 Florian Weimer <fweimer@redhat.com>
10353 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10354 that the result stays within the ISO-8859-1 range.
10355 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10356 characters are defined in IBM273.
10358 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10360 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10361 __mach_task_self): Remove attribute_hidden.
10363 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10365 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10366 ignore -Wrestrict for one test.
10368 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10369 Szabolcs Nagy <szabolcs.nagy@arm.com>
10371 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10373 2018-06-14 Florian Weimer <fweimer@redhat.com>
10375 * scripts/update-abilist.sh: Accept empty list of files to patch.
10377 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10379 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10380 test-xfail-check-abi-libmachuser): Add.
10381 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10382 __libc_read and __libc_write to __read and __write.
10383 * sysdeps/hurd/include/hurd/port.h: New file.
10384 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10385 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10386 __thread_switch, __evc_wait): Move declarations to...
10387 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10389 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10390 use PLT to call _hurd_self_sigstate.
10392 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10395 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10396 MAX_EXP as overflowing.
10397 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10399 (round_str): Output also whether result overflows in each rounding
10401 * stdlib/tst-strtod-round-data: Add more tests.
10402 * stdlib/tst-strtod-round-data.h: Regenerated.
10403 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10404 (TEST): Handle extra arguments for overflow flags.
10405 (struct test_overflow): New type.
10406 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10407 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10408 (test_in_one_mode): Take argument with overflow information.
10409 (do_test): Update calls to test_in_one_mode.
10411 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10413 * elf/dl-load (_dl_dst_substitute): Correct comment.
10414 (_dl_dst_count): Likewise.
10416 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10417 lll_futex_timed_wait.
10419 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10422 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10424 * math/test-nan-const.c: New file.
10425 * math/Makefile (tests): Add test-nan-const.
10426 (CFLAGS-test-nan-const.c): New variable.
10428 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10430 * benchtests/scripts/compare_strings.py (process_results): Add
10431 funcs argument. Compare only functions which are selected.
10432 (main): Check if base function is among selected functions.
10433 Pass selected functions to process_results.
10434 (__main__): Add -f/--functions argument.
10436 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10437 Hongbo Zhang <hongbo.zhang@linaro.org>
10439 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10440 __memcpy_falkor for phecda core.
10441 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10442 __memmove_falkor for phecda core.
10443 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10444 __memset_falkor for phecda core.
10445 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10447 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10448 macro to identify phecda core.
10450 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10451 Andreas Schwab <schwab@suse.de>
10452 Dmitry V. Levin <ldv@altlinux.org>
10453 Florian Weimer <fweimer@redhat.com>
10460 * elf/dl-dst.h: Remove DL_DST_COUNT.
10461 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10462 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10463 (is_dst): Comment. Support ELF gABI.
10464 (_dl_dst_count): Comment. Simplify and count DSTs.
10465 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10466 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10469 2018-06-12 Zack Weinberg <zackw@panix.com>
10471 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10472 * sysdeps/unix/sysv/linux/dl-sysdep.c
10473 Include not-cancel.h. Use __close_nocancel instead of __close,
10474 __open64_nocancel instead of __open, __read_nocancel instead of
10475 __libc_read, and __write_nocancel instead of __libc_write.
10477 * csu/check_fds.c (check_one_fd)
10478 * sysdeps/posix/fdopendir.c (__fdopendir)
10479 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10480 instead of __fcntl and/or __libc_fcntl.
10482 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10483 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10484 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10485 Use __open64_nocancel instead of __open_nocancel.
10487 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10488 hidden_proto declarations to the end and issue them if either
10489 IS_IN(libc) or IS_IN(rtld).
10490 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10491 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10492 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10493 read_nocancel, waitpid_nocancel, write_nocancel.
10495 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10496 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10497 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10499 * nptl/pt-fcntl.c: New file.
10500 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10501 (libpthread-routines): Add pt-fcntl.
10502 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10503 (__libc_fcntl): Remove attribute_hidden.
10504 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10505 __fcntl_nocancel_adjusted, not fcntl_common.
10506 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10507 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10508 to fcntl_nocancel.c.
10509 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10512 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10514 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10515 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10516 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10517 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10518 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10519 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10520 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10521 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10522 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10523 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10524 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10525 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10526 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10527 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10528 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10529 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10530 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10531 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10532 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10533 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10535 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10536 libpthread-routines.
10537 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10540 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10541 __libc_read, and __write instead of __libc_write. Define
10542 __open64 in addition to __open.
10544 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10549 to _private_tm[3] and add __glibc_reserved2.
10550 Add _Static_assert of offset of __private_ss == 0x30.
10551 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10552 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10554 2018-06-12 Florian Weimer <fweimer@redhat.com>
10556 x86: Make strncmp usable from rtld.
10557 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10558 __strncmp_ia32 if in libc (and not in rtld).
10559 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10560 strncmp if not in libc (and not to __strncmp_sse2).
10562 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10565 * localedata/locales/gd_GB (mon): Rename to...
10567 (mon): Import from CLDR (genitive case).
10568 * localedata/locales/hsb_DE (mon): Rename to...
10570 (mon): Import from CLDR (genitive case).
10571 * localedata/locales/wa_BE (mon): Rename to...
10573 (mon): Add, fill with the proper genitive forms, but CLDR data
10574 is incomplete; completed according to the comments in this file.
10575 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10577 * localedata/locales/wa_BE (country_name): Reword
10578 "Beljike" -> "Beldjike".
10580 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10584 cases of non-finite arguments.
10585 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10587 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10590 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10592 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10595 * include/unistd.h (__execvpex): New prototype.
10596 * posix/Makefile (tests): Add tst-spawn4.
10597 (tests-internal): Add tst-spawn4-compat.
10598 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10599 * posix/tst-spawn4-compat.c: New file.
10600 * posix/tst-spawn4.c: Likewise.
10601 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10602 binaries as shell scripts.
10603 * sysdeps/posix/spawni.c (__spawni): Likewise.
10605 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10608 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10609 ($(all-built-dso:=.dynsym): New target.
10610 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10611 ($(objpfx)check-initfini.out): New target.
10612 (generated): Add check-initfini.out.
10613 * scripts/check-initfini.awk: New file.
10614 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10616 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10618 * sysdeps/arm/crti.S (_init): Mark as hidden.
10620 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10622 * sysdeps/i386/crti.S (_init): Mark as hidden.
10624 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10626 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10628 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10630 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10632 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10634 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10636 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10638 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10640 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10642 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10644 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10646 * sysdeps/sh/crti.S (_init): Mark as hidden.
10648 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10650 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10653 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10655 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10656 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10657 and TF redirection to KFtype and KF only when the default
10658 long double type is not the IEEE 128-bit floating point type.
10660 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10662 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10664 (HWCAP_USCAT): Likewise.
10665 (HWCAP_ILRCPC): Likewise.
10666 (HWCAP_FLAGM): Likewise.
10667 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10669 (_dl_aarch64_cap_flags): Add new flag names.
10671 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10672 (MAP_FIXED_NOREPLACE): New macro.
10673 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10674 (MAP_FIXED_NOREPLACE): Likewise.
10675 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10676 (MAP_FIXED_NOREPLACE): Likewise.
10677 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10678 (MAP_FIXED_NOREPLACE): Likewise.
10679 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10680 (MAP_FIXED_NOREPLACE): Likewise.
10681 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10682 (MAP_FIXED_NOREPLACE): Likewise.
10683 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10684 (MAP_FIXED_NOREPLACE): Likewise.
10685 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10686 (MAP_FIXED_NOREPLACE): Likewise.
10687 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10688 (MAP_FIXED_NOREPLACE): Likewise.
10689 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10690 (MAP_FIXED_NOREPLACE): Likewise.
10691 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10692 (MAP_FIXED_NOREPLACE): Likewise.
10693 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10694 (MAP_FIXED_NOREPLACE): Likewise.
10695 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10696 (MAP_FIXED_NOREPLACE): Likewise.
10697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10698 (MAP_FIXED_NOREPLACE): Likewise.
10699 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10700 (MAP_FIXED_NOREPLACE): Likewise.
10702 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10705 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10707 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10710 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10712 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10714 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10716 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10718 * benchtests/scripts/compare_string.py: (process_results) Catch
10719 exception in non-existent base_func and catch exception in
10720 non-existent attribute.
10721 (parse_file) Catch exception if input file does not exist.
10723 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10725 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10726 options to avoid diff calculation and omit header, respectively.
10727 (main): process --no-diff and --no-header
10729 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10730 H.J. Lu <hongjiu.lu@intel.com>
10732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10733 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10736 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10737 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10738 and __wcsncmp_sse2.
10739 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10740 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10741 AVX unaligned load is fast and vzeroupper is preferred.
10742 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10743 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10744 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10745 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10746 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10747 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10748 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10749 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10750 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10751 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10754 2018-06-01 Florian Weimer <fweimer@redhat.com>
10756 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10757 configuring with --disable-multi-arch, building with
10758 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10761 2018-06-01 Florian Weimer <fweimer@redhat.com>
10763 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10764 results from building with “-march=x86-64 -mtune=generic
10765 -mfpmath=sse” and running on a Haswell-era CPU.
10767 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10770 * soft-fp/sqrttf2.c: Remove file.
10771 * soft-fp/sqrtdf2.c: Move to ....
10772 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10774 (__sqrtdf2): Make conditional on
10775 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10777 * soft-fp/sqrtsf2.c: Move to ....
10778 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10780 (__sqrtsf2): Make conditional on
10781 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10783 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10784 (gcc-double-routines): Remove sqrtdf2.
10785 (gcc-quad-routines): Remove sqrttf2.
10786 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10787 Do not filter out sqrtsf2 and sqrtdf2.
10788 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10789 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10791 2018-06-01 Florian Weimer <fweimer@redhat.com>
10793 * sysdeps/generic/libcidn.abilist: Remove file.
10795 2018-06-01 Florian Weimer <fweimer@redhat.com>
10798 * libio/strfile.h (struct _IO_str_fields): Rename members to
10799 discourage their use and add comment.
10800 (_IO_STR_DYNAMIC): Remove unused macro.
10801 * libio/strops.c (_IO_str_init_static_internal): Do not use
10802 callback pointers. Call malloc and free.
10803 (_IO_str_overflow): Do not use callback pointers. Call malloc
10805 (enlarge_userbuf): Likewise.
10806 (_IO_str_finish): Call free.
10807 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10808 _allocate_buffer_unused.
10809 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10811 (enlarge_userbuf): Likewise.
10812 (_IO_wstr_finish): Call free.
10813 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10814 _allocate_buffer_unused, _free_buffer_unused.
10815 * libio/memstream.c (__open_memstream): Likewise.
10816 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10817 * libio/wmemstream.c (open_wmemstream): Likewise.
10819 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10821 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10824 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10826 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10827 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10828 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10830 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10832 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10834 2018-05-29 Florian Weimer <fweimer@redhat.com>
10836 * support/Makefile (libsupport-routines): Add
10837 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10838 xpthread_barrierattr_setpshared.
10839 * support/xpthread_barrierattr_destroy.c: New file.
10840 * support/xpthread_barrierattr_init.c: Likewise.
10841 * support/xpthread_barrierattr_setpshared.c: Likewise.
10843 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10846 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10847 _r_debug and update DT_DEBUG for debugger.
10849 2018-05-29 Florian Weimer <fweimer@redhat.com>
10851 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10852 (tst-strtod5i.out): Likewise.
10854 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10856 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10857 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10858 (sparc64-quad-routines): New variable. Moved from ....
10859 [$(subdir) = soft-fp] (sysdep_routines): Add
10860 $(sparc64-quad-routines). Moved from ....
10861 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10862 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10863 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10865 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10866 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10867 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10868 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10869 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10870 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10871 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10872 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10873 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10874 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10875 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10876 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10877 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10878 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10879 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10880 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10881 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10882 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10883 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10884 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10885 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10886 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10887 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10888 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10889 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10890 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10891 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10892 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10893 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10894 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10895 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10896 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10897 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10898 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10899 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10900 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10902 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10903 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10904 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10905 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10906 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10907 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10908 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10909 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10910 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10911 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10912 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10913 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10914 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10915 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10916 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10917 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10918 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10919 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10920 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10922 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10924 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10925 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10926 (sparc32-quad-routines): New variable. Moved from ....
10927 [$(subdir) = soft-fp] (sysdep_routines): Add
10928 $(sparc32-quad-routines). Moved from ....
10929 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10930 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10932 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10933 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10934 * sysdeps/sparc/sparc32/q_add.c: ... here.
10935 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10936 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10937 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10938 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10939 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10940 * sysdeps/sparc/sparc32/q_div.c: ... here.
10941 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10942 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10943 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10944 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10945 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10946 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10947 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10948 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10949 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10950 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10951 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10952 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10953 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10954 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10955 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10956 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10957 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10958 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10959 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10960 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10961 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10962 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10963 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10964 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10965 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10966 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10967 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10968 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10969 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10970 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10971 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10972 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10973 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10974 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10975 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10976 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10977 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10978 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10979 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10980 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10981 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10982 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10983 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10984 * sysdeps/sparc/sparc32/q_util.c: ... here.
10985 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10986 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10987 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10988 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10990 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10991 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10993 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10994 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10995 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10996 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10998 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11004 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11005 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11007 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11010 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11013 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11015 * sysdeps/sh/Implies: Remove sh/soft-fp.
11016 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11017 * sysdeps/sh/sfp-machine.h: ... here.
11019 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11021 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11022 (__mempcpy_erms): Skip zero length.
11023 (__memmove_erms): Likewise.
11024 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11025 (__memset_erms): Likewise.
11027 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11030 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11031 Add functions moved from ....
11032 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11033 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11034 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11036 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11037 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11038 * sysdeps/alpha/e_sqrtl.c: ... here.
11039 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11040 * sysdeps/alpha/local-soft-fp.h: ... here.
11041 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11042 * sysdeps/alpha/ots_add.c: ... here.
11043 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11044 * sysdeps/alpha/ots_cmp.c: ... here.
11045 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11046 * sysdeps/alpha/ots_cmpe.c: ... here.
11047 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11048 * sysdeps/alpha/ots_cvtqux.c: ... here.
11049 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11050 * sysdeps/alpha/ots_cvtqx.c: ... here.
11051 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11052 * sysdeps/alpha/ots_cvttx.c: ... here.
11053 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11054 * sysdeps/alpha/ots_cvtxq.c: ... here.
11055 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11056 * sysdeps/alpha/ots_cvtxt.c: ... here.
11057 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11058 * sysdeps/alpha/ots_div.c: ... here.
11059 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11060 * sysdeps/alpha/ots_mul.c: ... here.
11061 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11062 * sysdeps/alpha/ots_nintxq.c: ... here.
11063 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11064 * sysdeps/alpha/ots_sub.c: ... here.
11065 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11066 * sysdeps/alpha/sfp-machine.h: ... here.
11068 2018-05-23 Florian Weimer <fweimer@redhat.com>
11076 Switch to extern IDNA implementation (libidn2).
11077 * libidn: Remove subdirectory.
11078 * LICENSES: Do not mention licensing conditions for the removed
11080 * config.h.in (HAVE_LIBIDN): Remove.
11081 * include/dlfcn.h (__libc_dlopen): Update comment.
11082 * include/idna.h: Remove file.
11083 * inet/Makefile (routines): Add idna.
11084 (tests-static, tests-internal): Add tst-idna_name_classify.
11085 (LOCALES): Generate locales for tests.
11086 (tst-idna_name_classify.out): Depend on generated locales.
11087 * inet/idna_name_classify.c: New file.
11088 * inet/tst-idna_name_classify.c: Likewise.
11089 * inet/net-internal.h (__idna_to_dns_encoding)
11090 (__idna_from_dns_encoding): Declare.
11091 * inet/net-internal.h (enum idna_name_classification): Define.
11092 (__idna_name_classify): Declare.
11093 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11094 __idna_from_dns_encoding.
11095 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11096 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11097 name as a fallback in case of encoding errors.
11098 (getnameinfo): Use DEPRECATED_NI_IDN.
11099 * inet/idna.c: New file.
11100 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11101 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11102 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11103 (modules-names): Add tst-no-libidn2.
11104 (extra-test-objs): Add tst-no-libidn2.os.
11105 (LDFLAGS-tst-no-libidn2.so): Set soname.
11106 (LOCALES): Set, and generate locales.
11107 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11108 (tst-resolv-ai_idn-latin1): Likewise.
11109 (tst-resolv-ai_idn-nolibidn2): Likewise.
11110 (tst-resolv-ai_idn.out): Depend on locales.
11111 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11112 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11114 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11115 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11116 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11117 * resolv/tst-resolv-ai_idn.c: New file.
11118 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11119 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11120 * resolv/tst-no-libidn2.c: Likewise.
11121 * support/support_format_addrinfo.c (format_ai_flags): Do not
11122 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11123 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11124 (gaih_inet): Call __idna_to_dns_encoding and
11125 __idna_from_dns_encoding, and use the original (punycode) name if
11126 __idna_from_dns_encoding fails due to an encoding error.
11127 (getaddrinfo): Use DEPRECATED_AI_IDN.
11128 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11129 * sysdeps/unix/inet/configure: Remove file.
11130 * sysdeps/unix/inet/configure.ac: Likewise.
11132 2018-05-23 Florian Weimer <fweimer@redhat.com>
11134 Implement allocate_once.
11135 * include/allocate_once.h: New file.
11136 * misc/allocate_once.c: Likewise.
11137 * misc/tst-allocate_once.c: Likewise.
11138 * misc/Makefile (routines): Add allocate_once.
11139 (tests-internal): Add tst-allocate_once.
11140 (generated): Add tst-allocate_once.mtrace,
11141 tst-allocate_once-mem.out.
11142 (tests-special): Add tst-allocate_once-mem.out.
11143 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11144 (tst-allocate_once-mem.out): Call mtrace.
11145 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11147 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11150 * string/test-memcpy.c (do_test1): New function.
11151 (test_main): Call it.
11153 2018-05-23 Andreas Schwab <schwab@suse.de>
11157 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11158 (L(preloop_large)): Save initial destination pointer in %r11 and
11159 use it instead of %rax after the loop.
11160 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11162 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11164 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11165 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11166 -I../soft-fp. Moved from ....
11167 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11168 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11169 * sysdeps/aarch64/e_sqrtl.c: ... here.
11170 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11171 * sysdeps/aarch64/sfp-machine.h: ... here.
11173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11174 -Wmaybe-uninitialized around access to fq[0].
11175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11179 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11180 aliases for non-libc case of versioned symbols.
11181 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11182 (llseek): Define as compat symbol if
11183 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11185 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11186 Make into a compat symbol, disabled for minimum symbol version
11187 GLIBC_2.28 and later.
11188 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11190 2018-05-22 Florian Weimer <fweimer@redhat.com>
11192 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11193 not add -mpreferred-stack-boundary=4.
11194 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11195 (stack-align-test-flags): Likewise.
11196 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11198 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11199 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11200 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11201 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11202 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11203 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11204 (CFLAGS-tst-align2.c): Likewise.
11206 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11208 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11209 (index_arch_Prefer_FSRM): Likewise.
11210 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11211 Also check Prefer_FSRM.
11212 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11213 Also return OPTIMIZE (erms) for Prefer_FSRM.
11215 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11217 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11218 (index_cpu_FSRM): Likewise.
11219 (reg_FSRM): Likewise.
11221 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11223 * math/gen-tgmath-tests.py: Import sys.
11224 (Tests.__init__): Initialize macros_seen.
11225 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11226 if requested to do so for this macro.
11227 (Tests.add_all_tests): Take argument for macro for which to
11229 (Tests.check_macro_list): New function.
11230 (main): Handle check-list argument and argument specifying macro
11231 for which to generate tests.
11232 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11233 [PYTHON] (tgmath3-macro-tests): Likewise.
11234 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11235 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11236 not test-tgmath3.c.
11237 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11238 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11240 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11241 [PYTHON] ($(foreach
11242 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11244 [PYTHON] (tests-special): Add
11245 $(objpfx)test-tgmath3-macro-list.out.
11246 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11248 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11249 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11253 * time/tzset.c (SECSPERDAY): Cast to time_t.
11254 * time/tst-y2039.c: New file.
11255 * time/Makefile (tests): Add tst-y2039.
11257 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11259 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11260 (PREFETCH_ONE_SET): Remove duplicate line.
11262 2018-05-17 Florian Weimer <fweimer@redhat.com>
11264 * sysdeps/generic/math-type-macros-double.h: Include
11265 <math-nan-payload-double.h> after <libm-alias-double.h>.
11266 * sysdeps/generic/math-type-macros-float.h: Include
11267 <math-nan-payload-float.h> after <libm-alias-float.h>.
11268 * sysdeps/generic/math-type-macros-float128.h: Include
11269 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11270 * sysdeps/generic/math-type-macros-ldouble.h: Include
11271 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11273 2018-05-17 Andreas Schwab <schwab@suse.de>
11275 * resolv/res_send.c (__res_context_send): Don't set errno when
11276 returing error after malloc failure.
11278 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11280 * nptl/allocatestack.c (allocate_stack): Remove the
11281 !__ASSUME_PRIVATE_FUTEX paths.
11282 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11283 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11285 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11286 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11287 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11288 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11289 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11290 !__ASSUME_PRIVATE_FUTEX path.
11291 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11292 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11293 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11294 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11295 !__ASSUME_PRIVATE_FUTEX macros.
11296 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11297 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11299 * sysdeps/unix/sysv/linux/kernel-features.h
11300 (__ASSUME_PRIVATE_FUTEX): Removed.
11302 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11304 * math/Makefile (libm-narrow-fns): Add div.
11305 (libm-test-funcs-narrow): Likewise.
11306 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11307 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11308 * math/gen-auto-libm-tests.c (test_functions): Add div.
11309 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11310 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11311 (NARROW_DIV_TRIVIAL): Likewise.
11312 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11314 (__ddivl): Likewise.
11315 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11317 (CFLAGS-nldbl-ddiv.c): New variable.
11318 (CFLAGS-nldbl-fdiv.c): Likewise.
11319 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11321 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11323 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11324 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11325 * math/auto-libm-test-in: Add tests of div.
11326 * math/auto-libm-test-out-narrow-div: New generated file.
11327 * math/libm-test-narrow-div.inc: New file.
11328 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11331 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11332 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11333 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11342 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11343 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11344 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11345 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11347 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11373 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11376 * nscd/nscd-client.h (sendfileall): Remove prototype.
11377 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11378 (handle_request): Use writeall instead of sendfileall.
11379 * nscd/aicache.c (addhstaiX): Likewise.
11380 * nscd/grpcache.c (cache_addgr): Likewise.
11381 * nscd/hstcache.c (cache_addhst): Likewise.
11382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11383 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11384 * nscd/pwdcache.c (cache_addpw): Likewise.
11385 * nscd/servicescache.c (cache_addserv): Likewise.
11386 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11387 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11391 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11393 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11394 Include <string/strncat.c>.
11395 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11397 (__GI___strncat): New hidden alias.
11399 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/mips/mips32/libm-test-ulps: Update.
11402 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11404 2018-05-16 Florian Weimer <fweimer@redhat.com>
11406 * support/Makefile (libsupport-routines): Add support_quote_blob,
11407 support_test_compare_blob.
11408 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11409 * support/check.h (TEST_COMPARE_BLOB): Define.
11410 (support_test_compare_blob): Declare.
11411 * support/support.h (support_quote_blob): Declare.
11412 * support/support_quote_blob.c: New file.
11413 * support/support_test_compare_blob.c: Likewise.
11414 * support/tst-support_quote_blob.c: Likewise.
11415 * support/tst-test_compare_blob.c: Likewise.
11417 2018-05-16 Florian Weimer <fweimer@redhat.com>
11419 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11420 of <strtod_nan_double.h>.
11421 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11422 instead of SET_MANTISSA.
11423 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11424 of include <strtod_nan_float.h>.
11425 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11426 instead of <strtod_nan_ldouble.h>.
11427 * stdlib/strtod_nan_double.h: Move to ...
11428 * sysdeps/generic/math-nan-payload-double.h: ... here.
11429 (FLOAT): Remove definition.
11430 (SET_MANTISSA): Rename to ...
11431 (SET_NAN_PAYLOAD): ... this.
11432 * stdlib/strtod_nan_float.h: Move to ...
11433 * sysdeps/generic/math-nan-payload-float.h: ... here.
11434 (FLOAT): Remove definition.
11435 (SET_MANTISSA): Rename to ...
11436 (SET_NAN_PAYLOAD): ... this.
11437 * sysdeps/generic/math-type-macros-double.h: Include
11438 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11439 instead of <math-svid-compat.h>.
11440 * sysdeps/generic/math-type-macros-float.h: Include
11441 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11442 instead of <math-svid-compat.h>.
11443 * sysdeps/generic/math-type-macros-float128.h: Include
11444 <math-nan-payload-float128.h>.
11445 * sysdeps/generic/math-type-macros-ldouble.h: Include
11446 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11447 instead of <math-svid-compat.h>.
11448 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11449 check for definition.
11450 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11451 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11452 Include <ieee754_float128.h>.
11453 (FLOAT): Remove definition.
11454 (SET_MANTISSA): Rename to ...
11455 (SET_NAN_PAYLOAD): ... this.
11456 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11457 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11458 Do not include <float128_private.h>.
11459 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11461 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11462 (FLOAT): Remove definition.
11463 (SET_MANTISSA): Rename to ...
11464 (SET_NAN_PAYLOAD): ... this.
11465 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11466 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11467 (FLOAT): Remove definition.
11468 (SET_MANTISSA): Rename to ...
11469 (SET_NAN_PAYLOAD): ... this.
11470 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11471 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11472 (FLOAT): Remove definition.
11473 (SET_MANTISSA): Rename to ...
11474 (SET_NAN_PAYLOAD): ... this.
11475 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11476 of "../stdlib/strtod_nan_double.h".
11477 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11478 of "../stdlib/strtod_nan_float.h".
11479 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11480 instead of "../stdlib/strtod_nan_ldouble.h".
11481 * manual/arith.texi (Parsing of Floats): Adjust comment.
11483 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11485 * math/Makefile (libm-narrow-fns): Add mul.
11486 (libm-test-funcs-narrow): Likewise.
11487 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11488 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11489 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11490 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11491 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11492 (NARROW_MUL_TRIVIAL): Likewise.
11493 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11494 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11496 (__dmull): Likewise.
11497 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11499 (CFLAGS-nldbl-dmul.c): New variable.
11500 (CFLAGS-nldbl-fmul.c): Likewise.
11501 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11505 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11506 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11507 * math/auto-libm-test-in: Add tests of mul.
11508 * math/auto-libm-test-out-narrow-mul: New generated file.
11509 * math/libm-test-narrow-mul.inc: New file.
11510 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11513 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11514 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11515 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11523 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11524 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11525 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11526 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11527 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11529 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11555 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11557 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11558 with *%eax in call.
11560 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11562 * sysdeps/i386/ldsodefs.h: Removed.
11563 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11564 * sysdeps/x86/ldsodefs.h: This.
11565 (La_i86_regs): New.
11566 (La_i86_retval): Likewise.
11567 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11568 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11570 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11572 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11575 2018-05-13 Alan Modra <amodra@gmail.com>
11577 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11578 R_PARISC_TLS_DTPOFF32 reloc addend.
11580 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11582 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11583 * math/math.h: Restrict the prototype definition for the functions
11584 issignaling(_Float128) and iszero(_Float128); and template
11585 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11586 __HAVE_FLOAT128_UNLIKE_LDBL.
11587 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11588 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11589 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11590 __f128() constants; define the type _Float128 as long double;
11591 and reuse long double in __CFLOAT128.
11593 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11595 * sysdeps/generic/math_private.h: Do not include
11597 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11599 * math/fromfp.h: Include <math-barriers.h>.
11600 * math/math-narrow.h: Likewise.
11601 * math/s_nextafter.c: Likewise.
11602 * math/s_nexttowardf.c: Likewise.
11603 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11604 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11605 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11606 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11624 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11627 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11628 * sysdeps/ieee754/k_standardl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11649 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11650 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11652 2018-05-11 Florian Weimer <fweimer@redhat.com>
11654 Use 64-bit epoch values in the time zone file parser.
11655 * include/time.h (internal_time_t): Define.
11656 (__tzfile_compute): Use it.
11657 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11659 (transitions): Switch to internal_time_t.
11660 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11662 (__tzfile_compute): Use internal_time_t for timer argument. Check
11663 for truncation before calling __offtime.
11665 2018-05-11 Florian Weimer <fweimer@redhat.com>
11668 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11669 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11671 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11672 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11673 export without --enable-obsolete-rpc.
11674 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11675 symbol. This should not have been exported, ever.
11677 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11680 * localedata/locales/gd_GB (abmon): Fix typo in May:
11681 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11683 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11685 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11686 Use multiple registers to copy data in loop tail.
11688 * sysdeps/aarch64/multiarch/memmove_falkor.S
11689 (__memmove_falkor): Use multiple registers to move data in
11692 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11694 * math/math-underflow.h: New file.
11695 * sysdeps/generic/math_private.h: Do not include <float.h>.
11696 (fabs_tg): Remove macro. Moved to math-underflow.h.
11697 (min_of_type_f): Likewise.
11698 (min_of_type_): Likewise.
11699 (min_of_type_l): Likewise.
11700 (min_of_type_f128): Likewise.
11701 (min_of_type): Likewise.
11702 (math_check_force_underflow): Likewise.
11703 (math_check_force_underflow_nonneg): Likewise.
11704 (math_check_force_underflow_complex): Likewise.
11705 * math/e_exp2_template.c: Include <math-underflow.h>.
11706 * math/k_casinh_template.c: Likewise.
11707 * math/s_catan_template.c: Likewise.
11708 * math/s_catanh_template.c: Likewise.
11709 * math/s_ccosh_template.c: Likewise.
11710 * math/s_cexp_template.c: Likewise.
11711 * math/s_clog10_template.c: Likewise.
11712 * math/s_clog_template.c: Likewise.
11713 * math/s_csin_template.c: Likewise.
11714 * math/s_csinh_template.c: Likewise.
11715 * math/s_csqrt_template.c: Likewise.
11716 * math/s_ctan_template.c: Likewise.
11717 * math/s_ctanh_template.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11736 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11738 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11741 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11742 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11743 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11746 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11747 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11749 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11795 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11796 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11798 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11803 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11805 * sysdeps/generic/math-barriers.h: New file.
11806 * sysdeps/generic/math_private.h [!math_opt_barrier]
11807 (math_opt_barrier): Move to math-barriers.h.
11808 [!math_opt_barrier] (math_force_eval): Likewise.
11809 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11810 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11812 (math_force_eval): Likewise.
11813 * sysdeps/alpha/fpu/math-barriers.h: New file.
11814 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11816 (math_force_eval): Likewise.
11817 * sysdeps/x86/fpu/math-barriers.h: New file.
11818 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11820 (math_force_eval): Likewise.
11821 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11822 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11823 multiple-include guard for rename.
11824 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11825 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11827 (math_force_eval): Likewise.
11829 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11833 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11835 * stdlib/Makefile (test-bz22786): New test.
11836 * stdlib/test-bz22786.c: New test.
11838 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11840 * include/math-narrow-eval.h: New file. Contents moved from ....
11841 * sysdeps/generic/math_private.h: ... here.
11842 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11843 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11844 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11845 * stdlib/strtod_l.c: Likewise.
11846 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11847 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11848 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11861 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11864 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11868 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11870 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11871 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11872 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11873 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11874 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11876 2018-05-08 Andreas Schwab <schwab@suse.de>
11878 * sysdeps/nptl/internaltypes.h: Fix comment.
11880 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11882 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11883 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11886 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11888 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11889 of I into loop header.
11890 * benchtests/bench-memmove-walk.c
11891 (test_main): Likewise.
11893 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11896 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11897 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11899 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11902 * elf/dl-load.c (open_verify): Fix stack overflow.
11903 * elf/Makefile (tst-big-note): New test.
11904 * elf/tst-big-note-lib.S: New.
11905 * elf/tst-big-note.c: New.
11907 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11909 * scripts/abilist.awk: Ignore absolute symbols.
11910 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11911 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11912 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11913 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11914 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11915 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11916 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11917 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11918 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11919 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11920 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11921 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11923 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11925 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11932 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11933 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11934 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11935 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11936 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11937 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11938 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11939 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11940 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11941 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11942 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11943 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11944 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11945 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11946 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12003 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12017 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12045 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12066 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12085 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12156 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12210 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12224 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12263 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12266 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12267 Use atomic_load_acquire to load __tid.
12269 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12271 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12272 Restore the pointer into %rdx, after syscall and use %rdx,
12273 instead of %rsi, to restore context.
12275 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12277 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12278 Pop the pointer into %rdx after syscall and use %rdx, instead
12279 of %rsi, to restore context.
12281 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12283 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12284 handlers after setjmp.
12285 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12287 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12288 <libc-pointer-arith.h>.
12289 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12290 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12291 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12292 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12293 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12294 * sysdeps/x86/__longjmp_cancel.S: New file.
12295 * sysdeps/x86/longjmp.c: Likewise.
12296 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12298 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12300 * NEWS: Add ustat.h deprecation entry.
12301 * bits/ustat.h: Remove file.
12302 * misc/sys/ustat.h: Likewise.
12303 * misc/ustat.h: Likewise.
12304 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12305 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12306 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12307 compatibility mode.
12308 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12309 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12310 generic Linux implementation.
12312 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12314 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12315 * math/w_expl_compat.c: Likewise.
12316 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12318 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12320 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12322 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12324 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12325 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12326 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12328 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12331 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12332 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12335 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12337 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12339 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12340 * math/w_asin_template.c: Likewise.
12341 * math/w_atanh_template.c: Likewise.
12343 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12345 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12346 to powerpc/powerpc64/be for big-endian.
12347 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12350 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12351 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12352 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12353 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12354 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12356 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12357 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12358 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12359 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12360 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12361 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12362 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12363 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12364 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12365 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12366 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12367 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12368 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12369 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12370 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12372 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12373 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12374 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12375 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12376 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12377 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12378 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12379 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12380 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12381 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12383 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12384 adjusted to imply powerpc64 and older processors on powerpc64/be.
12385 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12386 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12387 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12388 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12389 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12390 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12391 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12392 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12393 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12394 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12395 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12396 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12397 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12398 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12399 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12400 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12401 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12402 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12403 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12404 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12405 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12406 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12407 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12408 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12409 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12410 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12411 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12418 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12419 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12420 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12422 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12423 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12424 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12425 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12427 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12428 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12429 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12430 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12431 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12432 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12433 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12434 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12435 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12436 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12437 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12439 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12440 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12441 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12442 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12443 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12444 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12445 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12447 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12448 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12449 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12451 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12452 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12453 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12454 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12455 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12456 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12457 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12458 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12459 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12460 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12461 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12462 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12464 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12465 and adjusted to imply olders processors.
12466 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12467 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12468 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12469 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12470 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12471 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12472 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12473 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12474 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12475 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12476 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12495 powerpc64 and adjusted.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12501 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12503 * sysdeps/tile: Remove.
12504 * sysdeps/unix/sysv/linux/tile: Likewise.
12505 * README (tilegx-*-linux-gnu): Remove from list of supported
12507 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12508 contribution of support for generic Linux kernel syscall
12510 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12511 tilegx configurations.
12512 (Config.install_linux_headers): Do not handle tile.
12513 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12515 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12516 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12517 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12518 conditional undefine and redefine.
12519 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12521 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12522 conditional undefine and redefine.
12524 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12526 * signal/tst-sigaction.c: New file to test BZ #23069.
12527 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12529 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12532 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12533 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12534 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12535 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12537 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12539 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12540 _DIRENT_MATCHES_DIRENT64 is not defined.
12541 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12542 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12544 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12545 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12547 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12549 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12550 version to GCC 8 branch.
12552 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12554 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12555 (check_no_hidden): Use type of original function when declaring
12558 * sysdeps/unix/sysv/linux/sys/ptrace.h
12559 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12560 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12561 (struct __ptrace_seccomp_metadata): New type.
12562 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12563 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12564 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12565 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12566 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12567 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12568 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12569 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12571 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12573 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12574 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12575 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12576 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12577 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12579 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12581 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12583 * dirent/versionsort.c (versionsort): Likewise.
12584 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12585 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12586 * dirent/versionsort64.c (versionsort64): Likewise.
12587 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12588 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12589 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12590 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12591 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12592 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12594 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12595 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12596 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12602 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12604 * elf/elf.h (NT_PPC_PKEY): New macro.
12606 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12609 * localedata/locales/hr_HR: fix thousands_sep and
12612 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12614 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12615 (XTABS): Define to TAB3.
12617 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12619 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12621 * dirent/scandir-tail-common.c: New file.
12622 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12623 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12624 * dirent/scandir.c: Use scandir-tail-common.c.
12625 * dirent/scandirat.c: Likewise.
12626 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12627 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12628 if _DIRENT_MATCHES_DIRENT64 is defined.
12629 * dirent/scandirat64.c (scandirat64): Likewise.
12630 * include/dirent.h (__scandir_tail): Only define iff
12631 _DIRENT_MATCHES_DIRENT64 is not defined.
12632 (__scandir64_tail): Define regardless.
12633 (__scandirat, scandirat64): Remove libc_hidden_proto.
12634 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12635 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12637 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12638 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12640 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12642 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12644 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12646 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12648 (_dl_aarch64_cap_flags): Add asimdfhm.
12650 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12652 * sysdeps/nios2/libm-test-ulps: Update.
12654 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12656 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12657 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12659 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12661 (_DIRENT_MATCHES_DIRENT64): Undef
12662 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12663 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12664 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12665 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12666 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12667 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12668 use getdents64 syscalls as base.
12669 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12670 symbol if required.
12671 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12672 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12673 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12677 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12678 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12680 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12681 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12683 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12685 * scripts/test_printers_common.py (init_test): Disable lock elision.
12687 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12689 * math/test-tgmath.c (count_double, count_float,
12690 count_ldouble, count_cdouble, count_cfloat,
12691 count_cldouble): Use volatile int.
12693 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12695 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12696 (conformtest-xfail-conds): Add i386-gnu.
12697 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12699 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12700 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12701 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12702 msqid_ds.msg_lrpid): Likewise.
12703 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12705 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12706 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12707 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12708 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12710 (struct statvfs64): Likewise.
12711 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12713 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12714 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12715 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12716 instead of wait_queue.
12717 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12718 instead of vm_area_struct.
12719 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12720 struct sched_param definition to it.
12721 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12722 * bits/types/struct_sched_param.h: New file.
12723 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12724 <bits/types/struct_sched_param.h> instead of <sched.h>.
12725 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12726 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12727 generic version but include <bits/pthreadtypes.h> to make struct
12728 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12729 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12731 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12732 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12733 [__USE_XOPEN] (OFDEL): New macro.
12734 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12735 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12736 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12738 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12739 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12740 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12742 * sysdeps/i386/sys/ucontext.h: Likewise.
12743 * sysdeps/m68k/sys/ucontext.h: Likewise.
12744 * sysdeps/mips/sys/ucontext.h: Likewise.
12745 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12746 * sysdeps/mach/hurd/i386/Makefile
12747 (test-xfail-POSIX/fcntl.h/conform): Add.
12748 (test-xfail-POSIX/signal.h/conform): Add.
12749 (test-xfail-POSIX/semaphore.h/conform): Add.
12750 (test-xfail-POSIX/regex.h/conform): Add.
12751 (test-xfail-POSIX/aio.h/conform): Add.
12752 (test-xfail-POSIX/mqueue.h/conform): Add.
12753 (test-xfail-POSIX/sys/types.h/conform): Add.
12754 (test-xfail-UNIX98/fcntl.h/conform): Add.
12755 (test-xfail-UNIX98/netdb.h/conform): Add.
12756 (test-xfail-UNIX98/signal.h/conform): Add.
12757 (test-xfail-UNIX98/semaphore.h/conform): Add.
12758 (test-xfail-UNIX98/regex.h/conform): Add.
12759 (test-xfail-UNIX98/aio.h/conform): Add.
12760 (test-xfail-UNIX98/ftw.h/conform): Add.
12761 (test-xfail-UNIX98/mqueue.h/conform): Add.
12762 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12763 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12764 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12765 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12766 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12767 (test-xfail-UNIX98/sys/types.h/conform): Add.
12768 (test-xfail-UNIX98/stdlib.h/conform): Add.
12769 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12770 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12771 (test-xfail-POSIX2008/netdb.h/conform): Add.
12772 (test-xfail-POSIX2008/signal.h/conform): Add.
12773 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12774 (test-xfail-POSIX2008/regex.h/conform): Add.
12775 (test-xfail-POSIX2008/aio.h/conform): Add.
12776 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12777 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12778 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12779 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12780 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12781 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12782 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12783 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12784 (test-xfail-XOPEN2K/signal.h/conform): Add.
12785 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12786 (test-xfail-XOPEN2K/regex.h/conform): Add.
12787 (test-xfail-XOPEN2K/aio.h/conform): Add.
12788 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12789 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12790 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12791 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12792 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12793 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12794 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12795 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12796 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12797 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12798 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12799 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12800 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12801 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12802 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12803 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12804 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12805 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12806 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12807 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12808 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12809 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12810 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12811 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12812 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12813 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12814 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12816 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12817 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12819 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12821 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12822 --enable-obsolete for powerpc-linux-gnuspe.
12824 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12826 * conform/data/sys/un.h-data: Allow sun_ prefix.
12827 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12829 * sysdeps/mach/include/mach.h: Likewise.
12830 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12831 * sysdeps/mach/include/mach_error.h: Likewise.
12833 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12835 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12836 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12837 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12838 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12840 2018-04-16 Andreas Schwab <schwab@suse.de>
12843 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12845 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12847 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12848 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12850 2018-04-12 DJ Delorie <dj@redhat.com>
12852 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12855 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12857 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12858 (struct kernel_sigaction): Use the same definition on 31bit as is used
12861 2018-04-09 Florian Weimer <fweimer@redhat.com>
12864 * resolv/res_send.c (send_dg): Use designated initializers instead
12865 of assignment to zero-initialize other fields of struct mmsghdr.
12867 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12869 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12870 __READDIR_ALIAS): Undefine after usage.
12871 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12872 __READDIR_R_ALIAS): Likewise.
12873 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12874 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12875 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12876 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12877 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12878 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12879 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12880 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12881 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12882 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12883 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12885 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12886 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12887 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12888 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12889 * sysdeps/unix/sysv/linux/readdir.c: New file.
12890 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12891 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12892 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12894 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12896 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12898 * manual/charset.texi (Converting a Character): Fix typo.
12900 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12904 * sysdeps/arm/libm-test-ulps: Update.
12906 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12907 as base implementation.
12908 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12909 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12912 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12913 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12914 remove unrequired definitions and update comments.
12915 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12916 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12917 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12918 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12919 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12920 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12922 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12924 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12925 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12926 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12928 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12929 and RESET_SA_RESTORER hooks.
12931 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12933 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12935 2018-04-05 Florian Weimer <fweimer@redhat.com>
12937 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12938 integer overflow, memory leak on error, and indeterminate errno
12939 value. Add a null wide character to terminate the result string.
12940 * manual/charset.texi (Converting a Character): Mention embedded
12941 null bytes in the mbrtowc input string. Explain what happens in
12942 the -2 result case. Do not claim that mbrtowc is simple or
12943 obvious to use. Adjust the description of the code example. Use
12944 @code, not @var, for concrete variables.
12946 2018-04-05 Florian Weimer <fweimer@redhat.com>
12948 * manual/examples/mbstouwcs.c: New file.
12949 * manual/charset.texi (Converting a Character): Include it.
12951 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12953 * include/dirent.h (dirfd): Add hidden proto.
12954 * dirent/dirfd.c (dirfd): Add hidden def.
12955 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12956 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12958 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12960 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12961 sin, cos and sincos to 1 ULP.
12963 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12966 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12968 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12969 * elf/tst-absolute-sym.c: New file.
12970 * elf/tst-absolute-sym-lib.c: New file.
12971 * elf/tst-absolute-sym-lib.lds: New file.
12972 * elf/Makefile (tests): Add `tst-absolute-sym'.
12973 (modules-names): Add `tst-absolute-sym-lib'.
12974 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12975 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12976 ($(objpfx)tst-absolute-sym): New dependency.
12979 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12981 (SYMBOL_ADDRESS): New macro.
12982 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12983 SYMBOL_ADDRESS for symbol address calculation.
12984 * elf/dl-runtime.c (_dl_fixup): Likewise.
12985 (_dl_profile_fixup): Likewise.
12986 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12987 * elf/rtld.c (dl_main): Likewise.
12988 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12989 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12990 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12991 (elf_machine_rela): Likewise.
12992 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12993 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12994 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12995 (elf_machine_rela): Likewise.
12996 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12997 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12998 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12999 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13001 (elf_machine_reloc): Likewise.
13002 (elf_machine_got_rel): Likewise.
13003 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13004 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13007 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13009 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13019 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13022 2018-04-04 Zack Weinberg <zackw@panix.com>
13024 * sysdeps/generic/internal-signals.h: Include signal.h,
13025 sigsetops.h, and stdbool.h.
13026 (__libc_signal_block_all): Actually block all signals.
13027 (__libc_signal_block_app): Likewise.
13028 (__libc_signal_restore_set): Actually restore the signal mask.
13030 2018-04-04 Florian Weimer <fweimer@redhat.com>
13032 inet: Actually build and run tst-deadline.
13033 * inet/Makefile (tests-internal): Add tst-deadline and do not
13034 overwrite the variable.
13035 (tests-static-internal): Remove variable.
13037 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13040 * bits/uio-ext.h (RWF_APPEND): New.
13041 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13042 * manual/llio.texi: Document RWF_APPEND.
13043 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13044 (RWF_SUPPORTED): Add RWF_APPEND.
13046 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13049 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13050 check for internal nptl signals.
13051 * nptl/sigaction.c (__sigaction): Likewise.
13052 * signal/sigaddset.c (sigaddset): Likewise.
13053 * signal/sigdelset.c (sigdelset): Likewise.
13054 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13055 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13057 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13058 to filter out internal nptl signals.
13059 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13060 also check realtime signals using standard macros.
13061 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13062 __is_internal_signal, __libc_signal_block_all,
13063 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13064 * sysdeps/nptl/sigfillset.c: Remove file.
13065 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13066 Change return to bool.
13067 (__clear_internal_signals): Remove SIGTIMER clean since it is
13068 equal to SIGCANEL on Linux.
13069 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13070 signal set was constructed using standard functions.
13072 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13074 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13075 ifname is too long.
13076 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13077 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13078 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13080 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13081 * signal/sigaddset.c: Include <sigsetopts.h>.
13082 * signal/sigdelset.c: Likewise.
13084 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13088 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13089 logic as sin and cos.
13091 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13093 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13094 inputs. Return correct sign.
13095 (do_sincos): Remove small input check before do_sin, let do_sin set
13100 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13102 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13103 (do_cos_slow): Likewise.
13104 (do_sin_slow): Likewise.
13105 (reduce_and_compute): Likewise.
13110 (sloww1): Likewise.
13111 (sloww2): Likewise.
13113 (bslow1): Likewise.
13114 (bslow2): Likewise.
13115 (cslow2): Likewise.
13117 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13119 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13120 (do_cos): Remove corp parameter and calculations.
13121 (do_sin): Likewise.
13122 (do_sincos): Remove cor variable.
13123 (__sin): Use do_sincos for huge inputs.
13125 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13126 (reduce_and_compute_sincos): Remove unused function.
13128 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13130 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13131 reduce_sincos, improve accuracy to 136 bits.
13132 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13133 (__sin): Use improved reduction and simplified do_sincos calculation.
13135 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13137 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13139 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13140 (do_sincos_2): Likewise.
13141 (__sin): Remove middle range reduction case.
13143 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13146 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13148 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13152 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13154 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13156 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13159 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13161 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13162 Remove definitions.
13163 (opendir_oflags): Use O_DIRECTORY regardless.
13164 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13165 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13167 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13170 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13172 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13173 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13174 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13175 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13176 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13177 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13179 * htl/Makefile: Bump licence to LGPL 2.1+.
13180 * htl/alloca_cutoff.c: Likewise.
13181 * htl/cthreads-compat.c: Likewise.
13182 * htl/lockfile.c: Likewise.
13183 * htl/pt-alloc.c: Likewise.
13184 * htl/pt-cancel.c: Likewise.
13185 * htl/pt-cleanup.c: Likewise.
13186 * htl/pt-create.c: Likewise.
13187 * htl/pt-dealloc.c: Likewise.
13188 * htl/pt-detach.c: Likewise.
13189 * htl/pt-exit.c: Likewise.
13190 * htl/pt-getattr.c: Likewise.
13191 * htl/pt-initialize.c: Likewise.
13192 * htl/pt-internal.h: Likewise.
13193 * htl/pt-join.c: Likewise.
13194 * htl/pt-self.c: Likewise.
13195 * htl/pt-setcancelstate.c: Likewise.
13196 * htl/pt-setcanceltype.c: Likewise.
13197 * htl/pt-sigmask.c: Likewise.
13198 * htl/pt-spin-inlines.c: Likewise.
13199 * htl/pt-testcancel.c: Likewise.
13200 * htl/pt-yield.c: Likewise.
13201 * htl/tests/test-1.c: Likewise.
13202 * htl/tests/test-10.c: Likewise.
13203 * htl/tests/test-11.c: Likewise.
13204 * htl/tests/test-12.c: Likewise.
13205 * htl/tests/test-13.c: Likewise.
13206 * htl/tests/test-14.c: Likewise.
13207 * htl/tests/test-15.c: Likewise.
13208 * htl/tests/test-16.c: Likewise.
13209 * htl/tests/test-17.c: Likewise.
13210 * htl/tests/test-2.c: Likewise.
13211 * htl/tests/test-3.c: Likewise.
13212 * htl/tests/test-4.c: Likewise.
13213 * htl/tests/test-5.c: Likewise.
13214 * htl/tests/test-6.c: Likewise.
13215 * htl/tests/test-7.c: Likewise.
13216 * htl/tests/test-8.c: Likewise.
13217 * htl/tests/test-9.c: Likewise.
13218 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13219 * sysdeps/htl/bits/cancelation.h: Likewise.
13220 * sysdeps/htl/bits/pthread-np.h: Likewise.
13221 * sysdeps/htl/bits/pthread.h: Likewise.
13222 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13223 * sysdeps/htl/bits/semaphore.h: Likewise.
13224 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13225 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13226 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13227 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13228 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13229 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13230 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13231 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13232 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13233 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13234 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13235 * sysdeps/htl/old_pt-atfork.c: Likewise.
13236 * sysdeps/htl/pt-atfork.c: Likewise.
13237 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13238 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13239 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13240 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13241 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13242 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13243 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13244 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13245 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13246 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13247 * sysdeps/htl/pt-attr-init.c: Likewise.
13248 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13249 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13250 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13251 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13252 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13253 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13254 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13255 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13256 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13257 * sysdeps/htl/pt-attr.c: Likewise.
13258 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13259 * sysdeps/htl/pt-barrier-init.c: Likewise.
13260 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13261 * sysdeps/htl/pt-barrier.c: Likewise.
13262 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13263 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13264 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13265 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13266 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13267 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13268 * sysdeps/htl/pt-cond-init.c: Likewise.
13269 * sysdeps/htl/pt-cond-signal.c: Likewise.
13270 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13271 * sysdeps/htl/pt-cond-wait.c: Likewise.
13272 * sysdeps/htl/pt-cond.c: Likewise.
13273 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13274 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13275 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13276 * sysdeps/htl/pt-condattr-init.c: Likewise.
13277 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13278 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13279 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13280 * sysdeps/htl/pt-equal.c: Likewise.
13281 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13282 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13283 * sysdeps/htl/pt-getschedparam.c: Likewise.
13284 * sysdeps/htl/pt-getspecific.c: Likewise.
13285 * sysdeps/htl/pt-init-specific.c: Likewise.
13286 * sysdeps/htl/pt-key-create.c: Likewise.
13287 * sysdeps/htl/pt-key-delete.c: Likewise.
13288 * sysdeps/htl/pt-key.h: Likewise.
13289 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13290 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13291 * sysdeps/htl/pt-mutex-init.c: Likewise.
13292 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13293 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13294 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13295 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13296 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13297 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13298 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13299 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13300 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13301 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13302 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13303 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13304 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13305 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13306 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13307 * sysdeps/htl/pt-mutexattr.c: Likewise.
13308 * sysdeps/htl/pt-once.c: Likewise.
13309 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13310 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13311 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13312 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13313 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13314 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13315 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13316 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13317 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13318 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13319 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13320 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13321 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13322 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13323 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13324 * sysdeps/htl/pt-setschedparam.c: Likewise.
13325 * sysdeps/htl/pt-setschedprio.c: Likewise.
13326 * sysdeps/htl/pt-setspecific.c: Likewise.
13327 * sysdeps/htl/pt-spin.c: Likewise.
13328 * sysdeps/htl/pt-startup.c: Likewise.
13329 * sysdeps/htl/pthread.h: Likewise.
13330 * sysdeps/htl/sem-close.c: Likewise.
13331 * sysdeps/htl/sem-destroy.c: Likewise.
13332 * sysdeps/htl/sem-getvalue.c: Likewise.
13333 * sysdeps/htl/sem-init.c: Likewise.
13334 * sysdeps/htl/sem-open.c: Likewise.
13335 * sysdeps/htl/sem-post.c: Likewise.
13336 * sysdeps/htl/sem-timedwait.c: Likewise.
13337 * sysdeps/htl/sem-trywait.c: Likewise.
13338 * sysdeps/htl/sem-unlink.c: Likewise.
13339 * sysdeps/htl/sem-wait.c: Likewise.
13340 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13341 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13342 * sysdeps/mach/htl/pt-block.c: Likewise.
13343 * sysdeps/mach/htl/pt-spin.c: Likewise.
13344 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13345 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13346 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13347 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13348 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13349 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13350 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13351 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13352 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13353 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13354 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13355 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13356 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13357 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13358 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13359 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13360 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13361 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13362 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13363 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13364 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13365 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13366 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13367 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13368 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13369 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13370 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13371 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13372 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13373 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13374 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13375 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13376 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13377 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13378 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13379 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13380 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13381 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13382 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13383 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13384 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13385 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13386 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13388 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13389 * README: Remove the mention of out-of-tree patches needed for
13392 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13393 (UTIME_NOW, UTIME_OMIT): Define macros.
13395 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13396 instead of pthread_detach.
13397 (__cthread_fork): Call __pthread_create instead of pthread_create.
13398 (__cthread_keycreate): Call __pthread_key_create instead of
13399 pthread_key_create.
13400 (__cthread_getspecific): Call __pthread_getspecific instead of
13401 pthread_getspecific.
13402 (__cthread_setspecific): Call __pthread_setspecific instead of
13403 pthread_setspecific.
13404 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13405 __pthread_mutex_unlock instead of pthread_mutex_lock and
13406 pthread_mutex_unlock.
13407 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13408 ___pthread_get_cleanup_stack.
13409 (__pthread_get_cleanup_stack): New strong alias.
13410 * htl/pt-create.c: Include <pthreadP.h>.
13411 (entry_point): Call __pthread_exit instead of pthread_exit.
13412 (pthread_create): Rename to __pthread_create.
13413 (pthread_create): New strong alias.
13414 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13415 (pthread_detach): New strong alias.
13416 (__pthread_detach): Call __pthread_cond_broadcast instead of
13417 pthread_cond_broadcast.
13418 * htl/pt-exit.c: Include <pthreadP.h>.
13419 (__pthread_exit): Call __pthread_setcancelstate and
13420 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13421 __pthread_get_cleanup_stack.
13422 * htl/pt-testcancel.c: Include <pthreadP.h>.
13423 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13424 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13425 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13426 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13427 pthread_attr_getstacksize.
13428 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13429 Rename to __pthread_attr_getstackaddr.
13430 (pthread_attr_getstackaddr): New strong alias.
13431 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13432 Rename to __pthread_attr_getstacksize.
13433 (pthread_attr_getstacksize): New strong alias.
13434 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13435 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13436 (pthread_attr_setstack): New strong alias.
13437 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13438 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13439 pthread_attr_getstacksize, pthread_attr_setstacksize and
13440 pthread_attr_setstackaddr.
13441 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13442 Rename to __pthread_attr_setstackaddr.
13443 (pthread_attr_setstackaddr): New strong alias.
13444 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13445 Rename to __pthread_attr_setstacksize.
13446 (pthread_attr_setstacksize): New strong alias.
13447 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13448 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13450 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13451 (__pthread_key_create): New hidden def.
13452 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13453 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13454 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13455 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13456 __pthread_setspecific, __pthread_setcancelstate,
13457 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13458 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13459 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13461 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13462 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13463 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13464 (pthread_attr_setstackaddr): New strong alias.
13465 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13466 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13467 (pthread_attr_setstacksize): New strong alias.
13468 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13469 (call_exit): Call __pthread_exit instead of pthread_exit.
13470 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13471 (_pthread_mutex_init): New hidden definition.
13472 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13473 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13474 instead of pthread_attr_init and pthread_attr_setstack.
13476 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13477 __vm_deallocate instead of vm_allocate and vm_deallocate.
13478 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13480 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13482 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13484 * hurd/siginfo.c: Include <libioP.h>.
13485 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13486 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13488 * mach/devstream.c: Include <libioP.h>.
13489 (dealloc_ref): Call __mach_port_deallocate instead of
13490 mach_port_deallocate.
13491 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13492 Call __mach_port_deallocate instead of mach_port_deallocate.
13493 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13495 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13497 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13498 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13499 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13501 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13503 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13504 instead of sysconf.
13505 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13506 __clock_gettime instead of clock_gettime.
13507 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13508 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13509 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13510 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13511 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13513 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13514 __clock_gettime and __nanosleep instead of clock_gettime and
13516 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13517 __hurd_catch_signal.
13518 (hurd_catch_signal): New strong alias.
13519 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13520 __hurd_catch_signal instead of hurd_catch_signal.
13521 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13522 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13523 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13524 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13525 (_hurd_thread_sigstate): Add hidden def.
13526 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13528 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13529 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13530 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13531 __hurd_file_name_path_lookup.
13532 (hurd_file_name_path_lookup): New strong alias.
13533 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13534 hurd_file_name_path_lookup.
13535 * mach/errstring.c (mach_error_type): Add hidden def.
13536 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13537 * mach/mutex-init.c (__mutex_init): Add hidden def.
13538 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13539 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13540 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13541 * sysdeps/mach/hurd/getcwd.c
13542 (_hurd_canonicalize_directory_name_internal): Rename to
13543 __hurd_canonicalize_directory_name_internal.
13544 (_hurd_canonicalize_directory_name_internal): New strong alias.
13545 (__canonicalize_directory_name_internal, __getcwd): Call
13546 __hurd_canonicalize_directory_name_internal instead of
13547 _hurd_canonicalize_directory_name_internal.
13548 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13549 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13551 * sysdeps/hurd/include/hurd.h: New file.
13552 * sysdeps/hurd/include/hurd/fd.h: New file.
13553 * sysdeps/hurd/include/hurd/signal.h: New file.
13554 * sysdeps/mach/include/lock-intern.h: New file.
13555 * sysdeps/mach/include/mach.h: New file.
13556 * sysdeps/mach/include/mach/mig_support.h: New file.
13557 * sysdeps/mach/include/mach_error.h: New file.
13558 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13560 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13561 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13562 _HEADER_H_HIDDEN_DEF macro.
13563 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13564 _hurd_fd_error_signal): Add hidden prototype.
13565 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13567 * libio/iolibio.h (_IO_puts): New hidden prototype.
13568 * libio/ioputs.c (_IO_puts): New hidden def.
13569 * sysdeps/mach/hurd/localplt.data: New file.
13571 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13572 Amos Jeffries <squid3@treenet.co.nz>
13573 David Michael <fedora.dm0@gmail.com>
13574 Marco Gerards <marco@gnu.org>
13575 Marcus Brinkmann <marcus@gnu.org>
13576 Neal H. Walfield <neal@gnu.org>
13577 Pino Toscano <toscano.pino@tiscali.it>
13578 Richard Braun <rbraun@sceen.net>
13579 Roland McGrath <roland@gnu.org>
13580 Samuel Thibault <samuel.thibault@ens-lyon.org>
13581 Thomas DiModica <ricinwich@yahoo.com>
13582 Thomas Schwinge <tschwinge@gnu.org>
13584 * htl: New directory.
13585 * sysdeps/htl: New directory.
13586 * sysdeps/hurd/htl: New directory.
13587 * sysdeps/i386/htl: New directory.
13588 * sysdeps/mach/htl: New directory.
13589 * sysdeps/mach/hurd/htl: New directory.
13590 * sysdeps/mach/hurd/i386/htl: New directory.
13591 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13592 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13593 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13595 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13597 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13598 signals in thread created for runing timers.
13600 2018-04-01 Florian Weimer <fweimer@redhat.com>
13602 * support/support_format_addrinfo.c (support_format_addrinfo):
13603 Include unknown error number in formatted result.
13605 2018-03-29 Florian Weimer <fweimer@redhat.com>
13607 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13610 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13612 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13613 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13614 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13615 (__ASSUME_CLONE_BACKWARDS): Define.
13617 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13621 early when linux sentinel value is set.
13623 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13625 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13627 2018-03-27 Andreas Schwab <schwab@suse.de>
13630 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13631 allocation of private copy of nsaddr_list fails.
13633 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13636 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13637 * sysdeps/unix/sysv/linux/umount.c: ... here.
13638 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13639 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13640 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13641 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13643 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13644 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13646 2018-03-26 Andreas Schwab <schwab@suse.de>
13648 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13649 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13650 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13651 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13652 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13653 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13654 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13655 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13656 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13657 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13658 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13659 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13660 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13661 (R_RISCV_NUM): Define.
13663 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13665 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13666 TLS declaration of errno.
13667 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13669 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13670 (ARCH_SETUP_TLS): Likewise.
13671 * sysdeps/mach/hurd/libc-start.h: New file copied from
13672 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13673 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13674 instead of __libc_setup_tls.
13675 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13676 __libc_setup_tls before initializing libpthread and running _hurd_init
13677 which starts the signal thread.
13678 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13680 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13682 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13685 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13686 after it is defined.
13688 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13689 Max Horn <max@quendi.de>
13693 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13695 * string/test-memmove.c (do_test2): New testcase.
13697 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13699 * sysdeps/generic/frame.h: Remove file.
13700 * sysdeps/arm/frame.h: Likewise.
13701 * sysdeps/hppa/frame.h: Likewise.
13702 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13704 (GET_FRAME): Likewise.
13705 (GET_STACK): Likewise.
13706 (CALL_SIGHANDLER): Likewise.
13707 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13709 (GET_FRAME): Likewise.
13710 (GET_STACK): Likewise.
13711 (CALL_SIGHANDLER): Likewise.
13712 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13713 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13714 (GET_FRAME): Likewise.
13715 (GET_STACK): Likewise.
13716 (CALL_SIGHANDLER): Likewise.
13717 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13718 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13719 (GET_FRAME): Likewise.
13720 (GET_STACK): Likewise.
13721 (ADVANCE_STACK_FRAME): Likewise.
13722 (CALL_SIGHANDLER): Likewise.
13723 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13724 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13725 (GET_FRAME): Likewise.
13726 (GET_STACK): Likewise.
13727 (CALL_SIGHANDLER): Likewise.
13728 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13730 (GET_FRAME): Likewise.
13731 (GET_STACK): Likewise.
13732 (CALL_SIGHANDLER): Likewise.
13733 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13735 (GET_FRAME): Likewise.
13736 (GET_STACK): Likewise.
13737 (CALL_SIGHANDLER): Likewise.
13738 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13740 (GET_FRAME): Likewise.
13741 (GET_STACK): Likewise.
13742 (CALL_SIGHANDLER): Likewise.
13743 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13745 (GET_FRAME): Likewise.
13746 (GET_STACK): Likewise.
13747 (CALL_SIGHANDLER): Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13750 (GET_FRAME): Likewise.
13751 (GET_STACK): Likewise.
13752 (CALL_SIGHANDLER): Likewise.
13753 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13754 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13755 (GET_FRAME): Likewise.
13756 (GET_STACK): Likewise.
13757 (CALL_SIGHANDLER): Likewise.
13758 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13759 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13760 (GET_FRAME): Likewise.
13761 (GET_STACK): Likewise.
13762 (CALL_SIGHANDLER): Likewise.
13763 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13764 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13765 (GET_FRAME): Likewise.
13766 (GET_STACK): Likewise.
13767 (CALL_SIGHANDLER): Likewise.
13768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13769 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13770 (FIRST_FRAME_POINTER): Likewise.
13771 (ADVANCE_STACK_FRAME): Likewise.
13772 (GET_STACK): Likewise.
13773 (GET_FRAME): Likewise.
13774 (CALL_SIGHANDLER): Likewise.
13775 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13776 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13777 (ADVANCE_STACK_FRAME): Likewise.
13778 (GET_STACK): Likewise.
13779 (GET_FRAME): Likewise.
13780 (CALL_SIGHANDLER): Likewise.
13781 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13782 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13783 (GET_FRAME): Likewise.
13784 (GET_STACK): Likewise.
13785 (CALL_SIGHANDLER): Likewise.
13786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13787 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13788 (GET_FRAME): Likewise.
13789 (GET_STACK): Likewise.
13790 (CALL_SIGHANDLER): Likewise.
13792 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13794 * sysdeps/x86_64/backtrace.c: Move to ....
13795 * debug/backtrace.c: ... here.
13796 * sysdeps/aarch64/backtrace.c: Remove file.
13797 * sysdeps/alpha/backtrace.c: Likewise.
13798 * sysdeps/hppa/backtrace.c: Likewise.
13799 * sysdeps/ia64/backtrace.c: Likewise.
13800 * sysdeps/mips/backtrace.c: Likewise.
13801 * sysdeps/nios2/backtrace.c: Likewise.
13802 * sysdeps/riscv/backtrace.c: Likewise.
13803 * sysdeps/sh/backtrace.c: Likewise.
13804 * sysdeps/tile/backtrace.c: Likewise.
13806 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13809 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13812 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13815 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13816 possibly overflowing computations.
13818 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13820 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13821 values from Linux-specific section now that it is in the GNU section.
13822 * sysdeps/gnu/errlist.c: Regenerate.
13824 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13826 * math/Makefile (libm-narrow-fns): Add sub.
13827 (libm-test-funcs-narrow): Likewise.
13828 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13829 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13830 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13831 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13832 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13833 (NARROW_SUB_TRIVIAL): Likewise.
13834 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13836 (__dsubl): Likewise.
13837 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13839 (CFLAGS-nldbl-dsub.c): New variable.
13840 (CFLAGS-nldbl-fsub.c): Likewise.
13841 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13845 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13846 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13847 * math/auto-libm-test-in: Add tests of sub.
13848 * math/auto-libm-test-out-narrow-sub: New generated file.
13849 * math/libm-test-narrow-sub.inc: New file.
13850 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13853 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13854 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13855 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13864 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13865 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13866 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13867 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13869 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13897 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13900 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13902 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13904 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13906 2018-03-18 Richard Braun <rbraun@sceen.net>
13908 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13911 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13913 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13914 (__libc_cleanup_fct): Define function.
13915 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13916 __libc_cleanup_end): Rewrite implementation using
13917 __attribute__ ((__cleanup__)).
13918 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13919 * hurd/Makefile (routines): Add hurdlock.
13920 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13922 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13923 * hurd/hurdpid.c: Include <lowlevellock.h>
13924 (_S_msg_proc_newids): Use lll_wait to synchronize.
13925 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13926 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13927 * mach/Makefile (lock-headers): Remove machine-lock.h.
13928 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13930 (__spin_lock_t): New type.
13931 (__SPIN_LOCK_INITIALIZER): New macro.
13932 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13933 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13934 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13935 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13936 (__mutex_init): Initialize with lll.
13937 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13938 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13940 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13941 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13942 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13943 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13944 (__setpgid): Use lll for synchronization.
13945 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13946 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13947 instead of <cthreads.h>.
13948 (_IO_lock_inexpensive): New macro
13949 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13950 (__libc_lock_self0): New declaration.
13951 (__libc_lock_owner_self): New macro.
13952 (__libc_key_t): Remove type.
13953 (_LIBC_LOCK_INITIALIZER): New macro.
13954 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13955 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13956 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13957 __libc_lock_define_initialized_recursive,
13958 __rtld_lock_define_initialized_recursive,
13959 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13960 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13961 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13962 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13963 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13964 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13965 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13967 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13968 * hurd/hurdlock.c: New file.
13969 * hurd/hurdlock.h: New file.
13970 * mach/lowlevellock.h: New file
13972 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13974 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13975 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13976 when opening a symlink with O_NOFOLLOW.
13977 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13978 path when flags contains O_NOFOLLOW.
13979 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13980 if flags contains O_DIRECTORY and the result is a directory.
13981 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13982 oneself when the pointer given in D is nul (as set by ext2fs).
13983 * sysdeps/mach/hurd/mlockall.c: New file.
13984 * sysdeps/mach/hurd/munlockall.c: New file.
13986 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13988 * hurd/hurdsig.c: Include <pthread.h>.
13989 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13990 get the signal thread stack layout.
13991 * hurd/Makefile (headers): Remove threadvar.h.
13992 (inline-headers): Remove threadvar.h.
13993 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13994 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13995 __hurd_threadvar_max, __hurd_errno_location.
13996 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13997 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13998 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13999 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14000 unless TLS is not initialized yet, in which case we do not need a
14001 critical section yet anyway.
14002 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14004 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14006 (__hurd_threadvar_index): Remove enum.
14007 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14008 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14010 (__hurd_reply_port0): New variable declaration.
14011 (__hurd_local_reply_port): New macro.
14012 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14013 (interrupted_reply_port_location): Add thread_t parameter. Use it
14014 with THREAD_TCB to access thread-local variables.
14015 (_hurdsig_abort_rpcs): Pass ss->thread to
14016 interrupted_reply_port_location.
14017 (_hurd_internal_post_signal): Likewise.
14018 (_hurdsig_init): Use presence of cthread_fork instead of
14019 __hurd_threadvar_stack_mask to start signal thread by hand.
14020 Remove signal thread threadvar initialization.
14021 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14022 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14023 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14025 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14027 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14028 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14029 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14030 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14031 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14032 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14033 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14035 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14036 <hurd/threadvar.h>.
14037 [IS_IN(rtld)] (rtld_errno): New variable.
14038 [IS_IN(rtld)] (__errno_location): New weak function.
14039 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14040 * sysdeps/mach/hurd/errno.c: Remove file.
14041 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14042 (__fork): Remove THREADVAR_SPACE macro and its use.
14043 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14045 (init): Do not initialize threadvar.
14046 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14048 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14049 __hurd_local_reply_port instead of threadvar.
14050 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14051 _hurd_sigstate fields.
14052 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14053 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14054 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14055 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14056 instead of threadvar.
14057 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14058 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14059 (use_threadvar, global_reply_port): Remove variables.
14060 (__hurd_reply_port0): New variable.
14061 (__mig_get_reply_port): Use __hurd_local_reply_port and
14062 __hurd_reply_port0 instead of threadvar.
14063 (__mig_dealloc_reply_port): Likewise.
14064 (__mig_init): Do not initialize threadvar.
14065 * sysdeps/mach/hurd/profil.c: Fix comment.
14066 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14067 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14068 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14069 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14070 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14071 __cthread_setspecific.
14072 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14073 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14074 __cthread_t instead of cthread_fork, cthread_detach,
14075 pthread_getattr_np, pthread_attr_getstack.
14076 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14077 __cthread_keycreate.
14078 (cthread_getspecific): Rename to __cthread_getspecific.
14079 (cthread_setspecific): Rename to __cthread_setspecific.
14080 (__libc_getspecific): Use __cthread_getspecific instead of
14081 cthread_getspecific.
14082 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14083 __cthread_keycreate instead of cthread_keycreate.
14084 (__libc_setspecific): Use __cthread_setspecific instead of
14085 cthread_setspecific.
14086 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14089 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14090 testing whether it is defined.
14092 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14094 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14096 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14097 * sysdeps/mach/i386/thread_state.h
14098 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14100 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14102 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14104 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14105 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14107 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14109 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14110 descriptor instead of creating a new one.
14111 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14113 * mach/setup-thread.c: Include <ldsodefs.h>.
14114 (__mach_setup_thread): Call _dl_allocate_tls, pass
14115 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14116 MACHINE_THREAD_STATE_FLAVOR, before getting
14117 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14118 MACHINE_THREAD_STATE_FLAVOR with the result.
14119 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14120 MACHINE_THREAD_STATE_FIX_NEW.
14121 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14122 too. Add original thread parameter.
14124 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14126 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14127 Remove inline function.
14129 * sysdeps/i386/fpu/libm-test-ulps: Update.
14130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14132 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14134 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14137 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14139 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14140 (__sincos_code): Remove define and undefine.
14141 [__FAST_MATH__] (__sincos): Remove inline function.
14142 [__FAST_MATH__] (__sincosf): Remove inline function.
14143 [__FAST_MATH__] (__sincosl): Remove inline function.
14144 (__atan2l): Remove inline functions.
14145 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14146 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14148 (floor): Remove inline function.
14150 [__FAST_MATH__] (__ldexp_code): Remove macro.
14151 [__FAST_MATH__] (ldexp): Remove inline function.
14152 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14153 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14154 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14155 [__USE_ISOC99] (__lrint_code): Remove macro.
14156 [__USE_ISOC99] (__llrint_code): Likewise.
14157 [__USE_ISOC99] (lrintf): Remove inline function.
14158 [__USE_ISOC99] (lrint): Likewise.
14159 [__USE_ISOC99] (lrintl): Likewise.
14160 [__USE_ISOC99] (llrint): Likewise.
14161 [__USE_ISOC99] (llrintf): Likewise.
14162 [__USE_ISOC99] (llrintl): Likewise.
14164 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14166 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14167 (__ieee754_sqrtf): Remove.
14168 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14169 (__ieee754_sqrtf): Remove.
14170 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14171 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14172 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14173 (__ieee754_sqrtf): Remove.
14174 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14175 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14178 (__ieee754_sqrt): Remove.
14179 (__ieee754_sqrtf): Remove.
14180 (__ieee754_sqrtl): Remove.
14181 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14182 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14183 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14184 (__ieee754_sqrtf): Remove.
14185 (__ieee754_sqrtl): Remove.
14187 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14189 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14190 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14191 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14192 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14193 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14196 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14198 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14199 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14200 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14201 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14202 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14203 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14204 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14205 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14206 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14207 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14208 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14209 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14210 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14211 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14212 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14213 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14214 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14215 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14216 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14223 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14227 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14228 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14229 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14230 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14231 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14232 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14234 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14235 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14237 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14239 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14241 * include/math.h (sqrt): Declare with asm redirect.
14244 (sqrtf128): Likewise.
14245 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14246 nonlib and libnldbl with -fmath-errno.
14247 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14248 * math/w_sqrt_template.c: Likewise.
14249 * math/w_sqrtf_compat.c: Likewise.
14250 * math/w_sqrtl_compat.c: Likewise.
14251 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14252 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14253 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14256 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14258 * benchtests/Makefile: Define _ISOMAC.
14259 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14260 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14261 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14262 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14263 * benchtests/bench-timing.h: Define attribute_hidden.
14265 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14267 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14270 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14273 * localedata/locales/cs_CZ (mon): Rename to...
14275 (mon): Import from CLDR (genitive case).
14277 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14280 * localedata/locales/el_CY (abmon): Rename to...
14281 (ab_alt_mon): This.
14282 (abmon): Import from CLDR (abbreviated genitive case).
14283 * localedata/locales/el_GR (abmon): Rename to...
14284 (ab_alt_mon): This.
14285 (abmon): Import from CLDR (abbreviated genitive case).
14287 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14290 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14292 2018-03-15 Robert Buj <robert.buj@gmail.com>
14295 * localedata/locales/ca_ES (abmon): Rename to...
14296 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14297 (mon): Rename to...
14299 (abmon): Import from CLDR (genitive case, month names preceded by
14302 (abday): Synchronize with CLDR.
14303 (d_t_fmt): Likewise.
14307 (LC_TIME): Improve indentation.
14308 (LC_TELEPHONE): Likewise.
14309 (LC_NAME): Likewise.
14310 (LC_ADDRESS): Likewise.
14312 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14314 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14315 (lrintf): Remove definitions used only with old GCC.
14316 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14317 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14318 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14319 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14320 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14321 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14322 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14323 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14324 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14325 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14326 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14327 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14328 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14329 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14330 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14335 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14336 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14337 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14338 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14339 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14340 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14341 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14342 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14343 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14345 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14347 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14348 instruction to unbreak builds with binutils 2.26 and older.
14350 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14352 * sysdeps/aarch64/strncmp.S (count): New macro.
14353 (strncmp): Store misaligned length in SRC1 in COUNT.
14354 (mutual_align): Adjust.
14355 (misaligned8): Load dword at a time when it is safe.
14357 2018-03-12 Zack Weinberg <zackw@panix.com>
14361 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14362 if the _IO_EOF_SEEN bit is already set; update commentary.
14363 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14364 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14366 * support/support_openpty.c, support/tty.h: New files.
14367 * support/Makefile (libsupport-routines): Add support_openpty.
14369 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14371 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14372 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14374 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14376 * po/pt_BR.po: Update translations.
14378 2018-03-12 David Michael <fedora.dm0@gmail.com>
14380 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14381 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14382 get a port to the startup server.
14384 2018-03-11 Zack Weinberg <zackw@panix.com>
14386 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14387 before nldbl-compat.h.
14389 2018-03-10 Zack Weinberg <zackw@panix.com>
14391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14392 math.h or math_private.h.
14394 * sysdeps/alpha/fpu/s_isnan.c
14395 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14396 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14401 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14402 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14403 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14408 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14409 Include math_private.h.
14411 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14412 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14413 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14414 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14415 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14416 * sysdeps/powerpc/power7/fpu/s_logb.c:
14417 Include math.h and math_private.h.
14419 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14420 uses of $at in .set noat / .set at.
14422 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14424 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14425 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14426 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14430 2018-03-09 Florian Weimer <fweimer@redhat.com>
14432 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14435 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14438 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14439 Add nop before __startcontext, add explaining comments.
14441 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14444 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14446 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14447 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14448 Do not build hardware transactional code for __SPE__.
14449 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14450 (__lll_trylock_elision): Likewise.
14451 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14452 (__lll_unlock_elision): Likewise.
14454 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14455 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14456 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14457 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14458 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14459 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14460 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14461 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14462 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14463 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14464 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14465 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14466 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14467 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14468 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14469 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14470 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14471 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14472 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14473 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14474 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14475 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14476 (__ASSUME_CLONE_BACKWARDS): Define.
14477 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14478 __clone2 if __NR_clone2 is defined.
14479 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14480 (__ASSUME_CLONE_BACKWARDS): Likewise.
14481 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14482 (__ASSUME_CLONE_BACKWARDS): Likewise.
14483 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14484 (__ASSUME_CLONE2): Likewise.
14485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14486 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14487 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14488 variants and the define architecture can use.
14489 (__ASSUME_CLONE_DEFAULT): Define as default.
14490 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14491 (__ASSUME_CLONE_BACKWARDS): Likewise.
14492 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14493 (__ASSUME_CLONE_BACKWARDS): Likewise.
14494 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14495 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14497 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14499 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14501 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14504 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14505 (do_test_limit): Likewise.
14507 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14508 for every implementation.
14509 (do_test): Likewise.
14511 * benchtests/bench-strncmp.c: Convert output to json.
14513 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14515 * io/futimens.c: Add missing start-of-file descriptive comment.
14516 * io/utime.c: Likewise.
14517 * misc/futimesat.c: Likewise.
14518 * misc/utimes.c: Likewise.
14519 * sysdeps/mach/hurd/futimesat.c: Likewise.
14520 * sysdeps/mach/hurd/utimes.c: Likewise.
14521 * sysdeps/posix/utime.c: Likewise.
14522 * sysdeps/posix/utimes.c: Likewise.
14523 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14524 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14525 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14526 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14528 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14530 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14532 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14533 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14534 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14535 (__futimens): Move implementation to...
14536 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14537 utime_tvalue_from_tspec): ... new helper functions.
14538 (hurd_futimens): New function.
14539 * sysdeps/mach/hurd/futimesat.c: New file.
14540 * sysdeps/mach/hurd/utimensat.c: New file.
14542 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14544 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14545 UTIME_OMIT): New macros.
14546 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14547 before reverting to converting time spec to time value and calling
14549 * sysdeps/mach/hurd/utime-helper.c: New file.
14550 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14551 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14552 reverting to utime_tvalue_from_tval and __file_utimes.
14553 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14554 (__lutimes): Just call hurd_futimens after lookup.
14555 * sysdeps/mach/hurd/utimes.c: Likewise.
14557 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14559 * bits/sigaction.h: Add include guard.
14560 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14561 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14562 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14563 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14564 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14566 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14567 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14568 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14570 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14572 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14573 -Wmaybe-uninitialized for -Os.
14574 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14577 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14579 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14580 __INO_T_MATCHES_INO64_T is defined.
14581 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14582 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14584 * dirent/alphasort64.c: Likewise.
14585 * dirent/scandir.c: Likewise.
14586 * dirent/scandir64-tail.c: Likewise.
14587 * dirent/scandir64.c: Likewise.
14588 * dirent/scandirat.c: Likewise.
14589 * dirent/scandirat64.c: Likewise.
14590 * dirent/versionsort.c: Likewise.
14591 * dirent/versionsort64.c: Likewise.
14592 * include/dirent.h: Likewise.
14594 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14595 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14596 for socketpair endpoint.
14597 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14598 WRITE_BUFFER_SIZE as buffer size for sending socket.
14599 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14600 issue on system where send is implemented with sendto syscall.
14601 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14602 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14603 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14604 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14607 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14608 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14609 sa_restorer for vDSO case.
14610 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14612 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14614 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14615 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14616 * hurd/hurd/ioctl.h: Include <mach/port.h>
14617 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14618 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14619 <mach/mach_types.h> and <mach/message.h>.
14620 (headers): Move mach/param.h to bits/mach/param.h.
14621 * sysdeps/mach/i386/mach/param.h: Move file to ...
14622 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14623 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14625 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14626 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14627 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14628 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14629 trivial, for C++ conformity.
14630 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14631 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14632 Process mig output through $(migheadersed).
14633 * hurd/Makefile (migheadersed): Define variable.
14634 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14635 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14637 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14638 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14639 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14640 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14641 <bits/types/sigset_t.h>.
14642 [!defined __USE_GNU]: Do not #error out.
14643 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14644 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14645 Include <stddef.h> and <bits/types/sigset_t.h>
14646 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14647 instead of sighandler_t.
14648 * stdlib/errno.h (error_t): Move definition to...
14649 * bits/types/error_t.h: ... new header.
14650 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14651 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14652 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14653 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14654 * hurd/hurd.h: Include <bits/types/error_t.h>
14655 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14656 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14657 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14658 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14659 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14660 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14661 * sysdeps/mach/hurd/futimens.c: New file.
14663 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14666 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14667 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14668 * nscd/gai.c (__nss_hosts_database): Readd definition.
14669 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14670 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14671 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14673 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14675 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14676 (ifunc_one): Likewise.
14678 2018-03-01 DJ Delorie <dj@delorie.com>
14681 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14684 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14686 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14687 `match_pid' parameter.
14688 (td_ta_thr_iter): Update accordingly.
14690 2018-03-01 Florian Weimer <fweimer@redhat.com>
14692 * nptl/Makefile (install-lib-ldscripts): Remove.
14693 (install): Remove rule.
14694 ($(inst_libdir)/libpthread.so): Likewise.
14696 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14699 * localedata/locales/an_ES: update month and day names,
14700 improve d_fmt, improve postal_fmt, add country_post,
14703 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14705 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14706 Ukrainian instead of Bulgarian.
14708 2018-03-01 Florian Weimer <fweimer@redhat.com>
14710 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14713 2018-03-01 Florian Weimer <fweimer@redhat.com>
14715 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14716 * nptl/Makefile (routines): Add pthread_atfork.
14717 (static-only-routines): Set to pthread_atfork.
14718 (libpthread-routines): Remove pthread_atfork.
14719 (libpthread-static-only-routines): Remove.
14720 (install): Update comment.
14721 (libpthread.so): Do not install libpthread_nonshared.a.
14722 (tests): Do not link with libpthread_nonshared.a.
14723 (generated): Remove libpthread_nonshared.a.
14724 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14725 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14726 with libpthread_nonshared.a.
14728 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14731 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14732 (libc_feholdexcept_setroundf128): New macro.
14733 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14736 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14738 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14739 * include/inttypes.h: New file.
14741 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14743 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14744 -Os in two more places.
14746 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14748 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14749 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14750 be sorted correctly at the moment because of a bug.
14752 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14754 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14755 treat ñ as a primary different character, sync the collation
14756 for Spanish with CLDR.
14757 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14758 * localedata/Makefile: Add new test files.
14759 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14760 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14762 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14763 * localedata/am_ET.UTF-8.in: New test file.
14764 * localedata/az_AZ.UTF-8.in: Likewise.
14765 * localedata/be_BY.UTF-8.in: Likewise.
14766 * localedata/ber_DZ.UTF-8.in: Likewise.
14767 * localedata/ber_MA.UTF-8.in: Likewise.
14768 * localedata/bg_BG.UTF-8.in: Likewise.
14769 * localedata/br_FR.UTF-8.in: Likewise.
14770 * localedata/cmn_TW.UTF-8.in: Likewise.
14771 * localedata/crh_UA.UTF-8.in: Likewise.
14772 * localedata/csb_PL.UTF-8.in: Likewise.
14773 * localedata/cv_RU.UTF-8.in: Likewise.
14774 * localedata/cy_GB.UTF-8.in: Likewise.
14775 * localedata/dz_BT.UTF-8.in: Likewise.
14776 * localedata/eo.UTF-8.in: Likewise.
14777 * localedata/es_ES.UTF-8.in: Likewise.
14778 * localedata/fa_IR.UTF-8.in: Likewise.
14779 * localedata/fi_FI.UTF-8.in: Likewise.
14780 * localedata/fil_PH.UTF-8.in: Likewise.
14781 * localedata/fur_IT.UTF-8.in: Likewise.
14782 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14783 * localedata/ha_NG.UTF-8.in: Likewise.
14784 * localedata/ig_NG.UTF-8.in: Likewise.
14785 * localedata/ik_CA.UTF-8.in: Likewise.
14786 * localedata/kk_KZ.UTF-8.in: Likewise.
14787 * localedata/ku_TR.UTF-8.in: Likewise.
14788 * localedata/ky_KG.UTF-8.in: Likewise.
14789 * localedata/ln_CD.UTF-8.in: Likewise.
14790 * localedata/mi_NZ.UTF-8.in: Likewise.
14791 * localedata/ml_IN.UTF-8.in: Likewise.
14792 * localedata/mn_MN.UTF-8.in: Likewise.
14793 * localedata/mr_IN.UTF-8.in: Likewise.
14794 * localedata/mt_MT.UTF-8.in: Likewise.
14795 * localedata/nb_NO.UTF-8.in: Likewise.
14796 * localedata/om_KE.UTF-8.in: Likewise.
14797 * localedata/os_RU.UTF-8.in: Likewise.
14798 * localedata/ps_AF.UTF-8.in: Likewise.
14799 * localedata/ro_RO.UTF-8.in: Likewise.
14800 * localedata/ru_RU.UTF-8.in: Likewise.
14801 * localedata/sc_IT.UTF-8.in: Likewise.
14802 * localedata/se_NO.UTF-8.in: Likewise.
14803 * localedata/sq_AL.UTF-8.in: Likewise.
14804 * localedata/sv_SE.UTF-8.in: Likewise.
14805 * localedata/szl_PL.UTF-8.in: Likewise.
14806 * localedata/tg_TJ.UTF-8.in: Likewise.
14807 * localedata/tk_TM.UTF-8.in: Likewise.
14808 * localedata/tt_RU.UTF-8.in: Likewise.
14809 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14810 * localedata/ug_CN.UTF-8.in: Likewise.
14811 * localedata/uz_UZ.UTF-8.in: Likewise.
14812 * localedata/vi_VN.UTF-8.in: Likewise.
14813 * localedata/yi_US.UTF-8.in: Likewise.
14814 * localedata/yo_NG.UTF-8.in: Likewise.
14815 * localedata/zh_CN.UTF-8.in: Likewise.
14816 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14817 file and fix bugs in the collation.
14818 * localedata/locales/az_AZ: Likewise.
14819 * localedata/locales/be_BY: Likewise.
14820 * localedata/locales/ber_DZ: Likewise.
14821 * localedata/locales/ber_MA: Likewise.
14822 * localedata/locales/bg_BG: Likewise.
14823 * localedata/locales/br_FR: Likewise.
14824 * localedata/locales/br_FR@euro: Likewise.
14825 * localedata/locales/ca_ES: Likewise.
14826 * localedata/locales/cns11643_stroke: Likewise.
14827 * localedata/locales/crh_UA: Likewise.
14828 * localedata/locales/cs_CZ: Likewise.
14829 * localedata/locales/csb_PL: Likewise.
14830 * localedata/locales/cv_RU: Likewise.
14831 * localedata/locales/cy_GB: Likewise.
14832 * localedata/locales/da_DK: Likewise.
14833 * localedata/locales/dz_BT: Likewise.
14834 * localedata/locales/en_CA: Likewise.
14835 * localedata/locales/eo: Likewise.
14836 * localedata/locales/es_CU: Likewise.
14837 * localedata/locales/es_EC: Likewise.
14838 * localedata/locales/es_ES: Likewise.
14839 * localedata/locales/es_US: Likewise.
14840 * localedata/locales/et_EE: Likewise.
14841 * localedata/locales/fa_IR: Likewise.
14842 * localedata/locales/fi_FI: Likewise.
14843 * localedata/locales/fil_PH: Likewise.
14844 * localedata/locales/fur_IT: Likewise.
14845 * localedata/locales/gez_ER@abegede: Likewise.
14846 * localedata/locales/ha_NG: Likewise.
14847 * localedata/locales/hr_HR: Likewise.
14848 * localedata/locales/hsb_DE: Likewise.
14849 * localedata/locales/hu_HU: Likewise.
14850 * localedata/locales/ig_NG: Likewise.
14851 * localedata/locales/ik_CA: Likewise.
14852 * localedata/locales/is_IS: Likewise.
14853 * localedata/locales/iso14651_t1_pinyin: Likewise.
14854 * localedata/locales/kk_KZ: Likewise.
14855 * localedata/locales/ku_TR: Likewise.
14856 * localedata/locales/ky_KG: Likewise.
14857 * localedata/locales/ln_CD: Likewise.
14858 * localedata/locales/lt_LT: Likewise.
14859 * localedata/locales/lv_LV: Likewise.
14860 * localedata/locales/mi_NZ: Likewise.
14861 * localedata/locales/ml_IN: Likewise.
14862 * localedata/locales/mn_MN: Likewise.
14863 * localedata/locales/mr_IN: Likewise.
14864 * localedata/locales/mt_MT: Likewise.
14865 * localedata/locales/nb_NO: Likewise.
14866 * localedata/locales/om_KE: Likewise.
14867 * localedata/locales/os_RU: Likewise.
14868 * localedata/locales/pl_PL: Likewise.
14869 * localedata/locales/ps_AF: Likewise.
14870 * localedata/locales/ro_RO: Likewise.
14871 * localedata/locales/ru_RU: Likewise.
14872 * localedata/locales/ru_UA: Likewise.
14873 * localedata/locales/sc_IT: Likewise.
14874 * localedata/locales/se_NO: Likewise.
14875 * localedata/locales/si_LK: Likewise.
14876 * localedata/locales/sq_AL: Likewise.
14877 * localedata/locales/sv_FI: Likewise.
14878 * localedata/locales/sv_FI@euro: Likewise.
14879 * localedata/locales/sv_SE: Likewise.
14880 * localedata/locales/szl_PL: Likewise.
14881 * localedata/locales/tg_TJ: Likewise.
14882 * localedata/locales/ti_ER: Likewise.
14883 * localedata/locales/tk_TM: Likewise.
14884 * localedata/locales/tl_PH: Likewise.
14885 * localedata/locales/tr_TR: Likewise.
14886 * localedata/locales/tt_RU: Likewise.
14887 * localedata/locales/tt_RU@iqtelif: Likewise.
14888 * localedata/locales/ug_CN: Likewise.
14889 * localedata/locales/uk_UA: Likewise.
14890 * localedata/locales/uz_UZ: Likewise.
14891 * localedata/locales/uz_UZ@cyrillic: Likewise.
14892 * localedata/locales/vi_VN: Likewise.
14893 * localedata/locales/yi_US: Likewise.
14894 * localedata/locales/yo_NG: Likewise.
14896 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14898 * gen-locales.mk: Make test files which contain @ modifiers in their
14900 * localedata/gen-locale.sh: Likewise.
14902 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14904 * posix/tst-fnmatch.input: Fix results for range expressions
14906 * posix/tst-regexloc.c: Do not use a range expression for
14907 de_DE.ISO-8859-1 locale.
14909 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14911 * posix/bug-regex5.c: Fix test case because with the new
14912 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14913 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14916 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14918 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14919 downloaded from ISO, the collation order of @-. and space has changed.
14920 Therefore, this test file needed to be adapted.
14921 * localedata/fr_CA.UTF-8.in: Likewise.
14922 * localedata/fr_FR.UTF-8.in: Likewise.
14923 * localedata/uk_UA.UTF-8.in: Likewise.
14925 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14927 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14928 order of ȥ in the new iso14651_t1_common file.
14929 * localedata/pl_PL.UTF-8.in: Likewise.
14931 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14933 * localedata/locales/iso14651_t1_common: Add sections for various
14934 scripts to the iso14651_t1_common file.
14936 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14938 * localedata/locales/iso14651_t1_common: Use the code point of a
14939 character in the fourth collation level instead of IGNORE for all
14940 entries which have IGNORE on all 4 levels.
14942 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14944 * localedata/locales/iso14651_t1_common: Add some convenient collation
14945 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14946 rules similar to those in CLDR.
14948 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14950 * localedata/locales/iso14651_t1_common: The new version of this
14951 file downloaded from ISO contained several syntax errors which
14952 are fixed by this patch.
14954 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14956 * localedata/locales/iso14651_t1_common: replace all <U.....>
14957 with <U000.....> because glibc understands only 4 digit or 8 digit
14959 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14961 * localedata/locales/iso14651_t1_common: Necessary changes
14962 to make the file downloaded from ISO usable by glibc.
14964 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14967 * localedata/locales/iso14651_t1_common: Update file to
14968 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14970 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14972 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14973 of <nptl/pthreadP.h>
14974 (thread_attr_compare): Move function to...
14975 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14976 * sysdeps/nptl/timer_routines.h: ... new header.
14977 * sysdeps/mach/hurd/gai_misc.h: New file.
14979 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14981 * string/strcoll_l.c: Include <libc-diag.h>.
14982 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14983 declarations of seq1 and seq2.
14986 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14987 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14989 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14994 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14995 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14996 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14997 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14998 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15000 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15003 macros used in __ptrace_request.
15005 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15008 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15010 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15011 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15015 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15018 * ctype/ctype.c (tolower): Use libc_hidden_def.
15019 (toupper): Likewise.
15020 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15021 [!_ISOMAC] (toupper): Likewise.
15023 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15025 * localedata/Makefile: Remove --quiet argument when
15028 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15031 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15033 * localedata/locales/pt_PT (LC_TIME): likewise
15035 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15038 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15039 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15040 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15042 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15046 * nptl/Makefile (routines): Remove unregister-atfork.
15047 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15048 (fork_handler_alloc): Remove function.
15049 (fork_handlers, fork_handler_init): New variables.
15050 (__fork_lock): Rename to atfork_lock.
15051 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15052 to use a dynamic array to add/remove atfork handlers.
15053 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15054 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15055 Remove declaration.
15056 (fork_handler): Remove next, refcntr, and need_signal member.
15057 (__run_fork_handler_type): New enum.
15058 (__run_fork_handlers): New prototype.
15059 * nptl/register-atfork.c: Remove file.
15060 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15062 * sysdeps/nptl/nptl-signals.h: Move to ...
15063 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15065 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15066 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15067 unnecessary check for SIGTIMER.
15068 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15069 remove unnecessary removal of SIGTIMER.
15070 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15071 include-signals.h rename.
15072 * nptl/pthreadP.h: Likewise.
15073 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15074 __is_internal_signal instead of __nptl_is_internal_signal.
15076 2018-02-22 Andrew Waterman <andrew@sifive.com>
15079 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15080 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15081 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15082 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15084 2018-02-22 DJ Delorie <dj@delorie.com>
15086 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15088 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15090 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15091 do_misaligned, not misaligned8.
15093 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15095 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15096 Add memcpy_thunderx2.
15097 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15099 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15100 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15101 and IS_THUNDERX2PA checks.
15102 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15103 Use macro to set name appropriately.
15104 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15105 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15108 (IS_THUNDERX2): New macro.
15110 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15112 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15114 2018-02-21 Zack Weinberg <zackw@panix.com>
15116 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15117 Define here, unconditionally.
15118 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15119 * libio/libioP.h: Remove #if 0 blocks.
15120 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15121 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15122 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15124 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15125 Assume weak_alias is always defined.
15127 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15128 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15129 Remove #if 0 and #ifdef TODO blocks.
15130 Assume text_set_element is always defined.
15132 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15133 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15134 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15136 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15137 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15138 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15139 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15140 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15141 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15142 Reformat bit flags for _flags field to make occupancy clearer.
15144 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15145 Keep definitions consistent with those in libio/libio.h.
15147 * libio/libio.h (_IO_file_flags): Remove macro.
15148 All uses changed to _flags.
15150 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15151 (__HAVE_COLUMN, _IO_BE): Don't define.
15152 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15153 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15154 * libio/libioP.h (EOF): Don't define.
15155 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15156 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15157 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15158 testing _IO_UNIFIED_JUMPTABLES.
15160 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15161 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15162 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15163 (_IO_size_t): Delete; all uses changed to size_t.
15164 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15165 (_IO_off_t): Delete; all uses changed to off_t.
15166 (_IO_off64_t): Delete; all uses changed to off64_t.
15167 (_IO_pid_t): Delete; all uses changed to pid_t.
15168 (_IO_uid_t): Delete; all uses changed to uid_t.
15169 (_IO_wint_t): Delete; all uses changed to wint_t.
15170 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15171 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15172 (_IO_cookie_io_functions_t): Delete; all uses changed to
15173 cookie_io_functions_t.
15174 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15175 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15176 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15177 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15179 * libio/iofopncook.c: Remove unnecessary forward declarations.
15180 * libio/iolibio.h: Correct outdated commentary.
15181 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15182 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15183 Remove unnecessary casts.
15184 * stdio-common/getline.c: Use _IO_getdelim directly.
15185 Don't redefine ssize_t.
15186 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15187 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15188 Remove outdated comments.
15189 * stdio-common/vfscanf.c: Don't redefine va_list.
15191 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15192 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15193 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15194 which are always true, and __cplusplus, which is always false.
15196 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15200 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15201 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15202 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15203 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15205 [!_ISOMAC] (putc_unlocked): Likewise.
15206 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15207 define inline if [__USE_EXTERN_INLINES].
15208 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15213 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15214 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15215 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15216 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15217 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15219 * time/tzfile.c (__tzfile_read): Likewise.
15221 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15224 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15226 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15228 * io/fcntl.h: Fix a typo in a comment.
15230 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15233 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15234 define _DEFAULT_SOURCE.
15235 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15237 2018-02-21 Florian Weimer <fweimer@redhat.com>
15240 * elf/cache.c (save_cache): Call fsync on temporary file before
15242 (save_aux_cache): Call fdatasync on temporary file before renaming
15245 2018-02-21 Florian Weimer <fweimer@redhat.com>
15248 * include/caller.h: Remove file.
15249 * elf/dl-caller.c: Likewise.
15250 * elf/Makefile (dl-routines): Remove dl-caller.
15251 (shared-only-routines): Do not add dl-caller.
15252 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15254 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15256 (dl_open_worker): Do not call __check_caller.
15257 (_dl_open): Do not set caller_dl_open member.
15258 * elf/rtld.c (_rtld_global_ro): Do not initialize
15259 _dl_check_caller member.
15260 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15261 _dl_check_caller member.
15262 (_dl_check_caller): Remove declaration.
15263 * sysdeps/unix/sysv/linux/dl-execstack.c
15264 (_dl_make_stack_executable): Do not call __check_caller.
15266 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15268 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15269 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15271 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15273 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15276 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15279 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15280 of 199606L, 200112L, and 200809L.
15281 (_XOPEN_SOURCE): Document special values of 600 and 700.
15282 (_ISOC11_SOURCE): Document macro.
15283 (_ATFILE_SOURCE): Likewise.
15284 (_FORTIFY_SOURCE): Likewise.
15286 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15290 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15291 and define as weak alias of __ferror_unlocked. Use
15293 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15295 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15296 function if [__USE_EXTERN_INLINES].
15297 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15300 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15303 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15305 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15308 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15309 the GLIBC_2.1 version.
15311 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15314 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15315 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15316 intl/tst-gettext-de.po from po/de.po by removing the
15317 POT-Creation-Date line.
15318 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15320 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15323 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15325 * mach/Makefile (headers): Add mach/param.h.
15326 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15327 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15328 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15329 (__ptsname_r): Move implementation to...
15330 (__ptsname_internal): ... new function. Add filling the STP
15333 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15335 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15338 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15340 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15343 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15345 * nptl/Makefile (tst-mutex8-ENV): Delete.
15346 * nptl/tst-mutex8.c (check_type):
15347 Add runtime check if mutex will be elided.
15349 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15353 * manual/install.texi (Configuring and compiling): Describe
15354 passing CC and CFLAGS on configure command line, not as
15355 environment variables. Use @code markup on those variables.
15356 Specify what options go in CC and what go in CFLAGS. Note the
15357 requirement to compile with optimization.
15358 * INSTALL: Regenerated.
15361 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15362 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15363 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15364 __sigprocmask instead of sigprocmask.
15365 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15367 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15368 __sigsetjmp and sigprocmask.
15371 * include/argz.h (argz_next): Use libc_hidden_proto.
15372 (__argz_next): Likewise.
15373 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15374 (argz_next): Use libc_hidden_weak.
15377 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15379 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15383 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15385 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15389 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15390 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15391 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15392 (__feof_unlocked): New declaration, and inline function if
15393 [__USE_EXTERN_INLINES].
15394 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15395 instead of feof_unlocked.
15396 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15397 * nss/nsswitch.c (nss_parse_file): Likewise.
15398 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15400 * time/getdate.c (__getdate_r): Likewise.
15401 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15402 Define as macro to call __feof_unlocked.
15404 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15406 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15408 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15410 * math/Makefile: Remove mpexp.c and mplog.c
15411 * sysdeps/i386/fpu/mpexp.c: Delete file.
15412 * sysdeps/i386/fpu/mplog.c: Likewise.
15413 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15414 * sysdeps/ia64/fpu/mplog.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15416 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15417 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15418 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15419 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15420 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15421 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15423 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15424 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15425 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15428 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15429 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15430 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15432 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15434 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15436 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15438 * sysdeps/sh/libm-test-ulps: Update.
15440 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15442 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15445 2018-02-12 Zack Weinberg <zackw@panix.com>
15448 * posix/sys/types.h: Don't include sys/sysmacros.h.
15449 * misc/sys/sysmacros.h: Remove the conditional deprecation
15450 warnings for the macros defined by this header.
15452 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15454 * manual/probes.texi: Remove slowexp probes.
15455 * math/Makefile: Remove slowexp.
15456 * sysdeps/generic/math_private.h (__slowexp): Remove.
15457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15458 document error bounds.
15459 * sysdeps/i386/fpu/slowexp.c: Remove.
15460 * sysdeps/ia64/fpu/slowexp.c: Remove.
15461 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15462 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15463 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15464 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15465 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15466 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15469 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15471 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15473 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15476 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15477 * benchtests/pow-inputs: Update comment for slow path cases.
15478 * manual/probes.texi (slowpow_p10): Delete removed probe.
15479 (slowpow_p10): Likewise.
15480 * math/Makefile: Remove halfulp.c and slowpow.c.
15481 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15482 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15483 (__halfulp): Remove.
15484 (__slowpow): Remove.
15485 * sysdeps/i386/fpu/halfulp.c: Delete file.
15486 * sysdeps/i386/fpu/slowpow.c: Likewise.
15487 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15488 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15490 improve comments and add error analysis.
15491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15492 (power1): Remove function:
15493 (log1): Remove error argument, add error analysis.
15494 (my_log2): Remove function.
15495 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15496 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15497 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15498 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15499 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15501 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15502 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15508 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15510 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15512 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15513 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15515 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15518 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15519 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15520 and PTRACE_SETHBPREGS.
15522 2018-02-10 Zack Weinberg <zackw@panix.com>
15525 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15527 * malloc/tst-malloc-stats-cancellation.c: New test case.
15528 * malloc/Makefile: Add new test case.
15530 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15532 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15534 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15536 * math/Makefile (libm-narrow-fns): Add add.
15537 (libm-test-funcs-narrow): Likewise.
15538 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15539 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15540 * math/gen-auto-libm-tests.c (test_functions): Add add.
15541 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15542 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15543 (NARROW_ADD_TRIVIAL): Likewise.
15544 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15546 (__daddl): Likewise.
15547 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15549 (CFLAGS-nldbl-dadd.c): New variable.
15550 (CFLAGS-nldbl-fadd.c): Likewise.
15551 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15553 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15555 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15556 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15557 * math/auto-libm-test-in: Add tests of add.
15558 * math/auto-libm-test-out-narrow-add: New generated file.
15559 * math/libm-test-narrow-add.inc: New file.
15560 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15562 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15563 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15564 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15565 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15574 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15575 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15576 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15577 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15579 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15584 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15586 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15588 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15589 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15590 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15591 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15596 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15597 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15598 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15599 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15600 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15602 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15607 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15608 (f128-pairs): New variable.
15609 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15610 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15612 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15613 Also make tests add $(f128-loader-link) to gnulib-tests.
15615 2018-02-09 DJ Delorie <dj@redhat.com>
15618 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15619 64-bit ELF type for 64-bit ELF objects.
15621 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15623 * math/libm-test-driver.c (snan_tests_arg): New variable.
15624 * math/libm-test-support.h (snan_tests_arg): New declaration.
15625 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15627 * math/Makefile (test-type-pairs): New variable.
15628 (test-type-pairs-f64xf128-yes): Likewise.
15629 (tests): Add test-narrow-macros.
15630 (libm-test-funcs-narrow): New variable.
15631 (libm-test-c-narrow): Likewise.
15632 (generated): Add $(libm-test-c-narrow).
15633 (libm-tests-base-narrow): New variable.
15634 (libm-tests-narrow): Likewise.
15635 (libm-tests): Add $(libm-tests-narrow).
15636 (libm-tests-for-type): Handle $(libm-tests-narrow).
15637 (libm-test-c-narrow-obj): New variable.
15638 ($(libm-test-c-narrow-obj)): New rule.
15639 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15640 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15641 $(o-iterator) to set dependencies and CFLAGS.
15642 * math/gen-auto-libm-tests.c: Document use for narrowing
15644 (output_for_one_input_case): Take argument NARROW.
15645 (generate_output): Likewise. Update call to
15646 output_for_one_input_case.
15647 (main): Take --narrow option. Update call to generate_output.
15648 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15649 (apply_lit): Update call to _apply_lit.
15650 (apply_arglit): New function.
15651 (parse_args): Handle "a" arguments.
15652 (parse_auto_input): Handle format names using ":".
15653 * math/README.libm-test: Document "a" parameter type.
15654 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15655 (ARG_TYPE_TRUE_MIN): Likewise.
15656 (ARG_TYPE_MAX): Likwise.
15657 (ARG_MIN_EXP): Likewise.
15658 (ARG_MAX_EXP): Likewise.
15659 (ARG_MANT_DIG): Likewise.
15660 (TEST_COND_arg_ibm128): Likewise.
15661 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15662 (TEST_COND_arg_fmt): New macro.
15663 (init_max_error): Update prototype.
15664 * math/libm-test-support.c (test_ibm128): New variable.
15665 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15666 instead of using [TEST_COND_ibm128] conditional.
15667 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15668 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15669 [TEST_NARROW] (TEST_MSG): New definition.
15670 (arg_plus_zero): New macro.
15671 (arg_minus_zero): Likewise.
15672 (arg_plus_infty): Likewise.
15673 (arg_minus_infty): Likewise.
15674 (arg_qnan_value_pl): Likewise.
15675 (arg_qnan_value): Likewise.
15676 (arg_snan_value_pl): Likewise.
15677 (arg_snan_value): Likewise.
15678 (arg_max_value): Likewise.
15679 (arg_min_value): Likewise.
15680 (arg_min_subnorm_value): Likewise.
15681 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15682 (RUN_TEST_LOOP_aa_f): New macro.
15683 (TEST_SUFF): New macro.
15684 (TEST_SUFF_STR): Likewise.
15685 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15686 (TEST_COND_any_ibm128): New macro.
15687 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15688 this_func. Update call to init_max_error.
15689 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15690 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15691 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15692 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15693 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15694 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15695 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15696 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15697 * math/test-math-vector.h (TEST_NARROW): Likewise.
15698 * math/test-arg-double.h: New file.
15699 * math/test-arg-float128.h: Likewise.
15700 * math/test-arg-float32x.h: Likewise.
15701 * math/test-arg-float64.h: Likewise.
15702 * math/test-arg-float64x.h: Likewise.
15703 * math/test-arg-ldouble.h: Likewise.
15704 * math/test-math-narrow.h: Likewise.
15705 * math/test-narrow-macros.c: Likewise.
15706 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15707 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15708 test-narrow-macros-ldbl-64.
15709 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15711 * math/bits/mathcalls-narrow.h: New file.
15712 * include/bits/mathcalls-narrow.h: Likewise.
15713 * math/math-narrow.h: Likewise.
15714 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15715 (__MATHCALL_NARROW_ARGS_2): Likewise.
15716 (__MATHCALL_NARROW_ARGS_3): Likewise.
15717 (__MATHCALL_NARROW_NORMAL): Likewise.
15718 (__MATHCALL_NARROW_REDIR): Likewise.
15719 (__MATHCALL_NARROW): Likewise.
15720 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15721 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15723 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15724 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15725 (libm-narrow-fns): New variable.
15726 (libm-narrow-types-basic): Likewise.
15727 (libm-narrow-types-ldouble-yes): Likewise.
15728 (libm-narrow-types-float128-yes): Likewise.
15729 (libm-narrow-types-float128-alias-yes): Likewise.
15730 (libm-narrow-types): Likewise.
15731 (libm-routines): Add narrowing functions.
15732 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15733 (libc_feholdexcept_setroundf128): New macro.
15734 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15735 * sysdeps/ieee754/float128/float128_private.h: Include
15736 <math/math-narrow.h>.
15737 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15738 Undefine and redefine.
15739 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15740 (libm_alias_float_ldouble): Undefine and redefine.
15741 (libm_alias_double_ldouble): Likewise.
15743 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15745 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15747 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15750 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15752 * manual/creature.texi: Convert references to gcc.info to gcc.
15753 * manual/stdio.texi: Likewise.
15754 * manual/string.texi: Likewise.
15756 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15759 * posix/bits/types.h (__int_least8_t): New typedef.
15760 (__uint_least8_t): Likewise.
15761 (__int_least16_t): Likewise.
15762 (__uint_least16_t): Likewise.
15763 (__int_least32_t): Likewise.
15764 (__uint_least32_t): Likewise.
15765 (__int_least64_t): Likewise.
15766 (__uint_least64_t): Likewise.
15767 * sysdeps/generic/stdint.h (int_least8_t): Define using
15769 (int_least16_t): Define using __int_least16_t.
15770 (int_least32_t): Define using __int_least32_t.
15771 (int_least64_t): Define using __int_least64_t.
15772 (uint_least8_t): Define using __uint_least8_t.
15773 (uint_least16_t): Define using __uint_least16_t.
15774 (uint_least32_t): Define using __uint_least32_t.
15775 (uint_least64_t): Define using __uint_least64_t.
15776 * wcsmbs/uchar.h: Include <bits/types.h>.
15777 (char16_t): Define using __uint_least16_t conditional only on
15779 (char32_t): Define using __uint_least32_t conditional only on
15781 * wcsmbs/test-char-types.c: New file.
15782 * wcsmbs/Makefile (tests): Add test-char-types.
15784 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15787 2018-02-07 Zack Weinberg <zackw@panix.com>
15789 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15790 Delete all contents except for definitions of _G_HAVE_MMAP and
15791 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15792 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15793 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15796 * libio/libio.h: Don't include bits/_G_config.h here.
15797 Include stddef.h with __need_wchar_t defined. Include
15798 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15799 Define _IO_iconv_t here, directly.
15800 Don't define _IO_HAVE_ST_BLKSIZE.
15801 * libio/libioP.h: Include _G_config.h here. Move include of
15802 shlib-compat.h up with rest of includes. Simplify conditionals
15803 controlling definition of _IO_JUMPS_OFFSET.
15805 * csu/init.c: Remove always-true #if around entire file.
15806 Don't include stdio.h. Set _IO_stdin_used to hardwired
15807 constant 0x20001, and update commentary.
15808 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15809 Replace all uses of _G_va_list with __gnuc_va_list.
15810 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15811 instead of #if _IO_HAVE_ST_BLKSIZE.
15812 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15813 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15816 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15817 multiple-include guard to match.
15818 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15820 Remove preprocessor conditionals that are always true and/or
15821 redundant to other preprocessor conditionals in the same nest.
15822 Include shlib-compat.h unconditionally.
15823 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15824 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15825 defined after including stdio.h.
15826 Use __BEGIN_DECLS/__END_DECLS.
15828 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15829 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15830 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15832 2018-02-07 Zack Weinberg <zackw@panix.com>
15834 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15835 New single-type headers split from _G_config.h.
15836 * libio/bits/types/cookie_io_functions_t.h
15837 * libio/bits/types/struct_FILE.h
15838 New single-type headers split from libio.h.
15840 * libio/Makefile: Install the above new headers. Don't install
15841 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15843 * libio/_G_config.h, libio/libio.h: Delete file.
15845 * libio/bits/libio.h: Remove improper-inclusion guard.
15846 Include stdio.h and don't repeat anything that it does.
15847 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15848 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15849 __io_read_fn as cookie_read_function_t,
15850 __io_write_fn as cookie_write_function_t,
15851 __io_seek_fn as cookie_seek_function_t,
15852 __io_close_fn as cookie_close_function_t,
15853 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15854 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15855 here, in the "compatibility defines" section. Remove an #if 0
15856 block. Use the "body" macros from bits/types/struct_FILE.h to
15857 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15858 and _IO_ferror_unlocked.
15859 Move prototypes of __uflow and __overflow...
15861 * libio/stdio.h: ...here. Don't include bits/libio.h.
15862 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15863 directly from stdarg.h. Include bits/types/__fpos_t.h,
15864 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15865 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15866 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15867 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15868 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15869 __ssize_t, not _IO_ssize_t. Unconditionally define
15870 BUFSIZ as 8192 and EOF as (-1).
15872 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15873 macros from bits/types/struct_FILE.h instead of _IO_* macros
15874 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15875 instead of _IO_ssize_t.
15876 * libio/bits/stdio2.h: Similarly.
15878 * libio/iolibio.h: Add multiple-include guard.
15879 Include bits/libio.h after stdio.h.
15880 * libio/libioP.h: Add multiple-include guard.
15881 Include stdio.h and bits/libio.h before iolibio.h.
15883 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15884 * include/bits/types/cookie_io_functions_t.h
15885 * include/bits/types/struct_FILE.h: New wrappers.
15887 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15888 Get definitions of _G_fpos_t and _G_fpos64_t from
15889 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15890 respectively. Remove improper-inclusion guards.
15892 * conform/data/stdio.h-data: Update expectations of va_list.
15893 * scripts/check-installed-headers.sh: Remove special case for
15894 libio.h and _G_config.h.
15896 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15900 * include/sys/sysmacros.h [!_ISOMAC]
15901 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15902 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15903 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15904 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15906 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15907 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15909 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15910 Undefine and redefine to add use __gnu_dev_ prefix.
15911 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15913 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15914 and define as hidden inline function.
15915 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15917 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15919 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15920 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15921 (gnu_dev_minor): Likewise.
15922 (gnu_dev_makedev): Likewise.
15923 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15925 * posix/wordexp.c (exec_comm_child): Likewise.
15926 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15927 instead of minor and __gnu_dev_major instead of major.
15928 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15929 __gnu_dev_major instead of major.
15930 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15931 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15932 instead of gnu_dev_minor.
15933 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15934 (SLAVE_P): Likewise.
15935 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15936 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15940 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15942 * locale/weightwc.h (findidx): Likewise.
15944 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15946 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15947 (slowlog_inexact): Likewise
15948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15949 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15951 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15954 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15955 missing second underscore to parameter name.
15957 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15963 * bits/byteswap.h: Update file comment. Do not include
15964 <bits/byteswap-16.h>.
15965 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15967 (__bswap_16): Define as inline function.
15968 (__bswap_constant_32): Reformat definition.
15969 (__bswap_32): Always define as inline function, not macro, using
15970 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15971 otherwise __bswap_constant_32.
15972 (__bswap_constant_64): Reformat definition. Do not use
15973 __extension__ here.
15974 (__bswap_64): Always define as inline function, not macro. Use
15975 __extension__ on function definition. Use __builtin_bswap64 if
15976 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15977 * string/test-endian-file-scope.c: New file.
15978 * string/test-endian-sign-conversion.c: Likewise.
15979 * string/Makefile (headers): Remove bits/byteswap-16.h.
15980 (tests): Add test-endian-file-scope and
15981 test-endian-sign-conversion.
15982 (CFLAGS-test-endian-sign-conversion.c): New variable.
15983 * bits/byteswap-16.h: Remove file.
15984 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15985 * sysdeps/ia64/bits/byteswap.h: Likewise.
15986 * sysdeps/m68k/bits/byteswap.h: Likewise.
15987 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15988 * sysdeps/s390/bits/byteswap.h: Likewise.
15989 * sysdeps/tile/bits/byteswap.h: Likewise.
15990 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15991 * sysdeps/x86/bits/byteswap.h: Likewise.
15994 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15995 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15996 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15997 199901L] (__restrict): Define to restrict.
16000 * string/testcopy.c: Include <support/support.h>. Do not include
16001 <malloc.h>. Use <support/test-driver.c>.
16002 (main): Rename to do_test. Make static. Use xmalloc instead of
16006 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16007 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16008 (SSIZE_MAX): Define to INT_MAX.
16009 * posix/test-ssize-max.c: New file.
16010 * posix/Makefile (tests): Add test-ssize-max.
16013 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16014 <support/support.h>. Do not include <malloc.h>.
16015 (query_auxv): Use xmalloc instead of malloc.
16018 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16019 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16022 2018-02-06 Florian Weimer <fweimer@redhat.com>
16025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16026 Use scratch_buffer instead of extend_alloca.
16028 2018-02-06 Zack Weinberg <zackw@panix.com>
16030 * libio/stdio.h: Don't define getc or putc as macros.
16031 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16032 not _IO_getc and _IO_putc.
16034 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16035 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16037 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16040 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16042 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16045 * elf/elf.h (NT_PRFPREG): New macro.
16046 (NT_S390_VXRS_LOW): Likewise.
16047 (NT_S390_VXRS_HIGH): Likewise.
16048 (NT_S390_GS_CB): Likewise.
16049 (NT_S390_GS_BC): Likewise.
16050 (NT_S390_RI_CB): Likewise.
16052 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16053 (MAP_SYNC): New macro.
16054 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16056 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16057 (MAP_SYNC): Likewise.
16058 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16059 (MAP_SYNC): Likewise.
16060 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16061 (MAP_SYNC): Likewise.
16062 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16063 (MAP_SYNC): Likewise.
16064 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16065 (MAP_SYNC): Likewise.
16066 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16067 (MAP_SYNC): Likewise.
16068 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16070 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16073 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16074 (MAP_SHARED_VALIDATE): New macro.
16075 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16076 (MAP_SHARED_VALIDATE): Likewise.
16078 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16080 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16081 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16082 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16084 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16086 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16087 (DT_NUM): Updated to 35.
16089 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16092 __builtin_expect with __glibc_likely and __glibc_unlikely.
16093 (elf_machine_rela): Likewise.
16094 (elf_machine_lazy_rel): Likewise.
16096 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16098 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16099 __builtin_expect with __glibc_likely and __glibc_unlikely.
16100 (elf_machine_lazy_rel): Likewise.
16102 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16105 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16107 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16109 2018-02-05 Andreas Schwab <schwab@suse.de>
16112 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16115 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16117 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16118 not check against PTHREAD_STACK_MIN.
16120 2018-02-02 Sean McKean <smckean83@gmail.com>
16123 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16125 2018-02-02 Florian Weimer <fweimer@redhat.com>
16128 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16129 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16130 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16131 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16132 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16133 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16134 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16135 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16136 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16137 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16138 * misc/tst-preadvwritev2.c (do_test): Call it.
16139 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16141 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16143 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16145 * benchtests/bench-memcmp.c: Print json instead of plain text.
16147 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16150 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16152 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16154 (s390_sthyi): New syscall.
16156 * sysdeps/generic/ldbl-classify-compat.h: New file.
16157 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16158 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16159 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16160 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16161 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16162 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16163 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16164 <ldbl-classify-compat.h>.
16165 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16166 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16167 <ldbl-classify-compat.h>.
16168 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16169 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16170 <ldbl-classify-compat.h>.
16171 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16173 <ldbl-classify-compat.h>.
16174 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16176 <ldbl-classify-compat.h>.
16177 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16179 <ldbl-classify-compat.h>.
16180 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16181 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16182 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16183 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16184 * sysdeps/microblaze/math_private.h: Likewise.
16185 * sysdeps/nios2/math_private.h: Likewise.
16186 * sysdeps/sh/math_private.h: Likewise.
16188 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16189 * sysdeps/m68k/coldfire/math_private.h: ... here.
16190 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16191 * sysdeps/tile/math_private.h: Likewise.
16192 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16194 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16197 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16199 (libc_fetestexcept): Likewise.
16200 (libc_feupdateenv_test): Likewise.
16201 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16202 (libc_fetestexcept): Likewise.
16203 (libc_feupdateenv_test): Likewise.
16204 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16205 (libc_fetestexcept): Likewise.
16206 (libc_feupdateenv_test): Likewise.
16207 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16208 (libc_fetestexcept): Likewise.
16209 (libc_feupdateenv_test): Likewise.
16211 * sysdeps/generic/math_private.h
16212 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16213 New inline function.
16214 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16217 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16218 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16219 * sysdeps/generic/math_private.h
16220 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16222 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16224 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16226 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16228 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16230 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16232 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16233 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16234 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16235 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16236 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16237 (__fegetenv): Likewise.
16238 (fesetenv): Likewise.
16239 (__fesetenv): Likewise.
16240 (feupdateenv): Likewise.
16241 (__feupdateenv): Likewise.
16242 (fegetround): Likewise.
16243 (__fegetround): Likewise.
16244 (fesetround): Likewise.
16245 (__fesetround): Likewise.
16247 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16248 (feraiseexcept): New macro.
16249 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16250 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16252 (__feraiseexcept): Likewise.
16253 (feclearexcept): Likewise.
16254 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16255 (__feraiseexcept): Likewise.
16256 (feclearexcept): Likewise.
16257 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16258 (__feraiseexcept): Likewise.
16259 (feclearexcept): Likewise.
16260 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16261 (__feraiseexcept): Likewise.
16262 (feclearexcept): Likewise.
16263 (fetestexcept): Likewise.
16265 * sysdeps/m68k/coldfire/math-tests.h: New file.
16267 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16268 * sysdeps/m68k/bits/fenv.h: ... here.
16269 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16271 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16273 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16275 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16277 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16279 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16281 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16282 (__FE_UNDEFINED): New enum constant.
16283 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16285 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16287 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16289 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16290 to match generic bits/fenv.h.
16291 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16294 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16296 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16297 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16298 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16299 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16301 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16302 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16303 Joseph Myers <joseph@codesourcery.com>
16306 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16307 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16308 computation using c.
16309 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16310 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16311 computation using c.
16313 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16315 * version.h (RELEASE): Set to "development".
16316 (VERSION): Set to "2.27.9000".
16317 * NEWS (2.28): New section.
16319 * version.h (RELEASE): Set to "stable".
16320 (VERSION): Set to "2.27".
16321 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16323 * NEWS: Add the list of bugs fixed in 2.27.
16325 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16327 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16328 against PTHREAD_STACK_MIN.
16330 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16332 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16334 (Rafal Luzynski, Andreas Schwab): Update.
16336 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16339 * NEWS: List the languages which actually use the alternative
16340 months feature in this release. Also explain that "alt_mon" and
16341 "ab_alt_mon" are optional.
16343 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16346 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16348 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16350 * manual/install.texi (Tools for Compilation): Update the newest
16351 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16352 * INSTALL: Regenerated.
16354 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16356 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16357 instead of __builtin_expect.
16359 2018-01-30 Florian Weimer <fweimer@redhat.com>
16361 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16363 * nss/tst-nss-getpwent.c (do_test): Likewise.
16365 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16368 * localedata/locales/hr_HR (mon): Rename to...
16370 (mon): Import from CLDR (genitive case).
16371 (d_t_fmt): Update the comment.
16373 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16375 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16376 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16377 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16379 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16381 * mach/Versions: Fix version when __mach_host_self_ was added.
16382 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16383 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16384 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16385 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16386 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16387 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16388 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16389 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16390 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16391 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16392 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16393 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16394 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16395 || to respect codestyle.
16396 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16397 (do_test_bz20181): Rename accordingly.
16398 * malloc/malloc.c: Include <assert.h>.
16399 (assert): Do not define.
16400 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16401 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16402 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16403 * sysdeps/mach/hurd/hp-timing.h: New file.
16404 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16406 2018-01-29 Darius Rad <darius@bluespec.com>
16408 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16410 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16412 * sysdeps/init_array/crti.S (.section .init_array): Add
16413 PREINIT_FUNCTION when defined.
16414 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16415 * config.h.in: Regenerate.
16416 * manual/platform.texi: Add RISC-V documenation for
16417 __riscv_flush_icache.
16418 * sysdeps/riscv/__longjmp.S: New file.
16419 * sysdeps/riscv/backtrace.c: Likewise.
16420 * sysdeps/riscv/bits/endian.h: Likewise.
16421 * sysdeps/riscv/bits/setjmp.h: Likewise.
16422 * sysdeps/riscv/bits/wordsize.h: Likewise.
16423 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16424 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16425 * sysdeps/riscv/dl-trampoline.S: Likewise.
16426 * sysdeps/riscv/gccframe.h: Likewise.
16427 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16428 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16429 * sysdeps/riscv/machine-gmon.h: Likewise.
16430 * sysdeps/riscv/memusage.h: Likewise.
16431 * sysdeps/riscv/setjmp.S: Likewise.
16432 * sysdeps/riscv/sys/asm.h: Likewise.
16433 * sysdeps/riscv/tls-macros.h: Likewise.
16434 * sysdeps/riscv/dl-tls.h: New file.
16435 * sysdeps/riscv/libc-tls.c: Likewise.
16436 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16437 * sysdeps/riscv/nptl/tls.h: Likewise.
16438 * sysdeps/riscv/stackinfo.h: Likewise.
16439 * sysdeps/riscv/bits/fenv.h: New file.
16440 * sysdeps/riscv/e_sqrtl.c: Likewise.
16441 * sysdeps/riscv/fpu_control.h: Likewise.
16442 * sysdeps/riscv/math-tests.h: Likewise.
16443 * sysdeps/riscv/nofpu/Implies: Likewise.
16444 * sysdeps/riscv/sfp-machine.h: Likewise.
16445 * sysdeps/riscv/tininess.h: Likewise.
16446 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16447 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16448 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16449 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16450 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16451 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16452 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16453 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16454 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16455 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16456 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16457 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16458 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16459 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16460 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16461 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16462 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16463 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16464 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16465 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16466 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16467 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16468 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16469 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16470 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16471 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16472 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16473 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16474 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16475 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16476 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16477 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16478 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16479 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16480 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16481 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16482 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16483 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16484 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16485 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16486 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16487 * sysdeps/riscv/rvf/math_private.h: Likewise.
16488 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16489 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16490 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16491 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16492 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16493 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16494 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16495 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16496 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16497 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16498 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16499 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16500 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16501 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16502 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16503 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16504 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16505 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16506 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16507 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16508 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16509 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16510 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16511 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16512 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16513 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16514 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16515 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16516 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16517 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16518 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16519 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16520 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16521 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16522 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16523 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16524 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16525 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16526 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16527 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16528 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16529 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16530 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16531 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16532 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16533 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16534 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16535 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16536 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16537 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16538 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16539 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16540 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16541 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16542 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16543 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16544 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16545 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16546 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16547 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16548 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16555 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16556 * sysdeps/riscv/Implies: New file.
16557 * sysdeps/riscv/Makefile: Likewise.
16558 * sysdeps/riscv/configure: Likewise.
16559 * sysdeps/riscv/configure.ac: Likewise.
16560 * sysdeps/riscv/nptl/Makefile: Likewise.
16561 * sysdeps/riscv/preconfigure: Likewise.
16562 * sysdeps/riscv/rv64/Implies-after: Likewise.
16563 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16564 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16565 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16566 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16567 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16568 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16569 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16570 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16571 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16572 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16573 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16574 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16575 (Config): Likewise.
16577 2018-01-29 Florian Weimer <fweimer@redhat.com>
16580 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16581 libnsl_hidden_proto.
16582 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16583 libnsl_hidden_proto.
16584 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16585 * nis/Makefile (libnsl-routines): Add nss-default only for
16586 build-obsolete-nsl.
16587 * nis/nis_defaults.c (__nis_default_ttl): Add
16588 libnsl_hidden_nolink_def.
16589 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16591 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16592 * nis/ypclnt.c (yp_maplist): Likewise.
16594 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16597 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16599 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16601 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16602 clean -dxfq for git updates when replacing sources.
16604 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16605 --disable-libcilkrts unconditionally, not just for the final GCC
16608 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16611 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16614 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16617 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16620 * localedata/locales/be_BY (mon): Rename to...
16621 (alt_mon): This, then synchronize with CLDR (nominative case).
16622 (abmon): Rename to...
16623 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16624 (mon): Import from CLDR (genitive case).
16626 * localedata/locales/be_BY@latin (mon): Rename to...
16628 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16630 * localedata/locales/be_BY@latin (lang_name): Reworded to
16631 "biełaruskaja mova".
16633 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16636 * localedata/locales/el_CY (mon): Renamed to...
16638 (mon): Import from CLDR (genitive case).
16639 * localedata/locales/el_GR: Likewise.
16641 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16644 * localedata/locales/ru_RU (mon): Rename to...
16646 (abmon): Rename to...
16647 (ab_alt_mon): This.
16648 (mon): Import from CLDR (genitive case).
16649 (abmon): Copy from the old content except the 5th month which is
16650 now in the genitive case, even when abbreviated.
16651 * localedata/locales/ru_UA: Likewise.
16652 * time/tst-strptime.c (day_tests): Add an actual example of
16653 a difference between %b and %Ob in Russian.
16655 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16657 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16658 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16660 * resolv/res-close.c: Include <stdlib.h>.
16661 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16662 <sys/wait.h>, <time.h>, <sys/uio.h>.
16663 (NOT_CANCEL_H): Add inclusion guard.
16664 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16665 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16666 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16668 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16669 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16670 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16672 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16673 timer_ptr2id to cast struct timer_node * to void *.
16674 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16675 --disable-libcilkrts to gcc configure.
16676 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16677 and make them the default for now.
16678 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16679 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16680 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16681 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16682 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16684 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16685 __task_terminate would ever return successfully.
16686 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16688 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16689 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16690 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16691 critical section to make code simpler and avoid warning.
16692 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16693 critical section to make code simpler and avoid warning.
16694 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16695 const char * instead of char *.
16696 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16697 __hurd_file_name_split, hurd_file_name_split,
16698 __hurd_directory_name_split, hurd_directory_name_split,
16699 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16700 hurd_file_name_path_lookup): Make lookup function parameter take a
16701 const char *name instead of char *name.
16702 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16703 __hurd_directory_name_split): Likewise.
16704 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16705 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16706 * sysdeps/mach/hurd/check_native.c: New file.
16707 * sysdeps/mach/hurd/check_pf.c: New file.
16708 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16709 (__freeifaddrs): Define macro to freeifaddrs.
16710 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16711 * sysdeps/mach/libmachuser.abilist: New file.
16712 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16713 (do_test_bz20181): Rename accordingly.
16714 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16715 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16717 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16718 version only if __USE_EXTERN_INLINES is defined.
16719 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16720 __hurd_sockfail): Likewise.
16721 (_hurd_fd_get): Always declare functions, and provide inline versions
16722 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16723 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16724 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16725 _hurd_port_set): Always declare functions, and provide inline versions
16726 only if __USE_EXTERN_INLINES and _LIBC are defined and
16728 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16729 _hurd_critical_section_unlock): Likewise.
16730 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16731 * __hurd_threadvar_location): Likewise.
16732 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16733 _hurd_userlink_clear): Likewise.
16734 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16735 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16736 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16737 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16738 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16739 __spin_lock_locked): Likewise.
16740 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16741 __spin_lock_locked): Likewise.
16742 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16743 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16744 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16745 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16746 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16747 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16748 _POSIX_NO_TRUNC): Define to 0.
16749 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16750 check size against PTHREAD_STACK_MIN.
16751 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16752 IS_IN(libpthread)]: Include <sigsetops.h>.
16753 * mach/Makefile (user-interfaces): Add mach/gnumach.
16754 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16755 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16756 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16757 instead of invalid -1.
16758 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16759 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16760 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16763 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16765 * hurd/fcntl-internal.h: New file.
16767 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16769 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16771 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16773 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16776 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16777 Build only shared objects.
16779 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16781 * README: Update for hppa.
16783 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16785 * sysdeps/sparc/fpu/libm-test-ulps: Update
16786 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16788 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16792 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16795 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16796 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16797 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16798 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16801 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16804 * bits/types/__cancel_jmp_buf_tag.h: New file.
16805 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16806 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16807 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16808 * nptl/Makefile (headers): Add
16809 bits/types/__cancel_jmp_buf_tag.h.
16810 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16811 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16812 * sysdeps/nptl/pthread.h: Include
16813 <bits/types/__cancel_jmp_buf_tag.h>.
16814 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16816 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16818 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16821 * localedata/locales/uk_UA (mon): Renamed to...
16823 (alt_digits): "0" removed and then renamed to...
16825 (date_fmt): Definition changed not to use the alternative
16828 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16830 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16831 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16832 * elf/elf.h (EF_RISCV_RVC): New define.
16833 (EF_RISCV_FLOAT_ABI): Likewise.
16834 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16835 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16836 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16837 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16838 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16840 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16842 2018-01-25 Andreas Schwab <schwab@suse.de>
16844 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16846 * sysdeps/gnu/configure: Regenerate.
16847 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16848 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16850 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16851 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16852 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16853 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16854 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16856 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16858 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16859 URL, and run autoconf, make it the default for now.
16861 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16863 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16864 soft-float ColdFire configuration.
16866 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16867 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16868 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16870 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16873 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16875 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16877 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16880 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16881 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16882 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16885 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16888 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16889 Rename to __reserved and add comment.
16890 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16891 Rename to __reserved.
16893 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16895 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16896 i686-gnu configurations.
16897 (Context.run_builds): Include mig, gnumach and hurd in components
16899 (Context.checkout): Add mig, gnumach and hurd to components.
16900 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16902 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16903 (Config.build): Install gnumach headers, build mig and install
16904 hurd headers for 'gnu' OS.
16905 (Config.install_gnumach_headers): New function.
16906 (Config.install_hurd_headers): Likewise.
16907 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16908 when building for 'gnu' OS.
16910 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16912 * manual/tunables.texi (Hardware Capability Tunables): Fix
16915 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16917 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16918 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16919 (ALTMON_11, ALTMON_12): Improve documentation.
16920 * manual/time.texi (strftime): Likewise.
16922 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16925 * localedata/locales/pl_PL: Alternative month names added,
16926 primary month names are genitive now.
16927 * time/tst-strptime.c (day_tests): Actually use a genitive case
16928 of a month name in Polish language.
16930 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16933 * manual/locale.texi: Document ALTMON_1..12 constants for
16934 nl_langinfo. Specify when to use ALTMON instead of MON.
16935 * manual/time.texi (strftime, strptime): Document GNU extension
16936 permitting O modifier with %B and %b. Specify when to use
16939 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16942 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16943 names, define them as the same as abbreviated month names explicitly.
16944 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16945 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16946 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16947 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16948 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16949 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16950 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16951 _NL_WABALTMON_12): New enum constants.
16952 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16953 wab_alt_mon, and ab_alt_mon_defined members.
16954 (time_output): Output ab_alt_mon and wab_alt_mon members.
16955 (time_read): Read them, initialize them as copies of abmon and wabmon
16956 respectively if they are missing, initialize ab_alt_mon_defined.
16957 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16958 * locale/programs/locfile-kw.h: Regenerate.
16959 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16960 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16962 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16963 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16964 (__strftime_internal): Handle %Ob and %Oh formats.
16965 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16966 (__strptime_internal): Handle %Ob and %Oh formats.
16967 * time/tst-strptime.c (day_tests): Add more tests to parse different
16968 forms of month names including the new %Ob format specifier.
16970 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16973 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16974 define them as the same as primary full month names explicitly.
16975 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16976 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16977 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16978 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16979 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16980 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16981 _NL_WALTMON_12): New enum constants.
16982 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16983 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16985 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16986 walt_mon, and alt_mon_defined members.
16987 (time_output): Output alt_mon and walt_mon members.
16988 (time_read): Read them, initialize them as copies of mon and wmon
16989 respectively if they are missing, initialize alt_mon_defined.
16990 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16991 * locale/programs/locfile-kw.h: Regenerate.
16992 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16993 * localedata/tst-langinfo.c (map): Add tests for the new constants
16994 ALTMON_1 .. ALTMON_12.
16995 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16997 * time/strftime_l.c (f_altmonth): New macro.
16998 (__strftime_internal): Handle %OB format.
16999 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17000 (__strptime_internal): Handle %OB format.
17001 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17002 of month names including the new %OB format specifier.
17004 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17007 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17008 from ABORT_TRANSACTION.
17009 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17010 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17011 ABORT_TRANSACTION_IMPL): Likewise.
17012 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17013 Linux code, but remove the code that aborts transactions.
17015 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17017 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17019 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17021 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17022 in date: "2004-14-09" should be "2004-09-14".
17023 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17024 "2003-15-09" should be "2003-09-15".
17026 2018-01-18 Arjun Shankar <arjun@redhat.com>
17032 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17034 (_int_memalign): check for integer overflow before calling
17036 * malloc/tst-malloc-too-large.c: New test.
17037 * malloc/Makefile: Add tst-malloc-too-large.
17039 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17041 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17042 in date: "2017-24-07" should be "2017-07-24".
17043 * localedata/locales/mai_IN: Likewise.
17044 * localedata/locales/mai_NP: Likewise.
17046 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17048 * po/ru.po: Update translations.
17050 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17053 * sysdeps/hppa/backtrace.c: New file.
17055 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17058 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17059 align La_x86_64_retval to VEC_SIZE.
17061 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17063 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17064 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17066 2018-01-16 Florian Weimer <fweimer@redhat.com>
17068 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17069 Move tst-thread-exit-clobber ...
17070 [$(CXX)] (tests-unsupported): ... to here.
17072 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17074 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17075 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17076 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17077 (_dl_aarch64_cap_flags): Update.
17078 (_DL_HWCAP_COUNT): Update.
17080 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17082 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17083 (_DL_HWCAP_LAST): Remove.
17084 (_DL_HWCAP_COUNT): Move to ...
17085 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17086 (_DL_HWCAP_COUNT): ... here.
17088 2018-01-16 Florian Weimer <fweimer@redhat.com>
17090 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17091 mode with GNU extensions.
17093 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17095 * elf/elf.h (NT_ARM_SVE): Define.
17097 2018-01-15 Florian Weimer <fweimer@redhat.com>
17100 * nptl/tst-minstack-throw.cc: New file.
17101 * nptl/Makefile (tests): Add tst-minstack-throw.
17102 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17103 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17105 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17107 * scripts/build-many-glibcs.py (Context.checkout): Default
17108 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17111 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17114 * elf/elf.h (DF_1_STUB): Define.
17115 (DF_1_PIE): Define.
17117 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17121 Do not add 0.5 to integer or out-of-range arguments.
17123 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17125 * po/bg.po: Update translations.
17126 * po/cs.po: Likewise.
17127 * po/de.po: Likewise.
17128 * po/ko.po: Likewise.
17129 * po/pl.po: Likewise.
17130 * po/sv.po: Likewise.
17131 * po/uk.po: Likewise.
17132 * po/vi.po: Likewise.
17134 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17136 * aarch64/start.S (_start): Use __wrap_main.
17137 (__wrap_main): New local symbol.
17139 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17143 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17144 generic_getcwd if the path returned by getcwd syscall is not absolute.
17145 * io/tst-getcwd-abspath.c: New test.
17146 * io/Makefile (tests): Add tst-getcwd-abspath.
17148 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17150 * malloc/malloc.c (malloc_consolidate): Add size check.
17152 2018-01-12 Florian Weimer <fweimer@redhat.com>
17154 * support/write_message.c (write_message): Preserve errno.
17155 * support/check.c (print_failure): Likewise.
17156 * support/support_test_verify_impl.c (support_test_verify_impl):
17158 * support/support_test_compare_failure.c
17159 (support_test_compare_failure): Likewise.
17161 2018-01-12 Florian Weimer <fweimer@redhat.com>
17164 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17165 Prevent installation of libnsl.so.
17166 (libnsl-inhibit-o): Do not build (or install) static libraries.
17168 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17171 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17172 before the day number which may produce a double space.
17173 (date_fmt): Likewise.
17175 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17178 instead of fegetenv.
17180 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17183 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17184 comment to say exceptions are discarded.
17185 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17187 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17190 2018-01-11 Florian Weimer <fweimer@redhat.com>
17192 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17195 2018-01-11 Florian Weimer <fweimer@redhat.com>
17198 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17199 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17201 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17204 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17205 negative arguments in test for NaN or infinity argument.
17207 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17209 * po/libc.pot: Regenerate.
17211 2018-01-10 Florian Weimer <fweimer@redhat.com>
17214 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17215 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17217 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17219 * hurd/hurd/fd.h: Include <fcntl.h>
17220 (__hurd_at_flags): New function.
17221 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17222 with call to __hurd_at_flags.
17223 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17224 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17226 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17227 (__access_noerrno): Use __faccessat_common instead of access_common.
17228 (__access): Likewise.
17229 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17230 with a call to __faccessat.
17231 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17232 (__faccessat_common): ... this. Move implementation of __access into it when
17233 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17234 reauthenticate_cwdir_at helper to implement AT mechanism.
17235 (__faccessat_noerrno): New function, just calls __faccessat_common.
17236 (__faccessat): New function, just calls __faccessat_common.
17237 (faccessat): Define weak alias.
17239 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17242 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17243 (CFLAGS-s_fmaxmagl.c): New variable.
17244 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17248 long int for arguments of possibly overflowing addition or
17250 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17252 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17255 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17256 (CFLAGS-e_remainderl.c): New variable.
17259 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17261 (CFLAGS-s_cacoshl.c): Likewise.
17262 (CFLAGS-s_casinhl.c): Likewise.
17263 (CFLAGS-s_catanl.c): Likewise.
17264 (CFLAGS-s_catanhl.c): Likewise.
17265 (CFLAGS-s_cexpl.c): Likewise.
17266 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17267 (CFLAGS-s_csinhl.c): Likewise.
17268 (CFLAGS-s_clogl.c): Likewise.
17269 (CFLAGS-s_clog10l.c): Likewise.
17270 (CFLAGS-s_csinl.c): Likewise.
17271 (CFLAGS-s_csqrtl.c): Likewise.
17273 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17274 2017-01-09 Svante Signell <svante.signell@gmail.com>
17276 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17277 (_hurd_exec_paths): New function.
17278 * hurd/hurd.h (_hurd_exec): Deprecate function.
17279 (_hurd_exec_paths): Declare function.
17280 * hurd/Versions: Export _hurd_exec_paths.
17281 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17282 (__execve): Use __getcwd to build absolute path, and use
17283 _hurd_exec_paths instead of _hurd_exec.
17284 * sysdeps/mach/hurd/spawni.c: Likewise.
17285 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17288 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17290 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17291 test instead of failing in case of ENOENT returned by posix_openpt.
17293 2018-01-08 Florian Weimer <fweimer@redhat.com>
17295 resolv: Support binary labels in test framework.
17296 * support/resolv_test.c (struct to_be_freed): Remove.
17297 (struct compressed_name): New.
17298 (allocate_compressed_name, ascii_tolower)
17299 (compare_compressed_name): New functions.
17300 (struct resolv_response_builder): Update type of
17301 compression_offsets for use with tsearch. Rempve to_be_freed.
17302 (response_push_pointer_to_free): Remove function.
17303 (resolv_response_add_name): Rewrite using struct compressed_name
17304 and tsearch instead of hsearch_r.
17305 (response_builder_allocate): Remove initialization of
17306 compression_offsets.
17307 (response_builder_free): Update for removal of to_be_freed. Use
17308 tdestroy instead of hdestroy_r.
17309 * resolv/Makefile (tests): Add tst-resolv-binary.
17310 (tst-resolv-binary): Link with -lresolv -lpthread.
17312 2018-01-08 Florian Weimer <fweimer@redhat.com>
17314 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17315 time. Pass positive flag instead of negative flag to
17316 support_test_compare_failure.
17317 (support_test_compare_failure): Change negative parameter to
17319 * support/support_test_compare_failure.c (report)
17320 (support_test_compare_failure): Likewise.
17321 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17322 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17324 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17327 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17328 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17329 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17331 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17333 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17336 Add s_sincosf-sse2 and s_sincosf-fma.
17337 (CFLAGS-s_sincosf-fma.c): New.
17338 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17339 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17340 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17341 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17342 __sincosf is defined.
17344 2018-01-08 Florian Weimer <fweimer@redhat.com>
17346 * nptl/tst-thread-exit-clobber.cc: New file.
17347 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17349 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17350 (tests): Add tst-thread-exit-clobber.
17351 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17353 2018-01-08 Florian Weimer <fweimer@redhat.com>
17355 * support/check.h (support_static_assert): Define.
17356 (TEST_COMPARE): Use it.
17358 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17360 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17361 [!__RLIM_T_MATCHES_RLIM64_T]
17362 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17363 __getrlimit64. Add libc_hidden_weak.
17365 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17367 * elf/elf.h (R_RISCV_NONE): New define.
17368 (R_RISCV_32): Likewise.
17369 (R_RISCV_64): Likewise.
17370 (R_RISCV_RELATIVE): Likewise.
17371 (R_RISCV_COPY): Likewise.
17372 (R_RISCV_JUMP_SLOT): Likewise.
17373 (R_RISCV_TLS_DTPMOD32): Likewise.
17374 (R_RISCV_TLS_DTPMOD64): Likewise.
17375 (R_RISCV_TLS_DTPREL32): Likewise.
17376 (R_RISCV_TLS_DTPREL64): Likewise.
17377 (R_RISCV_TLS_TPREL32): Likewise.
17378 (R_RISCV_TLS_TPREL64): Likewise.
17379 * Makerules (make-link-multidir): Make directories before linking into
17381 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17383 (VDSO_HASH_LINUX_4_15): Likewise.
17384 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17385 in subdirectories of lib.
17386 * nptl/Makefile (/librt.so): Always depend on
17387 "$(shared-thread-library)".
17389 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17391 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17392 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17393 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17395 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17396 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17398 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17399 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17400 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17401 * sysdeps/gnu/glob-lstat-compat.c: New file.
17402 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17403 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17405 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17407 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17408 Reserve 16 chars to reloc_addr before calling _itoa_word.
17410 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17413 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17414 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17416 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17417 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17419 * resource/tst-getrlimit.c: Add copyright header.
17421 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17422 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17424 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17425 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17426 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17427 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17429 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17430 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17431 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17432 RLIM64_INFINITY): Fix values to match the kernel ones.
17433 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17434 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17435 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17436 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17437 getrlimit64@@GLIBC_2_27.
17438 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17440 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17441 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17442 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17443 setrlimit, getrlimit64 and setrlimit64.
17445 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17448 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17449 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17451 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17453 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17454 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17455 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17457 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17461 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17462 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17466 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17467 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17468 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17469 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17471 2018-01-04 Florian Weimer <fweimer@redhat.com>
17474 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17475 Align the stack before calling exit.
17476 * stdlib/tst-makecontext-align.c: New file.
17477 * stdlib/Makefile (tests): Add tst-makecontext-align.
17479 2018-01-04 Florian Weimer <fweimer@redhat.com>
17481 Add support for calling dlvsym from libc.so.
17482 * include/dlfcn.h (__libc_dlvsym): Declare.
17483 * elf/Makefile (tests-static-internal): Add
17484 tst-libc_dlvsym-static.
17485 (tests-internal): Add tst-libc_dlvsym.
17486 (modules-names): Add tst-libc_dlvsym-dso.
17487 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17488 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17489 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17490 object tst-libc_dlvsym-dso.so needs to be built before running
17492 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17493 * elf/Versions: Export __libc_dlvsym.
17494 * elf/dl-libc.c (struct do_dlvsym_args): New.
17495 (do_dlvsym, __libc_dlvsym): New functions.
17496 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17497 (_dl_open_hook2): New variable.
17498 (__libc_register_dl_open_hook): Set it.
17499 * elf/tst-libc_dlvsym-dso.c: New file.
17500 * elf/tst-libc_dlvsym-static.c: Likewise.
17501 * elf/tst-libc_dlvsym.c: Likewise.
17502 * elf/tst-libc_dlvsym.h: Likewise.
17504 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17506 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17507 include <sys/mount.h>.
17509 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17511 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17512 Add __NO_MATH_ERRNO__ check.
17514 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17516 * sysdeps/mips/mips32/libm-test-ulps: Update.
17517 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17519 2018-01-02 Florian Weimer <fweimer@redhat.com>
17521 * misc/tst-pselect.c: Add copyright header.
17523 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17525 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17527 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17529 (settrlimit): Rename into setrlimit.
17530 (__sttrlimit): Rename into __setrlimit.
17532 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17533 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17534 never defined in that case.
17536 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17538 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17540 * sysdeps/arm/libm-test-ulps: Update.
17542 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17543 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17545 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17547 * NEWS: Add cosf and sincosf to list of optimized functions.
17549 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17552 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17553 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17554 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17555 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17557 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17560 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17562 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17563 making a copy of it.
17565 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17567 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17568 trailing whitespace removed.
17569 * scripts/config.guess: Update to version 2018-01-01.
17570 * scripts/config.sub: Update to version 2018-01-01.
17571 * scripts/move-if-change: Update from gnulib.
17573 * NEWS: Update copyright dates.
17574 * catgets/gencat.c (print_version): Likewise.
17575 * csu/version.c (banner): Likewise.
17576 * debug/catchsegv.sh: Likewise.
17577 * debug/pcprofiledump.c (print_version): Likewise.
17578 * debug/xtrace.sh (do_version): Likewise.
17579 * elf/ldconfig.c (print_version): Likewise.
17580 * elf/ldd.bash.in: Likewise.
17581 * elf/pldd.c (print_version): Likewise.
17582 * elf/sotruss.sh: Likewise.
17583 * elf/sprof.c (print_version): Likewise.
17584 * iconv/iconv_prog.c (print_version): Likewise.
17585 * iconv/iconvconfig.c (print_version): Likewise.
17586 * locale/programs/locale.c (print_version): Likewise.
17587 * locale/programs/localedef.c (print_version): Likewise.
17588 * login/programs/pt_chown.c (print_version): Likewise.
17589 * malloc/memusage.sh (do_version): Likewise.
17590 * malloc/memusagestat.c (print_version): Likewise.
17591 * malloc/mtrace.pl: Likewise.
17592 * manual/libc.texinfo: Likewise.
17593 * nptl/version.c (banner): Likewise.
17594 * nscd/nscd.c (print_version): Likewise.
17595 * nss/getent.c (print_version): Likewise.
17596 * nss/makedb.c (print_version): Likewise.
17597 * posix/getconf.c (main): Likewise.
17598 * scripts/test-installation.pl: Likewise.
17599 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17601 * All files with FSF copyright notices: Update copyright dates
17602 using scripts/update-copyrights.
17603 * locale/programs/charmap-kw.h: Regenerated.
17604 * locale/programs/locfile-kw.h: Likewise.
17606 2017-12-31 Zack Weinberg <zackw@panix.com>
17608 * libio/bits/libio-ldbl.h: Correct check for improper
17609 inclusion. Add own multiple include guard.
17611 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17612 Dmitry V. Levin <ldv@altlinux.org>
17616 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17617 string token expansion. Check for NULL pointer or empty string possibly
17618 returned by expand_dynamic_string_token.
17619 (decompose_rpath): Check for empty path after dynamic string
17622 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17625 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17627 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17628 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17629 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17630 and PTRACE_SYSCALL.
17631 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17632 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17636 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17638 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17639 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17640 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17641 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17643 bits/ptrace-shared.h.
17644 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17645 <bits/ptrace-shared.h>.
17646 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17647 __ptrace_peeksiginfo_flags, ptrace): Remove.
17648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17652 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17654 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17657 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17658 end of the loop. Improve comments.
17660 2017-12-29 Zack Weinberg <zackw@panix.com>
17663 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17664 might be set on success.
17666 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17669 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17670 is unchanged on success.
17672 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17674 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17676 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17677 expand_dynamic_string_token): Likewise.
17678 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17681 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17684 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17685 is set and name contains ':', and all code depending on these checks.
17687 2017-12-24 Zack Weinberg <zackw@panix.com>
17689 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17690 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17692 * libio/libio.h: Rename the original version of this file to
17693 libio/bits/libio.h. Error out if not included by stdio.h or the
17695 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17696 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17697 if not included by bits/libio.h or the stub _G_config.h.
17698 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17699 sysdeps/unix/sysv/linux/bits. Error out if not included by
17700 bits/libio.h or the stub _G_config.h.
17701 * libio/stdio.h: Include bits/libio.h, not libio.h.
17702 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17703 well as libio.h and _G_config.h.
17705 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17706 * libio/strfile.h, stdio-common/vfscanf.c
17707 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17708 Include stdio.h, not _G_config.h nor libio.h.
17709 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17710 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17712 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17714 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17717 * stdlib/getrandom.c (getrandom): Fix comment.
17718 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17720 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17723 * manual/arith.texi (strtoul): Fix a typo.
17726 * manual/arith.texi (finite): Fix the description of the return
17729 2017-12-22 Eric Blake <ebb9@byu.net>
17731 Avoid gcc warnings on cygwin
17732 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17733 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17734 Avoid unused variable.
17736 2017-12-22 Florian Weimer <fweimer@redhat.com>
17738 * io/Makefile (routines): Add copy_file_range.
17739 (tests): Add tst-copy_file_range.
17740 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17741 * io/Versions (GLIBC_2.27): Export copy_file_range.
17742 * io/copy_file_range-compat.c: New file.
17743 * io/copy_file_range.c: Likewise.
17744 * io/tst-copy_file_range-compat.c: Likewise.
17745 * io/tst-copy_file_range.c: Likewise.
17746 * manual/llio.texi (Copying File Data): New section.
17747 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17748 * support/Makefile (libsupport-routines): Add support-xfstat,
17749 xftruncate, xlseek.
17750 * support/support-xfstat.c: New file.
17751 * support/xftruncate.c: Likewise.
17752 * support/xlseek.c: Likewise.
17753 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17754 * sysdeps/unix/sysv/linux/**.abilist: Update.
17755 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17757 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17759 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17760 disable-multi-arch variant to aarch64-linux-gnu.
17762 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17764 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17765 trailing whitespace removed.
17766 * scripts/config.guess: Update to version 2017-12-17.
17767 * scripts/config.sub: Update to version 2017-11-23.
17768 * scripts/install-sh: Update to version 2017-09-23.17.
17769 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17771 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17773 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17774 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17775 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17776 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17777 * sysdeps/tile/crtn.S: Likewise.
17778 * sysdeps/tile/dl-start.S (_start): Likewise.
17779 * sysdeps/tile/dl-trampoline.S: Likewise.
17780 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17781 * sysdeps/tile/start.S (_start): Likewise.
17782 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17783 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17784 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17785 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17786 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17787 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17788 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17790 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17792 * sysdeps/tile/preconfigure: Remove tilegx folder.
17793 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17794 * sysdeps/tile/Implies: ... here.
17795 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17796 * sysdeps/tile/Makefile: ... here.
17797 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17798 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17799 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17800 * sysdeps/tile/bits/wordsize.h: ... here.
17801 * sysdeps/tile/tilegx/*: Move to ...
17802 * sysdeps/tile/*: ... here.
17803 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17804 * sysdeps/tile/tilegx32/Implies: ... here.
17805 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17806 * sysdeps/tile/tilegx64/Implies: ... here.
17807 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17809 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17810 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17811 * sysdeps/unix/sysv/linux/tile/*: ... here.
17812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17813 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17815 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17817 * README: Remove tilepro-*-linux-gnu from supported architecture.
17818 * scripts/build-many-glibcs.py: Likewise.
17819 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17820 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17821 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17822 elf_machine_matches_host, elf_machine_dynamic,
17823 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17824 howto, elf_machine_rela): Likewise.
17825 * sysdeps/tile/dl-start.S (_start): Likewise.
17826 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17827 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17828 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17829 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17830 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17831 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17833 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17834 * sysdeps/tile/preconfigure: Likewise.
17835 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17836 POINTER_CHK_GUARD): Likewise.
17837 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17838 * sysdeps/tile/start.S (_start): Likewise.
17839 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17841 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17842 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17844 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17845 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17846 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17848 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17849 * sysdeps/tile/tilepro/Implies: Remove file.
17850 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17851 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17852 * sysdeps/tile/tilepro/memchr.c: Likewise.
17853 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17854 * sysdeps/tile/tilepro/memset.c: Likewise.
17855 * sysdeps/tile/tilepro/memusage.h: Likewise.
17856 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17857 * sysdeps/tile/tilepro/strchr.c: Likewise.
17858 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17859 * sysdeps/tile/tilepro/strlen.c: Likewise.
17860 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17861 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17862 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17863 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17864 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17866 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17868 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17880 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17881 tilepro mention in comment.
17883 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17884 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17885 * nptl/pthread_join_common.c: New file: common function used on
17886 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17887 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17888 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17889 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17890 (cleanup): Move definition to pthread_join_common.c.
17891 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17892 Remove superflous checks.
17893 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17896 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17898 * sysdeps/aarch64/libm-test-ulps: Update.
17900 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17902 * sysdeps/aarch64/memset.S (MEMSET): Define.
17904 2017-12-20 Florian Weimer <fweimer@redhat.com>
17907 nptl: Provide full implementation of pthread_self in libc.so.
17908 * nptl/Makefile (routines): Add pthread_self.
17909 (libpthread-routines): Replace pthread_self with
17910 compat-pthread_self.
17911 * nptl/forward.c (pthread_self): Remove.
17912 * nptl/nptl-init.c (pthread_functions): Do not initialize
17914 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17915 * nptl/compat-pthread_self.c: New file.
17916 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17917 Remove ptr_pthread_self.
17919 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17921 * posix/regcomp.c: Fix spelling in comments.
17922 * posix/regex.h: Likewise.
17923 * posix/regex_internal.c: Likewise.
17924 * posix/regexec.c: Likewise.
17926 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17929 * math/Makefile [C++] (tests): Add test for iseqsig.
17930 * math/math.h [C++] (iseqsig): New implementation, which does
17931 not rely on __MATH_TG/__builtin_types_compatible_p.
17932 * math/test-math-iseqsig.cc: New file.
17933 * sysdeps/powerpc/powerpc64le/Makefile
17934 (CFLAGS-test-math-iseqsig.cc): New variable.
17936 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17938 * elf/dl-load.c (is_trusted_path): Remove.
17939 (fillin_rpath): Remove check_trusted argument and its use,
17940 all callers changed.
17942 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17945 * Makeconfig (link-pie-before-libc): Replace -pie with
17946 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17947 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17948 (tst-dlopen-aout-no-pie): New.
17949 (LDFLAGS-tst-prelink): Removed.
17950 (tst-prelink-no-pie): New.
17951 (LDFLAGS-tst-main1): Removed.
17952 (tst-main1-no-pie): New.
17953 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17954 (tst-gmon-no-pie): New.
17956 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17958 * manual/install.texi: Document that --enable-static-pie
17960 * INSTALL: Regenerated.
17962 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17965 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17968 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17972 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17976 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17978 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17979 <errno.h>. Include "eexp.tbl".
17980 (half): New constant.
17982 (__ieee754_exp): Rewrite.
17983 (__slowexp): Remove prototype.
17984 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17985 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17986 * sysdeps/i386/fpu/slowexp.c: Likewise.
17987 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17988 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17989 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17992 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17993 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17995 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17996 (CPPFLAGS-slowexp.c): Remove variable.
17997 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17998 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17999 (CFLAGS-slowexp-fma.c): Remove variable.
18000 (CFLAGS-slowexp-fma4.c): Likewise.
18001 (CFLAGS-slowexp-avx.c): Likewise.
18002 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18006 * math/Makefile (type-double-routines): Remove slowexp.
18007 * manual/probes.texi (slowexp_p6): Remove.
18008 (slowexp_p32): Likewise.
18010 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18012 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18015 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18017 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18021 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18023 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18024 <errno.h>. Include "eexp.tbl".
18025 (half): New constant.
18027 (__ieee754_exp): Rewrite.
18028 (__slowexp): Remove prototype.
18029 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18030 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18031 * sysdeps/i386/fpu/slowexp.c: Likewise.
18032 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18033 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18034 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18037 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18038 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18040 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18041 (CPPFLAGS-slowexp.c): Remove variable.
18042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18043 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18044 (CFLAGS-slowexp-fma.c): Remove variable.
18045 (CFLAGS-slowexp-fma4.c): Likewise.
18046 (CFLAGS-slowexp-avx.c): Likewise.
18047 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18049 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18051 * math/Makefile (type-double-routines): Remove slowexp.
18052 * manual/probes.texi (slowexp_p6): Remove.
18053 (slowexp_p32): Likewise.
18055 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18056 James Clarke <jrtc27@jrtc27.com>
18059 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18062 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18065 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18068 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18071 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18072 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18073 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18074 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18077 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18080 * bits/types/__cancel_jmp_buf_tag.h: New file.
18081 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18082 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18083 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18084 * nptl/Makefile (headers): Add
18085 bits/types/__cancel_jmp_buf_tag.h.
18086 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18087 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18088 * sysdeps/nptl/pthread.h: Include
18089 <bits/types/__cancel_jmp_buf_tag.h>.
18090 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18092 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18094 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18096 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18097 --enable-static-pie variants to x86_64, x32 and i686.
18099 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18102 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18103 argument for attrubutes. All callers changed.
18104 (__inline_mathop1): Likewise. All callers changed.
18105 (__inline_mathop): Likewise. All callers changed.
18106 [__USE_MISC] (scalbn): Use __inline_forward instead of
18107 __inline_forward_c.
18108 [__USE_ISOC99] (scalbln): Likewise.
18109 [__USE_ISOC99] (nearbyint): Likewise.
18110 [__USE_ISOC99] (lrint): Likewise.
18111 [__USE_MISC] (scalbnf): Likewise.
18112 [__USE_ISOC99] (scalblnf): Likewise.
18113 [__USE_ISOC99] (nearbyintf): Likewise.
18114 [__USE_ISOC99] (lrintf): Likewise.
18115 [__USE_MISC] (scalbnl): Likewise.
18116 [__USE_ISOC99] (scalblnl): Likewise.
18117 [__USE_ISOC99] (nearbyintl): Likewise.
18118 [__USE_ISOC99] (lrintl): Likewise.
18119 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18120 __inline_mathop and __m81_defun changed.
18122 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18123 CPU or FPU for ARM hard-float configurations.
18125 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18127 * nptl/tst-attr3.c: Include <libc-diag.h>.
18128 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18130 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18132 * string/tester.c (test_strncat): Also disable -Warray-bounds
18133 warnings for two tests.
18135 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18138 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18139 $(cc-pie-default) == yes.
18140 * config.make.in (cc-pie-default): New.
18141 * configure.ac (libc_cv_pie_default): Renamed to ...
18142 (libc_cv_cc_pie_default): This.
18143 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18144 * configure: Regenerated.
18146 2017-12-18 Florian Weimer <fweimer@redhat.com>
18149 ld.so: Harden dl-libc/libdl hooks.
18150 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18151 (rtld_active): New function.
18152 * dlfcn/dladdr.c (__dladdr): Call it.
18153 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18154 * dlfcn/dlclose.c (__dlcose): Likewise.
18155 * dlfcn/dlerror.c (__dlerror): Likewise.
18156 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18157 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18158 * dlfcn/dlopen.c (__dlopen): Likewise.
18159 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18160 * dlfcn/dlsym.c (__dlsym): Likewise.
18161 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18162 * libio/vtables.c (_IO_vtable_check): Likewise.
18163 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18164 (__libc_dlclose): Likewise.
18165 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18168 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18171 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18172 buffers for readlink input and output.
18174 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18177 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18178 inhibit_stack_protector.
18181 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18182 inhibit_stack_protector.
18184 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18187 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18188 code and invocation.
18190 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18192 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18194 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18197 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18199 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18201 * sysdeps/s390/fpu/libm-test-ulps: Update.
18203 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18207 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18209 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18210 constants to s_sincosf.h file.
18211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18212 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18214 * sysdeps/ieee754/flt-32/s_sincosf.h:
18217 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18220 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18223 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18226 * INSTALL: Regenerated.
18227 * Makeconfig (real-static-start-installed-name): New.
18228 (pic-default): Updated for --enable-static-pie.
18229 (pie-default): New for --enable-static-pie.
18230 (default-pie-ldflag): Likewise.
18231 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18232 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18233 Replace $(static-start-installed-name) with
18234 $(real-static-start-installed-name).
18235 (+prectorT): Updated for --enable-static-pie.
18236 (+postctorT): Likewise.
18237 (CFLAGS-.o): Add $(pie-default).
18238 (CFLAGS-.op): Likewise.
18239 * NEWS: Mention --enable-static-pie.
18240 * config.h.in (ENABLE_STATIC_PIE): New.
18241 * configure.ac (--enable-static-pie): New configure option.
18242 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18243 (have-static-pie): Likewise.
18244 Enable static PIE if linker supports --no-dynamic-linker.
18245 (ENABLE_STATIC_PIE): New AC_DEFINE.
18246 (enable-static-pie): New LIBC_CONFIG_VAR.
18247 * configure: Regenerated.
18248 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18249 gr$(start-installed-name) for --enable-static-pie.
18250 (extra-objs): Likewise.
18251 (install-lib): Likewise.
18252 (extra-objs): Add static-reloc.o and static-reloc.os
18253 ($(objpfx)$(start-installed-name)): Also depend on
18254 $(objpfx)static-reloc.o.
18255 ($(objpfx)r$(start-installed-name)): New.
18256 ($(objpfx)g$(start-installed-name)): Also depend on
18257 $(objpfx)static-reloc.os.
18258 ($(objpfx)gr$(start-installed-name)): New.
18259 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18261 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18263 * csu/static-reloc.c: New file.
18264 * elf/Makefile (routines): Add dl-reloc-static-pie.
18265 (elide-routines.os): Likewise.
18266 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18267 (tst-tls1-static-non-pie-no-pie): New.
18268 * elf/dl-reloc-static-pie.c: New file.
18269 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18270 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18271 STATIC_PIE_BOOTSTRAP.
18272 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18273 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18274 (tests-static): Likewise.
18275 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18276 (tst-gmon-static-no-pie): New.
18277 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18278 (CRT-tst-gmon-static-pie): Likewise.
18279 (tst-gmon-static-pie-ENV): Likewise.
18280 (tests-special): Likewise.
18281 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18282 (clean-tst-gmon-static-pie-data): Likewise.
18283 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18284 * gmon/tst-gmon-static-pie.c: New file.
18285 * manual/install.texi: Document --enable-static-pie.
18286 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18287 (_dl_get_dl_main_map): Likewise.
18288 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18289 * sysdeps/x86_64/configure.ac: Likewise.
18290 * sysdeps/i386/configure: Regenerated.
18291 * sysdeps/x86_64/configure: Likewise.
18292 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18293 (ASFLAGS-.op): Likewise.
18295 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18297 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18298 * posix/tst-mmap-offset.c (fname): Use /tmp.
18299 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18301 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18303 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18305 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18307 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18310 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18312 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18313 --with-float=hard for arm-linux-gnueabihf configurations.
18316 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18317 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18318 ($(mo-installed)): Use $(objpfx)%.mo.
18319 (realclean): Remove rule.
18321 * po/Makefile (linguas): Remove rule and dependencies.
18322 (linguas.mo): Likewise.
18323 (.PHONY): Do not depend on linguas and linguas.mo.
18324 (podir): Remove variable.
18325 (pofiles): Likewise.
18326 [$(pofiles)] (%.po): Remove rule.
18328 * sysdeps/sparc/sparc32/Makefile
18329 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18330 start-of-line whitespace in argument of echo.
18331 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18332 with whitespace. Generate __wrap_.udiv alias.
18333 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18334 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18335 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18336 * sysdeps/sparc/sparc32/urem.S: Likewise.
18338 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18340 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18341 for aligned inputs.
18343 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18345 * benchtests/bench-strcmp.c: Print output in JSON format.
18347 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18349 2017-12-14 Florian Weimer <fweimer@redhat.com>
18353 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18354 the expanded path string.
18356 2017-12-14 Florian Weimer <fweimer@redhat.com>
18360 * elf/dl-load.c (system_dirs): Update comment.
18361 (nsystem_dirs_len): Use array_length.
18362 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18364 2017-12-14 Florian Weimer <fweimer@redhat.com>
18366 Simplify compiling most of support/ outside of glibc.
18367 * support/check_addrinfo.c: Include <string.h>.
18368 * support/check_dns_packet.c: Likewise.
18369 * support/check_hostent.c: Likewise.
18370 * support/support_can_chroot.c: Include <support/xunistd.h>.
18371 * support/support_format_addrinfo.c: Include <stdlib.h>
18372 * support/support_format_dns_packet.c: Include <stdbool.h>.
18373 * support/support_format_hostent.c: Include <stdlib.h>.
18374 * support/support_format_netent.c: Likewise.
18375 * support/support_write_string.c: Include <support/xunistd.h>.
18376 * support/xdlfcn.c: Include <stddef.h>.
18378 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18380 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18382 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18383 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18385 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18386 (sysdeps_routines): Add memset-niagara7.
18387 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18389 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18391 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18392 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18393 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18394 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18395 Add niagara7 option.
18396 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18399 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18400 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18401 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18403 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18406 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18407 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18408 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18409 and __memmove_niagara7.
18410 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18411 Add niagara7 option.
18412 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18413 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18414 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18415 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18416 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18418 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18420 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18421 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18422 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18423 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18425 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18426 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18427 _dl_sparc_cap_flags array.
18428 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18430 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18432 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18433 time whenever possible.
18435 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18437 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18438 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18440 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18442 * soft-fp/fmadf4.c: Move to ....
18443 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18444 * soft-fp/fmasf4.c: Move to ....
18445 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18446 * soft-fp/fmatf4.c: Move to ....
18447 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18448 * sysdeps/ieee754/soft-fp/Makefile: New file.
18449 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18450 * sysdeps/arm/preconfigure: Regenerated.
18451 * sysdeps/arm/nofpu/Implies: New file.
18452 * sysdeps/arm/s_fma.c: Remove file.
18453 * sysdeps/arm/s_fmaf.c: Likewise.
18454 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18455 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18456 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18457 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18458 * sysdeps/microblaze/s_fma.c: Remove file.
18459 * sysdeps/microblaze/s_fmaf.c: Likewise.
18460 * sysdeps/mips/mips32/nofpu/Implies: New file.
18461 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18462 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18463 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18464 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18465 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18466 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18467 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18469 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18470 * sysdeps/nios2/s_fma.c: Remove file.
18471 * sysdeps/nios2/s_fmaf.c: Likewise.
18472 * sysdeps/sh/nofpu/Implies: New file.
18473 * sysdeps/sh/s_fma.c: Remove file.
18474 * sysdeps/sh/s_fmaf.c: Likewise.
18475 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18476 * sysdeps/tile/s_fma.c: Remove file.
18477 * sysdeps/tile/s_fmaf.c: Likewise.
18479 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18481 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18482 Add s_cosf-sse2 and s_cosf-fma.
18483 (CFLAGS-s_cosf-fma.c): New.
18484 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18485 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18486 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18488 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18490 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18492 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18494 * libio/Makefile (tests): Add tst-bz22415.
18495 (tst-bz22415-ENV): New rule.
18496 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18497 (tests-special): Add tst-bz22415-mem.out.
18498 ($(objpfx)tst-bz22415-mem.out): New rule.
18499 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18500 in case of a successful seek operation.
18501 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18502 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18503 buffer is required.
18504 * libio/tst-bz22415.c: New test.
18506 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18508 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18510 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18511 __IPC_64 to 0 to avoid IPC_64 being set.
18513 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18516 * math/bits/mathcalls.h (nextafter): Remove const.
18517 (nexttoward): Likewise.
18519 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18521 * configure.ac (--with-fp): Remove configure option.
18522 (with_fp_cond): New variable.
18523 (libc_cv_with_fp): New configure test. Use this variable instead
18525 * configure: Regenerated.
18526 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18527 * manual/install.texi (Configuring and compiling): Remove
18529 * INSTALL: Regenerated.
18530 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18531 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18532 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18533 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18534 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18535 use --without-fp to configure glibc.
18537 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18539 * manual/locale.texi (nl_langinfo): Fix a typo.
18541 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18544 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18546 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18548 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18549 (CFLAGS-argp-parse.c): Likewise.
18550 (CFLAGS-argp-fmtstream.c): Likewise.
18551 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18552 (CPPFLAGS-sha512-crypt.c): Likewise.
18553 (CPPFLAGS-md5-crypt.c): Likewise.
18554 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18555 (CFLAGS-stack_chk_fail_local.c): Likewise.
18556 (CFLAGS-backtrace.c): Likewise.
18557 (CFLAGS-sprintf_chk.c): Likewise.
18558 (CFLAGS-snprintf_chk.c): Likewise.
18559 (CFLAGS-vsprintf_chk.c): Likewise.
18560 (CFLAGS-vsnprintf_chk.c): Likewise.
18561 (CFLAGS-asprintf_chk.c): Likewise.
18562 (CFLAGS-vasprintf_chk.c): Likewise.
18563 (CFLAGS-obprintf_chk.c): Likewise.
18564 (CFLAGS-dprintf_chk.c): Likewise.
18565 (CFLAGS-vdprintf_chk.c): Likewise.
18566 (CFLAGS-printf_chk.c): Likewise.
18567 (CFLAGS-fprintf_chk.c): Likewise.
18568 (CFLAGS-vprintf_chk.c): Likewise.
18569 (CFLAGS-vfprintf_chk.c): Likewise.
18570 (CFLAGS-gets_chk.c): Likewise.
18571 (CFLAGS-fgets_chk.c): Likewise.
18572 (CFLAGS-fgets_u_chk.c): Likewise.
18573 (CFLAGS-fread_chk.c): Likewise.
18574 (CFLAGS-fread_u_chk.c): Likewise.
18575 (CFLAGS-swprintf_chk.c): Likewise.
18576 (CFLAGS-vswprintf_chk.c): Likewise.
18577 (CFLAGS-wprintf_chk.c): Likewise.
18578 (CFLAGS-fwprintf_chk.c): Likewise.
18579 (CFLAGS-vwprintf_chk.c): Likewise.
18580 (CFLAGS-vfwprintf_chk.c): Likewise.
18581 (CFLAGS-fgetws_chk.c): Likewise.
18582 (CFLAGS-fgetws_u_chk.c): Likewise.
18583 (CFLAGS-read_chk.c): Likewise.
18584 (CFLAGS-pread_chk.c): Likewise.
18585 (CFLAGS-pread64_chk.c): Likewise.
18586 (CFLAGS-recv_chk.c): Likewise.
18587 (CFLAGS-recvfrom_chk.c): Likewise.
18588 (CFLAGS-tst-longjmp_chk.c): Likewise.
18589 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18590 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18591 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18592 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18593 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18594 (CFLAGS-tst-chk1.c): Likewise.
18595 (CFLAGS-tst-chk2.c): Likewise.
18596 (CFLAGS-tst-chk3.c): Likewise.
18597 (CFLAGS-tst-chk4.cc): Likewise.
18598 (CFLAGS-tst-chk5.cc): Likewise.
18599 (CFLAGS-tst-chk6.cc): Likewise.
18600 (CFLAGS-tst-lfschk1.c): Likewise.
18601 (CFLAGS-tst-lfschk2.c): Likewise.
18602 (CFLAGS-tst-lfschk3.c): Likewise.
18603 (CFLAGS-tst-lfschk4.cc): Likewise.
18604 (CFLAGS-tst-lfschk5.cc): Likewise.
18605 (CFLAGS-tst-lfschk6.cc): Likewise.
18606 (CFLAGS-tst-ssp-1.c): Likewise.
18607 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18608 (CFLAGS-scandir64.c): Likewise.
18609 (CFLAGS-scandir-tail.c): Likewise.
18610 (CFLAGS-scandir64-tail.c): Likewise.
18611 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18612 (CFLAGS-dl-tunables.c): Likewise.
18613 (CFLAGS-dl-runtime.c): Likewise.
18614 (CFLAGS-dl-lookup.c): Likewise.
18615 (CFLAGS-dl-iterate-phdr.c): Likewise.
18616 (CFLAGS-vismain.c): Likewise.
18617 (CFLAGS-tst-linkall-static.c): Likewise.
18618 (CFLAGS-tst-linkall-static.c): Likewise.
18619 (CPPFLAGS-dl-load.c): Likewise.
18620 (CFLAGS-ldconfig.c): Likewise.
18621 (CFLAGS-dl-cache.c): Likewise.
18622 (CFLAGS-cache.c): Likewise.
18623 (CFLAGS-rtld.c): Likewise.
18624 (CFLAGS-multiload.c): Likewise.
18625 (CFLAGS-filtmod1.c): Likewise.
18626 (CFLAGS-tst-align.c): Likewise.
18627 (CFLAGS-tst-align2.c): Likewise.
18628 (CFLAGS-tst-alignmod.c): Likewise.
18629 (CFLAGS-tst-alignmod2.c): Likewise.
18630 (CPPFLAGS-tst-execstack.c): Likewise.
18631 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18632 (CFLAGS-tst-latepthreadmod.c): Likewise.
18633 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18634 (CFLAGS-getgrnam_r.c): Likewise.
18635 (CFLAGS-getgrent_r.c): Likewise.
18636 (CFLAGS-getgrent.c): Likewise.
18637 (CFLAGS-fgetgrent.c): Likewise.
18638 (CFLAGS-fgetgrent_r.c): Likewise.
18639 (CFLAGS-putgrent.c): Likewise.
18640 (CFLAGS-initgroups.c): Likewise.
18641 (CFLAGS-getgrgid.c): Likewise.
18642 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18643 (CFLAGS-getsgent.c): Likewise.
18644 (CFLAGS-fgetsgent.c): Likewise.
18645 (CFLAGS-fgetsgent_r.c): Likewise.
18646 (CFLAGS-putsgent.c): Likewise.
18647 (CFLAGS-getsgnam.c): Likewise.
18648 (CFLAGS-getsgnam_r.c): Likewise.
18649 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18650 (CFLAGS-iconv_charmap.c): Likewise.
18651 (CFLAGS-dummy-repertoire.c): Likewise.
18652 (CFLAGS-charmap.c): Likewise.
18653 (CFLAGS-linereader.c): Likewise.
18654 (CFLAGS-simple-hash.c): Likewise.
18655 (CFLAGS-gconv_conf.c): Likewise.
18656 (CFLAGS-iconvconfig.c): Likewise.
18657 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18658 (CFLAGS-gethstbyad.c): Likewise.
18659 (CFLAGS-gethstbynm_r.c): Likewise.
18660 (CFLAGS-gethstbynm.c): Likewise.
18661 (CFLAGS-gethstbynm2_r.c): Likewise.
18662 (CFLAGS-gethstbynm2.c): Likewise.
18663 (CFLAGS-gethstent_r.c): Likewise.
18664 (CFLAGS-gethstent.c): Likewise.
18665 (CFLAGS-rcmd.c): Likewise.
18666 (CFLAGS-getnetbynm_r.c): Likewise.
18667 (CFLAGS-getnetbynm.c): Likewise.
18668 (CFLAGS-getnetbyad_r.c): Likewise.
18669 (CFLAGS-getnetbyad.c): Likewise.
18670 (CFLAGS-getnetent_r.c): Likewise.
18671 (CFLAGS-getnetent.c): Likewise.
18672 (CFLAGS-getaliasent_r.c): Likewise.
18673 (CFLAGS-getaliasent.c): Likewise.
18674 (CFLAGS-getrpcent_r.c): Likewise.
18675 (CFLAGS-getrpcent.c): Likewise.
18676 (CFLAGS-getservent_r.c): Likewise.
18677 (CFLAGS-getservent.c): Likewise.
18678 (CFLAGS-getprtent_r.c): Likewise.
18679 (CFLAGS-getprtent.c): Likewise.
18680 (CFLAGS-either_ntoh.c): Likewise.
18681 (CFLAGS-either_hton.c): Likewise.
18682 (CFLAGS-getnetgrent.c): Likewise.
18683 (CFLAGS-getnetgrent_r.c): Likewise.
18684 (CFLAGS-tst-checks-posix.c): Likewise.
18685 (CFLAGS-tst-sockaddr.c): Likewise.
18686 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18687 (CFLAGS-tst-translit.c): Likewise.
18688 (CFLAGS-tst-gettext2.c): Likewise.
18689 (CFLAGS-tst-codeset.c): Likewise.
18690 (CFLAGS-tst-gettext3.c): Likewise.
18691 (CFLAGS-tst-gettext4.c): Likewise.
18692 (CFLAGS-tst-gettext5.c): Likewise.
18693 (CFLAGS-tst-gettext6.c): Likewise.
18694 * io/Makefile (CFLAGS-open.c): Likewise.
18695 (CFLAGS-open64.c): Likewise.
18696 (CFLAGS-creat.c): Likewise.
18697 (CFLAGS-creat64.c): Likewise.
18698 (CFLAGS-fcntl.c): Likewise.
18699 (CFLAGS-poll.c): Likewise.
18700 (CFLAGS-ppoll.c): Likewise.
18701 (CFLAGS-lockf.c): Likewise.
18702 (CFLAGS-statfs.c): Likewise.
18703 (CFLAGS-fstatfs.c): Likewise.
18704 (CFLAGS-statvfs.c): Likewise.
18705 (CFLAGS-fstatvfs.c): Likewise.
18706 (CFLAGS-fts.c): Likewise.
18707 (CFLAGS-fts64.c): Likewise.
18708 (CFLAGS-ftw.c): Likewise.
18709 (CFLAGS-ftw64.c): Likewise.
18710 (CFLAGS-lockf.c): Likewise.
18711 (CFLAGS-posix_fallocate.c): Likewise.
18712 (CFLAGS-posix_fallocate64.c): Likewise.
18713 (CFLAGS-fallocate.c): Likewise.
18714 (CFLAGS-fallocate64.c): Likewise.
18715 (CFLAGS-read.c): Likewise.
18716 (CFLAGS-write.c): Likewise.
18717 (CFLAGS-test-stat.c): Likewise.
18718 (CFLAGS-test-lfs.c): Likewise.
18719 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18720 (CFLAGS-fputc.c): Likewise.
18721 (CFLAGS-fputwc.c): Likewise.
18722 (CFLAGS-freopen64.c): Likewise.
18723 (CFLAGS-freopen.c): Likewise.
18724 (CFLAGS-fseek.c): Likewise.
18725 (CFLAGS-fseeko64.c): Likewise.
18726 (CFLAGS-fseeko.c): Likewise.
18727 (CFLAGS-ftello64.c): Likewise.
18728 (CFLAGS-ftello.c): Likewise.
18729 (CFLAGS-fwide.c): Likewise.
18730 (CFLAGS-genops.c): Likewise.
18731 (CFLAGS-getc.c): Likewise.
18732 (CFLAGS-getchar.c): Likewise.
18733 (CFLAGS-getwc.c): Likewise.
18734 (CFLAGS-getwchar.c): Likewise.
18735 (CFLAGS-iofclose.c): Likewise.
18736 (CFLAGS-iofflush.c): Likewise.
18737 (CFLAGS-iofgetpos64.c): Likewise.
18738 (CFLAGS-iofgetpos.c): Likewise.
18739 (CFLAGS-iofgets.c): Likewise.
18740 (CFLAGS-iofgetws.c): Likewise.
18741 (CFLAGS-iofputs.c): Likewise.
18742 (CFLAGS-iofputws.c): Likewise.
18743 (CFLAGS-iofread.c): Likewise.
18744 (CFLAGS-iofsetpos64.c): Likewise.
18745 (CFLAGS-iofsetpos.c): Likewise.
18746 (CFLAGS-ioftell.c): Likewise.
18747 (CFLAGS-iofwrite.c): Likewise.
18748 (CFLAGS-iogetdelim.c): Likewise.
18749 (CFLAGS-iogetline.c): Likewise.
18750 (CFLAGS-iogets.c): Likewise.
18751 (CFLAGS-iogetwline.c): Likewise.
18752 (CFLAGS-ioputs.c): Likewise.
18753 (CFLAGS-ioseekoff.c): Likewise.
18754 (CFLAGS-ioseekpos.c): Likewise.
18755 (CFLAGS-iosetbuffer.c): Likewise.
18756 (CFLAGS-iosetvbuf.c): Likewise.
18757 (CFLAGS-ioungetc.c): Likewise.
18758 (CFLAGS-ioungetwc.c): Likewise.
18759 (CFLAGS-oldfileops.c): Likewise.
18760 (CFLAGS-oldiofclose.c): Likewise.
18761 (CFLAGS-oldiofgetpos64.c): Likewise.
18762 (CFLAGS-oldiofgetpos.c): Likewise.
18763 (CFLAGS-oldiofsetpos64.c): Likewise.
18764 (CFLAGS-oldiofsetpos.c): Likewise.
18765 (CFLAGS-peekc.c): Likewise.
18766 (CFLAGS-putc.c): Likewise.
18767 (CFLAGS-putchar.c): Likewise.
18768 (CFLAGS-putwc.c): Likewise.
18769 (CFLAGS-putwchar.c): Likewise.
18770 (CFLAGS-rewind.c): Likewise.
18771 (CFLAGS-wfileops.c): Likewise.
18772 (CFLAGS-wgenops.c): Likewise.
18773 (CFLAGS-oldiofopen.c): Likewise.
18774 (CFLAGS-iofopen.c): Likewise.
18775 (CFLAGS-iofopen64.c): Likewise.
18776 (CFLAGS-oldtmpfile.c): Likewise.
18777 (CFLAGS-tst_putwc.c): Likewise.
18778 * locale/Makefile (CFLAGS-md5.c): Likewise.
18779 (CFLAGS-charmap.c): Likewise.
18780 (CFLAGS-locfile.c): Likewise.
18781 (CFLAGS-charmap-dir.c): Likewise.
18782 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18783 (CFLAGS-getpt.c): Likewise.
18784 (CFLAGS-pt_chown.c): Likewise.
18785 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18786 (CFLAGS-obstack.c): Likewise.
18787 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18788 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18789 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18790 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18791 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18792 (CFLAGS-test-tgmath.c): Likewise.
18793 (CFLAGS-test-tgmath2.c): Likewise.
18794 (CFLAGS-test-tgmath-ret.c): Likewise.
18795 (CFLAGS-test-powl.c): Likewise.
18796 (CFLAGS-test-snan.c): Likewise.
18797 (CFLAGS-test-signgam-finite.c): Likewise.
18798 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18799 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18800 (CFLAGS-test-signgam-uchar.c): Likewise.
18801 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18802 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18803 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18804 (CFLAGS-test-signgam-uint.c): Likewise.
18805 (CFLAGS-test-signgam-uint-init.c): Likewise.
18806 (CFLAGS-test-signgam-uint-static.c): Likewise.
18807 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18808 (CFLAGS-test-signgam-ullong.c): Likewise.
18809 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18810 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18811 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18812 (CFLAGS-test-math-cxx11.cc): Likewise.
18813 (CFLAGS-test-math-isinff.cc): Likewise.
18814 (CFLAGS-test-math-iszero.cc): Likewise.
18815 (CFLAGS-test-math-issignaling.cc): Likewise.
18816 (CFLAGS-test-math-iscanonical.cc): Likewise.
18817 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18818 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18819 (CFLAGS-test-flt-eval-method.c): Likewise.
18820 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18821 (CFLAGS-test-finite-macros.c): Likewise.
18822 * misc/Makefile (CFLAGS-select.c): Likewise.
18823 (CFLAGS-tsearch.c): Likewise.
18824 (CFLAGS-lsearch.c): Likewise.
18825 (CFLAGS-pselect.c): Likewise.
18826 (CFLAGS-readv.c): Likewise.
18827 (CFLAGS-writev.c): Likewise.
18828 (CFLAGS-preadv.c): Likewise.
18829 (CFLAGS-preadv64.c): Likewise.
18830 (CFLAGS-pwritev.c): Likewise.
18831 (CFLAGS-pwritev64.c): Likewise.
18832 (CFLAGS-preadv2.c): Likewise.
18833 (CFLAGS-preadv64v2.c): Likewise.
18834 (CFLAGS-pwritev2.c): Likewise.
18835 (CFLAGS-pwritev64v2.c): Likewise.
18836 (CFLAGS-usleep.c): Likewise.
18837 (CFLAGS-syslog.c): Likewise.
18838 (CFLAGS-error.c): Likewise.
18839 (CFLAGS-getpass.c): Likewise.
18840 (CFLAGS-mkstemp.c): Likewise.
18841 (CFLAGS-mkstemp64.c): Likewise.
18842 (CFLAGS-getsysstats.c): Likewise.
18843 (CFLAGS-getusershell.c): Likewise.
18844 (CFLAGS-err.c): Likewise.
18845 (CFLAGS-tst-tsearch.c): Likewise.
18846 (CFLAGS-msync.c): Likewise.
18847 (CFLAGS-fdatasync.c): Likewise.
18848 (CFLAGS-fsync.c): Likewise.
18849 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18850 (CFLAGS-unwind.c): Likewise.
18851 (CFLAGS-unwind-forcedunwind.c): Likewise.
18852 (CFLAGS-pthread_cancel.c): Likewise.
18853 (CFLAGS-pthread_setcancelstate.c): Likewise.
18854 (CFLAGS-pthread_setcanceltype.c): Likewise.
18855 (CFLAGS-cancellation.c): Likewise.
18856 (CFLAGS-libc-cancellation.c): Likewise.
18857 (CFLAGS-pthread_exit.c): Likewise.
18858 (CFLAGS-forward.c): Likewise.
18859 (CFLAGS-pthread_testcancel.c): Likewise.
18860 (CFLAGS-pthread_join.c): Likewise.
18861 (CFLAGS-pthread_timedjoin.c): Likewise.
18862 (CFLAGS-pthread_once.c): Likewise.
18863 (CFLAGS-pthread_cond_wait.c): Likewise.
18864 (CFLAGS-sem_wait.c): Likewise.
18865 (CFLAGS-sem_timedwait.c): Likewise.
18866 (CFLAGS-fcntl.c): Likewise.
18867 (CFLAGS-lockf.c): Likewise.
18868 (CFLAGS-pread.c): Likewise.
18869 (CFLAGS-pread64.c): Likewise.
18870 (CFLAGS-pwrite.c): Likewise.
18871 (CFLAGS-pwrite64.c): Likewise.
18872 (CFLAGS-wait.c): Likewise.
18873 (CFLAGS-waitpid.c): Likewise.
18874 (CFLAGS-sigwait.c): Likewise.
18875 (CFLAGS-msgrcv.c): Likewise.
18876 (CFLAGS-msgsnd.c): Likewise.
18877 (CFLAGS-tcdrain.c): Likewise.
18878 (CFLAGS-open.c): Likewise.
18879 (CFLAGS-open64.c): Likewise.
18880 (CFLAGS-pause.c): Likewise.
18881 (CFLAGS-recv.c): Likewise.
18882 (CFLAGS-send.c): Likewise.
18883 (CFLAGS-accept.c): Likewise.
18884 (CFLAGS-sendto.c): Likewise.
18885 (CFLAGS-connect.c): Likewise.
18886 (CFLAGS-recvfrom.c): Likewise.
18887 (CFLAGS-recvmsg.c): Likewise.
18888 (CFLAGS-sendmsg.c): Likewise.
18889 (CFLAGS-close.c): Likewise.
18890 (CFLAGS-read.c): Likewise.
18891 (CFLAGS-write.c): Likewise.
18892 (CFLAGS-nanosleep.c): Likewise.
18893 (CFLAGS-sigsuspend.c): Likewise.
18894 (CFLAGS-msync.c): Likewise.
18895 (CFLAGS-fdatasync.c): Likewise.
18896 (CFLAGS-fsync.c): Likewise.
18897 (CFLAGS-pt-system.c): Likewise.
18898 (CFLAGS-tst-cleanup2.c): Likewise.
18899 (CFLAGS-tst-cleanupx2.c): Likewise.
18900 (CFLAGS-flockfile.c): Likewise.
18901 (CFLAGS-ftrylockfile.c): Likewise.
18902 (CFLAGS-funlockfile.c): Likewise.
18903 (CFLAGS-tst-initializers1.c): Likewise.
18904 (CFLAGS-tst-initializers1-c89.c): Likewise.
18905 (CFLAGS-tst-initializers1-c99.c): Likewise.
18906 (CFLAGS-tst-initializers1-c11.c): Likewise.
18907 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18908 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18909 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18910 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18911 (CFLAGS-nscd_getgr_r.c): Likewise.
18912 (CFLAGS-nscd_gethst_r.c): Likewise.
18913 (CFLAGS-nscd_getai.c): Likewise.
18914 (CFLAGS-nscd_initgroups.c): Likewise.
18915 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18916 (CFLAGS-pause.c): Likewise.
18917 (CFLAGS-pread.c): Likewise.
18918 (CFLAGS-pread64.c): Likewise.
18919 (CFLAGS-pwrite.c): Likewise.
18920 (CFLAGS-pwrite64.c): Likewise.
18921 (CFLAGS-sleep.c): Likewise.
18922 (CFLAGS-wait.c): Likewise.
18923 (CFLAGS-waitid.c): Likewise.
18924 (CFLAGS-waitpid.c): Likewise.
18925 (CFLAGS-getopt.c): Likewise.
18926 (CFLAGS-wordexp.c): Likewise.
18927 (CFLAGS-sysconf.c): Likewise.
18928 (CFLAGS-pathconf.c): Likewise.
18929 (CFLAGS-fpathconf.c): Likewise.
18930 (CFLAGS-spawn.c): Likewise.
18931 (CFLAGS-spawnp.c): Likewise.
18932 (CFLAGS-spawni.c): Likewise.
18933 (CFLAGS-glob.c): Likewise.
18934 (CFLAGS-glob64.c): Likewise.
18935 (CFLAGS-getconf.c): Likewise.
18936 (CFLAGS-nanosleep.c): Likewise.
18937 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18938 (CFLAGS-getpwent.c): Likewise.
18939 (CFLAGS-getpw.c): Likewise.
18940 (CFLAGS-fgetpwent_r.c): Likewise.
18941 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18942 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18943 (CFLAGS-mq_timedreceive.c): Likewise.
18944 (CFLAGS-mq_timedsend.c): Likewise.
18945 (CFLAGS-clock_nanosleep.c): Likewise.
18946 (CFLAGS-librt-cancellation.c): Likewise.
18947 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18948 (CFLAGS-getspent.c): Likewise.
18949 (CFLAGS-fgetspent.c): Likewise.
18950 (CFLAGS-fgetspent_r.c): Likewise.
18951 (CFLAGS-putspent.c): Likewise.
18952 (CFLAGS-getspnam.c): Likewise.
18953 (CFLAGS-getspnam_r.c): Likewise.
18954 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18955 (CFLAGS-sigsuspend.c): Likewise.
18956 (CFLAGS-sigtimedwait.c): Likewise.
18957 (CFLAGS-sigwait.c): Likewise.
18958 (CFLAGS-sigwaitinfo.c): Likewise.
18959 (CFLAGS-sigreturn.c): Likewise.
18960 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18961 (CFLAGS-vfwprintf.c): Likewise.
18962 (CFLAGS-tmpfile.c): Likewise.
18963 (CFLAGS-tmpfile64.c): Likewise.
18964 (CFLAGS-tempname.c): Likewise.
18965 (CFLAGS-psignal.c): Likewise.
18966 (CFLAGS-vprintf.c): Likewise.
18967 (CFLAGS-cuserid.c): Likewise.
18968 (CFLAGS-errlist.c): Likewise.
18969 (CFLAGS-siglist.c): Likewise.
18970 (CFLAGS-scanf15.c): Likewise.
18971 (CFLAGS-scanf17.c): Likewise.
18972 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18973 (CFLAGS-msort.c): Likewise.
18974 (CFLAGS-qsort.c): Likewise.
18975 (CFLAGS-system.c): Likewise.
18976 (CFLAGS-fmtmsg.c): Likewise.
18977 (CFLAGS-strfmon.c): Likewise.
18978 (CFLAGS-strfmon_l.c): Likewise.
18979 (CFLAGS-strfromd.c): Likewise.
18980 (CFLAGS-strfromf.c): Likewise.
18981 (CFLAGS-strfroml.c): Likewise.
18982 (CFLAGS-tst-bsearch.c): Likewise.
18983 (CFLAGS-tst-qsort.c): Likewise.
18984 (CFLAGS-tst-makecontext2.c): Likewise.
18985 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18986 (CFLAGS-xnlm_prot.c): Likewise.
18987 (CFLAGS-xrstat.c): Likewise.
18988 (CFLAGS-xyppasswd.c): Likewise.
18989 (CFLAGS-xklm_prot.c): Likewise.
18990 (CFLAGS-xrex.c): Likewise.
18991 (CFLAGS-xsm_inter.c): Likewise.
18992 (CFLAGS-xmount.c): Likewise.
18993 (CFLAGS-xrusers.c): Likewise.
18994 (CFLAGS-xspray.c): Likewise.
18995 (CFLAGS-xnfs_prot.c): Likewise.
18996 (CFLAGS-xrquota.c): Likewise.
18997 (CFLAGS-xkey_prot.c): Likewise.
18998 (CFLAGS-auth_unix.c): Likewise.
18999 (CFLAGS-key_call.c): Likewise.
19000 (CFLAGS-pmap_rmt.c): Likewise.
19001 (CFLAGS-clnt_perr.c): Likewise.
19002 (CFLAGS-openchild.c): Likewise.
19003 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19004 (CFLAGS-msgsnd.c): Likewise.
19005 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19006 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19007 (CFLAGS-tzset.c): Likewise.
19008 (CFLAGS-getdate.c): Likewise.
19009 (CFLAGS-test_time.c): Likewise.
19010 (CPPFLAGS-tst-tzname.c): Likewise.
19011 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19012 (CFLAGS-zic.c): Likewise.
19013 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19014 (CFLAGS-wcswidth.c): Likewise.
19015 (CFLAGS-wcstol.c): Likewise.
19016 (CFLAGS-wcstoul.c): Likewise.
19017 (CFLAGS-wcstoll.c): Likewise.
19018 (CFLAGS-wcstoull.c): Likewise.
19019 (CFLAGS-wcstod.c): Likewise.
19020 (CFLAGS-wcstold.c): Likewise.
19021 (CFLAGS-wcstof128.c): Likewise.
19022 (CFLAGS-wcstof.c): Likewise.
19023 (CFLAGS-wcstol_l.c): Likewise.
19024 (CFLAGS-wcstoul_l.c): Likewise.
19025 (CFLAGS-wcstoll_l.c): Likewise.
19026 (CFLAGS-wcstoull_l.c): Likewise.
19027 (CFLAGS-wcstod_l.c): Likewise.
19028 (CFLAGS-wcstold_l.c): Likewise.
19029 (CFLAGS-wcstof128_l.c): Likewise.
19030 (CFLAGS-wcstof_l.c): Likewise.
19031 (CPPFLAGS-tst-wchar-h.c): Likewise.
19032 (CPPFLAGS-wcstold_l.c): Likewise.
19034 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19036 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19038 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19039 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19041 * manual/tunables.texi (Hardware Capability Tunables): Document
19042 glibc.tune.cached_memopt.
19043 * sysdeps/powerpc/cpu-features.c: New file.
19044 * sysdeps/powerpc/cpu-features.h: New file.
19045 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19046 _dl_powerpc_cpu_features.
19047 * sysdeps/powerpc/dl-tunables.list: New file.
19048 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19049 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19050 (INIT_ARCH): Initialize use_aligned_memopt.
19051 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19052 IS_IN(rtld))]: Restrict dl_platform_init availability and
19053 initialize CPU features used by tunables.
19054 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19055 Add memcpy-power8-cached.
19056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19057 __memcpy_power8_cached.
19058 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19062 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19064 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19065 (CFLAGS-noinl-tester.c): Likewise.
19066 (CFLAGS-tst-strlen.c): Likewise.
19067 (CFLAGS-stratcliff.c): Likewise.
19068 (CFLAGS-test-ffs.c): Likewise.
19069 (CFLAGS-tst-inlcall.c): Likewise.
19070 (CFLAGS-tst-xbzero-opt.c): Likewise.
19071 (CFLAGS-memcpy.c): Likewise.
19072 (CFLAGS-wordcopy.c): Likewise.
19074 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19076 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19077 Store r15 on stack and add cfi rule.
19078 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19081 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19084 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19087 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19089 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19090 Add s_sinf-sse2 and s_sinf-fma.
19091 (CFLAGS-s_sinf-fma.c): New.
19092 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19093 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19094 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19096 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19098 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19100 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19103 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19104 part of result to imaginary part of argument if it is zero and the
19105 real part of the argument is not finite.
19106 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19107 of result to real part of argument if it is zero and the imaginary
19108 part of the argument is not finite.
19110 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19113 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19114 and to the list of locales to be built for testing.
19115 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19116 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19117 and build the collation rules upon that.
19119 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19121 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19122 * manual/math.texi (Mathematics): Document support for _Float32.
19123 * math/Makefile (test-types): Add float32.
19124 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19125 * stdlib/Versions (GLIBC_2.27): Likewise.
19126 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19127 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19128 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19129 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19130 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19131 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19132 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19133 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19134 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19135 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19136 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19137 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19138 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19139 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19142 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19143 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19144 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19147 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19150 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19151 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19152 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19153 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19172 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19174 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19175 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19176 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19178 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19180 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19189 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19190 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19192 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19193 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19195 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19196 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19198 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19200 * stdlib/strtof.c: Include <bits/floatn.h>
19201 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19202 and later undefine as macro. Define as weak alias if
19204 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19205 and later undefine as macro. Define as weak alias if
19207 * stdlib/strtof_l.c: Include <bits/floatn.h>
19208 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19209 and later undefine as macro. Define as weak alias if
19211 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19212 and later undefine as macro. Define as weak alias if
19215 * stdlib/strfromf.c: Include <bits/floatn.h>.
19216 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19217 and later undefine as macro and define as weak alias.
19219 * math/test-float32.h: New file.
19221 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19222 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19223 (libm_alias_float_other_r): Create f32 alias.
19224 (libm_alias_float_r): Use semicolon before call to
19225 libm_alias_float_other_r.
19227 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19228 second argument to libm_alias_float_other.
19229 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19230 second argument to libm_alias_float_other.
19231 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19232 argument to libm_alias_float_other.
19235 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19236 real part of result for argument 0 + i * NaN.
19237 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19238 results for tests of 0 + i * NaN.
19240 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19242 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19244 2017-12-06 David S. Miller <davem@davemloft.net>
19246 * sysdeps/sparc/fpu/libm-test-ulps: Update
19247 exp_{downward,towardzero,upward} ulps.
19249 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19251 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19254 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19256 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19263 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19266 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19267 and to the list of locales to be built for testing.
19268 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19269 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19270 and build the collation rules upon that.
19272 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19274 * NEWS: Add sinf to list of optimized functions.
19276 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19278 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19279 (__HAVE_FLOAT32X): Likewise.
19280 * manual/math.texi (Mathematics): Document support for _Float64
19282 * math/Makefile (test-types): Add float64 and float32x.
19283 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19285 * stdlib/Versions (GLIBC_2.27): Likewise.
19286 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19287 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19288 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19289 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19290 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19291 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19292 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19293 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19294 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19295 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19297 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19298 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19299 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19300 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19301 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19302 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19303 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19304 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19305 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19306 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19307 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19309 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19311 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19312 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19313 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19330 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19334 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19335 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19348 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19350 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19351 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19352 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19353 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19354 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19355 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19357 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19359 * bits/floatn-common.h: Include <bits/long-double.h>.
19360 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19361 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19362 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19363 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19364 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19365 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19366 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19367 (__builtin_huge_valf64): Use __builtin_huge_vall.
19368 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19369 (__builtin_inff64): Use __builtin_infl.
19370 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19371 (__builtin_nanf64): Use __builtin_nanl.
19372 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19373 (__builtin_nansf64): Use __builtin_nansl.
19375 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19376 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19377 Carlos O'Donnell <carlos@redhat.com>
19379 * elf/dl-tunables.list: Add elision parameters.
19380 * manual/tunables.texi: Add entries about elision tunable.
19381 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19382 Add callback functions to dynamically enable/disable elision.
19383 Add multiple callbacks functions to set elision parameters.
19384 Deleted __libc_enable_secure check.
19385 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19386 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19387 * configure: Regenerated.
19388 * configure.ac: Option enable_lock_elision was deleted.
19389 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19390 * config.make.in: Remove references to enable_lock_elision.
19391 * manual/install.texi: Elision configure option was removed.
19392 * INSTALL: Regenerated to remove enable_lock_elision.
19394 Disable elision so it can verify error case for destroying a mutex.
19395 * sysdeps/powerpc/nptl/elide.h:
19396 Cleanup ENABLE_LOCK_ELISION check.
19397 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19398 * sysdeps/s390/configure: Regenerated.
19399 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19400 * nptl/tst-mutex8.c:
19401 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19402 * sysdeps/powerpc/powerpc32/sysdep.h:
19403 Deleted all ENABLE_LOCK_ELISION checks.
19404 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19405 * sysdeps/powerpc/sysdep.h: Likewise.
19406 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19407 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19408 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19409 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19410 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19411 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19412 enable-lock-elision.
19414 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19416 * stdlib/strtod.c: Include <bits/floatn.h>.
19417 (BUILD_DOUBLE): New macro.
19418 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19419 (strtof64): Define and later undefine as macro. Define as weak
19420 alias if [!USE_WIDE_CHAR].
19421 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19422 (wcstof64): Define and later undefine as macro. Define as weak
19423 alias if [USE_WIDE_CHAR].
19424 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19425 (strtof32x): Define and later undefine as macro. Define as weak
19426 alias if [!USE_WIDE_CHAR].
19427 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19428 (wcstof32x): Define and later undefine as macro. Define as weak
19429 alias if [USE_WIDE_CHAR].
19430 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19431 (BUILD_DOUBLE): New macro.
19432 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19433 (strtof64_l): Define and later undefine as macro. Define as weak
19434 alias if [!USE_WIDE_CHAR].
19435 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19436 (wcstof64_l): Define and later undefine as macro. Define as weak
19437 alias if [USE_WIDE_CHAR].
19438 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19439 (strtof32x_l): Define and later undefine as macro. Define as weak
19440 alias if [!USE_WIDE_CHAR].
19441 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19442 (wcstof32x_l): Define and later undefine as macro. Define as weak
19443 alias if [USE_WIDE_CHAR].
19445 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19447 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19448 (reduced): Use ones as double instead of integer.
19450 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19452 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19454 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19456 * stdlib/strfromd.c: Include <bits/floatn.h>.
19457 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19458 and later undefine as macro and define as weak alias.
19459 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19462 * math/test-float32x.h: New file.
19463 * math/test-float64.h: Likewise.
19465 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19466 (libm_alias_double_other_r_f64): New macro.
19467 (libm_alias_double_other_r_f32x): Likewise.
19468 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19469 libm_alias_double_other_r_f32x.
19470 (libm_alias_double_r): Use semicolon before call to
19471 libm_alias_double_other_r.
19472 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19474 (libm_alias_double_other_r_f64): New macro.
19475 (libm_alias_double_other_r_f32x): Likewise.
19476 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19477 libm_alias_double_other_r_f32x.
19479 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19481 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19483 (SINF_FUNC): Likewise. Replace floor with simple casts.
19485 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19488 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19489 and to the list of locales to be built for testing.
19490 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19491 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19492 and build the collation rules upon that.
19494 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19496 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19497 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19498 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19499 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19500 instead of __insn__xxx.
19501 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19502 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19503 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19504 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19505 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19506 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19508 2017-12-05 Florian Weimer <fweimer@redhat.com>
19510 Linux: Implement interfaces for memory protection keys
19511 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19513 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19514 * support/xunistd.h (xsysconf): Declare.
19515 * support/xraise.c: New file.
19516 * support/xsigaction.c: Likewise.
19517 * support/xsignal.c: Likewise.
19518 * support/xsysconf.c: Likewise.
19519 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19520 pkey_set, pkey_get, pkey_mprotect.
19521 [misc] (tests): Add tst-pkey.
19522 (tst-pkey): Link with -lpthread.
19523 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19524 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19525 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19526 (PKEY_DISABLE_WRITE): Define.
19527 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19529 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19530 (SEGV_PKUERR): Add.
19531 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19532 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19533 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19534 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19536 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19537 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19538 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19539 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19540 * sysdeps/unix/sysv/linux/**.abilist: Update.
19542 2017-12-05 Florian Weimer <fweimer@redhat.com>
19544 * support/tst-test_compare.c (subprocess): Use long long instead
19545 of long argument for consistent type width across 32-bit and
19546 64-bit architectures.
19547 (do_test): Adjust expected output.
19549 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19551 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19552 (cosf): Define using libm_alias_float.
19553 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19554 (fabsf): Define using libm_alias_float.
19555 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19556 (fmaf): Define using libm_alias_float.
19557 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19558 (rintf): Define using libm_alias_float.
19559 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19560 (sinf): Define using libm_alias_float.
19561 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19562 <libm-alias-float.h>.
19563 (modff): Define using libm_alias_float.
19564 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19565 <libm-alias-float.h>.
19566 (logbf): Define using libm_alias_float.
19567 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19568 <libm-alias-float.h>.
19569 (ceilf): Define using libm_alias_float.
19570 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19571 <libm-alias-float.h>.
19572 (copysignf): Define using libm_alias_float.
19573 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19574 <libm-alias-float.h>.
19575 (floorf): Define using libm_alias_float.
19576 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19577 <libm-alias-float.h>.
19578 (llrintf): Define using libm_alias_float.
19579 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19580 <libm-alias-float.h>.
19581 (llroundf): Define using libm_alias_float.
19582 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19583 <libm-alias-float.h>.
19584 (lrintf): Define using libm_alias_float.
19585 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19586 <libm-alias-float.h>.
19587 (lroundf): Define using libm_alias_float.
19588 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19589 <libm-alias-float.h>.
19590 (nearbyintf): Define using libm_alias_float.
19591 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19592 <libm-alias-float.h>.
19593 (rintf): Define using libm_alias_float.
19594 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19595 <libm-alias-float.h>.
19596 (roundf): Define using libm_alias_float.
19597 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19598 <libm-alias-float.h>.
19599 (truncf): Define using libm_alias_float.
19600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19601 Include <libm-alias-float.h>.
19602 (ceilf): Define using libm_alias_float.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19604 Include <libm-alias-float.h>.
19605 (copysignf): Define using libm_alias_float.
19606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19607 Include <libm-alias-float.h>.
19608 (floorf): Define using libm_alias_float.
19609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19610 Include <libm-alias-float.h>.
19611 (llrintf): Define using libm_alias_float.
19612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19613 Include <libm-alias-float.h>.
19614 (llroundf): Define using libm_alias_float.
19615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19616 Include <libm-alias-float.h>.
19617 (logbf): Define using libm_alias_float.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19619 Include <libm-alias-float.h>.
19620 (lrintf): Define using libm_alias_float.
19621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19622 Include <libm-alias-float.h>.
19623 (lroundf): Define using libm_alias_float.
19624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19625 Include <libm-alias-float.h>.
19626 (modff): Define using libm_alias_float.
19627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19628 Include <libm-alias-float.h>.
19629 (roundf): Define using libm_alias_float.
19630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19631 Include <libm-alias-float.h>.
19632 (truncf): Define using libm_alias_float.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19634 <libm-alias-float.h>.
19635 (llrintf): Define using libm_alias_float.
19636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19637 <libm-alias-float.h>.
19638 (llroundf): Define using libm_alias_float.
19639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19640 <libm-alias-float.h>.
19641 (ceilf): Define using libm_alias_float.
19642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19643 <libm-alias-float.h>.
19644 (floorf): Define using libm_alias_float.
19645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19646 <libm-alias-float.h>.
19647 (llroundf): Define using libm_alias_float.
19648 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19649 <libm-alias-float.h>.
19650 (lroundf): Define using libm_alias_float.
19651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19652 <libm-alias-float.h>.
19653 (roundf): Define using libm_alias_float.
19654 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19655 <libm-alias-float.h>.
19656 (truncf): Define using libm_alias_float.
19657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19658 <libm-alias-float.h>.
19659 (copysignf): Define using libm_alias_float.
19660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19661 <libm-alias-float.h>.
19662 (llrintf): Define using libm_alias_float.
19663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19664 <libm-alias-float.h>.
19665 (llroundf): Define using libm_alias_float.
19666 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19667 <libm-alias-float.h>.
19668 (lrintf): Define using libm_alias_float.
19669 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19670 <libm-alias-float.h>.
19671 (lroundf): Define using libm_alias_float.
19672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19673 <libm-alias-float.h>.
19674 (ceilf): Define using libm_alias_float.
19675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19676 <libm-alias-float.h>.
19677 (copysignf): Define using libm_alias_float.
19678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19679 <libm-alias-float.h>.
19680 (cosf): Define using libm_alias_float.
19681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19682 <libm-alias-float.h>.
19683 (floorf): Define using libm_alias_float.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19685 <libm-alias-float.h>.
19686 (llrintf): Define using libm_alias_float.
19687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19688 <libm-alias-float.h>.
19689 (llroundf): Define using libm_alias_float.
19690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19691 <libm-alias-float.h>.
19692 (logbf): Define using libm_alias_float.
19693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19694 <libm-alias-float.h>.
19695 (modff): Define using libm_alias_float.
19696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19697 <libm-alias-float.h>.
19698 (roundf): Define using libm_alias_float.
19699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19700 <libm-alias-float.h>.
19701 (sinf): Define using libm_alias_float.
19702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19703 <libm-alias-float.h>.
19704 (truncf): Define using libm_alias_float.
19705 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19706 <libm-alias-float.h>.
19707 (ceilf): Define using libm_alias_float.
19708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19709 <libm-alias-float.h>.
19710 (copysignf): Define using libm_alias_float.
19711 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19712 <libm-alias-float.h>.
19713 (floorf): Define using libm_alias_float.
19714 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19715 <libm-alias-float.h>.
19716 (llrintf): Define using libm_alias_float.
19717 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19718 <libm-alias-float.h>.
19719 (llroundf): Define using libm_alias_float.
19720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19721 <libm-alias-float.h>.
19722 (nearbyintf): Define using libm_alias_float.
19723 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19724 <libm-alias-float.h>.
19725 (rintf): Define using libm_alias_float.
19726 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19727 <libm-alias-float.h>.
19728 (roundf): Define using libm_alias_float.
19729 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19730 <libm-alias-float.h>.
19731 (truncf): Define using libm_alias_float.
19732 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19733 <libm-alias-float.h>.
19734 (ceilf): Define using libm_alias_float.
19735 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19736 <libm-alias-float.h>.
19737 (floorf): Define using libm_alias_float.
19738 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19739 <libm-alias-float.h>.
19740 (llroundf): Define using libm_alias_float.
19741 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19742 <libm-alias-float.h>.
19743 (roundf): Define using libm_alias_float.
19744 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19745 <libm-alias-float.h>.
19746 (truncf): Define using libm_alias_float.
19747 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19748 <libm-alias-float.h>.
19749 (copysignf): Define using libm_alias_float.
19750 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19751 <libm-alias-float.h>.
19752 (llrintf): Define using libm_alias_float.
19753 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19754 <libm-alias-float.h>.
19755 (llroundf): Define using libm_alias_float.
19756 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19757 <libm-alias-float.h>.
19758 (cosf): Define using libm_alias_float.
19759 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19760 <libm-alias-float.h>.
19761 (llrintf): Define using libm_alias_float.
19762 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19763 <libm-alias-float.h>.
19764 (llroundf): Define using libm_alias_float.
19765 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19766 <libm-alias-float.h>.
19767 (sinf): Define using libm_alias_float.
19769 2017-12-04 Florian Weimer <fweimer@redhat.com>
19771 * support/check.h (TEST_COMPARE): Define.
19772 (support_test_compare_failure): Declare.
19773 * support/Makefile (libsupport-routines): Add
19774 support_test_compare_failure.
19775 (tests): Add tst-test_compare.
19776 * support /support_test_compare_failure.c: New file.
19777 * support/tst-test_compare.c: Likewise.
19779 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19782 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19783 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19784 available, this rewrite of the collation rules does reproduce
19785 the test file in the same order.
19787 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19790 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19791 digraphs in the month and day names. Using single code points for
19792 digraphs is deprecated. While there are dedicated Unicode
19793 codepoints, for the digraphs, these are included for backwards
19794 compatibility and modern texts use a sequence of Basic Latin
19795 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19796 This makes the month and day names agree exactly with CLDR now,
19797 CLDR does not use the single code points for the digraphs either.
19799 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19801 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19803 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19805 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19808 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19810 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19811 Define only for libc.so.
19813 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19816 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19817 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19818 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19821 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19824 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19826 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19829 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19830 PREINIT_FUNCTION_WEAK is nonzero.
19831 (gmon_initializer): New function. Put procedure label for it in
19832 .init_array section.
19833 (_init): Don't call PREINIT_FUNCTION.
19834 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19835 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19836 value when map argument is null.
19838 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19839 depi instruction from PIC pc-relative sequence.
19840 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19841 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19842 (elf_machine_load_address): Likewise.
19843 (elf_machine_runtime_setup): Likewise.
19845 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19847 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19848 <libm-alias-double.h>.
19849 (logb): Define using libm_alias_double.
19850 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19851 <libm-alias-double.h>.
19852 (copysign): Define using libm_alias_double.
19853 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19854 <libm-alias-double.h>.
19855 (llrint): Define using libm_alias_double.
19856 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19857 <libm-alias-double.h>.
19858 (llround): Define using libm_alias_double.
19859 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19860 <libm-alias-double.h>.
19861 (lrint): Define using libm_alias_double.
19862 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19863 <libm-alias-double.h>.
19864 (lround): Define using libm_alias_double.
19865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19866 Include <libm-alias-double.h>.
19867 (copysign): Define using libm_alias_double.
19868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19869 Include <libm-alias-double.h>.
19870 (llrint): Define using libm_alias_double.
19871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19872 Include <libm-alias-double.h>.
19873 (llround): Define using libm_alias_double.
19874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19875 <libm-alias-double.h>.
19876 (logb): Define using libm_alias_double.
19877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19878 Include <libm-alias-double.h>.
19879 (lrint): Define using libm_alias_double.
19880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19881 Include <libm-alias-double.h>.
19882 (lround): Define using libm_alias_double.
19883 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19884 <libm-alias-double.h>.
19885 (llrint): Define using libm_alias_double.
19886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19887 <libm-alias-double.h>.
19888 (llround): Define using libm_alias_double.
19889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19890 <libm-alias-double.h>.
19891 (llround): Define using libm_alias_double.
19892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19893 <libm-alias-double.h>.
19894 (lround): Define using libm_alias_double.
19895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19896 <libm-alias-double.h>.
19897 (copysign): Define using libm_alias_double.
19898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19899 <libm-alias-double.h>.
19900 (llrint): Define using libm_alias_double.
19901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19902 <libm-alias-double.h>.
19903 (llround): Define using libm_alias_double.
19904 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19905 <libm-alias-double.h>.
19906 (lrint): Define using libm_alias_double.
19907 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19908 <libm-alias-double.h>.
19909 (lround): Define using libm_alias_double.
19910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19911 <libm-alias-double.h>.
19912 (copysign): Define using libm_alias_double.
19913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19914 <libm-alias-double.h>.
19915 (llrint): Define using libm_alias_double.
19917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19918 <libm-alias-double.h>.
19919 (llround): Define using libm_alias_double.
19920 (lround): Likewise.
19921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19922 <libm-alias-double.h>.
19923 (logb): Define using libm_alias_double.
19924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19925 <libm-alias-double.h>.
19926 (copysign): Define using libm_alias_double.
19927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19928 <libm-alias-double.h>.
19929 (llrint): Define using libm_alias_double.
19931 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19932 <libm-alias-double.h>.
19933 (llround): Define using libm_alias_double.
19934 (lround): Likewise.
19935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19936 <libm-alias-double.h>.
19937 (llround): Define using libm_alias_double.
19938 (lround): Likewise.
19939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19940 <libm-alias-double.h>.
19941 (copysign): Define using libm_alias_double.
19942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19943 <libm-alias-double.h>.
19944 (llrint): Define using libm_alias_double.
19946 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19947 <libm-alias-double.h>.
19948 (llround): Define using libm_alias_double.
19949 (lround): Likewise.
19950 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19951 <libm-alias-double.h>.
19952 (llrint): Define using libm_alias_double.
19954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19955 <libm-alias-double.h>.
19956 (llround): Define using libm_alias_double.
19957 (lround): Likewise.
19959 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19962 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19963 compat symbol based on llround.
19965 * sysdeps/powerpc/power7/fpu/s_logb.c
19966 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19967 symbol based on __logb, not on logb.
19968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19969 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19971 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19973 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19974 (rint): Define using libm_alias_double.
19975 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19976 <libm-alias-double.h>.
19977 (modf): Define using libm_alias_double.
19978 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19979 <libm-alias-double.h>.
19980 (ceil): Define using libm_alias_double.
19981 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19982 <libm-alias-double.h>.
19983 (floor): Define using libm_alias_double.
19984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19985 <libm-alias-double.h>.
19986 (nearbyint): Define using libm_alias_double.
19987 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19988 <libm-alias-double.h>.
19989 (rint): Define using libm_alias_double.
19990 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19991 <libm-alias-double.h>.
19992 (round): Define using libm_alias_double.
19993 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19994 <libm-alias-double.h>.
19995 (trunc): Define using libm_alias_double.
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19997 <libm-alias-double.h>.
19998 (ceil): Define using libm_alias_double.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20000 Include <libm-alias-double.h>.
20001 (floor): Define using libm_alias_double.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20003 <libm-alias-double.h>.
20004 (modf): Define using libm_alias_double.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20006 Include <libm-alias-double.h>.
20007 (round): Define using libm_alias_double.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20009 Include <libm-alias-double.h>.
20010 (trunc): Define using libm_alias_double.
20011 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20012 <libm-alias-double.h>.
20013 (ceil): Define using libm_alias_double.
20014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20015 <libm-alias-double.h>.
20016 (floor): Define using libm_alias_double.
20017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20018 <libm-alias-double.h>.
20019 (round): Define using libm_alias_double.
20020 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20021 <libm-alias-double.h>.
20022 (trunc): Define using libm_alias_double.
20023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20024 <libm-alias-double.h>.
20025 (ceil): Define using libm_alias_double.
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20027 <libm-alias-double.h>.
20028 (floor): Define using libm_alias_double.
20029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20030 <libm-alias-double.h>.
20031 (modf): Define using libm_alias_double.
20032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20033 <libm-alias-double.h>.
20034 (round): Define using libm_alias_double.
20035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20036 <libm-alias-double.h>.
20037 (trunc): Define using libm_alias_double.
20038 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20039 <libm-alias-double.h>.
20040 (ceil): Define using libm_alias_double.
20041 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20042 <libm-alias-double.h>.
20043 (floor): Define using libm_alias_double.
20044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20045 <libm-alias-double.h>.
20046 (nearbyint): Define using libm_alias_double.
20047 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20048 <libm-alias-double.h>.
20049 (rint): Define using libm_alias_double.
20050 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20051 <libm-alias-double.h>.
20052 (round): Define using libm_alias_double.
20053 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20054 <libm-alias-double.h>.
20055 (trunc): Define using libm_alias_double.
20056 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20057 <libm-alias-double.h>.
20058 (ceil): Define using libm_alias_double.
20059 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20060 <libm-alias-double.h>.
20061 (floor): Define using libm_alias_double.
20062 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20063 <libm-alias-double.h>.
20064 (round): Define using libm_alias_double.
20065 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20066 <libm-alias-double.h>.
20067 (trunc): Define using libm_alias_double.
20069 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20070 (fabs): Define using libm_alias_double.
20071 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20072 (fma): Define using libm_alias_double.
20073 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20074 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20075 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20076 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20078 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20080 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20082 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20083 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20084 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20087 due redirect macro.
20089 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20091 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20093 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20095 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20097 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20098 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20101 (libm-sysdep_routines): Add s_nearbyintf-generic and
20102 s_nearbyint-generic.
20103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20116 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20127 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20138 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20149 (sysdep_calls): New rule.
20150 (sysdep_routines): Use sysdep_calls as base.
20151 (libm-sysdep_routines): Add generic rule for symbols shared with
20152 libc. Add s_copysign-generic and s_copysign-generic objects.
20153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20162 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20165 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20166 the list of locales to be built for testing.
20167 * localedata/is_IS.UTF-8.in: New file.
20168 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20171 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20173 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20174 <libm-alias-float.h>.
20175 (fabsf): Define using libm_alias_float.
20177 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20179 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20181 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20184 <libm-alias-float.h>.
20185 (fabsf): Define using libm_alias_float.
20186 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20187 <libm-alias-float.h>.
20188 (lrintf): Define using libm_alias_float.
20189 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20190 <libm-alias-float.h>.
20191 (rintf): Define using libm_alias_float.
20193 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20194 <libm-alias-double.h>.
20195 (fabs): Define using libm_alias_double.
20196 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20197 <libm-alias-double.h>.
20198 (lrint): Define using libm_alias_double.
20199 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20200 <libm-alias-double.h>.
20201 (rint): Define using libm_alias_double.
20203 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20204 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20205 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20206 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20207 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20208 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20209 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20210 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20211 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20212 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20213 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20214 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20215 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20216 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20217 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20218 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20219 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20220 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20222 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20223 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20224 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20226 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20227 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20228 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20230 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20231 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20232 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20233 s_expm1_template.c.
20234 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20235 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20236 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20238 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20239 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20240 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20241 s_floor_template.c.
20242 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20243 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20244 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20245 s_frexp_template.c.
20246 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20247 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20248 s_lrint_template.c.
20249 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20250 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20251 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20253 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20254 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20255 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20256 s_nearbyint_template.c.
20257 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20258 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20259 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20260 s_remquo_template.c.
20261 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20262 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20263 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20265 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20266 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20267 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20269 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20270 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20271 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20272 s_sincos_template.c.
20273 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20274 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20275 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20277 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20278 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20279 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20281 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20282 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20283 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20284 s_trunc_template.c.
20285 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20286 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20287 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20288 s_atan.c instead of including s_atan.c.
20289 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20290 s_atanf.c instead of including s_atanf.c.
20291 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20292 s_atanl.c instead of including s_atanl.c.
20293 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20294 instead of s_atan.c.
20295 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20296 instead of s_atanf.c.
20297 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20298 instead of s_atanl.c.
20300 * scripts/update-copyrights: Do not handle intl/plural.c
20303 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20306 * configure.ac (BISON): Require to be present.
20307 * configure: Regenerated.
20308 * intl/Makefile (generated): Add plural.c.
20309 [$(BISON) != no]: Make code unconditional.
20310 (plural.c): Change rule to $(objpfx)plural.c.
20311 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20312 * intl/plural.c: Remove.
20313 * manual/install.texi (Tools for Compilation): Document bison as
20315 * INSTALL: Regenerated.
20317 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20319 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20320 <libm-alias-double.h>.
20321 (llrint): Define using libm_alias_double.
20322 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20323 <libm-alias-float.h>.
20324 (llrintf): Define using libm_alias_float.
20325 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20326 <libm-alias-ldouble.h>.
20327 (llrintl): Define using libm_alias_ldouble.
20329 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20330 declare_mgen_alias instead of weak_alias.
20331 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20332 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20333 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20335 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20337 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20339 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20340 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20341 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20343 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20344 Add submul_1-generic.
20345 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20346 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20347 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20349 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20350 Add addmul_1-generic.
20351 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20352 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20353 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20355 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20357 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20358 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20359 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20361 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20363 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20364 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20365 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20367 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20369 According to CLDR, collation rules for Serbian and Bosnian
20370 should be the same as for Croatian.
20373 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20374 and to the list of locales to be built for testing.
20375 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20376 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20377 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20378 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20380 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20382 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20383 to make test case pass.
20384 * localedata/hr_HR.UTF-8.in: Add more test strings.
20386 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20388 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20390 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20392 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20393 the list of locales to built for testing.
20394 * localedata/hr_HR.UTF-8.in: New file.
20396 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20399 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20401 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20402 CLDR (except use ligatures for the digraphs, CLDR does not use
20403 the ligatures), add first_workday, some fixes in the date and time
20405 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20407 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20408 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20409 Add int_p_cs_precedes and int_n_cs_precedes.
20410 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20411 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20413 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20414 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20416 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20417 and lang_lib. Change postal_fmt.
20419 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20421 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20423 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20424 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20425 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20426 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20427 * sysdeps/generic/setjmpP.h: New file.
20428 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20429 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20430 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20431 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20432 Add jmp_buf-ssp.sym.
20433 (tests): Add tst-saved_mask-1.
20435 2017-11-30 Arjun Shankar <arjun@redhat.com>
20439 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20440 instead of request2size.
20442 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20445 (__lllrint): Remove alias.
20446 (lllrint): Likewise.
20447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20448 (__lllrintf): Likewise.
20449 (lllrintf): Likewise.
20451 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20452 <libm-alias-float.h>.
20453 (copysignf): Define using libm_alias_float.
20454 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20455 <libm-alias-float.h>.
20456 (fabsf): Define using libm_alias_float.
20457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20458 Include <libm-alias-float.h>.
20459 (copysignf): Define using libm_alias_float.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20461 <libm-alias-float.h>.
20462 (fabsf): Define using libm_alias_float.
20463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20464 <libm-alias-float.h>.
20465 (fdimf): Define using libm_alias_float.
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20467 <libm-alias-float.h>.
20468 (fmaf): Define using libm_alias_float.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20470 <libm-alias-float.h>.
20471 (llrintf): Define using libm_alias_float.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20473 Include <libm-alias-float.h>.
20474 (nearbyintf): Define using libm_alias_float.
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20476 <libm-alias-float.h>.
20477 (rintf): Define using libm_alias_float.
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20479 <libm-alias-float.h>.
20480 (llrintf): Define using libm_alias_float.
20481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20482 <libm-alias-float.h>.
20483 (lrintf): Define using libm_alias_float.
20484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20485 <libm-alias-float.h>.
20486 (nearbyintf): Define using libm_alias_float.
20487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20488 <libm-alias-float.h>.
20489 (rintf): Define using libm_alias_float.
20490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20491 <libm-alias-float.h>.
20492 (ceilf): Define using libm_alias_float.
20493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20494 <libm-alias-float.h>.
20495 (floorf): Define using libm_alias_float.
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20497 <libm-alias-float.h>.
20498 (fmaf): Define using libm_alias_float.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20500 <libm-alias-float.h>.
20501 (lrintf): Define using libm_alias_float.
20502 (llrintf): Likewise.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20504 <libm-alias-float.h>.
20505 (nearbyintf): Define using libm_alias_float.
20506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20507 <libm-alias-float.h>.
20508 (rintf): Define using libm_alias_float.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20510 <libm-alias-float.h>.
20511 (truncf): Define using libm_alias_float.
20512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20513 <libm-alias-float.h>.
20514 (copysignf): Define using libm_alias_float.
20515 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20516 <libm-alias-float.h>.
20517 (fabsf): Define using libm_alias_float.
20518 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20519 <libm-alias-float.h>.
20520 (lrintf): Define using libm_alias_float.
20521 (llrintf): Likewise.
20522 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20523 <libm-alias-float.h>.
20524 (nearbyintf): Define using libm_alias_float.
20525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20526 <libm-alias-float.h>.
20527 (rintf): Define using libm_alias_float.
20529 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20531 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20532 <libm-alias-double.h>.
20533 (copysign): Define using libm_alias_double.
20534 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20535 <libm-alias-double.h>.
20536 (fabs): Define using libm_alias_double.
20537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20538 Include <libm-alias-double.h>.
20539 (copysign): Define using libm_alias_double.
20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20541 <libm-alias-double.h>.
20542 (fabs): Define using libm_alias_double.
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20544 <libm-alias-double.h>.
20545 (fdim): Define using libm_alias_double.
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20547 <libm-alias-double.h>.
20548 (fma): Define using libm_alias_double.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20550 <libm-alias-double.h>.
20551 (llrint): Define using libm_alias_double.
20552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20553 Include <libm-alias-double.h>.
20554 (nearbyint): Define using libm_alias_double.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20556 <libm-alias-double.h>.
20557 (rint): Define using libm_alias_double.
20558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20559 <libm-alias-double.h>.
20560 (fabs): Define using libm_alias_double.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20562 <libm-alias-double.h>.
20563 (llrint): Define using libm_alias_double.
20564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20565 <libm-alias-double.h>.
20566 (nearbyint): Define using libm_alias_double.
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20568 <libm-alias-double.h>.
20569 (rint): Define using libm_alias_double.
20570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20571 <libm-alias-double.h>.
20572 (ceil): Define using libm_alias_double.
20573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20574 <libm-alias-double.h>.
20575 (floor): Define using libm_alias_double.
20576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20577 <libm-alias-double.h>.
20578 (fma): Define using libm_alias_double.
20579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20580 <libm-alias-double.h>.
20581 (lrint): Define using libm_alias_double.
20582 (llrint): Likewise.
20583 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20584 <libm-alias-double.h>.
20585 (nearbyint): Define using libm_alias_double.
20586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20587 <libm-alias-double.h>.
20588 (rint): Define using libm_alias_double.
20589 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20590 <libm-alias-double.h>.
20591 (trunc): Define using libm_alias_double.
20592 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20593 <libm-alias-double.h>.
20594 (copysign): Define using libm_alias_double.
20595 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20596 <libm-alias-double.h>.
20597 (fabs): Define using libm_alias_double.
20598 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20599 <libm-alias-double.h>.
20600 (lrint): Define using libm_alias_double.
20601 (llrint): Likewise.
20602 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20603 <libm-alias-double.h>.
20604 (nearbyint): Define using libm_alias_double.
20605 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20606 <libm-alias-double.h>.
20607 (rint): Define using libm_alias_double.
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20612 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20614 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20615 SPARC --disable-multi-arch glibc variants.
20617 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20618 <libm-alias-float.h>.
20619 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20621 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20622 <libm-alias-float.h>.
20623 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20625 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20626 <libm-alias-float.h>.
20627 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20629 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20630 <libm-alias-float.h>.
20631 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20633 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20634 <libm-alias-float.h>.
20635 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20637 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20638 <libm-alias-float.h>.
20639 (ceilf): Define using libm_alias_float.
20640 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20641 <libm-alias-float.h>.
20642 (floorf): Define using libm_alias_float.
20643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20644 <libm-alias-float.h>.
20645 (fmaf): Define using libm_alias_float.
20646 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20647 <libm-alias-float.h>.
20648 (nearbyintf): Define using libm_alias_float.
20649 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20650 <libm-alias-float.h>.
20651 (rintf): Define using libm_alias_float.
20652 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20653 <libm-alias-float.h>.
20654 (truncf): Define using libm_alias_float.
20655 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20656 (copysignf): Define using libm_alias_float.
20657 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20658 (cosf): Define using libm_alias_float.
20659 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20660 (fabsf): Define using libm_alias_float.
20661 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20662 (fmaxf): Define using libm_alias_float.
20663 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20664 (fminf): Define using libm_alias_float.
20665 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20666 (llrintf): Define using libm_alias_float.
20667 [!__ILP32__] (lrintf): Likewise.
20668 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20669 (sincosf): Define using libm_alias_float.
20670 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20671 (sinf): Define using libm_alias_float.
20672 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20673 (lrintf): Define using libm_alias_float.
20675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20676 <libm-alias-double.h>.
20677 (atan): Define using libm_alias_double.
20678 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20679 <libm-alias-double.h>.
20680 (ceil): Define using libm_alias_double.
20681 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20682 <libm-alias-double.h>.
20683 (floor): Define using libm_alias_double.
20684 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20685 <libm-alias-double.h>.
20686 (fma): Define using libm_alias_double.
20687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20688 <libm-alias-double.h>.
20689 (nearbyint): Define using libm_alias_double.
20690 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20691 <libm-alias-double.h>.
20692 (rint): Define using libm_alias_double.
20693 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20694 <libm-alias-double.h>.
20695 (sin): Define using libm_alias_double.
20697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20698 <libm-alias-double.h>.
20699 (tan): Define using libm_alias_double.
20700 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20701 <libm-alias-double.h>.
20702 (trunc): Define using libm_alias_double.
20703 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20704 (copysign): Define using libm_alias_double.
20705 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20706 (fabs): Define using libm_alias_double.
20707 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20708 (fmax): Define using libm_alias_double.
20709 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20710 (fmin): Define using libm_alias_double.
20711 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20712 (llrint): Define using libm_alias_double.
20713 [!__ILP32__] (lrint): Likewise.
20714 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20715 (lrint): Define using libm_alias_double.
20717 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20720 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20730 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20740 (libm-sysdep_routines): Add s_nearbyint-generic and
20741 s_nearbyintf-generic objects.
20742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20747 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20750 Add s_finitef-generic and s_finite-generic objects.
20751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20759 Add s_isinff-generic and s_isinf-generic objects.
20760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20768 Add s_isnanf-generic and s_isnan-generic objects.
20769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20776 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20780 (sysdep_routines): Use sysdep_calls as base.
20781 (libm-sysdep_routines): Add generic rule for symbols shared with
20782 libc. Add s_signbit-generic and s_signbitf-generic objects.
20783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20790 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20792 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20793 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20794 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20795 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20796 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20797 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20798 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20799 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20800 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20801 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20802 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20803 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20804 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20805 libm_alias_float_r.
20806 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20807 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20809 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20810 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20811 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20812 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20813 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20814 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20815 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20816 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20817 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20818 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20820 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20822 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20823 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20824 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20825 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20826 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20827 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20828 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20829 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20830 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20831 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20832 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20833 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20834 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20835 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20836 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20837 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20838 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20839 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20840 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20842 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20843 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20844 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20845 * sysdeps/ia64/fpu/w_lgammaf_main.c
20846 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20847 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20849 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20850 Alexandre Oliva <aoliva@redhat.com>
20853 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20854 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20856 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20858 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20859 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20860 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20861 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20862 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20863 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20864 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20865 instead of “ifdef DIACRIT_BACKWARD”.
20867 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20869 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20870 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20871 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20872 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20873 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20874 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20881 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20883 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20884 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20885 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20886 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20888 ($(have-as-vis3) == yes): Remove conditional.
20889 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20908 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20910 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20911 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20912 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20913 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20914 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20915 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20916 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20917 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20918 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20919 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20920 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20921 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20922 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20923 libm_alias_double_r.
20924 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20926 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20927 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20928 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20929 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20930 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20931 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20932 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20933 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20934 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20935 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20936 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20938 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20940 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20941 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20942 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20943 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20944 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20945 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20946 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20947 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20948 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20949 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20950 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20951 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20952 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20953 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20954 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20955 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20956 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20957 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20959 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20960 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20961 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20962 * sysdeps/ia64/fpu/w_lgamma_main.c
20963 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20964 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20966 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20968 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20969 address of $global$ into %dp register earlier. Use pc-relative
20970 instruction sequence for PIC case.
20972 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20974 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20975 (asinhf): Define using libm_alias_float.
20976 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20977 (atanf): Define using libm_alias_float.
20978 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20979 (cbrtf): Define using libm_alias_float.
20980 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20981 (ceilf): Define using libm_alias_float.
20982 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20983 (copysignf): Define using libm_alias_float.
20984 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20985 (expm1f): Define using libm_alias_float.
20986 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20987 (fabsf): Define using libm_alias_float.
20988 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20989 (floorf): Define using libm_alias_float.
20990 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20991 (fmaxf): Define using libm_alias_float.
20992 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20993 (fminf): Define using libm_alias_float.
20994 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20995 (frexpf): Define using libm_alias_float.
20996 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20997 (llrintf): Define using libm_alias_float.
20998 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20999 (logbf): Define using libm_alias_float.
21000 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21001 (lrintf): Define using libm_alias_float.
21002 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21003 (nearbyintf): Define using libm_alias_float.
21004 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21005 (remquof): Define using libm_alias_float.
21006 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21007 (rintf): Define using libm_alias_float.
21008 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21009 (truncf): Define using libm_alias_float.
21010 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21011 <libm-alias-float.h>.
21012 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21014 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21015 <libm-alias-float.h>.
21016 (expf): Define using libm_alias_float, or libm_alias_float_other
21018 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21019 <libm-alias-float.h>.
21020 (log2f): Define using libm_alias_float, or libm_alias_float_other
21022 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21023 <libm-alias-float.h>.
21024 (logf): Define using libm_alias_float, or libm_alias_float_other
21026 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21027 <libm-alias-float.h>.
21028 (powf): Define using libm_alias_float, or libm_alias_float_other
21030 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21031 <libm-alias-float.h>.
21032 (cosf): Define using libm_alias_float.
21033 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21034 <libm-alias-float.h>.
21035 (sincosf): Define using libm_alias_float.
21036 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21037 <libm-alias-float.h>.
21038 (sinf): Define using libm_alias_float.
21039 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21040 (fmaxf): Define using libm_alias_float.
21041 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21042 (fminf): Define using libm_alias_float.
21043 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21044 <libm-alias-float.h>.
21045 (fmaf): Define using libm_alias_float.
21047 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21048 (asinh): Define using libm_alias_double.
21049 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21050 (atan): Define using libm_alias_double.
21051 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21052 (cbrt): Define using libm_alias_double.
21053 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21054 (ceil): Define using libm_alias_double.
21055 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21056 (copysign): Define using libm_alias_double.
21057 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21058 (expm1): Define using libm_alias_double.
21059 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21060 (fabs): Define using libm_alias_double.
21061 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21062 (fdim): Define using libm_alias_double.
21063 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21064 (floor): Define using libm_alias_double.
21065 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21066 (fmax): Define using libm_alias_double.
21067 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21068 (fmin): Define using libm_alias_double.
21069 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21070 (frexp): Define using libm_alias_double.
21071 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21072 (llrint): Define using libm_alias_double.
21073 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21074 (logb): Define using libm_alias_double.
21075 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21076 (lrint): Define using libm_alias_double.
21077 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21078 (nearbyint): Define using libm_alias_double.
21079 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21080 (remquo): Define using libm_alias_double.
21081 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21082 (rint): Define using libm_alias_double.
21083 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21084 (trunc): Define using libm_alias_double.
21085 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21086 (fmax): Define using libm_alias_double.
21087 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21088 (fmin): Define using libm_alias_double.
21089 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21090 (fma): Define using libm_alias_double.
21092 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21095 * elf/dl-hwcaps.c (ROUND): Removed.
21096 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21097 and ELF_NOTE_NEXT_OFFSET.
21098 * elf/dl-load.c (ROUND): Removed.
21099 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21100 * elf/readelflib.c (ROUND): Removed.
21101 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21102 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21103 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21104 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21106 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21108 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21109 [!__fmaf] (fmaf): Define using libm_alias_float.
21111 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21112 [!__fma] (fma): Define using libm_alias_double.
21113 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21115 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21118 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21119 and implement the collation rules for cs from CLDR on top of that.
21120 * Makefile: Add cs_CZ.UTF-8 to test-input.
21121 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21123 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21125 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21127 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21128 Icarus Sparry <icarus.w.sparry@intel.com>
21130 * benchtests/Makefile:Add BENCHSET to allow subsets of
21131 benchmarks to be run.
21132 * benchtests/README: Add documentation for: Running subsets of
21135 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21137 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21138 range of tests names.
21140 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21141 result from property and remove "max", min" and "mean" from
21142 required properties based on benchtests/bench-skeleton.c.
21144 2017-11-28 Florian Weimer <fweimer@redhat.com>
21147 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21148 due to Internet requirement.
21149 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21151 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21153 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21155 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21156 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21157 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21158 (sysdep_routines): Add memset-ultra1.
21159 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21161 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21162 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21163 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21164 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21165 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21166 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21167 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21168 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21170 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21172 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21173 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21174 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21175 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21176 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21177 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21178 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21180 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21181 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21182 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21183 (sysdep_routines): Add memcpy-ultra1.
21184 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21185 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21187 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21190 (cfloat_versions): Take function argument without trailing 'f'.
21191 Call libm_alias_float_other.
21192 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21193 * sysdeps/alpha/fpu/cargf.c: Likewise.
21194 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21195 * sysdeps/alpha/fpu/conjf.c: Likewise.
21196 * sysdeps/alpha/fpu/crealf.c: Likewise.
21197 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21198 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21199 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21200 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21201 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21202 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21203 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21204 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21205 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21206 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21207 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21208 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21209 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21210 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21211 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21212 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21213 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21214 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21215 (clog10f): Use libm_alias_float_other.
21216 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21217 (ceilf): Define using libm_alias_float.
21218 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21219 (copysignf): Define using libm_alias_float.
21220 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21221 (fabsf): Define using libm_alias_float.
21222 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21223 (floorf): Define using libm_alias_float.
21224 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21225 (fmaxf): Define using libm_alias_float.
21226 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21227 (fminf): Define using libm_alias_float.
21228 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21229 (lrintf): Define using libm_alias_float.
21230 (llrintf): Likewise.
21231 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21232 (lroundf): Define using libm_alias_float.
21233 (llroundf): Likewise.
21234 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21235 (rintf): Define using libm_alias_float.
21236 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21237 (truncf): Define using libm_alias_float.
21239 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21240 (ceilf): Define using libm_alias_float.
21241 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21242 (floorf): Define using libm_alias_float.
21243 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21244 (fmaf): Define using libm_alias_float.
21245 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21246 (fmaxf): Define using libm_alias_float.
21247 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21248 (fminf): Define using libm_alias_float.
21249 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21250 (llrintf): Define using libm_alias_float.
21251 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21252 (llroundf): Define using libm_alias_float.
21253 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21254 (lrintf): Define using libm_alias_float.
21255 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21256 (lroundf): Define using libm_alias_float.
21257 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21258 <libm-alias-float.h>.
21259 (nearbyintf): Define using libm_alias_float.
21260 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21261 (rintf): Define using libm_alias_float.
21262 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21263 (roundf): Define using libm_alias_float.
21264 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21265 (truncf): Define using libm_alias_float.
21267 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21268 (ceil): Define using libm_alias_double.
21269 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21270 (copysign): Define using libm_alias_double.
21271 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21272 (fabs): Define using libm_alias_double.
21273 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21274 (floor): Define using libm_alias_double.
21275 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21276 (fmax): Define using libm_alias_double.
21277 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21278 (fmin): Define using libm_alias_double.
21279 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21280 (lrint): Define using libm_alias_double.
21281 (llrint): Likewise.
21282 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21283 (lround): Define using libm_alias_double.
21284 (llround): Likewise.
21285 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21286 (rint): Define using libm_alias_double.
21287 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21288 (trunc): Define using libm_alias_double.
21290 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21291 (libm_alias_double_r): Add semicolon after weak_alias call.
21293 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21295 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21296 (ceil): Define using libm_alias_double.
21297 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21298 (floor): Define using libm_alias_double.
21299 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21300 (fma): Define using libm_alias_double.
21301 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21302 (fmax): Define using libm_alias_double.
21303 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21304 (fmin): Define using libm_alias_double.
21305 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21306 (llrint): Define using libm_alias_double.
21307 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21308 (llround): Define using libm_alias_double.
21309 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21310 (lrint): Define using libm_alias_double.
21311 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21312 (lround): Define using libm_alias_double.
21313 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21314 (nearbyint): Define using libm_alias_double.
21315 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21316 (rint): Define using libm_alias_double.
21317 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21318 (round): Define using libm_alias_double.
21319 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21320 (trunc): Define using libm_alias_double.
21322 2017-11-27 Florian Weimer <fweimer@redhat.com>
21324 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21325 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21326 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21327 (tests): Add tst-mlock2.
21328 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21330 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21331 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21332 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21333 for mlock. Document mlock2.
21335 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21337 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21338 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21340 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21342 * sysdeps/x86/Makeconfig: New file.
21343 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21344 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21345 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21346 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21347 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21348 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21349 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21351 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21352 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21353 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21354 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21355 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21356 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21357 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21358 * manual/math.texi (Mathematics): Document support for _Float64x.
21359 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21360 * stdlib/Versions (GLIBC_2.27): Likewise.
21361 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21362 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21363 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21366 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21367 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21370 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21371 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21372 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21377 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21378 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21379 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21380 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21381 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21382 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21387 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21389 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21390 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21392 2017-11-27 Andreas Schwab <schwab@suse.de>
21394 * elf/Makefile (dl-routines): Add dl-sort-maps.
21395 * elf/dl-sort-maps.c: New file.
21396 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21397 (_dl_sort_maps): Declare.
21398 * elf/dl-fini.c (_dl_sort_fini): Remove.
21399 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21400 * elf/dl-close.c (_dl_close_worker): Likewise.
21401 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21403 * elf/dl-open.c (dl_open_worker): Likewise.
21405 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21407 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21408 using libm_alias_float128.
21409 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21411 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21413 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21414 (setpayloadsigf128): Likewise.
21415 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21417 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21420 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21421 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21422 -mfloat128 to CFLAGS.
21424 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21426 (CFLAGS-libm-test-support-float64x.c): New variable.
21427 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21428 $(f128-loader-link) to gnulib-tests.
21430 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21431 (libm_alias_float128_other_r): If
21432 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21434 (libm_alias_float128_r): Add semicolon after weak_alias call.
21435 * sysdeps/generic/libm-alias-ldouble.h
21436 (libm_alias_ldouble_other_r_f128): New macro.
21437 (libm_alias_ldouble_other_r_f64x): Likewise.
21438 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21439 and libm_alias_ldouble_other_r_f64x.
21440 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21441 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21442 (libm_alias_ldouble_other_r_f128): New macro.
21443 (libm_alias_ldouble_other_r_f64x): Likewise.
21444 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21445 and libm_alias_ldouble_other_r_f64x.
21447 * stdlib/strfroml.c: Always include <stdlib.h>.
21448 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21449 undefine as macro and define as weak alias.
21450 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21451 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21453 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21454 Define and later undefine as macro and define as weak alias.
21456 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21457 Define and later undefine as macro. Define as weak alias if
21459 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21460 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21461 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21462 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21463 Define and later undefine as macro. Define as weak alias if
21465 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21466 Define and later undefine as macro. Define as weak alias if
21468 * sysdeps/ieee754/float128/strtof128_l.c
21469 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21470 Define and later undefine as macro. Define as weak alias if
21472 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21473 Define and later undefine as macro. Define as weak alias if
21475 * sysdeps/ieee754/ldbl-128/strtold_l.c
21476 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21477 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21478 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21479 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21480 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21481 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21482 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21483 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21484 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21485 * sysdeps/ieee754/ldbl-96/strtold_l.c
21486 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21487 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21488 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21489 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21491 * math/test-float64x.h: New file.
21492 * math/Makefile (type-float64x-yes): New variable.
21493 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21495 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21496 function-like macro.
21497 (min_of_type_): Likewise.
21498 (min_of_type_l): Likewise.
21499 (min_of_type_f128): Likewise.
21500 (min_of_type): Pass () as last argument of __MATH_TG.
21502 * stdlib/tst-strtod-round-skeleton.c
21503 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21506 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21507 for combinations of long double with _Float64 and _Float64x.
21509 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21510 (__DECL_SIMD_cosf32): Likewise.
21511 (__DECL_SIMD_cosf64): Likewise.
21512 (__DECL_SIMD_cosf32x): Likewise.
21513 (__DECL_SIMD_cosf64x): Likewise.
21514 (__DECL_SIMD_cosf128x): Likewise.
21515 (__DECL_SIMD_sinf16): Likewise.
21516 (__DECL_SIMD_sinf32): Likewise.
21517 (__DECL_SIMD_sinf64): Likewise.
21518 (__DECL_SIMD_sinf32x): Likewise.
21519 (__DECL_SIMD_sinf64x): Likewise.
21520 (__DECL_SIMD_sinf128x): Likewise.
21521 (__DECL_SIMD_sincosf16): Likewise.
21522 (__DECL_SIMD_sincosf32): Likewise.
21523 (__DECL_SIMD_sincosf64): Likewise.
21524 (__DECL_SIMD_sincosf32x): Likewise.
21525 (__DECL_SIMD_sincosf64x): Likewise.
21526 (__DECL_SIMD_sincosf128x): Likewise.
21527 (__DECL_SIMD_logf16): Likewise.
21528 (__DECL_SIMD_logf32): Likewise.
21529 (__DECL_SIMD_logf64): Likewise.
21530 (__DECL_SIMD_logf32x): Likewise.
21531 (__DECL_SIMD_logf64x): Likewise.
21532 (__DECL_SIMD_logf128x): Likewise.
21533 (__DECL_SIMD_expf16): Likewise.
21534 (__DECL_SIMD_expf32): Likewise.
21535 (__DECL_SIMD_expf64): Likewise.
21536 (__DECL_SIMD_expf32x): Likewise.
21537 (__DECL_SIMD_expf64x): Likewise.
21538 (__DECL_SIMD_expf128x): Likewise.
21539 (__DECL_SIMD_powf16): Likewise.
21540 (__DECL_SIMD_powf32): Likewise.
21541 (__DECL_SIMD_powf64): Likewise.
21542 (__DECL_SIMD_powf32x): Likewise.
21543 (__DECL_SIMD_powf64x): Likewise.
21544 (__DECL_SIMD_powf128x): Likewise.
21546 * stdlib/Versions (libc): Move entries for wcstof128 and
21547 wcstof128_l to ....
21548 * wcsmbs/Versions (libc): ... here.
21549 Include <float128-abi.h>.
21551 2017-11-24 Florian Weimer <fweimer@redhat.com>
21553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21554 bits/mman-shared.h.
21555 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21556 <bits/mman-shared.h>.
21557 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21559 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21560 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21561 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21562 <bits/mman-shared.h>.
21564 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21567 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21568 posix_memalign/free.
21569 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21571 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21574 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21575 and implement the collation rules for pl from CLDR on top of that.
21576 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21577 of locales to be built for testing.
21578 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21580 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21582 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21583 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21584 libm_alias_ldouble_other.
21585 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21586 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21587 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21588 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21589 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21590 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21591 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21592 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21593 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21594 libm_alias_ldouble_r.
21595 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21596 libm_alias_ldouble_other.
21597 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21598 (log10l): Likewise.
21599 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21600 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21601 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21602 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21603 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21604 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21605 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21606 (atan2l): Likewise.
21607 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21608 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21609 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21610 libm_alias_ldouble.
21611 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21613 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21614 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21615 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21617 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21618 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21619 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21620 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21621 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21622 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21623 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21624 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21625 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21626 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21627 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21628 libm_alias_ldouble.
21629 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21630 libm_alias_ldouble_other.
21631 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21632 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21633 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21634 libm_alias_ldouble.
21635 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21636 libm_alias_ldouble_other.
21637 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21638 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21639 * sysdeps/ia64/fpu/w_lgammal_main.c
21640 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21641 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21643 2017-11-23 Florian Weimer <fweimer@redhat.com>
21645 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21646 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21647 alike. Remove freeres marker.
21648 * malloc/arena.c (arena_thread_freeres): Call
21649 tcache_thread_shutdown.
21651 2017-11-23 Florian Weimer <fweimer@redhat.com>
21654 Export nscd hash function as __nss_hash.
21655 * include/nss.h (__nss_hash): Declare.
21656 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21658 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21659 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21661 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21662 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21663 * nss/Makefiles (routines): Add nss_hash.
21664 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21665 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21666 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21667 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21669 2017-11-23 Florian Weimer <fweimer@redhat.com>
21672 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21673 Return error code, not -1.
21674 * signal/tst-sigwait-eintr.c: New file.
21675 * signal/Makefile (tests): Add tst-sigwait-eintr.
21677 2017-11-23 Florian Weimer <fweimer@redhat.com>
21679 Linux: Add memfd_create system call wrapper
21680 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21682 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21683 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21684 [__USE_GNU] (memfd_create): Declare.
21685 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21686 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21687 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21688 * sysdeps/unix/sysv/linux/**.abilist: Update.
21689 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21691 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21693 * localedata/gen-locale.sh: Fix typo in variable name.
21695 * resolv/res_debug.c (p_secstodate): Condition definition on
21696 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21697 directly as __p_secstodate, and as a compat symbol. Do not use
21698 libresolv_hidden_def.
21699 * resolv/resolv.h (p_secstodate): Remove macro and function
21701 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21702 using p_secstodate.
21703 * include/resolv.h (__p_secstodate): Do not use
21704 libresolv_hidden_proto.
21705 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21706 (tests-internal): ... here.
21707 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21708 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21709 and declare and use __p_secstodate and use compat_symbol_reference
21711 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21712 implementation returning 77.
21715 * resolv/res_debug.c: Include <libc-diag.h>.
21716 (p_secstodate): Assert time_t at least as wide as u_long. On
21717 overflow, use integer seconds since the epoch as output, or use
21718 "<overflow>" as output and set errno to EOVERFLOW if integer
21719 seconds since the epoch would be 14 or more characters.
21720 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21722 * resolv/tst-p_secstodate.c: New file.
21723 * resolv/Makefile (tests): Add tst-p_secstodate.
21724 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21726 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21727 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21728 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21730 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21732 * posix/regcomp.c (init_word_char): Add comments.
21734 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21737 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21738 strlen to compute length of ut_user and set trailing NUL byte of
21741 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21744 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21745 using “copy "iso14651_t1"” and then implementing the
21746 collation rules for lv from CLDR on top of that.
21747 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21748 of locales to be built for testing.
21749 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21752 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21754 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21755 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21756 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21757 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21758 [__USE_MISC] (MADV_HWPOISON): New macro.
21759 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21761 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21763 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21764 -Wmissing-braces on GCC 4.9.
21766 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21768 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21769 * sysdeps/s390/s390-32/start.S (_start): Likewise
21770 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21771 (thread_start): Likewise.
21772 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21773 (thread_start): Likewise.
21774 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21775 (__makecontext_ret): Likewise.
21776 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21777 (__makecontext_ret): Likewise.
21779 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21781 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21782 __wcschrnul): Remove attribute_hidden.
21784 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21786 regex: don't assume uint64_t or uint32_t
21787 This avoids -Werror=overflow errors for 32-bit systems in
21788 the 64-bit case. Problem reported by Joseph Myers in:
21789 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21790 Also, when this code is used in Gnulib it ports to platforms
21791 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21792 them, and on some 32-bit compilers there is no uint64_t.
21793 Problem reported by Gianluigi Tiesi in:
21794 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21795 * posix/regcomp.c (init_word_char): Don't assume that the types
21796 uint64_t and uint32_t exist. Adapted from Gnulib patch
21797 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21798 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21800 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21802 * sysdeps/aarch64/memset-reg.h: New file.
21803 * sysdeps/aarch64/memset.S: Use it.
21804 (__memset): Rename to MEMSET macro.
21805 [ZVA_MACRO]: Use zva_macro.
21806 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21807 Add memset_generic and memset_falkor.
21808 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21809 (__libc_ifunc_impl_list): Add memset ifuncs.
21810 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21811 local variable zva_size.
21812 * sysdeps/aarch64/multiarch/memset.c: New file.
21813 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21814 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21815 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21816 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21817 (DCZID_DZP_MASK): New macro.
21818 (DCZID_BS_MASK): Likewise.
21819 (init_cpu_features): Read and set zva_size.
21820 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21821 (struct cpu_features): New member zva_size.
21823 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21824 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21825 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21827 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21828 backwards. Fix timing computation.
21829 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21830 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21831 on memset by N at a time. Fix timing computation.
21833 2017-11-20 Florian Weimer <fweimer@redhat.com>
21835 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21836 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21838 2017-11-19 Florian Weimer <fweimer@redhat.com>
21840 manual: Document mprotect
21841 * manual/memory.texi (Memory Protection): New section.
21842 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21843 documentation of PROT_* flags and reference the Memory Protection
21846 2017-11-19 Florian Weimer <fweimer@redhat.com>
21848 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21849 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21850 (Scatter-Gather): ... to here. Remove misleading comment.
21852 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21854 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21857 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21858 when /proc/<pid>/setgroups does not exist.
21860 2017-11-18 Florian Weimer <fweimer@redhat.com>
21862 * sysdeps/unix/sysv/linux/tst-ttyname.c
21863 (become_root_in_mount_ns): Remove.
21864 (do_in_chroot_1): Call support_enter_mount_namespace.
21865 (do_in_chroot_2): Likewise.
21866 (do_test): Call support_become_root early.
21868 2017-11-18 Florian Weimer <fweimer@redhat.com>
21870 * support/namespace.h (support_enter_mount_namespace): Declare.
21871 * support/support_enter_mount_namespace.c: New file.
21872 * support/Makefile (libsupport-routines): Add
21873 support_enter_mount_namespace.
21875 2017-11-18 Florian Weimer <fweimer@redhat.com>
21877 * support/temp_file.c (support_create_temp_directory): Use
21878 test_dir and do not rely on the presence of the XXXXXX suffix.
21879 * support/temp_file.h (support_create_temp_directory): Update
21881 * support/tst-xreadlink.c (do_test): Adjust.
21882 * support/support_chroot.c (support_chroot_create): Likewise.
21884 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21886 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21888 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21891 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21893 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21894 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21895 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21896 (ceill): Define using libm_alias_ldouble.
21897 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21898 <libm-alias-ldouble.h>.
21899 (copysignl): Define using libm_alias_ldouble.
21900 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21901 (fabsl): Define using libm_alias_ldouble.
21902 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21903 (floorl): Define using libm_alias_ldouble.
21904 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21905 (fmaxl): Define using libm_alias_ldouble.
21906 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21907 (fminl): Define using libm_alias_ldouble.
21908 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21909 (llrintl): Define using libm_alias_ldouble.
21910 (lrintl): Likewise.
21911 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21912 <libm-alias-ldouble.h>.
21913 (nearbyintl): Define using libm_alias_ldouble.
21914 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21915 (truncl): Define using libm_alias_ldouble.
21916 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21917 <libm-alias-ldouble.h>.
21918 (lrintl): Define using libm_alias_ldouble.
21920 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21921 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21922 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21923 (asinhl): Define using libm_alias_ldouble.
21924 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21925 (atanl): Define using libm_alias_ldouble.
21926 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21927 (cbrtl): Define using libm_alias_ldouble.
21928 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21929 (ceill): Define using libm_alias_ldouble.
21930 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21931 (copysignl): Define using libm_alias_ldouble.
21932 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21933 (fabsl): Define using libm_alias_ldouble.
21934 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21935 (floorl): Define using libm_alias_ldouble.
21936 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21937 (fmaxl): Define using libm_alias_ldouble.
21938 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21939 (fminl): Define using libm_alias_ldouble.
21940 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21941 (frexpl): Define using libm_alias_ldouble.
21942 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21943 (llrintl): Define using libm_alias_ldouble.
21944 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21945 (logbl): Define using libm_alias_ldouble.
21946 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21947 (lrintl): Define using libm_alias_ldouble.
21948 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21949 (nearbyintl): Define using libm_alias_ldouble.
21950 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21951 (nextafterl): Define using libm_alias_ldouble.
21952 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21953 (remquol): Define using libm_alias_ldouble.
21954 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21955 (rintl): Define using libm_alias_ldouble.
21956 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21957 (truncl): Define using libm_alias_ldouble.
21958 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21959 (fmaxl): Define using libm_alias_ldouble.
21960 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21961 (fminl): Define using libm_alias_ldouble.
21963 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21964 to C syntax instead of availability and properties of types.
21965 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21966 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21967 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21968 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21969 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21970 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21972 2017-11-17 Florian Weimer <fweimer@redhat.com>
21974 support_become_root: Enable file creation in namespaces.
21975 * support/support_become_root.c (setup_mapping): New function.
21976 (support_become_root): Call it.
21978 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21980 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21983 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21985 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21986 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21988 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21990 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21992 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21995 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21997 * INSTALL: Fix botched up regeneration.
21999 * NEWS: Update sourceare link to https.
22000 * configure.ac: Likewise.
22001 * crypt/md5test-giant.c: Likewise.
22002 * dlfcn/bug-atexit1.c: Likewise.
22003 * dlfcn/bug-atexit2.c: Likewise.
22004 * localedata/README: Likewise.
22005 * malloc/tst-mallocfork.c: Likewise.
22006 * manual/install.texi: Likewise.
22007 * nptl/tst-pthread-getattr.c: Likewise.
22008 * stdio-common/tst-fgets.c: Likewise.
22009 * stdio-common/tst-fwrite.c: Likewise.
22010 * sunrpc/Makefile: Likewise.
22011 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22012 * wcsmbs/tst-mbrtowc2.c: Likewise.
22013 * configure: Regenerate.
22014 * INSTALL: Regenerate.
22016 2017-11-15 Martin Sebor <msebor@redhat.com>
22018 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22019 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22020 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22022 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22025 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22026 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22030 Defer is_pty check until end of the function.
22031 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22034 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22035 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22036 (ttyname): Likewise.
22037 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22038 (__ttyname_r): Likewise.
22040 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22043 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22045 * manual/terminal.texi (Is It a Terminal):
22046 Mention ENODEV for ttyname and ttyname_r.
22048 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22050 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22051 constant and macro.
22053 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22054 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22055 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22056 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22057 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22058 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22060 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22062 * signal/sigrelse.c (sigrelse): Optimize implementation.
22064 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22065 (__sigpause): Rely on __sigsuspend to implement single thread
22066 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22068 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22070 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22071 kernel version to 4.14.
22073 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22076 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22077 Check if ifname is too long.
22079 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22081 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22083 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22085 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22086 was accidentally lost.
22088 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22090 * localedata/locales/az_IR: Add standard copyright header.
22092 2017-11-15 Florian Weimer <fweimer@redhat.com>
22095 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22096 not just the top one. Output a new "subheaps" statistic.
22098 2017-11-15 Florian Weimer <fweimer@redhat.com>
22101 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22102 under the per-arena lock.
22103 * malloc/Makefile (tests): Add tst-malloc_info.
22104 (tst-malloc_info): Link with libpthread.
22105 * malloc/tst-malloc_info.c: New file.
22107 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22110 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22111 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22112 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22113 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22114 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22115 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22116 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22117 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22125 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22126 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22127 (__floating_type): Likewise.
22128 (__real_integer_type): Likewise.
22129 (__complex_integer_type): Likewise.
22130 (__expr_is_real): Likewise.
22131 (__tgmath_real_type_sub): Likewise.
22132 (__tgmath_real_type): Likewise.
22133 (__tgmath_complex_type_sub): Likewise.
22134 (__tgmath_complex_type): Likewise.
22135 (__TGMATH_F128): Likewise.
22136 (__TGMATH_CF128): Likewise.
22137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22157 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22158 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22162 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22164 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22165 for stpncpy calls for GCC 8.
22166 (test_strncat): Disable -Wstringop-truncation warning for strncat
22167 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22168 strncat call for GCC 7.
22169 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22171 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22174 * string/bug-strncat1.c: Include <libc-diag.h>.
22175 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22177 2017-11-13 Claude Paroz <claude@2xlibre.net>
22180 * localedata/locales/aa_DJ: Improved readibility by replacing
22181 <Uxxxx> sequences in the ASCII printable range by their ASCII
22182 character equivalents.
22183 * localedata/locales/aa_ER: Likewise.
22184 * localedata/locales/aa_ER@saaho: Likewise.
22185 * localedata/locales/aa_ET: Likewise.
22186 * localedata/locales/af_ZA: Likewise.
22187 * localedata/locales/agr_PE: Likewise.
22188 * localedata/locales/ak_GH: Likewise.
22189 * localedata/locales/am_ET: Likewise.
22190 * localedata/locales/anp_IN: Likewise.
22191 * localedata/locales/ar_AE: Likewise.
22192 * localedata/locales/ar_BH: Likewise.
22193 * localedata/locales/ar_DZ: Likewise.
22194 * localedata/locales/ar_EG: Likewise.
22195 * localedata/locales/ar_IN: Likewise.
22196 * localedata/locales/ar_IQ: Likewise.
22197 * localedata/locales/ar_JO: Likewise.
22198 * localedata/locales/ar_KW: Likewise.
22199 * localedata/locales/ar_LB: Likewise.
22200 * localedata/locales/ar_LY: Likewise.
22201 * localedata/locales/ar_MA: Likewise.
22202 * localedata/locales/ar_OM: Likewise.
22203 * localedata/locales/ar_QA: Likewise.
22204 * localedata/locales/ar_SA: Likewise.
22205 * localedata/locales/ar_SD: Likewise.
22206 * localedata/locales/ar_SS: Likewise.
22207 * localedata/locales/ar_SY: Likewise.
22208 * localedata/locales/ar_TN: Likewise.
22209 * localedata/locales/ar_YE: Likewise.
22210 * localedata/locales/as_IN: Likewise.
22211 * localedata/locales/ast_ES: Likewise.
22212 * localedata/locales/ayc_PE: Likewise.
22213 * localedata/locales/az_AZ: Likewise.
22214 * localedata/locales/az_IR: Likewise.
22215 * localedata/locales/be_BY: Likewise.
22216 * localedata/locales/be_BY@latin: Likewise.
22217 * localedata/locales/bem_ZM: Likewise.
22218 * localedata/locales/ber_DZ: Likewise.
22219 * localedata/locales/ber_MA: Likewise.
22220 * localedata/locales/bg_BG: Likewise.
22221 * localedata/locales/bhb_IN: Likewise.
22222 * localedata/locales/bho_IN: Likewise.
22223 * localedata/locales/bi_VU: Likewise.
22224 * localedata/locales/bn_BD: Likewise.
22225 * localedata/locales/bn_IN: Likewise.
22226 * localedata/locales/bo_CN: Likewise.
22227 * localedata/locales/bo_IN: Likewise.
22228 * localedata/locales/br_FR: Likewise.
22229 * localedata/locales/brx_IN: Likewise.
22230 * localedata/locales/bs_BA: Likewise.
22231 * localedata/locales/byn_ER: Likewise.
22232 * localedata/locales/ca_AD: Likewise.
22233 * localedata/locales/ca_ES: Likewise.
22234 * localedata/locales/ca_FR: Likewise.
22235 * localedata/locales/ca_IT: Likewise.
22236 * localedata/locales/ce_RU: Likewise.
22237 * localedata/locales/chr_US: Likewise.
22238 * localedata/locales/cmn_TW: Likewise.
22239 * localedata/locales/crh_UA: Likewise.
22240 * localedata/locales/cs_CZ: Likewise.
22241 * localedata/locales/csb_PL: Likewise.
22242 * localedata/locales/cv_RU: Likewise.
22243 * localedata/locales/cy_GB: Likewise.
22244 * localedata/locales/da_DK: Likewise.
22245 * localedata/locales/de_AT: Likewise.
22246 * localedata/locales/de_BE: Likewise.
22247 * localedata/locales/de_CH: Likewise.
22248 * localedata/locales/de_DE: Likewise.
22249 * localedata/locales/de_IT: Likewise.
22250 * localedata/locales/de_LI: Likewise.
22251 * localedata/locales/de_LU: Likewise.
22252 * localedata/locales/doi_IN: Likewise.
22253 * localedata/locales/dv_MV: Likewise.
22254 * localedata/locales/dz_BT: Likewise.
22255 * localedata/locales/el_CY: Likewise.
22256 * localedata/locales/el_GR: Likewise.
22257 * localedata/locales/en_AG: Likewise.
22258 * localedata/locales/en_AU: Likewise.
22259 * localedata/locales/en_BW: Likewise.
22260 * localedata/locales/en_CA: Likewise.
22261 * localedata/locales/en_DK: Likewise.
22262 * localedata/locales/en_GB: Likewise.
22263 * localedata/locales/en_HK: Likewise.
22264 * localedata/locales/en_IE: Likewise.
22265 * localedata/locales/en_IL: Likewise.
22266 * localedata/locales/en_IN: Likewise.
22267 * localedata/locales/en_NG: Likewise.
22268 * localedata/locales/en_NZ: Likewise.
22269 * localedata/locales/en_PH: Likewise.
22270 * localedata/locales/en_SG: Likewise.
22271 * localedata/locales/en_US: Likewise.
22272 * localedata/locales/en_ZA: Likewise.
22273 * localedata/locales/en_ZM: Likewise.
22274 * localedata/locales/en_ZW: Likewise.
22275 * localedata/locales/eo: Likewise.
22276 * localedata/locales/es_AR: Likewise.
22277 * localedata/locales/es_BO: Likewise.
22278 * localedata/locales/es_CL: Likewise.
22279 * localedata/locales/es_CO: Likewise.
22280 * localedata/locales/es_CR: Likewise.
22281 * localedata/locales/es_CU: Likewise.
22282 * localedata/locales/es_DO: Likewise.
22283 * localedata/locales/es_EC: Likewise.
22284 * localedata/locales/es_ES: Likewise.
22285 * localedata/locales/es_GT: Likewise.
22286 * localedata/locales/es_HN: Likewise.
22287 * localedata/locales/es_MX: Likewise.
22288 * localedata/locales/es_NI: Likewise.
22289 * localedata/locales/es_PA: Likewise.
22290 * localedata/locales/es_PE: Likewise.
22291 * localedata/locales/es_PR: Likewise.
22292 * localedata/locales/es_PY: Likewise.
22293 * localedata/locales/es_SV: Likewise.
22294 * localedata/locales/es_US: Likewise.
22295 * localedata/locales/es_UY: Likewise.
22296 * localedata/locales/es_VE: Likewise.
22297 * localedata/locales/et_EE: Likewise.
22298 * localedata/locales/eu_ES: Likewise.
22299 * localedata/locales/eu_ES@euro: Likewise.
22300 * localedata/locales/fa_IR: Likewise.
22301 * localedata/locales/ff_SN: Likewise.
22302 * localedata/locales/fi_FI: Likewise.
22303 * localedata/locales/fil_PH: Likewise.
22304 * localedata/locales/fo_FO: Likewise.
22305 * localedata/locales/fr_BE: Likewise.
22306 * localedata/locales/fr_CA: Likewise.
22307 * localedata/locales/fr_CH: Likewise.
22308 * localedata/locales/fr_FR: Likewise.
22309 * localedata/locales/fr_LU: Likewise.
22310 * localedata/locales/fur_IT: Likewise.
22311 * localedata/locales/fy_DE: Likewise.
22312 * localedata/locales/fy_NL: Likewise.
22313 * localedata/locales/ga_IE: Likewise.
22314 * localedata/locales/gd_GB: Likewise.
22315 * localedata/locales/gez_ER: Likewise.
22316 * localedata/locales/gez_ET: Likewise.
22317 * localedata/locales/gl_ES: Likewise.
22318 * localedata/locales/gu_IN: Likewise.
22319 * localedata/locales/gv_GB: Likewise.
22320 * localedata/locales/ha_NG: Likewise.
22321 * localedata/locales/hak_TW: Likewise.
22322 * localedata/locales/he_IL: Likewise.
22323 * localedata/locales/hi_IN: Likewise.
22324 * localedata/locales/hif_FJ: Likewise.
22325 * localedata/locales/hne_IN: Likewise.
22326 * localedata/locales/hr_HR: Likewise.
22327 * localedata/locales/hsb_DE: Likewise.
22328 * localedata/locales/ht_HT: Likewise.
22329 * localedata/locales/hu_HU: Likewise.
22330 * localedata/locales/hy_AM: Likewise.
22331 * localedata/locales/i18n: Likewise.
22332 * localedata/locales/ia_FR: Likewise.
22333 * localedata/locales/id_ID: Likewise.
22334 * localedata/locales/ig_NG: Likewise.
22335 * localedata/locales/ik_CA: Likewise.
22336 * localedata/locales/is_IS: Likewise.
22337 * localedata/locales/it_CH: Likewise.
22338 * localedata/locales/it_IT: Likewise.
22339 * localedata/locales/iu_CA: Likewise.
22340 * localedata/locales/ja_JP: Likewise.
22341 * localedata/locales/ka_GE: Likewise.
22342 * localedata/locales/kk_KZ: Likewise.
22343 * localedata/locales/kl_GL: Likewise.
22344 * localedata/locales/kn_IN: Likewise.
22345 * localedata/locales/ko_KR: Likewise.
22346 * localedata/locales/kok_IN: Likewise.
22347 * localedata/locales/ks_IN: Likewise.
22348 * localedata/locales/ks_IN@devanagari: Likewise.
22349 * localedata/locales/ku_TR: Likewise.
22350 * localedata/locales/kw_GB: Likewise.
22351 * localedata/locales/ky_KG: Likewise.
22352 * localedata/locales/lb_LU: Likewise.
22353 * localedata/locales/lg_UG: Likewise.
22354 * localedata/locales/li_BE: Likewise.
22355 * localedata/locales/li_NL: Likewise.
22356 * localedata/locales/lij_IT: Likewise.
22357 * localedata/locales/ln_CD: Likewise.
22358 * localedata/locales/lo_LA: Likewise.
22359 * localedata/locales/lt_LT: Likewise.
22360 * localedata/locales/lv_LV: Likewise.
22361 * localedata/locales/lzh_TW: Likewise.
22362 * localedata/locales/mag_IN: Likewise.
22363 * localedata/locales/mai_IN: Likewise.
22364 * localedata/locales/mg_MG: Likewise.
22365 * localedata/locales/mhr_RU: Likewise.
22366 * localedata/locales/mi_NZ: Likewise.
22367 * localedata/locales/mk_MK: Likewise.
22368 * localedata/locales/ml_IN: Likewise.
22369 * localedata/locales/mn_MN: Likewise.
22370 * localedata/locales/mni_IN: Likewise.
22371 * localedata/locales/mr_IN: Likewise.
22372 * localedata/locales/ms_MY: Likewise.
22373 * localedata/locales/mt_MT: Likewise.
22374 * localedata/locales/my_MM: Likewise.
22375 * localedata/locales/nan_TW: Likewise.
22376 * localedata/locales/nan_TW@latin: Likewise.
22377 * localedata/locales/nb_NO: Likewise.
22378 * localedata/locales/nds_DE: Likewise.
22379 * localedata/locales/nds_NL: Likewise.
22380 * localedata/locales/ne_NP: Likewise.
22381 * localedata/locales/nhn_MX: Likewise.
22382 * localedata/locales/niu_NU: Likewise.
22383 * localedata/locales/niu_NZ: Likewise.
22384 * localedata/locales/nl_AW: Likewise.
22385 * localedata/locales/nl_BE: Likewise.
22386 * localedata/locales/nl_NL: Likewise.
22387 * localedata/locales/nn_NO: Likewise.
22388 * localedata/locales/nr_ZA: Likewise.
22389 * localedata/locales/nso_ZA: Likewise.
22390 * localedata/locales/oc_FR: Likewise.
22391 * localedata/locales/om_ET: Likewise.
22392 * localedata/locales/om_KE: Likewise.
22393 * localedata/locales/or_IN: Likewise.
22394 * localedata/locales/os_RU: Likewise.
22395 * localedata/locales/pa_IN: Likewise.
22396 * localedata/locales/pa_PK: Likewise.
22397 * localedata/locales/pap_AW: Likewise.
22398 * localedata/locales/pap_CW: Likewise.
22399 * localedata/locales/pl_PL: Likewise.
22400 * localedata/locales/ps_AF: Likewise.
22401 * localedata/locales/pt_BR: Likewise.
22402 * localedata/locales/pt_PT: Likewise.
22403 * localedata/locales/quz_PE: Likewise.
22404 * localedata/locales/raj_IN: Likewise.
22405 * localedata/locales/ro_RO: Likewise.
22406 * localedata/locales/ru_RU: Likewise.
22407 * localedata/locales/ru_UA: Likewise.
22408 * localedata/locales/rw_RW: Likewise.
22409 * localedata/locales/sa_IN: Likewise.
22410 * localedata/locales/sat_IN: Likewise.
22411 * localedata/locales/sc_IT: Likewise.
22412 * localedata/locales/sd_IN: Likewise.
22413 * localedata/locales/sd_IN@devanagari: Likewise.
22414 * localedata/locales/se_NO: Likewise.
22415 * localedata/locales/sgs_LT: Likewise.
22416 * localedata/locales/shs_CA: Likewise.
22417 * localedata/locales/si_LK: Likewise.
22418 * localedata/locales/sid_ET: Likewise.
22419 * localedata/locales/sk_SK: Likewise.
22420 * localedata/locales/sl_SI: Likewise.
22421 * localedata/locales/sm_WS: Likewise.
22422 * localedata/locales/so_DJ: Likewise.
22423 * localedata/locales/so_ET: Likewise.
22424 * localedata/locales/so_KE: Likewise.
22425 * localedata/locales/so_SO: Likewise.
22426 * localedata/locales/sq_AL: Likewise.
22427 * localedata/locales/sq_MK: Likewise.
22428 * localedata/locales/sr_ME: Likewise.
22429 * localedata/locales/sr_RS: Likewise.
22430 * localedata/locales/sr_RS@latin: Likewise.
22431 * localedata/locales/ss_ZA: Likewise.
22432 * localedata/locales/st_ZA: Likewise.
22433 * localedata/locales/sv_FI: Likewise.
22434 * localedata/locales/sv_SE: Likewise.
22435 * localedata/locales/sw_KE: Likewise.
22436 * localedata/locales/sw_TZ: Likewise.
22437 * localedata/locales/szl_PL: Likewise.
22438 * localedata/locales/ta_IN: Likewise.
22439 * localedata/locales/ta_LK: Likewise.
22440 * localedata/locales/tcy_IN: Likewise.
22441 * localedata/locales/te_IN: Likewise.
22442 * localedata/locales/tg_TJ: Likewise.
22443 * localedata/locales/th_TH: Likewise.
22444 * localedata/locales/the_NP: Likewise.
22445 * localedata/locales/ti_ER: Likewise.
22446 * localedata/locales/ti_ET: Likewise.
22447 * localedata/locales/tig_ER: Likewise.
22448 * localedata/locales/tk_TM: Likewise.
22449 * localedata/locales/tl_PH: Likewise.
22450 * localedata/locales/tn_ZA: Likewise.
22451 * localedata/locales/to_TO: Likewise.
22452 * localedata/locales/tpi_PG: Likewise.
22453 * localedata/locales/tr_CY: Likewise.
22454 * localedata/locales/tr_TR: Likewise.
22455 * localedata/locales/ts_ZA: Likewise.
22456 * localedata/locales/tt_RU: Likewise.
22457 * localedata/locales/tt_RU@iqtelif: Likewise.
22458 * localedata/locales/ug_CN: Likewise.
22459 * localedata/locales/uk_UA: Likewise.
22460 * localedata/locales/unm_US: Likewise.
22461 * localedata/locales/ur_IN: Likewise.
22462 * localedata/locales/ur_PK: Likewise.
22463 * localedata/locales/uz_UZ: Likewise.
22464 * localedata/locales/uz_UZ@cyrillic: Likewise.
22465 * localedata/locales/ve_ZA: Likewise.
22466 * localedata/locales/vi_VN: Likewise.
22467 * localedata/locales/wa_BE: Likewise.
22468 * localedata/locales/wae_CH: Likewise.
22469 * localedata/locales/wal_ET: Likewise.
22470 * localedata/locales/wo_SN: Likewise.
22471 * localedata/locales/xh_ZA: Likewise.
22472 * localedata/locales/yi_US: Likewise.
22473 * localedata/locales/yo_NG: Likewise.
22474 * localedata/locales/yue_HK: Likewise.
22475 * localedata/locales/yuw_PG: Likewise.
22476 * localedata/locales/zh_CN: Likewise.
22477 * localedata/locales/zh_HK: Likewise.
22478 * localedata/locales/zh_SG: Likewise.
22479 * localedata/locales/zh_TW: Likewise.
22480 * localedata/locales/zu_ZA: Likewise.
22482 2017-11-13 Florian Weimer <fweimer@redhat.com>
22484 * support/next_to_fault.h, support/next_to_fault.c: New files.
22485 * support/Makefile (libsupport-routines): Add next_to_fault.
22486 * resolv/tst-inet_pton.c (struct next_to_fault)
22487 (next_to_fault_allocate, next_to_fault_free): Remove.
22488 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22490 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22492 * elf/dl-support.c: Include <dl-procruntime.c>.
22493 * include/link.h: Include <link_map.h>.
22494 * sysdeps/generic/dl-procruntime.c: New file.
22495 * sysdeps/generic/link_map.h: Likewise.
22496 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22497 the writable ld.so namespace.
22499 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22501 timezone: pacify GCC -Wstringop-truncation
22502 Problem reported by Martin Sebor in:
22503 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22504 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22506 2017-11-12 Florian Weimer <fweimer@redhat.com>
22508 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22510 (tests): Add tst-xreadlink.
22511 * support/support.h (xstrndup): Declare.
22512 * support/xunistd.h (xunlink, xreadlink): Declare.
22513 * support/temp_file.h (support_create_temp_directory): Declare.
22514 * support/temp_file.c (support_create_temp_directory): New function.
22515 * support/support_chroot.c (support_chroot_create): Use it.
22516 * support/xreadlink.c: New file.
22517 * support/xstrndup.c: Likewise.
22518 * support/xunlink.c: Likewise.
22519 * support/tst-xreadlink.c: Likewise.
22521 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22523 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22525 2017-11-11 Florian Weimer <fweimer@redhat.com>
22529 * resolv/res_comp.c (printable_string, binary_hnok)
22530 (binary_leading_dash): New functions.
22531 (res_hnok): Reimplement using these functions and ns_name_pton.
22532 (res_ownok): Likewise.
22533 (res_mailok): Reimplement using printable_string, ns_name_pton and
22535 (res_dnok): Reimplement using printable_string and ns_name_pton.
22536 * resolv/tst-res_hnok.c (tests): Add additional tests.
22537 (LETTERDIGITS, PRINTABLE): Define.
22538 (do_test): Adjust one_char results.
22540 2017-11-11 Florian Weimer <fweimer@redhat.com>
22543 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22544 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22546 2017-11-11 Florian Weimer <fweimer@redhat.com>
22548 * resolv/tst-ns_name_pton.c: New file.
22549 * resolv/Makefile (tests): Add tst-ns_name_pton.
22550 (tst-ns_name_pton): Link against libresolv.
22552 2017-11-11 Florian Weimer <fweimer@redhat.com>
22554 * resolv/tst-res_hnok.c: New file.
22555 * resolv/Makefile (tests): Add tst-res_hnok.
22556 (tst-res_hnok): Link against libresolv.
22558 2017-11-11 Florian Weimer <fweimer@redhat.com>
22560 * resolv/tst-resolv-network.c: Use test framework instead explicit
22563 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22565 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22566 <jmp_buf-macros.h>.
22567 [!_ISOMAC] (STR_HELPER): New.
22568 [!_ISOMAC] (STR): Likewise.
22569 [!_ISOMAC] (TEST_SIZE): Likewise.
22570 [!_ISOMAC] (TEST_ALIGN): Likewise.
22571 [!_ISOMAC] (TEST_OFFSET): Likewise.
22572 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22573 field offsets of jmp_buf as well as sigjmp_buf.
22574 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22575 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22576 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22577 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22578 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22579 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22580 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22581 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22582 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22583 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22585 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22587 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22592 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22593 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22594 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22595 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22596 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22601 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22602 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22605 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22609 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22611 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22613 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22615 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22617 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22619 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22621 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22623 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22625 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22627 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22629 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22631 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22633 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22635 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22637 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22639 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22641 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22643 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22645 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22647 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22649 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22651 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22653 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22655 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22657 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22659 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22661 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22663 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22665 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22667 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22669 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22671 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22673 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22675 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22677 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22679 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22681 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22683 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22685 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22687 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22689 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22691 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22693 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22695 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22697 * stdlib/tst-strtod.h (F16): New macro.
22703 (IF_FLOAT16): Likewise.
22704 (IF_FLOAT32): Likewise.
22705 (IF_FLOAT64): Likewise.
22706 (IF_FLOAT32X): Likewise.
22707 (IF_FLOAT64X): Likewise.
22708 (IF_FLOAT128X): Likewise.
22709 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22710 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22711 (STRTOD_TEST_FOREACH): Likewise.
22712 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22713 (CHOOSE_f64): Likewise.
22714 (CHOOSE_f32x): Likewise.
22715 (CHOOSE_f64x): Likewise.
22717 2017-11-07 Andreas Schwab <schwab@suse.de>
22719 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22721 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22724 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22726 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22729 2017-11-07 Claude Paroz <claude@2xlibre.net>
22732 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22734 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22736 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22739 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22742 * nptl/allocatestack.c (allocate_stack): Check if
22743 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22744 __PTHREAD_MUTEX_HAVE_PREV is defined.
22745 * nptl/descr.h (pthread): Likewise.
22746 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22748 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22749 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22750 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22751 * sysdeps/nptl/bits/thread-shared-types.h
22752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22754 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22755 of __WORDSIZE for internal layout.
22756 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22757 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22758 instead of __WORDSIZE whether to use an union for __spins and __list
22760 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22762 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22763 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22765 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22766 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22768 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22769 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22771 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22772 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22774 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22775 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22777 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22778 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22780 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22781 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22783 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22784 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22786 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22787 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22789 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22790 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22792 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22793 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22795 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22796 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22798 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22799 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22801 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22802 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22804 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22805 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22808 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22810 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22811 checks for expected input type size.
22812 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22813 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22815 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22816 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22817 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22818 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22819 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22820 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22821 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22822 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22823 superflous runtime assert check.
22824 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22826 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22828 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22830 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22832 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22834 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22836 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22837 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22838 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22840 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22842 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22844 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22846 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22848 * nptl/pthread_attr_setinheritsched.c
22849 (__pthread_attr_setinheritsched): Likewise.
22850 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22852 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22854 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22855 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22856 __old_pthread_attr_setstack): Likewise.
22857 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22859 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22861 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22863 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22864 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22866 * nptl/tst-typesizes.c: Remove file.
22868 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22869 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22870 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22871 checks for internal pthread_mutex_t offsets.
22872 * sysdeps/aarch64/nptl/pthread-offsets.h
22873 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22874 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22875 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22876 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22877 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22878 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22879 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22880 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22881 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22882 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22883 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22884 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22885 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22886 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22887 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22888 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22889 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22890 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22892 2017-11-07 Florian Weimer <fweimer@redhat.com>
22894 * bits/mman-linux.h: Move ...
22895 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22897 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22900 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22902 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22903 Redefine STRNLEN as __strnlen_power8.
22905 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22907 * signal/sighold.c (sighold): Optimize implementation.
22909 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22910 __NR_rt_sigqueueinfo.
22912 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22914 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22915 assume __NR_rt_sigtimedwait.
22916 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22917 and add LIBC_CANCEL_HANDLED for cancellation marking.
22918 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22920 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22921 (sysdeps_routines): Add memchr_noneon.
22922 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22923 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22924 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22925 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22926 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22927 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22928 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22930 * sysdeps/arm/arm-ifunc.h: New file.
22931 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22932 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22933 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22934 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22935 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22936 (__memcpy_neon): Avoid create hidden alias.
22937 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22938 (__memcpy_vfp): Likewise.
22939 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22940 (sysdep_routines): Add memcpy_arm.
22941 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22943 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22946 * Makerules (make-link-multidir): New.
22947 * config.make.in (multidir): New.
22948 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22949 * configure: Regenerated.
22950 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22951 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22952 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22955 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22958 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22959 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22961 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22963 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22966 2017-11-04 Florian Weimer <fweimer@redhat.com>
22968 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22970 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22972 * math/math.h [__HAVE_DISTINCT_FLOAT16
22973 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22974 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22975 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22976 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22977 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22978 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22979 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22980 (__MATH_TG_F32): New macro.
22981 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22982 (__MATH_TG_F64X): Likewise.
22983 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22984 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22986 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22988 * po/de.po: Update translations.
22989 * po/ru.po: Likewise.
22991 2017-11-03 Florian Weimer <fweimer@redhat.com>
22993 * manual/filesys.texi (Hard Links): Document linkat.
22995 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22997 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22998 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22999 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23000 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23001 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23002 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23003 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23004 the same as _Float128.
23005 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23006 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23007 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23010 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23012 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23014 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23016 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23017 (strtof32x): Likewise.
23018 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23019 (strtof64x): Likewise.
23020 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23021 (strtof128x): Likewise.
23022 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23023 (strfromf16): Likewise.
23024 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23025 (strfromf32): Likewise.
23026 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23027 (strfromf64): Likewise.
23028 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23029 (strfromf32x): Likewise.
23030 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23031 (strfromf64x): Likewise.
23032 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23033 (strfromf128x): Likewise.
23034 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23035 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23036 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23037 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23038 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23039 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23041 2017-11-03 Richard Henderson <rth@twiddle.net>
23043 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23045 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23047 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23049 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23051 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23052 DT_TLSDESC_GOT initialization.
23053 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23054 (_dl_tlsdesc_resolve_hold): Likewise.
23055 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23056 (_dl_tlsdesc_resolve_hold): Likewise.
23057 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23058 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23060 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23062 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23064 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23067 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23068 non-lazily for R_ARM_TLS_DESC.
23070 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23073 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23074 R_ARM_TLS_DESC case.
23075 (elf_machine_lazy_rel): Remove the prelink check.
23077 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23079 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23080 DT_TLSDESC_GOT initialization.
23081 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23082 (_dl_tlsdesc_resolve_rela): Likewise.
23083 (_dl_tlsdesc_resolve_hold): Likewise.
23084 (_dl_tlsdesc_undefweak): Remove ldar.
23085 (_dl_tlsdesc_dynamic): Likewise.
23086 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23087 (_dl_tlsdesc_resolve_rela): Likewise.
23088 (_dl_tlsdesc_resolve_hold): Likewise.
23089 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23090 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23091 (_dl_tlsdesc_resolve_rela): Likewise.
23092 (_dl_tlsdesc_resolve_hold): Likewise.
23094 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23096 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23097 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23099 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23101 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23102 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23104 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23106 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23108 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23109 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23110 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23111 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23112 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23113 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23114 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23115 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23116 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23117 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23118 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23120 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23123 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23124 * localedata/locales/tpi_PG: Add standard header.
23126 2017-11-02 Florian Weimer <fweimer@redhat.com>
23128 test-errno-linux: quotactl can fail with EPERM in containers.
23129 * sysdeps/unix/sysv/linux/test-errno-linux.c
23130 (LIST, LIST_FORWARD): New macros.
23131 (check_error_in_list): New function.
23132 (test_wrp_rv): Accept list of permitted error codes.
23133 (test_wrp_rv2): Remove.
23134 (test_wrp): Call test_wrp_rv with list of error codes.
23135 (test_wrp2): Accept list of error codes.
23136 (do_test): Adjust. Allow EPERM for quotactl.
23138 2017-11-02 Florian Weimer <fweimer@redhat.com>
23140 * stdio-common/bug16.c (do_test): Use array_length.
23141 * stdio-common/errlist.c (_sys_nerr): Likewise.
23142 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23143 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23144 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23145 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23146 (do_test): Use array_length.
23147 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23148 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23149 * stdio-common/tst-printf-round.c (do_test): Likewise.
23150 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23151 (CHECK): Use array_length.
23152 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23153 * stdio-common/tstscanf.c (main): Likewise.
23154 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23156 2017-11-02 Florian Weimer <fweimer@redhat.com>
23158 Add array_length and array_end macros.
23159 * include/array_length.h: New file.
23161 2017-11-02 Florian Weimer <fweimer@redhat.com>
23164 * posix/tst-glob-tilde.c (do_noescape): New variable.
23165 (one_test): Process it.
23166 (do_test): Set do_noescape. Add unescaping test case.
23168 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23171 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23172 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23173 with appropriate macros defined and undefined.
23174 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23175 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23176 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23177 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23178 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23179 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23180 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23181 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23182 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23183 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23186 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23187 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23188 that for long double. Do not condition define and undefine of
23189 _Mdouble_complex_ on [__CFLOAT128].
23191 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23193 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23194 of <sysdeps/generic/sysdep.h>.
23195 (ALIGNARG): Removed.
23196 (ASM_SIZE_DIRECTIVE): Likewise.
23199 (ENTRY_CHK): Likewise.
23200 (END_CHK): Likewise.
23201 (syscall_error): Likewise.
23202 (mcount): Likewise.
23203 (PSEUDO_END): Likewise.
23205 (atom_text_section): Likewise.
23206 * sysdeps/x86/sysdep.h: New file.
23207 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23208 of <sysdeps/generic/sysdep.h>.
23209 (ALIGNARG): Removed.
23210 (ASM_SIZE_DIRECTIVE): Likewise.
23213 (ENTRY_CHK): Likewise.
23214 (END_CHK): Likewise.
23215 (syscall_error): Likewise.
23216 (mcount): Likewise.
23217 (PSEUDO_END): Likewise.
23219 (atom_text_section): Likewise.
23221 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23223 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23224 category of LC_CTYPE set to "i18n:2012".
23225 * localedata/locales/i18n_ctype: Regenerate.
23227 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23229 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23230 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23231 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23232 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23234 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23235 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23236 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23239 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23242 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23244 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23246 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23248 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23249 (CMPLXF32X): Likewise.
23250 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23251 (CMPLXF64X): Likewise.
23252 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23253 (CMPLXF128X): Likewise.
23256 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23257 (__MATH_EVAL_FMT2): Define to add 0.0f.
23259 2017-10-31 Alan Modra <amodra@gmail.com>
23261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23277 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23278 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23281 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23288 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23289 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23291 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23293 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23299 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23302 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23304 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23305 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23307 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23308 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23314 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23315 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23316 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23318 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23323 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23325 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23327 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23329 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23330 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23331 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23334 include sysdep.h and math_ldbl_opt.h.
23336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23337 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23363 2017-10-31 Alan Modra <amodra@gmail.com>
23365 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23366 string/strncase_l.c, not string/strncase.c.
23367 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23368 (libc_hidden_def): Redefine.
23370 2017-10-31 Alan Modra <amodra@gmail.com>
23372 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23373 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23374 (__strcasecmp): Don't define.
23376 2017-10-31 Alan Modra <amodra@gmail.com>
23378 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23380 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23382 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23384 2017-10-31 Alan Modra <amodra@gmail.com>
23386 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23389 2017-10-31 Alan Modra <amodra@gmail.com>
23391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23392 Redefine only when SHARED.
23394 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23396 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23397 Include <bits/math-finite.h> with appropriate macros defined and
23399 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23400 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23401 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23402 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23403 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23405 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23406 [!_Mlong_double_] (_Mlong_double_): Likewise.
23407 [!_Mfloat16_] (_Mfloat16_): Likewise.
23408 [!_Mfloat32_] (_Mfloat32_): Likewise.
23409 [!_Mfloat64_] (_Mfloat64_): Likewise.
23410 [!_Mfloat128_] (_Mfloat128_): Likewise.
23411 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23412 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23413 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23414 (_Mdouble_): Define without indirection through those macros.
23415 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23416 [!_Mfloat128_] (_Mfloat128_): Likewise.
23417 [_Mlong_double_] (_Mlong_double_): Likewise.
23418 (_Mdouble_): Define without indirection through those macros.
23419 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23420 not add -D_Mlong_double_=double.
23421 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23422 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23424 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23426 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23428 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23430 * sysdeps/x86/libc-start.c: Reformat.
23432 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23435 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23436 (1): Renamed to ...
23439 (L(Src2)): Likewise.
23440 (L(1)): Renamed to ...
23443 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23445 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23446 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23447 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23448 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23449 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23450 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23451 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23452 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23453 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23454 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23455 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23456 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23457 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23458 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23459 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23460 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23461 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23462 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23463 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23464 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23465 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23466 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23467 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23468 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23469 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23470 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23471 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23472 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23473 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23474 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23475 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23476 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23477 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23478 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23479 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23480 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23481 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23482 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23483 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23484 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23485 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23486 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23487 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23488 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23489 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23490 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23491 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23492 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23493 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23494 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23495 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23496 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23497 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23498 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23499 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23500 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23501 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23502 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23503 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23504 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23505 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23506 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23507 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23508 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23509 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23510 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23512 2017-10-30 Florian Weimer <fweimer@redhat.com>
23514 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23516 * io/tst-mkdirat.c (do_test): Likewise.
23517 * io/tst-mkfifoat.c (do_test): Likewise.
23518 * io/tst-mknodat.c (do_test): Likewise.
23519 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23520 * locale/programs/locale.c (select_dirs): Likewise.
23521 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23522 * posix/bug-glob2.c (my_readdir): Likewise.
23523 * posix/tst-dir.c (main): Likewise.
23524 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23525 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23527 2017-10-30 Florian Weimer <fweimer@redhat.com>
23529 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23532 2017-10-30 Florian Weimer <fweimer@redhat.com>
23534 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23535 Convert to support/test-driver.c.
23536 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23537 New macro parameters.
23538 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23539 * posix/tst-gnuglob.c: New file.
23540 * posix/tst-gnuglob64.c: Likewise.
23541 * posix/Makefile (tests): Add tst-gnuglob64.
23543 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23546 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23547 and use a better translation for March in “mon”.
23548 * localedata/locales/csb_PL: Use more ASCII to improve the
23549 readability of the source.
23551 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23554 * localedata/locales/km_KH: Use ASCII as much
23555 as possible for better readability of the source and
23556 remove useless comments.
23557 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23558 was commented out and apparently wrong anyway because it was
23559 using Lao characters. If Buddhist era should be used
23560 for km_KH, a native speaker should write the correct formaat
23562 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23563 (According to CLDR, the first weekday for Cambodia is Sunday).
23564 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23565 (These were using Lao characters which must be wrong. If we get
23566 the correct data from a native speaker, we could add it back, until
23567 then it is better not to have name_mr and name_mrs at all than
23570 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23572 * locale/loadlocale.c: Correct size of
23573 _nl_value_type_LC_<category> arrays.
23575 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23577 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23578 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23579 with appropriate macros defined and undefined.
23580 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23581 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23582 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23583 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23584 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23586 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23588 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23591 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23593 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23594 with lowercase letters to make it agree with CLDR.
23596 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23599 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23600 first letters of yesstr and nostr in yesexpr and noexpr,
23601 not for the full words.
23602 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23603 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23604 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23605 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23606 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23607 first letters of yesstr and nostr in yesexpr and noexpr,
23608 until now only English was matched in yesexpr and noexpr.
23609 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23610 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23611 fil but not for tl. As tl and fil are very similar, using fil
23612 is probably better than using English.
23614 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23617 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23618 in yesstr and nostr.
23620 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23622 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23623 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23624 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23626 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23628 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23630 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23632 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23633 (SNANF128X): Likewise.
23635 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23636 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23637 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23638 (HUGE_VAL_F32): Likewise.
23639 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23640 (HUGE_VAL_F64): Likewise.
23641 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23642 (HUGE_VAL_F32X): Likewise.
23643 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23644 (HUGE_VAL_F64X): Likewise.
23645 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23646 (HUGE_VAL_F128X): Likewise.
23648 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23650 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23651 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23652 for the br_FR locale.
23654 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23657 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23659 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23661 * locale/programs/record-status.h: Define globals, and function
23662 prototypes. Move function bodies...
23663 * locale/programs/record-status.c: ... to here. New file.
23664 * iconv/Makefile (iconv_prog-modules): Add record-status.
23665 * locale/Makefile (lib-modules): Likewise.
23666 * iconv/iconv_prog.c: Remove verbose.
23667 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23668 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23669 record a warning about ASCII compatibility.
23670 * locale/programs/ld-monetary.c (monetary_finish): If
23671 warn_int_curr_symbol is true then record a warning about the symbol
23672 not being in our ISO 4217 list.
23673 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23674 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23675 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23676 (OPT_NO_WARN): Define.
23677 (OPT_WARN): Define.
23678 (options): Add entry for --no-warnings, and --warnings.
23679 (set_warnings): New function to enable/disable warnings.
23680 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23681 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23682 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23683 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23684 Pass flags to generate_locale.
23685 (generate_locale): Accept new flag argument and pass it to localedef
23687 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23688 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23690 * localedata/Makefile (test-input-data): Use full file name.
23691 * localedata/da_DK.in: Rename to...
23692 * localedata/da_DK.ISO-8859-1.in: ...this.
23693 * localedata/de_DE.in: Rename to...
23694 * localedata/de_DE.ISO-8859-1.in: ...this.
23695 * localedata/en_US.in: Rename to...
23696 * localedata/en_US.ISO-8859-1.in: ...this.
23697 * localedata/fr_FR.in: Rename to...
23698 * localedata/fr_FR.UTF-8.in: ... this.
23699 * localedata/hr_HR.in: Rename to...
23700 * localedata/hr_HR.ISO-8859-2.in: ...this.
23701 * localedata/hu_HU.in: Rename to...
23702 * localedata/hu_HU.UTF-8.in: ...this.
23703 * localedata/si_LK.in: Rename to...
23704 * localedata/si_LK.UTF-8.in: ...this.
23705 * localedata/sv_SE.in: Rename to...
23706 * localedata/sv_SE.ISO-8859-1.in: ...this.
23707 * localedata/tr_TR.in: Rename to...
23708 * localedata/tr_TR.UTF-8.in: ...this.
23709 * localedata/uk_UA.in: Rename to...
23710 * localedata/uk_UA.UTF-8.in: ...this.
23711 * localedata/sort-test.sh: Test file is locale name with the
23714 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23715 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23717 * localedata/locales/i18n_ctype: Regenerate.
23718 * localedata/locales/tr_TR: Likewise.
23719 * localedata/locales/translit_circle: Likewise.
23720 * localedata/locales/translit_cjk_compat: Likewise.
23721 * localedata/locales/translit_combining: Likewise.
23722 * localedata/locales/translit_compat: Likewise.
23723 * localedata/locales/translit_font: Likewise.
23724 * localedata/locales/translit_fraction: Likewise.
23726 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23728 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23729 lxvd2x/stxvd2x with lvx/stvx.
23730 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23732 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23734 * include/alloc_buffer.h: Replace "if if " with "if " in
23736 * sysdeps/mips/memcpy.S: Likkewise.
23737 * sysdeps/mips/memset.S: Likewise.
23738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23742 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23745 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23748 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23749 yesexpr and noexpr.
23750 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23751 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23752 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23753 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23754 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23755 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23756 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23758 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23760 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23761 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23762 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23763 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23764 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23765 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23766 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23767 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23768 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23769 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23770 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23771 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23773 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23775 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23776 as possible for better readability of the source.
23777 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23778 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23779 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23780 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23781 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23782 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23783 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23784 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23785 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23786 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23787 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23788 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23789 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23790 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23791 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23792 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23793 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23794 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23795 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23796 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23797 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23798 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23799 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23800 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23801 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23802 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23803 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23804 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23805 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23806 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23807 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23808 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23809 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23810 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23811 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23812 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23813 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23814 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23815 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23816 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23817 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23818 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23819 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23820 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23821 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23822 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23823 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23824 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23825 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23826 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23827 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23828 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23829 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23830 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23831 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23832 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23833 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23834 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23835 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23836 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23837 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23838 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23839 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23840 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23841 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23842 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23843 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23844 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23845 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23846 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23847 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23848 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23849 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23850 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23851 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23852 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23853 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23854 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23855 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23856 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23857 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23858 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23859 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23860 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23861 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23862 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23863 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23864 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23865 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23866 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23867 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23868 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23869 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23870 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23871 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23872 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23873 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23874 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23875 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23876 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23877 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23878 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23879 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23880 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23881 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23882 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23883 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23884 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23885 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23886 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23887 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23888 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23889 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23890 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23891 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23892 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23893 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23894 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23895 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23896 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23897 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23898 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23899 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23900 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23901 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23902 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23903 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23904 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23905 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23906 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23907 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23908 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23909 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23910 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23911 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23912 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23913 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23914 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23915 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23916 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23917 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23918 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23919 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23920 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23921 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23922 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23923 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23924 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23925 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23926 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23927 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23928 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23929 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23930 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23931 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23932 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23933 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23934 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23935 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23936 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23937 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23938 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23939 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23940 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23941 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23942 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23943 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23944 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23945 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23946 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23947 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23948 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23949 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23950 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23952 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23954 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23955 (Use first letters of yesstr and nostr correctly instead of using
23958 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23960 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23961 (Use first letters of yesstr and nostr correctly).
23963 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23965 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23966 also check for the first characters of yesstr and nostr.
23967 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23968 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23970 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23972 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23973 also check for Chinese characters.
23975 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23977 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23978 match also for the contents of yesstr and nostr. As the first letter
23979 of yesstr and nostr is equal, checking only for the first letter
23982 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23984 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23985 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23987 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23989 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23990 of main contributor.
23992 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23994 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23995 instead of using English.
23997 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23999 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24000 by including the first letters of nostr and yesexpr in the regexp.
24001 Also make it more readable by using ASCII where possible.
24003 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24005 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24006 the first letter of nostr in the regexp. It agrees with CLDR now.
24007 Also make it more readable by using ASCII where possible.
24009 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24011 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24012 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24013 these strings contain a U+17D6 (which somewhat looks like a colon)
24014 instead of a real colon to separate the full words for “yes”
24015 and “no” from the single letter responses.
24017 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24019 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24020 it agree with CLDR (include the first letter of yesstr).
24021 Also make it more readable by using ASCII where possible.
24023 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24025 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24026 and improve yesexpr and noexpr. The yesstr and nostr apparently
24027 came from CLDR. And CLDR has a bug there: these strings contain
24028 a U+0903 (which looks like a colon) instead of a real colon
24029 to separate the full words for “yes” and “no” from the single
24032 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24034 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24035 letters of the full yesstr and nostr in yesexpr and noexpr.
24037 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24039 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24040 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24041 * localedata/locales/an_ES: Make source more readable by using ASCII
24044 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24047 * localedata/locales/yuw_PG: New file.
24048 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24049 * locale/iso-639.def: Add Yau (Uruwa).
24051 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24053 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24055 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24057 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24058 (__libc_realloc): Likewise.
24059 (_mid_memalign): Likewise.
24060 (__libc_calloc): Likewise.
24062 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24064 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24065 by adding the generic +1 and -0 as in all other locales.
24066 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24067 day names and make it more readable by using ASCII where possible.
24069 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24071 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24072 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24074 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24076 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24077 WNOHANG in waitpid call.
24079 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24081 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24082 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24084 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24085 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24086 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24087 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24088 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24089 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24090 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24091 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24094 2017-10-23 Michael Collison <michael.collison@arm.com>
24096 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24097 with __builtin_sqrt.
24098 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24099 with __builtin_sqrtf.
24100 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24101 with __builtin_ceil.
24102 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24103 with __builtin_ceilf.
24104 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24105 with __builtin_floor.
24106 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24107 with __builtin_floorf.
24108 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24109 with __builtin_fma.
24110 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24111 with __builtin_fmaf.
24112 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24113 with __builtin_fmax.
24114 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24115 with __builtin_fmaxf.
24116 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24117 with __builtin_fmin.
24118 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24119 with __builtin_fminf.
24120 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24121 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24122 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24123 with builtin_rint and conversion to int.
24124 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24125 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24126 with builtin_llround.
24127 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24128 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24129 with builtin_rint and conversion to long int.
24130 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24131 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24132 with builtin_lround.
24133 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24134 with builtin_lroundf.
24135 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24136 statements with __builtin_nearbyint.
24137 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24138 statements with __builtin_nearbyintf.
24139 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24140 with __builtin_rint.
24141 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24142 with __builtin_rintf.
24143 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24144 with __builtin_round.
24145 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24146 with __builtin_roundf.
24147 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24148 with __builtin_trunc.
24149 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24150 with __builtin_truncf.
24151 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24152 and s_l[l]round[f].c too.
24154 2017-10-23 Alan Modra <amodra@gmail.com>
24156 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24157 Adjust stack after restoring regs. Add missing LR cfi_restore.
24159 2017-10-23 Alan Modra <amodra@gmail.com>
24161 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24162 Move LR save and frame setup/teardown and LR restore to
24163 immediately around memset call. Provide cfi.
24165 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24167 * sysdeps/i386/fpu/e_powf.S: Removed.
24168 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24169 * sysdeps/i386/fpu/w_powf.c: Likewise.
24170 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24171 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24172 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24174 (CFLAGS-e_powf-sse2.c): New.
24175 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24176 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24178 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24180 * sysdeps/i386/fpu/e_log2f.S: Removed.
24181 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24182 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24183 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24184 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24185 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24187 (CFLAGS-e_log2f-sse2.c): New.
24188 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24189 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24191 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24193 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24195 (CFLAGS-e_powf-fma.c): New.
24196 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24197 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24199 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24201 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24203 (CFLAGS-e_log2f-fma.c): New.
24204 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24205 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24207 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24211 (CFLAGS-e_logf-fma.c): New.
24212 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24213 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24215 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24217 * sysdeps/i386/fpu/e_logf.S: Removed.
24218 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24219 * sysdeps/i386/fpu/w_logf.c: Likewise.
24220 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24221 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24222 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24223 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24225 (CFLAGS-e_logf-sse2.c): New.
24226 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24227 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24229 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24231 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24232 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24233 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24234 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24235 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24237 (CFLAGS-e_exp2f-sse2.c): New.
24238 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24239 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24241 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24245 (CFLAGS-e_exp2f-fma.c): New.
24246 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24247 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24249 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24251 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24252 * sysdeps/i386/fpu/e_expf.S: Likewise.
24253 * sysdeps/i386/fpu/math_errf.c: Likewise.
24254 * sysdeps/i386/fpu/w_expf.c: Likewise.
24255 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24257 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24258 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24260 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24261 Remove e_expf-ia32.
24262 (CFLAGS-e_expf-sse2.c): New.
24263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24264 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24266 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24268 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24269 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24270 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24271 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24273 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24275 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24276 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24278 (__redirect_expf): This.
24279 (SYMBOL_NAME): Changed to expf.
24280 (__ieee754_expf): Renamed to ...
24282 (__GI___expf): This.
24283 (__ieee754_expf): Add strong_alias.
24284 (__expf_finite): Likewise.
24286 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24288 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24291 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24294 2017-10-21 Florian Weimer <fweimer@redhat.com>
24296 * posix/Makefile (tests): Add tst-glob-tilde.
24297 (tests-special): Add tst-glob-tilde-mem.out
24298 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24299 (tst-glob-tilde-mem.out): Add mtrace check.
24300 * posix/tst-glob-tilde.c: New file.
24302 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24304 * bits/floatn-common.h: New file.
24305 * math/Makefile (headers): Add bits/floatn-common.h.
24306 * bits/floatn.h: Include <bits/floatn-common.h>.
24307 * sysdeps/ia64/bits/floatn.h: Likewise.
24308 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24309 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24310 * sysdeps/powerpc/bits/floatn.h: Likewise.
24311 * sysdeps/x86/bits/floatn.h: Likewise.
24313 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24315 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24316 indicates whether compiler emits an warning for alias for
24317 functions with incompatible types.
24320 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24321 the auxiliary process is terminated by a signal before calling _exit
24324 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24327 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24329 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24330 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24331 and bit_arch_XSAVEC_Usable if needed.
24332 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24333 and bit_arch_Use_dl_runtime_resolve_opt.
24334 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24336 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24337 (bit_arch_Prefer_No_AVX512): Updated.
24338 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24339 (bit_arch_XSAVEC_Usable): New.
24340 (STATE_SAVE_OFFSET): Likewise.
24341 (STATE_SAVE_MASK): Likewise.
24342 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24343 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24344 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24345 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24346 (index_arch_XSAVEC_Usable): New.
24347 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24348 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24349 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24351 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24352 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24353 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24354 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24355 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24356 _dl_runtime_resolve_xsavec.
24357 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24359 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24360 instead of VEC_SIZE.
24361 (REGISTER_SAVE_BND0): Removed.
24362 (REGISTER_SAVE_BND1): Likewise.
24363 (REGISTER_SAVE_BND3): Likewise.
24364 (REGISTER_SAVE_RAX): Always defined to 0.
24366 (_dl_runtime_resolve_avx): Likewise.
24367 (_dl_runtime_resolve_avx_slow): Likewise.
24368 (_dl_runtime_resolve_avx_opt): Likewise.
24369 (_dl_runtime_resolve_avx512): Likewise.
24370 (_dl_runtime_resolve_avx512_opt): Likewise.
24371 (_dl_runtime_resolve_sse): Likewise.
24372 (_dl_runtime_resolve_sse_vex): Likewise.
24374 (_dl_runtime_resolve_fxsave): Likewise.
24375 (USE_XSAVE): Likewise.
24376 (_dl_runtime_resolve_xsave): Likewise.
24377 (USE_XSAVEC): Likewise.
24378 (_dl_runtime_resolve_xsavec): Likewise.
24379 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24381 (_dl_runtime_resolve_avx512_opt): Likewise.
24382 (_dl_runtime_resolve_avx): Likewise.
24383 (_dl_runtime_resolve_avx_opt): Likewise.
24384 (_dl_runtime_resolve_sse): Likewise.
24385 (_dl_runtime_resolve_sse_vex): Likewise.
24386 (_dl_runtime_resolve_fxsave): New.
24387 (_dl_runtime_resolve_xsave): Likewise.
24388 (_dl_runtime_resolve_xsavec): Likewise.
24390 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24394 * posix/glob.c (__glob): Fix one-byte overflow.
24396 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24398 * malloc/malloc.c (sysdep-cancel.h): Add include.
24400 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24402 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24404 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24406 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24407 (tests): Remove $(objpfx)ga_test depdendency.
24408 * resolv/ga_test.c: Remove file.
24410 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24413 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24414 * localedata/locales/kab_DZ: New file.
24416 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24418 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24419 _dl_relocate_static_pie instead of _dl_start to compute load
24420 address in static PIE.
24422 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24424 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24426 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24429 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24430 * localedata/locales/shn_MM: New file.
24432 2017-10-20 Florian Weimer <fweimer@redhat.com>
24435 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24436 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24437 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24438 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24439 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24440 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24442 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24444 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24446 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24448 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24451 * sysdeps/mips/bits/long-double.h: Move to ....
24452 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24454 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24456 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24458 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24459 H.J. Lu <hongjiu.lu@intel.com>
24462 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24463 GLRO(dl_platform) to NULL.
24464 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24465 (modules-names): Add tst-platformmod-1 and
24466 x86_64/tst-platformmod-2.
24467 (CFLAGS-tst-platform-1.c): New.
24468 (CFLAGS-tst-platformmod-1.c): Likewise.
24469 (CFLAGS-tst-platformmod-2.c): Likewise.
24470 (LDFLAGS-tst-platformmod-2.so): Likewise.
24471 ($(objpfx)tst-platform-1): Likewise.
24472 ($(objpfx)tst-platform-1.out): Likewise.
24473 (tst-platform-1-ENV): Likewise.
24474 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24475 * sysdeps/x86_64/tst-platform-1.c: New file.
24476 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24477 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24479 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24482 * locale/iso-639.def: Add Karbi.
24483 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24484 * localedata/locales/mjw_IN: New file.
24486 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24488 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24489 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24490 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24491 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24492 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24493 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24494 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24496 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24497 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24498 * manual/math.texi (Mathematics): Document additional architecture
24499 support for _Float128.
24500 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24502 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24503 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24505 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24506 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24507 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24508 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24509 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24510 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24513 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24516 2017-10-18 Renlin Li <renlin.li@arm.com>
24518 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24519 _DYNAMIC symbol to calculate load address.
24521 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24523 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24524 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24526 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24527 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24529 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24532 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24533 and improve readability by using more ASCII.
24534 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24535 and improve readability by using more ASCII.
24537 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24539 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24540 not all targets support atomics on bool.
24542 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24544 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24545 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24547 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24548 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24549 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24550 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24551 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24552 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24554 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24556 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24559 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24562 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24563 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24564 (do_check_remalloced_chunk): Fix build bug.
24565 (do_check_malloc_state): Add assert that checks arena->top.
24566 (malloc_consolidate): Remove initialization.
24567 (int_mallinfo): Remove call to malloc_consolidate.
24568 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24570 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24572 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24573 (have_fastchunks): Remove.
24574 (clear_fastchunks): Remove.
24575 (set_fastchunks): Remove.
24576 (malloc_state): Add have_fastchunks.
24577 (malloc_init_state): Use have_fastchunks.
24578 (do_check_malloc_state): Remove incorrect invariant checks.
24579 (_int_malloc): Use have_fastchunks.
24580 (_int_free): Likewise.
24581 (malloc_consolidate): Likewise.
24583 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24585 * malloc/malloc.c (tcache_put): Inline.
24586 (tcache_get): Inline.
24588 2017-10-17 Jordi Mallach <jordi@gnu.org>
24590 Aurelien Jarno <aurelien@aurel32.net>
24592 * localedata/locales/ca_ES@valencia: New file.
24593 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24595 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24598 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24601 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24603 * scripts/build-many-glibcs.py (Context.add_all_configs):
24604 Add arm-linux-gnueabihf multiarch extra_glibcs.
24606 * sysdeps/generic/ifunc-init.h: New file.
24607 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24609 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24612 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24613 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24614 * stdlib/tst-strfmon_l.c: adapt test case.
24616 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/generic/float128-abi.h: New file.
24619 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24620 non-__prefixed symbols to ....
24621 * math/Versions: ... here. Include <float128-abi.h>.
24622 * stdlib/Versions ... and here. Include <float128-abi.h>
24624 2017-10-16 Florian Weimer <fweimer@redhat.com>
24626 * version.h (VERSION): Switch to ".9000" as the development
24629 2017-10-16 Florian Weimer <fweimer@redhat.com>
24632 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24633 compat_symbol_reference to access non-default version.
24635 2017-10-16 Florian Weimer <fweimer@redhat.com>
24637 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24639 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24641 * include/shlib-compat.h (compat_symbol_reference): Update
24644 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24646 * math/Makefile (test-types): Add
24647 $(type-float128-$(float128-alias-fcts)).
24648 * math/test-float128.h (TYPE_STR): Define conditional on
24649 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24650 (ULP_IDX): Likewise.
24651 (ULP_I_IDX): Likewise.
24653 * stdlib/strtold.c: Include <bits/floatn.h>
24654 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24655 and later undefine as macro. Define as weak alias if
24657 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24658 and later undefine as macro. Define as weak alias if
24660 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24661 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24662 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24663 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24664 Define and later undefine as macro. Define as weak alias if
24666 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24668 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24669 Define and later undefine as macro. Define as weak alias if
24671 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24672 Define and later undefine as macro. Define as weak alias if
24675 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24677 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24678 record_verbose messages.
24680 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24683 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24684 to silence -O3 -Wall warning with GCC 7.
24686 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24688 * Makeconfig (+link-static-before-libc): Use the first of
24689 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24690 * gmon/Makefile (tests): Add tst-gmon-static.
24691 (tests-static): Likewise.
24692 (CFLAGS-tst-gmon-static.c): New.
24693 (CRT-tst-gmon-static): Likewise.
24694 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24695 (tst-gmon-static-ENV): Likewise.
24696 (tests-special): Likewise.
24697 ($(objpfx)tst-gmon-static.out): Likewise.
24698 (clean-tst-gmon-static-data): Likewise.
24699 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24700 * gmon/tst-gmon-static-gprof.sh: New file.
24701 * gmon/tst-gmon-static.c: Likewise.
24703 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24706 * locale/programs/linereader.c (get_string): Don't warn on
24707 non-symbolic character.
24710 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24714 * locale/programs/record-status.h: New file
24715 * locale/programs/locale.c: Add comment.
24716 * locale/programs/charmap-dir.c: Don't include error.h.
24717 (charmap_opendir): Use record_error.
24718 * locale/programs/charmap.c: Don't include error.h.
24719 (charmap_read): Use record_error, and record_warning.
24720 (parse_charmap): Likewise.
24721 * locale/programs/ld-address.c: Don't include error.h.
24722 (address_finish): Use record_error, and record_warning.
24723 * locale/programs/ld-collate.c: Don't include error.h.
24724 (collate_finish): Use record_error, and record_error_at_line.
24725 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24726 (ctype_class_new): Likewise.
24727 (ctype_map_new): Likewise.
24728 (set_one_default): Likewise.
24729 (set_class_defaults): Likewise.
24730 (translit_flatten): Likewise.
24731 (allocate_arrays): Use record_error, and record_verbose.
24732 * locale/programs/ld-identification.c: Don't include error.h.
24733 (indentation_finish): Use record_error and record_warning.
24734 * locale/programs/ld-measurement.c: Don't include error.h.
24735 (measurement_finish): Use record_error.
24736 * locale/programs/ld-messages.c
24737 (message_finish): Likewise.
24738 * locale/programs/ld-monetary.c
24739 (monetary_finish): Likewise.
24740 * locale/programs/ld-name.c (name_finish): Use record_error
24741 and record_warning.
24742 * locale/programs/ld-numeric.c
24743 (numeric_finish): Use record_error.
24744 * locale/programs/ld-paper.c: Don't include error.h.
24745 (paper_finish): Use record_error.
24746 * locale/programs/ld-telephone.c: Don't include error.h.
24747 (telephone_finish): Use record_error.
24748 * locale/programs/ld-time.c (time_finish): Likewise.
24749 * locale/programs/linereader.h (lr_error): Make inline func.
24750 * locale/programs/localedef.c: Define recorded_warning_count,
24751 and recorded_error_count.
24752 (main): Use record_error. Use recorded_error_count and
24753 recorded_warning_count to issue correct error returns.
24754 (add_to_readlist): Use record_error.
24755 (find_locale): Likewise.
24756 (load_locale): Likewise.
24757 * locale/programs/localedef.h: Remove be_quiet
24758 and WITH_CUR_LOCALE.
24759 * locale/programs/locarchive.c (compare_from_file): Use
24761 * locale/programs/locfile.c (write_locale_data): Use
24763 * locale/programs/repertoire.c: Dont include error.h.
24764 (repertoire_complain): Use record_error.
24765 * localedata/tst-fmon.sh: Expect failures from localedef.
24766 * localedata/tst-locale.sh: Likewise.
24767 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24769 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24770 (REPORTS): Likewise.
24772 (i18n): Rename to...
24773 (i18n_ctype): ...this.
24774 (i18n-report): Rename to...
24775 (i18n_ctype-report): ...this.
24776 * localedata/locales/i18n_ctype: Regenerate.
24777 * localedata/locales/i18n: copy i18n_ctype.
24779 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24781 * stdlib/strfroml.c: Include <bits/floatn.h>.
24782 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24783 Define before include of <stdlib.h> and undefine afterwards, then
24784 define as weak alias.
24786 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24787 Undefine and restore default definition. Use
24788 libm_alias_ldouble_other.
24790 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24793 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24796 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24799 Assign sym_map to be map for local symbols, as TLS relocations
24800 use sym_map to determine whether the symbol is defined and to
24801 extract the TLS information.
24802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24805 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24808 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24809 (math_force_eval): Add powerpc version.
24812 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24814 (do_test): Likewise.
24815 * stdio-common/tst-printf.sh: Likewise.
24816 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24817 ifdef clause in order to set the carry bit right. Replace r0 by
24818 0 without changing the behavior.
24820 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24822 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24823 <libm-alias-ldouble.h>.
24824 (fabsl): Define using libm_alias_ldouble.
24825 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24826 <libm-alias-ldouble.h>.
24827 (fabsl): Define using libm_alias_ldouble.
24829 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24830 Remove conditional code.
24832 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24833 Rename to __clog10_internal_l.
24834 (__clog10_internal_l): Define aliases using
24835 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24838 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24840 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24841 * benchtests/sincosf-inputs: New file.
24842 * benchtests/cosf-inputs: New file.
24843 * benchtests/sinf-inputs: New file.
24845 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24847 * posix/tst-spawn.c (do_test): Wait for both children.
24849 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24852 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24853 tests-pie): Add tst-gmon-pie.
24854 (CFLAGS-tst-gmon-pie.c): New.
24855 (CRT-tst-gmon-pie): Likewise.
24856 (tst-gmon-pie-ENV): Likewise.
24857 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24858 ($(objpfx)tst-gmon-pie.out): Likewise.
24859 (clean-tst-gmon-pie-data): Likewise.
24860 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24861 * gmon/gmon.c [PIC]: Include <link.h>.
24862 [PIC] (callback): New function.
24863 (write_hist): Add an argument for load address. Subtract load
24865 (write_call_graph): Likewise.
24866 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24867 it to write_hist and write_call_graph.
24868 * gmon/tst-gmon-pie.c: New file.
24870 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24872 * math/Makefile (test-types-basic): New variable.
24873 (test-types): Likewise.
24874 (libm-test-support): Use $(test-types) instead of $(types).
24875 (libm-tests-base-normal): Likewise.
24876 (libm-tests-base-finite): Likewise.
24877 (libm-tests-base-inline): Likewise.
24878 (generated): Likewise.
24879 ($(objpfx)libm-test-support-$(t).c): Likewise.
24880 (libm-tests-for-type iterator): Likewise.
24881 (libm-test-support iterator): Likewise.
24882 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24883 (ulp_idx): Use ULP_IDX.
24884 * math/test-ldouble.h: Include <float.h>.
24885 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24886 (ULP_IDX): New macro.
24887 (ULP_I_IDX): Likewise.
24888 * math/test-double.h (ULP_IDX): Likewise.
24889 (ULP_I_IDX): Likewise.
24890 * math/test-float.h (ULP_IDX): Likewise.
24891 (ULP_I_IDX): Likewise.
24892 * math/test-float128.h (ULP_IDX): Likewise.
24893 (ULP_I_IDX): Likewise.
24895 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24897 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24898 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24899 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24900 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24901 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24902 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24903 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24906 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24907 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24908 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24909 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24911 (SINGLE_THREAD_BY_GLOBAL): Define.
24912 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24914 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24916 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24918 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24920 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24921 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24925 2017-10-11 Andreas Schwab <schwab@suse.de>
24927 * nis/Makefile (aux): Remove.
24928 * nscd/Makefile (aux): Add nscd_hash.
24929 (nscd-modules): Likewise.
24930 ($(objpfx)nscd): Don't depend on libnsl.
24931 * nscd/nscd_hash.c: New file.
24932 * nscd/nscd_hash.h: Likewise.
24933 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24934 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24935 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24936 instead of <nis/rpcsvc/nis.h>.
24937 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24939 2017-10-11 Florian Weimer <fweimer@redhat.com>
24942 Avoid large NSS buffers with many addresses, aliases.
24943 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24944 using dynarrays and struct alloc_buffer.
24945 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24946 (tst-nss-files-hosts-multi): Link with -ldl.
24947 * nss/tst-nss-files-hosts-multi.c: New file.
24949 2017-10-11 Florian Weimer <fweimer@redhat.com>
24952 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24953 scratch_buffer. Eliminate gotos.
24955 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24957 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24958 libm_alias_ldouble_other.
24959 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24960 undefine and redefine.
24961 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24962 (exp10l): Do not define here.
24963 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24964 (weak_alias): Undefine and redefine.
24965 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24966 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24967 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24968 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24970 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24971 [!__fma] (fma): Define using libm_alias_double.
24972 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24973 [!__fmaf] (fmaf): Define using libm_alias_float.
24974 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24975 (fmal): Define using libm_alias_ldouble.
24977 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24979 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24981 (libm_alias_double_other): Likewise.
24982 (libm_alias_double_r): Use libm_alias_double_other_r.
24983 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24985 (libm_alias_float_other): Likewise.
24986 (libm_alias_float_r): Use libm_alias_float_other_r.
24987 * sysdeps/generic/libm-alias-float128.h
24988 (libm_alias_float128_other_r): New macro.
24989 (libm_alias_float128_other): Likewise.
24990 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24991 * sysdeps/generic/libm-alias-ldouble.h
24992 (libm_alias_ldouble_other_r): New macro.
24993 (libm_alias_ldouble_other): Likewise.
24994 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24995 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24996 (libm_alias_double_other_r): New macro.
24997 (libm_alias_double_other): Likewise.
24998 (libm_alias_double_r): Use libm_alias_double_other_r.
24999 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25000 (libm_alias_ldouble_other_r): New macro.
25001 (libm_alias_ldouble_other): Likewise.
25002 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25003 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25004 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25005 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25006 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25007 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25008 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25009 * math/w_exp2f.c: Use libm_alias_float_other.
25010 * math/w_expf.c: Likewise.
25011 * math/w_log2f.c: Likewise.
25012 * math/w_logf.c: Likewise.
25013 * math/w_powf.c: Likewise.
25014 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25015 [!__exp2f]: Use libm_alias_float_other.
25016 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25017 [!__expf]: Use libm_alias_float_other.
25018 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25019 [!__log2f]: Use libm_alias_float_other.
25020 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25021 [!__logf]: Use libm_alias_float_other.
25022 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25023 [!__powf]: Use libm_alias_float_other.
25025 2017-10-10 Florian Weimer <fweimer@redhat.com>
25027 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25029 (_nss_files_gethostbyname3_r): Call it.
25031 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25033 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25034 error. Remove default definition of declare_mgen_alias.
25035 [!declare_mgen_alias_r]: Likewise.
25036 * sysdeps/generic/math-type-macros-double.h
25037 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25038 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25039 (declare_mgen_alias_r): Likewise.
25040 * sysdeps/generic/math-type-macros-float128.h
25041 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25042 * sysdeps/generic/math-type-macros-ldouble.h
25043 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25044 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25046 (declare_mgen_alias_r_s): Likewise.
25047 (declare_mgen_alias_r): Likewise.
25048 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25049 (lgamma_r): Define using libm_alias_double_r.
25050 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25051 (lgammaf_r): Define using libm_alias_float_r.
25052 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25053 (lgammal_r): Define using libm_alias_ldouble_r.
25054 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25055 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25057 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25059 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25060 extern declaration.
25062 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25064 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25066 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25069 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25070 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25071 * math/Makefile (test-math-cxx11): New test.
25072 * math/test-math-cxx11.cc: New file.
25074 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25076 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25078 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25079 call to allocate the slave pty file descriptor.
25081 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25083 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25084 [!__fma] (fma): Define using libm_alias_double.
25085 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25086 [!__fma] (fma): Define using libm_alias_double.
25088 * sysdeps/ieee754/float128/float128_private.h: Include
25089 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25090 (libm_alias_ldouble_r): Undefine and redefine.
25091 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25092 <libm-alias-ldouble.h>.
25093 (asinhl): Define using libm_alias_ldouble.
25094 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25095 <libm-alias-ldouble.h>.
25096 (atanl): Define using libm_alias_ldouble.
25097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25098 <libm-alias-ldouble.h>.
25099 (cbrtl): Define using libm_alias_ldouble.
25100 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25101 <libm-alias-ldouble.h>.
25102 (ceill): Define using libm_alias_ldouble.
25103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25104 <libm-alias-ldouble.h>.
25105 (copysignl): Define using libm_alias_ldouble.
25106 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25107 <libm-alias-ldouble.h>.
25108 (cosl): Define using libm_alias_ldouble.
25109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25110 <libm-alias-ldouble.h>.
25111 (erfl): Define using libm_alias_ldouble.
25113 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25114 <libm-alias-ldouble.h>.
25115 (expm1l): Define using libm_alias_ldouble.
25116 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25117 <libm-alias-ldouble.h>.
25118 (fabsl): Define using libm_alias_ldouble.
25119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25120 <libm-alias-ldouble.h>.
25121 (floorl): Define using libm_alias_ldouble.
25122 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25123 <libm-alias-ldouble.h>.
25124 (fmal): Define using libm_alias_ldouble.
25125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25126 <libm-alias-ldouble.h>.
25127 (frexpl): Define using libm_alias_ldouble.
25128 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25129 libm_alias_ldouble.
25130 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25131 <libm-alias-ldouble.h>.
25132 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25133 libm_alias_ldouble.
25134 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25135 <libm-alias-ldouble.h>.
25136 (getpayloadl): Define using libm_alias_ldouble.
25137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25138 <libm-alias-ldouble.h>.
25139 (llrintl): Define using libm_alias_ldouble.
25140 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25141 <libm-alias-ldouble.h>.
25142 (llroundl): Define using libm_alias_ldouble.
25143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25144 <libm-alias-ldouble.h>.
25145 (logbl): Define using libm_alias_ldouble.
25146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25147 <libm-alias-ldouble.h>.
25148 (lrintl): Define using libm_alias_ldouble.
25149 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25150 <libm-alias-ldouble.h>.
25151 (lroundl): Define using libm_alias_ldouble.
25152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25153 <libm-alias-ldouble.h>.
25154 (modfl): Define using libm_alias_ldouble.
25155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25156 <libm-alias-ldouble.h>.
25157 (nearbyintl): Define using libm_alias_ldouble.
25158 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25159 <libm-alias-ldouble.h>.
25160 (nextafterl): Define using libm_alias_ldouble.
25161 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25162 <libm-alias-ldouble.h>.
25163 (nextupl): Define using libm_alias_ldouble.
25164 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25165 <libm-alias-ldouble.h>.
25166 (remquol): Define using libm_alias_ldouble.
25167 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25168 <libm-alias-ldouble.h>.
25169 (rintl): Define using libm_alias_ldouble.
25170 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25171 <libm-alias-ldouble.h>.
25172 (roundevenl): Define using libm_alias_ldouble.
25173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25174 <libm-alias-ldouble.h>.
25175 (roundl): Define using libm_alias_ldouble.
25176 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25177 using libm_alias_ldouble.
25178 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25179 <libm-alias-ldouble.h>.
25180 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25181 Define using libm_alias_ldouble.
25182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25183 <libm-alias-ldouble.h>.
25184 (sincosl): Define using libm_alias_ldouble.
25185 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25186 <libm-alias-ldouble.h>.
25187 (sinl): Define using libm_alias_ldouble.
25188 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25189 <libm-alias-ldouble.h>.
25190 (tanhl): Define using libm_alias_ldouble.
25191 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25192 <libm-alias-ldouble.h>.
25193 (tanl): Define using libm_alias_ldouble.
25194 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25195 <libm-alias-ldouble.h>.
25196 (totalorderl): Define using libm_alias_ldouble.
25197 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25198 <libm-alias-ldouble.h>.
25199 (totalordermagl): Define using libm_alias_ldouble.
25200 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25201 <libm-alias-ldouble.h>.
25202 (truncl): Define using libm_alias_ldouble.
25203 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25204 libm_alias_ldouble.
25205 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25206 libm_alias_ldouble.
25207 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25208 <libm-alias-ldouble.h>.
25209 (weak_alias): Do not undefine and redefine.
25210 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25211 (copysignl): Define with long_double_symbol only if [IS_IN
25213 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25214 <libm-alias-ldouble.h>.
25215 (weak_alias): Do not undefine and redefine.
25216 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25217 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25218 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25219 <libm-alias-ldouble.h>.
25220 (weak_alias): Do not undefine and redefine.
25221 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25222 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25223 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25224 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25227 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25230 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25233 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25240 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25242 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25248 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25251 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25252 (tcache_thread_freeres): Set tcache_shutting_down before
25253 freeing the tcache.
25254 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25255 * malloc/tst-malloc-tcache-leak.c: New file.
25257 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25259 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25260 back to powerpc32 file.
25261 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25262 (memrchr): Add __memrchr_power8 to ifunc list.
25263 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25264 extra bytes for unaligned inputs.
25266 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25268 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25269 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25274 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25276 * sysdeps/arm/libm-test-ulps: Update.
25278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25279 <libm-alias-ldouble.h>.
25280 (asinhl): Define using libm_alias_ldouble.
25281 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25282 <libm-alias-ldouble.h>.
25283 (cbrtl): Define using libm_alias_ldouble.
25284 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25285 <libm-alias-ldouble.h>.
25286 (copysignl): Define using libm_alias_ldouble.
25287 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25288 <libm-alias-ldouble.h>.
25289 (cosl): Define using libm_alias_ldouble.
25290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25291 <libm-alias-ldouble.h>.
25292 (erfl): Define using libm_alias_ldouble.
25294 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25295 <libm-alias-ldouble.h>.
25296 (fmal): Define using libm_alias_ldouble.
25297 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25298 <libm-alias-ldouble.h>.
25299 (frexpl): Define using libm_alias_ldouble.
25300 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25301 libm_alias_ldouble.
25302 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25303 <libm-alias-ldouble.h>.
25304 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25305 libm_alias_ldouble.
25306 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25307 <libm-alias-ldouble.h>.
25308 (getpayloadl): Define using libm_alias_ldouble.
25309 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25310 <libm-alias-ldouble.h>.
25311 (llrintl): Define using libm_alias_ldouble.
25312 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25313 <libm-alias-ldouble.h>.
25314 (llroundl): Define using libm_alias_ldouble.
25315 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25316 <libm-alias-ldouble.h>.
25317 (lrintl): Define using libm_alias_ldouble.
25318 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25319 <libm-alias-ldouble.h>.
25320 (lroundl): Define using libm_alias_ldouble.
25321 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25322 <libm-alias-ldouble.h>.
25323 (modfl): Define using libm_alias_ldouble.
25324 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25325 <libm-alias-ldouble.h>.
25326 (nextupl): Define using libm_alias_ldouble.
25327 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25328 <libm-alias-ldouble.h>.
25329 (remquol): Define using libm_alias_ldouble.
25330 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25331 <libm-alias-ldouble.h>.
25332 (roundevenl): Define using libm_alias_ldouble.
25333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25334 <libm-alias-ldouble.h>.
25335 (roundl): Define using libm_alias_ldouble.
25336 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25337 using libm_alias_ldouble.
25338 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25339 <libm-alias-ldouble.h>.
25340 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25341 <libm-alias-ldouble.h>.
25342 (setpayloadsigl): Define using libm_alias_ldouble.
25343 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25344 <libm-alias-ldouble.h>.
25345 (sincosl): Define using libm_alias_ldouble.
25346 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25347 <libm-alias-ldouble.h>.
25348 (sinl): Define using libm_alias_ldouble.
25349 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25350 <libm-alias-ldouble.h>.
25351 (tanhl): Define using libm_alias_ldouble.
25352 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25353 <libm-alias-ldouble.h>.
25354 (tanl): Define using libm_alias_ldouble.
25355 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25356 <libm-alias-ldouble.h>.
25357 (totalorderl): Define using libm_alias_ldouble.
25358 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25359 <libm-alias-ldouble.h>.
25360 (totalordermagl): Define using libm_alias_ldouble.
25361 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25362 libm_alias_ldouble.
25363 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25364 libm_alias_ldouble.
25366 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25368 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25370 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25371 (__libc_ifunc_impl_list): Likewise.
25372 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25373 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25375 * benchtests/bench-memmove-walk.c: New file.
25376 * benchtests/Makefile (string-benchset): Add it.
25378 * benchtests/bench-memset-walk.c: New file.
25379 * benchtests/Makefile (string-benchset): Add it.
25381 * benchtests/bench-memcpy-walk.c: New file.
25382 * benchtests/Makefile (string-benchset): Add it.
25384 2017-10-05 Florian Weimer <fweimer@redhat.com>
25386 nscd: Eliminate compilation time dependency in the build output.
25387 * nscd/nscd_stat.c (STATDATA_VERSION)
25388 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25389 (STATDATA_VERSION_FULL): New macro definitions.
25390 (compilation): Remove.
25391 (struct statdata): Adjust version member.
25392 (send_stats): Set version from STATDATA_VERSION_FULL.
25393 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25395 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25397 * configure.ac (--enable-add-ons): Remove option.
25398 (machine): Do not mention add-ons in comment.
25399 (LIBC_PRECONFIGURE): Likewise.
25400 (add_ons): Remove variable and sanity checks and logic to locate
25402 (add_ons_automatic): Remove variable.
25403 (configured_add_ons): Likewise.
25404 (add_ons_sfx): Likewise.
25405 (add_ons_pfx): Likewise.
25406 (add_on_subdirs): Likewise.
25407 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25408 consideration of add-ons in Implies handling.
25409 (sysdeps_add_ons): Likewise.
25410 * configure: Regenerated.
25411 * libidn/configure.ac: Remove.
25412 * libidn/configure: Likewise.
25413 * sysdeps/unix/inet/configure.ac: New file.
25414 * sysdeps/unix/inet/configure: New generated file.
25415 * sysdeps/unix/inet/Subdirs: Add libidn.
25416 * Makeconfig (sysdeps-srcdirs): Remove variable.
25417 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25418 ($(common-objpfx)config.status): Do not depend on add-on files.
25419 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25421 (all-subdirs): Do not include $(add-on-subdirs).
25422 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25423 * config.make.in (add-ons): Remove variable.
25424 (add-on-subdirs): Likewise.
25425 (sysdeps-add-ons): Likewise.
25426 * manual/Makefile (add-chapters): Remove.
25427 ($(objpfx)texis): Do not depend on $(add-chapters).
25428 (nonexamples): Do not handle $(add-chapters).
25429 (examples): Do not handle $(add-ons).
25430 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25432 * manual/install.texi (Installation): Do not mention add-ons.
25433 (--enable-add-ons): Do not document configure option.
25434 * INSTALL: Regenerated.
25435 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25436 * manual/maint.texi (Hierarchy Conventions): Do not mention
25438 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25440 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25442 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25443 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25445 2017-10-05 Andreas Schwab <schwab@suse.de>
25448 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25449 (_IO_flush_all_lockp): Always lock list_all_lock.
25450 (_IO_flush_all_linebuffered): Likewise.
25451 (_IO_unbuffer_all): Likewise.
25453 2017-10-05 Florian Weimer <fweimer@redhat.com>
25456 Do not flush stdio streams on abort.
25457 * stdlib/abort.c (fflush): Remove macro definition.
25458 (abort): Remove stages related to stdio flushing.
25460 2017-10-05 Florian Weimer <fweimer@redhat.com>
25462 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25464 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25466 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25468 2017-10-05 Florian Weimer <fweimer@redhat.com>
25470 * support/support_format_hostent.c (support_format_hostent): Add
25471 more error information for NETDB_INTERNAL.
25473 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25475 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25476 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25477 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25478 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25479 AC_DEFINE if multi-arch is enabled.
25480 * sysdeps/i386/configure: Regenerated.
25482 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25484 * Makeconfig (+link-static-before-libc): Use
25485 $(DEFAULT-LDFLAGS-$(@F)).
25486 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25487 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25488 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25490 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25492 * elf/Makefile (tests): Add tst-main1.
25493 (modules-names): Add tst-main1mod.
25494 ($(objpfx)tst-main1): New.
25495 (CRT-tst-main1): Likewise.
25496 (LDFLAGS-tst-main1): Likewise.
25497 (LDLIBS-tst-main1): Likewise.
25498 (tst-main1mod.so-no-z-defs): Likewise.
25499 * elf/tst-main1.c: New file.
25500 * elf/tst-main1mod.c: Likewise.
25502 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25504 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25506 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25509 (fma): Define using libm_alias_double.
25510 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25511 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25513 (fmal): Do not define as compat symbol here.
25514 * sysdeps/alpha/fpu/s_fma.c: New file.
25516 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25518 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25520 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25523 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25525 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25527 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25528 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25529 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25530 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25532 Include <math_ldbl_opt.h>
25533 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25535 (compat_symbol): Undefine and redefine.
25536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25538 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25539 (compat_symbol): Undefine and redefine.
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25541 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25542 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25543 GLIBC_2_1 for libm.
25544 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25545 GLIBC_2.0 copysignl symbol.
25546 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25547 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25549 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25551 2017-10-04 Florian Weimer <fweimer@redhat.com>
25553 * scripts/check-local-headers.sh: Ignore nspr4 header file
25554 directory in addition to nspr.
25556 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25559 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25560 * configure: Regenerate.
25561 * crypt/Makefile (nss-cpp-flags): New variable.
25562 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25563 (CPPFLAGS-md5-crypt.c): Use it.
25564 * scripts/check-local-headers.sh: Ignore nspr header file
25567 2017-10-04 Andreas Schwab <schwab@suse.de>
25569 * nis/Makefile (services): Remove compat.
25570 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25571 ($(objpfx)libnss_compat.so): Remove rule.
25572 * nis/Versions (libnss_compat): Remove.
25573 * nss/Makefile (services): Add compat.
25574 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25575 * nss/Versions (libnss_compat): Define.
25576 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25577 Don't include <rpc/types.h>. Replace bool_t by bool.
25578 * nss/nss_compat/compat-initgroups.c: Likewise.
25579 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25580 instead of <rpcsrv/ypclnt.h>.
25581 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25582 yp_get_default_domain.
25583 * nss/nss_compat/compat-pwd.c: Likewise.
25584 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25585 yp_get_default_domain.
25586 * nss/nss_compat/nisdomain.c: New file.
25587 * nss/nss_compat/nisdomain.h: Likewise.
25589 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25592 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25593 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25595 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25601 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25603 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25604 "movl main@GOTOFF(%ebx), %eax".
25606 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25608 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25609 allow undefined _DYNAMIC in PIE libc.a.
25610 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25613 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25615 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25618 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25620 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25623 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25625 * math/test-math-iscanonical.cc (error): Replace bool with int.
25627 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25629 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25630 (modf): Define using libm_alias_double, only if [!__modf].
25631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25632 <libm-alias-double.h>.
25633 (modf): Define using libm_alias_double, only if [!__modf].
25634 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25635 compat symbol here.
25636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25637 (weak_alias): Do not undefine and redefine.
25638 (strong_alias): Likewise.
25639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25640 (weak_alias): Likewise.
25641 (strong_alias): Likewise.
25643 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25644 (logb): Define using libm_alias_double, only if [!__logb].
25645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25646 <libm-alias-double.h>.
25647 (logb): Define using libm_alias_double, only if [!__logb].
25648 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25650 (weak_alias): Do not undefine and redefine.
25651 (strong_alias): Likewise.
25652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25653 (weak_alias): Likewise.
25654 (strong_alias): Likewise.
25656 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25658 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25659 Check SHARED instead PIC.
25661 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25663 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25664 [!__fmaf] (fmaf): Define using libm_alias_float.
25666 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25667 (frexp): Define using libm_alias_double.
25668 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25669 <libm-alias-double.h>.
25670 (frexp): Define using libm_alias_double.
25671 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25672 compat symbol here.
25674 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25677 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25678 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25679 (CFLAGS-test-math-iscanonical.cc): New variable.
25680 * math/test-math-iscanonical.cc: New file.
25681 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25682 Provide a C++ implementation based on function overloading,
25683 rather than using __MATH_TG, which uses C-only builtins.
25684 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25686 * sysdeps/powerpc/powerpc64le/Makefile
25687 (CFLAGS-test-math-iscanonical.cc): New variable.
25689 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25692 (ceil): Define using libm_alias_double.
25693 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25694 (floor): Define using libm_alias_double.
25695 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25696 <libm-alias-double.h>.
25697 (llround): Define using libm_alias_double.
25698 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25699 <libm-alias-double.h>.
25700 (lround): Define using libm_alias_double.
25701 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25702 <libm-alias-double.h>.
25703 (nearbyint): Define using libm_alias_double.
25704 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25705 <libm-alias-double.h>.
25706 (remquo): Define using libm_alias_double.
25707 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25708 (rint): Define using libm_alias_double.
25709 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25710 (round): Define using libm_alias_double.
25711 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25712 (trunc): Define using libm_alias_double.
25713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25714 <libm-alias-double.h>.
25715 (ceil): Define using libm_alias_double.
25716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25717 <libm-alias-double.h>.
25718 (floor): Define using libm_alias_double.
25719 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25720 <libm-alias-double.h>.
25721 (llround): Define using libm_alias_double.
25722 [_LP64] (lround): Likewise.
25723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25724 <libm-alias-double.h>.
25725 [!_LP64] (lround): Define using libm_alias_double.
25726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25727 <libm-alias-double.h>.
25728 (nearbyint): Define using libm_alias_double.
25729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25730 <libm-alias-double.h>.
25731 (remquo): Define using libm_alias_double.
25732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25733 <libm-alias-double.h>.
25734 (rint): Define using libm_alias_double.
25735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25736 <libm-alias-double.h>.
25737 (round): Define using libm_alias_double.
25738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25739 <libm-alias-double.h>.
25740 (trunc): Define using libm_alias_double.
25741 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25742 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25743 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25744 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25745 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25746 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25747 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25748 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25749 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25751 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25753 * math/w_remainder.c: New file.
25754 * math/w_remainderf.c: New file.
25755 * math/w_remainderl.c: New file.
25757 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25759 * elf/rtld.c (BOOTSTRAP_MAP): New.
25760 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25761 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25763 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25765 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25768 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25770 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25771 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25772 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25773 rtld_hidden_data_ver): Define to empty.
25774 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25775 __assert_perror_fail): Likewise.
25776 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25777 (__rewinddir): Likewise.
25778 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25779 (__profile_frequency): Likewise.
25780 * include/setjmp.h (__sigsetjmp): Likewise.
25781 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25782 __libc_sigaction): Likewise.
25783 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25784 not set hidden attribute.
25785 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25786 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25787 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25788 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25789 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25790 __fxstatat64): Likewise.
25791 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25792 (__uname): Likewise.
25793 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25794 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25795 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25796 (NO_RTLD_HIDDEN): Set.
25797 * sysdeps/mach/hurd/configure: Refresh.
25798 * config.h.in: Refresh.
25800 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25802 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25803 (atan): Define using libm_alias_double.
25804 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25805 (tan): Define using libm_alias_double.
25806 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25807 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25810 define as weak alias of __atan. Do not define any aliases if
25812 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25813 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25815 as weak alias of __tan. Do not define any aliases if [__tan].
25816 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25817 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25821 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25822 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25823 and define as weak alias of __atan.
25824 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25828 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25829 define as weak alias of __tan.
25831 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25833 * math/w_lgamma.c: New file.
25834 * math/w_lgammaf.c: New file.
25835 * math/w_lgammal.c: New file.
25837 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25839 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25840 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25841 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25842 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25843 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25844 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25845 * sysdeps/i386/fpu/w_log2f.c: New file.
25846 * sysdeps/i386/fpu/w_logf.c: New file.
25847 * sysdeps/i386/fpu/w_powf.c: New file.
25848 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25849 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25850 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25852 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25853 H.J. Lu <hongjiu.lu@intel.com>
25855 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25856 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25857 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25858 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25861 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25862 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25863 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25864 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25865 * sysdeps/i386/fpu/w_exp2f.c: New file.
25866 * sysdeps/i386/fpu/w_expf.c: New file.
25867 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25868 * sysdeps/x86_64/fpu/w_expf.c: New file.
25870 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25872 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25875 * math/w_log2f.c: New file.
25876 * math/w_logf.c: New file.
25877 * math/w_powf.c: New file.
25878 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25879 * math/w_logf_compat.c (__logf_compat): Likewise.
25880 * math/w_powf_compat.c (__powf_compat): Likewise.
25881 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25882 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25883 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25884 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25885 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25886 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25887 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25888 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25889 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25890 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25891 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25892 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25893 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25894 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25895 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25904 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25905 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25906 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25907 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25908 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25913 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25917 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25919 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25920 (sysdep_routines): Add memrchr_power8.
25921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25922 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25923 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25925 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25926 (memrchr): Add __memrchr_power8 to ifunc list.
25927 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25932 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25933 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25935 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25936 (__posix_fallocate64_l64): Likewise.
25938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25941 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25942 (__sched_setaffinity_new): Add libc_hidden_proto and
25945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25948 * include/glob.h (__glob64): Add libc_hidden_proto.
25949 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25955 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25961 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25966 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25972 * csu/version.c (__libc_print_version): Add attribute_hidden.
25974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25977 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25982 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25987 * nscd/nscd_helper.c (__nis_hash): New prototype.
25989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25992 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25993 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25995 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25996 * termios/tcgetattr.c (__tcgetattr): Likewise.
25998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26001 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26002 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26003 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26004 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26005 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26010 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26015 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26016 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26021 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26026 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26027 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26032 * include/ifreq.h: New file.
26033 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26034 (__ifreq): Likewise.
26035 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26036 (__ifreq): Likewise.
26038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26041 * include/idna.h: New file.
26042 * inet/getnameinfo.c: Include <idna.h> instead of
26044 (__idna_to_unicode_lzlz): Removed.
26045 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26047 (__idna_to_ascii_lz): Removed.
26048 (__idna_to_unicode_lzlz): Likewise.
26050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26053 * include/plural-exp.h: New file.
26054 * intl/plural-exp.c: Include <plural-exp.h> instead of
26057 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26060 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26061 "getsourcefilter.h".
26062 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26063 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26064 "getsourcefilter.h".
26065 (__get_sol): Removed.
26067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26070 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26072 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26077 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26083 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26088 * include/search.h (__tdestroy): Add libc_hidden_proto.
26089 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26094 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26099 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26105 * include/signal.h (__kill): Add libc_hidden_proto.
26106 (__sigblock): Likewise.
26107 (__sigprocmask): Likewise.
26108 (__sigaltstack): Likewise.
26109 * signal/kill.c (__kill): Add libc_hidden_def.
26110 * signal/sigblock.c (__sigblock): Likewise.
26111 * signal/sigprocmask.c (__sigprocmask): Likewise.
26112 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26113 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26114 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26115 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26116 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26118 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26120 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26121 (__sigprocmask): Likewise.
26122 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26124 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26125 (__sigprocmask): Likewise.
26126 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26132 * include/string.h (__strsep): Add libc_hidden_proto.
26133 * string/strsep.c (__strsep): Add libc_hidden_def.
26135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26138 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26140 (__spawni): Likewise.
26142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26145 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26146 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26152 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26157 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26158 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26159 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26160 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26161 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26163 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26164 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26169 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26170 (__dcigettext): Likewise.
26172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26175 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26177 (__get_nprocs): Likewise.
26178 (__get_phys_pages): Likewise.
26179 (__get_avphys_pages): Likewise.
26180 (__get_child_max): Add attribute_hidden.
26181 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26182 (__get_nprocs): Likewise.
26183 (__get_phys_pages): Likewise.
26184 (__get_avphys_pages): Likewise.
26185 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26187 (__get_nprocs): Likewise.
26188 (__get_phys_pages): Likewise.
26189 (__get_avphys_pages): Likewise.
26190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26192 (__get_nprocs_conf): Likewise.
26193 (__get_phys_pages): Likewise.
26194 (__get_avphys_pages): Likewise.
26196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26199 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26201 (__netlink_close): Likewise.
26202 (__netlink_free_handle): Likewise.
26203 (__netlink_request): Likewise.
26205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26208 * include/rpc/rpc.h (__rpc_thread_variables): Add
26210 (__rpc_thread_svc_cleanup): Likewise.
26211 (__rpc_thread_clnt_cleanup): Likewise.
26212 (__rpc_thread_key_cleanup): Likewise.
26214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26217 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26218 (__writev): Likewise.
26219 * misc/readv.c (__readv): Add libc_hidden_def.
26220 * misc/writev.c (__writev): Likewise.
26221 * sysdeps/posix/readv.c (__readv): Likewise.
26222 * sysdeps/posix/writev.c (__writev): Likewise.
26223 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26224 (__readv): Likewise.
26225 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26226 (__writev): Likewise.
26228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26231 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26232 (__regcomp): Add libc_hidden_proto.
26233 (__regexec): Likewise.
26234 (__regfree): Likewise.
26235 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26236 (__regfree): Likewise.
26237 * posix/regexec.c (__regexec): Likewise.
26239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26242 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26243 (__getutent): Likewise.
26244 (__getutid): Likewise.
26245 (__getutline): Likewise.
26246 (__pututline): Likewise.
26247 (__getutent_r): Likewise.
26248 (__getutid_r): Likewise.
26249 (__getutline_r): Likewise.
26250 (__utmpname): Add attribute_hidden.
26251 (__setutent): Likewise.
26252 (__endutent): Likewise.
26253 * login/getutent.c (__getutent): Add libc_hidden_def.
26254 * login/getutent_r.c (__getutent_r): Likewise.
26255 (__pututline): Likewise.
26256 * login/getutid.c (__getutid): Likewise.
26257 * login/getutid_r.c (__getutid_r): Likewise.
26258 * login/getutline.c (__getutline): Likewise.
26259 * login/getutline_r.c (__getutline_r): Likewise.
26260 * login/updwtmp.c (__updwtmp): Likewise.
26262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26265 * include/dirent.h (__opendir): Always add attribute_hidden.
26266 (__fdopendir): Likewise.
26267 (__closedir): Likewise.
26268 (__readdir): Likewise.
26269 (__readdir64): Add libc_hidden_proto.
26270 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26271 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26272 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26273 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26279 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26280 * include/netdb.h (__gethostbyaddr_r): Likewise.
26281 (__gethostbyname_r): Likewise.
26282 (__gethostbyname2_r): Likewise.
26283 (__getnetbyaddr_r): Likewise.
26284 (__getnetbyname_r): Likewise.
26285 (__getservbyname_r): Likewise.
26286 (__getservbyport_r): Likewise.
26287 (__getprotobyname_r): Likewise.
26288 (__getprotobynumber_r): Likewise.
26289 (__getnetgrent_r): Likewise.
26290 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26291 (__getrpcbynumber_r): Likewise.
26292 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26297 * include/stdio.h (__fcloseall): Add attribute_hidden.
26298 (__getline): Likewise.
26299 (__path_search): Likewise.
26300 (__gen_tempname): Likewise.
26301 (__libc_message): Likewise.
26302 (__flockfile): Likewise.
26303 (__funlockfile): Likewise.
26304 (__fxprintf): Likewise.
26305 (__fxprintf_nocancel): Likewise.
26307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26310 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26311 (__sgetsgent_r): Likewise.
26313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26316 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26317 (__statfs64): Likewise.
26318 (__fstatfs64): Likewise.
26319 * include/sys/statvfs.h (__statvfs64): Likewise.
26320 (__fstatvfs64): Likewise.
26321 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26322 (__statfs_filesize_max): Likewise.
26323 (__statfs_symlinks): Likewise.
26324 (__statfs_chown_restricted): Likewise.
26326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26329 * include/time.h (__tzstring): Add attribute_hidden.
26330 (__tzfile_read): Likewise.
26331 (__tzfile_compute): Likewise.
26332 (__tzfile_default): Likewise.
26333 (__tzset_parse_tz): Likewise.
26334 (__offtime): Likewise.
26335 (__asctime_r): Likewise.
26336 (__tzset): Likewise.
26337 (__tz_convert): Likewise.
26338 (__getdate_r): Likewise.
26339 (__getclktck): Likewise.
26341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26344 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26345 (__nscd_unmap): Likewise.
26346 (__nscd_cache_search): Likewise.
26347 (__nscd_get_nl_timestamp): Likewise.
26348 (__nscd_getpwnam_r): Likewise.
26349 (__nscd_getpwuid_r): Likewise.
26350 (__nscd_getgrnam_r): Likewise.
26351 (__nscd_getgrgid_r): Likewise.
26352 (__nscd_gethostbyname_r): Likewise.
26353 (__nscd_gethostbyname2_r): Likewise.
26354 (__nscd_gethostbyaddr_r): Likewise.
26355 (__nscd_getai): Likewise.
26356 (__nscd_getgrouplist): Likewise.
26357 (__nscd_getservbyname_r): Likewise.
26358 (__nscd_getservbyport_r): Likewise.
26359 (__nscd_innetgr): Likewise.
26360 (__nscd_setnetgrent): Likewise.
26362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26365 * include/gmp.h: Declare internal functions only if _ISOMAC is
26367 (__mpn_extract_double): Add attribute_hidden.
26368 (__mpn_extract_long_double): Likewise.
26369 (__mpn_extract_float128): Likewise.
26370 (__mpn_construct_float): Likewise.
26371 (__mpn_construct_double): Likewise.
26372 (__mpn_construct_long_double): Likewise.
26373 (__mpn_construct_float128): Likewise.
26374 (mpn_add_1): Likewise.
26375 (mpn_addmul_1): Likewise.
26376 (mpn_add_n): Likewise.
26377 (mpn_cmp): Likewise.
26378 (mpn_divrem): Likewise.
26379 (mpn_lshift): Likewise.
26380 (mpn_mul): Likewise.
26381 (mpn_mul_1): Likewise.
26382 (mpn_rshift): Likewise.
26383 (mpn_sub_1): Likewise.
26384 (mpn_submul_1): Likewise.
26385 (mpn_sub_n): Likewise.
26387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26390 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26391 (__wcscat): Likewise.
26392 (__btowc): Likewise.
26393 (__wcrtomb): Likewise.
26394 (__mbsrtowcs): Likewise.
26395 (__wcsrtombs): Likewise.
26396 (__mbsnrtowcs): Likewise.
26397 (__wcsnrtombs): Likewise.
26398 (__wcsncpy): Likewise.
26399 (__wcpncpy): Likewise.
26400 (__wmemcpy): Likewise.
26401 (__wmempcpy): Likewise.
26402 (__wmemmove): Likewise.
26403 (__wcschrnul): Likewise.
26404 (__vfwscanf): Likewise.
26405 (__vswprintf): Likewise.
26406 (__fwprintf): Likewise.
26407 (__vfwprintf): Likewise.
26409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26412 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26413 (__getgrgid_r): Likewise.
26414 (__getgrnam_r): Likewise.
26415 * include/pwd.h (__getpwuid_r): Likewise.
26416 (__getpwnam_r): Likewise.
26417 (__fgetpwent_r): Likewise.
26418 * include/shadow.h (__getspnam_r): Likewise.
26419 (__sgetspent_r): Likewise.
26420 (__fgetspent_r): Likewise.
26422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26425 * include/unistd.h (__access): Add attribute_hidden.
26426 (__lseek64): Likewise.
26427 (__libc_pread64): Likewise.
26428 (__pipe2): Likewise.
26429 (__sleep): Likewise.
26430 (__chdir): Likewise.
26431 (__fchdir): Likewise.
26432 (__getcwd): Likewise.
26433 (__rmdir): Likewise.
26434 (__execvpe): Likewise.
26435 (__execve): Likewise.
26436 (__setsid): Likewise.
26437 (__getuid): Likewise.
26438 (__geteuid): Likewise.
26439 (__getgid): Likewise.
26440 (__getegid): Likewise.
26441 (__getgroups): Likewise.
26442 (__group_member): Likewise.
26443 (__ttyname_r): Likewise.
26444 (__isatty): Likewise.
26445 (__readlink): Likewise.
26446 (__unlink): Likewise.
26447 (__gethostname): Likewise.
26448 (__profil): Likewise.
26449 (__getdtablesize): Likewise.
26451 (__ftruncate): Likewise.
26452 (__ftruncate64): Likewise.
26454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26457 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26458 * argp/argp-fs-xinl.c: Likewise.
26459 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26460 * argp/argp-parse.c: Include <argp.h>.
26461 * argp/argp-xinl.c: Likewise.
26462 * include/argp-fmtstream.h: New file.
26463 * include/argp.h (__argp_error): Add attribute_hidden.
26464 (__argp_failure): Likewise.
26465 (__argp_input): Likewise.
26466 (__argp_state_help): Likewise.
26468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26471 * include/wchar.h (____wcstof_l_internal): New prototype.
26472 (____wcstod_l_internal): Likewise.
26473 (____wcstold_l_internal): Likewise.
26474 (____wcstol_l_internal): Likewise.
26475 (____wcstoul_l_internal): Likewise.
26476 (____wcstoll_l_internal): Likewise.
26477 (____wcstoull_l_internal): Likewise.
26478 (____wcstof128_l_internal): Likewise.
26479 * sysdeps/ieee754/float128/wcstof128.c
26480 (____wcstof128_l_internal): Removed.
26481 * sysdeps/ieee754/float128/wcstof128_l.c
26482 (____wcstof128_l_internal): Likewise.
26483 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26484 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26485 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26486 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26487 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26488 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26489 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26490 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26491 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26492 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26497 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26498 instead of <sys/statvfs.h>.
26499 (__internal_statvfs): Removed.
26500 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26501 instead of <sys/statvfs.h>.
26502 (__internal_statvfs64): Removed.
26503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26504 "internal_statvfs.h" instead of <sys/statvfs.h>.
26505 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26506 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26507 instead of <sys/statvfs.h>.
26508 (__internal_statvfs): Removed.
26509 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26510 instead of <sys/statvfs.h>.
26511 (__internal_statvfs64): Removed.
26513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26516 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26517 (__gconv_close): Likewise.
26518 (__gconv): Likewise.
26519 (__gconv_find_transform): Likewise.
26520 (__gconv_lookup_cache): Likewise.
26521 (__gconv_compare_alias_cache): Likewise.
26522 (__gconv_load_cache): Likewise.
26523 (__gconv_get_path): Likewise.
26524 (__gconv_close_transform): Likewise.
26525 (__gconv_release_cache): Likewise.
26526 (__gconv_find_shlib): Likewise.
26527 (__gconv_release_shlib): Likewise.
26528 (__gconv_get_builtin_trans): Likewise.
26529 (__gconv_compare_alias): Likewise.
26530 * include/dlfcn.h (_dlerror_run): Likewise.
26531 * include/stdio.h (__fortify_fail_abort): Likewise.
26532 * include/time.h (__tz_compute): Likewise.
26533 (__strptime_internal): Likewise.
26534 * intl/gettextP.h (_nl_find_domain): Likewise.
26535 (_nl_load_domain): Likewise.
26536 (_nl_find_msg): Likewise.
26537 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26538 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26539 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26540 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26541 (__gai_find_request): Likewise.
26542 (__gai_remove_request): Likewise.
26543 (__gai_notify): Likewise.
26544 (__gai_notify_only): Likewise.
26545 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26546 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26547 (_dl_non_dynamic_init): Likewise.
26548 (_dl_aux_init): Likewise.
26549 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26550 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26552 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26553 (__wcsmbs_clone_conv): Likewise.
26554 (__wcsmbs_named_conv): Likewise.
26556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26559 * include/stdlib.h (__random): Add attribute_hidden.
26560 (__random_r): Likewise.
26561 (__srandom_r): Likewise.
26562 (__initstate_r): Likewise.
26563 (__setstate_r): Likewise.
26564 (__erand48_r): Likewise.
26565 (__nrand48_r): Likewise.
26566 (__jrand48_r): Likewise.
26567 (__srand48_r): Likewise.
26568 (__seed48_r): Likewise.
26569 (__lcong48_r): Likewise.
26570 (__drand48_iterate): Likewise.
26571 (__setenv): Likewise.
26572 (__unsetenv): Likewise.
26573 (__clearenv): Likewise.
26574 (__ptsname_r): Likewise.
26575 (__posix_openpt): Likewise.
26576 (__add_to_environ): Likewise.
26577 (__realpath): Add libc_hidden_proto.
26578 (__ecvt_r): Likewise.
26579 (__fcvt_r): Likewise.
26580 (__qecvt_r): Likewise.
26581 (__qfcvt_r): Likewise.
26582 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26583 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26588 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26589 * include/time.h (__mktime_internal): Likewise.
26590 * libio/iolibio.h (__fopen_internal): Likewise.
26592 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26594 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26596 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26597 Correct offset used to restore PIC register.
26599 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26602 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26603 code to load address of __getcontext_ret when generating PIC code.
26605 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26607 * elf/Makefile (tests-static-internal): Add
26608 tst-tls1-static-non-pie.
26609 (LDFLAGS-tst-tls1-static-non-pie): New.
26610 * elf/tst-tls1-static-non-pie.c: New file.
26612 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26614 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26615 (asinh): Define using libm_alias_double.
26616 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26617 (cbrt): Define using libm_alias_double.
26618 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26619 <libm-alias-double.h>.
26620 (copysign): Define using libm_alias_double.
26621 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26622 (erf): Define using libm_alias_double.
26624 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26625 (expm1): Define using libm_alias_double.
26626 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26627 (fabs): Define using libm_alias_double.
26628 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26630 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26631 <libm-alias-double.h>.
26632 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26634 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26635 <libm-alias-double.h>.
26636 (getpayload): Define using libm_alias_double.
26637 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26638 <libm-alias-double.h>.
26639 (llrint): Define using libm_alias_double.
26640 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26641 (lrint): Define using libm_alias_double.
26642 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26643 <libm-alias-double.h>.
26644 (nextup): Define using libm_alias_double.
26645 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26646 <libm-alias-double.h>.
26647 (roundeven): Define using libm_alias_double.
26648 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26650 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26651 <libm-alias-double.h>.
26652 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26653 using libm_alias_double.
26654 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26655 (cos): Define using libm_alias_double.
26657 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26658 <libm-alias-double.h>.
26659 (sincos): Define using libm_alias_double.
26660 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26661 (tanh): Define using libm_alias_double.
26662 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26663 <libm-alias-double.h>.
26664 (totalorder): Define using libm_alias_double.
26665 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26666 <libm-alias-double.h>.
26667 (totalordermag): Define using libm_alias_double.
26668 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26670 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26672 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26673 <libm-alias-double.h>.
26674 (getpayload): Define using libm_alias_double.
26675 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26676 <libm-alias-double.h>.
26677 (roundeven): Define using libm_alias_double.
26678 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26679 <libm-alias-double.h>.
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26681 <libm-alias-double.h>.
26682 (totalorder): Define using libm_alias_double.
26683 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26684 <libm-alias-double.h>.
26685 (totalordermag): Define using libm_alias_double.
26686 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26687 libc compat symbol here.
26688 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26689 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26690 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26691 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26692 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26693 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26694 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26695 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26697 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26699 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26701 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26702 _dl_relocate_static_pie instead of _dl_start to compute load
26703 address in static PIE. Return 0 if _DYNAMIC is undefined for
26706 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26708 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26709 _DYNAMIC is undefined for static executable.
26711 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26713 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26715 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26719 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26721 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26722 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26723 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26724 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26726 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26727 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26728 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26730 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26731 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26732 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26734 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26737 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26739 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26741 * math/bits/cmathcalls.h (cimag): Remove inline.
26742 (creal): Remove inline.
26743 (conj): Remove inline.
26745 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26747 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26748 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26749 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26750 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26751 (issignalingf_inline): Likewise.
26752 (POWF_LOG2_TABLE_BITS): Likewise.
26753 (POWF_LOG2_POLY_ORDER): Likewise.
26754 (POWF_SCALE_BITS): Likewise.
26755 (POWF_SCALE): Likewise.
26756 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26757 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26758 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26760 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26762 * math/Makefile (type-float-routines): Add e_log2f_data.
26763 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26764 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26765 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26766 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26767 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26768 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26769 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26771 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26773 * math/Makefile (type-float-routines): Add e_logf_data.
26774 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26775 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26776 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26777 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26778 * sysdeps/i386/fpu/e_logf_data.c: New file.
26779 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26780 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26782 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26784 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26785 undefined _DYNAMIC in PIE libc.a.
26786 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26789 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26791 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26792 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26793 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26794 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26795 (__signbit): Remove.
26796 (__signbitl): Remove.
26797 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26798 (__signbit): Remove.
26799 (__signbitl): Remove.
26800 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26801 (__signbit): Remove.
26802 (__signbitl): Remove.
26803 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26804 (__signbit): Remove.
26805 (__signbitl): Remove.
26806 * sysdeps/tile/bits/mathinline.h: Delete file.
26807 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26808 (__signbit): Remove.
26809 (__signbitl): Remove.
26811 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26813 * math/math.h: Improve handling of C99 isgreater macros.
26814 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26815 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26816 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26818 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26820 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26822 * sysdeps/aarch64/libm-test-ulps: Update.
26824 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26827 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26828 math_opt_barrier on argument when doing arithmetic on it.
26829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26830 Likewise. Use math_force_eval not math_opt_barrier after
26832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26833 math_opt_barrier on argument when doing arithmetic on it.
26834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26837 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26839 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26841 (__freeifaddrs): Likewise.
26843 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26845 * include/dirent.h (__dirfd): New declaration.
26846 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26848 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26849 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26850 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26851 * include/unistd.h (__revoke): New declaration.
26852 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26854 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26855 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26857 * include/dirent.h (__seekdir): New declaration.
26858 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26859 redefine as weak alias.
26860 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26862 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26863 and use libc_hidden_def on them.
26864 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26866 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26867 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26868 instead of getifaddrs and freeifaddrs.
26870 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26873 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26874 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26875 (__dso_handle): Remove declaration.
26876 * dlfcn/tstatexit.c (__dso_handle): Removed.
26877 (main): Don't check __dso_handle.
26878 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26879 (main): Don't check __dso_handle.
26880 * include/dso_handle.h: New file.
26881 * malloc/mtrace.c: Include <dso_handle.h>.
26882 (mtrace): Pass __dso_handle directly.
26883 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26884 (__dso_handle): Remove declaration.
26885 (__pthread_atfork): Pass __dso_handle directly.
26886 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26887 (__dso_handle): Removed.
26888 * posix/wordexp-test.c: Include <dso_handle.h>.
26889 (__dso_handle): Remove declaration.
26890 (__app_register_atfork): Pass __dso_handle directly.
26891 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26892 (__dso_handle): Remove declaration.
26893 (at_quick_exit): Pass __dso_handle directly.
26894 * stdlib/atexit.c: Include <dso_handle.h>.
26895 (__dso_handle): Remove declaration.
26896 (atexit): Pass __dso_handle directly.
26897 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26898 (__dso_handle): Removed.
26900 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26902 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26905 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26907 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26908 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26909 values to correct default value for given type.
26911 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26914 * elf/Makefile (tests): Add tst-debug1.
26915 ($(objpfx)tst-debug1): New.
26916 ($(objpfx)tst-debug1.out): Likewise.
26917 ($(objpfx)tst-debug1mod1.so): Likewise.
26918 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26919 with p_filesz == 0.
26920 * elf/tst-debug1.c: New file.
26922 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26924 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26925 Define using __ifunc.
26927 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26929 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26932 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26935 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26937 2017-09-26 Florian Weimer <fweimer@redhat.com>
26939 * resolv/Makefile (tests-internal): Fix typo in comment.
26941 2017-09-26 Florian Weimer <fweimer@redhat.com>
26943 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26945 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26947 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26948 Use an union instead of a max_align_t array for __space,
26949 so that __space is the same size on all platforms.
26950 * malloc/scratch_buffer_grow_preserve.c
26951 (__libc_scratch_buffer_grow_preserve): Likewise.
26954 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26956 * posix/Makefile (routines): Add glob-lstat-compat and
26957 glob64-lstat-compat.
26958 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26959 * posix/glob-lstat-compat.c: New file.
26960 * posix/glob64-lstat-compat.c: Likewise.
26961 * posix/tst-glob_lstat_compat.c: Likewise.
26962 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26963 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26964 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26965 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26967 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26968 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26969 * posix/glob.c (glob_lstat): New function.
26970 (glob): Rename to __glob and add versioned symbol to 2.27.
26971 (glob_in_dir): Use glob_lstat.
26972 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26973 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26974 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26976 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26977 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26978 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26979 gl_lstat on glob call.
26980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26981 and glob64 symbols.
26982 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26983 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26984 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26985 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26986 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26987 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26988 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26989 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26990 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26992 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26993 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26996 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26998 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27000 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27002 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27005 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27006 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27007 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27009 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27011 * configure.ac (AS): Require binutils 2.25 or later.
27012 * configure: Regenerated.
27014 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27017 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27020 2017-09-25 DJ Delorie <dj@redhat.com>
27023 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27026 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27028 * sysdeps/ieee754/dbl-64/sincos32.h
27029 [SINCCOS32_H]: Remove define.
27030 [SINCOS32_H]: Define.
27032 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27034 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27036 * math/w_exp2f.c: New file.
27037 * math/w_expf.c: New file.
27038 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27039 * math/w_expf_compat.c (__expf_compat): Likewise.
27040 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27041 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27042 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27043 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27044 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27045 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27046 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27047 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27048 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27049 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27050 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27051 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27052 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27053 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27062 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27063 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27064 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27065 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27066 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27071 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27072 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27073 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27075 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27077 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27078 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27079 (roundtoint, converttoint): Likewise.
27080 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27081 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27082 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27083 * sysdeps/ieee754/flt-32/math_config.h: New file.
27084 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27085 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27086 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27087 * sysdeps/i386/fpu/math_errf.c: New file.
27088 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27089 * sysdeps/ia64/fpu/math_errf.c: New file.
27090 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27091 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27093 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27095 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27096 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27097 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27098 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27099 to make sure that these symbols are defined.
27100 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27102 (__need_NULL): Do not define.
27103 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27105 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27106 CMGROUP_MAX, cmsgcred): Do not define.
27107 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27109 * bits/socket.h: Likewise.
27110 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27111 __gettimeofday instead of gettimeofday.
27112 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27113 instead of settimeofday.
27115 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27117 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27118 (asinhf): Define using libm_alias_float.
27119 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27120 (atanf): Define using libm_alias_float.
27121 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27122 (cbrtf): Define using libm_alias_float.
27123 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27124 (ceilf): Define using libm_alias_float.
27125 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27126 <libm-alias-float.h>.
27127 (copysignf): Define using libm_alias_float.
27128 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27129 (cosf): Define using libm_alias_float.
27130 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27131 (erff): Define using libm_alias_float.
27133 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27134 (expm1f): Define using libm_alias_float.
27135 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27136 (fabsf): Define using libm_alias_float.
27137 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27138 (floorf): Define using libm_alias_float.
27139 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27140 (frexpf): Define using libm_alias_float.
27141 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27143 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27144 <libm-alias-float.h>.
27145 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27147 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27148 <libm-alias-float.h>.
27149 (getpayloadf): Define using libm_alias_float.
27150 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27151 <libm-alias-float.h>.
27152 (llrintf): Define using libm_alias_float.
27153 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27154 <libm-alias-float.h>.
27155 (llroundf): Define using libm_alias_float.
27156 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27157 (logbf): Define using libm_alias_float.
27158 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27159 (lrintf): Define using libm_alias_float.
27160 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27161 (lroundf): Define using libm_alias_float.
27162 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27163 (modff): Define using libm_alias_float.
27164 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27165 <libm-alias-float.h>.
27166 (nearbyintf): Define using libm_alias_float.
27167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27168 <libm-alias-float.h>.
27169 (nextafterf): Define using libm_alias_float.
27170 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27171 <libm-alias-float.h>.
27172 (nextupf): Define using libm_alias_float.
27173 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27174 <libm-alias-float.h>.
27175 (remquof): Define using libm_alias_float.
27176 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27177 (rintf): Define using libm_alias_float.
27178 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27179 <libm-alias-float.h>.
27180 (roundevenf): Define using libm_alias_float.
27181 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27182 (roundf): Define using libm_alias_float.
27183 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27184 using libm_alias_float.
27185 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27186 <libm-alias-float.h>.
27187 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27188 Define using libm_alias_float.
27189 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27190 <libm-alias-float.h>.
27191 (sincosf): Define using libm_alias_float.
27192 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27193 (sinf): Define using libm_alias_float.
27194 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27195 (tanf): Define using libm_alias_float.
27196 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27197 (tanhf): Define using libm_alias_float.
27198 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27199 <libm-alias-float.h>.
27200 (totalorderf): Define using libm_alias_float.
27201 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27202 <libm-alias-float.h>.
27203 (totalordermagf): Define using libm_alias_float.
27204 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27205 (truncf): Define using libm_alias_float.
27206 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27208 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27211 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27214 math/math.h: Let fpclassify use the builtin in C++ mode, even
27215 when optimazing for size.
27217 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27219 * csu/Makefile (generated): Do not add version-info.h.
27220 (before-compile): Likewise.
27221 (all-Banner-files): Remove variable.
27222 ($(objpfx)version-info.h): Remove rule.
27223 * csu/version.c (banner): Do not include "version-info.h".
27224 * libidn/Banner: Remove.
27225 * manual/contrib.texi (Simon Josefsson): New entry.
27227 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27229 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27230 Remove conditionals on LDBL_MANT_DIG.
27231 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27232 (__ieee754_lgammal_r): Likewise.
27234 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27238 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27239 _Float128 and L(). Replace _Float128 with long double and L(x)
27240 with xL, throughout the file.
27241 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27246 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27249 sysdeps/ieee754/ldbl-128ibm.
27250 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27251 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27252 of including it. Keep _Float128 and L() intact. These will be
27253 reviewed by a separate patch.
27254 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27259 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27262 (__finitef128): Define to __redirect___finitef128.
27263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27264 (__isinff128): Define to __redirect___isinff128.
27265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27266 (__isnanf128): Define to __redirect___isnanf128.
27268 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27270 * sysdeps/powerpc/powerpc64le/Makefile
27271 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27272 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27274 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27275 Carlos O'Donell <carlos@redhat.com>
27278 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27279 * stdlib/test-dlclose-exit-race.c: New file.
27280 * stdlib/test-dlclose-exit-race-helper.c: New file.
27281 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27283 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27285 * crypt/Banner: Remove file.
27286 * nptl/Banner: Likewise.
27287 * resolv/Banner: Likewise.
27288 * soft-fp/Banner: Likewise.
27289 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27290 ($(objpfx)version.d): Remove dependency on banner.h.
27291 ($(objpfx)version.os): Likewise.
27292 * nptl/version.c (banner): Do not include banner.h.
27293 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27294 Jelinek and BIND code.
27296 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27297 Carlos O'Donell <carlos@redhat.com>
27299 * support/xdlfcn.h: New file.
27300 * support/xdlfcn.c: New file.
27301 * support/Makefile (libsupport-routines): Add xdlfcn.
27302 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27304 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27308 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27309 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27310 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27311 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27312 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27313 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27314 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27316 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27317 Ricky Zhou <rickyz@google.com>
27318 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27321 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27323 (__new_exitfn): Fail registration when we finished at_exit processing.
27324 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27325 * stdlib/on_exit.c (__on_exit): Likewise.
27326 * stdlib/exit.c (__exit_funcs_done): New variable.
27327 (__run_exit_handlers): Use __exit_funcs_lock.
27328 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27330 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27331 (test-cxa_atexit-race, test-on_exit-race): New tests.
27332 * stdlib/test-atexit-race-common.c: New file.
27333 * stdlib/test-atexit-race.c: New file.
27334 * stdlib/test-at_quick_exit-race.c: New file.
27335 * stdlib/test-cxa_atexit-race.c: New file.
27336 * stdlib/test-on_exit-race.c: New file.
27338 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27340 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27341 * benchtests/exp2f-inputs: Copy of expf-inputs.
27342 * benchtests/log2f-inputs: Copy of logf-inputs.
27344 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27346 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27347 Explicitly take address of first element of array arguments in
27348 call to INLINE_SYSCALL.
27350 2017-09-19 Andreas Schwab <schwab@suse.de>
27353 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27355 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27358 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27359 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27360 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27361 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27362 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27364 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27365 * posix/Makefile (tests): Add tst-fexecve.
27366 * posix/tst-fexecve.c: New file.
27368 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27370 * benchtests/Makefile: Add logf benchmark.
27371 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27373 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27375 * benchtests/Makefile: Add expf benchmark.
27376 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27378 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27380 * csu/Makefile: Add -funwind-tables to libc-start.c.
27381 * debug/Makefile: Add -funwind-tables to backtrace.c.
27382 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27383 * sysdeps/arm/Makefile: Likewise.
27384 * sysdeps/i386/Makefile: Likewise.
27385 * sysdeps/m68k/Makefile: Likewise.
27386 * sysdeps/mips/Makefile: Likewise.
27387 * sysdeps/nios2/Makefile: Likewise.
27388 * sysdeps/sh/Makefile: Likewise.
27389 * sysdeps/sparc/Makefile: Likewise.
27391 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27393 * benchtests/Makefile (bench-math): Add trunc and truncf.
27394 (CFLAGS-bench-trunc.c): New variable.
27395 (CFLAGS-bench-truncf.c): Likewise.
27396 * benchtests/trunc-inputs: New file.
27397 * benchtests/truncf-inputs: Likewise.
27399 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27401 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27403 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27405 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27406 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27408 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27409 (exp10l): Define as weak alias.
27410 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27411 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27413 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27414 (remainderl): Define as weak alias.
27416 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27417 (fmal): Define using libm_alias_ldouble.
27418 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27419 (acoshl): Define using libm_alias_ldouble.
27420 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27421 (acosl): Define using libm_alias_ldouble.
27422 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27423 (asinl): Define using libm_alias_ldouble.
27424 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27425 (atan2l): Define using libm_alias_ldouble.
27426 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27427 (atanhl): Define using libm_alias_ldouble.
27428 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27429 (coshl): Define using libm_alias_ldouble.
27430 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27431 (exp10l): Define using libm_alias_ldouble.
27432 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27433 (exp2l): Define using libm_alias_ldouble.
27434 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27435 (expl): Define using libm_alias_ldouble.
27436 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27437 (fmodl): Define using libm_alias_ldouble.
27438 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27439 (hypotl): Define using libm_alias_ldouble.
27440 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27441 (j0l): Define using libm_alias_ldouble.
27443 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27444 (j1l): Define using libm_alias_ldouble.
27446 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27447 (jnl): Define using libm_alias_ldouble.
27449 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27450 (log10l): Define using libm_alias_ldouble.
27451 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27452 (log2l): Define using libm_alias_ldouble.
27453 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27454 (logl): Define using libm_alias_ldouble.
27455 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27456 (powl): Define using libm_alias_ldouble.
27457 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27458 (remainderl): Define using libm_alias_ldouble.
27459 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27460 (sinhl): Define using libm_alias_ldouble.
27461 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27462 (sqrtl): Define using libm_alias_ldouble.
27463 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27464 (tgammal): Define using libm_alias_ldouble.
27465 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27466 (exp10l): Do not use long_double_symbol here.
27467 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27468 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27469 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27470 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27471 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27472 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27473 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27474 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27475 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27476 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27477 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27478 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27479 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27480 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27481 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27482 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27483 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27484 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27485 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27486 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27487 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27488 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27490 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27492 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27493 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27495 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27497 * io/read.c (read): Add libc_hidden_weak.
27498 * sysdeps/mach/hurd/read.c (read): Likewise.
27499 * io/write.c (write): Likewise.
27500 * sysdeps/mach/hurd/write.c (write): Likewise.
27501 * io/pread64.c (__pread64): Likewise.
27502 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27503 * posix/pread64.c (__pread64): Add libc_hidden_def.
27505 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27507 * benchtests/scripts/compare_strings.py: New option -g.
27508 (draw_graph): Print a message that a graph is being generated.
27509 (process_results): Generate graph only if -g is passed.
27510 (main): Process option -g.
27512 * benchtests/scripts/compare_strings.py (process_results):
27513 Better spacing for output.
27515 * benchtests/scripts/compare_strings.py: Use argparse.
27516 * benchtests/README: Document existence of compare_strings.py.
27518 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27520 * math/s_fma.c: Include <libm-alias-double.h>.
27521 (fma): Define using libm_alias_double.
27522 * math/s_nextafter.c: Include <libm-alias-double.h>.
27523 (nextafter): Define using libm_alias_double.
27524 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27525 (acos): Define using libm_alias_double.
27526 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27527 (aocsh): Define using libm_alias_double.
27528 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27529 (asin): Define using libm_alias_double.
27530 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27531 (atan2): Define using libm_alias_double.
27532 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27533 (atanh): Define using libm_alias_double.
27534 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27535 (cosh): Define using libm_alias_double.
27536 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27537 (exp10): Define using libm_alias_double.
27538 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27539 (exp2): Define using libm_alias_double.
27540 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27541 (exp): Define using libm_alias_double.
27542 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27543 (fmod): Define using libm_alias_double.
27544 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27545 (hypot): Define using libm_alias_double.
27546 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27547 (j0): Define using libm_alias_double.
27549 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27550 (j1): Define using libm_alias_double.
27552 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27553 (jn): Define using libm_alias_double.
27555 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27556 (log10): Define using libm_alias_double.
27557 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27558 (log2): Define using libm_alias_double.
27559 * math/w_log_compat.c: Include <libm-alias-double.h>.
27560 (log): Define using libm_alias_double.
27561 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27562 (pow): Define using libm_alias_double.
27563 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27564 (remainder): Define using libm_alias_double.
27565 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27566 (sinh): Define using libm_alias_double.
27567 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27568 (sqrt): Define using libm_alias_double.
27569 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27570 (tgamma): Define using libm_alias_double.
27571 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27572 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27573 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27574 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27575 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27576 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27577 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27578 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27579 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27580 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27581 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27582 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27583 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27584 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27585 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27586 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27587 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27588 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27589 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27590 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27591 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27592 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27593 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27594 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27595 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27597 * math/e_acoshl.c: Remove.
27598 * math/e_acosl.c: Likewise.
27599 * math/e_asinl.c: Likewise.
27600 * math/e_atan2l.c: Likewise.
27601 * math/e_atanhl.c: Likewise.
27602 * math/e_coshl.c: Likewise.
27603 * math/e_expl.c: Likewise.
27604 * math/e_fmodl.c: Likewise.
27605 * math/e_gammal_r.c: Likewise.
27606 * math/e_hypotl.c: Likewise.
27607 * math/e_j0l.c: Likewise.
27608 * math/e_j1l.c: Likewise.
27609 * math/e_jnl.c: Likewise.
27610 * math/e_lgammal_r.c: Likewise.
27611 * math/e_log10l.c: Likewise.
27612 * math/e_log2l.c: Likewise.
27613 * math/e_logl.c: Likewise.
27614 * math/e_powl.c: Likewise.
27615 * math/e_rem_pio2l.c: Likewise.
27616 * math/e_sinhl.c: Likewise.
27617 * math/e_sqrtf128.c: Likewise.
27618 * math/e_sqrtl.c: Likewise.
27619 * math/k_cosl.c: Likewise.
27620 * math/k_sinl.c: Likewise.
27621 * math/k_tanl.c: Likewise.
27622 * math/s_asinhl.c: Likewise.
27623 * math/s_atanl.c: Likewise.
27624 * math/s_cbrtl.c: Likewise.
27625 * math/s_erfl.c: Likewise.
27626 * math/s_expm1l.c: Likewise.
27627 * math/s_log1pl.c: Likewise.
27628 * math/s_tanhl.c: Likewise.
27630 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27634 [$(subdir) = math] (sysdep_calls): New variable. Has the
27635 previous contents of sysdep_routines, but re-sorted..
27636 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27638 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27639 defined in sysdep_calls and replace by the respective m_* names.
27640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27641 (compat_symbol): Undefine to avoid duplicated compat symbols in
27644 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27646 * math/s_fmaf.c: Include <libm-alias-float.h>.
27647 (fmaf): Define using libm_alias_float.
27648 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27649 (acosf): Define using libm_alias_float.
27650 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27651 (acoshf): Define using libm_alias_float.
27652 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27653 (asinf): Define using libm_alias_float.
27654 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27655 (atan2f): Define using libm_alias_float.
27656 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27657 (atanhf): Define using libm_alias_float.
27658 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27659 (coshf): Define using libm_alias_float.
27660 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27661 (exp10f): Define using libm_alias_float.
27662 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27663 (fmodf): Define using libm_alias_float.
27664 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27665 (hypotf): Define using libm_alias_float.
27666 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27667 (j0f): Define using libm_alias_float.
27669 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27670 (j1f): Define using libm_alias_float.
27672 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27673 (jnf): Define using libm_alias_float.
27675 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27676 (log10f): Define using libm_alias_float.
27677 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27678 (log2f): Define using libm_alias_float.
27679 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27680 (logf): Define using libm_alias_float.
27681 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27682 (powf): Define using libm_alias_float.
27683 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27684 (remainderf): Define using libm_alias_float.
27685 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27686 (sinhf): Define using libm_alias_float.
27687 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27688 (sqrtf): Define using libm_alias_float.
27689 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27690 (tgammaf): Define using libm_alias_float.
27692 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27694 * include/math.h (roundeven): Change hidden_proto call to
27696 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27698 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27699 (y0): Rename to __y0 and define as weak alias.
27700 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27701 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27703 (y0f): Rename to __y0f and define as weak alias.
27704 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27706 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27707 (y1): Rename to __y1 and define as weak alias.
27708 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27709 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27711 (y1f): Rename to __y1f and define as weak alias.
27712 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27714 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27715 (yn): Rename to __yn and define as weak alias.
27716 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27717 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27719 (ynf): Rename to __ynf and define as weak alias.
27720 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27721 (fromfp): Define as weak alias.
27722 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27723 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27724 (fromfpx): Define as weak alias.
27725 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27726 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27727 __getpayload and define as weak alias.
27728 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27729 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27730 __roundeven and define as weak alias.
27731 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27732 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27734 (setpayload): Define as weak alias.
27735 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27736 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27738 (setpayloadsig): Define as weak alias.
27739 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27740 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27741 __totalorder and define as weak alias.
27742 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27743 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27744 to __totalordermag and define as weak alias.
27745 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27746 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27747 (ufromfp): Define as weak alias.
27748 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27749 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27751 (ufromfpx): Define as weak alias.
27752 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27753 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27754 Rename to __getpayload and define as weak alias.
27755 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27756 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27757 Rename to __roundeven and define as weak alias.
27758 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27759 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27760 Rename to __totalorder and define as weak alias.
27761 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27762 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27763 (totalordermag): Rename to __totalordermag and define as weak
27765 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27766 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27768 (__roundevenl): Likewise.
27769 (__totalorderl): Likewise.
27770 (__totalordermagl): Likewise
27771 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27773 (fromfpf128): Define as weak alias.
27774 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27776 (fromfpxf128): Define as weak alias.
27777 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27779 (setpayloadf128): Define as weak alias.
27780 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27781 __setpayloadsigf128.
27782 (setpayloadsigf128): Define as weak alias.
27783 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27785 (ufromfpf128): Define as weak alias.
27786 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27788 (ufromfpxf128): Define as weak alias.
27789 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27790 (fromfpf): Define as weak alias.
27791 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27793 (fromfpxf): Define as weak alias.
27794 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27795 __getpayloadf and define as weak alias.
27796 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27797 __roundevenf and define as weak alias.
27798 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27800 (setpayloadf): Define as weak alias.
27801 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27803 (setpayloadsigf): Define as weak alias.
27804 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27805 __totalorderf and define as weak alias.
27806 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27807 Rename to __totalordermagf and define as weak alias.
27808 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27810 (ufromfpf): Define as weak alias.
27811 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27813 (ufromfpxf): Define as weak alias.
27814 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27816 (fromfpl): Define as weak alias.
27817 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27819 (fromfpxl): Define as weak alias.
27820 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27821 to __getpayloadl and define as weak alias.
27822 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27823 __roundevenl and define as weak alias.
27824 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27826 (setpayloadl): Define as weak alias.
27827 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27829 (setpayloadsigl): Define as weak alias.
27830 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27831 to __totalorderl and define as weak alias.
27832 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27833 Rename to __totalordermagl and define as weak alias.
27834 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27836 (ufromfpl): Define as weak alias.
27837 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27839 (ufromfpxl): Define as weak alias.
27840 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27842 (fromfpl): Define as weak alias.
27843 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27845 (fromfpxl): Define as weak alias.
27846 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27847 Rename to __getpayloadl and define as weak alias.
27848 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27849 to __roundevenl and define as weak alias. Call __roundeven
27850 instead of roundeven.
27851 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27853 (setpayloadl): Define as weak alias.
27854 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27856 (setpayloadsigl): Define as weak alias.
27857 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27858 Rename to __totalorderl and define as weak alias.
27859 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27860 Rename to __totalordermagl and define as weak alias.
27861 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27863 (ufromfpl): Define as weak alias.
27864 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27866 (ufromfpxl): Define as weak alias.
27867 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27869 (fromfpl): Define as weak alias.
27870 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27872 (fromfpxl): Define as weak alias.
27873 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27874 __getpayloadl and define as weak alias.
27875 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27876 __roundevenl and define as weak alias.
27877 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27879 (setpayloadl): Define as weak alias.
27880 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27882 (setpayloadsigl): Define as weak alias.
27883 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27884 __totalorderl and define as weak alias.
27885 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27886 Rename to __totalordermagl and define as weak alias.
27887 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27889 (ufromfpl): Define as weak alias.
27890 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27892 (ufromfpxl): Define as weak alias.
27894 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27896 * benchtests/bench-string.h (realloc_bufs): New function.
27897 (test_init): Call it.
27898 * benchtests/bench-memset-large.c (do_test): Likewise.
27899 * benchtests/bench-memset.c (do_test): Likewise.
27901 * benchtests/bench-memset-large.c: Print output in JSON
27903 * benchtests/bench-memset.c: Likewise.
27905 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27908 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27909 * iconvdata/Makefile: Add IBM858.
27910 * iconvdata/gconv-modules: Likewise.
27911 * iconvdata/tst-tables.sh: Likewise.
27912 * iconvdata/ibm858.c: New file.
27913 * localedata/charmaps/IBM858: Likewise.
27915 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27918 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27919 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27921 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27924 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27925 and add tel_int_fmt.
27927 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27929 * sysdeps/generic/libm-alias-float128.h: New file.
27930 * sysdeps/generic/math-type-macros-float128.h: Include
27931 <libm-alias-float128.h>.
27932 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27934 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27936 * sysdeps/generic/libm-alias-ldouble.h: New file.
27937 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27938 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27939 * sysdeps/generic/math-type-macros-ldouble.h: Include
27940 <libm-alias-ldouble.h>.
27941 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27942 libm_alias_ldouble.
27944 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27946 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27947 * math/w_exp_compat.c: ... here.
27948 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27949 * math/w_expf_compat.c: ... here.
27950 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27951 * math/w_expl_compat.c: ... here.
27952 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27953 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27954 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27955 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27957 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27959 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27961 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27963 (ldexpl): Only define as compat symbol for libc, not libm.
27964 (scalbnl): Define as compat symbol for libc here.
27965 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27966 define for [IS_IN (libc)].
27967 (__ldexpl_2): Remove alias.
27968 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27969 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27970 name in long_double_symbol call.
27971 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27972 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27973 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27974 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27977 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27978 Define as compat symbol.
27980 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27982 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27983 * sysdeps/unix/sysv/linux/alpha/Makefile
27984 [$(subdir) = csu] (sysdep_routines): Remove rule.
27986 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27988 * sysdeps/generic/libm-alias-double.h: New file.
27989 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27990 * sysdeps/generic/math-type-macros-double.h: Include
27991 <libm-alias-double.h>.
27992 [declare_mgen_alias] (declare_mgen_alias): Define to use
27994 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27995 (M_LIBM_NEED_COMPAT): Remove macro.
27996 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27997 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27998 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28000 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28001 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28002 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28003 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28004 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28005 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28006 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28007 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28008 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28009 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28010 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28011 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28012 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28013 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28014 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28015 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28016 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28017 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28018 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28019 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28020 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28021 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28022 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28023 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28024 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28025 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28026 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28027 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28028 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28030 (declare_mgen_alias): New macro.
28031 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28032 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28034 (M_LIBM_NEED_COMPAT): Remove macro.
28035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28036 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28037 <first-versions.h>.
28038 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28039 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28041 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28043 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28044 (declare_mgen_alias_2): Remove.
28045 * sysdeps/generic/math-type-macros-double.h
28046 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28048 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28050 (ldexp): Define with declare_mgen_alias.
28051 (scalbn): Likewise.
28053 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28055 * grp/initgroups.c: Include config.h.
28056 (DEFAULT_CONFIG): New macro.
28057 (internal_getgrouplist): Use DEFAULT_CONFIG.
28058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28059 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28060 (DEFAULT_DEFCONFIG): New macro.
28061 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28062 * nss/grp-lookup.c: Include config.h
28063 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28064 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28065 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28066 * manual/nss.texi: Update default values section.
28068 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28071 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28073 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28074 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28075 Handle MathVec_Prefer_No_AVX512.
28076 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28077 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28080 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28082 * posix/sched_primax.c (__sched_get_priority_max): Add
28084 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28085 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28086 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28087 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28088 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28089 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28090 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28091 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28094 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28096 * sysdeps/generic/libm-alias-float.h: New file.
28097 * sysdeps/generic/math-type-macros-float.h: Include
28098 <libm-alias-float.h>.
28099 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28101 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28104 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28105 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28106 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28107 (HWCAP_IMPORTANT): Likewise.
28108 (HWCAP_X86_64): New enum.
28109 (HWCAP_X86_AVX512_1): Updated.
28110 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28111 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28112 (modules-names): Add x86_64/tst-x86_64mod-1.
28113 (LDFLAGS-tst-x86_64mod-1.so): New.
28114 ($(objpfx)tst-x86_64-1): Likewise.
28115 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28116 (tst-x86_64-1-clean): Likewise.
28117 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28118 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28120 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28122 * po/sv.po: Update translations.
28123 * po/fr.po: Likewise.
28125 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28127 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28129 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28131 * elf/rtld-Rules: Fix $(error) use.
28133 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28136 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28137 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28138 * localedata/locales/bn_BD: “Bengali” was still used in some
28139 comments. Change it to “Bangla”.
28141 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28143 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28145 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28147 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28148 thunderx2t99p1 to list of cpu names.
28149 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28150 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28152 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28154 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28155 Use strcmp instead of tunable_is_name.
28157 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28160 (F_GET_RW_HINT): New macro.
28161 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28162 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28163 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28164 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28165 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28166 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28167 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28168 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28169 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28172 (F_ADD_SEALS): New macro.
28173 [__USE_GNU] (F_GET_SEALS): Likewise.
28174 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28175 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28176 [__USE_GNU] (F_SEAL_GROW): Likewise.
28177 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28179 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28181 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28182 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28183 * posix/glob_internal.h (__glob_pattern_type):
28184 * posix/glob.c (glob):
28185 * posix/glob_pattern_p.c (__glob_pattern_p):
28188 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28189 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28190 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28191 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28192 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28194 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28196 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28197 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28199 * sysdeps/wordsize-64/glob.c: Likewise.
28200 * sysdeps/wordsize-64/glob64.c: Likewise.
28201 * sysdeps/wordsize-64/globfree.c: Likewise.
28202 * sysdeps/wordsize-64/globfree64.c: Likewise.
28203 * sysdeps/unix/sysv/linux/glob.c: New file.
28204 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28205 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28206 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28207 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28208 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28209 adds !GLOB_NO_OLD_VERSION as an extra condition.
28210 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28211 using relative path instead of absolute one.
28212 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28213 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28214 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28215 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28216 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28217 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28220 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28221 (glob): Use the same scratch buffer for both getlogin_r and
28222 getpwnam_r. Don’t require preallocation of the login name. This
28223 simplifies storage allocation, and corrects the handling of
28227 * posix/glob.c (glob): Port recent patches to platforms
28228 lacking getpwnam_r.
28229 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28230 returns an error number rather than setting errno.
28232 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28233 instead of GCC extension.
28234 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28235 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28236 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28240 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28241 * posix/bug-glob1.c: Remove file.
28242 * posix/tst-glob_symlinks.c: New file.
28243 * posix/glob.c (__lstat64): New macro.
28244 (is_dir): New function.
28245 (glob, glob_in_dir): Match symlinks even if they are dangling.
28246 (link_stat, link_exists_p): Remove. All uses removed.
28250 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28251 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28256 * posix/Makefile (routines): Add globfree, globfree64, and
28258 * posix/flexmember.h: New file.
28259 * posix/glob_internal.h: Likewise.
28260 * posix/glob_pattern_p.c: Likewise.
28261 * posix/globfree.c: Likewise.
28262 * posix/globfree64.c: Likewise.
28263 * sysdeps/gnu/globfree64.c: Likewise.
28264 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28265 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28266 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28267 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28269 * sysdeps/wordsize-64/globfree.c: Likewise.
28270 * sysdeps/wordsize-64/globfree64.c: Likewise.
28271 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28272 [NDEBUG): Remove comments.
28273 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28274 (dirent_type): New type. Use uint_fast8_t not
28275 uint8_t, as C99 does not require uint8_t.
28276 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28277 (struct readdir_result): Use dirent_type. Do not define skip_entry
28278 unless it is needed; this saves a byte on platforms lacking d_ino.
28279 (readdir_result_type, readdir_result_skip_entry):
28280 New functions, replacing ...
28281 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28282 these functions, which were removed. This makes the callers
28283 easier to read. All callers changed.
28284 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28285 (size_add_wrapv, glob_use_alloca): New static functions.
28286 (glob, glob_in_dir): Check for size_t overflow in several places,
28287 and fix some size_t checks that were not quite right.
28288 Remove old code using SHELL since Bash no longer
28290 (glob, prefix_array): Separate MS code better.
28291 (glob_in_dir): Remove old Amiga and VMS code.
28292 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28294 (glob_in_dir): Do not rely on undefined behavior in accessing
28295 struct members beyond their bounds. Use a flexible array member
28297 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28298 0/1. Caller changed.
28299 (glob): Fix memory leaks.
28300 * posix/glob64 (globfree64): Move to separate file.
28301 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28302 (globfree64): Remove hidden alias.
28303 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28305 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28307 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28309 Move compat code to separate file.
28310 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28313 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28315 * resolv/tst-resolv-qtypes.c (domain): Changed to
28316 "const char domain[] =".
28318 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28320 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28323 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28324 (TCP_MD5SIG_EXT): Likewise.
28325 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28326 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28327 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28329 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28331 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28333 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28335 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28338 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28340 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28342 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28343 before assuming that the file is empty. Avoid testing buffer content
28346 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28349 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28351 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28353 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28355 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28357 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28359 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28361 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28364 2017-09-06 Florian Weimer <fweimer@redhat.com>
28366 * malloc/dynarray_emplace_enlarge.c
28367 (__libc_dynarray_emplace_enlarge): Add missing else.
28369 2017-09-06 Florian Weimer <fweimer@redhat.com>
28372 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28373 case of failure to obtain the global conf object.
28375 2017-09-06 Florian Weimer <fweimer@redhat.com>
28378 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28379 dynarray allocation failure.
28381 2017-09-06 Florian Weimer <fweimer@redhat.com>
28383 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28384 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28385 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28387 (response): Call them. Add 'p', '6' flag processing.
28388 (test_reverse): New function.
28389 (test_get2_any): Call it.
28390 (test_no_inet6): Add 'p' test.
28391 (test_inet6): Likewise.
28393 2017-09-06 Florian Weimer <fweimer@redhat.com>
28395 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28396 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28398 (test_gai): Adjust query names. Add additional tests.
28399 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28400 test_get2. Adjust query names. Add additional tests.
28401 (test_no_inet6): New function, extracted from threadfunc.
28402 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28403 Add additional tests.
28405 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28408 * localedata/unicode-gen/utf8_gen.py: Set the width for
28409 characters with Prepended_Concatenation_Mark property to 1
28410 * localedata/charmaps/UTF-8: Updated using the improved script.
28412 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28415 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28416 use the range notation for all ranges of neighbouring characters
28417 with the same width.
28419 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28421 * sysdeps/generic/math-type-macros-double.h: Include
28422 <math-svid-compat.h>.
28423 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28424 * sysdeps/generic/math-type-macros-float.h: Include
28425 <math-svid-compat.h>.
28426 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28427 * sysdeps/generic/math-type-macros-ldouble.h: Include
28428 <math-svid-compat.h>.
28429 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28430 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28432 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28433 * math/w_acosf_compat.c: Likewise.
28434 * math/w_acosh_compat.c: Likewise.
28435 * math/w_acoshf_compat.c: Likewise.
28436 * math/w_acoshl_compat.c: Likewise.
28437 * math/w_acosl_compat.c: Likewise.
28438 * math/w_asin_compat.c: Likewise.
28439 * math/w_asinf_compat.c: Likewise.
28440 * math/w_asinl_compat.c: Likewise.
28441 * math/w_atan2_compat.c: Likewise.
28442 * math/w_atan2f_compat.c: Likewise.
28443 * math/w_atan2l_compat.c: Likewise.
28444 * math/w_atanh_compat.c: Likewise.
28445 * math/w_atanhf_compat.c: Likewise.
28446 * math/w_atanhl_compat.c: Likewise.
28447 * math/w_cosh_compat.c: Likewise.
28448 * math/w_coshf_compat.c: Likewise.
28449 * math/w_coshl_compat.c: Likewise.
28450 * math/w_exp10_compat.c: Likewise.
28451 * math/w_exp10f_compat.c: Likewise.
28452 * math/w_exp10l_compat.c: Likewise.
28453 * math/w_exp2_compat.c: Likewise.
28454 * math/w_exp2f_compat.c: Likewise.
28455 * math/w_exp2l_compat.c: Likewise.
28456 * math/w_fmod_compat.c: Likewise.
28457 * math/w_fmodf_compat.c: Likewise.
28458 * math/w_fmodl_compat.c: Likewise.
28459 * math/w_hypot_compat.c: Likewise.
28460 * math/w_hypotf_compat.c: Likewise.
28461 * math/w_hypotl_compat.c: Likewise.
28462 * math/w_j0_compat.c: Likewise.
28463 * math/w_j0f_compat.c: Likewise.
28464 * math/w_j0l_compat.c: Likewise.
28465 * math/w_j1_compat.c: Likewise.
28466 * math/w_j1f_compat.c: Likewise.
28467 * math/w_j1l_compat.c: Likewise.
28468 * math/w_jn_compat.c: Likewise.
28469 * math/w_jnf_compat.c: Likewise.
28470 * math/w_jnl_compat.c: Likewise.
28471 * math/w_lgamma_r_compat.c: Likewise.
28472 * math/w_lgammaf_r_compat.c: Likewise.
28473 * math/w_lgammal_r_compat.c: Likewise.
28474 * math/w_log10_compat.c: Likewise.
28475 * math/w_log10f_compat.c: Likewise.
28476 * math/w_log10l_compat.c: Likewise.
28477 * math/w_log2_compat.c: Likewise.
28478 * math/w_log2f_compat.c: Likewise.
28479 * math/w_log2l_compat.c: Likewise.
28480 * math/w_log_compat.c: Likewise.
28481 * math/w_logf_compat.c: Likewise.
28482 * math/w_logl_compat.c: Likewise.
28483 * math/w_pow_compat.c: Likewise.
28484 * math/w_powf_compat.c: Likewise.
28485 * math/w_powl_compat.c: Likewise.
28486 * math/w_remainder_compat.c: Likewise.
28487 * math/w_remainderf_compat.c: Likewise.
28488 * math/w_remainderl_compat.c: Likewise.
28489 * math/w_sinh_compat.c: Likewise.
28490 * math/w_sinhf_compat.c: Likewise.
28491 * math/w_sinhl_compat.c: Likewise.
28492 * math/w_sqrt_compat.c: Likewise.
28493 * math/w_sqrtf_compat.c: Likewise.
28494 * math/w_sqrtl_compat.c: Likewise.
28495 * math/w_tgamma_compat.c: Likewise.
28496 * math/w_tgammaf_compat.c: Likewise.
28497 * math/w_tgammal_compat.c: Likewise.
28498 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28499 [LIBM_SVID_COMPAT].
28500 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28501 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28502 [LIBM_SVID_COMPAT].
28503 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28504 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28505 [LIBM_SVID_COMPAT].
28506 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28507 * sysdeps/i386/fpu/w_sqrt.c: New file.
28508 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28509 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28510 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28511 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28512 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28513 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28514 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28515 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28516 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28517 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28518 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28519 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28520 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28521 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28522 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28523 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28524 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28525 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28526 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28527 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28528 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28529 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28530 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28531 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28532 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28533 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28534 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28535 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28536 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28537 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28538 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28539 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28540 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28541 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28542 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28543 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28544 * sysdeps/ia64/fpu/w_log.c: Likewise.
28545 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28546 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28547 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28548 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28549 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28550 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28551 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28552 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28553 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28554 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28555 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28556 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28557 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28558 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28559 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28560 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28561 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28562 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28563 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28564 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28565 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28566 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28567 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28569 [LIBM_SVID_COMPAT].
28570 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28571 * sysdeps/ieee754/k_standard.c: Likewise.
28572 * sysdeps/ieee754/k_standardf.c: Likewise.
28573 * sysdeps/ieee754/k_standardl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28576 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28577 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28578 long_double_symbol call on [LIBM_SVID_COMPAT].
28579 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28580 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28581 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28582 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28583 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28584 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28585 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28586 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28587 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28588 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28589 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28590 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28591 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28592 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28593 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28594 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28595 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28596 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28597 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28598 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28599 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28600 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28602 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28604 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28605 * malloc/tst-mallocstate.c: Convert from test-skeleton
28606 to test-driver. Ifdef code using TEST_COMPAT macro.
28607 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28608 * math/test-matherr.c: Likewise.
28610 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28613 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28614 comparing word with byte-swapped constant.
28616 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28619 * locale/iso-639.def: add Miskito.
28620 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28621 * localedata/locales/miq_NI: New file.
28623 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28626 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28627 (__mkdir): Likewise.
28628 * io/chmod.c (__chmod): Add libc_hidden_def.
28629 * io/mkdir.c (__mkdir): Likewise.
28630 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28631 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28632 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28633 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28635 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28637 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28641 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28642 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28644 2017-09-04 Florian Weimer <fweimer@redhat.com>
28646 * math/math.h: Issue warning if log is defined.
28648 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28650 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28651 kernel version to 4.13.
28653 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28655 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28656 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28658 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28659 just <bits/types.h>.
28660 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28661 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28662 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28663 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28664 * misc/preadv2.c: Include <errno.h>.
28665 * misc/preadv64v2.c: Include <errno.h>.
28666 * misc/pwritev2.c: Include <errno.h>.
28667 * misc/pwritev64v2.c: Include <errno.h>.
28668 * sysdeps/posix/preadv2.c: Include <errno.h>.
28669 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28670 Fix <unistd.h> inclusion.
28671 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28672 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28673 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28674 __strtoul_internal): New functions.
28675 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28676 * sysdeps/posix/system.c: Include <sigsetops.h>.
28677 * sysdeps/mach/hurd/i386/Makefile
28678 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28679 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28680 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28681 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28682 __feraiseexcept_renamed to feraiseexcept instead of
28683 __GI_feraiseexcept.
28684 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28685 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28686 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28687 RWF_NOWAIT): Define to 0 if undefined already.
28688 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28690 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28691 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28693 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28695 * manual/math.texi (pow10): Do not document.
28696 (pow10f): Likewise.
28697 (pow10l): Likewise.
28698 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28699 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28700 * math/libm-test-exp10.inc (pow10_test): Remove.
28701 (do_test): Do not call pow10.
28702 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28703 [NO_LONG_DOUBLE] (pow10l): Likewise.
28704 * math/w_exp10f_compat.c (pow10f): Likewise.
28705 * math/w_exp10l_compat.c (pow10l): Likewise.
28706 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28707 (pow10): Make into compat symbol.
28708 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28709 (pow10f): Make into compat symbol.
28710 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28711 (pow10l): Make into compat symbol.
28712 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28714 (CFLAGS-nldbl-pow10.c): Remove variable..
28715 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28716 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28717 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28718 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28719 Undefine and redefine.
28720 (pow10l): Make into compat symbol.
28721 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28722 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28723 * sysdeps/arm/libm-test-ulps: Likewise.
28724 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28725 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28726 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28727 * sysdeps/microblaze/libm-test-ulps: Likewise.
28728 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28729 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28730 * sysdeps/nios2/libm-test-ulps: Likewise.
28731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28732 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28733 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28734 * sysdeps/sh/libm-test-ulps: Likewise.
28735 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28736 * sysdeps/tile/libm-test-ulps: Likewise.
28737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28739 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28741 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28743 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28745 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28746 "../ChangeLog.old/ChangeLog.8".
28747 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28748 "../ChangeLog.old/ChangeLog.14".
28750 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28752 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28755 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28757 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28759 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28761 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28762 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28764 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28766 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28767 32 atexit handlers.
28769 2017-09-01 Zack Weinberg <zackw@panix.com>
28771 * math/math.h (HUGE_VAL): Improve commentary.
28773 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28774 Andreas Schwab <schwab@suse.de>
28777 * include/stdio.h (__gen_tempfd): New function.
28778 * stdio-common/Makefile (routines): Add gentempfd.
28779 * stdio-common/gentempfd.c: New file.
28780 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28781 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28782 unnamed file first.
28784 2017-09-01 Florian Weimer <fweimer@redhat.com>
28788 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28789 result to determine success or failure, not the errno value.
28790 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28791 (tst-nss-files-hosts-erange): Link with -ldl.
28792 * nss/tst-nss-files-hosts-erange.c: New file.
28793 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28794 (do_test): Add NO_DATA tests.
28795 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28796 (do_test): Call it.
28798 2017-09-01 Florian Weimer <fweimer@redhat.com>
28801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28802 coming from gethostbyname2_r.
28804 2017-09-01 Florian Weimer <fweimer@redhat.com>
28806 * support/namespace.h (struct support_chroot_configuration): Add
28808 (struct support_chroot): Add path_hosts, path_host_conf.
28809 * support/support_chroot.c (write_file): New function.
28810 (support_chroot_create): Call it to process /etc/resolv.conf,
28811 /etc/hosts, /etc/host.conf.
28812 (support_chroot_free): Update.
28814 2017-09-01 Florian Weimer <fweimer@redhat.com>
28816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28817 status indicates it is set.
28819 2017-09-01 Florian Weimer <fweimer@redhat.com>
28822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28823 function lookup failures more reliable.
28825 2017-09-01 Florian Weimer <fweimer@redhat.com>
28827 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28828 (getcanonname): Likewise.
28829 (gaih_inet): Likewise.
28831 2017-09-01 Florian Weimer <fweimer@redhat.com>
28833 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28834 (getcanonname): Likewise.
28835 (gaih_inet): Likewise.
28837 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28838 Richard Henderson <rth@twiddle.net>
28840 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28841 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28842 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28843 (IREG_SIZE, OREG_SIZE): New macros.
28844 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28845 (IREG_SIZE, OREG_SIZE): New macros.
28846 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28847 (IREG_SIZE): New macro.
28848 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28849 (IREG_SIZE): New macro.
28850 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28852 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28853 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28854 (__CONCATX): Handle exceptions correctly on large values that may
28856 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28857 Initialize if not already set.
28858 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28860 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28862 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28863 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28865 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28867 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28869 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28871 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28873 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28875 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28877 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28878 (NO_CANCELLATION): Likewise.
28879 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28881 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28883 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28886 (NO_CANCELLATION): Likewise.
28887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28888 (NO_CANCELLATION): Likewise.
28889 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28891 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28893 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28897 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28899 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28900 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28902 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28904 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28907 2017-08-31 Florian Weimer <fweimer@redhat.com>
28909 * include/libc-symbols.h (internal_function): Remove.
28911 2017-08-31 Florian Weimer <fweimer@redhat.com>
28913 * stdlib/fmtmsg.c (internal_addseverity): Remove
28916 2017-08-31 Florian Weimer <fweimer@redhat.com>
28918 * stdio-common/printf_fp.c (group_number): Remove
28920 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28922 2017-08-31 Florian Weimer <fweimer@redhat.com>
28924 * posix/fnmatch.c (internal_function): Remove definition.
28925 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28926 * posix/regcomp.c (peek_token, init_word_char)
28927 (duplicate_node_closure, fetch_token, peek_token)
28928 (peek_token_bracket, build_range_exp, build_collating_symbol):
28930 * posix/regex_internal.c (re_string_construct_common)
28931 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28932 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28933 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28934 (re_string_translate_buffer, re_string_reconstruct)
28935 (re_string_peek_byte_case, re_string_fetch_byte_case)
28936 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28937 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28938 (re_node_set_add_intersect, re_node_set_init_union)
28939 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28940 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28941 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28942 (re_acquire_state_context): Likewise.
28943 * posix/regex_internal.h (internal_function): Remove definition.
28944 (re_string_realloc_buffers, build_wcs_buffer)
28945 (build_wcs_upper_buffer, build_upper_buffer)
28946 (re_string_translate_buffer, re_string_context_at)
28947 (re_string_char_size_at, re_string_wchar_at)
28948 (re_string_elem_size_at): Likewise.
28949 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28950 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28951 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28952 (re_search_internal, re_search_2_stub, re_search_stub)
28953 (re_copy_regs, prune_impossible_nodes, check_matching)
28954 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28955 (free_fail_stack_return, sift_states_iter_mb)
28956 (sift_states_backward, build_sifted_states)
28957 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28958 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28959 (check_subexp_limits, sift_states_bkref, merge_state_array)
28960 (find_recover_state, transit_state, merge_state_with_log)
28961 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28962 (transit_state_mb, transit_state_bkref, get_subexp)
28963 (get_subexp_sub, find_subexp_node, check_arrival)
28964 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28965 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28966 (check_node_accept_bytes, find_collation_sequence_value)
28967 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28968 (acquire_init_state_context, check_halt_node_context)
28969 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28970 (sub_epsilon_src_nodes): Likewise.
28971 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28972 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28973 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28974 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28975 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28976 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28977 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28978 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28979 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28980 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28981 (PREADV): Likewise.
28982 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28983 (PREADV): Likewise.
28984 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28985 (PWRITEV): Likewise.
28986 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28987 (PWRITEV): Likewise.
28988 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28989 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28991 2017-08-31 Florian Weimer <fweimer@redhat.com>
28993 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28994 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28995 Remove internal_function.
28996 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28997 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28998 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28999 (__deallocate_stack, __libc_pthread_init)
29000 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29001 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29002 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29004 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29005 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29006 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29008 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29009 (__pthread_mutex_unlock_usercnt): Likewise.
29011 2017-08-31 Florian Weimer <fweimer@redhat.com>
29013 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29014 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29015 (fts_safe_changedir): Remove internal_function.
29016 * io/ftw.c (internal_function): Remove definition.
29017 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29019 2017-08-31 Florian Weimer <fweimer@redhat.com>
29021 * inet/deadline.c (__deadline_current_time)
29022 (__deadline_from_timeval, __deadline_to_ms): Remove
29024 * inet/getnameinfo.c (nrl_domainname): Likewise.
29025 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29026 * inet/inet6_option.c (add_pad): Likewise.
29027 * inet/net-internal.h (__deadline_current_time)
29028 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29029 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29030 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29031 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29033 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29035 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29036 include <bits/nan.h>.
29037 * math/Makefile (headers): Remove bits/nan.h.
29038 * bits/nan.h: Remove.
29039 * sysdeps/ieee754/bits/nan.h: Likewise.
29040 * sysdeps/mips/bits/nan.h: Likewise.
29042 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29043 not include <bits/inf.h>.
29044 * math/Makefile (headers): Remove bits/inf.h.
29045 * bits/inf.h: Remove.
29046 * sysdeps/ieee754/bits/inf.h: Likewise.
29048 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29049 bits/huge_vall.h or bits/huge_val_flt128.h.
29050 (HUGE_VAL): Define directly here.
29051 [__USE_ISOC99] (HUGE_VALF): Likewise.
29052 [__USE_ISOC99] (HUGE_VALL): Likewise.
29053 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29054 (HUGE_VAL_F128): Likewise.
29055 * math/Makefile (headers): Remove bits/huge_val.h,
29056 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29057 * bits/huge_val.h: Remove.
29058 * bits/huge_val_flt128.h: Likewise.
29059 * bits/huge_valf.h: Likewise.
29060 * bits/huge_vall.h: Likewise.
29061 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29062 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29063 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29064 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29065 * sysdeps/sh/bits/huge_val.h: Likewise.
29066 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29067 * sysdeps/x86/bits/huge_vall.h: Likewise.
29069 2017-08-31 Florian Weimer <fweimer@redhat.com>
29071 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29073 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29075 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29076 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29077 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29078 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29079 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29080 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29081 * elf/dl-libc.c (dlerror_run): Likewise.
29082 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29083 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29084 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29085 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29087 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29088 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29089 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29090 * elf/dl-profile.c (_dl_start_profile): Likewise.
29091 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29092 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29094 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29095 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29096 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29097 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29098 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29099 (_dl_allocate_tls_storage): Likewise.
29100 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29101 (_dl_check_all_versions): Likewise.
29102 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29103 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29104 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29105 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29106 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29107 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29108 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29109 internal_function from __dl_start.
29110 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29111 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29112 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29113 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29114 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29115 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29116 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29117 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29118 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29119 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29120 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29121 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29122 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29123 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29124 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29126 (struct rtld_global_ro): Remove internal_function from the
29127 _dl_lookup_symbol_x member.
29128 (_dl_symbol_value): Remove. No longer defined anywhere.
29129 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29131 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29132 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29133 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29134 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29135 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29136 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29137 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29138 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29139 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29140 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29141 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29142 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29144 2017-08-31 Florian Weimer <fweimer@redhat.com>
29146 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29147 Remove internal_function.
29148 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29150 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29153 2017-08-31 Florian Weimer <fweimer@redhat.com>
29155 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29156 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29157 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29159 2017-08-31 Florian Weimer <fweimer@redhat.com>
29161 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29162 (__gai_enqueue_request): Remove internal_function.
29163 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29164 (__gai_remove_request, __gai_notify, __gai_notify_only)
29165 (__gai_sigqueue): Likewise.
29166 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29167 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29168 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29169 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29172 2017-08-31 Florian Weimer <fweimer@redhat.com>
29174 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29175 * include/dirent.h (__opendirat, __getdents, __getdents64)
29176 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29177 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29178 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29179 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29183 2017-08-31 Florian Weimer <fweimer@redhat.com>
29185 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29187 (GETCWD_RETURN_TYPE): Likewise.
29189 2017-08-31 Florian Weimer <fweimer@redhat.com>
29191 * include/time.h (__tz_compute, __strptime_internal): Remove
29193 * time/strptime_l.c (__strptime_internal): Likewise.
29194 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29196 2017-08-31 Florian Weimer <fweimer@redhat.com>
29198 * iconv/gconv.c (__gconv): Remove internal_function.
29199 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29200 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29201 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29202 (__gconv_release_cache): Likewise.
29203 * iconv/gconv_close.c (__gconv_close): Likewise.
29204 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29205 (read_conf_file, __gconv_get_path): Likewise.
29206 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29207 (__gconv_release_step, gen_steps, increment_counter)
29208 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29209 (__gconv_close_transform, free_modules_db): Likewise.
29210 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29212 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29213 (__gconv_find_transform, __gconv_lookup_cache)
29214 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29215 (__gconv_close_transform, __gconv_release_cache)
29216 (__gconv_loaded_object, __gconv_release_shlib)
29217 (__gconv_compare_alias): Likewise.
29218 * iconv/gconv_open.c (__gconv_open): Likewise.
29219 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29220 * iconv/iconvconfig.c (add_module): Likewise.
29221 * intl/dcigettext.c (plural_lookup, guess_category_value)
29222 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29223 * intl/eval-plural.h (plural_eval): Likewise.
29224 * intl/finddomain.c (_nl_find_domain): Likewise.
29225 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29226 (_nl_load_domain, _nl_find_msg): Likewise.
29227 (internal_function): Remove definition.
29228 * intl/loadinfo.h (internal_function): Likewise.
29229 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29231 * intl/localealias.c (internal_function): Remove definition.
29232 (read_alias_file): Remove internal_function.
29233 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29234 * intl/plural-exp.h (internal_function): Remove definition.
29235 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29237 * intl/plural.c: Regenerate.
29238 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29239 * locale/coll-lookup.c (__collidx_table_lookup)
29240 (__collseq_table_lookup): Likewise.
29241 * locale/coll-lookup.h (__collidx_table_lookup)
29242 (__collseq_table_lookup): Likewise.
29243 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29244 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29245 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29246 (_nl_unload_locale): Likewise.
29247 * locale/localeinfo.h (struct __locale_data): Remove
29248 internal_function from cleanup member.
29249 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29250 (_nl_remove_locale, _nl_load_locale_from_archive)
29251 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29252 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29253 (_nl_cleanup_time): Remove internal_function.
29254 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29255 (_nl_parse_alt_digit): Likewise.
29256 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29257 (_nl_select_era_entry): Likewise.
29258 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29259 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29260 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29261 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29262 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29264 2017-08-31 Florian Weimer <fweimer@redhat.com>
29266 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29267 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29268 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29269 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29271 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29272 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29273 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29274 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29276 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29278 2017-08-31 Florian Weimer <fweimer@redhat.com>
29280 * misc/getttyent.c (skip, value): Remove internal_function.
29281 * misc/syslog.c (openlog_internal): Likewise.
29282 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29284 2017-08-31 Florian Weimer <fweimer@redhat.com>
29286 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29287 (__nss_rewrite_field): Remove internal_function.
29288 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29289 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29290 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29291 * nss/nsswitch.c (nss_parse_file, nss_getline)
29292 (nss_parse_service_list, nss_new_service): Likewise.
29293 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29294 * nss/valid_field.c (__nss_valid_field): Likewise.
29295 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29297 2017-08-31 Florian Weimer <fweimer@redhat.com>
29299 * malloc/arena.c (__malloc_fork_lock_parent)
29300 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29301 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29302 internal_function from defintions.
29303 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29304 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29305 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29306 internal_function from declarations.
29307 * malloc/malloc.c (internal_function): Do not define.
29308 (mem2mem_check): Remove internal_function from declaration.
29309 (munmap_chunk, mremap_chunk): Remove internal_function.
29310 * malloc/mtrace.c (tr_where): Likewise.
29312 2017-08-31 Florian Weimer <fweimer@redhat.com>
29314 * include/rpc/pmap_clnt.h (__get_socket): Remove
29316 * sunrpc/auth_des.c (synchronize): Likewise.
29317 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29318 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29319 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29320 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29321 (key_call): Likewise.
29322 * sunrpc/pm_getport.c (__get_socket): Likewise.
29323 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29324 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29325 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29326 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29327 (invalidate): Likewise.
29328 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29329 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29330 (set_input_fragment, get_input_bytes): Likewise.
29332 2017-08-31 Florian Weimer <fweimer@redhat.com>
29334 * malloc/malloc.c (_int_free): Remove locked variable and related
29337 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29340 * Makerules (build-module-helper-objlist): Filter out
29341 $(elf-objpfx)sofini.os.
29342 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29345 2017-08-31 Florian Weimer <fweimer@redhat.com>
29347 * libio/fcloseall.c: Assume weak_alias is defined.
29348 * libio/feof.c: Likewise.
29349 * libio/fileno.c: Likewise.
29350 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29351 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29353 (_IO_file_open): Call __open directly.
29354 (_IO_new_file_sync): Assume ESPIPE is defined.
29355 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29356 (_IO_new_file_write): Call __write directly.
29357 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29358 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29359 * libio/genops.c: Assume _LIBC is defined.
29360 (save_for_backup): Remove internal_function.
29361 * libio/getc.c: Assume weak_alias is defined.
29362 * libio/getwc.c: Likewise.
29363 * libio/iofclose.c: Assume _LIBC is defined.
29364 * libio/iofdopen.c: Likewise.
29365 (_IO_fcntl): Remove macro definition.
29366 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29367 Call __fcntl directly.
29368 * libio/iofflush.c: Assume weak_alias is defined.
29369 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29371 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29372 * libio/iofgets.c: Likewise.
29373 * libio/iofopen.c: Assume _LIBC is defined.
29374 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29375 * libio/iofputs.c: Assume weak_alias is defined.
29376 * libio/iofread.c: Likewise.
29377 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29378 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29379 * libio/ioftell.c: Assume weak_alias is defined.
29380 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29381 * libio/iofwide.c: Assume _LIBC is defined.
29382 (_IO_fwide): Drop SHARED conditional because it is implied by
29384 * libio/iofwrite.c: Assume weak_alias is defined.
29385 * libio/iogetdelim.c: Likewise.
29386 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29387 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29388 (_IO_getwline): Call __wmemcpy directly.
29389 * libio/iopopen.c: Assume _LIBC is defined.
29390 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29391 (_IO_close): Remove macro definitions.
29392 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29394 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29396 * libio/ioputs.c: Assume weak_alias is defined.
29397 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29398 * libio/iosetbuffer.c: Assume weak_alias is defined.
29399 * libio/iosetvbuf.c: Likewise.
29400 * libio/ioungetc.c: Likewise.
29401 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29402 libc_hidden_def, libc_hidden_weak, NULL are defined.
29403 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29404 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29406 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29408 (_IO_old_file_init_internal): Drop SHARED conditional because it
29409 is implied by SHLIB_COMPAT.
29410 (_IO_old_file_fopen): Call __open directly.
29411 (_IO_old_file_sync): Assume ESPIPE is defined.
29412 (_IO_old_file_write): Call __write directly.
29413 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29414 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29415 Call __fcntl directly.
29416 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29417 (_IO_old_fgetpos): Assume EIO is defined.
29418 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29419 (_IO_old_fgetpos64): Assume EIO is defined.
29420 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29421 (_IO_old_fsetpos): Assume EIO is defined.
29422 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29423 (_IO_old_fsetpos64): Assume EIO is defined.
29424 * libio/oldiopopen.c: Assume _LIBC is defined.
29425 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29426 (_IO_close): Remove macro definitions.
29427 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29429 (_IO_old_proc_close): Call __close, __waitpid directly.
29430 * libio/put.c: Assume weak_alias is defined.
29431 * libio/stdfiles.c: Assume _LIBC is defined.
29432 * libio/stdio.c: Likewise.
29433 * libio/wfileops.c: Likewise.
29434 (_IO_wfile_sync): Assume ESPIPE is defined.
29435 * libio/wgenops.c: Assume _LIBC is defined.
29436 (save_for_wbackup): Remove internal_function.
29438 2017-08-31 Florian Weimer <fweimer@redhat.com>
29440 * malloc/malloc.c (top_check): Change return type to void. Remove
29442 * malloc/hooks.c (top_check): Likewise.
29443 (malloc_check, realloc_check, memalign_check): Adjust.
29445 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29448 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29449 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29450 sigcontext and namespace requirements.
29451 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29452 * sysdeps/m68k/sys/ucontext.h: Likewise.
29453 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29454 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29455 <bits/sigcontext.h>.
29456 (__ctx): Define earlier.
29457 (mcontext_t): Define structure contents rather than using struct
29459 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29460 __glibc_reserved1 instead of __reserved.
29461 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29462 <bits/sigcontext.h>.
29463 (__ctx): Define earlier.
29464 (mcontext_t): Define structure contents rather than using struct
29466 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29467 mcontext_t instead of struct sigcontext.
29468 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29469 <bits/sigcontext.h>.
29470 (__ctx): Define earlier.
29471 (mcontext_t): Define structure contents rather than using struct
29473 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29474 <bits/sigcontext.h>.
29475 (__ctx): Define earlier.
29476 (mcontext_t): Define structure contents rather than using struct
29478 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29479 mcontext_t instead of struct sigcontext.
29480 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29481 mcontext_t instead of struct sigcontext.
29482 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29483 <bits/sigcontext.h>.
29484 (__ctx): New macro.
29485 (struct __ia64_fpreg_mcontext): New type.
29486 (mcontext_t): Define structure contents rather than using struct
29488 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29489 (uc_sigmask): Define using __ctx.
29490 (uc_stack): Likewise.
29491 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29492 <bits/sigcontext.h>.
29493 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29494 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29495 <bits/sigcontext.h>.
29496 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29497 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29498 <bits/sigcontext.h>.
29499 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29500 <bits/sigcontext.h>.
29501 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29502 <bits/sigcontext.h>.
29503 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29504 <bits/sigcontext.h>.
29505 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29506 <bits/sigcontext.h>.
29507 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29508 <bits/sigcontext.h>.
29509 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29510 <bits/sigcontext.h>.
29511 (__ctx): Define earlier.
29512 (mcontext_t): Define structure contents rather than using struct
29514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29515 <bits/sigcontext.h>. Include <bits/types.h>.
29516 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29517 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29518 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29519 (test-xfail-UNIX98/signal.h/conform): Likewise.
29520 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29521 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29522 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29523 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29524 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29525 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29526 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29527 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29528 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29530 2017-08-30 Florian Weimer <fweimer@redhat.com>
29532 * malloc/dynarray_emplace_enlarge.c
29533 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29534 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29535 * malloc/tst-dynarray.c (test_long_overflow): New function.
29536 (do_test): Call it.
29538 2017-08-30 Florian Weimer <fweimer@redhat.com>
29540 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29541 (set_arena_corrupt): Remove definitions.
29542 (mtrim): Do not check for corrupt arena.
29543 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29546 2017-08-30 Florian Weimer <fweimer@redhat.com>
29549 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29551 (ptmalloc_init): Do not set or use check_action.
29552 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29553 call to malloc_printerr. Remove return statement.
29554 (free_check): Likewise. Remove arena unlock.
29555 (top_check): Update comment. Adjust call to malloc_printerr.
29556 Remove heap repair code.
29557 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29558 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29559 (sysmalloc): Adjust call to malloc_printerr.
29560 (munmap_chunk, __libc_realloc): Likewise. Remove return
29562 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29563 Remove errout label and corresponding gotos.
29564 (_int_free): Likewise. Remove arena unlock.
29565 (do_set_mallopt_check): Do not set check_action.
29566 (malloc_printerr): Adjust parameter list. Do not mark arena as
29568 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29570 * manual/probes.texi (Memory Allocation Probes): Remove
29571 memory_mallopt_check_action.
29573 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29575 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29576 Use pointer to uint64_t instead of long int for sp.
29578 2017-08-30 Florian Weimer <fweimer@redhat.com>
29581 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29582 without printing a backtrace. Do not leak any information in the
29584 * manual/memory.texi (Heap Consistency Checking): Update.
29585 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29587 2017-08-30 Florian Weimer <fweimer@redhat.com>
29589 Do not scale NPTL tests with available number of CPUs.
29590 * nptl/tst-cond16.c (count): Set to constant value of 8.
29591 * nptl/tst-cond18.c (count): Likewise.
29593 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29596 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29597 Define to take a second argument that is a macro that
29598 concatentates a suffix, not the suffix itself.
29599 (__CONCAT_d): New macro.
29600 (__CONCAT_f): Likewise.
29601 (__CONCAT_l): Likewise.
29603 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29605 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29608 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29609 Aurelien Jarno <aurelien@aurel32.net>
29610 Maciej W. Rozycki <macro@imgtec.com>
29613 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29614 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29615 `mips16-syscall6' and `mips16-syscall7'.
29616 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29617 (CFLAGS-mips16-syscall7.c): Remove.
29618 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29619 Remove `__mips16_syscall5', `__mips16_syscall6' and
29620 `__mips16_syscall7'.
29621 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29622 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29623 `__mips_syscall_return'.
29624 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29625 (__mips16_syscall1): Likewise.
29626 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29627 (__mips16_syscall2): Likewise.
29628 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29629 (__mips16_syscall3): Likewise.
29630 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29631 (__mips16_syscall4): Likewise.
29632 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29634 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29636 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29638 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29639 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29640 `__mips16_syscall5'. Remove prototype.
29641 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29642 `__mips16_syscall6'. Remove prototype.
29643 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29644 `__mips16_syscall7'. Remove prototype.
29645 (__nomips16, __mips16_syscall_return): Move to...
29646 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29647 (__nomips16, __mips_syscall_return): ... here.
29648 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29649 `__mips16_syscall_return' to `__mips_syscall_return'.
29650 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29651 `internal_syscall##nr'.
29652 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29653 `internal_syscall##nr'.
29654 (FORCE_FRAME_POINTER): Remove.
29655 (__mips_syscall5): New prototype.
29656 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29657 (__mips_syscall6): New prototype.
29658 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29659 (__mips_syscall7): New prototype.
29660 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29661 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29662 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29663 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29664 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29665 (sysdep_routines): Add libc-do-syscall.
29666 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29667 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29669 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29672 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29673 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29674 (advise_stack_range): New function.
29675 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29676 stack non required to advise_stack_range at allocatestack.c
29678 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29680 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29682 2017-08-29 Florian Weimer <fweimer@redhat.com>
29685 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29686 __end_fct. Mangle __end_fct after setting it to NULL.
29687 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29688 (modules-names, modules-names-tests): Add
29689 tst-gconv-init-failure-mod.
29690 (gconv-modules): New target.
29691 (tst-gconv-init-failure-mod.so): Link against libsupport.
29692 (tst-gconv-init-failure): Depend on gconv-modules,
29693 tst-gconv-init-failure-mod.so.
29694 * iconv/tst-gconv-init-failure-mod.c: New file.
29695 * iconv/tst-gconv-init-failure.c: Likewise.
29696 * iconv/test-gconv-modules: Likewise.
29698 2017-08-29 Florian Weimer <fweimer@redhat.com>
29701 * iconv/gconv_db.c (free_derivation): Remove redundant
29703 (gen_steps): Unconditionally mangle __btowc_fct after
29705 (increment_counter): Likewise. Do not call init_fct for internal
29708 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29711 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29712 (_MSUF_): Remove macro.
29713 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29715 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29716 (__REDIRFROM_X): New macro.
29717 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29719 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29720 (__REDIRTO_X): Likewise.
29721 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29723 (__MATH_REDIRCALL_2): Likewise.
29724 (__MATH_REDIRCALL_INTERNAL): Likewise.
29725 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29726 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29727 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29728 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29729 * math/test-finite-macros.c: New file.
29730 * math/Makefile (tests): Add test-finite-macros.
29731 (CFLAGS-test-finite-macros.c): New variable.
29733 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29734 Jeff Law <law@redhat.com>
29737 Mangle NULL pointers in iconv/gconv.
29738 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29739 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29740 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29741 is non-NULL before demangling the end_fct. Check for NULL
29742 end_fct after demangling.
29743 (__gconv_release_step): Demangle the end_fct before checking
29744 it for NULL. Remove assert on __shlibc_handle != NULL.
29745 (gen_steps): Don't check btowc_fct for NULL before mangling.
29746 Demangle init_fct before checking for NULL.
29747 (increment_counter): Likewise.
29748 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29749 end_fct for NULL before mangling.
29750 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29753 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29756 * locale/iso-639.def: add Morisyen.
29758 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29761 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29762 (iszero): New C++ implementation that does not use
29763 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29764 signaling nans are enabled, since __builtin_types_compatible_p
29765 is a C-only feature.
29766 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29767 defined, include ieee754_float128.h for access to the union and
29768 member ieee854_float128.ieee.
29769 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29770 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29771 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29772 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29773 options of test-math-zero on powerpc64le.
29775 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29777 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29778 Change double to float.
29780 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29782 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29784 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29785 conditional code; define contents only for [LIBM_SVID_COMPAT].
29787 2017-08-28 Florian Weimer <fweimer@redhat.com>
29789 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29790 (abi-lp64_be-options): Remove.
29791 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29792 (abi-hard-options): Likewise.
29793 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29794 (abi-o32_hard-options, abi-o32_soft_2008-options)
29795 (abi-o32_hard_2008-options, abi-n32_soft-options)
29796 (abi-n32_hard-options, abi-n32_soft_2008-options)
29797 (abi-n32_hard_2008-options, abi-n64_soft-options)
29798 (abi-n64_hard-options, abi-n64_soft_2008-options)
29799 (abi-n64_hard_2008-options): Likewise.
29800 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29801 (abi-64-v1-options, abi-64-v2-options): Likewise.
29802 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29803 (abi-64-options): Likewise.
29804 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29805 (abi-64-options): Likewise.
29806 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29807 (abi-64-options): Likewise.
29808 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29809 (abi-64-options, abi-x32-options): Likewise.
29811 2017-08-28 Florian Weimer <fweimer@redhat.com>
29813 Store supported list of SYS_* system calls in the source tree.
29814 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29815 (bits/syscall.h): Generate from list file.
29816 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29817 [$(subdir) = misc] (tests): Add tst-syscall-list.
29818 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29819 [$(subdir) = misc] (tst-syscall-list-macros.list)
29820 [$(subdir) = misc] (tst-syscall-list-nr.list)
29821 (tst-syscall-list-sys.list): Helper targets for new
29822 tst-syscall-list test.
29823 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29824 tst-syscall-list.sh.
29825 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29826 target. Do not include bits/syscall.d.
29827 [$(subdir) = misc] (generated): Do not update.
29828 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29829 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29830 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29831 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29833 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29835 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29836 (tst-cxa_atexit, tst-on_exit): Likewise.
29837 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29838 tst-cxa_atexit, and tst-on_exit.
29839 * stdlib/tst-atexit-common.c: New file.
29840 * stdlib/tst-atexit.c: New file.
29841 * stdlib/tst-at_quick_exit.c: New file.
29842 * stdlib/tst-cxa_atexit.c: New file.
29843 * stdlib/tst-on_exit.c: New file.
29845 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29847 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29848 * mach/stack_chk_fail_local.c: New file.
29849 * hurd/stack_chk_fail_local.c: New file.
29850 * mach/Machrules ($(interface-library)-routines): Add
29851 stack_chk_fail_local.
29852 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29853 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29854 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29855 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29856 * hurd/Makefile (CFLAGS-hurdstartup.o,
29857 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29859 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29861 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29862 (index_cpu_*, index_arch_*): Removed.
29864 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29866 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29867 Use uint64_t instead of unsigned long.
29869 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29871 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29872 [__HAVE_DISTINCT_FLOAT128].
29874 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29875 of <bits/math-finite.h>.
29876 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29877 inclusion of <bits/math-finite.h>.
29878 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29879 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29880 __NO_LONG_DOUBLE_MATH].
29881 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29882 (__MATH_REDIRCALL_2): Likewise.
29883 (__MATH_REDIRCALL_INTERNAL): Likewise.
29884 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29885 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29886 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29905 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29906 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29907 w_sqrtf_compat-ppc32.
29909 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29911 * math/math.h [defined __cplusplus] (issignaling): In the long
29912 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29913 is not defined. Call __issignaling, otherwise.
29915 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29917 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29918 syscall definitions and replace __builtin_expect with __glibc_likely.
29919 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29921 (SYSCALL_CANCELLABLE): Removedefinition
29922 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29924 (PSEUDO_END): Likewise.
29925 [IS_IN (libpthread)] (CENABLE): Likewise.
29926 [IS_IN (libpthread)] (CDISABLE): Likewise.
29927 [IS_IN (libc)] (CENABLE): Likewise.
29928 [IS_IN (libc)] (CENABLE): Likewise.
29929 [IS_IN (librt)] (CDISABLE): Likewise.
29930 [IS_IN (librt)] (CDISABLE): Likewise.
29931 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29932 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29934 (PSEUDO_END): Likewise.
29935 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29936 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29937 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29938 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29939 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29940 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29941 (CENABLE): Likewise.
29942 (CDISABLE): Likewise.
29943 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29944 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29946 (PSEUDO_END): Likewise.
29947 [IS_IN (libpthread)] (CENABLE): Likewise.
29948 [IS_IN (libpthread)] (CDISABLE): Likewise.
29949 [IS_IN (libc)] (CENABLE): Likewise.
29950 [IS_IN (libc)] (CENABLE): Likewise.
29951 [IS_IN (librt)] (CDISABLE): Likewise.
29952 [IS_IN (librt)] (CDISABLE): Likewise.
29953 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29954 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29956 (PSEUDO_END): Likewise.
29957 [IS_IN (libpthread)] (CENABLE): Likewise.
29958 [IS_IN (libpthread)] (CDISABLE): Likewise.
29959 [IS_IN (libc)] (CENABLE): Likewise.
29960 [IS_IN (libc)] (CENABLE): Likewise.
29961 [IS_IN (librt)] (CDISABLE): Likewise.
29962 [IS_IN (librt)] (CDISABLE): Likewise.
29963 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29964 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29966 (PSEUDO_END): Likewise.
29967 [IS_IN (libpthread)] (CENABLE): Likewise.
29968 [IS_IN (libpthread)] (CDISABLE): Likewise.
29969 [IS_IN (libc)] (CENABLE): Likewise.
29970 [IS_IN (libc)] (CENABLE): Likewise.
29971 [IS_IN (librt)] (CDISABLE): Likewise.
29972 [IS_IN (librt)] (CDISABLE): Likewise.
29973 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29974 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29976 (PSEUDO_END): Likewise.
29977 [IS_IN (libpthread)] (CENABLE): Likewise.
29978 [IS_IN (libpthread)] (CDISABLE): Likewise.
29979 [IS_IN (libc)] (CENABLE): Likewise.
29980 [IS_IN (libc)] (CENABLE): Likewise.
29981 [IS_IN (librt)] (CDISABLE): Likewise.
29982 [IS_IN (librt)] (CDISABLE): Likewise.
29983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29984 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29986 (PSEUDO_END): Likewise.
29987 [IS_IN (libpthread)] (CENABLE): Likewise.
29988 [IS_IN (libpthread)] (CDISABLE): Likewise.
29989 [IS_IN (libc)] (CENABLE): Likewise.
29990 [IS_IN (libc)] (CENABLE): Likewise.
29991 [IS_IN (librt)] (CDISABLE): Likewise.
29992 [IS_IN (librt)] (CDISABLE): Likewise.
29993 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29994 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29996 (PSEUDO_END): Likewise.
29997 [IS_IN (libpthread)] (CENABLE): Likewise.
29998 [IS_IN (libpthread)] (CDISABLE): Likewise.
29999 [IS_IN (libc)] (CENABLE): Likewise.
30000 [IS_IN (libc)] (CENABLE): Likewise.
30001 [IS_IN (librt)] (CDISABLE): Likewise.
30002 [IS_IN (librt)] (CDISABLE): Likewise.
30003 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30004 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30006 (PSEUDO_END): Likewise.
30007 [IS_IN (libpthread)] (CENABLE): Likewise.
30008 [IS_IN (libpthread)] (CDISABLE): Likewise.
30009 [IS_IN (libc)] (CENABLE): Likewise.
30010 [IS_IN (libc)] (CENABLE): Likewise.
30011 [IS_IN (librt)] (CDISABLE): Likewise.
30012 [IS_IN (librt)] (CDISABLE): Likewise.
30013 (SINGLE_THREAD_P): Likewise.
30014 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30016 (PSEUDO_END): Likewise.
30017 [IS_IN (libpthread)] (CENABLE): Likewise.
30018 [IS_IN (libpthread)] (CDISABLE): Likewise.
30019 [IS_IN (libc)] (CENABLE): Likewise.
30020 [IS_IN (libc)] (CENABLE): Likewise.
30021 [IS_IN (librt)] (CDISABLE): Likewise.
30022 [IS_IN (librt)] (CDISABLE): Likewise.
30023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30024 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30026 (PSEUDO_END): Likewise.
30027 [IS_IN (libpthread)] (CENABLE): Likewise.
30028 [IS_IN (libpthread)] (CDISABLE): Likewise.
30029 [IS_IN (libc)] (CENABLE): Likewise.
30030 [IS_IN (libc)] (CENABLE): Likewise.
30031 [IS_IN (librt)] (CDISABLE): Likewise.
30032 [IS_IN (librt)] (CDISABLE): Likewise.
30033 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30034 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30035 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30036 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30039 (PSEUDO_END): Likewise.
30040 [IS_IN (libpthread)] (CENABLE): Likewise.
30041 [IS_IN (libpthread)] (CDISABLE): Likewise.
30042 [IS_IN (libc)] (CENABLE): Likewise.
30043 [IS_IN (libc)] (CENABLE): Likewise.
30044 [IS_IN (librt)] (CDISABLE): Likewise.
30045 [IS_IN (librt)] (CDISABLE): Likewise.
30046 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30049 (PSEUDO_END): Likewise.
30050 [IS_IN (libpthread)] (CENABLE): Likewise.
30051 [IS_IN (libpthread)] (CDISABLE): Likewise.
30052 [IS_IN (libc)] (CENABLE): Likewise.
30053 [IS_IN (libc)] (CENABLE): Likewise.
30054 [IS_IN (librt)] (CDISABLE): Likewise.
30055 [IS_IN (librt)] (CDISABLE): Likewise.
30056 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30057 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30059 (PSEUDO_END): Likewise.
30060 [IS_IN (libpthread)] (CENABLE): Likewise.
30061 [IS_IN (libpthread)] (CDISABLE): Likewise.
30062 [IS_IN (libc)] (CENABLE): Likewise.
30063 [IS_IN (libc)] (CENABLE): Likewise.
30064 [IS_IN (librt)] (CDISABLE): Likewise.
30065 [IS_IN (librt)] (CDISABLE): Likewise.
30066 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30069 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30070 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30072 (PSEUDO_END): Likewise.
30073 [IS_IN (libpthread)] (CENABLE): Likewise.
30074 [IS_IN (libpthread)] (CDISABLE): Likewise.
30075 [IS_IN (libc)] (CENABLE): Likewise.
30076 [IS_IN (libc)] (CENABLE): Likewise.
30077 [IS_IN (librt)] (CDISABLE): Likewise.
30078 [IS_IN (librt)] (CDISABLE): Likewise.
30079 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30080 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30082 (PSEUDO_END): Likewise.
30083 [IS_IN (libpthread)] (CENABLE): Likewise.
30084 [IS_IN (libpthread)] (CDISABLE): Likewise.
30085 [IS_IN (libc)] (CENABLE): Likewise.
30086 [IS_IN (libc)] (CENABLE): Likewise.
30087 [IS_IN (librt)] (CDISABLE): Likewise.
30088 [IS_IN (librt)] (CDISABLE): Likewise.
30089 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30091 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30093 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30095 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30099 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30102 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30103 middle and outer with size_t instead of int. Repleace %d and
30104 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30105 "MAX (outer, nchars - 64)" to support unsigned outer and
30106 nchars. Also exit loop when outer == 0.
30108 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30110 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30111 * include/signal.h (__sigsuspend_nocancel): Likewise.
30112 * include/time.h (__nanosleep_nocancel): Likewise.
30113 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30114 * login/utmp_file.c: Include non cancellable syscall header.
30115 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30118 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30120 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30121 .byte sequences with AVX512F instructions.
30122 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30123 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30124 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30127 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30130 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30131 Steve Ellcey <sellcey@cavium.com>
30133 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30134 Use PTR_REG macro in cmp instruction.
30136 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30138 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30139 Change the return type of the ifunc resolver to match the return
30140 type of the target function.
30142 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30144 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30145 (preadv64): Likewise.
30146 (pwrite64(: Likewise.
30147 (pwritev64): Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30150 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30151 (LOAD_ARGS_0): Likewise.
30152 (LOAD_ARGS_1): Likewise.
30153 (LOAD_ARGS_2): Likewise.
30154 (LOAD_ARGS_3): Likewise.
30155 (LOAD_ARGS_4): Likewise.
30156 (LOAD_ARGS_5): Likewise.
30157 (LOAD_ARGS_6): Likewise.
30158 (LOAD_REGS_0): Likewise.
30159 (LOAD_REGS_1): Likewise.
30160 (LOAD_REGS_2): Likewise.
30161 (LOAD_REGS_3): Likewise.
30162 (LOAD_REGS_4): Likewise.
30163 (LOAD_REGS_5): Likewise.
30164 (LOAD_REGS_6): Likewise.
30165 (ASM_ARGS_0): Likewise.
30166 (ASM_ARGS_1): Likewise.
30167 (ASM_ARGS_2): Likewise.
30168 (ASM_ARGS_3): Likewise.
30169 (ASM_ARGS_4): Likewise.
30170 (ASM_ARGS_5): Likewise.
30171 (ASM_ARGS_6): Likewise.
30172 (LOAD_ARGS_TYPES_1): Likewise.
30173 (LOAD_ARGS_TYPES_2): Likewise.
30174 (LOAD_ARGS_TYPES_3): Likewise.
30175 (LOAD_ARGS_TYPES_4): Likewise.
30176 (LOAD_ARGS_TYPES_5): Likewise.
30177 (LOAD_ARGS_TYPES_6): Likewise.
30178 (LOAD_REGS_TYPES_1): Likewise.
30179 (LOAD_REGS_TYPES_2): Likewise.
30180 (LOAD_REGS_TYPES_3): Likewise.
30181 (LOAD_REGS_TYPES_4): Likewise.
30182 (LOAD_REGS_TYPES_5): Likewise.
30183 (LOAD_REGS_TYPES_6): Likewise.
30184 (TYPEFY): New define.
30185 (ARGIFY): Likewise.
30186 (internal_syscall0): Likewise.
30187 (internal_syscall1): Likewise.
30188 (internal_syscall2): Likewise.
30189 (internal_syscall3): Likewise.
30190 (internal_syscall4): Likewise.
30191 (internal_syscall5): Likewise.
30192 (internal_syscall6): Likewise.
30193 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30194 (INTERNAL_SYSCALL_NCS): Remove define.
30195 (internal_syscall1): Add define.
30197 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30199 * math/w_remainder_compat.c: Remove duplicate inclusion of
30200 math-svid-compat.h.
30201 * math/w_remainderf_compat.c: Likewise.
30202 * math/w_remainderl_compat.c: Likewise.
30204 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30208 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30211 * math/tgmath.h (__floating_type): Simplify definitions.
30212 (__real_integer_type): New macro.
30213 (__complex_integer_type): Likewise.
30214 (__expr_is_real): Likewise.
30215 (__tgmath_real_type_sub): Update comment to describe handling of
30217 (__tgmath_complex_type_sub): New macro.
30218 (__tgmath_complex_type): Likewise.
30219 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30220 (__TGMATH_CF128): Use __expr_is_real.
30221 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30223 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30224 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30225 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30228 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30230 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30232 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30234 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30237 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30238 nanosleep_not_cancel with __nanosleep_nocancel.
30239 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30240 (__nanosleep_nocancel): New macro.
30241 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30243 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30245 (__nanosleep_nocancel): New prototype.
30247 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30248 pause_not_cancel with __pause_nocancel.
30249 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30250 (__pause_nocancel): New macro.
30251 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30253 (__pause_nocancel): New prototype.
30254 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30256 2017-08-22 Martin Sebor <msebor@redhat.com>
30258 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30259 to return a pointer to the same type as the target function.
30261 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30265 * include/printf.h (__printf_fphex): Add attribute_hidden.
30266 (__guess_grouping): New prototype.
30267 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30268 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30269 libc_hidden_proto and libc_hidden_def.
30270 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30271 (__vstrfmon_l): Remove the third argument passed to
30274 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30276 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30277 definition for issignaling that does not rely on __MATH_TG,
30278 since __MATH_TG uses __builtin_types_compatible_p, which is only
30279 available in C mode.
30280 (CFLAGS-test-math-issignaling.cc): New variable.
30281 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30282 * math/test-math-issignaling.cc: New test for C++ implementation
30283 of type-generic issignaling.
30284 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30285 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30286 options of test-math-issignaling on powerpc64le.
30288 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30290 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30292 (hidden_proto): Likewise.
30293 (hidden_tls_proto): Likewise.
30294 (__hidden_proto): Likewise.
30296 2017-08-22 Florian Weimer <fweimer@redhat.com>
30298 math: Statically link tests of internal functionality.
30299 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30301 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30302 (gmp-objs): Remove assignment.
30303 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30305 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30308 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30310 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30312 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30315 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30316 variable definitions above inclusion of ../Rules.
30318 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30320 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30321 case calling __builtin_unreachable.
30323 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30325 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30326 __waitpid_nocancel.
30327 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30328 (__waitpid_nocancel): New macro.
30329 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30331 (__waitpid_nocancel): Replace macro with a function.
30332 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30335 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30337 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30338 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30340 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30341 __writev_nocancel_nostatus.
30342 (write_call_graph): Likewise.
30343 (write_bb_counts): Likewise.
30344 * resolv/herror.c (herror): Likewise.
30345 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30347 (__writev_nocancel_nostatus): New macro.
30348 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30350 (__writev_nocancel_nostatus): New function.
30352 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30355 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30357 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30359 (hidden_proto): Likewise.
30360 (hidden_tls_proto): Likewise.
30361 (__hidden_proto): Likewise.
30364 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30365 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30376 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30377 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30378 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30379 GLIBC_2.0 sqrtl symbol.
30381 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30382 [__USE_MISC] (_LIB_VERSION): Likewise.
30383 [__USE_MISC] (struct exception): Likewise.
30384 [__USE_MISC] (matherr): Likewise.
30385 [__USE_MISC] (DOMAIN): Likewise.
30386 [__USE_MISC] (SING): Likewise.
30387 [__USE_MISC] (OVERFLOW): Likewise.
30388 [__USE_MISC] (UNDERFLOW): Likewise.
30389 [__USE_MISC] (TLOSS): Likewise.
30390 [__USE_MISC] (PLOSS): Likewise.
30391 [__USE_MISC] (HUGE): Likewise.
30392 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30393 * math/math-svid-compat.h: New file.
30394 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30396 * include/math.h [!_ISOMAC] (__matherr): Remove.
30397 * manual/arith.texi (FP Exceptions): Do not document matherr.
30398 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30399 (tests-internal): New variable.
30400 (install-lib): Do not add libieee.a.
30401 (non-lib.a): Likewise.
30402 (extra-objs): Do not add libieee.a and ieee-math.o.
30403 (CPPFLAGS-s_lib_version.c): Remove variable.
30404 ($(objpfx)libieee.a): Remove rule.
30405 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30406 * math/ieee-math.c: Remove.
30407 * math/libm-test-support.c (matherr): Remove.
30408 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30409 and license notices. Include <math-svid-compat.h> and
30411 (matherr): Undefine as macro. Use compat_symbol_reference.
30412 (_LIB_VERSION): Likewise.
30413 * math/test-matherr-2.c: New file.
30414 * math/test-matherr-3.c: Likewise.
30415 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30417 (__kernel_standard_f): Likewise.
30418 (__kernel_standard_l): Likewise.
30419 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30420 <math_private.h>. Include <math-svid-compat.h>.
30421 (_LIB_VERSION): Undefine as macro.
30422 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30423 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30424 [LIBM_SVID_COMPAT], use compat_symbol.
30425 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30426 <math_private.h>. Include <math-svid-compat.h>.
30427 (matherr): Undefine as macro.
30428 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30430 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30431 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30432 compat_symbol_reference.
30433 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30434 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30435 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30436 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30437 (MATHERR_D): Remove declaration.
30438 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30439 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30440 [LIBM_BUILD] (pmatherrf): Likewise.
30441 [LIBM_BUILD] (pmatherr): Likewise.
30442 [LIBM_BUILD] (pmatherrl): Likewise.
30443 (DOMAIN): Likewise.
30445 (OVERFLOW): Likewise.
30446 (UNDERFLOW): Likewise.
30449 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30450 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30452 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30453 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30455 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30456 * math/w_acos_compat.c: Likewise.
30457 * math/w_acosf_compat.c: Likewise.
30458 * math/w_acosh_compat.c: Likewise.
30459 * math/w_acoshf_compat.c: Likewise.
30460 * math/w_acoshl_compat.c: Likewise.
30461 * math/w_acosl_compat.c: Likewise.
30462 * math/w_asin_compat.c: Likewise.
30463 * math/w_asinf_compat.c: Likewise.
30464 * math/w_asinl_compat.c: Likewise.
30465 * math/w_atan2_compat.c: Likewise.
30466 * math/w_atan2f_compat.c: Likewise.
30467 * math/w_atan2l_compat.c: Likewise.
30468 * math/w_atanh_compat.c: Likewise.
30469 * math/w_atanhf_compat.c: Likewise.
30470 * math/w_atanhl_compat.c: Likewise.
30471 * math/w_cosh_compat.c: Likewise.
30472 * math/w_coshf_compat.c: Likewise.
30473 * math/w_coshl_compat.c: Likewise.
30474 * math/w_exp10_compat.c: Likewise.
30475 * math/w_exp10f_compat.c: Likewise.
30476 * math/w_exp10l_compat.c: Likewise.
30477 * math/w_exp2_compat.c: Likewise.
30478 * math/w_exp2f_compat.c: Likewise.
30479 * math/w_exp2l_compat.c: Likewise.
30480 * math/w_fmod_compat.c: Likewise.
30481 * math/w_fmodf_compat.c: Likewise.
30482 * math/w_fmodl_compat.c: Likewise.
30483 * math/w_hypot_compat.c: Likewise.
30484 * math/w_hypotf_compat.c: Likewise.
30485 * math/w_hypotl_compat.c: Likewise.
30486 * math/w_j0_compat.c: Likewise.
30487 * math/w_j0f_compat.c: Likewise.
30488 * math/w_j0l_compat.c: Likewise.
30489 * math/w_j1_compat.c: Likewise.
30490 * math/w_j1f_compat.c: Likewise.
30491 * math/w_j1l_compat.c: Likewise.
30492 * math/w_jn_compat.c: Likewise.
30493 * math/w_jnf_compat.c: Likewise.
30494 * math/w_jnl_compat.c: Likewise.
30495 * math/w_lgamma_main.c: Likewise.
30496 * math/w_lgamma_r_compat.c: Likewise.
30497 * math/w_lgammaf_main.c: Likewise.
30498 * math/w_lgammaf_r_compat.c: Likewise.
30499 * math/w_lgammal_main.c: Likewise.
30500 * math/w_lgammal_r_compat.c: Likewise.
30501 * math/w_log10_compat.c: Likewise.
30502 * math/w_log10f_compat.c: Likewise.
30503 * math/w_log10l_compat.c: Likewise.
30504 * math/w_log2_compat.c: Likewise.
30505 * math/w_log2f_compat.c: Likewise.
30506 * math/w_log2l_compat.c: Likewise.
30507 * math/w_log_compat.c: Likewise.
30508 * math/w_logf_compat.c: Likewise.
30509 * math/w_logl_compat.c: Likewise.
30510 * math/w_pow_compat.c: Likewise.
30511 * math/w_powf_compat.c: Likewise.
30512 * math/w_powl_compat.c: Likewise.
30513 * math/w_remainder_compat.c: Likewise.
30514 * math/w_remainderf_compat.c: Likewise.
30515 * math/w_remainderl_compat.c: Likewise.
30516 * math/w_scalb_compat.c: Likewise.
30517 * math/w_scalbf_compat.c: Likewise.
30518 * math/w_scalbl_compat.c: Likewise.
30519 * math/w_sinh_compat.c: Likewise.
30520 * math/w_sinhf_compat.c: Likewise.
30521 * math/w_sinhl_compat.c: Likewise.
30522 * math/w_sqrt_compat.c: Likewise.
30523 * math/w_sqrtf_compat.c: Likewise.
30524 * math/w_sqrtl_compat.c: Likewise.
30525 * math/w_tgamma_compat.c: Likewise.
30526 * math/w_tgammaf_compat.c: Likewise.
30527 * math/w_tgammal_compat.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30529 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30530 * sysdeps/ieee754/k_standard.c: Likewise.
30531 * sysdeps/ieee754/k_standardf.c: Likewise.
30532 * sysdeps/ieee754/k_standardl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30535 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30537 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30539 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30540 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30541 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30548 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30549 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30551 2017-08-21 Florian Weimer <fweimer@redhat.com>
30554 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30555 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30556 Move before inclusion of ../Rules.
30558 2017-08-21 Florian Weimer <fweimer@redhat.com>
30561 * assert/assert.h (assert): Use static_cast (bool) for C++.
30562 Use the ternary operator in the warning branch for GNU C.
30563 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30564 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30565 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30566 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30567 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30569 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30573 (__syscall_clock_gettime): Add attribute_hidden.
30574 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30575 (__start_context): Likewise.
30577 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30579 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30581 (hidden_proto): Likewise.
30582 (hidden_tls_proto): Likewise.
30583 (__hidden_proto): Likewise.
30585 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30587 * include/libc-symbols.h (attribute_hidden): Enable hidden
30588 visibility in libc.a compiled with PIE.
30590 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30593 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30594 Add attribute_hidden.
30596 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30599 * Makerules (all-nonlib): Add $(others-extras).
30600 * catgets/Makefile (others-extras): New.
30601 * elf/Makefile (others-extras): Likewise.
30602 * nss/Makefile (others-extras): Likewise.
30604 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30607 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30608 * elf/dl-open.c: Include <libc-internal.h>.
30609 (__libc_multiple_libcs): Removed.
30610 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30612 * include/libc-internal.h (__libc_multiple_libcs): New.
30613 * misc/sbrk.c: Include <libc-internal.h>.
30614 (__libc_multiple_libcs): Removed.
30616 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30619 * grp/initgroups.c (__nss_group_database): Removed.
30620 (__nss_initgroups_database): Likewise.
30621 * nscd/gai.c (__nss_hosts_database): Likewise.
30622 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30623 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30624 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30625 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30626 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30627 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30629 * nss/nsswitch.c (__nss_database_custom): Define only if
30630 USE_NSCD is defined.
30631 (__nss_configure_lookup): Use __nss_database_custom only if
30632 USE_NSCD is defined.
30633 * nss/nsswitch.h (__nss_database_custom): Declare only if
30634 USE_NSCD is defined. Add attribute_hidden.
30635 (__nss_setent): Add attribute_hidden.
30636 (__nss_endent): Likewise.
30637 (__nss_getent_r): Likewise.
30638 (__nss_getent): Likewise.
30639 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30641 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30644 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30645 libc_hidden_proto and libc_hidden_def.
30647 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30650 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30651 Add libc_hidden_proto.
30652 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30653 Add libc_hidden_def.
30655 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30658 * gmon/Makefile (routines): Remove bb_init_func and
30660 (elide-routines.os): Removed.
30661 * gmon/bb_exit_func.c: Likewise.
30662 * gmon/bb_init_func.c: Likewise.
30663 * include/sys/gmon.h (__bb): Likewise.
30664 (__bb_init_func): Likewise.
30665 (__bb_exit_func): Likewise.
30666 * sysdeps/alpha/bb_init_func.S: Likewise.
30668 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30670 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30671 * include/setjmp.h (____longjmp_chk): Here. Add
30674 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30679 (__strspn_sse2): Likewise.
30681 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30683 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30684 (close_not_cancel_no_status): Likewise.
30685 (__close_nocancel): New macro.
30686 (__close_nocancel_nostatus): Likewise.
30687 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30689 (close_not_cancel): Likewise.
30690 (close_not_cancel_no_status): Likewise.
30691 (__close_nocancel): New prototype.
30692 (__close_nocancel_nostatus): New function.
30693 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30694 * catgets/open_catalog.c (__open_catalog): Replace
30695 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30696 * gmon/gmon.c (write_gmon): Likewise.
30697 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30698 * intl/loadmsgcat.c (close): Likewise.
30699 * io/ftw.c (open_dir_stream): Likewise.
30700 (ftw_startup): Likewise.
30701 * libio/fileops.c (_IO_file_open): Likewise.
30702 (_IO_file_close_mmap): Likewise.
30703 (_IO_file_close): Likewise.
30704 * libio/iopopen.c (_IO_dup2): Likewise.
30705 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30706 * locale/loadlocale.c (_nl_load_locale): Likewise.
30707 * login/utmp_file.c (pututline_file): Likewise.
30708 (endutent_file): Likewise.
30709 * misc/daemon.c (daemon): Likewise.
30710 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30711 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30712 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30713 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30714 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30715 * nscd/nscd_helper.c (open_socket): Likewise.
30716 (__nscd_open_socket): Likewise.
30717 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30718 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30719 (__nscd_innetgr): Likewise.
30720 * nss/nss_db/db-open.c (internal_setent): Likewise.
30721 * resolv/res-close.c (__res_iclose): Likewise.
30722 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30723 * sysdeps/posix/closedir.c (__closedir): Likewise.
30724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30725 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30726 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30727 (opendir_tail): Likewise.
30728 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30729 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30730 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30731 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30732 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30733 (gethostid): Likewise.
30734 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30737 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30738 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30739 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30740 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30742 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30743 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30744 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30746 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30747 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30749 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30751 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30752 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30753 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30756 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30757 (openat_not_cancel_3): Likewise.
30758 (openat64_not_cancel_3): Likewise).
30759 (openat_not_cancel_3): Likewise).
30760 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30762 (openat_not_cancel_3): Likewise.
30763 (openat64_not_cancel): Likewise.
30764 (openat64_not_cancel_3): Likewise.
30765 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30766 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30767 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30768 __open{64}_nocancel.
30769 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30770 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30771 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30773 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30776 * include/argz.h (__argz_create_sep): New function prototype.
30777 (__argz_append): Likewise.
30778 (__argz_add): Likewise.
30779 (__argz_add_sep): Likewise.
30780 (__argz_delete): Likewise.
30781 (__argz_insert): Likewise.
30782 (__argz_replace): Likewise.
30783 * string/argz.h (__argz_create_sep): Removed.
30784 (__argz_append): Likewise.
30785 (__argz_add): Likewise.
30786 (__argz_add_sep): Likewise.
30787 (__argz_delete): Likewise.
30788 (__argz_insert): Likewise.
30789 (__argz_replace): Likewise.
30791 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30793 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30794 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30795 (GNU_PROPERTY_STACK_SIZE): Likewie.
30796 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30797 (GNU_PROPERTY_LOPROC): Likewise.
30798 (GNU_PROPERTY_HIPROC): Likewise.
30799 (GNU_PROPERTY_LOUSER): Likewise.
30800 (GNU_PROPERTY_HIUSER): Likewise.
30801 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30802 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30803 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30804 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30805 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30806 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30807 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30808 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30809 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30810 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30811 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30812 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30813 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30814 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30815 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30816 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30817 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30818 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30819 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30820 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30821 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30822 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30823 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30825 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30827 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30830 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30833 * math/math.h (isinf): Check if in C or C++ mode before using
30834 __builtin_types_compatible_p, since this is a C mode feature.
30836 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30838 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30839 (__write_nocancel): New macro.
30840 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30841 Rewrite as a function prototype.
30842 (write_not_cancel): Remove macro.
30843 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30844 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30845 (write_gmon): Likewise.
30846 * libio/fileops.c (_IO_new_file_write): Likewise.
30847 * login/utmp_file.c (pututline_file): Likewise.
30848 (updwtmp_file): Likewise.
30849 * stdio-common/psiginfo.c (psiginfo): Likewise.
30850 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30851 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30852 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30854 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30857 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30858 (__read_nocancel): New macro.
30859 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30861 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30863 (__read_nocancel): New prototype.
30864 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30865 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30866 with __read_nocancel.
30867 * intl/loadmsgcat.c (read): Likewise.
30868 * libio/fileops.c (_IO_file_read): Likewise.
30869 * locale/loadlocale.c (_nl_load_locale): Likewise.
30870 * login/utmp_file.c (getutent_r_file): Likewise.
30871 (internal_getut_r): Likewise.
30872 (getutline_r_file): Likewise.
30873 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30874 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30875 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30878 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30879 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30880 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30882 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30884 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30886 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30890 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30893 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30894 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30897 2017-08-17 DJ Delorie <dj@redhat.com>
30899 * bug17079.c: Update to new test harness.
30900 * test-digits-dots.c: Likewise.
30901 * test-netdb.c: Likewise.
30902 * tst-field.c: Likewise.
30903 * tst-nss-getpwent.c: Likewise.
30904 * tst-nss-static.c: Likewise.
30905 * tst-nss-test1.c: Likewise.
30906 * tst-nss-test2.c: Likewise.
30907 * tst-nss-test3.c: Likewise.
30908 * tst-nss-test4.c: Likewise.
30909 * tst-nss-test5.c: Likewise.
30911 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30913 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30914 (open_not_cancel_2): Likewise.
30915 (open_nocancel): New macro.
30916 (open64_nocancel): Likewise.
30917 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30918 (open_not_cancel_2): Likewise.
30919 (__open_nocancel): New prototype.
30920 (__open64_nocancel): Likewise.
30921 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30923 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30924 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30925 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30926 with __open_nocancel.
30927 * csu/check_fds.c (check_one_fd): Likewise.
30928 * gmon/gmon.c (write_gmon): Likewise.
30929 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30930 * intl/loadmsgcat.c (open): Likewise.
30931 * libio/fileops.c (_IO_file_open): Likewise.
30932 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30933 * locale/loadlocale.c (_nl_load_locale): Likewise.
30934 * login/utmp_file.c (setutent_file): Likewise.
30935 * misc/daemon.c (daemon): Likewise.
30936 * nss/nss_db/db-open.c (internal_setent): Likewise.
30937 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30938 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30939 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30940 (__opendir): Likewise.
30941 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30942 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30943 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30944 (gethostid): Likewise.
30945 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30949 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30950 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30951 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30953 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30955 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30957 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30959 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30961 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30963 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30966 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30968 * benchtests/bench-skeleton.c (main): Add support for
30969 latency benchmarking.
30970 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30972 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30974 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30975 the startup object.
30977 2017-08-17 Florian Weimer <fweimer@redhat.com>
30979 * include/sys/socket.h (__opensock): Remove internal_function.
30980 * socket/opensock.c (__opensock): Likewise.
30981 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30983 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30986 * signal/bits/types/__sigval_t.h: New file.
30987 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30988 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30989 and define sigval_t using __sigval_t.
30990 * include/bits/types/__sigval_t.h: New file.
30991 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30992 instead of <bits/types/__sigval_t.h>.
30993 (struct sigevent): Use __sigval_t instead of sigval_t.
30994 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30995 instead of <bits/types/__sigval_t.h>.
30996 (siginfo_t): Use __sigval_t instead of sigval_t.
30997 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30998 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30999 (struct sigevent): Use __sigval_t instead of sigval_t.
31000 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31001 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31002 (siginfo_t): Use __sigval_t instead of sigval_t.
31003 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31005 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31007 * NEWS: Remove "[Add new features here]" for 2.27.
31009 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31011 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31014 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31016 * NEWS: Mention x86-64 FMA optimization.
31018 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31021 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31023 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31024 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31025 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31027 2017-08-16 Andreas Schwab <schwab@suse.de>
31031 * elf/ldd.bash.in: Never run file directly.
31033 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31036 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31037 (L(SP_INF_0)): Likewise.
31039 2017-08-15 Florian Weimer <fweimer@redhat.com>
31041 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31044 2017-08-15 Florian Weimer <fweimer@redhat.com>
31046 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31047 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31048 BROKEN_THREAD_SIGNALS code.
31049 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31050 request_list): Remove caller_pid member used for
31051 BROKEN_THREAD_SIGNALS.
31052 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31053 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31054 Remove BROKEN_THREAD_SIGNALS support.
31055 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31056 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31058 2017-08-15 Florian Weimer <fweimer@redhat.com>
31060 * gmon/Makefile (tests): Add tst-gmon.
31061 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31063 (tests-special): Add tst-gmon-prof.out.
31064 (tst-gmon.out): Depend on clean-tst-gmon-data.
31065 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31066 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31067 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31069 * aclocal.m4 (GPROF): Set and substitute.
31070 * config.amke.in (GPROF): Set.
31071 * configure: Regenerate.
31073 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31075 * elf/elf.h A (NT_PPC_TAR): New macro.
31076 (NT_PPC_PPR): Likewise.
31077 (NT_PPC_DSCR): Likewise.
31078 (NT_PPC_EBB): Likewise.
31079 (NT_PPC_PMU): Likewise.
31080 (NT_PPC_TM_CGPR): Likewise.
31081 (NT_PPC_TM_CFPR): Likewise.
31082 (NT_PPC_TM_CVMX): Likewise.
31083 (NT_PPC_TM_CVSX): Likewise.
31084 (NT_PPC_TM_SPR): Likewise.
31085 (NT_PPC_TM_CTAR): Likewise.
31086 (NT_PPC_TM_CPPR): Likewise.
31087 (NT_PPC_TM_CDSCR): Likewise.
31089 2017-08-15 Florian Weimer <fweimer@redhat.com>
31091 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31092 regparm (2) instead of internal_function.
31093 (_MCOUNT_DECL): Adjust.
31095 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31097 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31098 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31100 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31102 * conform/data/sys/wait.h-data (si_value): Do not expect for
31105 2017-08-14 Florian Weimer <fweimer@redhat.com>
31108 NSS: Create stubs for accidentally exported lookup functions.
31109 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31110 Remove declaration.
31111 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31112 (ether_hostton): Call __nss_ethers_lookup2 instead.
31113 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31114 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31115 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31116 (setup): Call __nss_netgroup_lookup2 instead.
31117 * nss/Makefile (routines): Add compat-lookup.
31118 * nss/Versions (GLIBC_2.27): Add symbol version.
31119 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31120 (DB_COMPAT_FCT): Remove.
31121 * nss/compat-lookup.c: New file.
31122 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31123 from databases.def.
31124 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31125 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31126 (netname2user): Call __nss_publickey_lookup2 instead.
31127 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31128 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31131 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31132 Sergei Trofimovich <slyfox@inbox.ru>
31135 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31136 Rename to MMAP2_PAGE_UNIT.
31137 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31138 __OFF_T_MATCHES_OFF64_T is not defined.
31139 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31141 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31142 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31144 2017-08-14 Florian Weimer <fweimer@redhat.com>
31146 i386: Do not set internal_function.
31147 * config.h.in (USE_REGPARMS, internal_function): Remove.
31148 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31149 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31151 2017-08-14 Florian Weimer <fweimer@redhat.com>
31153 * elf/dl-init.c (_dl_init): Remove internal_function.
31154 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31155 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31157 2017-08-14 Florian Weimer <fweimer@redhat.com>
31159 * elf/rtld.c (_dl_start): Remove internal_function.
31160 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31163 2017-08-14 Florian Weimer <fweimer@redhat.com>
31165 * elf/dl-fini.c (_dl_fini): Remove internal_function
31166 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31168 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31170 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31171 (bit_cpu_SHSTK): Likewise.
31172 (index_cpu_IBT): Likewise.
31173 (index_cpu_SHSTK): Likewise.
31174 (reg_IBT): Likewise.
31175 (reg_SHSTK): Likewise.
31176 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31177 Handle index_cpu_IBT and index_cpu_SHSTK.
31179 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31182 * po/fr.po: Fix spelling mistake.
31184 2017-08-13 Florian Weimer <fweimer@redhat.com>
31186 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31187 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31188 (_dl_catch_error, _dl_receive_error): Likewise.
31189 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31190 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31191 (_dl_deallocate_tls): Likewise.
31192 * include/dlfcn.h (_dl_addr): Likewise.
31193 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31194 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31195 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31198 2017-08-13 Florian Weimer <fweimer@redhat.com>
31200 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31201 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31203 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31205 2017-08-13 Florian Weimer <fweimer@redhat.com>
31207 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31209 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31210 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31211 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31212 internal_function from _dl_make_stack_executable_hook member.
31213 (_dl_make_stack_executable): Remove internal_function.
31214 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31216 * sysdeps/unix/sysv/linux/dl-execstack.c
31217 (_dl_make_stack_executable): Likewise.
31219 2017-08-13 Florian Weimer <fweimer@redhat.com>
31221 * sysdeps/unix/sysv/linux/netlinkaccess.h
31222 (__netlink_assert_response): Remove internal_function.
31223 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31224 (__netlink_assert_response): Likewise.
31226 2017-08-13 Florian Weimer <fweimer@redhat.com>
31228 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31230 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31232 2017-08-13 Florian Weimer <fweimer@redhat.com>
31234 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31236 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31237 * inet/netgroup.h (__internal_setnetgrent)
31238 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31239 * inet/getnetgrent_r.c (__internal_setnetgrent)
31240 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31241 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31242 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31243 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31244 * nss/nsswitch.h (db_lookup_function): Likewise.
31246 2017-08-13 Florian Weimer <fweimer@redhat.com>
31248 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31249 Remove internal_function.
31250 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31251 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31252 message argument on the stack.
31253 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31256 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31258 Adapt test case data to the changes in the thousands
31262 * localedata/tst-langinfo.sh: Adapt test case data.
31263 * stdlib/tst-strfmon_l.c: Likewise.
31264 * stdlib/tst-strtod4.c: Likewise.
31265 * stdlib/tst-strtod5i.c: Likewise.
31267 2017-08-11 Florian Weimer <fweimer@redhat.com>
31270 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31271 Suppress pedantic warning resulting from statement expression.
31272 (__ASSERT_FUNCTION): Add missing __extension__.
31274 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31276 * benchtests/bench-memmove-large.c: Print output in JSON
31278 * benchtests/bench-memmove.c: Likewise.
31280 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31281 * benchtests/bench-memchr.c (do_one_test): Likewise.
31282 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31283 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31284 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31285 * benchtests/bench-memmove.c (do_one_test): Likewise.
31286 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31287 * benchtests/bench-memset.c (do_one_test): Likewise.
31288 * benchtests/bench-string.h (test_init): Remove memsets.
31290 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31293 (Computing the Width of an Integer Data Type): Rename section to
31294 "Width of an Integer Type". Remove inaccurate statement regarding
31295 lack of C language facilities for determining width of integer
31296 types, and reorder content to improve flow and context of
31299 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31301 * lang.texi (va_copy): Change standard from ISO to C99.
31302 (__va_copy): Add standard and header annotation.
31303 Update description for clarity of origins and current use.
31305 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31308 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31309 xssqrtqp requires operands to be in Vector Registers
31310 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31311 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31312 (__ieee754_sqrtf128): Likewise.
31314 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31316 * sysdeps/aarch64/memcmp.S (memcmp):
31317 Rewrite of optimized memcmp.
31319 2017-08-10 Florian Weimer <fweimer@redhat.com>
31321 Introduce ld.so exceptions.
31322 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31323 (_dl_exception_create, _dl_exception_create_format)
31324 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31325 (_dl_catch_exception): Declare.
31326 (_dl_catch_error): Update comment.
31327 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31328 errstring, malloced members with exception member.
31329 (_dl_out_of_memory): Remove.
31330 (fatal_error): New function, extracted from _dl_signal_error.
31331 (_dl_signal_exception, _dl_signal_cexception): New functions.
31332 (_dl_signal_error): Call _dl_exception_create to allocate an
31334 (_dl_catch_exception): New function, based on _dl_catch_error.
31335 (_dl_catch_error): Implement using _dl_catch_exception.
31336 * elf/dl-exception.c: New file.
31337 * elf/Makefile (dl-routines): Add dl-exception.
31338 (elide-routines.os): Likewise.
31339 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31340 _dl_exception_create_format, _dl_exception_free.
31341 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31342 _dl_signal_exception.
31343 * elf/dl-lookup.c (make_string): Remove.
31344 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31345 _dl_signal_cexception, _dl_exception_free.
31346 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31347 _dl_signal_exception.
31348 * elf/dl-sym.c (do_sym): Likewise.
31349 * elf/dl-version.c (make_string): Remove.
31350 (match_symbol): Use _dl_exception_create_format,
31351 _dl_signal_cexception, _dl_exception_free.
31352 (_dl_check_map_versions): Likewise.
31353 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31354 _dl_catch_exception.
31355 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31356 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31357 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31358 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31359 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31360 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31361 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31362 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31364 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31371 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31372 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31373 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31375 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31377 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31379 2017-08-10 Florian Weimer <fweimer@redhat.com>
31381 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31382 attribute_hidden, internal_function.
31383 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31386 2017-08-10 Florian Weimer <fweimer@redhat.com>
31388 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31389 function which calls __builtin_unreachable.
31391 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31393 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31394 Indian monetary formatting
31395 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31398 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31400 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31401 Fix typo in comment.
31404 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31405 PTRACE_SEIZE_DEVEL): Remove.
31406 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31412 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31414 * posix/bits/types.h (__qaddr_t): Remove.
31417 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31418 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31420 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31421 (ucontext_t): Use __ctx with uc_flags.
31422 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31423 (__ctxt): Likewise.
31424 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31426 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31427 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31429 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31430 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31432 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31434 (ucontext_t): Use __ctx with uc_flags.
31435 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31436 (ucontext_t): Use __ctx with uc_flags.
31437 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31438 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31439 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31440 (ucontext_t): Use __ctx with uc_flags.
31441 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31442 undefine further down.
31443 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31445 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31446 undefine further down.
31447 (ucontext_t): Use __ctx with uc_flags.
31448 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31449 undefine further down.
31450 (ucontext_t): Use __ctx with uc_flags.
31451 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31452 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31453 Rename uc_pad to __glibc_reserved1.
31454 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31455 undefine further down.
31456 (ucontext_t): Use __ctx with uc_flags.
31457 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31459 (ucontext_t): Use __ctx with uc_flags.
31460 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31461 __ctx with uc_flags.
31462 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31463 (ucontext_t): Use __ctx with uc_flags.
31464 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31465 __ctx with uc_flags.
31467 2017-08-09 Florian Weimer <fweimer@redhat.com>
31470 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31471 before early return.
31473 2017-08-09 Andreas Schwab <schwab@suse.de>
31476 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31480 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31481 tst-compat-forwarder.
31482 (modules-names): Add tst-compat-forwarder-mod.
31483 ($(objpfx)tst-compat-forwarder): Depend on
31484 $(objpfx)tst-compat-forwarder-mod.so.
31485 * nptl/tst-compat-forwarder.c: New file.
31486 * nptl/tst-compat-forwarder-mod.c: New file.
31488 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31490 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31493 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31494 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31496 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31498 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31499 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31500 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31501 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31503 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31506 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31509 * manual/setjmp.texi (getcontex): Document uc_stack value
31510 compatibility differences.
31512 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31514 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31515 (old_malloc_hook): Likewise.
31516 (old_memalign_hook): Likewise.
31517 (old_realloc_hook): Likewise.
31518 (struct hdr): Likewise.
31520 (freehook): Likewise.
31521 (mallochook): Likewise.
31522 (memalignhook): Likewise.
31523 (reallochook): Likewise.
31524 (mprobe): Likewise.
31525 * malloc/mtrace.c (mallwatch): Likewise.
31526 (tr_old_free_hook): Likewise.
31527 (tr_old_malloc_hook): Likewise.
31528 (tr_old_realloc_hook): Likewise.
31529 (tr_old_memalign_hook): Likewise.
31530 (tr_where): Likewise.
31531 (lock_and_info): Likewise.
31532 (tr_freehook): Likewise.
31533 (tr_mallochook): Likewise.
31534 (tr_reallochook): Likewise.
31535 (tr_memalignhook): Likewise.
31536 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31537 * misc/mmap.c (__mmap): Likewise.
31538 * misc/mmap64.c (__mmap64): Likewise.
31539 * misc/mprotect.c (__mprotect): Likewise.
31540 * misc/msync.c (msync): Likewise.
31541 * misc/munmap.c (__munmap): Likewise.
31542 * posix/posix_madvise.c (posix_madvise): Likewise.
31543 * socket/send.c (__send): Likewise.
31544 * socket/sendto.c (__sendto): Likewise.
31545 * socket/setsockopt.c (__setsockopt): Likewise.
31546 * string/memcmp.c (__ptr_t): Remove macro.
31547 (MEMCMP): Use void * instead of ptr_t.
31548 * string/memrchr.c (__ptr_t): Remove macro.
31549 (__memrchr): Use void * instead of ptr_t.
31550 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31551 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31552 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31553 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31554 * sysdeps/mach/msync.c (msync): Likewise.
31555 * sysdeps/mach/munmap.c (__munmap): Likewise.
31556 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31558 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31559 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31560 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31561 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31562 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31563 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31564 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31565 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31567 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31568 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31569 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31570 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31571 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31572 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31573 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31574 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31575 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31577 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31578 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31579 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31580 (MEMCMP): Use void * instead of ptr_t.
31581 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31582 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31584 2017-08-08 Florian Weimer <fweimer@redhat.com>
31586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31589 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31592 * csu/libc-tls.c: Include <startup.h> first.
31593 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31594 * elf/dl-tunables.c: Include <startup.h> first.
31595 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31596 * sysdeps/generic/startup.h: New file.
31597 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31598 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31599 (I386_USE_SYSENTER): New. Defined to 0.
31601 2017-08-08 Andreas Schwab <schwab@suse.de>
31604 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31605 * nptl/pt-system.c (system): Likewise.
31607 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31610 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31612 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31613 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31614 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31615 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31616 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31617 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31618 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31620 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31623 * bits/sigaction.h (struct sigaction): Define sa_handler and
31624 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31625 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31626 [__USE_XOPEN_EXTENDED].
31627 (SA_RESTART): Likewise.
31628 (SA_NODEFER): Likewise.
31629 (SA_RESETHAND): Likewise.
31630 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31631 (struct sigaction): Define sa_handler and sa_sigaction using union
31632 also for [__USE_XOPEN_EXTENDED].
31633 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31634 [__USE_XOPEN_EXTENDED].
31635 (SA_RESTART): Likewise.
31636 (SA_NODEFER): Likewise.
31637 (SA_RESETHAND): Likewise.
31638 * sysdeps/unix/sysv/linux/bits/sigaction.h
31639 (struct sigaction): Define sa_handler and sa_sigaction using union
31640 also for [__USE_XOPEN_EXTENDED].
31641 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31642 [__USE_XOPEN_EXTENDED].
31643 (SA_RESTART): Likewise.
31644 (SA_NODEFER): Likewise.
31645 (SA_RESETHAND): Likewise.
31646 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31647 (struct sigaction): Define sa_handler and sa_sigaction using union
31648 also for [__USE_XOPEN_EXTENDED].
31649 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31650 [__USE_XOPEN_EXTENDED].
31651 (SA_RESTART): Likewise.
31652 (SA_NODEFER): Likewise.
31653 (SA_RESETHAND): Likewise.
31654 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31655 (struct sigaction): Define sa_handler and sa_sigaction using union
31656 also for [__USE_XOPEN_EXTENDED].
31657 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31658 [__USE_XOPEN_EXTENDED].
31659 (SA_RESTART): Likewise.
31660 (SA_NODEFER): Likewise.
31661 (SA_RESETHAND): Likewise.
31662 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31663 (struct sigaction): Define sa_handler and sa_sigaction using union
31664 also for [__USE_XOPEN_EXTENDED].
31665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31666 [__USE_XOPEN_EXTENDED].
31667 (SA_RESTART): Likewise.
31668 (SA_NODEFER): Likewise.
31669 (SA_RESETHAND): Likewise.
31670 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31671 (struct sigaction): Define sa_handler and sa_sigaction using union
31672 also for [__USE_XOPEN_EXTENDED].
31673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31674 [__USE_XOPEN_EXTENDED].
31675 (SA_RESTART): Likewise.
31676 (SA_NODEFER): Likewise.
31677 (SA_RESETHAND): Likewise.
31678 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31679 (struct sigaction): Define sa_handler and sa_sigaction using union
31680 also for [__USE_XOPEN_EXTENDED].
31681 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31682 [__USE_XOPEN_EXTENDED].
31683 (SA_RESTART): Likewise.
31684 (SA_NODEFER): Likewise. Define directly rather than as alias.
31685 (SA_RESETHAND): Likewise.
31686 (SA_INTERRUPT): Define only for [__USE_MISC].
31687 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31688 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31690 (SA_STACK): Define only for [__USE_MISC].
31691 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31692 (struct sigaction): Define sa_handler and sa_sigaction using union
31693 also for [__USE_XOPEN_EXTENDED].
31694 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31695 [__USE_XOPEN_EXTENDED].
31696 (SA_RESTART): Likewise.
31697 (SA_NODEFER): Likewise.
31698 (SA_RESETHAND): Likewise.
31699 (SA_NOPTRACE): Define only for [__USE_MISC].
31701 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31702 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31703 (struct catalog_info): Likewise.
31704 * inet/htontest.c (lo): Likewise.
31706 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31707 * inet/inet_net.c (inet_network): Likewise.
31708 * inet/inet_netof.c (inet_netof): Likewise.
31709 * inet/rcmd.c (__ivaliduser): Likewise.
31710 (iruserok): Likewise.
31711 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31712 * locale/programs/locale-spec.c (locale_special): Likewise.
31713 * nis/nis_findserv.c (struct findserv_req): Likewise.
31714 (__nis_findfastest_with_timeout): Likewise.
31715 * nss/test-netdb.c (test_network): Likewise.
31716 * resolv/inet_neta.c (inet_neta): Likewise.
31717 * resolv/ns_date.c (ns_datetosecs): Likewise.
31718 (SECS_PER_DAY): Likewise.
31719 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31721 * resolv/res_comp.c (__putlong): Likewise.
31722 (__putshort): Likewise.
31723 (_getlong): Likewise.
31724 (_getshort): Likewise.
31725 * resolv/res_debug.c (p_time): Likewise.
31726 (precsize_ntoa): Likewise.
31727 (precsize_aton): Likewise.
31728 (latlon2ul): Likewise.
31729 (loc_aton): Likewise.
31730 (loc_ntoa): Likewise.
31731 * resolv/res_hconf.c (struct netaddr): Likewise.
31732 (_res_hconf_reorder_addrs): Likewise.
31733 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31734 (clnttcp_control): Likewise.
31735 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31736 (clntudp_control): Likewise.
31737 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31738 (clntunix_control): Likewise.
31739 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31740 * sunrpc/rpc/auth.h (union des_block): Likewise.
31741 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31742 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31743 (xdrrec_create): Likewise.
31744 (xdrrec_endofrecord): Likewise.
31745 (flush_out): Likewise.
31746 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31747 (xdrstdio_putlong): Likewise.
31748 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31751 * misc/sys/cdefs.h (__long_double_t): Remove.
31752 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31753 instead of __long_double_t,
31754 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31756 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31758 * benchtests/scripts/compare_strings.py: Avoid display error when
31759 running on a text terminal.
31761 * benchtests/scripts/compare_strings.py (main): Add an
31762 optional -base option.
31763 (process_results): New argument base_func.
31765 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31767 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31768 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31770 2017-08-07 Andreas Schwab <schwab@suse.de>
31772 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31773 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31774 * intl/Makefile ($(objpfx)tst-gettext.out)
31775 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31776 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31777 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31778 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31779 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31780 * posix/Makefile ($(objpfx)globtest.out)
31781 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31782 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31783 ($(objpfx)tst-printf.out): Likewise.
31784 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31785 ($(objpfx)tst-setcontext3.out): Likewise.
31787 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31789 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31790 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31791 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31792 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31793 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31795 (CFLAGS-doasin-fma.c): New.
31796 (CFLAGS-dosincos-fma.c): Likewise.
31797 (CFLAGS-e_asin-fma.c): Likewise.
31798 (CFLAGS-e_atan2-fma.c): Likewise.
31799 (CFLAGS-e_exp-fma.c): Likewise.
31800 (CFLAGS-e_log-fma.c): Likewise.
31801 (CFLAGS-e_pow-fma.c): Likewise.
31802 (CFLAGS-halfulp-fma.c): Likewise.
31803 (CFLAGS-mpa-fma.c): Likewise.
31804 (CFLAGS-mpatan-fma.c): Likewise.
31805 (CFLAGS-mpatan2-fma.c): Likewise.
31806 (CFLAGS-mpexp-fma.c): Likewise.
31807 (CFLAGS-mplog-fma.c): Likewise.
31808 (CFLAGS-mpsqrt-fma.c): Likewise.
31809 (CFLAGS-mptan-fma.c): Likewise.
31810 (CFLAGS-s_atan-fma.c): Likewise.
31811 (CFLAGS-sincos32-fma.c): Likewise.
31812 (CFLAGS-slowexp-fma.c): Likewise.
31813 (CFLAGS-slowpow-fma.c): Likewise.
31814 (CFLAGS-s_sin-fma.c): Likewise.
31815 (CFLAGS-s_tan-fma.c): Likewise.
31816 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31817 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31818 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31821 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31824 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31825 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31826 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31827 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31828 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31829 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31830 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31833 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31841 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31842 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31843 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31844 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31845 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31846 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31848 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31850 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31851 (min_of_type_f): New macro.
31852 (min_of_type_): Likewise.
31853 (min_of_type_l): Likewise.
31854 (min_of_type_f128): Likewise.
31855 (min_of_type): Define using __MATH_TG and taking an expression
31857 (math_check_force_underflow): Pass expression instead of type to
31859 (math_check_force_underflow_nonneg): Likewise.
31861 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31863 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31864 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31865 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31867 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31870 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31871 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31872 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31873 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31874 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31875 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31876 memmove_chk-nonshared and memset_chk-nonshared
31877 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31878 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31879 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31880 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31881 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31882 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31883 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31884 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31885 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31886 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31887 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31888 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31889 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31890 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31891 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31892 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31893 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31894 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31895 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31896 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31897 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31898 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31899 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31900 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31901 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31902 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31903 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31904 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31905 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31906 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31907 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31908 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31909 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31910 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31911 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31912 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31913 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31914 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31915 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31916 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31917 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31918 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31919 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31920 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31921 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31922 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31923 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31924 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31925 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31926 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31927 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31928 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31929 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31930 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31931 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31932 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31933 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31934 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31935 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31936 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31937 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31938 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31939 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31940 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31941 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31942 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31943 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31944 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31945 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31946 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31947 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31951 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31952 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31953 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31954 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31955 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31956 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31957 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31961 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31962 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31963 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31964 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31967 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31968 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31969 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31971 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31972 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31973 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31974 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31975 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31976 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31979 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31980 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31981 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31982 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31983 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31984 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31986 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31988 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31989 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31990 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31991 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31992 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31993 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31994 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31995 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31996 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31997 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31998 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31999 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32000 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32001 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32002 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32003 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32004 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32005 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32006 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32008 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32009 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32015 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32016 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32017 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32018 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32021 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32024 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32029 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32030 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32033 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32034 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32036 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32037 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32038 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32039 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32042 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32045 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32046 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32049 Don't include <sysdep.h> nor <init-arch.h>.
32050 (_ZGVbN2v_cos): Removed.
32051 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32053 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32054 Don't include <sysdep.h> nor <init-arch.h>.
32055 (_ZGVdN4v_cos): Removed.
32056 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32058 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32059 Don't include <sysdep.h> nor <init-arch.h>.
32060 (_ZGVeN8v_cos): Removed.
32061 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32063 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32064 Don't include <sysdep.h> nor <init-arch.h>.
32065 (_ZGVbN2v_exp): Removed.
32066 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32068 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32069 Don't include <sysdep.h> nor <init-arch.h>.
32070 (_ZGVdN4v_exp): Removed.
32071 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32073 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32074 Don't include <sysdep.h> nor <init-arch.h>.
32075 (_ZGVeN8v_exp): Removed.
32076 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32078 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32079 Don't include <sysdep.h> nor <init-arch.h>.
32080 (_ZGVbN2v_log): Removed.
32081 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32083 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32084 Don't include <sysdep.h> nor <init-arch.h>.
32085 (_ZGVdN4v_log): Removed.
32086 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32088 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32089 Don't include <sysdep.h> nor <init-arch.h>.
32090 (_ZGVeN8v_log): Removed.
32091 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32093 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32094 Don't include <sysdep.h> nor <init-arch.h>.
32095 (_ZGVbN2vv_pow): Removed.
32096 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32098 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32099 Don't include <sysdep.h> nor <init-arch.h>.
32100 (_ZGVdN4vv_pow): Removed.
32101 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32103 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32104 Don't include <sysdep.h> nor <init-arch.h>.
32105 (_ZGVeN8vv_pow): Removed.
32106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32109 Don't include <sysdep.h> nor <init-arch.h>.
32110 (_ZGVbN2v_sin): Removed.
32111 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32113 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32114 Don't include <sysdep.h> nor <init-arch.h>.
32115 (_ZGVbN4v_sin): Removed.
32116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32118 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32119 Don't include <sysdep.h> nor <init-arch.h>.
32120 (_ZGVbN8v_sin): Removed.
32121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32124 Don't include <sysdep.h> nor <init-arch.h>.
32125 (_ZGVbN2vvv_sincos): Removed.
32126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32128 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32129 Don't include <sysdep.h> nor <init-arch.h>.
32130 (_ZGVdN4vvv_sincos): Removed.
32131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32134 Don't include <sysdep.h> nor <init-arch.h>.
32135 (_ZGVeN8vvv_sincos): Removed.
32136 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32138 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32139 Don't include <sysdep.h> nor <init-arch.h>.
32140 (_ZGVeN16v_cosf): Removed.
32141 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32143 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32144 Don't include <sysdep.h> nor <init-arch.h>.
32145 (_ZGVbN4v_cosf): Removed.
32146 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32148 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32149 Don't include <sysdep.h> nor <init-arch.h>.
32150 (_ZGVdN8v_cosf): Removed.
32151 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32153 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32154 Don't include <sysdep.h> nor <init-arch.h>.
32155 (_ZGVeN16v_expf): Removed.
32156 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32158 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32159 Don't include <sysdep.h> nor <init-arch.h>.
32160 (_ZGVbN4v_expf): Removed.
32161 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32163 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32164 Don't include <sysdep.h> nor <init-arch.h>.
32165 (_ZGVdN8v_expf): Removed.
32166 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32168 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32169 Don't include <sysdep.h> nor <init-arch.h>.
32170 (_ZGVeN16v_logf): Removed.
32171 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32173 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32174 Don't include <sysdep.h> nor <init-arch.h>.
32175 (_ZGVbN4v_logf): Removed.
32176 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32178 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32179 Don't include <sysdep.h> nor <init-arch.h>.
32180 (_ZGVdN8v_logf): Removed.
32181 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32183 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32184 Don't include <sysdep.h> nor <init-arch.h>.
32185 (_ZGVeN16vv_powf): Removed.
32186 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32188 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32189 Don't include <sysdep.h> nor <init-arch.h>.
32190 (_ZGVbN4vv_powf): Removed.
32191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32193 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32194 Don't include <sysdep.h> nor <init-arch.h>.
32195 (_ZGVdN8vv_powf): Removed.
32196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32199 Don't include <sysdep.h> nor <init-arch.h>.
32200 (_ZGVeN16vvv_sincosf): Removed.
32201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32203 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32204 Don't include <sysdep.h> nor <init-arch.h>.
32205 (_ZGVbN4vvv_sincosf): Removed.
32206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32209 Don't include <sysdep.h> nor <init-arch.h>.
32210 (_ZGVdN8vvv_sincosf): Removed.
32211 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32213 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32214 Don't include <sysdep.h> nor <init-arch.h>.
32215 (_ZGVeN16v_sinf): Removed.
32216 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32218 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32219 Don't include <sysdep.h> nor <init-arch.h>.
32220 (_ZGVbN4v_sinf): Removed.
32221 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32223 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32224 Don't include <sysdep.h> nor <init-arch.h>.
32225 (_ZGVdN8v_sinf): Removed.
32227 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32229 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32230 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32231 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32232 s_rint-sse4_1 and s_rintf-sse4_1.
32233 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32234 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32235 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32236 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32237 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32239 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32240 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32241 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32242 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32243 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32244 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32246 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32247 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32248 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32249 (__ceilf): Removed.
32250 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32251 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32252 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32253 (__floor): Removed.
32254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32255 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32256 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32257 (__floorf): Removed.
32258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32259 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32260 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32261 (__nearbyint): Removed.
32262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32263 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32264 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32265 (__nearbyintf): Removed.
32266 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32267 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32268 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32270 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32271 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32272 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32273 (__rintf): Removed.
32275 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32277 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32278 SHARED. Avoid dynamic relocation against main in static PIE.
32280 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32283 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32284 (LDFLAGS-tst-prelink): Likewise.
32286 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32288 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32289 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32290 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32291 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32292 (INTERNAL_SYSCALL_NCS): Likewise.
32293 (LOADARGS_1): Likewise.
32294 (LOADARGS_5): Likewise.
32295 (RESTOREARGS_1): Likewise.
32296 (RESTOREARGS_5): Likewise.
32298 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32300 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32301 (MEMPCPY_SYMBOL): Likewise.
32302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32303 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32307 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32309 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32310 (__hidden_ver1): Don't use in libc.a.
32311 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32312 (__mempcpy): Don't create a weak alias in libc.a.
32313 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32315 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32316 (__hidden_ver1): Don't use in libc.a.
32318 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32320 * config.make.in (have-insert): New.
32321 * configure.ac (libc_cv_insert): New. Set to yes if linker
32322 supports INSERT in linker script.
32323 (AC_SUBST(libc_cv_insert): New.
32324 * configure: Regenerated.
32325 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32326 if $(have-insert) == yes.
32328 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32330 * elf/Makefile (tests): Add vismain only if
32331 $(have-protected-data) == yes.
32332 (tests-pie): Likewise.
32334 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32337 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32338 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32340 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32343 * sysdeps/i386/i586/memset.S
32344 (__memset_zero_constant_len_parameter): Removed.
32345 * sysdeps/i386/i686/memset.S
32346 (__memset_zero_constant_len_parameter): Likewise.
32347 * sysdeps/i386/i686/multiarch/memset_chk.S
32348 (__memset_zero_constant_len_parameter): Likewise.
32349 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32352 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32354 * stdlib/getentropy.c (getentropy): Change return type to int.
32356 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32358 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32360 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32362 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32364 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32365 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32367 (ieee_float_shape_type): Likewise.
32368 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32369 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32370 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32371 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32372 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32373 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32374 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32375 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32376 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32378 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32379 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32380 (__ieee754_yn): Likewise.
32381 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32382 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32385 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32386 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32387 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32388 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32389 (__erfc): Likewise.
32390 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32391 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32392 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32393 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32394 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32395 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32397 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32398 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32399 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32401 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32402 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32403 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32404 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32405 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32406 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32407 (__issignaling): Likewise.
32408 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32409 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32410 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32413 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32414 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32415 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32417 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32419 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32420 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32421 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32422 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32423 (__erfcf): Likewise.
32424 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32425 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32426 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32427 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32429 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32430 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32432 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32433 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32434 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32435 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32436 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32437 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32438 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32439 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32441 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32443 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32445 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32446 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32448 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32450 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32451 (__ieee754_ynl): Likewise.
32452 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32453 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32455 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32457 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32458 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32459 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32461 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32462 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32463 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32464 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32465 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32466 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32467 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32468 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32470 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32471 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32472 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32474 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32475 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32476 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32477 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32478 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32481 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32483 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32487 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32488 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32489 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32490 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32491 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32492 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32500 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32501 (__ieee754_remainderl): Likewise.
32502 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32503 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32504 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32505 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32507 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32510 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32511 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32512 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32513 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32514 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32517 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32518 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32519 (__ieee754_y0l): Likewise.
32522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32523 (__ieee754_y1l): Likewise.
32526 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32527 (__ieee754_ynl): Likewise.
32528 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32529 (__ieee754_lgammal_r): Likewise.
32530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32532 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32533 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32534 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32535 (__erfcl): Likewise.
32536 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32537 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32539 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32540 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32541 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32542 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32543 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32544 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32545 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32547 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32548 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32549 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32550 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32551 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32553 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32554 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32556 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32557 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32558 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32559 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32560 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32562 2017-08-03 Florian Weimer <fweimer@redhat.com>
32565 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32566 on memory allocation failure.
32568 2017-08-03 Alan Modra <amodra@gmail.com>
32570 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32571 tst-tlsopt-powerpc.c with function name change and no test harness.
32572 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32573 Call tls_get_addr_opt_test.
32574 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32575 (modules-names): Add mod-tlsopt-powerpc.
32576 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32577 (tst-tlsopt-powerpc): Depend on .so.
32578 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32579 define. Expand use in TLS_GD and TLS_LD.
32581 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32583 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32585 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32587 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32590 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32591 comparing size with that of double.
32592 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32593 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32594 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32595 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32596 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32597 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32598 unsigned __int128 types.
32600 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32602 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32603 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32604 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32605 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32606 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32608 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32610 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32612 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32614 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32616 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32617 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32620 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32624 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32627 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32628 bit-field expressions passed to sizeof or typeof.
32629 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32630 (__TGMATH_F128): Likewise.
32631 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32632 (__TGMATH_CF128): Likewise.
32633 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32634 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32635 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32636 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32637 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32638 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32639 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32640 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32641 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32642 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32643 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32644 (__TGMATH_UNARY_IMAG): Likewise.
32645 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32646 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32647 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32649 (define_vars_for_type): Handle bit_field type specially.
32650 (Tests.__init__): Declare structure with bit-field element.
32652 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32655 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32656 (MEMCPY_CHK): Define only if SHARED is defined.
32657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32662 See ChangeLog.18 for earlier changes.