1 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5 rather than after operators.
6 * elf/cache.c (print_cache): Likewise.
7 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
8 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
9 * hurd/hurdinit.c (_hurd_setproc): Likewise.
10 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
11 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
12 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
13 (reauth_proc): Likewise.
14 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
15 (__file_name_split_at): Likewise.
16 (__directory_name_split_at): Likewise.
17 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18 * hurd/port2fd.c (_hurd_port2fd): Likewise.
19 * iconv/gconv_dl.c (do_print): Likewise.
20 * inet/netinet/in.h (struct sockaddr_in): Likewise.
21 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
22 * locale/setlocale.c (new_composite_name): Likewise.
23 * malloc/memusagestat.c (main): Likewise.
24 * misc/fstab.c (fstab_convert): Likewise.
25 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
28 (getgrent_next_file): Likewise.
29 (internal_getgrnam_r): Likewise.
30 (internal_getgrgid_r): Likewise.
31 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
33 (internal_getgrent_r): Likewise.
34 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35 (getpwent_next_nss): Likewise.
36 (getpwent_next_file): Likewise.
37 (internal_getpwnam_r): Likewise.
38 (internal_getpwuid_r): Likewise.
39 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
41 (getspent_next_nss): Likewise.
42 (internal_getspnam_r): Likewise.
43 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
44 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
45 * string/strchr.c (STRCHR): Likewise.
46 * string/strchrnul.c (STRCHRNUL): Likewise.
47 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
48 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
49 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
50 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
51 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
53 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
54 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
55 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
56 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
57 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
58 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
59 (open_file): Likewise.
60 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
61 (pthread_mutexattr_setprotocol): Likewise.
62 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
63 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
64 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
65 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
66 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
68 (elf_machine_rela): Likewise.
69 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
70 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
71 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
72 * sysdeps/posix/rename.c (rename): Likewise.
73 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
74 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
75 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
76 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
77 * sysdeps/unix/grantpt.c (grantpt): Likewise.
78 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
79 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
81 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
83 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
84 * time/tzfile.c (__tzfile_compute): Likewise.
86 2019-02-22 Joseph Myers <joseph@codesourcery.com>
88 * benchtests/bench-memmem.c (simple_memmem): Break lines before
89 rather than after operators.
90 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
91 * crypt/md5.c (md5_finish_ctx): Likewise.
92 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
93 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
94 * elf/cache.c (load_aux_cache): Likewise.
95 * elf/dl-load.c (open_verify): Likewise.
96 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
97 * elf/readelflib.c (process_elf_file): Likewise.
98 * elf/rtld.c (dl_main): Likewise.
99 * elf/sprof.c (generate_call_graph): Likewise.
100 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
101 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
102 * hurd/dtable.c (reauth_dtable): Likewise.
103 * hurd/getdport.c (__getdport): Likewise.
104 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
105 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
106 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
108 * hurd/hurdioctl.c (fioctl): Likewise.
109 * hurd/hurdselect.c (_hurd_select): Likewise.
110 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
111 (STOPSIGS): Likewise.
112 * hurd/hurdstartup.c (_hurd_startup): Likewise.
113 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
114 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
115 * hurd/msgportdemux.c (msgport_server): Likewise.
116 * hurd/setauth.c (_hurd_setauth): Likewise.
117 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
118 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
119 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
120 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
121 * login/tst-utmp.c (do_check): Likewise.
122 (simulate_login): Likewise.
123 * mach/lowlevellock.h (lll_lock): Likewise.
124 (lll_trylock): Likewise.
125 * math/test-fenv.c (ALL_EXC): Likewise.
126 * math/test-fenvinline.c (ALL_EXC): Likewise.
127 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
128 * nis/nis_call.c (__do_niscall3): Likewise.
129 * nis/nis_callback.c (cb_prog_1): Likewise.
130 * nis/nis_defaults.c (searchaccess): Likewise.
131 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
132 * nis/nis_ismember.c (internal_ismember): Likewise.
133 * nis/nis_local_names.c (nis_local_principal): Likewise.
134 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
135 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
137 * nis/ypclnt.c (yp_match): Likewise.
138 (yp_first): Likewise.
140 (yp_master): Likewise.
141 (yp_order): Likewise.
142 * nscd/hstcache.c (cache_addhst): Likewise.
143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
144 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
145 (internal_getpwuid_r): Likewise.
146 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
147 * posix/glob.h (__GLOB_FLAGS): Likewise.
148 * posix/regcomp.c (peek_token): Likewise.
149 (peek_token_bracket): Likewise.
150 (parse_expression): Likewise.
151 * posix/regexec.c (sift_states_iter_mb): Likewise.
152 (check_node_accept_bytes): Likewise.
153 * posix/tst-spawn3.c (do_test): Likewise.
154 * posix/wordexp-test.c (testit): Likewise.
155 * posix/wordexp.c (parse_tilde): Likewise.
156 (exec_comm): Likewise.
157 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
158 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
159 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
160 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
161 * stdio-common/tst-fileno.c (do_test): Likewise.
162 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
163 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
164 * stdlib/strtod_l.c (round_and_return): Likewise.
165 (____STRTOF_INTERNAL): Likewise.
166 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
167 * string/strcspn.c (STRCSPN): Likewise.
168 * string/test-memmem.c (simple_memmem): Likewise.
169 * termios/tcsetattr.c (tcsetattr): Likewise.
170 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
171 * time/asctime.c (asctime_internal): Likewise.
172 * time/strptime_l.c (__strptime_internal): Likewise.
173 * time/sys/time.h (timercmp): Likewise.
174 * time/tzfile.c (__tzfile_compute): Likewise.
176 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
179 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
181 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
183 * argp/argp-help.c (__argp_error_internal): New function,
184 renamed from __argp_error, but that takes a 'mode_flags'
185 parameter to control the format of long double parameters.
186 (__argp_error): Converted into a call __argp_error_internal.
187 (__argp_failure_internal): New function, renamed from
188 __argp_failure, but that takes a 'mode_flags' parameter.
189 (__argp_failure): Converted into a call __argp_failure_internal.
190 * misc/err.c (__vwarnx_internal): New function, renamed from
191 vwarnx, but that takes a 'mode_flags' parameter.
192 (vwarnx): Converted into a call to __vwarnx_internal.
193 (__vwarn_internal): New function, renamed from vwarn, but that
194 takes a 'mode_flags' parameter.
195 (vwarn): Converted into a call to __vwarn_internal.
196 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
197 call to __vfxprintf with 'mode_flags'.
198 (__error_internal): New function, renamed from error, but that
199 takes a 'mode_flags' parameter.
200 (error): Converted into a call to __error_internal.
201 (__error_at_line_internal): New function, renamed from
202 error_at_line, but that takes a 'mode_flags' parameter.
203 (error_at_line): Converted into a call to
204 __error_at_line_internal.
205 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
206 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
209 2019-02-20 Martin Liska <mliska@suse.cz>
211 * math/Makefile: Install math-vector-fortran.h.
212 * bits/math-vector-fortran.h: New file.
213 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
215 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
217 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
218 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
220 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
222 * nptl/pthread_mutex_trylock.c: Fix comment.
224 2019-02-19 Carlos O'Donell <carlos@redhat.com>
226 * nptl/pthread_tryjoin.c: Fix comment.
228 2019-02-18 Joseph Myers <joseph@codesourcery.com>
231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
232 after R_SPARC_H34 case.
234 2019-02-18 Florian Weimer <fweimer@redhat.com>
236 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
237 (getanswer): Do not call Dprintf.
238 (res_gethostbyname2_context): Likewise.
239 (res_gethostbyaddr_context): Likewise.
241 2019-02-18 Florian Weimer <fweimer@redhat.com>
243 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
245 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
247 * libio/stdfiles.c: Update comment.
248 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
249 set _IO_stdin, _IO_stdout, _IO_stderr.
250 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
251 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
253 (_IO_deallocate_file): New inline function.
254 * libio/iolibio.h (_IO_vprintf): Remove definition.
255 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
256 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
257 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
259 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
260 __builtin_expect. Use _IO_legacy_file.
262 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
264 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
265 Initialize ctid with a known value and remove update of ctid
267 (wait_tid): Adjust arguments and call futex_wait with ctid_val
268 as assumed current value of ctid_ptr.
270 2019-02-15 Florian Weimer <fweimer@redhat.com>
272 Check that non-sysdeps headers have wrapper headers.
273 * scripts/check-wrapper-headers.py: New file.
274 * Makefile (tests-special): Add check-wrapper-headers.out.
275 (check-wrapper-headers.out): New target.
276 * Rules (tests-special): Add check-wrapper-headers.out.
277 (check-wrapper-headers.out): New target.
279 2019-02-15 Florian Weimer <fweimer@redhat.com>
281 Add missing header wrappers under include/.
282 * include/ar.h: New file.
283 * include/bits/mqueue2.h: Likewise.
284 * include/bits/stdio.h: Likewise.
285 * include/bits/stdio2.h: Likewise.
286 * include/fstab.h: Likewise.
287 * include/fts.h: Likewise.
288 * include/lastlog.h: Likewise.
289 * include/netinet/icmp6.h: Likewise.
290 * include/netinet/igmp.h: Likewise.
291 * include/netinet/ip6.h: Likewise.
292 * include/re_comp.h: Likewise.
293 * include/regexp.h: Likewise.
294 * include/rpcsvc/bootparam.h: Likewise.
295 * include/rpcsvc/yp_prot.h: Likewise.
296 * include/sys/random.h: Likewise.
297 * include/sys/stropts.h: Likewise.
298 * include/sys/ttychars.h: Likewise.
299 * include/sys/vfs.h: Likewise.
300 * include/wait.h: Likewise.
302 2019-02-15 Florian Weimer <fweimer@redhat.com>
304 * nptl_db/proc_service.h: Move to ...
305 * sysdeps/nptl/proc_service.h: ... here.
306 * nptl_db/thread_db.h: Move to ...
307 * sysdeps/nptl/thread_db.h: ... here.
308 * nptl/descr.h: Include <thread_db.h>.
310 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
312 * io/Makefile (tests): Add tst-lockf.
313 * io/lockf.c (lockf): Use __fcntl and only define for
314 !__OFF_T_MATCHES_OFF64_T.
315 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
316 __OFF_T_MATCHES_OFF64_T case.
317 * io/tst-lockf.c: New file.
318 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
319 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
320 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
321 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
324 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
325 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
326 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
328 2019-02-15 Florian Weimer <fweimer@redhat.com>
331 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
332 pd->result after the thread descriptor has been freed.
334 2019-02-15 Joseph Myers <joseph@codesourcery.com>
336 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
337 from function return type.
339 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
341 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
343 * scripts/test_printers_common.py: Set TERM to a known harmless
346 2019-02-14 Joseph Myers <joseph@codesourcery.com>
348 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
349 (xdr_u_int): Likewise.
350 (xdr_enum): Likewise.
351 (xdr_bytes): Reword fall-through comment.
352 (xdr_string): Likewise.
354 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
357 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
358 (tests): Add tst-join8 tst-join9.
359 * nptl/lll_timedwait_tid.c: Remove file.
360 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
361 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
362 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
363 * nptl/pthread_join_common.c (timedwait_tid): New function.
364 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
366 * nptl/tst-join5.c (thread_join): New function.
367 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
369 * nptl/tst-join8.c: New file.
370 * nptl/tst-join9.c: Likewise.
371 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
372 lll_futex_timed_wait_cancel): Add generic macros.
373 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
376 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
377 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
378 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
380 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
383 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
384 (lll_futex_timed_wait_cancel): New macro.
386 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
388 * benchtests/Makefile: Add malloc-simple benchmark.
389 * benchtests/bench-malloc-simple.c: New benchmark.
391 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
393 * benchtests/bench-memmove.c (do_one_test): Remove unused
396 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
400 2019-01-13 Jim Wilson <jimw@sifive.com>
403 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
404 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
406 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
408 * nptl/Makefile (tests): Add tst-unwind-thread.
409 (CFLAGS-tst-unwind-thread.c): Define.
410 * nptl/tst-unwind-thread.c: New file.
411 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
414 2019-02-13 Joseph Myers <joseph@codesourcery.com>
416 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
418 * nis/nis_call.c (__do_niscall3): Likewise.
420 * catgets/gencat.c (normalize_line): Use braces around empty
422 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
423 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
424 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
425 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
426 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
427 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
428 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
431 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
434 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
436 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
437 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
438 * benchtests/bench-strchr.c (stupid_strchr): Remove.
439 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
440 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
441 * benchtests/bench-strlen.c (builtin_strlen): Remove.
442 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
443 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
444 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
445 * benchtests/bench-strspn.c (stupid_strspn): Remove.
446 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
447 * benchtests/bench-bcopy.c: Delete file.
448 * benchtests/bench-bzero.c: Likewise.
449 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
450 (simple_memccpy): Remove.
451 (generic_memccpy): Add function.
452 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
453 * benchtests/bench-memmove.c (simple_bcopy): Remove.
454 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
455 (generic_mempcpy): Add new function.
456 * benchtests/bench-memset.c (simple_bzero): Remove.
457 (builtin_bzero): Remove.
458 (builtin_memset): Remove.
459 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
460 (generic_rawmemchr): Add new function.
462 2019-02-12 Florian Weimer <fweimer@redhat.com>
464 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
466 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
469 * elf/Makefile (tests): Add tst-audit13.
470 (modules-names): Add tst-audit13mod1.
471 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
473 * elf/tst-audit13.c: New file.
474 * elf/tst-audit13mod1.c: Likewise.
476 2019-02-12 Florian Weimer <fweimer@redhat.com>
479 * elf/rtld.c (unload_audit_module): New function.
480 (report_audit_module_load_error): Likewise.
481 (load_audit_module): Likewise. Extracted from dl_main. Call
482 _dl_close if the laversion symbol cannot be found. Use early
483 returns for error handling. Add malloc error check. Check for a
484 zero return value from la_version. Remove spurious comment about
485 static TLS initialization. Remove useless casts.
486 (notify_audit_modules_of_loaded_object): New function. Extracted
488 (load_audit_module): Likewise.
489 (dl_main): Call load_audit_modules.
491 2019-02-12 Joseph Myers <joseph@codesourcery.com>
493 * elf/dl-exception.c (_dl_exception_create_format): Add
494 fall-through comments.
495 * elf/ldconfig.c (parse_conf_include): Likewise.
496 * elf/rtld.c (print_statistics): Likewise.
497 * locale/programs/charmap.c (parse_charmap): Likewise.
498 * misc/mntent_r.c (__getmntent_r): Likewise.
499 * posix/wordexp.c (parse_arith): Likewise.
500 (parse_backtick): Likewise.
501 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
502 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
505 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
507 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
508 Use float instead of double.
510 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
512 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
514 2019-02-08 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/powerpc/bits/mathinline.h: Remove.
518 2019-02-08 Florian Weimer <fweimer@redhat.com>
520 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
521 * math/bits/math-finite.h: Move to ...
522 * bits/math-finite.h: ... here.
524 2019-02-08 Florian Weimer <fweimer@redhat.com>
526 * sysdeps/generic/bits/unistd_ext.h: Move to ...
527 * bits/unistd_ext.h: here.
529 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
532 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
533 * nss/tst-nss-files-hosts-long.c: New file.
534 * nss/tst-nss-files-hosts-long.root: New directory.
535 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
536 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
538 2019-02-08 Florian Weimer <fweimer@redhat.com>
540 * include/bits/unistd_ext.h: Remove file.
541 * posix/bits/unistd_ext.h: Move to ...
542 * sysdeps/generic/bits/unistd_ext.h: ... here.
544 2019-02-08 Florian Weimer <fweimer@redhat.com>
546 * include/bits/unistd_ext.h: New file.
548 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
550 * time/tst-strftime2.c: Use array_length macros instead of magic
553 2019-02-08 Florian Weimer <fweimer@redhat.com>
556 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
558 * nptl/register-atfork.c (__run_fork_handlers): Only perform
559 locking if the new do_locking argument is true.
560 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
563 2019-02-08 Florian Weimer <fweimer@redhat.com>
566 Linux: Add gettid system call wrapper.
567 * posix/Makefile (headers): Add bits/unistd_ext.h.
568 * posix/bits/unistd_ext.h: New file.
569 * posix/unistd.h: Include it.
570 * manual/process.texi (Process Identification): Document gettid.
571 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
572 tst-gettid, tst-gettid-kill.
573 (tst-gettid): Link with $(shared-thread-library).
574 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
575 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
576 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
577 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
578 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
579 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
581 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
583 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
584 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
586 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
588 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
590 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
592 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
594 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
596 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
598 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
599 (GLIBC_2.30): Likewise.
600 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
601 (GLIBC_2.30): Likewise.
602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
603 (GLIBC_2.30): Likewise.
604 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
605 (GLIBC_2.30): Likewise.
606 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
609 (GLIBC_2.30): Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
611 (GLIBC_2.30): Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
613 (GLIBC_2.30): Likewise.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
615 (GLIBC_2.30): Likewise.
616 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
618 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
620 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
622 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
623 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
625 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
627 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
629 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
631 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
633 2019-02-07 Florian Weimer <fweimer@redhat.com>
635 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
636 compatibility symbols.
638 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
641 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
642 Add compiler barriers and comments.
644 2019-02-07 Florian Weimer <fweimer@redhat.com>
646 * include/array_length.h (array_length): Do not use a statement
647 expression and _Static_assert, so that array_length can be used at
648 file scope and as a constant expression.
650 2019-02-07 Florian Weimer <fweimer@redhat.com>
652 * support/xdlfcn.h (xdlmopen): Declare.
653 * support/xdlmopen.c: New file.
654 * support/Makefile (libsupport-routines): Add xdlmopen.
656 2019-02-06 Joseph Myers <joseph@codesourcery.com>
658 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
659 before return type, without separate inline.
660 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
661 * elf/dl-tunables.h (tunable_is_name): Likewise.
662 * malloc/malloc.c (do_set_trim_threshold): Likewise.
663 (do_set_top_pad): Likewise.
664 (do_set_mmap_threshold): Likewise.
665 (do_set_mmaps_max): Likewise.
666 (do_set_mallopt_check): Likewise.
667 (do_set_perturb_byte): Likewise.
668 (do_set_arena_test): Likewise.
669 (do_set_arena_max): Likewise.
670 (do_set_tcache_max): Likewise.
671 (do_set_tcache_count): Likewise.
672 (do_set_tcache_unsorted_limit): Likewise.
673 * nis/nis_subr.c (count_dots): Likewise.
674 * nptl/allocatestack.c (advise_stack_range): Likewise.
675 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
677 (reduce_sincos): Likewise.
678 (do_sincos): Likewise.
679 * sysdeps/unix/sysv/linux/x86/elision-conf.c
680 (do_set_elision_enable): Likewise.
681 (TUNABLE_CALLBACK_FNDECL): Likewise.
683 2019-02-06 Florian Weimer <fweimer@redhat.com>
685 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
686 (xdlsym): Use dlerror to detect a NULL symbol.
688 2019-02-06 Florian Weimer <fweimer@redhat.com>
690 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
694 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
696 * libio/tst-bz24153.c (wide): Use wide char format specifier.
698 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
700 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
701 __wmemcmp and weak alias to wmemcmp.
703 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
706 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
707 TLS_TCB_AT_TP tls variant.
708 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
709 Add alignment checks.
710 * support/Makefile (libsupport-routines): Add xposix_memalign and
712 * support/support.h: Add xposix_memalign.
713 * support/xthread.h: Add xpthread_attr_setstack.
714 * support/xposix_memalign.c: New File.
715 * support/xpthread_attr_setstack.c: Likewise.
717 2019-02-05 Florian Weimer <fweimer@redhat.com>
720 arm: Use "nr" constraint for Systemtap probes, to avoid the
721 compiler using memory operands for constants, due to the "o"
722 alternative in the default "nor" constraint.
723 * include/stap-probe.h [USE_STAP_PROBE]: Include
724 <stap-probe-machine.h>
725 * sysdeps/generic/stap-probe-machine.h: New file.
726 * sysdeps/arm/stap-probe-machine.h: Likewise.
728 2019-02-04 Joseph Myers <joseph@codesourcery.com>
730 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
731 with 0, not tcache->entries[tc_idx].
733 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
736 2019-02-04 Andreas Schwab <schwab@suse.de>
740 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
741 looking up collating elements match against (wide) character
742 sequence instead of name. Correct alignment adjustment.
743 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
744 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
745 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
746 (LOCALES): Add cs_CZ.ISO-8859-2.
747 * posix/tst-fnmatch4.c: New file.
748 * posix/tst-fnmatch5.c: New file.
749 * include/wchar.h (__wmemcmp): Declare.
750 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
751 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
752 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
753 * sysdeps/s390/wmemcmp.c: Likewise.
755 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
759 * NEWS: Updated for CVE-2019-7309.
760 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
761 upper 32 bits of RDX register for x32. Use unsigned Jcc
762 instructions, instead of signed.
763 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
764 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
766 2019-02-04 Florian Weimer <fweimer@redhat.com>
768 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
769 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
770 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
772 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
773 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
774 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
775 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
777 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
779 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
781 (posix_spawn_file_actions_addopen): Likewise.
782 (posix_spawn_file_actions_addclose): Likewise.
783 (posix_spawn_file_actions_adddup2): Likewise.
784 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
786 (posix_spawn_file_actions_addfchdir_np): Likewise.
788 2019-02-04 David Newall <glibc@davidnewall.com>
790 elf: Implement --preload option for the dynamic linker.
791 * elf/rtld.c (preloadarg): New variable.
792 (handle_preload_list): Pass through “where” argument to
794 (dl_main): Handle "--preload" and add second call to
796 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
797 (tst-rtld-preload-OBJS): Set variable.
798 (tst-rtld-preload.out): New target.
799 * elf/tst-rtld-preload.sh: New file.
801 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
803 * Makefile (testrun.sh): Exit in case of incorrect argument.
805 2019-02-04 Florian Weimer <fweimer@redhat.com>
807 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
810 2019-02-03 Florian Weimer <fweimer@redhat.com>
812 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
813 implicit overflow checks.
815 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
817 * stdlib/isomac.c: Include <unistd.h>.
819 2019-02-03 Florian Weimer <fweimer@redhat.com>
821 * include/time.h (__tzfile_default): Use int, not long int, for
823 * time/tzfile.c (struct ttinfo): Change type of the offset member
825 (__tzfile_read): Remove useless cast.
826 (__tzfile_default): Adjust prototype.
827 * time/tzset.c (tz_rule): Change type of the offset member to int.
828 (parse_offset): Change the type of the sign variable to int.
830 2019-02-03 Florian Weimer <fweimer@redhat.com>
833 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
834 * libio/getchar.c (getchar): Likewise.
835 * libio/getchar_u.c (getchar_unlocked): Likewise.
836 * libio/getwchar.c (getwchar): Likewise.
837 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
838 * libio/iogets.c (_IO_gets): Likewise.
839 * libio/vscanf.c (_IO_vscanf): Likewise.
840 * libio/vwscanf.c (__vwscanf): Likewise.
841 * libio/tst-bz24153.c: New file.
842 * libio/Makefile (tests): Add it.
844 2019-02-02 Florian Weimer <fweimer@redhat.com>
847 * manual/resource.texi (Basic Scheduling Functions): Add
848 portability note. Change process to task throughout the section.
849 Remove incorrect comment about sched_yield as it affects
850 tasks/threads, not entire processes.
851 * sysdeps/unix/sysv/linux/bits/posix_opt.h
852 (_POSIX_PRIORITY_SCHEDULING): Update comment.
854 2019-02-01 Joseph Myers <joseph@codesourcery.com>
856 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
857 * configure: Regenerated.
858 * manual/install.texi (Tools for Compilation): Update minimum GCC
860 * INSTALL: Regenerated.
862 2019-02-01 Florian Weimer <fweimer@redhat.com>
864 * support/support_test_compare_string.c
865 (support_test_compare_string): Use "string" in error message.
866 * support/tst-test_compare_string.c (do_test): Adjust.
868 2019-02-01 Florian Weimer <fweimer@redhat.com>
870 * support/support_format_address_family.c
871 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
873 2019-02-01 Florian Weimer <fweimer@redhat.com>
875 * manual/socket.texi (Internet Address Formats): Clarify the byte
876 order of struct sockaddr_in, struct sockaddr_in6. Document
877 sin6_flowinfo and sin6_scope_id.
879 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
881 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
882 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
883 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
884 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
885 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
886 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
888 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
890 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
891 [!MEMCHR](MEMCHR): Set to __memchr.
892 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
893 Add memchr_generic and memchr_nosimd.
894 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
895 (__libc_ifunc_impl_list): Add memchr ifuncs.
896 * sysdeps/aarch64/multiarch/memchr.c: New file.
897 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
898 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
900 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
902 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
905 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
906 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
907 Add IS_EMAG check for ifunc dispatch.
908 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
909 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
911 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
913 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
914 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
919 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
921 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
923 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
925 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
926 syscall-template file.
928 2019-01-31 Carlos O'Donell <carlos@redhat.com>
929 Torvald Riegel <triegel@redhat.com>
930 Rik Prohaska <prohaska7@gmail.com>
933 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
934 tst-rwlock-trywrlock-stall.
935 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
936 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
937 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
938 Set __wrphase_fute to 1 only if we started the write phase.
939 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
940 * nptl/tst-rwlock-trywrlock-stall.c: New file.
941 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
942 * support/xpthread_rwlock_destroy.c: New file.
943 * support/xthread.h: Declare xpthread_rwlock_destroy.
945 2019-02-01 Joseph Myers <joseph@codesourcery.com>
947 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
950 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
953 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
954 * libio/fileops.c (_IO_new_file_underflow): Likewise
955 * libio/wfileops.c (_IO_wfile_underflow): Likewise
956 * libio/putchar.c (putchar): Likewise.
957 * libio/putchar_u.c (putchar_unlocked): Likewise.
958 * libio/putwchar.c (putchar): Likewise.
959 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
960 * libio/tst-bz24051.c: New test.
961 * libio/Makefile (tests): Add tst-bz24051
963 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
965 regex: fix read overrun [BZ #24114]
966 Problem found by AddressSanitizer, reported by Hongxu Chen in:
967 https://debbugs.gnu.org/34140
968 * posix/regexec.c (proceed_next_node):
969 Do not read past end of input buffer.
971 2019-01-31 Florian Weimer <fweimer@redhat.com>
974 * nss/nss_files/files-alias.c (get_next_alias): Handle
975 continuation line without newline at the end.
976 * nss/tst-nss-files-alias-truncated.c: New file.
977 * nss/Makefile [$(build-shared)] (tests): Add
978 tst-nss-files-alias-truncated.
979 (tst-nss-files-alias-truncated): Link with libnss_files.so.
980 * support/namespace.h (struct support_chroot_configuration): Add
982 (struct support_chroot): Add path_aliases member.
983 * support/support_chroot.c (support_chroot_create): Handle
985 (support_chroot_free): Free path_aliases.
987 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
989 * version.h (RELEASE): Set to "development".
990 (VERSION): Set to "2.29.9000".
991 * NEWS: Add section for 2.30.
993 * version.h (RELEASE): Set to "stable".
994 (VERSION): Set to "2.29".
995 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
997 * NEWS: Add the list of bugs fixed in 2.29.
998 * manual/contrib.texi: Update contributors list with some more
1000 * manual/install.texi: Update latest versions of packages
1002 * INSTALL: Regenerated.
1004 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1006 * po/be.po: Update translations.
1007 * po/bg.po: Likewise.
1008 * po/ca.po: Likewise.
1009 * po/cs.po: Likewise.
1010 * po/da.po: Likewise.
1011 * po/de.po: Likewise.
1012 * po/el.po: Likewise.
1013 * po/eo.po: Likewise.
1014 * po/es.po: Likewise.
1015 * po/fi.po: Likewise.
1016 * po/fr.po: Likewise.
1017 * po/gl.po: Likewise.
1018 * po/hr.po: Likewise.
1019 * po/hu.po: Likewise.
1020 * po/ia.po: Likewise.
1021 * po/id.po: Likewise.
1022 * po/it.po: Likewise.
1023 * po/ja.po: Likewise.
1024 * po/ko.po: Likewise.
1025 * po/lt.po: Likewise.
1026 * po/nb.po: Likewise.
1027 * po/nl.po: Likewise.
1028 * po/pl.po: Likewise.
1029 * po/pt_BR.po: Likewise.
1030 * po/ru.po: Likewise.
1031 * po/rw.po: Likewise.
1032 * po/sk.po: Likewise.
1033 * po/sl.po: Likewise.
1034 * po/sv.po: Likewise.
1035 * po/tr.po: Likewise.
1036 * po/uk.po: Likewise.
1037 * po/vi.po: Likewise.
1038 * po/zh_CN.po: Likewise.
1039 * po/zh_TW.po: Likewise.
1041 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1044 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1045 of $f3 register on $y_is_neg path.
1047 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1050 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1051 sigaltstack.ss_flags.
1053 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1056 * manual/time.texi (strftime): Document "%Ey".
1057 * time/strftime_l.c (__strftime_internal): Set the default width
1058 padding with zero of "%Ey" to 2.
1061 * manual/time.texi (strftime): Document "%EC" and "%EY".
1062 * time/Makefile (tests): Add tst-strftime2.
1063 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1064 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1065 override padding for "%Ey".
1066 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1067 "%Ey" in the subformat as if decorated with that flag.
1068 * time/tst-strftime2.c: New file.
1070 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1072 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1076 * elf/Makefile (tests): Add tst-audit13.
1077 (modules-names): Add tst-audit13mod1.
1078 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1080 * elf/rtld.c (dl_main): Handle invalid audit module version.
1081 * elf/tst-audit13.c: New file.
1082 * elf/tst-audit13mod1.c: Likewise.
1084 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1086 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1087 returned by __hurd_at_flags.
1088 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1089 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1090 directly instead of __hurd_file_name_lookup.
1092 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1094 * scripts/build-many-glibcs.py (Context.checkout): Default
1095 binutils version to 2.32 branch.
1097 2019-01-21 Florian Weimer <fweimer@redhat.com>
1101 resolv: Reject trailing characters in host names
1102 * include/arpa/inet.h (__inet_aton_exact): Declare.
1103 (inet_aton): Remove hidden prototype. No longer used internally.
1104 * nscd/gai.c (__inet_aton): Do not define.
1105 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1106 * nss/digits_dots.c (__inet_aton): Likewise.
1107 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1108 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1109 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1110 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1111 (tst-resolv-trailing): Likewise.
1112 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1114 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1115 Make static. Add endp parameter.
1116 (__inet_aton_exact): New function.
1117 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1118 (__inet_addr): Call inet_aton_end.
1119 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1120 not just IPv6. Call __inet_aton_exact.
1121 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1122 (tests): Make const. Add additional test cases with trailing
1124 (do_test): Use array_length.
1125 * resolv/tst-inet_aton_exact.c: New file.
1126 * resolv/tst-resolv-trailing.c: Likewise.
1127 * resolv/tst-resolv-nondecimal.c: Likewise.
1128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1130 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1134 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1135 Clear the upper 32 bits of RSI register.
1136 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1137 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1138 and tst-size_t-wcsnlen.
1139 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1140 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1142 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1146 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1149 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1150 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1152 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1158 * sysdeps/x86_64/strcmp.S: Likewise.
1159 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1160 tst-size_t-strncmp and tst-size_t-wcsncmp.
1161 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1162 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1163 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1165 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1169 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1170 RDX_LP for length. Clear the upper 32 bits of RDX register.
1171 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1172 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1173 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1174 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1176 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1180 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1181 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1182 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1183 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1185 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1190 length. Clear the upper 32 bits of RDX register.
1191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1192 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1194 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1196 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1198 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1200 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1204 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1205 length. Clear the upper 32 bits of RDX register.
1206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1207 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1208 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1210 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1211 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1213 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1217 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1218 upper 32 bits of RDX register.
1219 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1220 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1222 * sysdeps/x86_64/x32/test-size_t.h: New file.
1223 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1224 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1226 2019-01-18 Florian Weimer <fweimer@redhat.com>
1229 resolv: Do not send queries for non-host-names in nss_dns.
1230 * resolv/nss_dns/dns-host.c (check_name): New function.
1231 (_nss_dns_gethostbyname2_r): Use it.
1232 (_nss_dns_gethostbyname_r): Likewise.
1233 (_nss_dns_gethostbyname4_r): Likewise.
1235 2019-01-21 Florian Weimer <fweimer@redhat.com>
1237 * resolv/inet_addr.c: Reformat to GNU style.
1238 (__inet_addr, __inet_aton): Update comment.
1240 2019-01-18 Florian Weimer <fweimer@redhat.com>
1242 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1243 ("malloc: Use current (C11-style) atomics for fastbin access").
1244 This commit introduces a substantial performance regression on
1246 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1247 (REMOVE_FB): Define.
1248 (_int_malloc): Use it and reindent.
1249 (_int_free): Use CAS loop with
1250 catomic_compare_and_exchange_val_rel.
1251 (malloc_consolidate): Use atomic_exchange_acq.
1254 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1256 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1258 (LDFLAGS-tst-minsigstksz-2): Likewise.
1259 (LDFLAGS-tst-minsigstksz-3): Likewise.
1260 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1261 (LDFLAGS-tst-minsigstksz-4): Likewise.
1263 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1265 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1268 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1270 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1272 2019-01-16 Zack Weinberg <zackw@panix.com>
1274 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1275 (xget_sigstack_location): New test support functions.
1276 * support/xsigstack.c: New file, implementing them.
1277 * support/tst-xsigstack.c: New test for them.
1278 * support/Makefile: Update.
1280 * signal/tst-minsigstksz-1.c
1281 * signal/tst-minsigstksz-2.c
1282 * signal/tst-minsigstksz-3.c
1283 * signal/tst-minsigstksz-3a.c
1284 * signal/tst-minsigstksz-4.c: New tests.
1285 * signal/Makefile: Run them.
1287 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1289 * po/libc.pot: Regenerate.
1291 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1293 * math/libm-test-fma.inc (fma_test_data): Set
1294 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1296 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1298 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1299 (do_test): Changed __vector __int128_t to __vector unsigned int.
1301 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1304 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1305 stpcpy-avx2 and stpncpy-avx2.
1306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1307 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1308 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1310 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1311 ifunc-strcpy.h}: rename header for a more generic name.
1312 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1313 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1314 AVX unaligned load is fast and vzeroupper is preferred.
1315 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1316 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1317 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1318 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1319 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1320 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1322 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1324 * argp/argp-help.c: Fix typo in comment.
1325 * misc/sys/cdefs.h: Likewise.
1326 * posix/regexec.c (sift_states_iter_mb): Likewise.
1327 * socket/sockatmark.c: Likewise.
1328 * socket/sys/socket.h: Likewise.
1329 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1330 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1331 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1333 * sysdeps/unix/sockatmark.c: Likewise.
1334 * time/strptime_l.c: Likewise.
1336 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1338 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1339 missing space after the cast of "_NL_CURRENT".
1341 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1344 ifdef to fix read of VSCR.
1345 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1346 tst-ucontext-ppc64-vscr.c to test list.
1347 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1349 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1351 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1354 2019-01-09 Jim Wilson <jimw@sifive.com>
1356 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1358 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1360 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1361 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1362 __memcpy_falkor for ares.
1363 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1368 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1371 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1372 4_FP_W_TYPEs are used for IEEE quad precision.
1373 * soft-fp/extendhftf2.c: Likewise.
1374 * soft-fp/extendsftf2.c: Likewise.
1375 * soft-fp/extendxftf2.c: Likewise.
1376 * soft-fp/trunctfdf2.c: Likewise.
1377 * soft-fp/trunctfhf2.c: Likewise.
1378 * soft-fp/trunctfsf2.c: Likewise.
1379 * soft-fp/trunctfxf2.c: Likewise.
1380 * sysdeps/alpha/ots_cvttx.c: Likewise.
1381 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1382 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1383 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1384 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1385 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1386 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1387 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1388 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1389 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1390 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1391 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1392 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1393 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1394 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1395 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1396 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1397 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1399 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1402 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1403 code with -fmath-errno.
1404 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1405 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1406 * string/test-strerror-errno.c: New file.
1408 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1411 * localedata/locales/en_US (date_fmt): Add, set to
1412 "%a %d %b %Y %r %Z".
1414 2019-01-07 Florian Weimer <fweimer@redhat.com>
1417 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1418 instead of @var{errno}.
1419 (Parsing of Integers): Likewise.
1420 (Parsing of Floats): Likewise.
1421 * manual/filesys.texi (Working with Directory Trees): Likewise.
1422 (Temporary Files): Likewise.
1423 * manual/job.texi (Terminal Access Functions): Likewise.
1424 * manual/llio.texi (Synchronizing I/O): Likewise.
1425 * manual/math.texi (SVID Random): Likewise.
1426 * manual/message.texi (The catgets Functions): Likewise.
1427 (Translation with gettext): Likewise.
1428 (Locating gettext catalog): Likewise.
1429 (Charset conversion in gettext): Likewise.
1430 * manual/nss.texi (NSS Module Function Internals): Likewise.
1431 * manual/search.texi (Hash Search Function): Likewise.
1432 * manual/setjmp.texi (System V contexts): Likewise.
1433 * manual/time.texi (Sleeping): Likewise.
1434 * manual/users.texi (Lookup User): Likewise.
1435 (Lookup Group): Likewise.
1437 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1439 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1442 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1445 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1446 __builtin_unreachable for default case in switch.
1447 (__ieee754_yn): Likewise.
1448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1449 (__ieee754_ynl): Likewise.
1450 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1451 (__ieee754_ynl): Likewise.
1452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1453 (__ieee754_ynl): Likewise.
1455 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1457 * manual/maint.texi: Use @{ and @}.
1459 2019-01-04 Florian Weimer <fweimer@redhat.com>
1461 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1463 (do_in_chroot_1): Call it.
1465 Improve error reporting in case it is not possible to create a
1466 collision for the PTY name required by the test.
1468 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1470 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1471 lll_wait_tid with timeout.
1472 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1473 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1474 futex_reltimed_wait_cancelable for cancelabla mode.
1475 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1476 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1478 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1479 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1480 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1481 SYSCALL_CANCEL_NCS): New macro.
1482 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1483 (lll_timedwait_tid): Remove macro.
1484 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1486 (lll_timedwait_tid): Likewise.
1487 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1489 (lll_timedwait_tid): Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1492 (lll_timedwait_tid): Likewise.
1493 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1494 Use INTERNAL_SYSCALL_CANCEL.
1495 * sysdeps/unix/sysv/linux/futex-internal.h
1496 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1497 instead of __pthread_{enable,disable}_asynccancel.
1498 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1499 (lll_futex_wait_cancel): New macro.
1501 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1502 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1504 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1505 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1507 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1508 in backtrace analysis.
1509 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1511 (tf_send): Likewise.
1513 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1514 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1515 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1516 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1517 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1518 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1519 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1520 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1521 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1522 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1523 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1524 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1526 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1527 tst-cancel-wrappers.sh.
1528 (generated): Remove tst-cancel-wrappers.out.
1529 (tst-cancel-wrappers.out): Remove rule.
1530 * nptl/tst-cancel-wrappers.sh: Remove file.
1532 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1534 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1535 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1538 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1541 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1542 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1543 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1544 close-on-exec reset for adddup2 file action.
1545 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1547 2019-01-03 Zack Weinberg <zackw@panix.com>
1549 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1550 parameter. Only use deprecated scanf when __USE_GNU is defined
1551 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1552 than 201103L, whichever is relevant for the language being compiled.
1554 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1555 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1556 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1557 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1558 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1562 * libio/iovswscanf.c
1567 * stdio-common/fscanf.c
1568 * stdio-common/scanf.c
1569 * stdio-common/vfscanf.c
1570 * stdio-common/vfwscanf.c
1571 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1572 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1573 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1574 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1575 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1576 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1577 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1578 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1579 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1580 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1581 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1582 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1583 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1584 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1585 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1587 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1588 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1589 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1591 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1592 with a preprocessor macro.
1594 * stdio-common/bug21.c, stdio-common/scanf14.c:
1595 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1596 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1597 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1598 to xscanf, xfscanf, xsscanf.
1600 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1601 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1602 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1603 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1605 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1606 override feature selection macros or provide definitions of u_char etc.
1607 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1608 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1609 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1612 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1615 bits/termios-misc.h.
1616 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1617 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1620 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1621 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1623 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1625 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1626 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1627 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1628 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1630 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1631 (sysdep_headers): Add termios-misc.h.
1633 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1634 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1635 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1639 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1640 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1641 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1642 TCSAFLUSH): Move to termios-tcflow.h.
1643 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1644 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1645 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1646 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1650 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1651 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1652 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1653 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1654 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1655 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1656 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1657 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1659 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1660 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1666 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1667 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1669 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1670 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1672 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1673 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1680 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1681 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1682 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1683 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1684 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1685 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1686 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1687 __MAX_BAUD): Move to termios-baud.h.
1688 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1689 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1690 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1692 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1696 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1697 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1699 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1700 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1701 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1703 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1704 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1706 [USE_MISC] (XTABS): Likewise.
1707 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1708 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1712 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1714 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1715 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1716 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1717 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1718 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1719 IUTF8): Move to termios-c_iflag.h.
1720 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1721 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1725 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1727 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1728 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1729 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1730 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1731 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1732 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1733 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1734 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1735 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1736 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1740 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1741 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1742 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1743 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1746 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1748 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1750 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1754 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1756 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1757 _HAVE_C_OSPEED): Define.
1758 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1759 _HAVE_C_OSPEED): Likewise.
1760 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1761 _HAVE_C_OSPEED): Likewise.
1762 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1763 (cfsetospeed): Check for define value instead of existence.
1764 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1765 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1766 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1767 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1768 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1771 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1774 (TIOCSER_TEMT): Likewise.
1775 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1776 (TEOCSER_TEMT): Likewise.
1778 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1781 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1783 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1785 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1787 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1789 * sysdeps/htl/pt-barrierattr-setpshared.c
1790 (pthread_barrierattr_setpshared): Add stub warning.
1791 * sysdeps/htl/pt-condattr-setpshared.c
1792 (pthread_condattr_setpshared): Likewise.
1793 * sysdeps/htl/pt-mutexattr-setpshared.c
1794 (pthread_mutexattr_setpshared): Likewise.
1795 * sysdeps/htl/pt-rwlockattr-setpshared.c
1796 (pthread_rwlockattr_setpshared): Likewise.
1797 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1798 (pthread_mutexattr_setpshared): Likewise.
1800 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1802 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1803 constants to match with Linux 4.20.
1805 * sysdeps/mips/mips32/libm-test-ulps: Update.
1806 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1808 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1811 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1812 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1813 than __typeof (...) for the a_ptr variable.
1815 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1817 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1818 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1819 * libio/Makefile (tests): Add tst-sprintf-ub and
1821 (CFLAGS-tst-sprintf-ub.c): New variable.
1822 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1823 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1824 destination buffer and check for overflows in fortified mode.
1825 * libio/libioP.h (PRINTF_CHK): New macro.
1826 * libio/tst-sprintf-chk-ub.c: New file.
1827 * libio/tst-sprintf-ub.c: Likewise.
1829 2019-01-02 Florian Weimer <fweimer@redhat.com>
1832 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1835 2019-01-02 Florian Weimer <fweimer@redhat.com>
1837 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1839 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1841 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1844 * sysdeps/unix/sysv/linux/netpacket/packet.h
1845 (PACKET_IGNORE_OUTGOING): New macro.
1847 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1850 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1852 (riscv_flush_icache): New syscall.
1854 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1855 trailing whitespace removed.
1856 * scripts/config.guess: Update to version 2019-01-01.
1857 * scripts/config.sub: Update to version 2019-01-01.
1858 * scripts/move-if-change: Update from gnulib.
1860 * NEWS: Update copyright dates.
1861 * catgets/gencat.c (print_version): Likewise.
1862 * csu/version.c (banner): Likewise.
1863 * debug/catchsegv.sh: Likewise.
1864 * debug/pcprofiledump.c (print_version): Likewise.
1865 * debug/xtrace.sh (do_version): Likewise.
1866 * elf/ldconfig.c (print_version): Likewise.
1867 * elf/ldd.bash.in: Likewise.
1868 * elf/pldd.c (print_version): Likewise.
1869 * elf/sotruss.sh: Likewise.
1870 * elf/sprof.c (print_version): Likewise.
1871 * iconv/iconv_prog.c (print_version): Likewise.
1872 * iconv/iconvconfig.c (print_version): Likewise.
1873 * locale/programs/locale.c (print_version): Likewise.
1874 * locale/programs/localedef.c (print_version): Likewise.
1875 * login/programs/pt_chown.c (print_version): Likewise.
1876 * malloc/memusage.sh (do_version): Likewise.
1877 * malloc/memusagestat.c (print_version): Likewise.
1878 * malloc/mtrace.pl: Likewise.
1879 * manual/libc.texinfo: Likewise.
1880 * nptl/version.c (banner): Likewise.
1881 * nscd/nscd.c (print_version): Likewise.
1882 * nss/getent.c (print_version): Likewise.
1883 * nss/makedb.c (print_version): Likewise.
1884 * posix/getconf.c (main): Likewise.
1885 * scripts/test-installation.pl: Likewise.
1886 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1888 * All files with FSF copyright notices: Update copyright dates
1889 using scripts/update-copyrights.
1890 * locale/programs/charmap-kw.h: Regenerated.
1891 * locale/programs/locfile-kw.h: Likewise.
1893 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1895 * timezone/zdump.c: Update from tzcode 2018i.
1896 * timezone/zic.c: Likewise.
1898 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1900 regex: improve Gnulib port to AIX
1901 From the glibc point of view, this removes duplicate macro
1902 definitions and is obviously safe.
1903 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1904 * posix/regex_internal.h:
1905 (__attribute__, __attribute_warn_unused_result__):
1906 Remove; already defined elsewhere.
1908 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1911 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1912 copying operation. (ncopies had the wrong type, resulting in an
1913 integer wraparound and too few elements being copied.)
1915 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1918 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1919 <asm/syscalls.h> exists with __has_include__ before including it.
1921 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1923 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1926 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1928 * hurd/lookup-retry: Include <unistd.h>.
1929 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1930 Release it on return. Handle "pid" magical lookup retry.
1932 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1935 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1936 (t_fmt_ampm): Likewise.
1937 * localedata/locales/aa_ER (t_fmt): Likewise.
1938 (t_fmt_ampm): Likewise.
1939 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1940 (t_fmt_ampm): Likewise.
1941 * localedata/locales/aa_ET (t_fmt): Likewise.
1942 (t_fmt_ampm): Likewise.
1943 * localedata/locales/am_ET (t_fmt): Likewise.
1944 (t_fmt_ampm): Likewise.
1945 * localedata/locales/byn_ER (t_fmt): Likewise.
1946 (t_fmt_ampm): Likewise.
1947 * localedata/locales/om_ET (t_fmt): Likewise.
1948 (t_fmt_ampm): Likewise.
1949 * localedata/locales/sid_ET (t_fmt): Likewise.
1950 (t_fmt_ampm): Likewise.
1951 * localedata/locales/so_DJ (t_fmt): Likewise.
1952 (t_fmt_ampm): Likewise.
1953 * localedata/locales/so_ET (t_fmt): Likewise.
1954 (t_fmt_ampm): Likewise.
1955 * localedata/locales/so_SO (t_fmt): Likewise.
1956 (t_fmt_ampm): Likewise.
1957 * localedata/locales/ti_ER (t_fmt): Likewise.
1958 (t_fmt_ampm): Likewise.
1959 * localedata/locales/ti_ET (t_fmt): Likewise.
1960 (t_fmt_ampm): Likewise.
1961 * localedata/locales/tig_ER (t_fmt): Likewise.
1962 (t_fmt_ampm): Likewise.
1963 * localedata/locales/wal_ET (t_fmt): Likewise.
1964 (t_fmt_ampm): Likewise.
1966 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1967 * localedata/locales/ar_IN (t_fmt): Likewise.
1968 * localedata/locales/bhb_IN (t_fmt): Likewise.
1969 * localedata/locales/bho_IN (t_fmt): Likewise.
1970 * localedata/locales/bi_VU (t_fmt): Likewise.
1971 * localedata/locales/bn_BD (t_fmt): Likewise.
1972 * localedata/locales/bn_IN (t_fmt): Likewise.
1973 * localedata/locales/brx_IN (t_fmt): Likewise.
1974 * localedata/locales/doi_IN (t_fmt): Likewise.
1975 * localedata/locales/en_HK (t_fmt): Likewise.
1976 (t_fmt_ampm): Likewise.
1977 * localedata/locales/en_IN (t_fmt): Likewise.
1978 * localedata/locales/en_PH (t_fmt): Likewise.
1979 * localedata/locales/gu_IN (t_fmt): Likewise.
1980 * localedata/locales/hi_IN (t_fmt): Likewise.
1981 * localedata/locales/hif_FJ (t_fmt): Likewise.
1982 * localedata/locales/hne_IN (t_fmt): Likewise.
1983 * localedata/locales/kn_IN (t_fmt): Likewise.
1984 * localedata/locales/kok_IN (t_fmt): Likewise.
1985 * localedata/locales/ks_IN (t_fmt): Likewise.
1986 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1987 * localedata/locales/mag_IN (t_fmt): Likewise.
1988 * localedata/locales/mai_IN (t_fmt): Likewise.
1989 * localedata/locales/mjw_IN (t_fmt): Likewise.
1990 * localedata/locales/ml_IN (t_fmt): Likewise.
1991 * localedata/locales/mni_IN (t_fmt): Likewise.
1992 * localedata/locales/mr_IN (t_fmt): Likewise.
1993 * localedata/locales/ms_MY (t_fmt): Likewise.
1994 * localedata/locales/pa_IN (t_fmt): Likewise.
1995 * localedata/locales/raj_IN (t_fmt): Likewise.
1996 * localedata/locales/sa_IN (t_fmt): Likewise.
1997 * localedata/locales/sat_IN (t_fmt): Likewise.
1998 * localedata/locales/sd_IN (t_fmt): Likewise.
1999 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2000 * localedata/locales/tcy_IN (t_fmt): Likewise.
2001 * localedata/locales/the_NP (t_fmt): Likewise.
2002 * localedata/locales/to_TO (t_fmt): Likewise.
2003 * localedata/locales/ur_IN (t_fmt): Likewise.
2005 * localedata/locales/hif_FJ (d_t_fmt): Set to
2006 "%A %d %b %Y %I:%M:%S %p".
2007 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2009 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2010 * localedata/locales/ar_BH (t_fmt): Likewise.
2011 * localedata/locales/ar_DZ (t_fmt): Likewise.
2012 * localedata/locales/ar_EG (t_fmt): Likewise.
2013 * localedata/locales/ar_IQ (t_fmt): Likewise.
2014 * localedata/locales/ar_JO (t_fmt): Likewise.
2015 * localedata/locales/ar_KW (t_fmt): Likewise.
2016 * localedata/locales/ar_LB (t_fmt): Likewise.
2017 * localedata/locales/ar_LY (t_fmt): Likewise.
2018 * localedata/locales/ar_OM (t_fmt): Likewise.
2019 * localedata/locales/ar_QA (t_fmt): Likewise.
2020 * localedata/locales/ar_SD (t_fmt): Likewise.
2021 * localedata/locales/ar_SS (t_fmt): Likewise.
2022 * localedata/locales/ar_SY (t_fmt): Likewise.
2023 * localedata/locales/ar_TN (t_fmt): Likewise.
2024 * localedata/locales/ar_YE (t_fmt): Likewise.
2026 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2027 (t_fmt_ampm): Likewise.
2028 * localedata/locales/gez_ET (t_fmt): Likewise.
2029 (t_fmt_ampm): Likewise.
2031 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2032 (t_fmt_ampm): Likewise.
2033 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2035 * localedata/locales/zh_HK (t_fmt):
2036 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2038 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2039 because this locale does not use the 12-hour clock.
2040 (t_fmt): Set to "%Z %H:%M:%S".
2041 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2043 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2044 because this locale does not use the 12-hour clock.
2045 (t_fmt): Set to "%H:%M:%S %Z".
2046 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2048 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2049 because this locale does not use the 12-hour clock.
2050 (t_fmt): Set to "%T".
2051 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2052 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2054 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2055 because this locale does not use the 12-hour clock.
2056 (t_fmt): Set to "%H:%M:%S %Z".
2057 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2059 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2060 because this locale does not use the 12-hour clock.
2061 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2062 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2064 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2068 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2069 (t_fmt_ampm): Likewise.
2070 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2071 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2072 (d_fmt): Set to "%-d.%-m.%y".
2074 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2076 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2077 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2078 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2080 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2081 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2082 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2084 * support/blob_repeat.c (check_mul_overflow_size_t,
2085 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2087 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2089 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2091 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2093 regex: simplify Gnulib port
2094 This simplifies the code, by removing stuff intended for porting
2095 to Gnulib but no longer needed there.
2096 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2097 uses of libc_hidden_def, weak_alias.
2098 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2099 _Restrict_ except for public-facing headers.
2100 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2101 Remove; already defined elsewhere.
2102 * posix/regex.c, posix/regex_internal.h:
2103 Use __GNUC_PREREQ instead of rolling our own.
2104 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2106 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2108 * benchtests/bench-strlen.c (generic_strlen): New function.
2109 (memchr_strlen): New function.
2111 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2113 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2114 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2115 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2117 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2119 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2121 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2123 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2124 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2125 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2126 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2127 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2128 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2129 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2131 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2134 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2135 PLT reference in libc.so.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2137 _Q_lltoq and _Q_qtod PLT references in libc.so.
2139 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2141 * benchtests/bench-memchr.c: Cleanup defines.
2142 * benchtests/bench-memcmp.c: Likewise.
2143 * benchtests/bench-memset.c: Likewise.
2144 * benchtests/bench-memset-large.c: Likewise.
2145 * benchtests/bench-memset-walk.c: Likewise.
2146 * benchtests/bench-stpcpy.c: Likewise.
2147 * benchtests/bench-stpncpy.c: Likewise.
2148 * benchtests/bench-strcat.c: Likewise.
2149 * benchtests/bench-strchr.c: Likewise.
2150 * benchtests/bench-strcmp.c: Likewise.
2151 * benchtests/bench-strcpy.c: Likewise.
2152 * benchtests/bench-strcspn.c: Likewise.
2153 * benchtests/bench-string.h: Likewise.
2154 * benchtests/bench-strlen.c: Likewise.
2155 * benchtests/bench-strncat.c: Likewise.
2156 * benchtests/bench-strncmp.c: Likewise.
2157 * benchtests/bench-strncpy.c: Likewise.
2158 * benchtests/bench-strnlen.c: Likewise.
2159 * benchtests/bench-strpbrk.c: Likewise.
2160 * benchtests/bench-strrchr.c: Likewise.
2161 * benchtests/bench-strspn.c: Likewise.
2163 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2165 * stdlib/longlong.h: Update from GCC.
2168 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2169 * configure: Regenerated.
2170 * manual/install.texi (Tools for Compilation): Update minimum GCC
2172 * INSTALL: Regenerated.
2174 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2176 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2178 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2180 * malloc/malloc.c (mremap_chunk): Additional checks.
2182 2018-12-21 Mao Han <han_mao@c-sky.com>
2184 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2185 * scripts/build-many-glibcs.py: Add C-SKY targets.
2186 * sysdeps/csky/Implies: New file.
2187 * sysdeps/csky/Makefile: Likewise.
2188 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2189 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2190 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2191 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2192 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2193 * sysdeps/csky/abiv2/memmove.S: Likewise.
2194 * sysdeps/csky/abiv2/memset.S: Likewise.
2195 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2196 * sysdeps/csky/abiv2/start.S: Likewise.
2197 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2198 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2199 * sysdeps/csky/abiv2/strlen.S: Likewise.
2200 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2201 * sysdeps/csky/abort-instr.h: Likewise.
2202 * sysdeps/csky/atomic-machine.h: Likewise.
2203 * sysdeps/csky/bits/endian.h: Likewise.
2204 * sysdeps/csky/bits/fenv.h: Likewise.
2205 * sysdeps/csky/bits/link.h: Likewise.
2206 * sysdeps/csky/bits/setjmp.h: Likewise.
2207 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2208 * sysdeps/csky/bsd-setjmp.S: Likewise.
2209 * sysdeps/csky/configure: Likewise.
2210 * sysdeps/csky/configure.ac: Likewise.
2211 * sysdeps/csky/dl-machine.h: Likewise.
2212 * sysdeps/csky/dl-procinfo.c: Likewise.
2213 * sysdeps/csky/dl-procinfo.h: Likewise.
2214 * sysdeps/csky/dl-sysdep.h: Likewise.
2215 * sysdeps/csky/dl-tls.h: Likewise.
2216 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2217 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2218 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2219 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2220 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2221 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2222 * sysdeps/csky/fpu/fegetround.c: Likewise.
2223 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2224 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2225 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2226 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2227 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2228 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2229 * sysdeps/csky/fpu/fesetround.c: Likewise.
2230 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2231 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2232 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2233 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2234 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2235 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2236 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2237 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2238 * sysdeps/csky/fpu_control.h: Likewise.
2239 * sysdeps/csky/gccframe.h: Likewise.
2240 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2241 * sysdeps/csky/ldsodefs.h: Likewise.
2242 * sysdeps/csky/libc-tls.c: Likewise.
2243 * sysdeps/csky/linkmap.h: Likewise.
2244 * sysdeps/csky/machine-gmon.h: Likewise.
2245 * sysdeps/csky/memusage.h: Likewise.
2246 * sysdeps/csky/nofpu/Implies: Likewise.
2247 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2248 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2249 * sysdeps/csky/nptl/Makefile: Likewise.
2250 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2251 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2252 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2253 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2254 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2255 * sysdeps/csky/nptl/tls.h: Likewise.
2256 * sysdeps/csky/preconfigure: Likewise.
2257 * sysdeps/csky/sfp-machine.h: Likewise.
2258 * sysdeps/csky/sotruss-lib.c: Likewise.
2259 * sysdeps/csky/stackinfo.h: Likewise.
2260 * sysdeps/csky/sysdep.h: Likewise.
2261 * sysdeps/csky/tininess.h: Likewise.
2262 * sysdeps/csky/tst-audit.h: Likewise.
2263 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2264 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2265 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2266 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2267 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2268 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2269 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2270 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2271 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2272 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2273 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2274 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2275 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2276 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2277 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2278 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2279 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2280 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2281 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2282 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2283 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2284 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2285 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2286 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2287 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2288 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2289 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2290 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2291 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2292 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2293 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2294 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2295 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2296 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2297 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2298 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2299 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2300 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2301 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2302 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2303 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2304 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2305 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2306 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2308 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2310 * include/time.h (__difftime64): Add.
2311 * time/difftime.c (subtract): convert to 64-bit time.
2312 * time/difftime.c (__difftime64): Add.
2313 * time/difftime.c (__difftime): Wrap around __difftime64.
2315 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2317 * manual/examples/add.c: Remove redundant "if not".
2318 * manual/examples/argp-ex1.c: Likewise.
2319 * manual/examples/argp-ex2.c: Likewise.
2320 * manual/examples/argp-ex3.c: Likewise.
2321 * manual/examples/argp-ex4.c: Likewise.
2322 * manual/examples/atexit.c: Likewise.
2323 * manual/examples/db.c: Likewise.
2324 * manual/examples/dir.c: Likewise.
2325 * manual/examples/dir2.c: Likewise.
2326 * manual/examples/execinfo.c: Likewise.
2327 * manual/examples/filecli.c: Likewise.
2328 * manual/examples/filesrv.c: Likewise.
2329 * manual/examples/fmtmsgexpl.c: Likewise.
2330 * manual/examples/genpass.c: Likewise.
2331 * manual/examples/inetcli.c: Likewise.
2332 * manual/examples/inetsrv.c: Likewise.
2333 * manual/examples/isockad.c: Likewise.
2334 * manual/examples/longopt.c: Likewise.
2335 * manual/examples/memopen.c: Likewise.
2336 * manual/examples/memstrm.c: Likewise.
2337 * manual/examples/mkdirent.c: Likewise.
2338 * manual/examples/mkfsock.c: Likewise.
2339 * manual/examples/mkisock.c: Likewise.
2340 * manual/examples/mygetpass.c: Likewise.
2341 * manual/examples/pipe.c: Likewise.
2342 * manual/examples/popen.c: Likewise.
2343 * manual/examples/rprintf.c: Likewise.
2344 * manual/examples/search.c: Likewise.
2345 * manual/examples/select.c: Likewise.
2346 * manual/examples/setjmp.c: Likewise.
2347 * manual/examples/sigh1.c: Likewise.
2348 * manual/examples/sigusr.c: Likewise.
2349 * manual/examples/stpcpy.c: Likewise.
2350 * manual/examples/strdupa.c: Likewise.
2351 * manual/examples/strftim.c: Likewise.
2352 * manual/examples/subopt.c: Likewise.
2353 * manual/examples/swapcontext.c: Likewise.
2354 * manual/examples/termios.c: Likewise.
2355 * manual/examples/testopt.c: Likewise.
2356 * manual/examples/testpass.c: Likewise.
2357 * manual/examples/timeval_subtract.c: Likewise.
2359 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2361 * sysdeps/x86/fpu/math_private.h: New file.
2362 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2364 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2369 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2371 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2372 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2373 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2374 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2376 (_dl_show_auxv): Give a special treatment to
2377 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2378 and AT_L3_CACHEGEOMETRY.
2379 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2380 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2381 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2382 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2384 2018-12-19 Andreas Schwab <schwab@suse.de>
2386 * nscd/connections.c (check_use): Don't abort on invalid len.
2388 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2390 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2391 values in the 64bit value cases.
2393 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2399 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2405 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2408 (__gmtime64_r): Add.
2410 (__gmtime64_r): Add.
2411 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2417 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2420 (__localtime64_r): Add.
2422 (__localtime64_r): Add.
2423 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2425 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2427 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2428 kernel_sigction definition.
2430 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2432 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2434 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2435 __syscall_rt_sigaction.
2436 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2437 (kernel_sigaction): Use Linux generic defintion.
2439 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2440 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2441 (__syscall_rt_sigaction): Remove implementation.
2442 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2444 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2445 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2446 INTERNAL_SYSCALL): Remove definitions.
2447 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2448 action and signal set size.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2452 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2453 James Clarke <jrtc27@jrtc27.com>
2456 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2457 Define if SA_RESTORER is defined.
2458 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2459 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2461 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2462 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2464 (HAS_SA_RESTORER): Define.
2465 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2466 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2467 (HAS_SA_RESTORER): Define.
2468 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2469 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2470 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2472 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2474 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/kernel-features.h
2477 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2479 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2480 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2481 (__ASSUME_ST_INO_64_BIT): Likewise.
2482 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2483 <kernel-features.h>.
2484 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2485 Remove conditional code.
2486 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2487 <kernel-features.h>.
2488 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2489 Remove conditional code.
2490 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2491 <kernel-features.h>.
2492 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2493 Remove conditional code.
2494 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2495 <kernel-features.h>.
2496 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2497 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2501 * sysdeps/s390/multiarch/ifunc-resolve.h
2502 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2503 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2504 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2505 Delete macro definition.
2506 (s390_libc_ifunc_init): Rename to
2507 s390_libc_ifunc_expr_stfle_init.
2508 * sysdeps/s390/bzero: Use
2509 s390_libc_ifunc_expr_stfle_init instead of
2510 s390_libc_ifunc_init.
2511 * sysdeps/s390/memcmp.c: Likewise.
2512 * sysdeps/s390/memcpy.c: Likewise.
2513 * sysdeps/s390/mempcpy.c: Likewise.
2514 * sysdeps/s390/memset.c: Likewise.
2516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2518 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2519 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2523 * sysdeps/s390/multiarch/Makefile
2524 (sysdep_routines): Remove wmemcmp variants.
2525 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2526 * sysdeps/s390/multiarch/ifunc-impl-list.c
2527 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2528 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2529 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2530 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2531 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2532 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2533 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2534 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2538 * sysdeps/s390/multiarch/Makefile
2539 (sysdep_routines): Remove wmemset variants.
2540 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2541 * sysdeps/s390/multiarch/ifunc-impl-list.c
2542 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2543 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2544 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2545 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2546 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2547 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2548 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2549 * sysdeps/s390/ifunc-wmemset.h: New file.
2551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2553 * sysdeps/s390/multiarch/Makefile
2554 (sysdep_routines): Remove wmemchr variants.
2555 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2556 * sysdeps/s390/multiarch/ifunc-impl-list.c
2557 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2558 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2559 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2560 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2561 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2562 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2563 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2564 * sysdeps/s390/ifunc-wmemchr.h: New file.
2566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2568 * sysdeps/s390/multiarch/Makefile
2569 (sysdep_routines): Remove wcscspn variants.
2570 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2571 * sysdeps/s390/multiarch/ifunc-impl-list.c
2572 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2573 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2574 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2575 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2576 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2577 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2578 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2579 * sysdeps/s390/ifunc-wcscspn.h: New file.
2581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2583 * sysdeps/s390/multiarch/Makefile
2584 (sysdep_routines): Remove wcspbrk variants.
2585 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2586 * sysdeps/s390/multiarch/ifunc-impl-list.c
2587 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2588 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2589 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2590 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2591 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2592 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2593 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2598 * sysdeps/s390/multiarch/Makefile
2599 (sysdep_routines): Remove wcsspn variants.
2600 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2601 * sysdeps/s390/multiarch/ifunc-impl-list.c
2602 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2603 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2604 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2605 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2606 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2607 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2608 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2609 * sysdeps/s390/ifunc-wcsspn.h: New file.
2611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2613 * sysdeps/s390/multiarch/Makefile
2614 (sysdep_routines): Remove wcsrchr variants.
2615 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2616 * sysdeps/s390/multiarch/ifunc-impl-list.c
2617 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2618 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2619 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2620 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2621 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2622 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2623 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2624 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2628 * sysdeps/s390/multiarch/Makefile
2629 (sysdep_routines): Remove wcschrnul variants.
2630 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2631 * sysdeps/s390/multiarch/ifunc-impl-list.c
2632 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2633 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2634 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2635 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2636 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2637 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2638 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2639 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2643 * sysdeps/s390/multiarch/Makefile
2644 (sysdep_routines): Remove wcschr variants.
2645 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2646 * sysdeps/s390/multiarch/ifunc-impl-list.c
2647 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2648 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2649 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2650 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2651 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2652 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2653 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2654 * sysdeps/s390/ifunc-wcschr.h: New file.
2656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2658 * sysdeps/s390/multiarch/Makefile
2659 (sysdep_routines): Remove wcsncmp variants.
2660 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2661 * sysdeps/s390/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2663 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2664 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2665 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2666 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2667 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2668 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2669 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2673 * sysdeps/s390/multiarch/Makefile
2674 (sysdep_routines): Remove wcscmp variants.
2675 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2676 * sysdeps/s390/multiarch/ifunc-impl-list.c
2677 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2678 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2679 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2680 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2681 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2682 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2683 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2684 * sysdeps/s390/ifunc-wcscmp.h: New file.
2686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2688 * sysdeps/s390/multiarch/Makefile
2689 (sysdep_routines): Remove wcsncat variants.
2690 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2691 * sysdeps/s390/multiarch/ifunc-impl-list.c
2692 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2693 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2694 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2695 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2696 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2697 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2698 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2699 * sysdeps/s390/ifunc-wcsncat.h: New file.
2701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2703 * sysdeps/s390/multiarch/Makefile
2704 (sysdep_routines): Remove wcscat variants.
2705 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2706 * sysdeps/s390/multiarch/ifunc-impl-list.c
2707 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2708 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2709 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2710 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2711 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2712 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2713 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2714 * sysdeps/s390/ifunc-wcscat.h: New file.
2716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2718 * sysdeps/s390/multiarch/Makefile
2719 (sysdep_routines): Remove wcpncpy variants.
2720 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2721 * sysdeps/s390/multiarch/ifunc-impl-list.c
2722 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2723 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2724 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2725 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2726 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2727 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2728 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2729 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2733 * sysdeps/s390/multiarch/Makefile
2734 (sysdep_routines): Remove wcsncpy variants.
2735 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2736 * sysdeps/s390/multiarch/ifunc-impl-list.c
2737 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2738 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2739 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2740 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2741 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2742 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2743 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2744 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2748 * sysdeps/s390/multiarch/Makefile
2749 (sysdep_routines): Remove wcpcpy variants.
2750 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2751 * sysdeps/s390/multiarch/ifunc-impl-list.c
2752 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2753 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2754 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2755 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2756 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2757 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2758 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2759 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2763 * sysdeps/s390/multiarch/Makefile
2764 (sysdep_routines): Remove wcscpy variants.
2765 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2766 * sysdeps/s390/multiarch/ifunc-impl-list.c
2767 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2768 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2769 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2770 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2771 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2772 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2773 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2774 * sysdeps/s390/ifunc-wcscpy.h: New file.
2776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2778 * sysdeps/s390/multiarch/Makefile
2779 (sysdep_routines): Remove wcsnlen variants.
2780 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2781 * sysdeps/s390/multiarch/ifunc-impl-list.c
2782 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2783 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2784 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2785 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2786 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2787 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2788 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2789 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2793 * sysdeps/s390/multiarch/Makefile
2794 (sysdep_routines): Remove wcslen variants.
2795 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2796 * sysdeps/s390/multiarch/ifunc-impl-list.c
2797 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2798 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2799 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2800 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2801 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2802 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2803 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2804 * sysdeps/s390/ifunc-wcslen.h: New file.
2806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2808 * sysdeps/s390/multiarch/Makefile
2809 (sysdep_routines): Remove memrchr variants.
2810 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2811 * sysdeps/s390/multiarch/ifunc-impl-list.c
2812 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2813 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2814 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2815 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2816 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2817 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2818 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2819 * sysdeps/s390/ifunc-memrchr.h: New file.
2821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2823 * sysdeps/s390/multiarch/Makefile
2824 (sysdep_routines): Remove memccpy variants.
2825 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2826 * sysdeps/s390/multiarch/ifunc-impl-list.c
2827 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2828 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2829 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2830 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2831 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2832 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2833 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2834 * sysdeps/s390/ifunc-memccpy.h: New file.
2836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2838 * sysdeps/s390/multiarch/Makefile
2839 (sysdep_routines): Remove rawmemchr variants.
2840 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2841 * sysdeps/s390/multiarch/ifunc-impl-list.c
2842 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2843 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2844 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2845 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2846 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2847 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2848 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2849 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2853 * sysdeps/s390/multiarch/Makefile
2854 (sysdep_routines): Remove memchr variants.
2855 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2856 * sysdeps/s390/multiarch/ifunc-impl-list.c
2857 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2858 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2859 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2860 * sysdeps/s390/multiarch/memchr.c: Move to ...
2861 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2862 * sysdeps/s390/ifunc-memchr.h: New file.
2863 * sysdeps/s390/s390-64/memchr.S: Move to ...
2864 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2865 for 31/64bit and ifunc handling.
2866 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2867 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2868 * sysdeps/s390/s390-32/memchr.S: Likewise.
2870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2872 * sysdeps/s390/multiarch/Makefile
2873 (sysdep_routines): Remove strcspn variants.
2874 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2875 * sysdeps/s390/multiarch/ifunc-impl-list.c
2876 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2877 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2878 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2879 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2880 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2881 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2882 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2883 * sysdeps/s390/ifunc-strcspn.h: New file.
2885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2887 * sysdeps/s390/multiarch/Makefile
2888 (sysdep_routines): Remove strpbrk variants.
2889 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2890 * sysdeps/s390/multiarch/ifunc-impl-list.c
2891 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2892 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2893 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2894 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2895 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2896 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2897 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2898 * sysdeps/s390/ifunc-strpbrk.h: New file.
2900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2902 * sysdeps/s390/multiarch/Makefile
2903 (sysdep_routines): Remove strspn variants.
2904 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2905 * sysdeps/s390/multiarch/ifunc-impl-list.c
2906 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2907 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2908 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2909 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2910 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2911 * sysdeps/s390/multiarch/strspn.c: Move to ...
2912 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2913 * sysdeps/s390/ifunc-strspn.h: New file.
2915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2917 * sysdeps/s390/multiarch/Makefile
2918 (sysdep_routines): Remove strrchr variants.
2919 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2920 * sysdeps/s390/multiarch/ifunc-impl-list.c
2921 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2922 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2923 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2924 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2925 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2926 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2927 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2928 * sysdeps/s390/ifunc-strrchr.h: New file.
2930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2932 * sysdeps/s390/multiarch/Makefile
2933 (sysdep_routines): Remove strchrnul variants.
2934 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2935 * sysdeps/s390/multiarch/ifunc-impl-list.c
2936 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2937 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2938 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2939 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2940 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2941 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2942 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2943 * sysdeps/s390/ifunc-strchrnul.h: New file.
2945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2947 * sysdeps/s390/multiarch/Makefile
2948 (sysdep_routines): Remove strchr variants.
2949 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2950 * sysdeps/s390/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2952 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2953 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2954 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2955 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2956 * sysdeps/s390/multiarch/strchr.c: Move to ...
2957 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2958 * sysdeps/s390/ifunc-strchr.h: New file.
2960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2962 * sysdeps/s390/multiarch/Makefile
2963 (sysdep_routines): Remove strncmp variants.
2964 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2965 * sysdeps/s390/multiarch/ifunc-impl-list.c
2966 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2967 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2968 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2969 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2970 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2971 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2972 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2973 * sysdeps/s390/ifunc-strncmp.h: New file.
2975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2977 * sysdeps/s390/multiarch/Makefile
2978 (sysdep_routines): Remove strcmp variants.
2979 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2980 * sysdeps/s390/multiarch/ifunc-impl-list.c
2981 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2982 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2983 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2984 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2985 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2986 * sysdeps/s390/ifunc-strcmp.h: New file.
2987 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2988 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2989 for 31/64bit and ifunc handling.
2990 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2991 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2992 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2994 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2996 * sysdeps/s390/multiarch/Makefile
2997 (sysdep_routines): Remove strncat variants.
2998 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2999 * sysdeps/s390/multiarch/ifunc-impl-list.c
3000 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3001 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3002 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3003 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3004 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3005 * sysdeps/s390/multiarch/strncat.c: Move to ...
3006 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3007 * sysdeps/s390/ifunc-strncat.h: New file.
3009 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3011 * sysdeps/s390/multiarch/Makefile
3012 (sysdep_routines): Remove strcat variants.
3013 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3014 * sysdeps/s390/multiarch/ifunc-impl-list.c
3015 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3016 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3017 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3018 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3019 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3020 * sysdeps/s390/multiarch/strcat.c: Move to ...
3021 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3022 * sysdeps/s390/ifunc-strcat.h: New file.
3024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3026 * sysdeps/s390/multiarch/Makefile
3027 (sysdep_routines): Remove stpncpy variants.
3028 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3029 * sysdeps/s390/multiarch/ifunc-impl-list.c
3030 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3031 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3032 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3033 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3034 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3035 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3036 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3037 * sysdeps/s390/ifunc-stpncpy.h: New file.
3039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3041 * sysdeps/s390/multiarch/Makefile
3042 (sysdep_routines): Remove strncpy variants.
3043 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3044 * sysdeps/s390/multiarch/ifunc-impl-list.c
3045 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3046 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3047 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3048 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3049 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3050 * sysdeps/s390/ifunc-strncpy.h: New file.
3051 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3052 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3053 and adjust ifunc handling.
3054 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3055 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3056 and adjust ifunc handling.
3057 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3058 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3060 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3062 * sysdeps/s390/multiarch/Makefile
3063 (sysdep_routines): Remove stpcpy variants.
3064 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3065 * sysdeps/s390/multiarch/ifunc-impl-list.c
3066 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3067 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3068 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3069 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3070 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3071 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3072 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3073 * sysdeps/s390/ifunc-stpcpy.h: New file.
3075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3077 * sysdeps/s390/multiarch/Makefile
3078 (sysdep_routines): Remove strcpy variants.
3079 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3080 * sysdeps/s390/multiarch/ifunc-impl-list.c
3081 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3082 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3083 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3084 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3085 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3086 * sysdeps/s390/ifunc-strcpy.h: New file.
3087 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3088 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3089 for 31/64bit and ifunc handling.
3090 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3091 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3092 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3096 * sysdeps/s390/multiarch/Makefile
3097 (sysdep_routines): Remove strnlen variants.
3098 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3099 * sysdeps/s390/multiarch/ifunc-impl-list.c
3100 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3101 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3102 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3103 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3104 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3105 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3106 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3107 * sysdeps/s390/ifunc-strnlen.h: New file.
3109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3111 * sysdeps/s390/multiarch/Makefile
3112 (sysdep_routines): Remove strlen variants.
3113 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3114 * sysdeps/s390/multiarch/ifunc-impl-list.c
3115 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3116 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3117 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3118 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3119 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3120 * sysdeps/s390/multiarch/strlen.c: Move to ...
3121 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3122 * sysdeps/s390/ifunc-strlen.h: New file.
3124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3126 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3127 * sysdeps/s390/multiarch/ifunc-impl-list.c
3128 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3129 * sysdeps/s390/ifunc-memmem.h: New file.
3130 * sysdeps/s390/memmem.c: Likewise.
3131 * sysdeps/s390/memmem-c.c: Likewise.
3132 * sysdeps/s390/memmem-vx.c: Likewise.
3134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3136 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3137 * sysdeps/s390/multiarch/ifunc-impl-list.c
3138 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3139 * sysdeps/s390/ifunc-strstr.h: New file.
3140 * sysdeps/s390/strstr.c: Likewise.
3141 * sysdeps/s390/strstr-c.c: Likewise.
3142 * sysdeps/s390/strstr-vx.c: Likewise.
3144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3146 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3147 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3148 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3149 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3151 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3152 * sysdeps/s390/memmove-c.c: New file.
3153 * sysdeps/s390/memmove.c: Likewise.
3154 * sysdeps/s390/multiarch/ifunc-impl-list.c
3155 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3159 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3160 * sysdeps/s390/configure.ac: Add check for z13 support.
3161 * sysdeps/s390/configure: Regenerated.
3163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3165 * sysdeps/s390/memcopy.h: New file.
3167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3169 * sysdeps/s390/s390-32/bcopy.S: Remove.
3170 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3174 * sysdeps/s390/ifunc-memcpy.h: New File.
3175 * sysdeps/s390/memcpy.S: Move to ...
3176 * sysdeps/s390/memcpy-z900.S ... here.
3177 Move implementations from memcpy-s390x.s to here.
3178 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3179 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3180 Remove memcpy/mempcpy variants.
3181 * sysdeps/s390/Makefile (sysdep_routines):
3182 Add memcpy/mempcpy variants.
3183 * sysdeps/s390/multiarch/ifunc-impl-list.c
3184 (__libc_ifunc_impl_list): Adjust ifunc variants for
3186 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3188 * sysdeps/s390/memcpy.c: ... here.
3189 Adjust ifunc variants for memcpy.
3190 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3191 * sysdeps/s390/mempcpy.c: ... here.
3192 Adjust ifunc variants for mempcpy.
3193 * sysdeps/s390/mempcpy.S: Delete file.
3195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3197 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3198 * sysdeps/s390/memcpy.S: ... here.
3199 Adjust to be usable for 31/64bit.
3200 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3201 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3202 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3203 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3204 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3205 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3206 Adjust to be usable for 31/64bit.
3207 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3208 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3209 * sysdeps/s390/multiarch/memcpy.c: ... here.
3210 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3212 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3214 * sysdeps/s390/ifunc-memcmp.h: New File.
3215 * sysdeps/s390/memcmp.S: Move to ...
3216 * sysdeps/s390/memcmp-z900.S ... here.
3217 Move implementations from memcmp-s390x.s to here.
3218 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3219 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3220 Remove memcmp variants.
3221 * sysdeps/s390/Makefile (sysdep_routines):
3222 Add memcmp variants.
3223 * sysdeps/s390/multiarch/ifunc-impl-list.c
3224 (__libc_ifunc_impl_list): Adjust ifunc variants for
3226 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3228 * sysdeps/s390/memcmp.c: ... here.
3229 Adjust ifunc variants for memcmp.
3231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3233 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3234 * sysdeps/s390/memcmp.S: ... here.
3235 Adjust to be usable for 31/64bit.
3236 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3237 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3238 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3240 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3241 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3242 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3243 Adjust to be usable for 31/64bit.
3244 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3245 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3246 * sysdeps/s390/multiarch/memcmp.c: ... here.
3247 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3251 * sysdeps/s390/s390-32/bzero.S: Delete file.
3252 * sysdeps/s390/s390-64/bzero.S: Likewise.
3253 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3254 * sysdeps/s390/bzero.c: New file.
3255 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3256 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3257 * sysdeps/s390/multiarch/ifunc-impl-list.c
3258 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3262 * sysdeps/s390/ifunc-memset.h: New File.
3263 * sysdeps/s390/memset.S: Move to ...
3264 * sysdeps/s390/memset-z900.S ... here.
3265 Move implementations from memset-s390x.s to here.
3266 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3267 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3268 Remove memset variants.
3269 * sysdeps/s390/Makefile (sysdep_routines):
3270 Add memset variants.
3271 * sysdeps/s390/multiarch/ifunc-impl-list.c
3272 (__libc_ifunc_impl_list): Adjust ifunc variants for
3274 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3276 * sysdeps/s390/memset.c: ... here.
3277 Adjust ifunc variants for memset.
3279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3281 * sysdeps/s390/s390-64/memset.S: Move to ...
3282 * sysdeps/s390/memset.S: ... here.
3283 Adjust to be usable for 31/64bit.
3284 * sysdeps/s390/s390-32/memset.S: Delete File.
3285 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3286 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3288 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3289 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3290 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3291 Adjust to be usable for 31/64bit.
3292 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3293 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3294 * sysdeps/s390/multiarch/memset.c: ... here.
3295 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3299 * sysdeps/s390/multiarch/ifunc-resolve.h
3300 (s390_libc_ifunc_init, s390_libc_ifunc,
3301 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3305 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3306 * sysdeps/s390/configure.ac: Add check for z10 support.
3307 * sysdeps/s390/configure: Regenerated.
3309 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3311 * sysdeps/i386/atomic-machine.h: Merged with ...
3312 * sysdeps/x86_64/atomic-machine.h: To ...
3313 * sysdeps/x86/atomic-machine.h: This. New file.
3315 2018-12-18 Florian Weimer <fweimer@redhat.com>
3317 Rewrite locale/gen-translit.pl in Python.
3318 * locale/Makefile (generated): Add C-translit.h.
3319 (before-compile): Add $(objpfx)C-translit.h.
3320 (C-translit.h): Move to $(objpfx). Create target directory.
3321 Build using Python script.
3322 * locale/gen-translit.py: New file.
3323 * locale/gen-translit.pl: Remove file.
3324 * locale/C-translit.h.in: Change comment character to '#' for
3325 easier parsing without a C preprocessor.
3326 * locale/C-translit.h: Remove generated file.
3327 * manual/install.texi (Tools for Compilation): Do not mention
3329 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3330 Remove locale/C-translit.h.
3331 * scripts/update-copyrights: Likewise.
3332 * INSTALL: Regenerate.
3334 2018-12-18 Florian Weimer <fweimer@redhat.com>
3337 * localedata/locales/bi_VU: Remove executable bit from file.
3339 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3342 (__localtime64): Add.
3343 * manual/maint.texi: Document Y2038 symbol handling.
3345 (__localtime64): Add.
3346 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3348 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3350 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3353 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3354 to allow extra macros from first or second sources.
3355 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3356 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3357 (tests-special): Add $(objpfx)tst-mman-consts.out.
3358 ($(objpfx)tst-mman-consts.out): New makefile target.
3360 2018-12-17 Mao Han <han_mao@c-sky.com>
3362 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3363 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3364 without stat64 system call support.
3365 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3366 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3367 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3368 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3369 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3370 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3371 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3372 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3373 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3374 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3375 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3377 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3379 regex: fix storage-exhaustion error
3381 * posix/regexec.c (get_subexp):
3382 Do not continue if storage is exhausted.
3384 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3386 regex: fix heap-use-after-free error
3388 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3389 https://debbugs.gnu.org/32592
3390 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3391 call extend_buffers which reallocates the re_string_t internal buffer.
3392 Local variable 'buf' was not updated in such case, resulting in
3394 * posix/regexec.c (get_subexp): Update 'buf' after call to
3397 2018-12-15 Florian Weimer <fweimer@redhat.com>
3399 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3400 (minimum_stride_size): Use it.
3401 (support_blob_repeat_allocate): Likewise.
3403 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3405 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3410 2018-12-14 Florian Weimer <fweimer@redhat.com>
3412 * manual/process.texi (Process Creation Concepts): Remove
3413 documentation of process (ID) lifetime. List more process
3414 creation functions. Reference Process Identification section.
3415 (Process Identification): Add information about process ID
3416 lifetime. Describe Linux thread/task IDs.
3417 * manual/signal.texi (Signaling Another Process): Mention that the
3418 signal is always sent to the process.
3420 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3422 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3423 and tst-ldbl-efgcvt.
3424 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3425 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3426 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3427 (fcvt_tests, output_error, output_r_error, do_test): Use the
3428 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3429 select the type of floating-point variables and arguments; to
3430 produce extra tests for double and conversion specifiers for
3431 printf; and to set the names of called functions.
3432 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3433 in tst-efgcvt-template.c.
3434 * misc/tst-ldbl-efgcvt.c: Likewise.
3436 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3438 * nss/Makefile (tst-nss-test3.out): New rule.
3440 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3442 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3445 2018-12-13 fanjinke <fanjinke@hygon.cn>
3447 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3450 2018-12-13 Andreas Schwab <schwab@suse.de>
3453 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3454 (__pthread_rwlock_rdlock_full): Update expected value for
3455 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3456 * nptl/tst-rwlock-pwn.c: New file.
3457 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3459 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3461 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3464 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3466 * benchtests/scripts/compare_bench.py (do_compare): write to
3467 stderr in casestat is not present.
3468 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3469 stderr in case timings field is not present. Also string showing
3470 the output filename goes into the stderr.
3472 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3474 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3475 and ZeroDivisorError exceptions.
3476 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3477 argument to loop through user provided statistics.
3478 * benchtests/scripts/compare_bench.py (main): Include the --stats
3481 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3483 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3486 2018-12-12 Florian Weimer <fweimer@redhat.com>
3488 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3489 clause to copyright header.
3491 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3494 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3495 registers saved in the stack frame.
3496 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3497 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3499 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3501 * include/bits/monetary-ldbl.h: New file.
3502 * include/bits/printf-ldbl.h: Likewise.
3503 * include/bits/stdio-ldbl.h: Likewise.
3504 * include/bits/stdlib-ldbl.h: Likewise.
3505 * include/bits/syslog-ldbl.h: Likewise.
3506 * include/bits/wchar-ldbl.h: Likewise.
3508 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3510 * libio/libio.h: Remove redirection for _IO_vfprintf.
3512 2018-12-11 Andreas Schwab <schwab@suse.de>
3514 * Makerules: Remove all references to abilist-pattern.
3515 (update-all-abi): Simplify find expression.
3517 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3520 * math/auto-libm-test-in: Add new test case.
3521 * math/auto-libm-test-out-pow: Regenerated.
3522 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3524 2018-12-10 DJ Delorie <dj@redhat.com>
3527 * support/test-container.c: Move postclean step to before we
3530 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3532 * scripts/gen-as-const.py (main): Handle --python option.
3533 * scripts/gen-py-const.awk: Remove.
3534 * Makerules (py-const-script): Use gen-as-const.py.
3535 ($(py-const)): Likewise.
3536 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3537 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3538 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3539 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3540 ~PTHREAD_MUTEX_NO_ELISION_NP.
3541 * manual/README.pretty-printers: Update reference to
3544 * scripts/glibcextract.py: New file.
3545 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3546 or tempfile. Import glibcexctract.
3547 (compute_c_consts): Remove. Moved to glibcextract.py.
3548 (gen_test): Update reference to compute_c_consts.
3550 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3551 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3552 * sysdeps/unix/sysv/linux/Makefile
3553 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3554 Redirect stderr as well as stdout.
3556 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3559 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3560 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3561 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3562 ALWAYS_USE_VSYSCALL.
3563 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3564 ALWAYS_USE_VSYSCALL.
3565 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3566 ALWAYS_USE_VSYSCALL.
3568 2018-12-10 Florian Weimer <fweimer@redhat.com>
3571 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3572 offset instead of count for clarity. Fix typo in comment.
3573 (__old_getdents64): Keep track of previous offset. Use it to call
3575 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3576 that d_off is never zero.
3578 2018-12-10 Andreas Schwab <schwab@suse.de>
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3581 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3583 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3584 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3586 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3588 * timezone/private.h: Update from tzcode 2018g.
3589 * timezone/tzfile.h: Likewise.
3590 * timezone/tzselect.ksh: Likewise.
3591 * timezone/zdump.c: Likewise.
3592 * timezone/zic.c: Likewise.
3594 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3597 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3598 (do_test): Adjust buffer size and fix format.
3600 2018-12-07 DJ Delorie <dj@redhat.com>
3603 * malloc/tst-tcfree3.c: New.
3604 * malloc/Makefile: Add it.
3606 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3608 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3610 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3612 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3613 used as a mask for the mode argument of __vfscanf_internal and
3614 __vfwscanf_internal.
3615 * stdio-common/vfscanf-internal.c
3616 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3617 (__strtof128_internal): Define to __wcstof128_internal.
3618 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3619 __strtof128_internal or __wcstof128_internal when the format of
3620 long double is the same as _Float128.
3622 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3624 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3625 * posix/confstr.c (confstr): Rename to __confstr.
3626 (__confstr): Add hidden def.
3627 (confstr): Add weak alias for __confstr.
3628 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3631 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3633 * NEWS: Mention getcpu.
3634 * include/sched.h (__getcpu): New libc_hidden_proto.
3635 * manual/resource.texi: Document getcpu.
3636 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3639 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3640 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3641 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3642 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3643 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3644 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3645 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3647 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3648 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3650 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3652 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3661 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3663 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3664 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3668 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3669 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3670 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3671 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3674 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3676 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3678 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3680 2018-12-07 Florian Weimer <fweimer@redhat.com>
3683 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3684 * posix/Versions (GLIBC_2.29): Export
3685 posix_spawn_file_actions_addfchdir_np.
3686 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3687 * posix/spawn_faction_destroy.c
3688 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3689 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3690 and the field action.fchdir_action.
3691 * posix/tst-spawn-chdir.c (add_chdir): New function.
3692 (do_test): Add do_fchdir loop. Call add_chdir.
3693 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3694 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3695 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3696 posix_spawn_file_actions_addfchdir_np.
3697 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3699 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3701 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3702 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3704 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3706 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3708 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3710 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3712 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3714 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3715 (GLIBC_2.29): Likewise.
3716 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3717 (GLIBC_2.29): Likewise.
3718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3719 (GLIBC_2.29): Likewise.
3720 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3721 (GLIBC_2.29): Likewise.
3722 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3725 (GLIBC_2.29): Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3727 (GLIBC_2.29): Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3729 (GLIBC_2.29): Likewise.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3731 (GLIBC_2.29): Likewise.
3732 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3734 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3736 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3738 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3741 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3743 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3745 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3748 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3750 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3751 trailing whitespace removed.
3752 * scripts/config.guess: Update to version 2018-11-28.
3753 * scripts/config.sub: Update to version 2018-11-28.
3754 * scripts/install-sh: Update to version 2018-03-11.20.
3755 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3756 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3758 2018-12-07 Florian Weimer <fweimer@redhat.com>
3762 * inet/tst-if_index-long.c: New file.
3763 * inet/Makefile (tests): Add tst-if_index-long.
3765 2018-12-07 Florian Weimer <fweimer@redhat.com>
3767 * support/check.h (support_record_failure_is_failed): Declare.
3768 * support/descriptors.h: New file.
3769 * support/support_descriptors.c: Likewise.
3770 * support/tst-support_descriptors.c: Likewise.
3771 * support/support_record_failure.c
3772 (support_record_failure_is_failed): New function.
3773 * support/Makefile (libsupport-routines): Add support_descriptors.
3774 (tests): Add tst-support_descriptors.
3776 2018-12-05 Zack Weinberg <zackw@panix.com>
3777 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3779 * stdio-common/vfprintf-internal.c
3780 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3781 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3783 and __no_long_double.
3784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3785 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3786 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3787 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3788 and __nldbl_*syslog* functions.
3789 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3790 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3791 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3792 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3793 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3794 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3795 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3796 (__nldbl_vwprintf, __nldbl_wprintf):
3797 Directly call the appropriate __v*printf_internal routine, passing
3798 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3800 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3801 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3802 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3803 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3804 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3805 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3806 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3807 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3808 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3809 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3810 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3811 (__nldbl_syslog, __nldbl_vsyslog):
3812 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3813 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3815 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3818 2018-12-05 Zack Weinberg <zackw@panix.com>
3819 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3822 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3823 Moved here from debug/vsprintf_chk.c.
3824 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3825 and completion logic for the strfile to match exactly what
3826 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3827 _IO_str_init_static_internal instead of maxlen-1.
3828 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3829 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3830 __vsprintf_internal.
3832 * debug/vsprintf_chk.c (__vsprintf_chk)
3833 * debug/sprintf_chk.c (__sprintf_chk):
3834 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3835 'flags' argument is positive, and slen as maxlen. No need to lock
3836 the FILE and/or construct a temporary FILE. Minimize and normalize
3837 header inclusions and variable names. Do not libc_hidden_def anything.
3839 * debug/asprintf_chk.c (__asprintf_chk)
3840 * debug/dprintf_chk.c (__dprintf_chk)
3841 * debug/fprintf_chk.c (__fprintf_chk)
3842 * debug/fwprintf_chk.c (__fwprintf_chk)
3843 * debug/printf_chk.c (__printf_chk)
3844 * debug/snprintf_chk.c (__snprintf_chk)
3845 * debug/swprintf_chk.c (__swprintf_chk)
3846 * debug/vasprintf_chk.c (__vasprintf_chk)
3847 * debug/vdprintf_chk.c (__vdprintf_chk)
3848 * debug/vfprintf_chk.c (__vfprintf_chk)
3849 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3850 * debug/vprintf_chk.c (__vprintf_chk)
3851 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3852 * debug/vswprintf_chk.c (__vswprintf_chk)
3853 * debug/vwprintf_chk.c (__vwprintf_chk)
3854 * debug/wprintf_chk.c (__wprintf_chk):
3855 Directly call the corresponding vxxprintf_internal function, passing
3856 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3857 the FILE and/or construct a temporary FILE. Minimize and normalize
3858 header inclusions and variable names. Do not libc_hidden_def anything.
3860 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3861 __obstack_vprintf_internal.
3862 (__obstack_vprintf_chk): Convert into a wrapper that calls
3863 __obstack_vprintf_internal (these two functions already had the
3864 same code) and move to new file...
3865 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3867 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3868 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3869 * debug/Makefile (routines): Add vobprintf_chk.
3871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3872 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3873 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3874 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3875 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3876 (__nldbl___obstack_vfprintf_chk):
3877 Directly call the corresponding vxxprintf_internal function,
3878 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3879 duplicate comparison of slen with 0 or maxlen from the corresponding
3880 non-__nldbl function.
3882 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3883 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3884 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3885 Remove libc_hidden_proto.
3887 * stdio-common/vfprintf-internal.c
3888 (__vfprintf_internal, __vfwprintf_internal):
3889 Do not check _IO_FLAGS2_FORTIFY.
3890 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3891 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3892 a comment explaining why it has the maxlen argument.
3893 (_IO_acquire_lock_clear_flags2_fct): Remove.
3894 (_IO_acquire_lock_clear_flags2): Remove.
3895 (_IO_release_lock): Remove conditional statement which will
3897 (_IO_acquire_lock): Remove variable which is now unused.
3898 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3899 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3901 * stdio-common/Makefile (tests): Add tst-bz11319 and
3902 tst-bz11319-fortify2.
3903 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3904 * stdio-common/tst-bz11319-fortify2.c: New file.
3905 * stdio-common/tst-bz11319.c: Likewise.
3907 2018-12-05 Zack Weinberg <zackw@panix.com>
3908 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3910 * misc/syslog.c: Include libioP.h, not iolibio.h.
3911 (__vsyslog_internal): New function with the former body of
3912 __vsyslog_chk; takes mode_flags argument same as
3913 __v*printf_internal. Call __vfprintf_internal directly.
3915 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3916 Remove libc_hidden_def.
3917 (__syslog, __syslog_chk): Use __vsyslog_internal.
3918 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3920 * include/sys/syslog.h: Add multiple inclusion guard.
3921 Add prototype for __vsyslog_internal.
3922 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3924 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3925 Use __vsyslog_internal.
3927 2018-12-05 Zack Weinberg <zackw@panix.com>
3928 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3930 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3931 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3932 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3934 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3935 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3937 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3938 Include wctype.h here if COMPILE_WPRINTF is defined.
3939 Define __vfprintf_internal or __vfwprintf_internal, depending
3941 Temporarily, on entry to this function, update mode_flags
3942 according to the environmental settings corresponding to
3943 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3944 Throughout, check mode_flags instead of __ldbl_is_dbl and
3945 _IO_FLAGS2_FORTIFY on the destination FILE.
3946 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3947 Include vfprintf-internal.c. Don't include wctype.h.
3948 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3949 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3951 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3952 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3954 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3956 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3957 and add mode_flags argument; use __vfprintf_internal.
3958 (__vdprintf): New function. Alias vdprintf to this.
3959 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3960 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3961 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3962 (__obstack_printf): Use __obstack_printf_internal.
3963 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3964 public aliases __vsnprintf and vsnprintf.
3965 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3967 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3968 public aliases _IO_vsprintf and vsprintf.
3969 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3970 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3971 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3972 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3973 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3975 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3976 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3977 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3978 * stdio-common/printf.c: Use __vfprintf_internal.
3980 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3981 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3982 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3984 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3985 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3986 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3987 __vfwprintf_internal.
3989 * libio/libio.h: Remove libc_hidden_proto and declaration for
3991 Remove declaration of _IO_vfwprintf.
3992 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3994 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3996 * include/stdio.h: Add prototype for __vasprintf.
3997 (__vsnprintf): Remove declaration, because there are no more
3999 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4000 declaration, because there are no more internal calls.
4002 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4003 __vsnprintf_internal, instead of _IO_vsnprintf.
4004 * argp/argp-help.c (__argp_error, __argp_failure): Use
4005 __vasprintf_internal, instead of _IO_vasprintf.
4006 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4007 redefine, because there are no more internal calls.
4009 2018-12-05 Zack Weinberg <zackw@panix.com>
4010 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4012 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4013 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4014 Include libio/strfile.h instead of libioP.h.
4015 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4016 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4017 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4018 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4019 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4020 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4021 necessary. Do not set __no_long_double. Normalize variable names.
4022 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4023 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4024 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4025 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4026 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4027 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4028 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4029 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4030 Do not set __no_long_double. Normalize variable names.
4032 2018-12-05 Zack Weinberg <zackw@panix.com>
4033 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4035 * stdio-common/isoc99_scanf.c
4036 * stdio-common/isoc99_fscanf.c
4037 * stdio-common/isoc99_sscanf.c
4038 * stdio-common/isoc99_vscanf.c
4039 * stdio-common/isoc99_vfscanf.c
4040 * stdio-common/isoc99_vsscanf.c
4041 * wcsmbs/isoc99_wscanf.c
4042 * wcsmbs/isoc99_fwscanf.c
4043 * wcsmbs/isoc99_swscanf.c
4044 * wcsmbs/isoc99_vwscanf.c
4045 * wcsmbs/isoc99_vfwscanf.c
4046 * wcsmbs/isoc99_vswscanf.c:
4047 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4048 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4049 No need to lock and unlock the FILE passed to that function.
4051 * stdio-common/vfscanf-internal.c
4052 (__vfscanf_internal, __vfwscanf_internal):
4053 Don't look at _IO_FLAGS2_SCANF_STD.
4054 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4055 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4056 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4058 2018-12-05 Zack Weinberg <zackw@panix.com>
4059 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4061 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4062 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4063 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4064 * libio/strfile.h: Add multiple inclusion guard.
4065 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4067 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4068 consistency with the other version of this file.
4069 (ldbl_compat_symbol): New macro.
4070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4073 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4074 Define __vfscanf_internal or __vfwscanf_internal, depending on
4075 COMPILE_WSCANF; don't define any other public symbols.
4076 Remove errval and code to set errp.
4077 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4078 as the mode_flags argument.
4079 (encode_error, conv_error, input_error): Don't set errval.
4080 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4081 Include vfscanf-internal.c.
4082 * stdio-common/vfscanf.c: New file defining the public entry
4083 point vfscanf, which calls __vfscanf_internal.
4084 * stdio-common/vfwscanf.c: New file defining the public entry
4085 point vfwscanf, which calls __vfwscanf_internal.
4087 * stdio-common/iovfscanf.c: New file.
4088 * stdio-common/iovfwscanf.c: Likewise.
4090 * stdio-common/Makefile (routines): Add vfscanf-internal,
4091 vfwscanf-internal, iovfscanf, iovfwscanf.
4092 * stdio-common/Versions: Mention GLIBC_2.29, so that
4093 it can be used in SHLIB_COMPAT expressions.
4094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4095 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4096 Call __vfscanf_internal, instead of _IO_vfscanf.
4097 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4099 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4102 * libio/iovsscanf.c: Clean up includes, when possible. Use
4103 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4104 __vfscanf_internal or __vfwscanf_internal directly.
4105 * libio/iovswscanf.c: Likewise.
4106 * libio/swscanf.c: Likewise.
4107 * libio/vscanf.c: Likewise.
4108 * libio/vwscanf.c: Likewise.
4109 * libio/wscanf.c: Likewise.
4110 * stdio-common/isoc99_fscanf.c: Likewise.
4111 * stdio-common/isoc99_scanf.c: Likewise.
4112 * stdio-common/isoc99_sscanf.c: Likewise.
4113 * stdio-common/isoc99_vfscanf.c: Likewise.
4114 * stdio-common/isoc99_vscanf.c: Likewise.
4115 * stdio-common/isoc99_vsscanf.c: Likewise.
4116 * stdio-common/scanf.c: Likewise.
4117 * stdio-common/sscanf.c: Likewise.
4118 * wcsmbs/isoc99_fwscanf.c: Likewise.
4119 * wcsmbs/isoc99_swscanf.c: Likewise.
4120 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4121 * wcsmbs/isoc99_vswscanf.c: Likewise.
4122 * wcsmbs/isoc99_vwscanf.c: Likewise.
4123 * wcsmbs/isoc99_wscanf.c: Likewise.
4125 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4128 (__tz_compute): Replace time_t with __time64_t.
4129 (__tz_convert): Replace time_t* with __time64_t.
4130 (__offtime): Replace time_t* with __time64_t.
4132 (__gmtime_r): Adjust call to __tz_convert.
4135 (__localtime_r): Likewise.
4136 (localtime): Likewise.
4137 * time/offtime.c: Replace time_t with __time64_t.
4138 * time/tzset.c: Likewise.
4140 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4142 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4143 dynamic linker unless [$(run-built-tests) = yes].
4145 2018-12-03 DJ Delorie <dj@delorie.com>
4147 * support/test-container.c (check_for_unshare_hints): New.
4148 (main): Call it if unshare fails. Add support for "su" scriptlet
4151 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4153 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4154 'START' to indicate that start text should be output.
4155 (gen_test): Likewise.
4156 (main): Generate 'START' for first symbol or '--' line, or at end
4157 of input if not previously generated.
4159 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4162 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4163 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4164 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4165 ALWAYS_USE_VSYSCALL.
4167 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4170 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4173 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4176 * locale/programs/localedef.c: Declare boolean hard_links default true.
4177 (options): Add --no-hard-links option.
4178 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4179 * locale/programs/localedef.h: Declare prototype for hard_links.
4180 * locale/programs/locfile.c (write_locale_data): Don't use hard
4181 links if hard_links is false.
4183 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4185 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4187 (__cache_sysconf): Likewise.
4188 (init_cacheinfo): Likewise.
4189 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4190 populate COMMON_CPUID_INDEX_80000007 and
4191 COMMON_CPUID_INDEX_80000008.
4192 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4193 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4194 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4195 (init_cpu_features): Use _Static_assert on
4196 index_arch_Fast_Unaligned_Load.
4197 __get_cpuid_registers and __get_arch_feature. Updated for
4198 cpu_features_basic. Set stepping in cpu_features.
4199 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4200 (FEATURE_INDEX_2): New.
4201 (FEATURE_INDEX_MAX): Changed to enum.
4202 (COMMON_CPUID_INDEX_D_ECX_1): New.
4203 (COMMON_CPUID_INDEX_80000007): Likewise.
4204 (COMMON_CPUID_INDEX_80000008): Likewise.
4205 (cpuid_registers): Likewise.
4206 (cpu_features_basic): Likewise.
4207 (CPU_FEATURE_USABLE): Likewise.
4208 (bit_arch_XXX_Usable): Likewise.
4209 (cpu_features): Use cpuid_registers and cpu_features_basic.
4210 (bit_arch_XXX): Reweritten.
4211 (bit_cpu_XXX): Likewise.
4212 (index_cpu_XXX): Likewise.
4213 (reg_XXX): Likewise.
4214 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4216 (CHECK_CPU_FEATURE): New.
4217 (CHECK_CPU_FEATURE_USABLE): Likewise.
4218 (cpu_kinds): Likewise.
4219 (do_test): Print vendor, family, model and stepping. Check
4220 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4221 (TEST_FUNCTION): Removed.
4222 Include <support/test-driver.c> instead of
4223 "../../test-skeleton.c".
4224 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4225 Check POPCNT instead of POPCOUNT.
4226 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4228 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4230 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4231 there is no element in `consts'.
4233 2018-12-01 Florian Weimer <fweimer@redhat.com>
4235 * support/support_capture_subprocess.c
4236 (support_capture_subprocess): Check that pipe descriptors have
4237 expected values. Close original pipe descriptors in subprocess.
4239 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4242 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4243 attr with __pthread_default_barrierattr.
4244 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4245 attr with __pthread_default_condattr.
4246 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4247 attr with __pthread_default_mutexattr.
4248 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4249 attr with __pthread_default_rwlockattr.
4251 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4253 * manual/tunables.texi (POSIX Thread Tunables): New node.
4254 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4255 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4256 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4257 __pthread_tunables_init.
4258 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4259 (max_adaptive_count): Define.
4260 * nptl/pthread_mutex_conf.c: New file.
4261 * nptl/pthread_mutex_conf.h: New file.
4262 * sysdeps/generic/adaptive_spin_count.h: New file.
4263 * sysdeps/nptl/dl-tunables.list: New file.
4264 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4265 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4266 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4269 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4272 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4273 * stdlib/on_exit.c (__on_exit): Likewise.
4274 * stdlib/Makefile (tests): Add tst-bz20544.
4275 * stdlib/tst-bz20544.c: New test.
4277 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4280 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4281 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4284 2018-11-30 Florian Weimer <fweimer@redhat.com>
4286 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4287 Extend error logging.
4288 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4291 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4293 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4294 __sigismember instead of sigismember.
4295 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4296 cancel_handler): New definitions.
4297 (do_system): Use posix_spawn instead of fork and execl and remove
4299 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4300 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4301 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4302 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4303 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4304 * sysdeps/unix/sysv/linux/system.c: Likewise.
4308 * NEWS: Add new semantic for atfork with popen and system.
4309 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4312 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4315 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4316 modification order when accessing reloc_result->addr.
4317 * include/link.h (reloc_result): Add field init.
4318 * nptl/Makefile (tests): Add tst-audit-threads.
4319 (modules-names): Add tst-audit-threads-mod1 and
4320 tst-audit-threads-mod2.
4321 Add rules to build tst-audit-threads.
4322 * nptl/tst-audit-threads-mod1.c: New file.
4323 * nptl/tst-audit-threads-mod2.c: Likewise.
4324 * nptl/tst-audit-threads.c: Likewise.
4325 * nptl/tst-audit-threads.h: Likewise.
4327 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4329 * scripts/gen-as-const.py: New file.
4330 * scripts/gen-as-const.awk: Remove.
4331 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4333 ($(objpfx)test-as-const-%.c): Likewise.
4335 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4337 * elf/dl-exception.c: Include <_itoa.h>.
4339 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4341 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4342 returned by __f_setlk.
4344 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4345 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4347 * elf/Makefile (tests-internal): Add tst-create_format1.
4348 * elf/dl-exception.c (_dl_exception_create_format): Support
4350 * elf/tst-create_format1.c: New file.
4352 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4354 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4355 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4357 * argp/argp-help.c (__argp_failure): Likewise.
4359 2018-11-29 Mao Han <han_mao@c-sky.com>
4361 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4362 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4363 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4364 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4365 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4366 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4367 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4368 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4369 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4370 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4371 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4372 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4373 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4374 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4375 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4376 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4377 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4378 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4379 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4380 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4381 (R_CKCORE_TLS_TPOFF32): New defines.
4383 2018-11-29 Florian Weimer <fweimer@redhat.com>
4385 * posix/Makefile (before-compile): Remove testcases.h and
4387 (generated): Add testcases.h and ptestcases.h.
4388 (testcases.h, ptestcases.h): Move to $(objpfx).
4389 (runtests.o): Add dependency on testcases.h.
4390 (runptests.o): Add dependency on ptestcases.h.
4391 * posix/testcases.h, posix/ptestcases.h: Remove files.
4392 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4393 not touch posix/testcases.h and posix/ptestcases.h.
4395 2018-11-28 Florian Weimer <fweimer@redhat.com>
4397 support: Add signal support to support_capture_subprocess_check.
4398 * support/capture_subprocess.h (support_capture_subprocess_check):
4399 Adjust comment and rename parameter.
4400 * support/support_capture_subprocess_check.c
4401 (print_actual_status): New function.
4402 (support_capture_subprocess_check): Support negative
4403 status_or_signal. Call print_actual_status.
4404 * support/tst-support_capture_subprocess.c (do_test): Call
4405 support_capture_subprocess_check.
4406 * libio/tst-vtables-common.c (termination_status)
4407 (init_termination_status): Remove.
4408 (check_for_termination): Adjust support_capture_subprocess_check
4410 (do_test): Remove call to init_termination_status.
4412 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4414 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4415 source directory instead of a copy.
4416 (CommandList.create_copy_dir): Remove.
4418 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4420 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4422 2018-11-28 Florian Weimer <fweimer@redhat.com>
4424 * support/support.h (support_quote_string): Do not use str
4427 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4430 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4432 2018-11-27 Florian Weimer <fweimer@redhat.com>
4434 * support/support.h (support_quote_string): Declare.
4435 * support/support_quote_string.c: New file.
4436 * support/tst-support_quote_string.c: Likewise.
4437 * support/Makefile (libsupport-routines): Add
4438 support_quote_string.
4439 (tests): Add tst-support_quote_string.
4441 2018-11-27 Florian Weimer <fweimer@redhat.com>
4445 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4446 descriptor leak in case of ENODEV error.
4448 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4451 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4452 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4455 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4457 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4458 Error for unknown lines.
4460 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4462 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4463 Touch additional files.
4465 2018-11-26 Florian Weimer <fweimer@redhat.com>
4468 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4471 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4474 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4475 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4476 SHARED. Include sysdep.h.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4478 ALWAYS_USE_VSYSCALL.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4480 ALWAYS_USE_VSYSCALL.
4482 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4485 * nptl/Makefile (tests-static): Add tst-cond11-static.
4487 * nptl/tst-cond11-static.c: New File.
4488 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4489 tst-affinity-static.
4491 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4493 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4494 (USE_VSYSCALL): Likewise.
4495 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4496 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4503 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4507 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4510 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4512 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4513 (tst-cet-legacy-1a-ARGS): New.
4514 ($(objpfx)tst-cet-legacy-1a): New target.
4515 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4517 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4519 * conform/conformtest.py (CompileSubTest.__init__): Set
4520 self.run_early to False.
4521 (ExecuteSubTest.__init__): Likewise.
4522 (HeaderTests.run): Try running all non-optional, non-XFAILed
4523 compilation tests in a single execution of the compiler.
4525 * conform/conformtest.py (CompileSubTest): New class.
4526 (ExecuteSubTest): Likewise.
4527 (ElementTest.run): Rename to gen_subtests. Append tests to
4528 self.subtests instead of running them.
4529 (ConstantTest.run): Likewise.
4530 (SymbolTest.run): Likewise.
4531 (TypeTest.run): Likewise.
4532 (TagTest.run): Likewise.
4533 (FunctionTest.run): Likewise.
4534 (VariableTest.run): Likewise.
4535 (MacroFunctionTest.run): Likewise.
4536 (MacroStrTest.run): Likewise.
4537 (HeaderTests.handle_test_line): Generate subtests for tests.
4538 (HeaderTests.run): Run subtests for tests.
4540 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4542 * math/Versions (GLIBC_2.29): Add pow.
4543 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4545 * math/w_pow.c: New file.
4546 * sysdeps/i386/fpu/w_pow.c: New file.
4547 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4549 and add necessary aliases.
4550 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4551 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4552 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4553 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4554 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4555 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4556 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4557 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4558 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4559 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4560 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4561 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4562 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4563 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4564 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4571 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4572 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4573 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4574 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4576 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4578 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4579 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4580 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4582 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4584 * math/Versions (GLIBC_2.29): Add log2.
4585 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4587 * math/w_log2.c: New file.
4588 * sysdeps/i386/fpu/w_log2.c: New file.
4589 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4590 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4591 and add necessary aliases.
4592 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4593 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4594 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4595 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4596 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4597 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4598 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4599 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4600 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4601 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4602 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4603 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4604 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4605 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4606 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4611 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4613 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4614 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4616 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4617 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4619 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4621 * math/Versions (GLIBC_2.29): Add log.
4622 * math/w_log_compat.c (__log_compat): Change to versioned compat
4624 * math/w_log.c: New file.
4625 * sysdeps/i386/fpu/w_log.c: New file.
4626 * sysdeps/ia64/fpu/e_log.S: Update.
4627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4628 and add necessary aliases.
4629 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4630 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4631 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4634 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4635 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4636 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4637 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4638 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4639 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4640 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4641 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4642 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4643 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4648 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4649 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4650 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4651 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4652 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4653 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4654 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4655 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4657 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4658 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4659 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4660 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4662 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4664 * math/Versions (GLIBC_2.29): Add exp and exp2.
4665 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4666 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4667 * math/w_exp_compat.c (__exp_compat): Likewise.
4668 * math/w_exp.c: New file.
4669 * math/w_exp2.c: New file.
4670 * sysdeps/i386/fpu/w_exp.c: New file.
4671 * sysdeps/i386/fpu/w_exp2.c: New file.
4672 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4673 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4675 and add necessary aliases.
4676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4677 and add necessary aliases.
4678 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4679 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4680 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4681 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4682 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4683 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4684 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4685 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4686 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4687 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4688 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4689 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4691 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4692 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4693 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4694 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4699 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4700 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4701 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4702 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4703 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4704 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4706 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4707 (__ieee754_exp): Rename to __exp.
4708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4709 (__ieee754_exp): Rename to __exp.
4710 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4711 (__ieee754_exp): Rename to __exp.
4712 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4714 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4716 2018-11-20 DJ Delorie <dj@redhat.com>
4718 * malloc/malloc.c (tcache_entry): Add key field.
4719 (tcache_put): Set it.
4720 (tcache_get): Likewise.
4721 (_int_free): Check for double free in tcache.
4722 * malloc/tst-tcfree1.c: New.
4723 * malloc/tst-tcfree2.c: New.
4724 * malloc/Makefile: Run the new tests.
4725 * manual/probes.texi: Document memory_tcache_double_free probe.
4727 * dlfcn/dlerror.c (check_free): Prevent double frees.
4729 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4731 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4733 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4735 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4736 in tests. Use names for format arguments.
4737 (ConstantTest.run): Likewise.
4738 (SymbolTest.run): Likewise.
4739 (TypeTest.run): Likewise.
4740 (TagTest.run): Likewise.
4741 (FunctionTest.run): Likewise.
4742 (VariableTest.run): Likewise.
4743 (MacroFunctionTest.run): Likewise.
4744 (MacroStrTest.run): Likewise.
4745 (HeaderTests.__init__): Set self.num_tests.
4746 (HeaderTests.handle_test_line): Set test.num. Increment
4749 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4751 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4752 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4755 2018-11-19 Mao Han <han_mao@c-sky.com>
4757 * scripts/config.guess: Update to version 2018-08-29.
4758 * scripts/config.sub: Update to version 2018-08-29.
4760 2018-11-19 Florian Weimer <fweimer@redhat.com>
4762 support: Print timestamps in timeout handler.
4763 * support/support_test_main.c (print_timestamp): New function.
4764 (signal_handler): Use it to print the termination time and the
4765 time of the last write to standard output.
4767 2018-11-16 Zack Weinberg <zackw@panix.com>
4768 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4770 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4771 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4773 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4774 and add flags argument. Check flags instead of __ldbl_is_dbl when
4775 deciding whether to set is_long_double.
4776 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4777 passing zero for flags argument.
4778 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4780 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4781 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4782 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4783 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4784 variable names. Remove libc_hidden_def/libc_hidden_proto from
4785 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4786 longer called from within the library.
4787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4788 for __nldbl___vstrfmon_l, declare it explicitly.
4790 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4792 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4794 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4796 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4797 F_SETLK64, F_SETLKW64, respectively.
4798 * sysdeps/mach/hurd/f_setlk.c: New file.
4799 * sysdeps/mach/hurd/f_setlk.h: New file.
4800 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4802 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4803 (__libc_fcntl): Move non-flock operations to...
4804 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4805 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4807 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4809 mktime: DEBUG_MKTIME cleanup
4810 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4811 And it’s no longer needed now that glibc and Gnulib both have
4812 their own testing mechanisms for mktime.
4813 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4815 mktime: fix non-EOVERFLOW errno handling
4817 mktime was not properly reporting failures when the underlying
4818 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4819 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4820 The problem could happen on non-glibc platforms, with Gnulib.
4821 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4822 (tm_diff): ... this simpler function, which does not change errno.
4823 All callers changed to deal with errno themselves.
4824 (ranged_convert, __mktime_internal): Return failure immediately if
4825 the underlying function reports any failure other than EOVERFLOW.
4826 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4829 mktime: fix bug with Y2038 DST transition
4831 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4832 mishandle a DST transition that jumps over the Y2038 boundary.
4833 No such DST transitions are known so this is only a theoretical
4834 bug, but we might as well do things right.
4836 mktime: make more room for overflow
4838 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4839 This is so that we can add tm_diff results to a previous guess,
4840 which will be useful in a later patch.
4842 mktime: simplify offset guess
4844 * time/mktime.c (__mktime_internal): Omit excess precision.
4846 mktime: new test for mktime failure
4848 Based on a test suggested by Albert Aribaud in:
4849 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4850 * time/Makefile (tests): Add bug-mktime4.
4851 * time/bug-mktime4.c: New file.
4853 mktime: fix EOVERFLOW bug
4855 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4856 Include libc-config.h, not config.h, for __set_errno.
4857 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4859 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4861 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4862 __attribute_copy__ to copy attributes from name. Drop static qualifier
4863 to avoid warnings about leaf attribute not having effect on static
4866 2018-11-13 Florian Weimer <fweimer@redhat.com>
4868 * malloc/malloc.c (fastbin_push_entry): New function.
4869 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4870 (REMOVE_FB): Remove macro.
4871 (_int_malloc): Use fastbin_pop_entry and reindent.
4872 (_int_free): Use fastbin_push_entry.
4873 (malloc_consolidate): Use atomic_exchange_acquire.
4875 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4877 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4878 alias attribute, not with strong_alias.
4880 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4881 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4882 with additional parameter thread.
4883 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4884 in terms of __hidden_ver2.
4885 (hidden_tls_def): New macro.
4886 (libc_hidden_tls_def): Likewise.
4887 (rtld_hidden_tls_def): Likewise.
4888 (libm_hidden_tls_def): Likewise.
4889 (libmvec_hidden_tls_def): Likewise.
4890 (libresolv_hidden_tls_def): Likewise.
4891 (librt_hidden_tls_def): Likewise.
4892 (libdl_hidden_tls_def): Likewise.
4893 (libnss_files_hidden_tls_def): Likewise.
4894 (libnsl_hidden_tls_def): Likewise.
4895 (libnss_nisplus_hidden_tls_def): Likewise.
4896 (libutil_hidden_tls_def): Likewise.
4897 (libutil_hidden_tls_def): Likweise.
4898 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4899 libc_hidden_tls_def.
4900 (__sim_disabled_exceptions_thread): Likewise.
4901 (__sim_round_mode_thread): Likewise.
4903 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4904 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4905 copy attributes from name.
4907 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4909 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4910 Use __attribute_copy__ to copy attributes from name.
4912 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4913 with __hidden_ver1 call.
4914 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4915 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4916 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4917 (__cosf): Do not declare here.
4918 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4919 (__sincosf): Do not declare here.
4920 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4921 (__sinf): Do not declare here.
4923 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4924 (__BIG_ENDIAN): Likewise.
4925 (__BYTE_ORDER): Likewise.
4926 (strong_alias): Likewise.
4927 (_strong_alias): Likewise.
4929 2018-11-12 Florian Weimer <fweimer@redhat.com>
4931 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4932 function. Move after the definition of in_smallbin_range. Do not
4933 use __builtin_expect for paths that lead to a noreturn function.
4934 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4935 because it is unclear whether this is in fact an unlikely
4937 (_int_malloc, _int_free): Adjust.
4938 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4940 * malloc/arena.c (heap_trim): Likewise.
4942 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4945 it, free it if needed.
4946 (reauthenticate): Test and use ccwdir.
4947 (child_init_port): In non-resetids case, test and use ccwdir.
4948 (child_chdir): New nested function to set ccwdir.
4949 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4950 * hurd/hurd/port.h (_hurd_port_move): New function.
4951 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4952 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4953 * hurd/Versions (_hurd_port_move): Export function.
4954 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4956 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4957 of dtablesize for allocating dtable_cloexec.
4959 2018-11-09 Martin Sebor <msebor@redhat.com>
4961 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4962 it's already defined.
4963 (_strong_alias): Use __attribute_copy__.
4964 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4965 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4966 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4967 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4968 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4969 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4970 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4971 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4972 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4973 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4974 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4975 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4976 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4977 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4978 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4979 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4980 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4981 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4982 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4984 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4986 * misc/tst-efgcvt.c: Include support/check.h and
4987 support/test-driver.c. Do not include test-skeleton.c.
4988 (error_count): Remove.
4989 (output_error): Replace increments to error_count with calls to
4990 support_record_failure.
4991 (output_r_error): Likewise.
4992 (special): Likewise.
4993 (do_test): Unconditionally return zero.
4994 (TEST_FUNCTION): Remove.
4996 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4998 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5000 ($(linknamespace-header-tests)): Likewise.
5002 * conform/conformtest.py: New file.
5003 * conform/conformtest.pl: Remove.
5004 * conform/GlibcConform.pm: Likewise.
5005 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5006 (KEYWORDS_C99): Likewise.
5007 (KEYWORDS): Likewise.
5008 * conform/Makefile ($(conformtest-header-tests)): Use
5009 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5010 option. Use --header instead of --headers.
5011 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5013 * conform/data/spawn.h-data: Likewise.
5014 * conform/data/fcntl.h-data (openat): Add space after function
5016 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5017 (wcscasecmp_l): Likewise.
5018 * conform/data/termios.h-data (c_cc): Add space after element
5021 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5023 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5024 instead of manually comparing and reporting mismatching strings.
5025 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5026 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5028 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5030 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5031 __ASSUME_SOCKETCALL.
5032 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5033 (__ASSUME_SOCKETCALL): Remove.
5034 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5035 (__ASSUME_SOCKETCALL): Likewise.
5036 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5037 (__ASSUME_SOCKETCALL): Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5039 (__ASSUME_SOCKETCALL): Likewise.
5040 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5041 (__ASSUME_SOCKETCALL): Likewise.
5042 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5043 (__ASSUME_SOCKETCALL): Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5045 (__ASSUME_SOCKETCALL): Likewise.
5047 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5050 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5051 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5052 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5053 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5054 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5057 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5060 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5062 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5066 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5068 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5070 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5072 * support/support_test_compare_string.c
5073 (support_test_compare_string): Fix printf format.
5075 2018-11-07 Florian Weimer <fweimer@redhat.com>
5077 Implement TEST_COMPARE_STRING.
5078 * support/check.h (TEST_COMPARE_STRING): Define.
5079 (support_test_compare_string): Declare.
5080 * support/Makefile (libsupport-routines): Add
5081 support_test_compare_string.
5082 (tests): Add tst-test_compare_string.
5083 * support/support_test_compare_string.c: New file.
5084 * support/tst-test_compare_string.c: Likewise.
5086 2018-11-07 Andreas Schwab <schwab@suse.de>
5089 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5090 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5093 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5096 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5097 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5098 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5099 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5102 2018-11-06 Florian Weimer <fweimer@redhat.com>
5105 * posix/Makefile (routines): Add spawn_faction_addchdir.
5106 (tests): Add tst-spawn-chdir.
5107 * posix/Versions (GLIBC_2.29): Add
5108 posix_spawn_file_actions_addchdir_np.
5109 * posix/spawn_faction_addchdir.c: New file.
5110 * posix/spawn_faction_destroy.c
5111 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5112 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5113 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5115 * posix/tst-spawn-chdir.c: New file.
5116 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5117 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5118 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5119 posix_spawn_file_actions_addchdir_np.
5120 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5122 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5124 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5125 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5127 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5129 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5131 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5133 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5135 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5137 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5138 (GLIBC_2.29): Likewise.
5139 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5140 (GLIBC_2.29): Likewise.
5141 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5142 (GLIBC_2.29): Likewise.
5143 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5144 (GLIBC_2.29): Likewise.
5145 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5148 (GLIBC_2.29): Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5150 (GLIBC_2.29): Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5152 (GLIBC_2.29): Likewise.
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5154 (GLIBC_2.29): Likewise.
5155 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5157 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5159 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5161 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5166 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5168 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5171 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5173 * misc/Makefile (tests): Add tst-ldbl-error.
5174 * misc/tst-ldbl-error.c: New file.
5176 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5178 * misc/Makefile (tests): Add tst-ldbl-warn.
5179 * misc/tst-ldbl-warn.c: New file.
5181 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5183 * argp/Makefile (tests): Add tst-ldbl-argp.
5184 * argp/tst-ldbl-argp.c: New file.
5186 2018-11-05 Arjun Shankar <arjun@redhat.com>
5188 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5189 __gconv_path_elem and call __gconv_get_path unconditionally.
5191 2018-11-05 Andreas Schwab <schwab@suse.de>
5194 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5195 creating the first helper thread failed.
5197 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5199 * sysdeps/mach/hurd/msync.c: New file.
5201 2018-11-02 Florian Weimer <fweimer@redhat.com>
5203 * support/shell-container.c (copy_func): Call
5204 support_copy_file_range instead of copy_file_range to support
5205 cross-device copies.
5207 2018-11-02 Florian Weimer <fweimer@redhat.com>
5209 * support/test-container.c: Include <libc-pointer-arith.h> for
5212 2018-11-01 Zong Li <zong@andestech.com>
5214 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5215 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5216 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5217 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5219 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5220 variable to avoid overlap arguments.
5222 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5224 * posix/bug-regex22.c (main): Use puts with distinct error
5225 messages for unexpected success of re_compile_pattern, not printf
5226 with NULL argument to %s.
5228 * stdio-common/bug22.c: Include <libc-diag.h>.
5229 (do_test): Disable -Wformat-overflow= warnings around fprintf
5230 calls outputting more than INT_MAX characters.
5231 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5232 around printf call with NULL %s argument.
5235 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5236 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5238 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5239 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5240 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5241 (__ASSUME_SENDTO_SYSCALL): Likewise.
5242 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5243 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5245 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5246 (__ASSUME_CONNECT_SYSCALL): Likewise.
5247 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5248 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5249 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5251 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5253 [__LINUX_KERNEL_VERSION >= 0x040400]
5254 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5258 (setsockopt): Likewise.
5260 2018-11-01 Fredrik Noring <noring@nocrew.org>
5262 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5263 with the ISA override.
5265 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5267 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5270 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5272 * manual/errno.texi (EIEIO): Document how translators should
5273 translate the error message.
5274 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5275 printing trailing whitespaces refused by git.
5276 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5278 * hurd/Makefile (user-interfaces): Add pci.
5280 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5282 * conform/linknamespace.py: New file.
5283 * conform/linknamespace.pl: Remove file.
5284 * conform/Makefile ($(linknamespace-header-tests)): Use
5285 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5288 2018-10-30 Florian Weimer <fweimer@redhat.com>
5290 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5293 2018-10-30 Florian Weimer <fweimer@redhat.com>
5295 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5297 2018-10-30 Florian Weimer <fweimer@redhat.com>
5299 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5300 support_blob_repeat.
5302 2018-10-30 Florian Weimer <fweimer@redhat.com>
5304 Avoid spurious test failures in stdlib/test-bz22786.
5305 * support/Makefile (libsupport-routines): Add blob_repeat.
5306 (tests): Add tst-support_blob_repeat.
5307 * support/blob_repeat.h: New file.
5308 * support/blob_repeat.c: Likewise.
5309 * support/tst-support_blob_repeat.c: Likewise.
5310 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5311 support_blob_repeat_allocate.
5313 2018-10-30 Andreas Schwab <schwab@suse.de>
5316 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5317 Don't use tail call.
5318 * elf/tst-unwind-main.c: New file.
5319 * elf/Makefile (tests): Add tst-unwind-main.
5320 (CFLAGS-tst-unwind-main.c): Define.
5322 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5325 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5327 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5329 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5331 * conform/glibcconform.py: Do not import shutil.
5332 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5335 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5336 critic_missing for versions before 3.4.
5337 * configure: Regenerated.
5338 * manual/install.texi (Tools for Compilation): Document
5339 requirement for Python to build glibc.
5340 * INSTALL: Regenerated.
5341 * Rules [PYTHON]: Make code unconditional.
5342 * benchtests/Makefile [PYTHON]: Likewise.
5343 * conform/Makefile [PYTHON]: Likewise.
5344 * manual/Makefile [PYTHON]: Likewise.
5345 * math/Makefile [PYTHON]: Likewise.
5347 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5349 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5350 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5351 answer to interrupt_operation, return EIEIO instead of EINTR.
5352 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5353 _hurd_intr_rpc_msg_about_to global point to start of controlled
5354 assembly snippet. Make it check canceled flag.
5355 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5356 the _hurd_intr_rpc_msg_about_to point.
5357 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5358 issue, remove cancel flag check.
5360 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5362 * scripts/build-many-glibcs.py: Remove compatibility for missing
5363 os.cpu_count and re.fullmatch.
5365 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5368 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5369 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5370 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5372 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5374 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5377 2018-10-25 Florian Weimer <fweimer@redhat.com>
5381 XFAIL siginfo_t si_band conform test on sparc64.
5382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5383 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5384 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5385 (conformtest-xfail-conds): Add sparc64-linux.
5386 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5388 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5390 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5392 * elf/elf.h (NT_MIPS_DSP): New macro.
5393 (NT_MIPS_FP_MODE): Likewise.
5395 2018-10-25 Zong Li <zong@andestech.com>
5397 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5398 name by adding the file extension (.so).
5400 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5402 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5403 (test-xfail-ISO11/threads.h/linknamespace,
5404 test-xfail-ISO11/threads.h/conform): Add.
5406 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5408 * math/gen-libm-test.py: Import os.
5409 (ALL_FLOATS_MANUAL): New constant.
5410 (ALL_FLOATS_SUFFIX): Likewise.
5411 (Ulps.all_functions): New function.
5412 (real_all_ulps): Likewise.
5413 (generate_err_table_sub): Likewise.
5414 (generate_err_table): Likewise.
5415 (main): Handle -s and -m options.
5416 * manual/libm-err-tab.pl: Remove.
5417 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5418 instead of libm-err-tab.pl.
5419 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5421 * manual/install.texi (Tools for Compilation): Document
5422 requirement for Python to build manual.
5423 * INSTALL: Regenerated.
5425 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5427 * bits/time64.h: New file.
5428 * include/time.h: Replace internal_time_t with __time64_t.
5429 * posix/bits/types (__time64_t): Add.
5430 * stdlib/Makefile: Add bits/time64.h to includes.
5431 * time/tzfile.c: Replace internal_time_t with __time64_t.
5433 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5435 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5436 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5437 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5438 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5439 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5441 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5442 * posix/spawn_faction_addclose.c
5443 (__posix_spawn_file_actions_addclose): Add hidden definition.
5444 * posix/spawn_faction_adddup2.c
5445 (__posix_spawn_file_actions_adddup2): Likewise.
5446 * posix/spawn_faction_destroy.c
5447 (__posix_spawn_file_actions_destroy): Likewise.
5448 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5450 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5451 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5452 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5454 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5455 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5458 2018-10-24 Andreas Schwab <schwab@suse.de>
5461 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5463 * elf/cache.c (print_cache): Likewise.
5465 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5467 * bits/timesize.h: New file.
5468 * stdlib/Makefile (headers): Add bits/timesize.h.
5469 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5470 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5471 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5472 (__SEM_PAD_AFTER_TIME): Likewise.
5473 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5474 (__SHM_PAD_AFTER_TIME): Likewise.
5475 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5476 (__MSQ_PAD_BEFORE_TIME): Likewise.
5477 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5478 (__SEM_PAD_BEFORE_TIME): Likewise.
5479 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5480 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5481 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5482 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5483 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5484 (__MSQ_PAD_BEFORE_TIME): Likewise.
5485 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5486 (__SEM_PAD_BEFORE_TIME): Likewise.
5487 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5488 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5490 (__MSQ_PAD_BEFORE_TIME): Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5492 (__SEM_PAD_BEFORE_TIME): Likewise.
5493 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5494 (__SHM_PAD_BEFORE_TIME): Likewise.
5495 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5496 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5497 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5499 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5501 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5502 USE_RDTSCP is defined.
5503 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5504 USE_RDTSCP is defined.
5506 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5508 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5512 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5513 independently of other flags.
5515 2018-10-23 Florian Weimer <fweimer@redhat.com>
5517 * time/tst-mktime2.c (N_STRINGS): Remove.
5518 (set_timezone): New function.
5519 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5520 (mktime_test1): Report localtime failure and check errno value.
5522 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5523 (do_test): Remove alarm call. Use set_timezone and array_length.
5525 2018-10-23 Andreas Schwab <schwab@suse.de>
5527 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5528 (__start_context): Use END instead of PSEUDO_END.
5530 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5532 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5535 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5539 * wcsmbs/c32rtomb.c: New file.
5540 * wcsmbs/mbrtoc32.c: Likewise.
5541 * wcsmbs/tst-c32-state.c: Likewise.
5542 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5543 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5544 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5545 (tests): Add tst-c32-state.
5546 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5549 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5551 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5552 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5554 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5557 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5558 pair and return 0 in that case, and use saved character to
5559 interpret following character.
5560 * wcsmbs/tst-c16-surrogate.c: New file.
5561 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5562 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5563 Depend on $(gen-locales)
5565 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5568 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5569 (struct siginfo_t): Use correct type for si_band.
5571 2018-10-19 Florian Weimer <fweimer@redhat.com>
5574 * resource/bits/types/struct_rusage.h (struct rusage): Update
5575 comment on struct. Remove extraneous field comment.
5577 2018-10-18 David S. Miller <davem@davemloft.net>
5579 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5580 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5581 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5582 sysdep_routines in subdir elf.
5583 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5584 version for __vdso_clock_gettime.
5585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5587 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5588 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5590 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5592 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5594 * sysdeps/i386/init-arch.h: Removed.
5595 * sysdeps/i386/i586/init-arch.h: Likewise.
5596 * sysdeps/i386/i686/init-arch.h: Likewise.
5597 * sysdeps/i386/i686/hp-timing.h: Likewise.
5598 * sysdeps/x86_64/hp-timing.h: Likewise.
5599 * sysdeps/i386/isa.h: New file.
5600 * sysdeps/i386/i586/isa.h: Likewise.
5601 * sysdeps/i386/i686/isa.h: Likewise.
5602 * sysdeps/x86_64/isa.h: Likewise.
5603 * sysdeps/x86/hp-timing.h: New file.
5604 * sysdeps/x86/init-arch.h: Include <isa.h>.
5606 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5608 * math/libm-test-pow.inc (pow_test_data): Do not allow
5609 divide-by-zero exception for pow(+/- 0, -Inf).
5611 2018-10-17 Zack Weinberg <zackw@panix.com>
5613 * manual/job.texi (Job Control is Optional): Remove node, as
5614 job control has not been optional in quite some time.
5615 (Job Control): Mention briefly that systems older than
5616 POSIX.1-2001 might not support job control.
5617 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5618 defined on systems conforming to POSIX.1-2001.
5620 2018-10-17 Arjun Shankar <arjun@redhat.com>
5623 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5625 * (__gconv_read_conf): Mark function static.
5626 * (once): New static variable.
5627 * (__gconv_load_conf): New function.
5628 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5629 * iconv/gconv_db.c (once): Remove static variable.
5630 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5632 * (__gconv_find_transform): Likewise.
5633 * iconv/tst-iconv-mt.c: New test.
5634 * iconv/Makefile: Add tst-iconv_mt.
5636 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5640 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5641 (shmatt_t): Define as __syscall_ulong_t.
5642 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5643 and [__SHM_PAD_AFTER_TIME].
5644 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5645 Define shm_segsz and associated padding based on
5646 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5647 Use __syscall_ulong_t instead of unsigned long int.
5648 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5650 [__USE_MISC] (struct shm_info): Likewise.
5651 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5652 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5653 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5655 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5656 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5657 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5658 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5661 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5665 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5666 (SHMLBA): Remove macro.
5667 (__getpagesize): Remove function declaration.
5668 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5670 (SHMLBA): Remove macro.
5671 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5673 (SHMLBA): Remove macro.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5676 (SHMLBA): Remove macro.
5677 (__getpagesize): Remove function declaration.
5678 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5680 (SHMLBA): Remove macro.
5681 (__getshmlba): Remove function declaration.
5682 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5683 (SHMLBA): Remove macro.
5684 (__getpagesize): Remove function declaration.
5685 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5686 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5688 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5689 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5690 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5691 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5692 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5696 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5699 * nptl/tst-mutex10.c: New File.
5700 * nptl/Makefile (tests): Add tst-mutex10.
5701 (tst-mutex10-ENV): New variable.
5702 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5703 Ensure that elision path is used if elision is available.
5704 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5706 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5708 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5709 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5710 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5711 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5713 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5714 (__pthread_mutex_cond_lock_adjust): Likewise.
5715 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5717 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5718 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5719 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5720 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5722 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5723 Use atomic_load_relaxed and atomic_store_relaxed.
5724 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5725 Use atomic_store_relaxed.
5727 2018-10-17 Andreas Schwab <schwab@suse.de>
5729 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5730 * crypt/badsalttest.c (TIMEOUT): Likewise.
5731 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5732 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5733 * io/test-lfs.c (TIMEOUT): Likewise.
5734 * libio/tst-atime.c (TIMEOUT): Likewise.
5735 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5736 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5737 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5738 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5739 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5740 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5741 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5742 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5743 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5744 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5745 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5746 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5747 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5748 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5749 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5750 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5751 * nptl/tst-once2.c (TIMEOUT): Likewise.
5752 * nptl/tst-once3.c (TIMEOUT): Likewise.
5753 * nptl/tst-once4.c (TIMEOUT): Likewise.
5754 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5755 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5756 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5757 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5758 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5759 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5760 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5761 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5762 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5763 * posix/tst-chmod.c (TIMEOUT): Likewise.
5764 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5765 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5766 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5767 * posix/tst-regex2.c (TIMEOUT): Likewise.
5768 * posix/tst-waitid.c (TIMEOUT): Likewise.
5769 * rt/tst-aio.c (TIMEOUT): Likewise.
5770 * rt/tst-aio10.c (TIMEOUT): Likewise.
5771 * rt/tst-aio4.c (TIMEOUT): Likewise.
5772 * rt/tst-aio5.c (TIMEOUT): Likewise.
5773 * rt/tst-aio6.c (TIMEOUT): Likewise.
5774 * rt/tst-aio64.c (TIMEOUT): Likewise.
5775 * rt/tst-aio7.c (TIMEOUT): Likewise.
5776 * rt/tst-aio9.c (TIMEOUT): Likewise.
5777 * rt/tst-clock.c (TIMEOUT): Likewise.
5778 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5779 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5780 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5781 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5782 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5783 * rt/tst-timer4.c (TIMEOUT): Likewise.
5784 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5785 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5786 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5787 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5788 * time/tst-ftime.c (TIMEOUT): Likewise.
5789 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5791 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5793 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5794 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5797 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5801 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5802 instead of <bits/wordsize.h>.
5803 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5804 and [__SEM_PAD_AFTER_TIME].
5805 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5806 __syscall_ulong_t instead of unsigned long int.
5807 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5808 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5809 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5811 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5812 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5813 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5814 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5815 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5816 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5817 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5819 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5821 regex: simplify by using intprops.h
5823 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5824 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5825 intprops.h defines them.
5827 regex: __builtin_expect → __glibc_unlikely
5829 This refactoring was prompted by a problem when the regex code is
5830 used as part of Gnulib and when the builder’s compiler does not grok
5831 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5832 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5833 Although this refactoring does not fix the problem directly,
5834 we might as well have Gawk use the now-preferred glibc style for when
5835 __builtin_expect is unavailable.
5836 * posix/regex_internal.h (BE): Remove.
5837 All uses replaced by __glibc_unlikely or __glibc_likely.
5839 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5843 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5844 instead of <bits/wordsize.h>.
5845 (msgqnum_t): Define as __syscall_ulong_t.
5846 (msglen_t): Likewise.
5847 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5848 and [__MSQ_PAD_AFTER_TIME].
5849 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5850 __syscall_ulong_t instead of unsigned long int.
5851 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5852 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5853 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5854 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5856 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5857 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5858 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5859 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5861 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5863 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5865 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5866 (struct shmid_ds): Condition padding after time fields on
5868 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5869 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5870 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5872 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5873 (struct semid_ds): Condition padding after time fields on
5875 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5876 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5877 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5878 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5880 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5881 (struct msqid_ds): Condition padding after time fields on
5883 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5884 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5885 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5886 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5888 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5890 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5892 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5894 * libio/tst-readline.c (TIMEOUT): Define.
5896 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5898 mktime fix for Gnulib + coreutils
5900 This fix affects only Gnulib. Problem discovered when
5901 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5903 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5904 Do not define since it is not used. Defining an unused static
5905 function prompts a warning from GCC when Coreutils is configured
5906 with --enable-gcc-warnings.
5908 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5910 * benchtests/scripts/compare_bench.py (main): set float type on
5913 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5916 * localedata/locales/kl_GL (mon): Update, the relative case.
5917 (alt_mon): Add, fill with month names in the nominative case.
5918 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5919 (d_fmt): Set to "%b %d %Y".
5921 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5924 <bits/mman-linux.h>.
5925 (PROT_READ): Don't define here.
5926 (PROT_WRITE): Likewise.
5927 (PROT_EXEC): Likewise.
5928 (PROT_NONE): Likewise.
5929 (PROT_GROWSDOWN): Likewise.
5930 (PROT_GROWSUP): Likewise.
5931 (MAP_SHARED): Likewise.
5932 (MAP_PRIVATE): Likewise.
5933 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5934 [__USE_MISC] (MAP_FILE): Likewise.
5935 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5936 [__USE_MISC] (MAP_ANON): Likewise.
5937 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5938 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5939 (MCL_CURRENT): Likewise.
5940 (MCL_FUTURE): Likewise.
5941 (MCL_ONFAULT): Likewise.
5942 [__USE_MISC] (MADV_NORMAL): Likewise.
5943 [__USE_MISC] (MADV_RANDOM): Likewise.
5944 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5945 [__USE_MISC] (MADV_WILLNEED): Likewise.
5946 [__USE_MISC] (MADV_DONTNEED): Likewise.
5947 [__USE_MISC] (MADV_FREE): Likewise.
5948 [__USE_MISC] (MADV_REMOVE): Likewise.
5949 [__USE_MISC] (MADV_DONTFORK): Likewise.
5950 [__USE_MISC] (MADV_DOFORK): Likewise.
5951 [__USE_MISC] (MADV_HWPOISON): Likewise.
5952 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5953 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5954 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5955 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5956 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5957 (__MAP_ANONYMOUS): New macro.
5958 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5959 <bits/mman-linux.h> inclusion.
5960 (MAP_FIXED): Likewise.
5961 (MS_SYNC): Likewise.
5962 (MS_ASYNC): Likewise.
5963 (MS_INVALIDATE): Likewise.
5964 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5965 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5966 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5967 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5968 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5969 [__USE_MISC] (MADV_DODUMP): Likewise.
5970 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5971 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5974 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5976 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5978 Add test-nldbl-redirect.
5979 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5980 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5981 $(objpfx)libnldbl_nonshared.a.
5983 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5985 * support/support.h (support_objdir_elf_ldso): New variable.
5986 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5987 * support/Makefile (CFLAGS-support_paths.c): Add definition
5988 for OBJDIR_ELF_LDSO_PATH.
5989 * support/test-container.c (main): Search for the ld.so
5990 which is also used by the testsuite.
5992 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5995 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5996 should be "sap" rather than "sab".
5997 (day): Fix spelling of Sunday, should be "sapaat" rather than
6000 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6002 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6004 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6007 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6008 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6009 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6011 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6013 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6015 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6017 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6019 (CFLAGS-elision-unlock.c): Likewise.
6020 (CFLAGS-elision-timed.c): Likewise.
6021 (CFLAGS-elision-trylock.c): Likewise.
6022 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6024 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6027 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6028 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6029 new fd_to_filename interface.
6030 * libio/freopen64.c (freopen64): Likewise.
6031 * libio/tst-memstream.h: New file.
6032 * libio/tst-memstream4.c: Likewise.
6033 * libio/tst-wmemstream4.c: Likewise.
6034 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6035 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6036 and remove internal dynamic allocation.
6038 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6040 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6041 (MREMAP_MAYMOVE): Do not define here.
6042 [__USE_GNU] (MREMAP_FIXED): Likewise.
6043 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6044 (MREMAP_MAYMOVE): Define here instead.
6045 [__USE_GNU] (MREMAP_FIXED): Likewise.
6046 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6047 (MREMAP_MAYMOVE): Remove.
6048 [__USE_GNU] (MREMAP_FIXED): Likewise.
6050 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6052 * math/fromfp.h: Do not include <math_private.h>.
6053 * math/s_cacosh_template.c: Likewise.
6054 * math/s_casin_template.c: Likewise.
6055 * math/s_casinh_template.c: Likewise.
6056 * math/s_ccos_template.c: Likewise.
6057 * math/s_cproj_template.c: Likewise.
6058 * math/s_fdim_template.c: Likewise.
6059 * math/s_fmaxmag_template.c: Likewise.
6060 * math/s_fminmag_template.c: Likewise.
6061 * math/s_iseqsig_template.c: Likewise.
6062 * math/s_ldexp_template.c: Likewise.
6063 * math/s_nextdown_template.c: Likewise.
6064 * math/w_log1p_template.c: Likewise.
6065 * math/w_scalbln_template.c: Likewise.
6066 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6067 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6068 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6069 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6070 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6071 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6072 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6073 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6074 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6075 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6076 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6077 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6078 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6079 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6080 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6081 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6082 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6087 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6088 * sysdeps/ieee754/k_standardf.c: Likewise.
6089 * sysdeps/ieee754/k_standardl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6092 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6098 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6099 * sysdeps/ieee754/s_signgam.c: Likewise.
6100 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6101 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6102 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6103 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6104 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6105 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6106 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6107 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6108 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6109 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6110 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6111 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6112 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6113 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6114 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6115 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6116 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6117 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6118 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6119 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6120 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6121 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6122 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6123 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6124 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6125 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6126 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6127 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6128 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6129 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6130 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6131 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6132 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6133 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6134 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6135 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6136 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6138 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6140 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6143 * sysdeps/i386/dl-cet.c: Removed.
6144 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6146 (_dl_runtime_profile_shstk): Likewise.
6147 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6148 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6150 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6153 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6154 do_test_with_invalid_iov): New tests.
6155 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6156 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6157 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6159 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6160 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6161 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6163 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6165 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6166 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6167 (MATH_REDIRECT_BINARY_ARGS): New macro.
6168 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6169 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6170 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6172 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6174 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6175 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6185 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6186 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6191 * sysdeps/generic/math_private_calls.h
6192 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6193 Do not declare and define as an inline function.
6194 * math/divtc3.c (__divtc3): Use copysign functions instead of
6195 __copysign variants.
6196 * math/multc3.c (__multc3): Likewise.
6197 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6198 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6199 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6200 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6202 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6203 (__ieee754_yn): Likewise.
6204 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6205 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6206 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6207 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6208 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6210 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6211 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6217 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6218 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6220 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6221 (__ieee754_ynf): Likewise.
6222 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6223 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6224 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6227 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6228 (__ieee754_ynl): Likewise.
6229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6231 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6234 (__ieee754_ynl): Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6237 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6240 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6242 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6244 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6245 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6246 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6248 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6249 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6250 using MATH_REDIRECT.
6251 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6253 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6256 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6264 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6265 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6267 (round): Redirect to __round.
6268 (__roundl): Call round instead of __round.
6269 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6271 [_ARCH_PWR5X] (__roundf): Likewise.
6272 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6273 functions instead of __round variants.
6274 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6279 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6281 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6284 (__ieee754_expl): Call roundl instead of __roundl.
6286 2018-09-27 Andreas Schwab <schwab@suse.de>
6289 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6290 (do_test): Make st1 static.
6292 2018-09-26 Andreas Schwab <schwab@suse.de>
6295 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6296 * elf/Makefile (tests): Add tst-unwind-ctor.
6297 (modules-names): Add tst-unwind-ctor-lib.
6298 ($(objpfx)tst-unwind-ctor): Depend on
6299 $(objpfx)tst-unwind-ctor-lib.so.
6301 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6303 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6304 file. Most contents moved from ....
6305 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6306 and include <bits/mman-map-flags-generic.h>.
6307 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6308 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6309 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6310 <bits/mman-map-flags-generic.h>.
6311 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6312 macros defined in <bits/mman-map-flags-generic.h>.
6313 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6314 <bits/mman-map-flags-generic.h>.
6315 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6316 defined in <bits/mman-map-flags-generic.h>.
6318 2018-09-26 Andreas Schwab <schwab@suse.de>
6320 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6323 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6324 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6325 Fangrui Song <maskray@google.com>
6328 * config.make.in (have-textrel_ifunc): New define.
6329 * configure.ac: Add check if linker supports textrel relocation with
6331 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6333 (CFLAGS-tst-ifunc-textrel.c): New rule.
6334 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6335 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6336 * elf/tst-ifunc-textrel.c: New file.
6338 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6341 <bits/procfs-prregset.h>.
6342 (prgregset_t): Define using __prgregset_t.
6343 (prfpregset_t): Define using __prfpregset_t.
6344 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6345 (sysdep_headers): Add bits/procfs-prregset.h.
6346 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6347 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6348 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6349 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6351 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6352 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6353 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6355 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6356 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6357 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6358 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6359 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6360 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6361 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6362 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6363 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6364 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6365 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6366 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6367 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6368 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6369 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6371 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6372 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6373 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6374 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6375 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6376 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6378 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6380 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6381 AArch64 version. Include <bits/procfs.h>.
6382 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6383 (sysdep_headers): Add bits/procfs.h.
6384 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6385 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6386 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6387 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6388 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6389 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6390 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6392 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6393 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6394 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6395 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6396 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6397 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6398 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6400 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6402 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6404 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6407 2018-09-25 Arjun Shankar <arjun@redhat.com>
6409 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6410 (__gconv_max_path_elem_len): Likewise.
6411 (__gconv_nmodules): Likewise.
6412 (__gconv_get_path): Likewise.
6413 (path_elem): Move to ...
6414 * iconv/gconv_conf.c: ... here.
6415 (__gconv_get_path): Mark function static.
6416 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6417 * iconv/gconv_open.c: ... here.
6419 2018-09-24 Andreas Schwab <schwab@suse.de>
6421 * scripts/haveversions.awk: New file.
6422 * Makerules ($(common-objpfx)Versions.def)
6423 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6424 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6426 * Makeconfig ($(common-objpfx)Versions.def)
6427 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6428 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6430 ($(common-objpfx)Versions.mk): New rule. Include it.
6431 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6432 Emit error if build-obsolete-nsl = yes.
6433 * manual/install.texi (Configuring and compiling): Describe
6434 --enable-obsolete-nsl as unavaiable after version 2.28.
6435 * INSTALL: Regenerate.
6437 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6439 * NEWS: Add note about new TLE support on powerpc64le.
6440 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6441 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6443 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6444 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6445 * sysdeps/powerpc/powerpc32/sysdep.h,
6446 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6447 ABORT_TRANSACTION): Remove macros.
6448 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6450 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6452 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6453 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6455 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6457 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6460 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6461 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6462 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6463 which is the same as in it_IT.
6464 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6465 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6467 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6469 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6470 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6471 using MATH_REDIRECT.
6472 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6474 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6476 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6478 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6484 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6485 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6487 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6488 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6489 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6490 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6492 (ceil): Redirect to __ceil.
6493 (floor): Redirect to __floor.
6494 (trunc): Redirect to __trunc.
6495 (__truncl): Call trunc instead of __trunc.
6496 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6498 [_ARCH_PWR5X] (__truncf): Likewise.
6499 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6500 trunc functions instead of __trunc variants.
6501 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6503 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6510 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6511 [__i586__ || __pentium__].
6512 [__i486__]: Handle explicitly.
6513 (HAS_CPUID): Define to 1 if above macros are undefined.
6514 (HAS_I586): Likewise.
6515 (HAS_I686): Likewise.
6517 2018-09-20 Florian Weimer <fweimer@redhat.com>
6519 * misc/tst-gethostid.c: New file.
6520 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6521 (tst-gethostid): Link with -ldl.
6523 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6525 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6526 value from gethostbyname_r.
6528 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6530 * stdlib/tst-setcontext9.c (f1): Rename to...
6532 (f1b): New function implementing lower half of f1 in alternate stack.
6534 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6536 Fix mktime localtime offset confusion
6538 * include/time.h (__mktime_internal): The localtime offset is now
6539 of type long int instead of time_t. This is the longstanding type
6540 in glibc, and it is more than enough to represent difference
6541 between localtime and gmtime even if it is 32 bits and time_t is
6542 64. Changing it now will let us avoid an unnecessary change when
6543 time_t is widened to 64 bits on 32-bit platforms.
6544 * time/mktime-internal.h (mktime_offset_t): Now long int.
6546 Merge mktime, timegm from upstream Gnulib
6547 [BZ #23603][BZ #16346]
6548 This fixes some obscure problems with integer overflow.
6549 Although it looks scary, it is almost all a byte-for-byte copy
6550 from Gnulib, and the Gnulib code has been tested reasonably well.
6551 * include/intprops.h: New file, copied from Gnulib.
6552 * include/verify.h, time/mktime-internal.h:
6553 New tiny files, simplified from Gnulib.
6554 * time/mktime.c: Copy from Gnulib. This has the following changes:
6555 Do not include config.h if DEBUG_MKTIME is nonzero.
6556 Include stdbool.h, intprops.h, verify.h.
6557 Include string.h only if needed.
6558 Include stdlib.h on MS-Windows.
6559 Include mktime-internal.h.
6560 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6561 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6562 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6563 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6564 simplify later conditionals; default the others to zero. Use
6565 these conditionals to express only the code needed on the current
6566 platform. In uses of these conditionals, explicitly spell out how
6567 _LIBC affects things, so it’s easier to review from a glibc
6569 (WRAPV): Remove; no longer needed now that we have
6570 systematic overflow checking.
6571 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6572 compartmentalize tzset issues. Move system-dependent tzsettish
6573 code here from mktime.
6574 (verify): Remove; now done by verify.h. All uses changed.
6575 (long_int): Use a more-conservative definition, to avoid
6577 (SHR): Remove, replacing with ...
6578 (shr): New function, which means we needn’t worry about side
6579 effects in args, and conversion analysis is simpler.
6580 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6581 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6582 (time_t_avg, time_t_add_ok): Remove.
6583 (mktime_min, mktime_max): New constants.
6584 (leapyear, isdst_differ): Use bool for booleans.
6585 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6586 Use long_int, not time_t, for mktime differences.
6587 (long_int_avg): New function, replacing time_t_avg.
6588 INT_ADD_WRAPV replaces time_t_add_ok.
6589 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6591 (convert_time): New function.
6592 (ranged_convert): Use it.
6593 (__mktime_internal): Last arg now points to mktime_offset_t, not
6594 time_t. All uses changed. This is a no-op on glibc, where
6595 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6596 offset guess. Directly check for integer overflow instead of
6597 using a heuristic that works only 99.9...% of the time.
6598 Access *OFFSET only once, to avoid an unlikely race if the
6599 compiler delays a load and if this cascades into a signed integer
6601 (mktime): Move tzsettish code to my_tzset, and move
6602 localtime_offset to within mktime so that it doesn’t
6603 need a separate ifdef.
6604 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6605 instead of localtime.
6606 * time/timegm.c: Copy from Gnulib. This has the following changes:
6607 Include mktime-internal.h.
6608 [!_LIBC]: Include config.h and time.h. Do not include
6609 timegm.h or time_r.h. Make __mktime_internal a macro,
6610 and include mktime-internal.h to get its declaration.
6611 (timegm): Temporary is now mktime_offset_t, not time_t.
6612 This affects only Gnulib.
6614 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6617 * string/test-strstr.c (pr23637): New function.
6618 (test_main): Add tests with longer needles.
6619 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6620 * string/strstr.c (AVAILABLE): Likewise.
6622 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6624 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6626 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6628 * NEWS: Mention pow improvements.
6629 * math/Makefile (type-double-routines): Add e_pow_log_data.
6630 * sysdeps/generic/math_private.h (__exp1): Remove.
6631 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6632 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6633 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6635 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6636 (exp_inline): Remove.
6637 (__ieee754_exp): Only single double input is handled.
6638 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6639 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6640 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6641 (__pow_log_data): Define.
6642 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6643 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6644 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6645 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6647 (CFLAGS-e_pow-fma4.c): Likewise.
6649 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6651 Simplify tzfile fstat failure code
6653 * time/tzfile.c (__tzfile_read): Simplify slightly.
6655 Fix tzfile low-memory assertion failure
6657 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6658 when registering time zone abbreviations.
6660 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6663 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6664 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6665 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6666 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6667 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6668 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6669 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6670 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6674 (__ceill): Call ceil instead of __ceil.
6675 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6677 (__floorl): Call floor instead of __floor.
6679 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6681 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6682 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6683 using MATH_REDIRECT.
6684 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6686 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6689 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6693 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6698 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6699 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6702 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6703 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6704 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6706 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6707 functions instead of __ceil variants.
6708 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6713 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6716 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6717 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6720 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6722 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6723 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6724 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6725 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6726 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6727 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6728 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6729 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6730 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6731 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6732 (ILL_BADIADDR): Remove constant.
6733 (TRAP_BRANCH): Likewise.
6734 (TRAP_HWBKPT): Likewise.
6736 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6739 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6740 Remove [_MIPS_SIM = _ABIN32] conditional case.
6741 (struct elf_prpsinfo): Likewise.
6744 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6745 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6746 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6748 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6749 elf_prpsinfo): Likewise.
6750 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6751 elf_prpsinfo): Likewise.
6752 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6755 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6756 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6757 using MATH_REDIRECT.
6758 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6760 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6761 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6762 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6763 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6766 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6770 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6771 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6772 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6773 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6774 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6775 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6776 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6777 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6778 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6783 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6784 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6785 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6786 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6788 * math/e_scalbf.c (invalid_fn): Likewise.
6789 * math/e_scalbl.c (invalid_fn): Likewise.
6790 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6792 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6795 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6796 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6802 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6803 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6805 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6806 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6808 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6809 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6810 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6811 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6812 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6813 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6814 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6815 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6816 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6817 && !NO_MATH_REDIRECT] (floor): Likewise.
6818 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6820 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6823 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6827 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6832 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6833 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6837 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6838 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6840 [_ARCH_PWR5X] (__floorf): Likewise.
6841 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6843 [__SSE4_1__] (__floorf): Likewise.
6844 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6845 instead of __floor variants.
6846 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6847 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6848 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6849 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6850 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6851 * math/w_tgamma_compat.c (__tgamma): Likewise.
6852 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6853 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6854 * math/w_tgammal_compat.c (__tgammal): Likewise.
6855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6858 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6860 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6863 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6864 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6866 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6872 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6875 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6876 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6877 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6879 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6881 * elf/Makefile (modules-names-tests): New variable.
6883 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6885 * NEWS: Mention log2 improvements.
6886 * math/Makefile (type-double-routines): Add e_log2_data.
6887 * sysdeps/i386/fpu/e_log2_data.c: New file.
6888 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6889 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6890 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6891 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6893 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6895 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6897 * NEWS: Mention log improvement.
6898 * math/Makefile (type-double-routines): Add e_log_data.
6899 * sysdeps/i386/fpu/e_log_data.c: New file.
6900 * sysdeps/ia64/fpu/e_log_data.c: New file.
6901 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6902 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6903 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6904 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6905 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6906 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6908 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6909 Xuepeng Guo <xuepeng.guo@intel.com>
6912 * sysdeps/i386/start.S: Include <sysdep.h>
6913 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6914 enabled. Add cfi_undefined (eip).
6916 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6918 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6920 (EXTRACT_WORDS64): Likewise.
6921 (INSERT_WORDS64): Likewise.
6922 (GET_FLOAT_WORD): Likewise.
6923 (SET_FLOAT_WORD): Likewise.
6925 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6927 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6928 build, but not for second build if --full-gcc. Use
6929 --enable-languages=all for second build if --full-gcc.
6930 (get_parser): Add --full-gcc option.
6931 (main): Update call to Context.
6933 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6936 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6937 Single Quotation Mark).
6938 (thousands_sep): Likewise.
6939 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6940 * localedata/locales/it_IT (thousands_sep): Use ".".
6941 (grouping): Use "3;3".
6943 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6945 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6946 x86_64 and i686 configs using --enable-obsolete-rpc
6947 --enable-obsolete-nsl.
6949 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6951 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6953 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6955 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6956 Increment size of new_argv by one.
6958 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6961 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6962 * localedata/locales/ar_IN (d_fmt): Likewise.
6963 * localedata/locales/bhb_IN (d_fmt): Likewise.
6964 * localedata/locales/bho_IN (d_fmt): Likewise.
6965 * localedata/locales/bn_BD (d_fmt): Likewise.
6966 * localedata/locales/bn_IN (d_fmt): Likewise.
6967 * localedata/locales/doi_IN (d_fmt): Likewise.
6968 * localedata/locales/gu_IN (d_fmt): Likewise.
6969 * localedata/locales/hi_IN (d_fmt): Likewise.
6970 * localedata/locales/hne_IN (d_fmt): Likewise.
6971 * localedata/locales/kn_IN (d_fmt): Likewise.
6972 * localedata/locales/mag_IN (d_fmt): Likewise.
6973 * localedata/locales/mai_IN (d_fmt): Likewise.
6974 * localedata/locales/mjw_IN (d_fmt): Likewise.
6975 * localedata/locales/ml_IN (d_fmt): Likewise.
6976 * localedata/locales/mni_IN (d_fmt): Likewise.
6977 * localedata/locales/mr_IN (d_fmt): Likewise.
6978 * localedata/locales/pa_IN (d_fmt): Likewise.
6979 * localedata/locales/raj_IN (d_fmt): Likewise.
6980 * localedata/locales/sat_IN (d_fmt): Likewise.
6981 * localedata/locales/sd_IN (d_fmt): Likewise.
6982 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6983 * localedata/locales/ta_IN (d_fmt): Likewise.
6984 * localedata/locales/ta_LK (d_fmt): Likewise.
6985 * localedata/locales/tcy_IN (d_fmt): Likewise.
6986 * localedata/locales/ur_IN (d_fmt): Likewise.
6988 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6989 * localedata/locales/ks_IN (d_fmt): Likewise.
6990 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6992 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6993 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6994 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6995 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6997 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6999 * NEWS: Mention exp and exp2 improvements.
7000 * math/Makefile (libm-support): Remove t_exp.
7001 (type-double-routines): Add math_err and e_exp_data.
7002 * sysdeps/aarch64/libm-test-ulps: Update.
7003 * sysdeps/arm/libm-test-ulps: Update.
7004 * sysdeps/i386/fpu/e_exp_data.c: New file.
7005 * sysdeps/i386/fpu/math_err.c: New file.
7006 * sysdeps/i386/fpu/t_exp.c: Remove.
7007 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7008 * sysdeps/ia64/fpu/math_err.c: New file.
7009 * sysdeps/ia64/fpu/t_exp.c: Remove.
7010 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7011 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7012 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7014 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7015 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7016 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7017 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7018 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7019 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7020 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7021 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7022 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7023 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7027 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7029 * sysdeps/alpha/fpu/math_private.h: Remove.
7031 * sysdeps/generic/math_private.h
7032 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7033 Move this inline function ....
7034 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7035 * include/math.h [!_ISOMAC]: To here....
7037 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7041 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7042 * include/fenv.h [!_ISOMAC]: ... to here.
7043 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7044 (feraiseexcept): Likewise.
7045 * math/fromfp.h: Do not include <fenv_private.h>.
7046 * math/s_cexp_template.c: Likewise.
7047 * math/s_csin_template.c: Likewise.
7048 * math/s_csinh_template.c: Likewise.
7049 * math/s_ctan_template.c: Likewise.
7050 * math/s_ctanh_template.c: Likewise.
7051 * math/s_iseqsig_template.c: Likewise.
7052 * math/w_acos_compat.c: Likewise.
7053 * math/w_acosf_compat.c: Likewise.
7054 * math/w_acosl_compat.c: Likewise.
7055 * math/w_asin_compat.c: Likewise.
7056 * math/w_asinf_compat.c: Likewise.
7057 * math/w_asinl_compat.c: Likewise.
7058 * math/w_j0_compat.c: Likewise.
7059 * math/w_j0f_compat.c: Likewise.
7060 * math/w_j0l_compat.c: Likewise.
7061 * math/w_j1_compat.c: Likewise.
7062 * math/w_j1f_compat.c: Likewise.
7063 * math/w_j1l_compat.c: Likewise.
7064 * math/w_jn_compat.c: Likewise.
7065 * math/w_jnf_compat.c: Likewise.
7066 * math/w_log10_compat.c: Likewise.
7067 * math/w_log10f_compat.c: Likewise.
7068 * math/w_log10l_compat.c: Likewise.
7069 * math/w_log2_compat.c: Likewise.
7070 * math/w_log2f_compat.c: Likewise.
7071 * math/w_log2l_compat.c: Likewise.
7072 * math/w_log_compat.c: Likewise.
7073 * math/w_logf_compat.c: Likewise.
7074 * math/w_logl_compat.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7078 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7084 * sysdeps/ieee754/k_standardl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7102 * math/w_ilogb_template.c: Include <fenv.h> instead of
7104 * math/w_llogb_template.c: Likewise.
7105 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7106 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7108 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7111 * math/fromfp.h: Include <fenv_private.h>.
7112 * math/math-narrow.h: Likewise.
7113 * math/s_cexp_template.c: Likewise.
7114 * math/s_csin_template.c: Likewise.
7115 * math/s_csinh_template.c: Likewise.
7116 * math/s_ctan_template.c: Likewise.
7117 * math/s_ctanh_template.c: Likewise.
7118 * math/s_iseqsig_template.c: Likewise.
7119 * math/w_acos_compat.c: Likewise.
7120 * math/w_acosf_compat.c: Likewise.
7121 * math/w_acosl_compat.c: Likewise.
7122 * math/w_asin_compat.c: Likewise.
7123 * math/w_asinf_compat.c: Likewise.
7124 * math/w_asinl_compat.c: Likewise.
7125 * math/w_ilogb_template.c: Likewise.
7126 * math/w_j0_compat.c: Likewise.
7127 * math/w_j0f_compat.c: Likewise.
7128 * math/w_j0l_compat.c: Likewise.
7129 * math/w_j1_compat.c: Likewise.
7130 * math/w_j1f_compat.c: Likewise.
7131 * math/w_j1l_compat.c: Likewise.
7132 * math/w_jn_compat.c: Likewise.
7133 * math/w_jnf_compat.c: Likewise.
7134 * math/w_llogb_template.c: Likewise.
7135 * math/w_log10_compat.c: Likewise.
7136 * math/w_log10f_compat.c: Likewise.
7137 * math/w_log10l_compat.c: Likewise.
7138 * math/w_log2_compat.c: Likewise.
7139 * math/w_log2f_compat.c: Likewise.
7140 * math/w_log2l_compat.c: Likewise.
7141 * math/w_log_compat.c: Likewise.
7142 * math/w_logf_compat.c: Likewise.
7143 * math/w_logl_compat.c: Likewise.
7144 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7145 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7146 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7147 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7172 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7174 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7176 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7177 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7178 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7179 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7180 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7181 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7182 * sysdeps/ieee754/k_standardl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7208 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7209 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7213 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7219 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7220 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7221 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7222 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7223 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7224 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7225 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7226 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7227 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7228 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7229 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7230 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7231 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7232 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7233 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7234 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7235 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7236 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7237 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7238 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7239 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7240 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7241 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7242 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7243 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7244 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7245 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7246 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7247 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7248 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7249 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7250 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7251 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7252 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7253 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7255 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7258 * include/stdio.h (__libc_fatal): Mention newline in comment.
7259 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7260 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7262 * nss/nsswitch.c (__nss_next2): Likewise.
7263 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7264 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7265 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7266 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7267 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7268 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7269 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7270 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7272 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7273 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7274 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7275 (__netlink_assert_response): Likewise.
7277 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7279 * conform/glibcconform.py: New file.
7280 * conform/list-header-symbols.py: Likewise.
7281 * conform/list-header-symbols.pl: Remove.
7282 * conform/Makefile (tests-special): Only add linknamespace tests
7284 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7286 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7289 * support/Makefile (libsupport-routines): Add
7290 support_copy_file_range and xcopy_file_range.
7291 * support/support.h: Include <sys/types.h>.
7292 (support_copy_file_range): New prototype.
7293 * support/support_copy_file_range.c: New file. Copied and
7294 modified from io/copy_file_range-compat.c.
7295 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7296 instead of copy_file_range.
7297 * support/xcopy_file_range.c: New file.
7298 * support/xunistd.h (xcopy_file_range): New prototype.
7300 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7302 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7303 xpthread_create and xpthread_join.
7305 2018-08-30 Florian Weimer <fweimer@redhat.com>
7307 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7309 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7311 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7314 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7316 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7317 and minus_oflow as non-finite.
7319 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7322 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7323 moved to fenv_private.h except for ...
7324 (TOINT_INTRINSICS): Kept in math_private.h.
7325 (roundtoint): Likewise.
7326 (converttoint): Likewise.
7327 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7328 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7329 * sysdeps/arm/math_private.h: Remove.
7330 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7332 * sysdeps/generic/math_private.h: ... this file. Include
7333 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7334 Include <fenv_private.h>. Remove functions and macros moved to
7336 * sysdeps/i386/fpu/math_private.h: Remove.
7337 * sysdeps/mips/math_private.h: Move to ....
7338 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7339 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7340 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7341 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7342 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7343 * sysdeps/powerpc/fpu/math_private.h: Do not include
7345 * sysdeps/riscv/rvf/math_private.h: Move to ....
7346 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7347 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7349 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7350 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7351 * sysdeps/sparc/fpu/math_private.h: Remove.
7352 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7353 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7354 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7356 * sysdeps/x86_64/fpu/math_private.h: Do not include
7357 <sysdeps/i386/fpu/fenv_private.h>.
7359 2018-08-28 Florian Weimer <fweimer@redhat.com>
7362 * posix/tst-regcomp-truncated.c: New file.
7363 * posix/Makefile (tests): Add it.
7364 (tst-regcomp-truncated.out): Depend on generated locales.
7366 2018-08-28 Florian Weimer <fweimer@redhat.com>
7368 * support/test-container.c (main): Treat unshare failure with
7369 EPERM as an unsupported test.
7371 2018-08-28 Florian Weimer <fweimer@redhat.com>
7374 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7375 * nscd/netgroupcache.c
7376 (addgetnetgrentX): Add tofreep parameter. Do not free
7377 heap-allocated buffer.
7378 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7379 (addgetnetgrentX_ignore): New function.
7380 (addgetnetgrent): Call it.
7381 (readdgetnetgrent): Likewise.
7383 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7385 * string/memmem.c: Use memcmp for first match.
7387 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7390 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7392 2018-08-27 DJ Delorie <dj@redhat.com>
7394 * support/Makefile (others): Don't list programs explicitly as a
7395 dependency of "others".
7397 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7399 * sysdeps/generic/math-tests-trap-force.h: New file.
7400 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7401 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7402 * sysdeps/powerpc/math-tests.h: Remove file.
7403 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7405 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7406 Torvald Riegel <triegel@redhat.com>
7409 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7410 Update r to include the set wake-request flag if waiters are
7411 remaining after spinning.
7413 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7415 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7417 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7420 regex: fix uninitialized memory access
7421 I introduced this bug into gnulib in commit
7422 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7423 eventually it was merged into glibc. The bug was found by
7424 project-repo <bugs@feusi.co> and reported here:
7425 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7426 Diagnosis and draft fix reported by Assaf Gordon here:
7427 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7428 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7429 * posix/regex_internal.c (build_wcs_upper_buffer):
7430 Fix bug when mbrtowc returns 0.
7432 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7434 * po/be.po: Update translation.
7436 2018-08-24 DJ Delorie <dj@delorie.com>
7438 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7441 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7444 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7445 create temporary files in source tree.
7447 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7449 * sysdeps/generic/math-tests-trap.h: New file.
7450 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7451 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7452 * sysdeps/aarch64/math-tests.h: Remove file.
7453 * sysdeps/arm/math-tests.h: Likewise.
7454 * sysdeps/riscv/math-tests.h: Likewise.
7455 * sysdeps/aarch64/math-tests-trap.h: New file.
7456 * sysdeps/arm/math-tests-trap.h: Likewise.
7457 * sysdeps/riscv/math-tests-trap.h: Likewise.
7459 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7461 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7462 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7463 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7464 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7465 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7466 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7474 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7475 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7476 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7480 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7482 * sysdeps/generic/math-tests-exceptions.h: New file.
7483 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7484 (EXCEPTION_TESTS_float): Do not define here.
7485 (EXCEPTION_TESTS_double): Likewise.
7486 (EXCEPTION_TESTS_long_double): Likewise.
7487 (EXCEPTION_TESTS_float128): Likewise.
7488 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7490 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7491 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7492 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7493 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7494 * sysdeps/mips/math-tests.h: Likewise.
7495 * sysdeps/nios2/math-tests.h: Likewise.
7496 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7497 (EXCEPTION_TESTS_float): Do not define here.
7498 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7499 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7500 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7502 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7504 * NEWS: Move optimized sinf entry to 2.29.
7506 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7508 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7510 2018-08-22 DJ Delorie <dj@redhat.com>
7512 * Makefile (testroot.pristine): New rules to initialize the
7513 test-in-container "testroot".
7514 * Makerules (all-testsuite): Add tests-container.
7515 * Rules (tests-expected): Add tests-container.
7516 (binaries-all-tests): Likewise.
7517 (tests-container): New, run these tests in the testroot container.
7518 * support/Makefile (others): Add *-container, support_paths.c,
7519 xmkdirp, and links-dso-program.
7520 * support/links-dso-program-c.c: New.
7521 * support/links-dso-program.cc: New.
7522 * support/test-container.c: New.
7523 * support/shell-container.c: New.
7524 * support/echo-container.c: New.
7525 * support/true-container.c: New.
7526 * support/xmkdirp.c: New.
7527 * support/xsymlink.c: New.
7528 * support/support_paths.c: New.
7529 * support/support.h: Add support paths prototypes.
7530 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7532 * nss/tst-nss-test3.c: Convert to test-in-container.
7533 * nss/tst-nss-test3.root/: New.
7535 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7537 regex: port Gnulib code to z/OS POSIX environment
7538 Problem reported by Arnold Robbins in:
7539 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7540 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7543 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7545 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7546 (ROUNDING_TESTS_double): Remove.
7547 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7548 (ROUNDING_TESTS_double): Remove.
7549 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7550 (ROUNDING_TESTS_double): Remove.
7551 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7552 (ROUNDING_TESTS_float): Remove.
7553 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7554 (ROUNDING_TESTS_float): Remove.
7555 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7556 (ROUNDING_TESTS_float): Remove.
7557 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7559 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7560 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7562 * sysdeps/generic/math-tests-rounding.h: New file.
7563 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7564 (ROUNDING_TESTS_float): Do not define here.
7565 (ROUNDING_TESTS_double): Likewise.
7566 (ROUNDING_TESTS_long_double): Likewise.
7567 (ROUNDING_TESTS_float128): Likewise.
7568 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7569 (ROUNDING_TESTS_double): Undefine before defining.
7570 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7571 (ROUNDING_TESTS_double): Undefine before defining.
7572 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7573 (ROUNDING_TESTS_double): Undefine before defining.
7574 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7575 (ROUNDING_TESTS_float): Undefine before defining.
7576 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7577 (ROUNDING_TESTS_float): Undefine before defining.
7578 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7579 (ROUNDING_TESTS_float): Undefine before defining.
7580 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7581 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7583 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7584 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7585 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7586 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7587 (ROUNDING_TESTS_float): Do not define here.
7588 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7589 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7590 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7591 (ROUNDING_TESTS_float): Likewise.
7592 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7593 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7594 * sysdeps/mips/math-tests.h [__mips_soft_float]
7595 (ROUNDING_TESTS_float): Likewise.
7596 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7597 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7598 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7599 (ROUNDING_TESTS_double): Likewise.
7600 (ROUNDING_TESTS_long_double): Likewise.
7602 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7604 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7605 (PF_XDP): New macro.
7606 (AF_XDP): New macro.
7607 (SOL_XDP): New macro.
7609 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7611 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7612 (TCP_INQ): Likewise.
7613 (TCP_CM_INQ): Likewise.
7614 (TCP_REPAIR_ON): Likewise.
7615 (TCP_REPAIR_OFF): Likewise.
7616 (TCP_REPAIR_OFF_NO_WP): Likewise.
7617 (struct tcp_zerocopy_receive): New type.
7619 2018-08-21 Florian Weimer <fweimer@redhat.com>
7621 * support/support.h (support_descriptor_supports_holes): Declare.
7622 * support/Makefile (libsupport-routines): Add
7623 support_descriptor_supports_holes.
7624 * support/support_descriptor_supports_holes.c: New file.
7625 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7626 and stop testing if holes are not supported.
7627 * io/test-lfs.c (do_prepare): Likewise.
7628 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7630 * timezone/tst-tzset.c (create_tz_file): Likewise.
7631 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7633 (do_prepare): Set it.
7634 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7636 2018-08-21 Florian Weimer <fweimer@redhat.com>
7639 * Makeconfig (+cflags): Do not sort (and deduplicate).
7641 2018-08-21 Florian Weimer <fweimer@redhat.com>
7643 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7644 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7646 2018-08-20 Florian Weimer <fweimer@redhat.com>
7648 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7649 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7651 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7653 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7654 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7655 and ssi_arch members.
7657 * elf/elf.c (NT_VMCOREDD): New macro.
7658 (AT_MINSIGSTKSZ): Likewise.
7660 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7663 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7664 s_cosf-ppc64 and s_cosf-power8.
7665 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7666 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7667 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7668 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7675 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7676 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7678 2018-08-17 Florian Weimer <fweimer@redhat.com>
7680 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7682 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7684 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7686 2018-08-16 Florian Weimer <fweimer@redhat.com>
7688 * configure.ac: Add --with-nonshared-cflags option.
7689 * config.make.in (extra-nonshared-cflags): Set variable.
7690 * Makeconfig (CFLAGS-.oS): Use it.
7691 * manual/install.texi (Configuring and compiling): Document
7692 --with-nonshared-cflags.
7693 * configure: Regenerate.
7694 * INSTALL: Likewise.
7696 2018-08-16 Florian Weimer <fweimer@redhat.com>
7698 * Makeconfig (ASFLAGS): Always append required assembler flags.
7700 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7702 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7703 (malloc_consolidate): Likewise.
7705 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7707 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7709 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7711 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7714 * benchtests/bench-strlen.c: Print performance numbers in json.
7716 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7718 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7719 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7720 only for little endian.
7721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7722 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7723 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7724 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7725 Add check for little endian.
7726 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7727 (__strcmp_power9): Add check for little endian.
7728 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7729 Add check for little endian.
7730 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7731 (__strncmp_power9): Add check for little endian.
7732 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7733 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7734 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7735 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7736 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7738 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7740 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7741 [!STRLEN](STRLEN): Set to __strlen.
7742 * sysdeps/aarch64/multiarch/strlen.c: New file.
7743 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7744 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7745 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7746 (__libc_ifunc_impl_list): Add strlen.
7747 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7748 strlen_generic and strlen_asimd.
7750 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7752 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7753 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7754 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7756 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7758 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7760 2018-08-14 Florian Weimer <fweimer@redhat.com>
7763 * include/stdio.h (__vfxprintf): Declare.
7764 * stdio-common/fxprintf.c (__vfxprintf): New function.
7765 (__fxprintf): Call it.
7766 * misc/err.c (convert_and_print): Remove function.
7767 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7768 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7769 * misc/Makefile (tests): Add tst-warn-wide.
7770 * misc/tst-warn-wide.c: New file.
7772 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7773 Szabolcs Nagy <szabolcs.nagy@arm.com>
7775 * NEWS: Mention sinf, cosf, sincosf.
7776 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7777 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7778 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7779 constants rather than including generic sincosf.h.
7780 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7781 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7782 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7783 (reduced_cos): Remove.
7784 (sinf_poly): New function.
7785 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7787 2018-08-14 Florian Weimer <fweimer@redhat.com>
7791 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7792 processing, bail out if no room, and close the stream before
7794 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7795 (tst-nss-files-alias-leak): Link with libdl.
7796 (tst-nss-files-alias-leak.out): Depend on nss_files.
7798 * nss/tst-nss-files-alias-leak.c: New file.
7800 2018-08-14 Florian Weimer <fweimer@redhat.com>
7802 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7803 server_user, stat_user.
7805 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7807 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7809 (io_pgetevents): New syscall.
7812 * manual/install.texi (Configuring and compiling): Do not list
7813 tools used for testing pretty printers here.
7814 (Tools for Compilation): List Python, PExpect and GDB here.
7815 Update descriptions of uses of Perl and Python.
7816 * INSTALL: Regenerate.
7818 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7821 2018-08-13 Florian Weimer <fweimer@redhat.com>
7823 * misc/error.c (error): Add missing va_end call.
7824 (error_at_line): Likewise.
7826 2018-08-13 Florian Weimer <fweimer@redhat.com>
7828 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7830 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7832 * benchtests/scripts/benchout.schema.json (properties): Add
7835 * benchtests/bench-skeleton.c (main): Add duration and
7836 iterations attributes.
7838 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7840 regex: Gnulib unibyte RRI uses bytes not chars
7841 Adjust the non-glibc code to agree with what Gawk needs for
7842 rational range interpretation (RRI) for regular expression ranges.
7843 In unibyte locales, Gawk wants ranges to use the underlying byte
7844 rather than the character code point. This change does not affect
7846 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7847 In unibyte locales, use the byte value rather than
7848 running it through btowc.
7850 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7852 * sysdeps/generic/math-tests-snan.h: New file.
7853 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7854 (SNAN_TESTS_float): Do not define here.
7855 (SNAN_TESTS_double): Likewise.
7856 (SNAN_TESTS_long_double): Likewise.
7857 (SNAN_TESTS_float128): Likewise.
7858 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7859 * sysdeps/i386/fpu/math-tests.h: Remove file.
7860 * sysdeps/ia64/math-tests-snan.h: New file.
7861 * sysdeps/ia64/math-tests.h: Remove file.
7862 * sysdeps/x86/math-tests.h: Likewise.
7863 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7865 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7866 Szabolcs Nagy <szabolcs.nagy@arm.com>
7868 * math/Makefile: Add s_sincosf_data.c.
7869 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7870 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7871 (sincosf_poly): Likewise.
7872 (reduce_small): Likewise.
7873 (reduce_large): Likewise.
7874 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7875 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7876 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7877 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7879 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7880 Szabolcs Nagy <szabolcs.nagy@arm.com>
7882 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7883 (converttoint): Use lround.
7884 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7885 document the semantics when TOINT_INTRINSICS is set.
7886 (converttoint): Likewise.
7887 (TOINT_RINT): Remove.
7888 (TOINT_SHIFT): Remove.
7889 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7892 2018-08-10 Florian Weimer <fweimer@redhat.com>
7895 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7897 (__old_getdents64): Use getdents64. Convert entries without
7899 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7900 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7901 tst-readdir64-compat.
7903 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7905 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7908 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7910 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7911 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7912 code to s390x-mcount.h and #include it.
7913 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7914 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7917 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7919 * stdlib/Versions: Remove __fentry__.
7920 * sysdeps/i386/Versions: Add __fentry__.
7921 * sysdeps/x86_64/Versions: Add __fentry__.
7923 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7925 * sysdeps/s390/Makefile: Register the new tests.
7926 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7927 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7928 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7929 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7930 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7931 * sysdeps/s390/tst-dl-runtime.c: New file.
7933 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7935 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7938 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7940 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7943 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7945 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7948 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7950 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7953 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7955 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7956 Use symbolic offsets for stack variables.
7958 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7960 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7961 Use symbolic offsets for stack variables.
7963 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7965 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7966 Use symbolic offsets for stack variables.
7968 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7970 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7971 Use symbolic offsets for stack variables.
7973 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7975 * math/gen-libm-test.py: New file.
7976 * math/gen-libm-test.pl: Remove.
7977 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7978 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7980 ($(libm-test-c-noauto-obj)): Likewise.
7981 ($(libm-test-c-auto-obj)): Likewise.
7982 ($(libm-test-c-narrow-obj)): Likewise.
7983 (regen-ulps): Likewise.
7984 * math/README.libm-test: Update references to gen-libm-test.pl.
7985 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7986 referencing gen-libm-test.pl.
7987 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7988 * math/libm-test-support.c: Likewise.
7989 * math/libm-test-support.h: Likewise.
7990 * sysdeps/generic/libm-test-ulps: Likewise.
7992 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7994 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7997 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7999 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8000 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8002 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8004 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8006 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8007 __pthread_setspecific): Add hidden proto.
8008 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8009 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8011 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8013 * benchtests/bench-string.h (buf1_size, buf2_size): New
8015 (init_sizes): New function.
8016 (test_init): Use it.
8017 (alloc_buf, exit_error): New functions.
8018 (alloc_bufs): Use ALLOC_BUF.
8019 (realloc_bufs): Remove.
8020 * benchtests/bench-memcmp.c (do_test): Adjust.
8021 * benchtests/bench-memset-large.c (do_test): Likewise.
8022 * benchtests/bench-memset-walk.c (do_test): Likewise.
8023 * benchtests/bench-memset.c (do_test): Likewise.
8024 * benchtests/bench-strncmp.c (do_test): Likewise.
8026 2018-08-06 Andreas Schwab <schwab@suse.de>
8028 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8029 of CONST_THREAD_AREA.
8031 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8033 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8034 (STATE_SAVE_MASK): Likewise.
8035 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8036 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8037 (STATE_SAVE_MASK): Likewise.
8038 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8039 instead of <cpu-features.h>.
8041 2018-08-03 DJ Delorie <dj@redhat.com>
8043 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8044 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8046 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8048 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8050 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8052 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8053 * math/libm-test-logb.inc (logb_test_data): Likewise.
8055 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8057 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8058 * string/strstr.c (AVAILABLE): Likewise.
8060 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8066 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8068 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8070 * po/be.po: Update translation.
8072 * po/be.po: Update translation.
8074 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8076 * sysdeps/x86/cpu-features-offsets.sym
8077 (rtld_global_ro_offsetof): Removed.
8078 (CPU_FEATURES_SIZE): Likewise.
8079 (CPUID_OFFSET): Likewise.
8080 (CPUID_SIZE): Likewise.
8081 (CPUID_EAX_OFFSET): Likewise.
8082 (CPUID_EBX_OFFSET): Likewise.
8083 (CPUID_ECX_OFFSET): Likewise.
8084 (CPUID_EDX_OFFSET): Likewise.
8085 (FAMILY_OFFSET): Likewise.
8086 (MODEL_OFFSET): Likewise.
8087 (FEATURE_OFFSET): Likewise.
8088 (FEATURE_SIZ): Likewise.
8089 (COMMON_CPUID_INDEX_1): Likewise.
8090 (COMMON_CPUID_INDEX_7): Likewise.
8091 (FEATURE_INDEX_1): Likewise.
8092 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8094 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8096 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8097 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8098 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8099 (install-locales): Depend on install-locale-archive.
8100 (install-locale-archive): Define.
8101 (install-locale-files): Define.
8102 (build-one-locale): Define macro.
8103 * manual/install.texi (Running make install): Document.
8104 * manual/INSTALL: Regenerate.
8106 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8108 * benchtests/scripts/compare_strings.py: Import traceback.
8109 (parse_file): Pretty-print error.
8111 * NEWS: Mention the change.
8112 * elf/dl-tunables.list: Rename tune namespace to cpu.
8113 * sysdeps/powerpc/dl-tunables.list: Likewise.
8114 * sysdeps/x86/dl-tunables.list: Likewise.
8115 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8117 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8118 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8119 * manual/README.tunables: Likewise.
8120 * manual/tunables.texi: Likewise.
8121 * sysdeps/powerpc/cpu-features.c: Likewise.
8122 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8123 (init_cpu_features): Likewise.
8124 * sysdeps/x86/cpu-features.c: Likewise.
8125 * sysdeps/x86/cpu-features.h: Likewise.
8126 * sysdeps/x86/cpu-tunables.c: Likewise.
8127 * sysdeps/x86_64/Makefile: Likewise.
8128 * sysdeps/x86/dl-cet.c: Likewise.
8130 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8133 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8134 [__mips_hard_float].
8135 (FE_UNDERFLOW): Likewise.
8136 (FE_OVERFLOW): Likewise.
8137 (FE_DIVBYZERO): Likewise.
8138 (FE_INVALID): Likewise.
8139 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8140 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8141 (FE_UPWARD): Likewise.
8142 (FE_DOWNWARD): Likewise.
8143 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8144 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8145 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8146 [__mips_hard_float].
8147 (FP_ROUNDMODE): Likewise.
8148 (FP_RND_NEAREST): Likewise.
8149 (FP_RND_ZERO): Likewise.
8150 (FP_RND_PINF): Likewise.
8151 (FP_RND_MINF): Likewise.
8152 (FP_EX_INVALID): Likewise.
8153 (FP_EX_OVERFLOW): Likewise.
8154 (FP_EX_UNDERFLOW): Likewise.
8155 (FP_EX_DIVZERO): Likewise.
8156 (FP_EX_INEXACT): Likewise.
8157 (FP_INIT_ROUNDMODE): Likewise.
8158 * sysdeps/mips/nofpu/fesetenv.c: New file.
8159 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8161 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8163 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8164 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8165 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8166 conditional on [FE_UPWARD].
8168 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8170 regex: fix memory leak in Gnulib
8171 Problem and fix reported by Assaf Gordon in:
8172 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8173 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8174 range_ends members too, as they are defined in 'struct
8175 re_charset_t' even if not _LIBC. This affects only Gnulib.
8177 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8179 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8181 (get_common_indices): This.
8182 (init_cpu_features): Updated.
8184 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8186 * sysdeps/generic/math-tests-snan-payload.h: New file.
8187 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8188 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8189 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8190 * sysdeps/generic/math-tests.h: Include
8191 <math-tests-snan-payload.h>.
8192 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8193 * sysdeps/hppa/math-tests.h: Remove file.
8194 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8195 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8196 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8199 * sysdeps/generic/math-tests-snan-cast.h: New file.
8200 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8201 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8202 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8203 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8205 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8207 * version.h (RELEASE): Set to "development".
8208 (VERSION): Set to "2.28.9000".
8209 * NEWS (2.29): New section.
8211 * version.h (RELEASE): Set to "stable".
8212 (VERSION): Set to "2.28".
8213 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8214 * NEWS: Add the list of bugs fixed in 2.28.
8216 * po/ca.po: Update to latest version.
8217 * po/cs.po: Likewise
8218 * po/da.po: Likewise
8219 * po/el.po: Likewise
8220 * po/eo.po: Likewise
8221 * po/es.po: Likewise
8222 * po/fi.po: Likewise
8223 * po/fr.po: Likewise
8224 * po/gl.po: Likewise
8225 * po/hu.po: Likewise
8226 * po/ia.po: Likewise
8227 * po/id.po: Likewise
8228 * po/it.po: Likewise
8229 * po/ja.po: Likewise
8230 * po/ko.po: Likewise
8231 * po/lt.po: Likewise
8232 * po/nb.po: Likewise
8233 * po/nl.po: Likewise
8234 * po/pt_BR.po: Likewise
8235 * po/ru.po: Likewise
8236 * po/rw.po: Likewise
8237 * po/sk.po: Likewise
8238 * po/sl.po: Likewise
8239 * po/tr.po: Likewise
8240 * po/zh_CN.po: Likewise
8241 * po/zh_TW.po: Likewise
8243 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8245 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8247 (init): ... before initializing libpthread.
8249 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8250 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8251 (__mach_setup_tls): ... new function.
8252 (mach_setup_tls): New alias.
8253 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8254 __mach_setup_thread.
8255 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8256 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8257 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8258 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8260 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8262 * manual/install.texi: Update versions.
8263 * INSTALL: Regenerate.
8265 * manual/contrib.texi (Contributors): Update contributions.
8267 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8269 * po/be.po: Update translations.
8271 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8273 * sysdeps/sh/libm-test-ulps: Update.
8275 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8277 * po/bg.po: Update translations.
8278 * po/de.po: Likewise.
8279 * po/hr.po: Likewise.
8280 * po/pt_BR.po: Likewise.
8281 * po/sv.po: Likewise.
8282 * po/vi.po: Likewise.
8284 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8287 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8288 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8289 (CFLAGS-tst-cet-property-1.o): New.
8290 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8291 ($(objpfx)tst-cet-property-2): Likewise.
8292 ($(objpfx)tst-cet-property-2.out): Likewise.
8293 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8294 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8295 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8296 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8297 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8299 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8302 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8304 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8306 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8307 __sbrk): Do not set attribute_hidden.
8308 * sysdeps/mach/hurd/not-errno.h: New file.
8309 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8310 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8312 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8314 * po/uk.po: Update translations.
8315 * po/cs.po: Likewise.
8316 * po/pl.po: Likewise.
8318 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8320 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8321 parse beyond the note end.
8323 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8325 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8326 kernel does not support OFD locks.
8327 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8329 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8331 * sysdeps/mach/hurd/Versions (libc): Make __access and
8332 __access_noerrno external so they can override the ld symbols.
8333 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8334 __writev, __open64, __access_noerrno extern so they can be overrided.
8335 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8336 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8338 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8340 * po/libc.pot: Regenerate.
8342 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8344 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8346 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8349 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8351 (init_cpu_features): Call get_extended_indices for both Intel
8353 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8354 Remove "for AMD" comment.
8356 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8359 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8360 COMMON_CPUID_INDEX_80000001.
8362 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8364 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8365 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8367 2018-07-26 Florian Weimer <fweimer@redhat.com>
8369 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8370 aliases for symbols not in the implementation namespace.
8372 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8375 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8376 lowercase in LATIN script.
8377 * localedata/Makefile (test-input): Add en_US.UTF-8.
8378 * localedata/en_US.UTF-8.in: New file.
8379 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8380 and restore old tests.
8381 * posix/tst-regexloc.c (do_test): Add back range expression test.
8383 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8385 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8387 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8389 * nptl/threads.h: Move to ...
8390 * sysdeps/nptl/threads.h: ... here.
8391 * sysdeps/hurd/stdc-predef.h: New file.
8393 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8395 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8396 tst-cet-setcontext-1 if CET is enabled.
8397 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8398 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8400 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8402 * include/threads.h: Move to ...
8403 * sysdeps/nptl/threads.h: ... here.
8404 * sysdeps/htl/threads.h: New file.
8405 * conform/Makefile (linknamespace-libs-ISO11): Use
8406 static-thread-library instead of linking libpthread.
8407 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8409 2018-07-25 Florian Weimer <fweimer@redhat.com>
8411 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8412 nanoseconds into seconds.
8413 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8414 (do_test): Likewise.
8415 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8416 (do_test): Likewise. Avoid nanosecond overflow and spurious
8417 timeouts due to system load.
8418 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8419 (child_wait): Increment it.
8420 (do_test): Wait as long as necessary until all expected threads
8423 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8424 H.J. Lu <hongjiu.lu@intel.com>
8426 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8428 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8429 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8430 (__push___start_context): New.
8431 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8433 (__getcontext): Record the current shadow stack base. Save the
8434 caller's shadow stack pointer and base.
8435 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8436 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8437 (__push___start_context): New prototype.
8438 (__makecontext): Call __push___start_context to allocate a new
8439 shadow stack, push __start_context onto the new stack as well
8440 as the new shadow stack.
8441 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8443 (__setcontext): Restore the target shadow stack.
8444 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8446 (__swapcontext): Record the current shadow stack base. Save
8447 the caller's shadow stack pointer and base. Restore the target
8449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8450 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8451 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8453 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8455 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8456 tst-setcontext8 and tst-setcontext9.
8457 * stdlib/tst-setcontext6.c: New file.
8458 * stdlib/tst-setcontext7.c: Likewise.
8459 * stdlib/tst-setcontext8.c: Likewise.
8460 * stdlib/tst-setcontext9.c: Likewise.
8462 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8464 * stdlib/Makefile ((tests): Add tst-setcontext5.
8465 * stdlib/tst-setcontext5.c: New file.
8467 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8469 * stdlib/Makefile (tests): Add tst-setcontext4.
8470 * stdlib/tst-setcontext4.c: New file.
8472 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8474 * stdlib/Makefile (tests): Add tst-swapcontext1.
8475 * stdlib/tst-swapcontext1.c: New test.
8477 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8479 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8480 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8481 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8482 and tst-cet-legacy-4c.
8483 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8484 and tst-cet-legacy-mod-4.
8485 (CFLAGS-tst-cet-legacy-2.c): New.
8486 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8487 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8488 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8489 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8490 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8491 ($(objpfx)tst-cet-legacy-1): Likewise.
8492 ($(objpfx)tst-cet-legacy-2): Likewise.
8493 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8494 ($(objpfx)tst-cet-legacy-2a): Likewise.
8495 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8496 ($(objpfx)tst-cet-legacy-4): Likewise.
8497 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8498 ($(objpfx)tst-cet-legacy-4a): Likewise.
8499 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8500 (tst-cet-legacy-4a-ENV): Likewise.
8501 ($(objpfx)tst-cet-legacy-4b): Likewise.
8502 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8503 (tst-cet-legacy-4b-ENV): Likewise.
8504 ($(objpfx)tst-cet-legacy-4c): Likewise.
8505 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8506 (tst-cet-legacy-4c-ENV): Likewise.
8507 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8508 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8509 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8510 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8511 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8512 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8513 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8514 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8515 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8516 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8517 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8519 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8521 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8522 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8524 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8525 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8528 2018-07-25 Andreas Schwab <schwab@suse.de>
8531 * locale/weightwc.h (findidx): Handle the case where usrc is a
8532 prefix of cp but one character too short.
8534 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8536 * NEWS: Add ISO C threads addition.
8538 2018-07-24 Florian Weimer <fweimer@redhat.com>
8540 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8541 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8542 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8545 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8547 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8548 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8549 <sys/prctl.h> and <asm/prctl.h>.
8550 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8551 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8553 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8554 ARCH_CET_LEGACY_BITMAP.
8555 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8556 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8557 * sysdeps/x86/libc-start.c: Include <startup.h>.
8559 2018-07-24 Florian Weimer <fweimer@redhat.com>
8561 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8562 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8564 2018-07-24 Rical Jasan <rj@2c3t.io>
8565 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8566 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8569 * manual/debug.texi: Update adjacent chapter name.
8570 * manual/probes.texi: Likewise.
8571 * manual/threads.texi (ISO C Threads): New section.
8572 (POSIX Threads): Convert to a section.
8574 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8575 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8578 * nptl/Makefile (tests): Add new test files.
8579 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8580 * nptl/tst-cnd-basic.c: Likewise.
8581 * nptl/tst-cnd-broadcast.c: Likewise.
8582 * nptl/tst-cnd-timedwait.c: Likewise.
8583 * nptl/tst-mtx-basic.c: Likewise.
8584 * nptl/tst-mtx-recursive.c: Likewise.
8585 * nptl/tst-mtx-timedlock.c: Likewise.
8586 * nptl/tst-mtx-trylock.c: Likewise.
8587 * nptl/tst-thrd-basic.c: Likewise.
8588 * nptl/tst-thrd-detach.c: Likewise.
8589 * nptl/tst-thrd-sleep.c: Likewise.
8590 * nptl/tst-tss-basic.c: Likewise.
8592 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8595 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8596 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8598 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8599 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8600 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8601 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8602 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8603 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8604 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8605 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8606 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8607 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8608 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8609 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8617 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8618 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8620 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8623 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8624 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8625 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8626 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8627 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8628 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8629 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8631 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8632 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8636 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8649 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8659 * conform/data/threads.h-data (thread_local): New macro.
8660 (TSS_DTOR_ITERATIONS): Likewise.
8662 (tss_dtor_t): Likewise.
8663 (tss_create): New function.
8664 (tss_get): Likewise.
8665 (tss_set): Likewise.
8666 (tss_delete): Likewise.
8667 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8668 tss_get, and tss_set objects.
8669 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8670 * nptl/tss_create.c: New file.
8671 * nptl/tss_delete.c: Likewise.
8672 * nptl/tss_get.c: Likewise.
8673 * nptl/tss_set.c: Likewise.
8674 * sysdeps/nptl/threads.h (thread_local): New define.
8675 (TSS_DTOR_ITERATIONS): Likewise.
8676 (tss_t): New typedef.
8677 (tss_dtor_t): Likewise.
8678 (tss_create): New prototype.
8679 (tss_get): Likewise.
8680 (tss_set): Likewise.
8681 (tss_delete): Likewise.
8684 * conform/data/threads.h-data (cnd_t): New type.
8685 (cnd_init): New function.
8686 (cnd_signal): Likewise.
8687 (cnd_broadcast): Likewise.
8688 (cnd_wait): Likewise.
8689 (cnd_timedwait): Likewise.
8690 (cnd_destroy): Likewise.
8691 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8692 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8694 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8695 * nptl/cnd_broadcast.c: New file.
8696 * nptl/cnd_destroy.c: Likewise.
8697 * nptl/cnd_init.c: Likewise.
8698 * nptl/cnd_signal.c: Likewise.
8699 * nptl/cnd_timedwait.c: Likewise.
8700 * nptl/cnd_wait.c: Likewise.
8701 * sysdeps/nptl/threads.h (cnd_t): New type.
8702 (cnd_init): New prototype.
8703 (cnd_signa): Likewise.
8704 (cnd_broadcast): Likewise.
8705 (cnd_wait): Likewise.
8706 (cnd_timedwait): Likewise.
8707 (cnd_destroy): Likewise.
8710 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8711 (once_flag): New type.
8712 (call_once): New function.
8713 * nptl/Makefile (libpthread-routines): Add call_once object.
8714 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8715 * nptl/call_once.c: New file.
8716 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8717 (once_flag): New type.
8718 (call_once): New prototype.
8721 * conform/data/threads.h-data (mtx_plain): New constant.
8722 (mtx_recursive): Likewise.
8723 (mtx_timed): Likewise.
8725 (mtx_init): New function.
8726 (mtx_lock): Likewise.
8727 (mtx_timedlock): Likewise.
8728 (mtx_trylock): Likewise.
8729 (mtx_unlock): Likewise.
8730 (mtx_destroy): Likewise.
8731 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8732 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8733 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8734 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8735 * nptl/mtx_destroy.c: New file.
8736 * nptl/mtx_init.c: Likewise.
8737 * nptl/mtx_lock.c: Likewise.
8738 * nptl/mtx_timedlock.c: Likewise.
8739 * nptl/mtx_trylock.c: Likewise.
8740 * nptl/mtx_unlock.c: Likewise.
8741 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8742 (mtx_recursive): Likewise.
8743 (mtx_timed): Likewise.
8745 (mtx_init): New prototype.
8746 (mtx_lock): Likewise.
8747 (mtx_timedlock): Likewise.
8748 (mtx_trylock): Likewise.
8749 (mtx_unlock): Likewise.
8750 (mtx_destroy): Likewise.
8753 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8754 (linknamespace-libs-ISO11): Add libpthread.a.
8755 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8757 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8758 * nptl/Makefile (headers): Add threads.h.
8759 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8760 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8762 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8763 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8764 thrd_join, thrd_sleep, and thrd_yield symbols.
8765 * nptl/descr.h (struct pthread): Add c11 field.
8766 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8767 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8768 routine with expected function prototype.
8769 (__pthread_create_2_1): Add C11 threads check based on attribute
8771 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8772 * nptl/thrd_create.c: New file.
8773 * nptl/thrd_current.c: Likewise.
8774 * nptl/thrd_detach.c: Likewise.
8775 * nptl/thrd_equal.c: Likewise.
8776 * nptl/thrd_exit.c: Likewise.
8777 * nptl/thrd_join.c: Likewise.
8778 * nptl/thrd_priv.h: Likewise.
8779 * nptl/thrd_sleep.c: Likewise.
8780 * nptl/thrd_yield.c: Likewise.
8781 * include/threads.h: Likewise.
8783 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8785 * bits/indirect-return.h: New file.
8786 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8787 * sysdeps/x86/bits/indirect-return.h: Likewise.
8788 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8789 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8790 (swapcontext): Add __INDIRECT_RETURN.
8791 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8792 (prepare_test_buffer): Use it.
8794 2018-07-24 Andreas Schwab <schwab@suse.de>
8797 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8798 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8800 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8802 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8803 Redefine if shadow stack is enabled.
8804 (SYSCALL_ERROR_LABEL): Likewise.
8805 (__vfork): Pop shadow stack and jump back to to caller directly
8806 when shadow stack is in use.
8807 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8808 Redefine if shadow stack is enabled.
8809 (SYSCALL_ERROR_LABEL): Likewise.
8810 (__vfork): Pop shadow stack and jump back to to caller directly
8811 when shadow stack is in use.
8813 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8818 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8821 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8823 * scripts/build-many-glibcs.py (Context.checkout): Default
8824 binutils version to 2.31 branch.
8826 2018-07-20 Zong Li <zong@andestech.com>
8828 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8829 URL of gcc's tarball.
8831 2018-07-20 Florian Weimer <fweimer@redhat.com>
8834 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8835 not compare an extra byte after the end of the weights.
8837 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8839 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8841 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8843 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8844 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8845 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8846 list of libraries whose stack executability is expected.
8847 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8848 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8850 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8851 libc.so libpthread.so.
8853 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8855 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8857 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8859 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8861 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8863 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8865 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8866 library to improve command line parsing.
8867 (__main__): make schema file as optional parameter (--schema),
8868 defaulting to benchtests/scripts/benchout.schema.json.
8869 (main): move out of the parsing stuff to __main_ and leave it
8870 only as caller of main comparison functions.
8872 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8874 * NEWS: Add a note for Intel CET status.
8875 * manual/install.texi: Likewise.
8876 * INSTALL: Regenerated.
8878 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8881 * localedata/locales/oc_FR (mon): Rename to...
8882 (alt_mon): This, then update October (typo fix).
8883 (mon): New content (genitive case, month names preceded by
8887 * localedata/locales/oc_FR (abday): Update all items.
8888 (day): Update Wednesday and Saturday (typo fixes).
8889 (abmon): Update all items, except May.
8890 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8891 (LC_IDENTIFICATION): Bump the revision number and date.
8892 Keep the "category" entries in alphabetic order.
8893 (LC_ADDRESS): Remove no longer needed comment.
8894 (LC_COLLATE): Use “copy "ca_ES"”.
8895 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8898 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8900 * grp/tst_fgetgrent.c: Include <unistd.h>.
8901 (main): Use mkstemp instead of tmpnam.
8902 * io/test-utime.c (main): Likewise.
8903 * posix/annexc.c (macrofile): Change to modifiable array.
8904 (main): Remove macrofile here.
8905 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8907 (check_header): Do not remove macrofile here.
8908 * posix/bug-getopt1.c: Include <stdlib.h>.
8909 (do_test): Use mkstemp instead of tmpnam.
8910 * posix/bug-getopt2.c: Include <stdlib.h>.
8911 (do_test): Use mkstemp instead of tmpnam.
8912 * posix/bug-getopt3.c: Include <stdlib.h>.
8913 (do_test): Use mkstemp instead of tmpnam.
8914 * posix/bug-getopt4.c: Include <stdlib.h>.
8915 (do_test): Use mkstemp instead of tmpnam.
8916 * posix/bug-getopt5.c: Include <stdlib.h>.
8917 (do_test): Use mkstemp instead of tmpnam.
8918 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8919 (main): Use mkstemp instead of tmpnam.
8920 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8921 (main): Use mkstemp instead of tmpnam.
8922 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8923 (main): use mkstemp instead of tmpnam.
8924 * stdlib/isomac.c (macrofile): Change to modifiable array.
8925 (main): Remove macrofile here.
8926 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8928 (check_header): Do not remove macrofile here.
8930 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8932 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8933 glibc.tune.x86_shstk.
8935 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8937 * NEWS: Mention --enable-cet.
8938 * manual/install.texi: Document --enable-cet.
8939 * INSTALL: Regenerated.
8941 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8944 Add _CET_NOTRACK before indirect jump to jump table.
8946 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8948 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8949 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8952 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8954 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8955 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8958 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8960 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8961 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8964 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8967 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8970 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8972 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8973 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8975 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8977 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8980 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8983 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8985 * sysdeps/i386/i686/multiarch/memset-sse2.S
8986 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8989 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8991 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8992 indirect jump to jump table.
8994 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8996 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8997 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9001 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9004 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9008 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9010 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9011 _CET_NOTRACK before indirect jump to jump table.
9013 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9016 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9019 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9021 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9022 indirect jump to jump table.
9024 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9027 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9028 (LOCALES): Likewise.
9029 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9030 * localedata/locales/sah_RU: New file.
9031 * localedata/sah_RU.UTF-8.in: New file.
9033 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9035 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9037 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9038 _CET_ENDBR to indirect jump targets and adjust jump destination
9040 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9042 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9043 _CET_ENDBR to indirect jump targets and adjust jump destination
9045 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9047 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9048 _CET_ENDBR to indirect jump targets and adjust jump destination
9051 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9053 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9056 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9058 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9060 (_dl_tlsdesc_undefweak): Likewise.
9061 (_dl_tlsdesc_dynamic): Likewise.
9062 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9063 (_dl_tlsdesc_resolve_rel): Likewise.
9064 (_dl_tlsdesc_resolve_rela): Likewise.
9065 (_dl_tlsdesc_resolve_hold): Likewise.
9066 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9067 (_dl_tlsdesc_undefweak): Likewise.
9068 (_dl_tlsdesc_dynamic): Likewise.
9069 (_dl_tlsdesc_resolve_rela): Likewise.
9070 (_dl_tlsdesc_resolve_hold): Likewise.
9072 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9074 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9076 * sysdeps/x86_64/crti.S (_init): Likewise.
9079 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9082 * localedata/locales/os_RU (mon): Rename to...
9084 (mon): Import from CLDR (genitive case).
9086 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9088 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9089 cet-tunables.h> when CET is enabled.
9091 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9094 * configure.ac: Add --enable-cet.
9095 * configure: Regenerated.
9096 * elf/Makefille (all-built-dso): Add a comment.
9097 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9098 Include <dl-prop.h>.
9099 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9101 * elf/dl-open.c: Include <dl-prop.h>.
9102 (dl_open_worker): Call _dl_open_check.
9103 * elf/rtld.c: Include <dl-prop.h>.
9104 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9106 * sysdeps/generic/dl-prop.h: New file.
9107 * sysdeps/i386/dl-cet.c: Likewise.
9108 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9109 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9110 * sysdeps/x86/cet-tunables.h: Likewise.
9111 * sysdeps/x86/check-cet.awk: Likewise.
9112 * sysdeps/x86/configure: Likewise.
9113 * sysdeps/x86/configure.ac: Likewise.
9114 * sysdeps/x86/dl-cet.c: Likewise.
9115 * sysdeps/x86/dl-procruntime.c: Likewise.
9116 * sysdeps/x86/dl-prop.h: Likewise.
9117 * sysdeps/x86/libc-start.h: Likewise.
9118 * sysdeps/x86/link_map.h: Likewise.
9119 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9121 (_dl_runtime_profile): Likewise.
9122 (_dl_runtime_resolve_shstk): New.
9123 (_dl_runtime_profile_shstk): Likewise.
9124 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9126 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9127 (CFLAGS-.os): Likewise.
9128 (CFLAGS-.op): Likewise.
9129 (CFLAGS-.oS): Likewise.
9130 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9132 (tests-special): Add $(objpfx)check-cet.out.
9133 (cet-built-dso): New.
9134 (+$(cet-built-dso:=.note)): Likewise.
9135 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9136 ($(objpfx)check-cet.out): New.
9137 (generated): Add check-cet.out.
9138 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9140 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9141 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9142 (init_cpu_features): Call get_cet_status to check CET status
9143 and update dl_x86_feature_1 with CET status. Call
9144 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9145 (set_x86_shstk). Disable and lock CET in libc.a.
9146 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9147 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9148 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9149 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9150 (_CET_ENDBR): Define if not defined.
9151 (ENTRY): Add _CET_ENDBR.
9152 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9154 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9156 (_dl_runtime_profile): Likewise.
9158 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9161 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9162 restore r2 on longjmp.
9163 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9165 Added rules to build test tst-setjmp-bug21895-static.
9166 Added module setjmp-bug21895 and rules to build a shared object from it.
9167 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9168 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9170 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9172 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9173 * benchtests/bench-strstr.c: Likewise.
9174 * string/memmem.c (FASTSEARCH): Define.
9175 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9176 Add support for FASTSEARCH.
9177 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9178 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9179 (FASTSEARCH): Define.
9180 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9181 * string/test-strstr.c: Likewise.
9183 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9186 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9188 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9189 H.J. Lu <hongjiu.lu@intel.com>
9191 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9192 (__longjmp): Restore shadow stack pointer if shadow stack is
9193 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9194 isn't defined for __longjmp_cancel.
9195 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9196 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9197 and SHADOW_STACK_POINTER_OFFSET is defined.
9198 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9199 (setjmp): Save shadow stack pointer if shadow stack is enabled
9200 and SHADOW_STACK_POINTER_OFFSET is defined.
9201 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9202 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9203 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9204 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9206 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9207 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9208 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9209 Remove jmp_buf-ssp.sym.
9210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9212 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9213 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9214 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9216 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9217 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9218 (__longjmp): Restore shadow stack pointer if shadow stack is
9219 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9220 isn't defined for __longjmp_cancel.
9221 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9222 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9223 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9225 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9228 * nptl/pthread_create.c: Include <tls-setup.h>.
9229 (__pthread_create_2_1): Call tls_setup_tcbhead.
9230 * sysdeps/generic/tls-setup.h: New file.
9231 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9232 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9233 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9235 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9237 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9238 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9239 (X86_FEATURE_1_SHSTK): Likewise.
9240 (CET_ENABLED): Likewise.
9241 (IBT_ENABLED): Likewise.
9242 (SHSTK_ENABLED): Likewise.
9244 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9247 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9248 (LOCALES): Likewise.
9249 * localedata/dsb_DE.UTF-8.in: New file.
9250 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9252 2018-07-12 Florian Weimer <fweimer@redhat.com>
9254 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9255 __mprotect, not mprotect.
9257 2018-07-11 Florian Weimer <fweimer@redhat.com>
9259 * io/Makefile (headers): Add bits/statx.h.
9261 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9263 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9264 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9266 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9267 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9270 2018-07-10 Florian Weimer <fweimer@redhat.com>
9272 * io/Makefile (routines): Add statx.
9273 (tests-internal): Add tst-statx.
9274 * io/Versions (GLIBC_2.28): Export statx.
9275 * io/bits/statx.h: New file.
9276 * io/sys/stat.h [__USE_GNU]: Include it.
9277 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9278 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9280 * io/statx.c: New file.
9281 * io/statx_generic.: Likewise.
9282 * io/tst-statx.: Likewise.
9283 * include/bits/statx.h: Likewise.
9284 * sysdeps/unix/sysv/linux/kernel-features.h
9285 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9286 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9287 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9288 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9291 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9292 * sysdeps/unix/sysv/linux/statx.c: New file.
9293 * manual/filesys.texi: Note that statx is undocumented.
9294 * sysdeps/**/libc*.abilist: Update.
9296 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9298 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9299 a kernel issue which lead to test failure in some cases.
9301 2018-07-10 Florian Weimer <fweimer@redhat.com>
9304 * posix/regexec.c (check_node_accept_bytes): When comparing
9305 weights, do not compare an extra byte after the end of the
9308 2018-07-10 Florian Weimer <fweimer@redhat.com>
9310 * libio/readline.c: Fix copyright year.
9311 * libio/tst-readline.c Likewise.
9312 * nss/tst-nss-files-hosts-getent.c: Likewise.
9314 2018-07-06 Florian Weimer <fweimer@redhat.com>
9317 * nss/nss_files/files-XXX.c (internal_getent): Use
9318 __libc_readline_unlocked. Seek back to the start of the line if
9319 parsing failes with ERANGE.
9320 (get_contents_ret, get_contents): Remove.
9321 * nss/tst-nss-files-hosts-getent.c: New file.
9322 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9323 (tst-nss-files-hosts-getent): Link with -ldl.
9325 2018-07-06 Florian Weimer <fweimer@redhat.com>
9327 * include/stdio.h (__libc_readline_unlocked): Declare.
9328 (__ftello64, __fseeko64): Declare aliases.
9329 * libio/readline.c: New file.
9330 * libio/tst-readline.c: Likewise.
9331 (routines): Add readline.
9332 (tests-internal): Add tst-readlime.
9333 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9334 __libc_readline_unlocked.
9335 * libio/fseeko.c (__fseeko): Rename from fseeko.
9336 (fseeko): Add alias.
9337 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9338 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9339 (fseeko64): Add alias.
9340 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9341 * libio/ftello64.c (__ftello64): Rename from ftello64.
9342 (ftello64): Add alias.
9344 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9346 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9349 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9351 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9352 Use dl_hwcap without masking.
9353 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9356 2018-07-06 Florian Weimer <fweimer@redhat.com>
9358 * conform/conformtest.pl (checknamespace): Escape literal braces
9359 in regular expressions.
9361 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9363 * sysdeps/x86/cpu-features.c (get_common_indeces):
9364 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9365 * sysdeps/x86/cpu-features.c (init_cpu_features):
9366 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9368 2018-07-05 Florian Weimer <fweimer@redhat.com>
9370 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9372 (CFLAGS-elf-init.oS): Likewise.
9374 2018-07-05 Florian Weimer <fweimer@redhat.com>
9375 Carlos O'Donell <carlos@redhat.com>
9377 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9378 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9379 with stack protector enabled because there is no risk of infinite
9382 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9386 * libc-abis (ABSOLUTE): New ABI.
9387 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9388 * NEWS: Mention the new ABI.
9390 2018-07-05 Florian Weimer <fweimer@redhat.com>
9393 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9394 (RENAME_WHITEOUT): Define.
9395 [__USE_GNU] (renameat2): Declare.
9396 * stdio-common/Makefile (routines): Add renameat2.
9397 (tests): Add tst-renameat2.
9398 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9399 * stdio-common/renameat2.c: New file.
9400 * stdio-common/tst-renameat2.c: Likewise.
9401 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9402 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9404 * sysdeps/unix/sysv/linux/kernel-features.h
9405 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9407 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9409 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9410 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9411 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9412 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9413 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9414 * include/stdio.h (__renameat): Add alias for renameat.
9415 * stdio-common/renameat.c (__renameat): Rename from renameat.
9416 Add hidden definition and alias.
9417 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9418 * sysdeps/mach/hurd/renameat.c: Likewise.
9419 * sysdeps/**/libc*.abilist: Add renameat2.
9421 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9423 * posix/bug-regex33.c: Fix build after regex sync.
9425 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9428 * localedata/tst-langinfo-setlocale.c: New file.
9429 * localedata/tst-langinfo-setlocale-static.c: New file.
9430 * localedata/tst-langinfo-newlocale.c: New file.
9431 * localedata/tst-langinfo-newlocale-static.c: New file.
9432 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9433 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9434 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9435 (tests-static): Remove tst-langinfo-static. Add
9436 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9437 (tests-special): Remove $(objpfx)tst-langinfo.out,
9438 $(objpfx)tst-langinfo-static.out. Add
9439 $(objpfx)tst-langinfo-setlocale.out,
9440 $(objpfx)tst-langinfo-newlocale.out,
9441 $(objpfx)tst-langinfo-setlocale-static.out,
9442 $(objpfx)tst-langinfo-newlocale-static.out.
9443 ($(objpfx)tst-langinfo.out): Remove.
9444 ($(objpfx)tst-langinfo-static.out): Remove.
9445 ($(objpfx)tst-langinfo-newlocale.out): New target.
9446 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9447 (test-xfail-tst-langinfo-newlocale-static): Add.
9448 ($(objpfx)tst-langinfo-setlocale.out): New target.
9449 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9450 * localedata/tst-langinfo.c: Call test_locale.
9451 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9454 2018-07-04 Florian Weimer <fweimer@redhat.com>
9456 testrun.sh: Implement --tool=strace, --tool=valgrind
9457 * Makefile (testrun-script): Define variable.
9458 (testrun.sh): Use variable.
9459 * manual/install.texi (Tools for Compilation): make 4.0 or later
9461 * configure.ac: Check for make 4.0 or later.
9462 * INSTALL: Regenerate.
9463 * configure: Likewise.
9465 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9471 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9472 * posix/PCRE.tests: Remove invalid test.
9473 * posix/bug-regex28.c: Fix expected values for used syntax.
9474 * posix/bug-regex37.c: New file.
9475 * posix/bug-regex38.c: Likewise.
9476 * posix/regcomp.c: Sync with gnulib.
9477 * posix/regex.c: Likewise.
9478 * posix/regex.h: Likewise.
9479 * posix/regex_internal.c: Likewise.
9480 * posix/regex_internal.h: Likewise.
9481 * posix/regexec.c: Likewise.
9483 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9486 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9487 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9488 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9489 * localedata/unicode-gen/PropList.txt: likewise.
9490 * localedata/unicode-gen/UnicodeData.txt: likewise.
9491 * localedata/charmaps/UTF-8: Regenerate.
9492 * localedata/locales/i18n_ctype: likewise.
9493 * localedata/locales/tr_TR: likewise.
9494 * localedata/locales/translit_circle: likewise.
9495 * localedata/locales/translit_cjk_compat: likewise.
9496 * localedata/locales/translit_combining: likewise.
9497 * localedata/locales/translit_compat: likewise.
9498 * localedata/locales/translit_font: likewise.
9499 * localedata/locales/translit_fraction: likewise.
9501 2018-07-03 Florian Weimer <fweimer@redhat.com>
9504 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9505 * stdio-common/tst-printf.sh: Adjust expected output.
9508 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9510 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9513 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9515 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9516 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9517 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9518 * stdio-common/tst-printfsz-islongdouble.c: New file.
9519 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9521 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9522 [subdir == stdio-common] (tests-internal): Add
9523 test-printf-size-ieee128, and test-printf-size-ibm128.
9524 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9525 (CFLAGS-test-printf-size-ibm128.c): New variables.
9526 [subdir == stdio-common] (tests-special): Add
9527 $(objpfx)test-printf-size-ieee128.out and
9528 $(objpfx)test-printf-size-ibm128.out.
9529 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9530 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9531 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9532 __printf_sizeieee128.
9533 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9535 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9537 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9540 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9542 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9543 (exp2f_inline): Likewise.
9544 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9545 (__math_uflowf): Likewise.
9546 (__math_may_uflowf): Likewise.
9547 (__math_divzerof): Likewise.
9548 (__math_invalidf): Likewise.
9549 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9550 (__math_oflowf): Likewise.
9551 (__math_uflowf): Likewise.
9552 (__math_may_uflowf): Likewise.
9553 (__math_divzerof): Likewise.
9554 (__math_invalidf): Likewise.
9556 2018-06-29 DJ Delorie <dj@redhat.com>
9557 Carlos O'Donell <carlos@redhat.com>
9560 * include/libc-symbols.h: Comment the freeres framework.
9561 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9562 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9563 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9564 * dlfcn/dlerror.c: Include libc-symbols.h
9565 (__dlerror_main_freeres): New function.
9566 * dlfcn/dlfreeres.c: New file.
9567 * dlfcn/sdlfreeres.c: New file.
9568 * include/dlfcn.h: Declare __dlerror_main_freeres.
9569 * malloc/set-freeres.c: Declare __libdl_freeres, and
9570 __libpthread_freeres.
9571 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9572 the releavant libraries are loaded.
9573 * malloc/thread-freeres.c: Add comments.
9574 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9575 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9576 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9577 (__free_stacks): Rename to...
9578 (free_stacks): ...this. Mark static.
9579 (queue_stack): Call free_stacks.
9580 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9581 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9582 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9583 ptr_freeres element from struct.
9584 (pthread_functions): Remove .ptr_freeres from struct initializer.
9585 [SHARED] (nptl_freeres): Remove.
9586 * nptl/nptlfreeres.c: New file.
9588 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9589 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9591 (__free_stacks): Rename to...
9592 (__nptl_stacks_freeres): ...this.
9593 (__shm_directory_freeres): Declare.
9594 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9595 (__nptl_unwind_freeres): ...this.
9596 * resolv/res-close.c: Add comment.
9597 * resolv/resolv_conf.c: Include libc-symbols.h.
9598 * string/strerror_l.c: Include libc-symbols.h.
9599 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9600 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9601 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9602 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9604 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9606 * stdlib/tst-strfmon_l.c: Add tests for long double.
9608 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9611 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9612 * localedata/locales/dsb_DE: New file.
9614 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9617 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9619 (alt_mon): New entry, import from CLDR (nominative case).
9621 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9624 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9626 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9628 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9629 Use vector registers.
9631 * sysdeps/aarch64/multiarch/memmove_falkor.S
9632 (__memcpy_falkor): Use vector registers.
9634 2018-06-29 Martin Sebor <msebor@redhat.com>
9636 * manual/stdio.texi (Customizing Printf): Mention interaction
9639 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9642 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9643 `st_value' is 0 if `st_shndx' is SHN_ABS.
9644 * elf/tst-absolute-zero.c: New file.
9645 * elf/tst-absolute-zero-lib.c: New file.
9646 * elf/tst-absolute-zero-lib.lds: New file.
9647 * elf/Makefile (tests): Add `tst-absolute-zero'.
9648 (modules-names): Add `tst-absolute-zero-lib'.
9649 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9650 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9651 ($(objpfx)tst-absolute-zero: New dependency.
9653 2018-06-29 Zack Weinberg <zackw@panix.com>
9655 * configure.ac: New command-line option --disable-crypt.
9656 Force --disable-nss-crypt when --disable-crypt is given, with a
9657 warning if it was explicitly enabled.
9658 * configure: Regenerate.
9659 * config.make.in: New boolean substitution variable $(build-crypt).
9660 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9661 when $(build-crypt).
9662 * manual/install.texi: Document --disable-crypt.
9663 * INSTALL: Regenerate.
9665 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9667 * conform/Makefile: Only include libcrypt.a in
9668 linknamespace-libs-xsi and linknamespace-libs-XPG4
9669 when $(build-crypt).
9670 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9671 USE_CRYPT to 1 when $(build-crypt).
9672 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9673 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9674 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9676 2018-06-29 Zack Weinberg <zackw@panix.com>
9678 * crypt/crypt.h, posix/unistd.h: Update comments and
9679 prototypes for crypt and crypt_r.
9681 * manual/crypt.texi (Cryptographic Functions): New initial
9683 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9684 (Unpredictable Bytes): Improve initial exposition. Clarify error
9685 behavior of getentropy and getrandom.
9686 * manual/examples/genpass.c: Generate a salt using getentropy
9687 instead of the current time. Use hash $5$ (SHA-2-256).
9688 * manual/examples/testpass.c: Demonstrate validation against
9689 hashes generated with three different one-way functions.
9691 * manual/intro.texi: crypt.texi does not need an overview
9694 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9695 * manual/terminal.texi: Consistently refer to "passphrases"
9696 * instead of "passwords", and to the "user database" instead
9697 * of the "password database".
9698 * manual/users.texi: Similarly. Add notes about how actual
9699 passphrase hashes are now stored in the shadow database.
9700 Remove 20-year-old junk todo note.
9702 2018-06-29 Zack Weinberg <zackw@panix.com>
9704 * manual/crypt.texi: Use a normal top-level @node declaration.
9705 Move most of the introductory text to the 'crypt' section.
9706 Move the example programs below the @deftypefun for 'crypt_r'.
9707 Move the 'getpass' section...
9708 * manual/terminal.texi: ...here.
9710 2018-06-29 Zack Weinberg <zackw@panix.com>
9711 Florian Weimer <fweimer@redhat.com>
9713 * posix/unistd.h: Do not declare encrypt.
9714 (_XOPEN_CRYPT): Remove macro definition.
9715 (crypt): Declare only for _USE_MISC.
9716 * stdlib/stdlib.h: Do not declare setkey.
9717 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9718 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9720 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9721 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9722 into compat symbols. Don't define initial_perm if it's not
9724 * crypt/cert.c: Link explicitly with the expected versions for
9725 setkey and encrypt. If they are not available at all, mark
9726 the test as unsupported.
9728 * sunrpc/des_crypt.c: Unconditionally block linkage with
9729 cbc_crypt and ecb_crypt for new binaries.
9730 * sunrpc/des_soft.c: Unconditionally block linkage with
9731 des_setparity for new binaries.
9733 * manual/crypt.texi: Remove the entire "DES Encryption"
9734 section. Also remove the paragraph talking about FIPS 140-2
9735 from the introduction.
9736 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9737 of libgcrypt for "real" encryption, not DES.
9738 * manual/conf.texi (Constants for Sysconf): Mention that
9739 _XOPEN_CRYPT is no longer impelemented.
9741 * conform/data/unistd.h-data: Remove crypt function declaration.
9743 2018-06-29 Florian Weimer <fweimer@redhat.com>
9746 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9747 (disallow_malloc_check): Remove variable.
9748 (__malloc_check_init): Adjust.
9749 (malloc_set_state): Update comment.
9750 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9753 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9756 * localedata/locales/ast_ES (mon): Rename to...
9758 (mon): Import from CLDR (genitive case).
9760 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9761 Jakub Sitnicki <jkbs@redhat.com>
9764 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9767 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9769 * manual/llio.texi: Remove spurious space.
9771 2018-06-28 Florian Weimer <fweimer@redhat.com>
9774 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9777 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9779 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9780 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9781 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9782 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9783 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9784 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9785 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9787 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9790 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9791 Copy and null-terminate entries that are not terminated, in
9792 addition to empty ones.
9794 2018-06-27 Florian Weimer <fweimer@redhat.com>
9797 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9798 (extend_alloca_account): Remove.
9799 * manual/stdio.texi (Variable Arguments Output): Update comment.
9801 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9803 * nptl/sockperf.c: Remove file.
9805 2018-06-27 Florian Weimer <fweimer@redhat.com>
9808 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9809 scratch_buffer instead of extend_alloca.
9811 2018-06-27 Florian Weimer <fweimer@redhat.com>
9814 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9815 scratch_buffer instead of extend_alloca. Update comments.
9817 2018-06-27 Florian Weimer <fweimer@redhat.com>
9820 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9821 instead of extend_alloca.
9823 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9826 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9827 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9829 * scripts/test-installation.pl: Put temporary files in build
9830 directory, not /tmp.
9831 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9832 (CFLAGS-bug4.c): Likewise.
9833 (CFLAGS-bug5.c): Likewise.
9834 (CFLAGS-test-fseek.c): Likewise.
9835 (CFLAGS-test-popen.c): Likewise.
9836 (CFLAGS-test_rdwr.c): Likewise.
9837 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9839 * stdio-common/bug4.c (main): Likewise.
9840 * stdio-common/bug5.c (main): Likewise.
9841 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9842 * stdio-common/test-popen.c (do_test): Likewise.
9843 * stdio-common/test_rdwr.c (main): Likewise.
9845 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9847 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9848 (sem_open): Set sem.newsem.pad to zero for valgrind.
9850 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9853 * NEWS: Mention fcntl64 addition.
9854 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9855 * login/utmp_file.c: Likewise.
9856 * sysdeps/posix/fdopendir.c: Likewise.
9857 * sysdeps/posix/opendir.c: Likewise.
9858 * sysdeps/unix/pt-fcntl.c: Likewise.
9859 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9860 __fcntl64_nocancel_adjusted): New prototype.
9861 (__fcntl_nocancel_adjusted): Remove prototype.
9862 * io/Makefile (routines): Add fcntl64.
9863 (CFLAGS-fcntl64.c): New rule.
9864 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9865 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9866 * io/fcntl.h (fcntl64): Add prototype and redirect if
9867 __USE_FILE_OFFSET64 is defined.
9868 * io/fcntl64.c: New file.
9869 * manual/llio.text: Add a note for which commands fcntl acts a
9871 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9872 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9873 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9875 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9876 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9878 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9879 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9880 to __fcntl64_nocancel.
9881 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9882 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9883 to __fcntl64_nocancel.
9884 * sysdeps/generic/not-cancel.h: Likewise.
9885 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9886 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9887 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9888 (fcntl64): New symbol.
9889 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9890 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9894 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9895 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9896 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9899 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9901 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9902 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9903 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9904 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9907 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9908 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9909 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9916 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9918 2018-06-26 Florian Weimer <fweimer@redhat.com>
9920 Run thread shutdown functions in an explicit order.
9921 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9923 (__libc_thread_freeres): Call thread shutdown functions
9925 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9926 * include/string.h (__strerror_thread_freeres): Declare.
9927 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9928 arena_thread_freeres. No longer static. Remove thread shutdown
9930 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9932 * resolv/res-close.c (__res_thread_freeres): Renamed from
9933 res_thread_freeres. No longer static. Remove thread shutdown
9935 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9936 * resolv/resolv_conf.c (freeres): Remove incorrect section
9937 attribute and use libc_freeres_fn.
9938 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9939 strerror_thread_freeres. No longer static. Remove thread
9940 shutdown hook registration.
9941 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9942 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9943 shutdown hook registration.
9944 * Makerules (shlib.lds): Do not provide section boundary symbols
9945 for __libc_thread_subfreeres.
9946 * manual/memory.texi (Basic Allocation): Update comment.
9948 2018-06-26 Florian Weimer <fweimer@redhat.com>
9950 Remove always-defined _RPC_THREAD_SAFE_ macro.
9951 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9952 Do not define _RPC_THREAD_SAFE_.
9953 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9955 * sunrpc/clnt_perr.c: Likewise.
9956 * sunrpc/clnt_raw.c: Likewise.
9957 * sunrpc/clnt_simp.c: Likewise.
9958 * sunrpc/key_call.c: Likewise.
9959 * sunrpc/rpc_common.c: Likewise.
9960 * sunrpc/rpc_main.c: Likewise.
9961 * sunrpc/rpc_thread.c: Likewise.
9962 * sunrpc/svc.c: Likewise.
9963 * sunrpc/svc_raw.c: Likewise.
9964 * sunrpc/svc_simple.c: Likewise.
9965 * sumrpc/svcauth_des.c: Likewise.
9967 2018-06-26 Florian Weimer <fweimer@redhat.com>
9969 * libio/Makefile (tests-internal): Add tst-vtables,
9970 tst-vtables-interposed.
9971 * libio/tst-vtables.c: New file.
9972 * libio/tst-vtables-common.c: Likewise.
9973 * libio/tst-vtables-interposed.c: Likewise.
9975 2018-06-26 Florian Weimer <fweimer@redhat.com>
9977 * support/support_test_main.c (support_test_main): Only call
9978 setvbuf if not disables.
9979 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9980 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9982 2018-06-26 Florian Weimer <fweimer@redhat.com>
9985 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9987 2018-06-25 Florian Weimer <fweimer@redhat.com>
9990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9991 Use struct scratch_buffer instead of extend_alloca.
9993 2018-06-25 Florian Weimer <fweimer@redhat.com>
9996 * nss/getent.c (initgroups_keys): Use dynarray instead of
9999 2018-06-25 Florian Weimer <fweimer@redhat.com>
10002 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10003 Use struct scratch_buffer instead of extend_alloca.
10005 2018-06-25 Florian Weimer <fweimer@redhat.com>
10008 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10009 back to malloc directly, without stack allocations.
10011 2018-06-25 Florian Weimer <fweimer@redhat.com>
10014 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10017 2018-06-25 Florian Weimer <fweimer@redhat.com>
10020 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10022 * nscd/hstcache.c (addhstbyX): Likewise.
10023 * nscd/pwdcache.c (addpwbyX): Likewise.
10024 * nscd/servicescache.c (addservbyX): Likewise.
10026 2018-06-25 Florian Weimer <fweimer@redhat.com>
10029 * nscd/connections.c (read_cmdline): New function.
10030 (restart): Use it. Update comment.
10032 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10035 * localedata/locales/csb_PL (mon): Rename to...
10037 (abmon): Rename to...
10038 (ab_alt_mon): This.
10039 (mon): Add with proper genitive forms, copy from Wikipedia.
10042 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10045 * localedata/locales/csb_PL (mon): Fix typos:
10046 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10047 (yesstr): Add, value is "jo".
10048 (nostr): Add, value is "nié".
10050 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10052 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10053 all log1p and significand functions on m680x0.
10054 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10055 of s_significand.c..
10056 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10057 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10058 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10059 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10060 s_log1p.c and include it..
10062 2018-06-21 Vincent Chen <vincentc@andestech.com>
10064 * elf/elf.h (R_NDS32_NONE): New define.
10065 (R_NDS32_32_RELA): Likewise.
10066 (R_NDS32_COPY): Likewise.
10067 (R_NDS32_GLOB_DAT): Likewise.
10068 (R_NDS32_JUMP_SLOT): Likewise.
10069 (R_NDS32_RELATIVE): Likewise.
10070 (R_NDS32_TLS_TPOFF): Likewise.
10071 (R_NDS32_TLS_DESC): Likewise.
10073 2018-06-21 Mark Wielaard <mark@klomp.org>
10075 * elf/elf.h (R_BPF_MAP_FD): Removed.
10076 (R_BPF_64_64, R_BPF_64_32): New.
10078 2018-06-21 Florian Weimer <fweimer@redhat.com>
10081 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10082 Renamed from libc_feholdsetround_ctx.
10083 (default_libc_feresetround_ctx): Renamed from
10084 libc_feresetround_ctx.
10085 (default_libc_feholdsetround_noex_ctx): Renamed from
10086 libc_feholdsetround_noex_ctx.
10087 (default_libc_feresetround_noex_ctx): Renamed from
10088 libc_feresetround_noex_ctx.
10089 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10090 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10091 forwardning to the old implementations under the new names.
10092 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10093 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10094 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10095 (libc_feresetround_ctx): Forward to default implements for i386
10096 and MATH_SET_BOTH_ROUNDING_MODES.
10097 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10098 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10100 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10102 * string/tst-cmp.c: Include <libc-diag.h>.
10103 (strncmp_max): Disable -Wstringop-overflow= around call to
10105 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10108 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10109 (main): Disable -Wunused-value around call to strpbrk.
10110 * string/bug-strspn1.c: Include <libc-diag.h>.
10111 (main): Disable -Wunused-value around call to strspn.
10113 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10114 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10116 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10117 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10119 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10121 * math/Makefile (libm-calls): Move s_significandF to...
10122 (gen-libm-calls): ... here.
10123 * math/s_significand_template.c: New file.
10124 * math/s_significand.c: Removed.
10125 * math/s_significandf.c: Removed.
10126 * math/s_significandl.c: Removed.
10127 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10128 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10130 * math/e_exp2_template.c (declare_mgen_finite_alias,
10131 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10132 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10133 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10135 2018-06-20 Florian Weimer <fweimer@redhat.com>
10137 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10139 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10142 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10143 floating-point number to strtod functions rather than possibly
10144 negating result of those functions.
10145 * stdio-common/tst-scanf-round.c: New file.
10146 * stdio-common/Makefile (tests): Add tst-scanf-round.
10147 ($(objpfx)tst-scanf-round): Depend on $(libm).
10149 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10151 * sysdeps/mach/hurd/localplt.data: Move to...
10152 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10153 R_386_GLOB_DAT like on Linux i386.
10155 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10157 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10158 (SHM_STAT_ANY): New macro.
10159 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10160 (SHM_STAT_ANY): Likewise.
10161 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10162 (SHM_STAT_ANY): Likewise.
10163 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10164 (SHM_STAT_ANY): Likewise.
10165 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10166 (SHM_STAT_ANY): Likewise.
10167 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10168 (SHM_STAT_ANY): Likewise.
10169 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10170 (SHM_STAT_ANY): Likewise.
10171 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10172 (SHM_STAT_ANY): Likewise.
10173 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10174 (SHM_STAT_ANY): Likewise.
10175 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10176 (SHM_STAT_ANY): Likewise.
10177 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10178 (SHM_STAT_ANY): Likewise.
10179 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10180 (SHM_STAT_ANY): Likewise.
10182 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10183 (SEM_STAT_ANY): New macro.
10184 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10185 (SEM_STAT_ANY): Likewise.
10186 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10187 (SEM_STAT_ANY): Likewise.
10188 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10189 (SEM_STAT_ANY): Likewise.
10190 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10191 (SEM_STAT_ANY): Likewise.
10192 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10193 (SEM_STAT_ANY): Likewise.
10194 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10195 (SEM_STAT_ANY): Likewise.
10196 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10197 (SEM_STAT_ANY): Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10199 (SEM_STAT_ANY): Likewise.
10200 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10201 (SEM_STAT_ANY): Likewise.
10203 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10204 (MSG_STAT_ANY): New macro.
10205 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10206 (MSG_STAT_ANY): Likewise.
10207 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10208 (MSG_STAT_ANY): Likewise.
10209 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10210 (MSG_STAT_ANY): Likewise.
10211 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10212 (MSG_STAT_ANY): Likewise.
10213 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10214 (MSG_STAT_ANY): Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10216 (MSG_STAT_ANY): Likewise.
10217 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10218 (MSG_STAT_ANY): Likewise.
10219 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10220 (MSG_STAT_ANY): Likewise.
10221 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10222 (MSG_STAT_ANY): Likewise.
10224 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10225 (MAP_TYPE): Change value to 0x2b.
10227 2018-06-18 Florian Weimer <fweimer@redhat.com>
10230 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10231 socket with SOCK_CLOEXEC.
10233 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10236 * sysdeps/powerpc/powerpc64/le/Makefile
10237 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10238 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10239 (gnulib-tests): Also add $(f128-loader-link) for
10240 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10242 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10244 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10245 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10247 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10248 (sendfile64): New strong alias.
10249 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10250 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10251 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10252 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10254 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10255 ___pthread_get_cleanup_stack.
10256 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10257 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10258 * mach/shortcut.awk: Make syscall stubs include
10259 <mach-shortcuts-hidden.h> and add hidden definition.
10260 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10261 (__mach_msg): Add hidden prototype.
10262 * mach/msg.c: Include <mach.h>.
10263 (__mach_msg): Add hidden definition.
10264 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10265 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10266 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10267 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10268 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10269 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10270 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10271 prototype and definition.
10272 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10273 hidden target for _hurd_self_sigstate.
10275 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10278 * stdlib/tst-strtod-nan-sign-main.c: New file.
10279 * stdlib/tst-strtod-nan-sign.c: Likewise.
10280 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10281 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10282 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10283 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10284 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10286 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10292 2018-06-14 Florian Weimer <fweimer@redhat.com>
10295 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10296 that the result stays within the ISO-8859-1 range.
10297 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10298 characters are defined in IBM273.
10300 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10302 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10303 __mach_task_self): Remove attribute_hidden.
10305 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10307 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10308 ignore -Wrestrict for one test.
10310 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10311 Szabolcs Nagy <szabolcs.nagy@arm.com>
10313 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10315 2018-06-14 Florian Weimer <fweimer@redhat.com>
10317 * scripts/update-abilist.sh: Accept empty list of files to patch.
10319 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10321 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10322 test-xfail-check-abi-libmachuser): Add.
10323 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10324 __libc_read and __libc_write to __read and __write.
10325 * sysdeps/hurd/include/hurd/port.h: New file.
10326 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10327 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10328 __thread_switch, __evc_wait): Move declarations to...
10329 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10331 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10332 use PLT to call _hurd_self_sigstate.
10334 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10337 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10338 MAX_EXP as overflowing.
10339 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10341 (round_str): Output also whether result overflows in each rounding
10343 * stdlib/tst-strtod-round-data: Add more tests.
10344 * stdlib/tst-strtod-round-data.h: Regenerated.
10345 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10346 (TEST): Handle extra arguments for overflow flags.
10347 (struct test_overflow): New type.
10348 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10349 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10350 (test_in_one_mode): Take argument with overflow information.
10351 (do_test): Update calls to test_in_one_mode.
10353 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10355 * elf/dl-load (_dl_dst_substitute): Correct comment.
10356 (_dl_dst_count): Likewise.
10358 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10359 lll_futex_timed_wait.
10361 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10364 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10366 * math/test-nan-const.c: New file.
10367 * math/Makefile (tests): Add test-nan-const.
10368 (CFLAGS-test-nan-const.c): New variable.
10370 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10372 * benchtests/scripts/compare_strings.py (process_results): Add
10373 funcs argument. Compare only functions which are selected.
10374 (main): Check if base function is among selected functions.
10375 Pass selected functions to process_results.
10376 (__main__): Add -f/--functions argument.
10378 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10379 Hongbo Zhang <hongbo.zhang@linaro.org>
10381 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10382 __memcpy_falkor for phecda core.
10383 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10384 __memmove_falkor for phecda core.
10385 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10386 __memset_falkor for phecda core.
10387 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10389 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10390 macro to identify phecda core.
10392 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10393 Andreas Schwab <schwab@suse.de>
10394 Dmitry V. Levin <ldv@altlinux.org>
10395 Florian Weimer <fweimer@redhat.com>
10402 * elf/dl-dst.h: Remove DL_DST_COUNT.
10403 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10404 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10405 (is_dst): Comment. Support ELF gABI.
10406 (_dl_dst_count): Comment. Simplify and count DSTs.
10407 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10408 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10411 2018-06-12 Zack Weinberg <zackw@panix.com>
10413 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10414 * sysdeps/unix/sysv/linux/dl-sysdep.c
10415 Include not-cancel.h. Use __close_nocancel instead of __close,
10416 __open64_nocancel instead of __open, __read_nocancel instead of
10417 __libc_read, and __write_nocancel instead of __libc_write.
10419 * csu/check_fds.c (check_one_fd)
10420 * sysdeps/posix/fdopendir.c (__fdopendir)
10421 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10422 instead of __fcntl and/or __libc_fcntl.
10424 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10425 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10426 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10427 Use __open64_nocancel instead of __open_nocancel.
10429 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10430 hidden_proto declarations to the end and issue them if either
10431 IS_IN(libc) or IS_IN(rtld).
10432 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10433 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10434 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10435 read_nocancel, waitpid_nocancel, write_nocancel.
10437 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10438 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10439 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10441 * nptl/pt-fcntl.c: New file.
10442 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10443 (libpthread-routines): Add pt-fcntl.
10444 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10445 (__libc_fcntl): Remove attribute_hidden.
10446 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10447 __fcntl_nocancel_adjusted, not fcntl_common.
10448 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10449 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10450 to fcntl_nocancel.c.
10451 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10454 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10456 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10457 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10458 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10459 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10460 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10461 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10462 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10463 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10464 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10465 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10466 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10467 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10468 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10469 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10470 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10471 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10472 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10473 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10474 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10475 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10477 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10478 libpthread-routines.
10479 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10482 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10483 __libc_read, and __write instead of __libc_write. Define
10484 __open64 in addition to __open.
10486 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10490 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10491 to _private_tm[3] and add __glibc_reserved2.
10492 Add _Static_assert of offset of __private_ss == 0x30.
10493 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10494 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10496 2018-06-12 Florian Weimer <fweimer@redhat.com>
10498 x86: Make strncmp usable from rtld.
10499 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10500 __strncmp_ia32 if in libc (and not in rtld).
10501 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10502 strncmp if not in libc (and not to __strncmp_sse2).
10504 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10507 * localedata/locales/gd_GB (mon): Rename to...
10509 (mon): Import from CLDR (genitive case).
10510 * localedata/locales/hsb_DE (mon): Rename to...
10512 (mon): Import from CLDR (genitive case).
10513 * localedata/locales/wa_BE (mon): Rename to...
10515 (mon): Add, fill with the proper genitive forms, but CLDR data
10516 is incomplete; completed according to the comments in this file.
10517 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10519 * localedata/locales/wa_BE (country_name): Reword
10520 "Beljike" -> "Beldjike".
10522 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10525 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10526 cases of non-finite arguments.
10527 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10529 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10532 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10534 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10537 * include/unistd.h (__execvpex): New prototype.
10538 * posix/Makefile (tests): Add tst-spawn4.
10539 (tests-internal): Add tst-spawn4-compat.
10540 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10541 * posix/tst-spawn4-compat.c: New file.
10542 * posix/tst-spawn4.c: Likewise.
10543 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10544 binaries as shell scripts.
10545 * sysdeps/posix/spawni.c (__spawni): Likewise.
10547 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10550 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10551 ($(all-built-dso:=.dynsym): New target.
10552 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10553 ($(objpfx)check-initfini.out): New target.
10554 (generated): Add check-initfini.out.
10555 * scripts/check-initfini.awk: New file.
10556 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10558 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10560 * sysdeps/arm/crti.S (_init): Mark as hidden.
10562 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10564 * sysdeps/i386/crti.S (_init): Mark as hidden.
10566 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10568 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10570 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10572 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10574 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10576 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10578 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10580 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10582 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10584 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10586 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10588 * sysdeps/sh/crti.S (_init): Mark as hidden.
10590 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10592 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10595 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10597 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10598 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10599 and TF redirection to KFtype and KF only when the default
10600 long double type is not the IEEE 128-bit floating point type.
10602 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10604 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10606 (HWCAP_USCAT): Likewise.
10607 (HWCAP_ILRCPC): Likewise.
10608 (HWCAP_FLAGM): Likewise.
10609 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10611 (_dl_aarch64_cap_flags): Add new flag names.
10613 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10614 (MAP_FIXED_NOREPLACE): New macro.
10615 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10616 (MAP_FIXED_NOREPLACE): Likewise.
10617 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10618 (MAP_FIXED_NOREPLACE): Likewise.
10619 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10620 (MAP_FIXED_NOREPLACE): Likewise.
10621 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10622 (MAP_FIXED_NOREPLACE): Likewise.
10623 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10624 (MAP_FIXED_NOREPLACE): Likewise.
10625 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10626 (MAP_FIXED_NOREPLACE): Likewise.
10627 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10628 (MAP_FIXED_NOREPLACE): Likewise.
10629 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10630 (MAP_FIXED_NOREPLACE): Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10632 (MAP_FIXED_NOREPLACE): Likewise.
10633 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10634 (MAP_FIXED_NOREPLACE): Likewise.
10635 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10636 (MAP_FIXED_NOREPLACE): Likewise.
10637 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10638 (MAP_FIXED_NOREPLACE): Likewise.
10639 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10640 (MAP_FIXED_NOREPLACE): Likewise.
10641 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10642 (MAP_FIXED_NOREPLACE): Likewise.
10644 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10647 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10649 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10652 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10654 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10656 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10658 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10660 * benchtests/scripts/compare_string.py: (process_results) Catch
10661 exception in non-existent base_func and catch exception in
10662 non-existent attribute.
10663 (parse_file) Catch exception if input file does not exist.
10665 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10667 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10668 options to avoid diff calculation and omit header, respectively.
10669 (main): process --no-diff and --no-header
10671 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10672 H.J. Lu <hongjiu.lu@intel.com>
10674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10675 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10678 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10679 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10680 and __wcsncmp_sse2.
10681 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10682 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10683 AVX unaligned load is fast and vzeroupper is preferred.
10684 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10685 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10686 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10687 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10688 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10689 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10690 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10691 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10692 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10693 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10696 2018-06-01 Florian Weimer <fweimer@redhat.com>
10698 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10699 configuring with --disable-multi-arch, building with
10700 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10703 2018-06-01 Florian Weimer <fweimer@redhat.com>
10705 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10706 results from building with “-march=x86-64 -mtune=generic
10707 -mfpmath=sse” and running on a Haswell-era CPU.
10709 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10712 * soft-fp/sqrttf2.c: Remove file.
10713 * soft-fp/sqrtdf2.c: Move to ....
10714 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10716 (__sqrtdf2): Make conditional on
10717 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10719 * soft-fp/sqrtsf2.c: Move to ....
10720 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10722 (__sqrtsf2): Make conditional on
10723 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10725 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10726 (gcc-double-routines): Remove sqrtdf2.
10727 (gcc-quad-routines): Remove sqrttf2.
10728 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10729 Do not filter out sqrtsf2 and sqrtdf2.
10730 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10731 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10733 2018-06-01 Florian Weimer <fweimer@redhat.com>
10735 * sysdeps/generic/libcidn.abilist: Remove file.
10737 2018-06-01 Florian Weimer <fweimer@redhat.com>
10740 * libio/strfile.h (struct _IO_str_fields): Rename members to
10741 discourage their use and add comment.
10742 (_IO_STR_DYNAMIC): Remove unused macro.
10743 * libio/strops.c (_IO_str_init_static_internal): Do not use
10744 callback pointers. Call malloc and free.
10745 (_IO_str_overflow): Do not use callback pointers. Call malloc
10747 (enlarge_userbuf): Likewise.
10748 (_IO_str_finish): Call free.
10749 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10750 _allocate_buffer_unused.
10751 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10753 (enlarge_userbuf): Likewise.
10754 (_IO_wstr_finish): Call free.
10755 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10756 _allocate_buffer_unused, _free_buffer_unused.
10757 * libio/memstream.c (__open_memstream): Likewise.
10758 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10759 * libio/wmemstream.c (open_wmemstream): Likewise.
10761 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10763 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10766 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10768 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10769 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10770 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10772 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10774 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10776 2018-05-29 Florian Weimer <fweimer@redhat.com>
10778 * support/Makefile (libsupport-routines): Add
10779 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10780 xpthread_barrierattr_setpshared.
10781 * support/xpthread_barrierattr_destroy.c: New file.
10782 * support/xpthread_barrierattr_init.c: Likewise.
10783 * support/xpthread_barrierattr_setpshared.c: Likewise.
10785 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10788 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10789 _r_debug and update DT_DEBUG for debugger.
10791 2018-05-29 Florian Weimer <fweimer@redhat.com>
10793 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10794 (tst-strtod5i.out): Likewise.
10796 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10798 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10799 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10800 (sparc64-quad-routines): New variable. Moved from ....
10801 [$(subdir) = soft-fp] (sysdep_routines): Add
10802 $(sparc64-quad-routines). Moved from ....
10803 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10804 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10805 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10807 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10808 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10809 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10810 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10811 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10812 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10813 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10814 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10815 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10816 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10817 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10818 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10819 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10820 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10821 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10822 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10824 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10825 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10826 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10827 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10828 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10829 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10830 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10831 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10832 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10833 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10834 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10835 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10836 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10837 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10838 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10840 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10841 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10842 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10843 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10844 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10845 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10846 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10847 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10848 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10849 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10850 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10851 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10852 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10853 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10854 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10855 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10856 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10857 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10858 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10859 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10860 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10861 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10862 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10863 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10864 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10866 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10867 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10868 (sparc32-quad-routines): New variable. Moved from ....
10869 [$(subdir) = soft-fp] (sysdep_routines): Add
10870 $(sparc32-quad-routines). Moved from ....
10871 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10872 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10874 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10875 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10876 * sysdeps/sparc/sparc32/q_add.c: ... here.
10877 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10878 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10879 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10880 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10881 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10882 * sysdeps/sparc/sparc32/q_div.c: ... here.
10883 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10884 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10885 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10886 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10887 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10888 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10889 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10890 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10891 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10892 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10893 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10894 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10895 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10896 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10897 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10898 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10899 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10900 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10901 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10902 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10903 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10904 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10905 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10906 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10907 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10908 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10909 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10910 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10911 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10912 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10913 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10914 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10915 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10916 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10917 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10918 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10919 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10920 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10921 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10922 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10923 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10924 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10925 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10926 * sysdeps/sparc/sparc32/q_util.c: ... here.
10927 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10928 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10930 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10932 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10933 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10935 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10936 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10937 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10938 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10940 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10946 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10947 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10949 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10952 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10955 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10957 * sysdeps/sh/Implies: Remove sh/soft-fp.
10958 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10959 * sysdeps/sh/sfp-machine.h: ... here.
10961 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10964 (__mempcpy_erms): Skip zero length.
10965 (__memmove_erms): Likewise.
10966 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10967 (__memset_erms): Likewise.
10969 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10971 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10972 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10973 Add functions moved from ....
10974 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10975 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10976 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10978 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10979 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10980 * sysdeps/alpha/e_sqrtl.c: ... here.
10981 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10982 * sysdeps/alpha/local-soft-fp.h: ... here.
10983 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10984 * sysdeps/alpha/ots_add.c: ... here.
10985 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10986 * sysdeps/alpha/ots_cmp.c: ... here.
10987 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10988 * sysdeps/alpha/ots_cmpe.c: ... here.
10989 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10990 * sysdeps/alpha/ots_cvtqux.c: ... here.
10991 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10992 * sysdeps/alpha/ots_cvtqx.c: ... here.
10993 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10994 * sysdeps/alpha/ots_cvttx.c: ... here.
10995 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10996 * sysdeps/alpha/ots_cvtxq.c: ... here.
10997 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10998 * sysdeps/alpha/ots_cvtxt.c: ... here.
10999 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11000 * sysdeps/alpha/ots_div.c: ... here.
11001 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11002 * sysdeps/alpha/ots_mul.c: ... here.
11003 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11004 * sysdeps/alpha/ots_nintxq.c: ... here.
11005 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11006 * sysdeps/alpha/ots_sub.c: ... here.
11007 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11008 * sysdeps/alpha/sfp-machine.h: ... here.
11010 2018-05-23 Florian Weimer <fweimer@redhat.com>
11018 Switch to extern IDNA implementation (libidn2).
11019 * libidn: Remove subdirectory.
11020 * LICENSES: Do not mention licensing conditions for the removed
11022 * config.h.in (HAVE_LIBIDN): Remove.
11023 * include/dlfcn.h (__libc_dlopen): Update comment.
11024 * include/idna.h: Remove file.
11025 * inet/Makefile (routines): Add idna.
11026 (tests-static, tests-internal): Add tst-idna_name_classify.
11027 (LOCALES): Generate locales for tests.
11028 (tst-idna_name_classify.out): Depend on generated locales.
11029 * inet/idna_name_classify.c: New file.
11030 * inet/tst-idna_name_classify.c: Likewise.
11031 * inet/net-internal.h (__idna_to_dns_encoding)
11032 (__idna_from_dns_encoding): Declare.
11033 * inet/net-internal.h (enum idna_name_classification): Define.
11034 (__idna_name_classify): Declare.
11035 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11036 __idna_from_dns_encoding.
11037 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11038 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11039 name as a fallback in case of encoding errors.
11040 (getnameinfo): Use DEPRECATED_NI_IDN.
11041 * inet/idna.c: New file.
11042 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11043 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11044 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11045 (modules-names): Add tst-no-libidn2.
11046 (extra-test-objs): Add tst-no-libidn2.os.
11047 (LDFLAGS-tst-no-libidn2.so): Set soname.
11048 (LOCALES): Set, and generate locales.
11049 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11050 (tst-resolv-ai_idn-latin1): Likewise.
11051 (tst-resolv-ai_idn-nolibidn2): Likewise.
11052 (tst-resolv-ai_idn.out): Depend on locales.
11053 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11054 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11056 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11057 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11058 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11059 * resolv/tst-resolv-ai_idn.c: New file.
11060 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11061 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11062 * resolv/tst-no-libidn2.c: Likewise.
11063 * support/support_format_addrinfo.c (format_ai_flags): Do not
11064 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11065 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11066 (gaih_inet): Call __idna_to_dns_encoding and
11067 __idna_from_dns_encoding, and use the original (punycode) name if
11068 __idna_from_dns_encoding fails due to an encoding error.
11069 (getaddrinfo): Use DEPRECATED_AI_IDN.
11070 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11071 * sysdeps/unix/inet/configure: Remove file.
11072 * sysdeps/unix/inet/configure.ac: Likewise.
11074 2018-05-23 Florian Weimer <fweimer@redhat.com>
11076 Implement allocate_once.
11077 * include/allocate_once.h: New file.
11078 * misc/allocate_once.c: Likewise.
11079 * misc/tst-allocate_once.c: Likewise.
11080 * misc/Makefile (routines): Add allocate_once.
11081 (tests-internal): Add tst-allocate_once.
11082 (generated): Add tst-allocate_once.mtrace,
11083 tst-allocate_once-mem.out.
11084 (tests-special): Add tst-allocate_once-mem.out.
11085 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11086 (tst-allocate_once-mem.out): Call mtrace.
11087 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11089 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11092 * string/test-memcpy.c (do_test1): New function.
11093 (test_main): Call it.
11095 2018-05-23 Andreas Schwab <schwab@suse.de>
11099 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11100 (L(preloop_large)): Save initial destination pointer in %r11 and
11101 use it instead of %rax after the loop.
11102 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11104 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11106 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11107 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11108 -I../soft-fp. Moved from ....
11109 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11110 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11111 * sysdeps/aarch64/e_sqrtl.c: ... here.
11112 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11113 * sysdeps/aarch64/sfp-machine.h: ... here.
11115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11116 -Wmaybe-uninitialized around access to fq[0].
11117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11121 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11122 aliases for non-libc case of versioned symbols.
11123 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11124 (llseek): Define as compat symbol if
11125 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11127 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11128 Make into a compat symbol, disabled for minimum symbol version
11129 GLIBC_2.28 and later.
11130 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11132 2018-05-22 Florian Weimer <fweimer@redhat.com>
11134 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11135 not add -mpreferred-stack-boundary=4.
11136 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11137 (stack-align-test-flags): Likewise.
11138 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11140 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11141 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11142 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11143 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11144 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11145 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11146 (CFLAGS-tst-align2.c): Likewise.
11148 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11150 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11151 (index_arch_Prefer_FSRM): Likewise.
11152 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11153 Also check Prefer_FSRM.
11154 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11155 Also return OPTIMIZE (erms) for Prefer_FSRM.
11157 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11159 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11160 (index_cpu_FSRM): Likewise.
11161 (reg_FSRM): Likewise.
11163 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11165 * math/gen-tgmath-tests.py: Import sys.
11166 (Tests.__init__): Initialize macros_seen.
11167 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11168 if requested to do so for this macro.
11169 (Tests.add_all_tests): Take argument for macro for which to
11171 (Tests.check_macro_list): New function.
11172 (main): Handle check-list argument and argument specifying macro
11173 for which to generate tests.
11174 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11175 [PYTHON] (tgmath3-macro-tests): Likewise.
11176 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11177 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11178 not test-tgmath3.c.
11179 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11180 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11182 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11183 [PYTHON] ($(foreach
11184 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11186 [PYTHON] (tests-special): Add
11187 $(objpfx)test-tgmath3-macro-list.out.
11188 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11190 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11191 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11195 * time/tzset.c (SECSPERDAY): Cast to time_t.
11196 * time/tst-y2039.c: New file.
11197 * time/Makefile (tests): Add tst-y2039.
11199 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11201 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11202 (PREFETCH_ONE_SET): Remove duplicate line.
11204 2018-05-17 Florian Weimer <fweimer@redhat.com>
11206 * sysdeps/generic/math-type-macros-double.h: Include
11207 <math-nan-payload-double.h> after <libm-alias-double.h>.
11208 * sysdeps/generic/math-type-macros-float.h: Include
11209 <math-nan-payload-float.h> after <libm-alias-float.h>.
11210 * sysdeps/generic/math-type-macros-float128.h: Include
11211 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11212 * sysdeps/generic/math-type-macros-ldouble.h: Include
11213 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11215 2018-05-17 Andreas Schwab <schwab@suse.de>
11217 * resolv/res_send.c (__res_context_send): Don't set errno when
11218 returing error after malloc failure.
11220 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11222 * nptl/allocatestack.c (allocate_stack): Remove the
11223 !__ASSUME_PRIVATE_FUTEX paths.
11224 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11225 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11227 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11228 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11229 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11230 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11231 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11232 !__ASSUME_PRIVATE_FUTEX path.
11233 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11234 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11235 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11236 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11237 !__ASSUME_PRIVATE_FUTEX macros.
11238 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11239 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11241 * sysdeps/unix/sysv/linux/kernel-features.h
11242 (__ASSUME_PRIVATE_FUTEX): Removed.
11244 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11246 * math/Makefile (libm-narrow-fns): Add div.
11247 (libm-test-funcs-narrow): Likewise.
11248 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11249 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11250 * math/gen-auto-libm-tests.c (test_functions): Add div.
11251 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11252 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11253 (NARROW_DIV_TRIVIAL): Likewise.
11254 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11256 (__ddivl): Likewise.
11257 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11259 (CFLAGS-nldbl-ddiv.c): New variable.
11260 (CFLAGS-nldbl-fdiv.c): Likewise.
11261 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11263 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11265 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11266 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11267 * math/auto-libm-test-in: Add tests of div.
11268 * math/auto-libm-test-out-narrow-div: New generated file.
11269 * math/libm-test-narrow-div.inc: New file.
11270 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11273 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11274 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11275 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11284 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11285 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11286 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11287 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11289 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11315 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11318 * nscd/nscd-client.h (sendfileall): Remove prototype.
11319 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11320 (handle_request): Use writeall instead of sendfileall.
11321 * nscd/aicache.c (addhstaiX): Likewise.
11322 * nscd/grpcache.c (cache_addgr): Likewise.
11323 * nscd/hstcache.c (cache_addhst): Likewise.
11324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11325 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11326 * nscd/pwdcache.c (cache_addpw): Likewise.
11327 * nscd/servicescache.c (cache_addserv): Likewise.
11328 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11329 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11333 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11335 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11336 Include <string/strncat.c>.
11337 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11339 (__GI___strncat): New hidden alias.
11341 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/mips/mips32/libm-test-ulps: Update.
11344 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11346 2018-05-16 Florian Weimer <fweimer@redhat.com>
11348 * support/Makefile (libsupport-routines): Add support_quote_blob,
11349 support_test_compare_blob.
11350 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11351 * support/check.h (TEST_COMPARE_BLOB): Define.
11352 (support_test_compare_blob): Declare.
11353 * support/support.h (support_quote_blob): Declare.
11354 * support/support_quote_blob.c: New file.
11355 * support/support_test_compare_blob.c: Likewise.
11356 * support/tst-support_quote_blob.c: Likewise.
11357 * support/tst-test_compare_blob.c: Likewise.
11359 2018-05-16 Florian Weimer <fweimer@redhat.com>
11361 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11362 of <strtod_nan_double.h>.
11363 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11364 instead of SET_MANTISSA.
11365 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11366 of include <strtod_nan_float.h>.
11367 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11368 instead of <strtod_nan_ldouble.h>.
11369 * stdlib/strtod_nan_double.h: Move to ...
11370 * sysdeps/generic/math-nan-payload-double.h: ... here.
11371 (FLOAT): Remove definition.
11372 (SET_MANTISSA): Rename to ...
11373 (SET_NAN_PAYLOAD): ... this.
11374 * stdlib/strtod_nan_float.h: Move to ...
11375 * sysdeps/generic/math-nan-payload-float.h: ... here.
11376 (FLOAT): Remove definition.
11377 (SET_MANTISSA): Rename to ...
11378 (SET_NAN_PAYLOAD): ... this.
11379 * sysdeps/generic/math-type-macros-double.h: Include
11380 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11381 instead of <math-svid-compat.h>.
11382 * sysdeps/generic/math-type-macros-float.h: Include
11383 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11384 instead of <math-svid-compat.h>.
11385 * sysdeps/generic/math-type-macros-float128.h: Include
11386 <math-nan-payload-float128.h>.
11387 * sysdeps/generic/math-type-macros-ldouble.h: Include
11388 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11389 instead of <math-svid-compat.h>.
11390 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11391 check for definition.
11392 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11393 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11394 Include <ieee754_float128.h>.
11395 (FLOAT): Remove definition.
11396 (SET_MANTISSA): Rename to ...
11397 (SET_NAN_PAYLOAD): ... this.
11398 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11399 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11400 Do not include <float128_private.h>.
11401 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11403 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11404 (FLOAT): Remove definition.
11405 (SET_MANTISSA): Rename to ...
11406 (SET_NAN_PAYLOAD): ... this.
11407 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11408 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11409 (FLOAT): Remove definition.
11410 (SET_MANTISSA): Rename to ...
11411 (SET_NAN_PAYLOAD): ... this.
11412 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11413 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11414 (FLOAT): Remove definition.
11415 (SET_MANTISSA): Rename to ...
11416 (SET_NAN_PAYLOAD): ... this.
11417 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11418 of "../stdlib/strtod_nan_double.h".
11419 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11420 of "../stdlib/strtod_nan_float.h".
11421 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11422 instead of "../stdlib/strtod_nan_ldouble.h".
11423 * manual/arith.texi (Parsing of Floats): Adjust comment.
11425 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11427 * math/Makefile (libm-narrow-fns): Add mul.
11428 (libm-test-funcs-narrow): Likewise.
11429 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11430 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11431 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11432 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11433 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11434 (NARROW_MUL_TRIVIAL): Likewise.
11435 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11436 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11438 (__dmull): Likewise.
11439 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11441 (CFLAGS-nldbl-dmul.c): New variable.
11442 (CFLAGS-nldbl-fmul.c): Likewise.
11443 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11447 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11448 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11449 * math/auto-libm-test-in: Add tests of mul.
11450 * math/auto-libm-test-out-narrow-mul: New generated file.
11451 * math/libm-test-narrow-mul.inc: New file.
11452 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11455 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11456 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11457 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11464 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11465 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11466 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11467 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11468 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11469 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11471 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11497 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11499 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11500 with *%eax in call.
11502 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11504 * sysdeps/i386/ldsodefs.h: Removed.
11505 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11506 * sysdeps/x86/ldsodefs.h: This.
11507 (La_i86_regs): New.
11508 (La_i86_retval): Likewise.
11509 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11510 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11512 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11514 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11517 2018-05-13 Alan Modra <amodra@gmail.com>
11519 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11520 R_PARISC_TLS_DTPOFF32 reloc addend.
11522 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11524 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11525 * math/math.h: Restrict the prototype definition for the functions
11526 issignaling(_Float128) and iszero(_Float128); and template
11527 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11528 __HAVE_FLOAT128_UNLIKE_LDBL.
11529 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11530 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11531 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11532 __f128() constants; define the type _Float128 as long double;
11533 and reuse long double in __CFLOAT128.
11535 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11537 * sysdeps/generic/math_private.h: Do not include
11539 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11541 * math/fromfp.h: Include <math-barriers.h>.
11542 * math/math-narrow.h: Likewise.
11543 * math/s_nextafter.c: Likewise.
11544 * math/s_nexttowardf.c: Likewise.
11545 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11546 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11547 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11548 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11549 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11550 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11551 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11565 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11566 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11567 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11569 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11570 * sysdeps/ieee754/k_standardl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11587 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11592 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11594 2018-05-11 Florian Weimer <fweimer@redhat.com>
11596 Use 64-bit epoch values in the time zone file parser.
11597 * include/time.h (internal_time_t): Define.
11598 (__tzfile_compute): Use it.
11599 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11601 (transitions): Switch to internal_time_t.
11602 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11604 (__tzfile_compute): Use internal_time_t for timer argument. Check
11605 for truncation before calling __offtime.
11607 2018-05-11 Florian Weimer <fweimer@redhat.com>
11610 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11611 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11613 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11614 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11615 export without --enable-obsolete-rpc.
11616 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11617 symbol. This should not have been exported, ever.
11619 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11622 * localedata/locales/gd_GB (abmon): Fix typo in May:
11623 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11625 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11627 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11628 Use multiple registers to copy data in loop tail.
11630 * sysdeps/aarch64/multiarch/memmove_falkor.S
11631 (__memmove_falkor): Use multiple registers to move data in
11634 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11636 * math/math-underflow.h: New file.
11637 * sysdeps/generic/math_private.h: Do not include <float.h>.
11638 (fabs_tg): Remove macro. Moved to math-underflow.h.
11639 (min_of_type_f): Likewise.
11640 (min_of_type_): Likewise.
11641 (min_of_type_l): Likewise.
11642 (min_of_type_f128): Likewise.
11643 (min_of_type): Likewise.
11644 (math_check_force_underflow): Likewise.
11645 (math_check_force_underflow_nonneg): Likewise.
11646 (math_check_force_underflow_complex): Likewise.
11647 * math/e_exp2_template.c: Include <math-underflow.h>.
11648 * math/k_casinh_template.c: Likewise.
11649 * math/s_catan_template.c: Likewise.
11650 * math/s_catanh_template.c: Likewise.
11651 * math/s_ccosh_template.c: Likewise.
11652 * math/s_cexp_template.c: Likewise.
11653 * math/s_clog10_template.c: Likewise.
11654 * math/s_clog_template.c: Likewise.
11655 * math/s_csin_template.c: Likewise.
11656 * math/s_csinh_template.c: Likewise.
11657 * math/s_csqrt_template.c: Likewise.
11658 * math/s_ctan_template.c: Likewise.
11659 * math/s_ctanh_template.c: Likewise.
11660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11663 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11664 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11665 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11678 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11680 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11681 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11682 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11683 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11686 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11687 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11688 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11689 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11738 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11740 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11745 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11747 * sysdeps/generic/math-barriers.h: New file.
11748 * sysdeps/generic/math_private.h [!math_opt_barrier]
11749 (math_opt_barrier): Move to math-barriers.h.
11750 [!math_opt_barrier] (math_force_eval): Likewise.
11751 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11752 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11754 (math_force_eval): Likewise.
11755 * sysdeps/alpha/fpu/math-barriers.h: New file.
11756 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11758 (math_force_eval): Likewise.
11759 * sysdeps/x86/fpu/math-barriers.h: New file.
11760 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11762 (math_force_eval): Likewise.
11763 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11764 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11765 multiple-include guard for rename.
11766 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11767 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11769 (math_force_eval): Likewise.
11771 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11775 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11777 * stdlib/Makefile (test-bz22786): New test.
11778 * stdlib/test-bz22786.c: New test.
11780 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11782 * include/math-narrow-eval.h: New file. Contents moved from ....
11783 * sysdeps/generic/math_private.h: ... here.
11784 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11785 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11786 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11787 * stdlib/strtod_l.c: Likewise.
11788 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11789 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11790 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11804 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11806 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11810 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11812 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11814 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11815 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11818 2018-05-08 Andreas Schwab <schwab@suse.de>
11820 * sysdeps/nptl/internaltypes.h: Fix comment.
11822 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11824 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11825 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11828 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11830 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11831 of I into loop header.
11832 * benchtests/bench-memmove-walk.c
11833 (test_main): Likewise.
11835 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11838 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11839 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11841 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11844 * elf/dl-load.c (open_verify): Fix stack overflow.
11845 * elf/Makefile (tst-big-note): New test.
11846 * elf/tst-big-note-lib.S: New.
11847 * elf/tst-big-note.c: New.
11849 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11851 * scripts/abilist.awk: Ignore absolute symbols.
11852 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11853 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11854 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11855 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11856 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11857 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11858 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11859 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11860 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11861 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11862 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11863 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11867 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11868 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11871 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11872 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11873 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11874 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11875 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11885 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11889 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11890 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11897 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11902 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11903 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11908 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11914 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11917 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11918 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11919 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11920 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11921 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11923 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11925 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11932 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11933 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11934 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11936 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11937 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11938 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11939 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11940 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11941 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11942 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11943 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11945 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11946 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11959 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11987 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12008 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12098 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12113 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12152 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12166 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12205 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12208 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12209 Use atomic_load_acquire to load __tid.
12211 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12214 Restore the pointer into %rdx, after syscall and use %rdx,
12215 instead of %rsi, to restore context.
12217 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12219 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12220 Pop the pointer into %rdx after syscall and use %rdx, instead
12221 of %rsi, to restore context.
12223 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12225 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12226 handlers after setjmp.
12227 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12229 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12230 <libc-pointer-arith.h>.
12231 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12232 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12233 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12234 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12235 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12236 * sysdeps/x86/__longjmp_cancel.S: New file.
12237 * sysdeps/x86/longjmp.c: Likewise.
12238 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12240 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12242 * NEWS: Add ustat.h deprecation entry.
12243 * bits/ustat.h: Remove file.
12244 * misc/sys/ustat.h: Likewise.
12245 * misc/ustat.h: Likewise.
12246 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12247 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12248 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12249 compatibility mode.
12250 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12251 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12252 generic Linux implementation.
12254 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12256 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12257 * math/w_expl_compat.c: Likewise.
12258 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12260 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12262 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12264 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12266 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12267 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12268 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12270 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12273 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12274 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12277 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12279 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12281 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12282 * math/w_asin_template.c: Likewise.
12283 * math/w_atanh_template.c: Likewise.
12285 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12287 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12288 to powerpc/powerpc64/be for big-endian.
12289 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12292 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12293 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12294 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12295 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12296 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12297 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12298 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12299 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12300 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12301 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12302 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12303 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12304 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12305 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12306 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12307 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12308 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12310 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12311 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12312 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12313 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12314 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12315 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12316 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12317 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12318 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12319 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12320 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12321 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12322 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12323 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12325 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12326 adjusted to imply powerpc64 and older processors on powerpc64/be.
12327 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12328 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12329 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12330 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12331 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12332 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12333 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12334 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12335 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12336 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12337 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12338 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12339 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12340 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12341 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12342 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12343 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12344 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12345 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12346 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12347 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12348 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12349 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12350 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12351 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12352 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12353 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12354 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12355 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12356 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12357 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12359 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12360 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12361 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12362 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12364 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12365 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12366 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12367 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12369 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12370 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12371 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12372 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12373 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12374 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12375 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12376 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12377 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12378 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12379 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12381 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12382 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12383 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12384 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12385 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12386 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12387 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12388 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12389 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12390 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12391 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12393 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12394 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12395 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12396 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12397 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12398 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12399 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12400 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12401 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12402 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12403 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12404 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12406 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12407 and adjusted to imply olders processors.
12408 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12409 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12410 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12411 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12416 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12437 powerpc64 and adjusted.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12443 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12445 * sysdeps/tile: Remove.
12446 * sysdeps/unix/sysv/linux/tile: Likewise.
12447 * README (tilegx-*-linux-gnu): Remove from list of supported
12449 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12450 contribution of support for generic Linux kernel syscall
12452 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12453 tilegx configurations.
12454 (Config.install_linux_headers): Do not handle tile.
12455 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12457 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12458 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12459 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12460 conditional undefine and redefine.
12461 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12463 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12464 conditional undefine and redefine.
12466 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12468 * signal/tst-sigaction.c: New file to test BZ #23069.
12469 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12471 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12474 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12475 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12476 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12477 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12479 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12481 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12482 _DIRENT_MATCHES_DIRENT64 is not defined.
12483 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12484 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12486 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12487 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12489 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12491 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12492 version to GCC 8 branch.
12494 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12496 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12497 (check_no_hidden): Use type of original function when declaring
12500 * sysdeps/unix/sysv/linux/sys/ptrace.h
12501 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12502 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12503 (struct __ptrace_seccomp_metadata): New type.
12504 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12505 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12506 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12507 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12508 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12509 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12510 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12511 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12513 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12515 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12516 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12517 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12518 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12519 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12521 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12523 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12525 * dirent/versionsort.c (versionsort): Likewise.
12526 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12527 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12528 * dirent/versionsort64.c (versionsort64): Likewise.
12529 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12530 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12531 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12532 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12533 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12534 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12536 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12537 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12538 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12542 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12544 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12546 * elf/elf.h (NT_PPC_PKEY): New macro.
12548 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12551 * localedata/locales/hr_HR: fix thousands_sep and
12554 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12556 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12557 (XTABS): Define to TAB3.
12559 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12561 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12563 * dirent/scandir-tail-common.c: New file.
12564 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12565 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12566 * dirent/scandir.c: Use scandir-tail-common.c.
12567 * dirent/scandirat.c: Likewise.
12568 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12569 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12570 if _DIRENT_MATCHES_DIRENT64 is defined.
12571 * dirent/scandirat64.c (scandirat64): Likewise.
12572 * include/dirent.h (__scandir_tail): Only define iff
12573 _DIRENT_MATCHES_DIRENT64 is not defined.
12574 (__scandir64_tail): Define regardless.
12575 (__scandirat, scandirat64): Remove libc_hidden_proto.
12576 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12577 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12579 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12581 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12582 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12584 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12586 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12588 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12590 (_dl_aarch64_cap_flags): Add asimdfhm.
12592 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12594 * sysdeps/nios2/libm-test-ulps: Update.
12596 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12598 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12599 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12601 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12603 (_DIRENT_MATCHES_DIRENT64): Undef
12604 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12605 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12606 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12607 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12609 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12610 use getdents64 syscalls as base.
12611 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12612 symbol if required.
12613 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12614 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12615 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12619 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12620 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12622 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12623 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12625 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12627 * scripts/test_printers_common.py (init_test): Disable lock elision.
12629 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12631 * math/test-tgmath.c (count_double, count_float,
12632 count_ldouble, count_cdouble, count_cfloat,
12633 count_cldouble): Use volatile int.
12635 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12637 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12638 (conformtest-xfail-conds): Add i386-gnu.
12639 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12641 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12642 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12643 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12644 msqid_ds.msg_lrpid): Likewise.
12645 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12647 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12648 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12649 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12650 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12652 (struct statvfs64): Likewise.
12653 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12655 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12656 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12657 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12658 instead of wait_queue.
12659 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12660 instead of vm_area_struct.
12661 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12662 struct sched_param definition to it.
12663 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12664 * bits/types/struct_sched_param.h: New file.
12665 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12666 <bits/types/struct_sched_param.h> instead of <sched.h>.
12667 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12668 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12669 generic version but include <bits/pthreadtypes.h> to make struct
12670 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12671 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12673 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12674 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12675 [__USE_XOPEN] (OFDEL): New macro.
12676 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12677 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12678 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12680 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12681 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12682 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12684 * sysdeps/i386/sys/ucontext.h: Likewise.
12685 * sysdeps/m68k/sys/ucontext.h: Likewise.
12686 * sysdeps/mips/sys/ucontext.h: Likewise.
12687 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12688 * sysdeps/mach/hurd/i386/Makefile
12689 (test-xfail-POSIX/fcntl.h/conform): Add.
12690 (test-xfail-POSIX/signal.h/conform): Add.
12691 (test-xfail-POSIX/semaphore.h/conform): Add.
12692 (test-xfail-POSIX/regex.h/conform): Add.
12693 (test-xfail-POSIX/aio.h/conform): Add.
12694 (test-xfail-POSIX/mqueue.h/conform): Add.
12695 (test-xfail-POSIX/sys/types.h/conform): Add.
12696 (test-xfail-UNIX98/fcntl.h/conform): Add.
12697 (test-xfail-UNIX98/netdb.h/conform): Add.
12698 (test-xfail-UNIX98/signal.h/conform): Add.
12699 (test-xfail-UNIX98/semaphore.h/conform): Add.
12700 (test-xfail-UNIX98/regex.h/conform): Add.
12701 (test-xfail-UNIX98/aio.h/conform): Add.
12702 (test-xfail-UNIX98/ftw.h/conform): Add.
12703 (test-xfail-UNIX98/mqueue.h/conform): Add.
12704 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12705 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12706 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12707 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12708 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12709 (test-xfail-UNIX98/sys/types.h/conform): Add.
12710 (test-xfail-UNIX98/stdlib.h/conform): Add.
12711 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12712 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12713 (test-xfail-POSIX2008/netdb.h/conform): Add.
12714 (test-xfail-POSIX2008/signal.h/conform): Add.
12715 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12716 (test-xfail-POSIX2008/regex.h/conform): Add.
12717 (test-xfail-POSIX2008/aio.h/conform): Add.
12718 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12719 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12720 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12721 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12722 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12723 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12724 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12725 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12726 (test-xfail-XOPEN2K/signal.h/conform): Add.
12727 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12728 (test-xfail-XOPEN2K/regex.h/conform): Add.
12729 (test-xfail-XOPEN2K/aio.h/conform): Add.
12730 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12731 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12732 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12733 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12734 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12735 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12736 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12737 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12738 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12739 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12740 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12741 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12742 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12743 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12744 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12745 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12746 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12747 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12748 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12749 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12750 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12751 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12752 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12753 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12754 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12755 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12756 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12758 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12759 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12761 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12763 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12764 --enable-obsolete for powerpc-linux-gnuspe.
12766 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12768 * conform/data/sys/un.h-data: Allow sun_ prefix.
12769 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12771 * sysdeps/mach/include/mach.h: Likewise.
12772 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12773 * sysdeps/mach/include/mach_error.h: Likewise.
12775 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12777 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12778 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12779 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12780 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12782 2018-04-16 Andreas Schwab <schwab@suse.de>
12785 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12787 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12789 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12790 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12792 2018-04-12 DJ Delorie <dj@redhat.com>
12794 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12797 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12799 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12800 (struct kernel_sigaction): Use the same definition on 31bit as is used
12803 2018-04-09 Florian Weimer <fweimer@redhat.com>
12806 * resolv/res_send.c (send_dg): Use designated initializers instead
12807 of assignment to zero-initialize other fields of struct mmsghdr.
12809 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12811 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12812 __READDIR_ALIAS): Undefine after usage.
12813 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12814 __READDIR_R_ALIAS): Likewise.
12815 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12816 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12817 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12818 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12821 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12822 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12823 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12825 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12827 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12828 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12829 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12830 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12831 * sysdeps/unix/sysv/linux/readdir.c: New file.
12832 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12833 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12834 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12836 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12838 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12840 * manual/charset.texi (Converting a Character): Fix typo.
12842 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12846 * sysdeps/arm/libm-test-ulps: Update.
12848 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12849 as base implementation.
12850 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12851 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12853 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12854 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12855 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12856 remove unrequired definitions and update comments.
12857 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12858 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12859 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12860 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12861 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12862 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12864 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12866 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12867 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12868 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12870 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12871 and RESET_SA_RESTORER hooks.
12873 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12875 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12877 2018-04-05 Florian Weimer <fweimer@redhat.com>
12879 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12880 integer overflow, memory leak on error, and indeterminate errno
12881 value. Add a null wide character to terminate the result string.
12882 * manual/charset.texi (Converting a Character): Mention embedded
12883 null bytes in the mbrtowc input string. Explain what happens in
12884 the -2 result case. Do not claim that mbrtowc is simple or
12885 obvious to use. Adjust the description of the code example. Use
12886 @code, not @var, for concrete variables.
12888 2018-04-05 Florian Weimer <fweimer@redhat.com>
12890 * manual/examples/mbstouwcs.c: New file.
12891 * manual/charset.texi (Converting a Character): Include it.
12893 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12895 * include/dirent.h (dirfd): Add hidden proto.
12896 * dirent/dirfd.c (dirfd): Add hidden def.
12897 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12898 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12900 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12902 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12903 sin, cos and sincos to 1 ULP.
12905 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12908 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12910 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12911 * elf/tst-absolute-sym.c: New file.
12912 * elf/tst-absolute-sym-lib.c: New file.
12913 * elf/tst-absolute-sym-lib.lds: New file.
12914 * elf/Makefile (tests): Add `tst-absolute-sym'.
12915 (modules-names): Add `tst-absolute-sym-lib'.
12916 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12917 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12918 ($(objpfx)tst-absolute-sym): New dependency.
12921 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12923 (SYMBOL_ADDRESS): New macro.
12924 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12925 SYMBOL_ADDRESS for symbol address calculation.
12926 * elf/dl-runtime.c (_dl_fixup): Likewise.
12927 (_dl_profile_fixup): Likewise.
12928 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12929 * elf/rtld.c (dl_main): Likewise.
12930 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12931 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12932 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12933 (elf_machine_rela): Likewise.
12934 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12935 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12936 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12937 (elf_machine_rela): Likewise.
12938 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12939 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12940 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12941 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12943 (elf_machine_reloc): Likewise.
12944 (elf_machine_got_rel): Likewise.
12945 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12946 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12947 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12951 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12952 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12954 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12956 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12961 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12964 2018-04-04 Zack Weinberg <zackw@panix.com>
12966 * sysdeps/generic/internal-signals.h: Include signal.h,
12967 sigsetops.h, and stdbool.h.
12968 (__libc_signal_block_all): Actually block all signals.
12969 (__libc_signal_block_app): Likewise.
12970 (__libc_signal_restore_set): Actually restore the signal mask.
12972 2018-04-04 Florian Weimer <fweimer@redhat.com>
12974 inet: Actually build and run tst-deadline.
12975 * inet/Makefile (tests-internal): Add tst-deadline and do not
12976 overwrite the variable.
12977 (tests-static-internal): Remove variable.
12979 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12982 * bits/uio-ext.h (RWF_APPEND): New.
12983 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12984 * manual/llio.texi: Document RWF_APPEND.
12985 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12986 (RWF_SUPPORTED): Add RWF_APPEND.
12988 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12991 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12992 check for internal nptl signals.
12993 * nptl/sigaction.c (__sigaction): Likewise.
12994 * signal/sigaddset.c (sigaddset): Likewise.
12995 * signal/sigdelset.c (sigdelset): Likewise.
12996 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12997 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12999 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13000 to filter out internal nptl signals.
13001 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13002 also check realtime signals using standard macros.
13003 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13004 __is_internal_signal, __libc_signal_block_all,
13005 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13006 * sysdeps/nptl/sigfillset.c: Remove file.
13007 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13008 Change return to bool.
13009 (__clear_internal_signals): Remove SIGTIMER clean since it is
13010 equal to SIGCANEL on Linux.
13011 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13012 signal set was constructed using standard functions.
13014 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13016 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13017 ifname is too long.
13018 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13019 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13020 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13022 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13023 * signal/sigaddset.c: Include <sigsetopts.h>.
13024 * signal/sigdelset.c: Likewise.
13026 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13030 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13031 logic as sin and cos.
13033 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13035 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13036 inputs. Return correct sign.
13037 (do_sincos): Remove small input check before do_sin, let do_sin set
13042 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13044 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13045 (do_cos_slow): Likewise.
13046 (do_sin_slow): Likewise.
13047 (reduce_and_compute): Likewise.
13052 (sloww1): Likewise.
13053 (sloww2): Likewise.
13055 (bslow1): Likewise.
13056 (bslow2): Likewise.
13057 (cslow2): Likewise.
13059 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13061 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13062 (do_cos): Remove corp parameter and calculations.
13063 (do_sin): Likewise.
13064 (do_sincos): Remove cor variable.
13065 (__sin): Use do_sincos for huge inputs.
13067 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13068 (reduce_and_compute_sincos): Remove unused function.
13070 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13072 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13073 reduce_sincos, improve accuracy to 136 bits.
13074 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13075 (__sin): Use improved reduction and simplified do_sincos calculation.
13077 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13079 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13081 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13082 (do_sincos_2): Likewise.
13083 (__sin): Remove middle range reduction case.
13085 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13088 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13090 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13094 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13096 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13098 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13101 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13103 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13104 Remove definitions.
13105 (opendir_oflags): Use O_DIRECTORY regardless.
13106 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13107 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13109 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13111 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13112 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13114 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13115 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13116 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13117 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13118 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13119 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13121 * htl/Makefile: Bump licence to LGPL 2.1+.
13122 * htl/alloca_cutoff.c: Likewise.
13123 * htl/cthreads-compat.c: Likewise.
13124 * htl/lockfile.c: Likewise.
13125 * htl/pt-alloc.c: Likewise.
13126 * htl/pt-cancel.c: Likewise.
13127 * htl/pt-cleanup.c: Likewise.
13128 * htl/pt-create.c: Likewise.
13129 * htl/pt-dealloc.c: Likewise.
13130 * htl/pt-detach.c: Likewise.
13131 * htl/pt-exit.c: Likewise.
13132 * htl/pt-getattr.c: Likewise.
13133 * htl/pt-initialize.c: Likewise.
13134 * htl/pt-internal.h: Likewise.
13135 * htl/pt-join.c: Likewise.
13136 * htl/pt-self.c: Likewise.
13137 * htl/pt-setcancelstate.c: Likewise.
13138 * htl/pt-setcanceltype.c: Likewise.
13139 * htl/pt-sigmask.c: Likewise.
13140 * htl/pt-spin-inlines.c: Likewise.
13141 * htl/pt-testcancel.c: Likewise.
13142 * htl/pt-yield.c: Likewise.
13143 * htl/tests/test-1.c: Likewise.
13144 * htl/tests/test-10.c: Likewise.
13145 * htl/tests/test-11.c: Likewise.
13146 * htl/tests/test-12.c: Likewise.
13147 * htl/tests/test-13.c: Likewise.
13148 * htl/tests/test-14.c: Likewise.
13149 * htl/tests/test-15.c: Likewise.
13150 * htl/tests/test-16.c: Likewise.
13151 * htl/tests/test-17.c: Likewise.
13152 * htl/tests/test-2.c: Likewise.
13153 * htl/tests/test-3.c: Likewise.
13154 * htl/tests/test-4.c: Likewise.
13155 * htl/tests/test-5.c: Likewise.
13156 * htl/tests/test-6.c: Likewise.
13157 * htl/tests/test-7.c: Likewise.
13158 * htl/tests/test-8.c: Likewise.
13159 * htl/tests/test-9.c: Likewise.
13160 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13161 * sysdeps/htl/bits/cancelation.h: Likewise.
13162 * sysdeps/htl/bits/pthread-np.h: Likewise.
13163 * sysdeps/htl/bits/pthread.h: Likewise.
13164 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13165 * sysdeps/htl/bits/semaphore.h: Likewise.
13166 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13167 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13168 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13169 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13170 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13171 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13172 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13173 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13174 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13175 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13176 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13177 * sysdeps/htl/old_pt-atfork.c: Likewise.
13178 * sysdeps/htl/pt-atfork.c: Likewise.
13179 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13180 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13181 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13182 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13183 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13184 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13185 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13186 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13187 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13188 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13189 * sysdeps/htl/pt-attr-init.c: Likewise.
13190 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13191 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13192 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13193 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13194 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13195 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13196 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13197 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13198 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13199 * sysdeps/htl/pt-attr.c: Likewise.
13200 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13201 * sysdeps/htl/pt-barrier-init.c: Likewise.
13202 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13203 * sysdeps/htl/pt-barrier.c: Likewise.
13204 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13205 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13206 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13207 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13208 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13209 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13210 * sysdeps/htl/pt-cond-init.c: Likewise.
13211 * sysdeps/htl/pt-cond-signal.c: Likewise.
13212 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13213 * sysdeps/htl/pt-cond-wait.c: Likewise.
13214 * sysdeps/htl/pt-cond.c: Likewise.
13215 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13216 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13217 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13218 * sysdeps/htl/pt-condattr-init.c: Likewise.
13219 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13220 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13221 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13222 * sysdeps/htl/pt-equal.c: Likewise.
13223 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13224 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13225 * sysdeps/htl/pt-getschedparam.c: Likewise.
13226 * sysdeps/htl/pt-getspecific.c: Likewise.
13227 * sysdeps/htl/pt-init-specific.c: Likewise.
13228 * sysdeps/htl/pt-key-create.c: Likewise.
13229 * sysdeps/htl/pt-key-delete.c: Likewise.
13230 * sysdeps/htl/pt-key.h: Likewise.
13231 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13232 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13233 * sysdeps/htl/pt-mutex-init.c: Likewise.
13234 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13235 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13236 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13237 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13238 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13239 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13240 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13241 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13242 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13243 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13244 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13245 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13246 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13247 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13248 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13249 * sysdeps/htl/pt-mutexattr.c: Likewise.
13250 * sysdeps/htl/pt-once.c: Likewise.
13251 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13252 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13253 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13254 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13255 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13256 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13257 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13258 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13259 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13260 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13261 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13262 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13263 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13264 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13265 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13266 * sysdeps/htl/pt-setschedparam.c: Likewise.
13267 * sysdeps/htl/pt-setschedprio.c: Likewise.
13268 * sysdeps/htl/pt-setspecific.c: Likewise.
13269 * sysdeps/htl/pt-spin.c: Likewise.
13270 * sysdeps/htl/pt-startup.c: Likewise.
13271 * sysdeps/htl/pthread.h: Likewise.
13272 * sysdeps/htl/sem-close.c: Likewise.
13273 * sysdeps/htl/sem-destroy.c: Likewise.
13274 * sysdeps/htl/sem-getvalue.c: Likewise.
13275 * sysdeps/htl/sem-init.c: Likewise.
13276 * sysdeps/htl/sem-open.c: Likewise.
13277 * sysdeps/htl/sem-post.c: Likewise.
13278 * sysdeps/htl/sem-timedwait.c: Likewise.
13279 * sysdeps/htl/sem-trywait.c: Likewise.
13280 * sysdeps/htl/sem-unlink.c: Likewise.
13281 * sysdeps/htl/sem-wait.c: Likewise.
13282 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13283 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13284 * sysdeps/mach/htl/pt-block.c: Likewise.
13285 * sysdeps/mach/htl/pt-spin.c: Likewise.
13286 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13287 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13288 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13289 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13290 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13291 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13292 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13293 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13294 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13295 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13296 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13297 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13298 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13299 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13300 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13301 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13302 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13303 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13304 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13305 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13306 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13307 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13308 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13309 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13310 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13311 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13312 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13313 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13314 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13315 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13316 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13317 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13318 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13319 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13320 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13321 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13322 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13323 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13324 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13325 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13326 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13327 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13328 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13330 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13331 * README: Remove the mention of out-of-tree patches needed for
13334 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13335 (UTIME_NOW, UTIME_OMIT): Define macros.
13337 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13338 instead of pthread_detach.
13339 (__cthread_fork): Call __pthread_create instead of pthread_create.
13340 (__cthread_keycreate): Call __pthread_key_create instead of
13341 pthread_key_create.
13342 (__cthread_getspecific): Call __pthread_getspecific instead of
13343 pthread_getspecific.
13344 (__cthread_setspecific): Call __pthread_setspecific instead of
13345 pthread_setspecific.
13346 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13347 __pthread_mutex_unlock instead of pthread_mutex_lock and
13348 pthread_mutex_unlock.
13349 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13350 ___pthread_get_cleanup_stack.
13351 (__pthread_get_cleanup_stack): New strong alias.
13352 * htl/pt-create.c: Include <pthreadP.h>.
13353 (entry_point): Call __pthread_exit instead of pthread_exit.
13354 (pthread_create): Rename to __pthread_create.
13355 (pthread_create): New strong alias.
13356 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13357 (pthread_detach): New strong alias.
13358 (__pthread_detach): Call __pthread_cond_broadcast instead of
13359 pthread_cond_broadcast.
13360 * htl/pt-exit.c: Include <pthreadP.h>.
13361 (__pthread_exit): Call __pthread_setcancelstate and
13362 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13363 __pthread_get_cleanup_stack.
13364 * htl/pt-testcancel.c: Include <pthreadP.h>.
13365 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13366 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13367 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13368 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13369 pthread_attr_getstacksize.
13370 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13371 Rename to __pthread_attr_getstackaddr.
13372 (pthread_attr_getstackaddr): New strong alias.
13373 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13374 Rename to __pthread_attr_getstacksize.
13375 (pthread_attr_getstacksize): New strong alias.
13376 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13377 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13378 (pthread_attr_setstack): New strong alias.
13379 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13380 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13381 pthread_attr_getstacksize, pthread_attr_setstacksize and
13382 pthread_attr_setstackaddr.
13383 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13384 Rename to __pthread_attr_setstackaddr.
13385 (pthread_attr_setstackaddr): New strong alias.
13386 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13387 Rename to __pthread_attr_setstacksize.
13388 (pthread_attr_setstacksize): New strong alias.
13389 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13390 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13392 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13393 (__pthread_key_create): New hidden def.
13394 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13395 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13396 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13397 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13398 __pthread_setspecific, __pthread_setcancelstate,
13399 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13400 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13401 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13403 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13404 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13405 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13406 (pthread_attr_setstackaddr): New strong alias.
13407 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13408 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13409 (pthread_attr_setstacksize): New strong alias.
13410 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13411 (call_exit): Call __pthread_exit instead of pthread_exit.
13412 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13413 (_pthread_mutex_init): New hidden definition.
13414 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13415 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13416 instead of pthread_attr_init and pthread_attr_setstack.
13418 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13419 __vm_deallocate instead of vm_allocate and vm_deallocate.
13420 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13422 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13424 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13426 * hurd/siginfo.c: Include <libioP.h>.
13427 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13428 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13430 * mach/devstream.c: Include <libioP.h>.
13431 (dealloc_ref): Call __mach_port_deallocate instead of
13432 mach_port_deallocate.
13433 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13434 Call __mach_port_deallocate instead of mach_port_deallocate.
13435 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13437 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13439 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13440 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13441 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13443 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13445 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13446 instead of sysconf.
13447 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13448 __clock_gettime instead of clock_gettime.
13449 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13450 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13451 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13452 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13453 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13455 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13456 __clock_gettime and __nanosleep instead of clock_gettime and
13458 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13459 __hurd_catch_signal.
13460 (hurd_catch_signal): New strong alias.
13461 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13462 __hurd_catch_signal instead of hurd_catch_signal.
13463 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13464 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13465 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13466 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13467 (_hurd_thread_sigstate): Add hidden def.
13468 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13470 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13471 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13472 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13473 __hurd_file_name_path_lookup.
13474 (hurd_file_name_path_lookup): New strong alias.
13475 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13476 hurd_file_name_path_lookup.
13477 * mach/errstring.c (mach_error_type): Add hidden def.
13478 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13479 * mach/mutex-init.c (__mutex_init): Add hidden def.
13480 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13481 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13482 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13483 * sysdeps/mach/hurd/getcwd.c
13484 (_hurd_canonicalize_directory_name_internal): Rename to
13485 __hurd_canonicalize_directory_name_internal.
13486 (_hurd_canonicalize_directory_name_internal): New strong alias.
13487 (__canonicalize_directory_name_internal, __getcwd): Call
13488 __hurd_canonicalize_directory_name_internal instead of
13489 _hurd_canonicalize_directory_name_internal.
13490 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13491 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13493 * sysdeps/hurd/include/hurd.h: New file.
13494 * sysdeps/hurd/include/hurd/fd.h: New file.
13495 * sysdeps/hurd/include/hurd/signal.h: New file.
13496 * sysdeps/mach/include/lock-intern.h: New file.
13497 * sysdeps/mach/include/mach.h: New file.
13498 * sysdeps/mach/include/mach/mig_support.h: New file.
13499 * sysdeps/mach/include/mach_error.h: New file.
13500 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13502 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13503 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13504 _HEADER_H_HIDDEN_DEF macro.
13505 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13506 _hurd_fd_error_signal): Add hidden prototype.
13507 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13509 * libio/iolibio.h (_IO_puts): New hidden prototype.
13510 * libio/ioputs.c (_IO_puts): New hidden def.
13511 * sysdeps/mach/hurd/localplt.data: New file.
13513 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13514 Amos Jeffries <squid3@treenet.co.nz>
13515 David Michael <fedora.dm0@gmail.com>
13516 Marco Gerards <marco@gnu.org>
13517 Marcus Brinkmann <marcus@gnu.org>
13518 Neal H. Walfield <neal@gnu.org>
13519 Pino Toscano <toscano.pino@tiscali.it>
13520 Richard Braun <rbraun@sceen.net>
13521 Roland McGrath <roland@gnu.org>
13522 Samuel Thibault <samuel.thibault@ens-lyon.org>
13523 Thomas DiModica <ricinwich@yahoo.com>
13524 Thomas Schwinge <tschwinge@gnu.org>
13526 * htl: New directory.
13527 * sysdeps/htl: New directory.
13528 * sysdeps/hurd/htl: New directory.
13529 * sysdeps/i386/htl: New directory.
13530 * sysdeps/mach/htl: New directory.
13531 * sysdeps/mach/hurd/htl: New directory.
13532 * sysdeps/mach/hurd/i386/htl: New directory.
13533 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13534 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13535 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13537 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13539 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13540 signals in thread created for runing timers.
13542 2018-04-01 Florian Weimer <fweimer@redhat.com>
13544 * support/support_format_addrinfo.c (support_format_addrinfo):
13545 Include unknown error number in formatted result.
13547 2018-03-29 Florian Weimer <fweimer@redhat.com>
13549 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13552 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13554 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13555 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13556 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13557 (__ASSUME_CLONE_BACKWARDS): Define.
13559 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13563 early when linux sentinel value is set.
13565 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13567 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13569 2018-03-27 Andreas Schwab <schwab@suse.de>
13572 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13573 allocation of private copy of nsaddr_list fails.
13575 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13578 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13579 * sysdeps/unix/sysv/linux/umount.c: ... here.
13580 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13581 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13582 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13583 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13585 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13586 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13588 2018-03-26 Andreas Schwab <schwab@suse.de>
13590 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13591 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13592 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13593 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13594 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13595 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13596 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13597 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13598 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13599 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13600 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13601 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13602 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13603 (R_RISCV_NUM): Define.
13605 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13607 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13608 TLS declaration of errno.
13609 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13611 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13612 (ARCH_SETUP_TLS): Likewise.
13613 * sysdeps/mach/hurd/libc-start.h: New file copied from
13614 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13615 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13616 instead of __libc_setup_tls.
13617 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13618 __libc_setup_tls before initializing libpthread and running _hurd_init
13619 which starts the signal thread.
13620 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13622 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13624 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13627 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13628 after it is defined.
13630 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13631 Max Horn <max@quendi.de>
13635 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13637 * string/test-memmove.c (do_test2): New testcase.
13639 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13641 * sysdeps/generic/frame.h: Remove file.
13642 * sysdeps/arm/frame.h: Likewise.
13643 * sysdeps/hppa/frame.h: Likewise.
13644 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13646 (GET_FRAME): Likewise.
13647 (GET_STACK): Likewise.
13648 (CALL_SIGHANDLER): Likewise.
13649 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13651 (GET_FRAME): Likewise.
13652 (GET_STACK): Likewise.
13653 (CALL_SIGHANDLER): Likewise.
13654 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13655 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13656 (GET_FRAME): Likewise.
13657 (GET_STACK): Likewise.
13658 (CALL_SIGHANDLER): Likewise.
13659 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13660 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13661 (GET_FRAME): Likewise.
13662 (GET_STACK): Likewise.
13663 (ADVANCE_STACK_FRAME): Likewise.
13664 (CALL_SIGHANDLER): Likewise.
13665 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13666 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13667 (GET_FRAME): Likewise.
13668 (GET_STACK): Likewise.
13669 (CALL_SIGHANDLER): Likewise.
13670 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13671 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13672 (GET_FRAME): Likewise.
13673 (GET_STACK): Likewise.
13674 (CALL_SIGHANDLER): Likewise.
13675 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13676 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13677 (GET_FRAME): Likewise.
13678 (GET_STACK): Likewise.
13679 (CALL_SIGHANDLER): Likewise.
13680 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13681 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13682 (GET_FRAME): Likewise.
13683 (GET_STACK): Likewise.
13684 (CALL_SIGHANDLER): Likewise.
13685 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13686 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13687 (GET_FRAME): Likewise.
13688 (GET_STACK): Likewise.
13689 (CALL_SIGHANDLER): Likewise.
13690 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13691 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13692 (GET_FRAME): Likewise.
13693 (GET_STACK): Likewise.
13694 (CALL_SIGHANDLER): Likewise.
13695 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13696 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13697 (GET_FRAME): Likewise.
13698 (GET_STACK): Likewise.
13699 (CALL_SIGHANDLER): Likewise.
13700 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13701 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13702 (GET_FRAME): Likewise.
13703 (GET_STACK): Likewise.
13704 (CALL_SIGHANDLER): Likewise.
13705 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13706 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13707 (GET_FRAME): Likewise.
13708 (GET_STACK): Likewise.
13709 (CALL_SIGHANDLER): Likewise.
13710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13711 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13712 (FIRST_FRAME_POINTER): Likewise.
13713 (ADVANCE_STACK_FRAME): Likewise.
13714 (GET_STACK): Likewise.
13715 (GET_FRAME): Likewise.
13716 (CALL_SIGHANDLER): Likewise.
13717 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13718 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13719 (ADVANCE_STACK_FRAME): Likewise.
13720 (GET_STACK): Likewise.
13721 (GET_FRAME): Likewise.
13722 (CALL_SIGHANDLER): Likewise.
13723 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13724 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13725 (GET_FRAME): Likewise.
13726 (GET_STACK): Likewise.
13727 (CALL_SIGHANDLER): Likewise.
13728 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13730 (GET_FRAME): Likewise.
13731 (GET_STACK): Likewise.
13732 (CALL_SIGHANDLER): Likewise.
13734 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13736 * sysdeps/x86_64/backtrace.c: Move to ....
13737 * debug/backtrace.c: ... here.
13738 * sysdeps/aarch64/backtrace.c: Remove file.
13739 * sysdeps/alpha/backtrace.c: Likewise.
13740 * sysdeps/hppa/backtrace.c: Likewise.
13741 * sysdeps/ia64/backtrace.c: Likewise.
13742 * sysdeps/mips/backtrace.c: Likewise.
13743 * sysdeps/nios2/backtrace.c: Likewise.
13744 * sysdeps/riscv/backtrace.c: Likewise.
13745 * sysdeps/sh/backtrace.c: Likewise.
13746 * sysdeps/tile/backtrace.c: Likewise.
13748 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13751 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13754 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13757 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13758 possibly overflowing computations.
13760 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13762 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13763 values from Linux-specific section now that it is in the GNU section.
13764 * sysdeps/gnu/errlist.c: Regenerate.
13766 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13768 * math/Makefile (libm-narrow-fns): Add sub.
13769 (libm-test-funcs-narrow): Likewise.
13770 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13771 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13772 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13773 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13774 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13775 (NARROW_SUB_TRIVIAL): Likewise.
13776 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13778 (__dsubl): Likewise.
13779 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13781 (CFLAGS-nldbl-dsub.c): New variable.
13782 (CFLAGS-nldbl-fsub.c): Likewise.
13783 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13785 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13787 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13788 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13789 * math/auto-libm-test-in: Add tests of sub.
13790 * math/auto-libm-test-out-narrow-sub: New generated file.
13791 * math/libm-test-narrow-sub.inc: New file.
13792 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13795 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13796 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13797 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13806 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13807 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13808 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13809 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13811 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13839 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13842 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13844 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13846 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13848 2018-03-18 Richard Braun <rbraun@sceen.net>
13850 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13853 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13855 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13856 (__libc_cleanup_fct): Define function.
13857 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13858 __libc_cleanup_end): Rewrite implementation using
13859 __attribute__ ((__cleanup__)).
13860 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13861 * hurd/Makefile (routines): Add hurdlock.
13862 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13864 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13865 * hurd/hurdpid.c: Include <lowlevellock.h>
13866 (_S_msg_proc_newids): Use lll_wait to synchronize.
13867 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13868 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13869 * mach/Makefile (lock-headers): Remove machine-lock.h.
13870 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13872 (__spin_lock_t): New type.
13873 (__SPIN_LOCK_INITIALIZER): New macro.
13874 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13875 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13876 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13877 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13878 (__mutex_init): Initialize with lll.
13879 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13880 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13882 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13883 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13884 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13885 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13886 (__setpgid): Use lll for synchronization.
13887 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13888 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13889 instead of <cthreads.h>.
13890 (_IO_lock_inexpensive): New macro
13891 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13892 (__libc_lock_self0): New declaration.
13893 (__libc_lock_owner_self): New macro.
13894 (__libc_key_t): Remove type.
13895 (_LIBC_LOCK_INITIALIZER): New macro.
13896 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13897 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13898 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13899 __libc_lock_define_initialized_recursive,
13900 __rtld_lock_define_initialized_recursive,
13901 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13902 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13903 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13904 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13905 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13906 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13907 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13909 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13910 * hurd/hurdlock.c: New file.
13911 * hurd/hurdlock.h: New file.
13912 * mach/lowlevellock.h: New file
13914 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13916 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13918 when opening a symlink with O_NOFOLLOW.
13919 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13920 path when flags contains O_NOFOLLOW.
13921 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13922 if flags contains O_DIRECTORY and the result is a directory.
13923 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13924 oneself when the pointer given in D is nul (as set by ext2fs).
13925 * sysdeps/mach/hurd/mlockall.c: New file.
13926 * sysdeps/mach/hurd/munlockall.c: New file.
13928 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13930 * hurd/hurdsig.c: Include <pthread.h>.
13931 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13932 get the signal thread stack layout.
13933 * hurd/Makefile (headers): Remove threadvar.h.
13934 (inline-headers): Remove threadvar.h.
13935 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13936 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13937 __hurd_threadvar_max, __hurd_errno_location.
13938 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13939 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13940 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13941 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13942 unless TLS is not initialized yet, in which case we do not need a
13943 critical section yet anyway.
13944 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13946 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13948 (__hurd_threadvar_index): Remove enum.
13949 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13950 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13952 (__hurd_reply_port0): New variable declaration.
13953 (__hurd_local_reply_port): New macro.
13954 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13955 (interrupted_reply_port_location): Add thread_t parameter. Use it
13956 with THREAD_TCB to access thread-local variables.
13957 (_hurdsig_abort_rpcs): Pass ss->thread to
13958 interrupted_reply_port_location.
13959 (_hurd_internal_post_signal): Likewise.
13960 (_hurdsig_init): Use presence of cthread_fork instead of
13961 __hurd_threadvar_stack_mask to start signal thread by hand.
13962 Remove signal thread threadvar initialization.
13963 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13964 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13965 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13967 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13969 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13970 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13971 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13972 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13973 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13974 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13975 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13977 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13978 <hurd/threadvar.h>.
13979 [IS_IN(rtld)] (rtld_errno): New variable.
13980 [IS_IN(rtld)] (__errno_location): New weak function.
13981 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13982 * sysdeps/mach/hurd/errno.c: Remove file.
13983 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13984 (__fork): Remove THREADVAR_SPACE macro and its use.
13985 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13987 (init): Do not initialize threadvar.
13988 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13990 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13991 __hurd_local_reply_port instead of threadvar.
13992 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13993 _hurd_sigstate fields.
13994 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13995 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13996 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13997 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13998 instead of threadvar.
13999 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14000 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14001 (use_threadvar, global_reply_port): Remove variables.
14002 (__hurd_reply_port0): New variable.
14003 (__mig_get_reply_port): Use __hurd_local_reply_port and
14004 __hurd_reply_port0 instead of threadvar.
14005 (__mig_dealloc_reply_port): Likewise.
14006 (__mig_init): Do not initialize threadvar.
14007 * sysdeps/mach/hurd/profil.c: Fix comment.
14008 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14009 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14010 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14011 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14012 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14013 __cthread_setspecific.
14014 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14015 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14016 __cthread_t instead of cthread_fork, cthread_detach,
14017 pthread_getattr_np, pthread_attr_getstack.
14018 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14019 __cthread_keycreate.
14020 (cthread_getspecific): Rename to __cthread_getspecific.
14021 (cthread_setspecific): Rename to __cthread_setspecific.
14022 (__libc_getspecific): Use __cthread_getspecific instead of
14023 cthread_getspecific.
14024 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14025 __cthread_keycreate instead of cthread_keycreate.
14026 (__libc_setspecific): Use __cthread_setspecific instead of
14027 cthread_setspecific.
14028 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14031 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14032 testing whether it is defined.
14034 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14038 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14039 * sysdeps/mach/i386/thread_state.h
14040 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14042 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14044 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14046 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14047 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14049 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14051 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14052 descriptor instead of creating a new one.
14053 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14055 * mach/setup-thread.c: Include <ldsodefs.h>.
14056 (__mach_setup_thread): Call _dl_allocate_tls, pass
14057 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14058 MACHINE_THREAD_STATE_FLAVOR, before getting
14059 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14060 MACHINE_THREAD_STATE_FLAVOR with the result.
14061 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14062 MACHINE_THREAD_STATE_FIX_NEW.
14063 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14064 too. Add original thread parameter.
14066 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14068 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14069 Remove inline function.
14071 * sysdeps/i386/fpu/libm-test-ulps: Update.
14072 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14074 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14076 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14079 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14081 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14082 (__sincos_code): Remove define and undefine.
14083 [__FAST_MATH__] (__sincos): Remove inline function.
14084 [__FAST_MATH__] (__sincosf): Remove inline function.
14085 [__FAST_MATH__] (__sincosl): Remove inline function.
14086 (__atan2l): Remove inline functions.
14087 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14088 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14090 (floor): Remove inline function.
14092 [__FAST_MATH__] (__ldexp_code): Remove macro.
14093 [__FAST_MATH__] (ldexp): Remove inline function.
14094 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14095 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14096 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14097 [__USE_ISOC99] (__lrint_code): Remove macro.
14098 [__USE_ISOC99] (__llrint_code): Likewise.
14099 [__USE_ISOC99] (lrintf): Remove inline function.
14100 [__USE_ISOC99] (lrint): Likewise.
14101 [__USE_ISOC99] (lrintl): Likewise.
14102 [__USE_ISOC99] (llrint): Likewise.
14103 [__USE_ISOC99] (llrintf): Likewise.
14104 [__USE_ISOC99] (llrintl): Likewise.
14106 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14108 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14109 (__ieee754_sqrtf): Remove.
14110 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14111 (__ieee754_sqrtf): Remove.
14112 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14113 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14114 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14115 (__ieee754_sqrtf): Remove.
14116 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14117 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14120 (__ieee754_sqrt): Remove.
14121 (__ieee754_sqrtf): Remove.
14122 (__ieee754_sqrtl): Remove.
14123 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14124 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14125 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14126 (__ieee754_sqrtf): Remove.
14127 (__ieee754_sqrtl): Remove.
14129 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14131 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14132 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14133 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14134 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14135 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14136 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14137 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14138 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14140 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14141 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14142 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14143 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14144 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14145 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14146 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14147 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14148 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14149 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14150 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14151 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14152 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14153 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14154 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14155 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14156 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14157 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14158 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14165 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14169 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14170 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14172 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14174 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14176 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14177 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14178 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14179 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14181 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14183 * include/math.h (sqrt): Declare with asm redirect.
14186 (sqrtf128): Likewise.
14187 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14188 nonlib and libnldbl with -fmath-errno.
14189 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14190 * math/w_sqrt_template.c: Likewise.
14191 * math/w_sqrtf_compat.c: Likewise.
14192 * math/w_sqrtl_compat.c: Likewise.
14193 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14194 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14195 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14198 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14200 * benchtests/Makefile: Define _ISOMAC.
14201 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14202 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14203 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14204 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14205 * benchtests/bench-timing.h: Define attribute_hidden.
14207 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14209 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14212 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14215 * localedata/locales/cs_CZ (mon): Rename to...
14217 (mon): Import from CLDR (genitive case).
14219 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14222 * localedata/locales/el_CY (abmon): Rename to...
14223 (ab_alt_mon): This.
14224 (abmon): Import from CLDR (abbreviated genitive case).
14225 * localedata/locales/el_GR (abmon): Rename to...
14226 (ab_alt_mon): This.
14227 (abmon): Import from CLDR (abbreviated genitive case).
14229 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14232 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14234 2018-03-15 Robert Buj <robert.buj@gmail.com>
14237 * localedata/locales/ca_ES (abmon): Rename to...
14238 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14239 (mon): Rename to...
14241 (abmon): Import from CLDR (genitive case, month names preceded by
14244 (abday): Synchronize with CLDR.
14245 (d_t_fmt): Likewise.
14249 (LC_TIME): Improve indentation.
14250 (LC_TELEPHONE): Likewise.
14251 (LC_NAME): Likewise.
14252 (LC_ADDRESS): Likewise.
14254 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14256 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14257 (lrintf): Remove definitions used only with old GCC.
14258 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14259 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14260 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14261 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14262 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14263 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14264 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14265 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14266 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14267 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14268 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14269 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14270 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14271 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14272 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14273 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14274 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14275 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14276 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14277 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14278 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14279 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14280 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14281 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14282 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14283 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14284 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14285 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14287 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14289 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14290 instruction to unbreak builds with binutils 2.26 and older.
14292 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14294 * sysdeps/aarch64/strncmp.S (count): New macro.
14295 (strncmp): Store misaligned length in SRC1 in COUNT.
14296 (mutual_align): Adjust.
14297 (misaligned8): Load dword at a time when it is safe.
14299 2018-03-12 Zack Weinberg <zackw@panix.com>
14303 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14304 if the _IO_EOF_SEEN bit is already set; update commentary.
14305 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14306 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14308 * support/support_openpty.c, support/tty.h: New files.
14309 * support/Makefile (libsupport-routines): Add support_openpty.
14311 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14313 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14314 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14316 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14318 * po/pt_BR.po: Update translations.
14320 2018-03-12 David Michael <fedora.dm0@gmail.com>
14322 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14323 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14324 get a port to the startup server.
14326 2018-03-11 Zack Weinberg <zackw@panix.com>
14328 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14329 before nldbl-compat.h.
14331 2018-03-10 Zack Weinberg <zackw@panix.com>
14333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14334 math.h or math_private.h.
14336 * sysdeps/alpha/fpu/s_isnan.c
14337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14338 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14339 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14340 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14341 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14342 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14343 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14344 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14345 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14351 Include math_private.h.
14353 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14354 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14355 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14356 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14357 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14358 * sysdeps/powerpc/power7/fpu/s_logb.c:
14359 Include math.h and math_private.h.
14361 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14362 uses of $at in .set noat / .set at.
14364 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14366 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14367 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14368 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14372 2018-03-09 Florian Weimer <fweimer@redhat.com>
14374 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14377 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14381 Add nop before __startcontext, add explaining comments.
14383 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14386 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14388 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14389 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14390 Do not build hardware transactional code for __SPE__.
14391 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14392 (__lll_trylock_elision): Likewise.
14393 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14394 (__lll_unlock_elision): Likewise.
14396 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14397 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14398 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14399 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14400 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14401 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14402 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14403 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14404 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14405 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14406 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14407 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14410 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14412 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14413 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14414 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14415 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14416 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14418 (__ASSUME_CLONE_BACKWARDS): Define.
14419 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14420 __clone2 if __NR_clone2 is defined.
14421 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14422 (__ASSUME_CLONE_BACKWARDS): Likewise.
14423 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14424 (__ASSUME_CLONE_BACKWARDS): Likewise.
14425 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14426 (__ASSUME_CLONE2): Likewise.
14427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14428 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14429 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14430 variants and the define architecture can use.
14431 (__ASSUME_CLONE_DEFAULT): Define as default.
14432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14433 (__ASSUME_CLONE_BACKWARDS): Likewise.
14434 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14435 (__ASSUME_CLONE_BACKWARDS): Likewise.
14436 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14437 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14439 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14441 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14443 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14446 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14447 (do_test_limit): Likewise.
14449 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14450 for every implementation.
14451 (do_test): Likewise.
14453 * benchtests/bench-strncmp.c: Convert output to json.
14455 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14457 * io/futimens.c: Add missing start-of-file descriptive comment.
14458 * io/utime.c: Likewise.
14459 * misc/futimesat.c: Likewise.
14460 * misc/utimes.c: Likewise.
14461 * sysdeps/mach/hurd/futimesat.c: Likewise.
14462 * sysdeps/mach/hurd/utimes.c: Likewise.
14463 * sysdeps/posix/utime.c: Likewise.
14464 * sysdeps/posix/utimes.c: Likewise.
14465 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14466 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14467 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14468 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14470 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14472 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14474 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14475 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14476 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14477 (__futimens): Move implementation to...
14478 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14479 utime_tvalue_from_tspec): ... new helper functions.
14480 (hurd_futimens): New function.
14481 * sysdeps/mach/hurd/futimesat.c: New file.
14482 * sysdeps/mach/hurd/utimensat.c: New file.
14484 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14486 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14487 UTIME_OMIT): New macros.
14488 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14489 before reverting to converting time spec to time value and calling
14491 * sysdeps/mach/hurd/utime-helper.c: New file.
14492 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14493 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14494 reverting to utime_tvalue_from_tval and __file_utimes.
14495 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14496 (__lutimes): Just call hurd_futimens after lookup.
14497 * sysdeps/mach/hurd/utimes.c: Likewise.
14499 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14501 * bits/sigaction.h: Add include guard.
14502 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14503 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14504 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14505 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14506 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14507 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14509 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14510 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14512 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14514 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14515 -Wmaybe-uninitialized for -Os.
14516 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14519 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14521 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14522 __INO_T_MATCHES_INO64_T is defined.
14523 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14524 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14526 * dirent/alphasort64.c: Likewise.
14527 * dirent/scandir.c: Likewise.
14528 * dirent/scandir64-tail.c: Likewise.
14529 * dirent/scandir64.c: Likewise.
14530 * dirent/scandirat.c: Likewise.
14531 * dirent/scandirat64.c: Likewise.
14532 * dirent/versionsort.c: Likewise.
14533 * dirent/versionsort64.c: Likewise.
14534 * include/dirent.h: Likewise.
14536 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14537 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14538 for socketpair endpoint.
14539 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14540 WRITE_BUFFER_SIZE as buffer size for sending socket.
14541 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14542 issue on system where send is implemented with sendto syscall.
14543 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14544 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14545 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14546 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14549 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14550 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14551 sa_restorer for vDSO case.
14552 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14554 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14556 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14557 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14558 * hurd/hurd/ioctl.h: Include <mach/port.h>
14559 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14560 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14561 <mach/mach_types.h> and <mach/message.h>.
14562 (headers): Move mach/param.h to bits/mach/param.h.
14563 * sysdeps/mach/i386/mach/param.h: Move file to ...
14564 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14565 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14567 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14568 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14569 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14570 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14571 trivial, for C++ conformity.
14572 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14573 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14574 Process mig output through $(migheadersed).
14575 * hurd/Makefile (migheadersed): Define variable.
14576 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14577 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14579 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14580 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14581 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14582 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14583 <bits/types/sigset_t.h>.
14584 [!defined __USE_GNU]: Do not #error out.
14585 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14586 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14587 Include <stddef.h> and <bits/types/sigset_t.h>
14588 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14589 instead of sighandler_t.
14590 * stdlib/errno.h (error_t): Move definition to...
14591 * bits/types/error_t.h: ... new header.
14592 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14593 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14594 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14595 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14596 * hurd/hurd.h: Include <bits/types/error_t.h>
14597 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14598 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14599 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14600 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14601 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14602 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14603 * sysdeps/mach/hurd/futimens.c: New file.
14605 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14608 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14609 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14610 * nscd/gai.c (__nss_hosts_database): Readd definition.
14611 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14612 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14613 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14615 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14617 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14618 (ifunc_one): Likewise.
14620 2018-03-01 DJ Delorie <dj@delorie.com>
14623 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14626 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14628 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14629 `match_pid' parameter.
14630 (td_ta_thr_iter): Update accordingly.
14632 2018-03-01 Florian Weimer <fweimer@redhat.com>
14634 * nptl/Makefile (install-lib-ldscripts): Remove.
14635 (install): Remove rule.
14636 ($(inst_libdir)/libpthread.so): Likewise.
14638 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14641 * localedata/locales/an_ES: update month and day names,
14642 improve d_fmt, improve postal_fmt, add country_post,
14645 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14647 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14648 Ukrainian instead of Bulgarian.
14650 2018-03-01 Florian Weimer <fweimer@redhat.com>
14652 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14655 2018-03-01 Florian Weimer <fweimer@redhat.com>
14657 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14658 * nptl/Makefile (routines): Add pthread_atfork.
14659 (static-only-routines): Set to pthread_atfork.
14660 (libpthread-routines): Remove pthread_atfork.
14661 (libpthread-static-only-routines): Remove.
14662 (install): Update comment.
14663 (libpthread.so): Do not install libpthread_nonshared.a.
14664 (tests): Do not link with libpthread_nonshared.a.
14665 (generated): Remove libpthread_nonshared.a.
14666 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14667 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14668 with libpthread_nonshared.a.
14670 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14673 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14674 (libc_feholdexcept_setroundf128): New macro.
14675 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14678 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14680 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14681 * include/inttypes.h: New file.
14683 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14685 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14686 -Os in two more places.
14688 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14690 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14691 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14692 be sorted correctly at the moment because of a bug.
14694 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14696 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14697 treat ñ as a primary different character, sync the collation
14698 for Spanish with CLDR.
14699 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14700 * localedata/Makefile: Add new test files.
14701 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14702 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14704 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14705 * localedata/am_ET.UTF-8.in: New test file.
14706 * localedata/az_AZ.UTF-8.in: Likewise.
14707 * localedata/be_BY.UTF-8.in: Likewise.
14708 * localedata/ber_DZ.UTF-8.in: Likewise.
14709 * localedata/ber_MA.UTF-8.in: Likewise.
14710 * localedata/bg_BG.UTF-8.in: Likewise.
14711 * localedata/br_FR.UTF-8.in: Likewise.
14712 * localedata/cmn_TW.UTF-8.in: Likewise.
14713 * localedata/crh_UA.UTF-8.in: Likewise.
14714 * localedata/csb_PL.UTF-8.in: Likewise.
14715 * localedata/cv_RU.UTF-8.in: Likewise.
14716 * localedata/cy_GB.UTF-8.in: Likewise.
14717 * localedata/dz_BT.UTF-8.in: Likewise.
14718 * localedata/eo.UTF-8.in: Likewise.
14719 * localedata/es_ES.UTF-8.in: Likewise.
14720 * localedata/fa_IR.UTF-8.in: Likewise.
14721 * localedata/fi_FI.UTF-8.in: Likewise.
14722 * localedata/fil_PH.UTF-8.in: Likewise.
14723 * localedata/fur_IT.UTF-8.in: Likewise.
14724 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14725 * localedata/ha_NG.UTF-8.in: Likewise.
14726 * localedata/ig_NG.UTF-8.in: Likewise.
14727 * localedata/ik_CA.UTF-8.in: Likewise.
14728 * localedata/kk_KZ.UTF-8.in: Likewise.
14729 * localedata/ku_TR.UTF-8.in: Likewise.
14730 * localedata/ky_KG.UTF-8.in: Likewise.
14731 * localedata/ln_CD.UTF-8.in: Likewise.
14732 * localedata/mi_NZ.UTF-8.in: Likewise.
14733 * localedata/ml_IN.UTF-8.in: Likewise.
14734 * localedata/mn_MN.UTF-8.in: Likewise.
14735 * localedata/mr_IN.UTF-8.in: Likewise.
14736 * localedata/mt_MT.UTF-8.in: Likewise.
14737 * localedata/nb_NO.UTF-8.in: Likewise.
14738 * localedata/om_KE.UTF-8.in: Likewise.
14739 * localedata/os_RU.UTF-8.in: Likewise.
14740 * localedata/ps_AF.UTF-8.in: Likewise.
14741 * localedata/ro_RO.UTF-8.in: Likewise.
14742 * localedata/ru_RU.UTF-8.in: Likewise.
14743 * localedata/sc_IT.UTF-8.in: Likewise.
14744 * localedata/se_NO.UTF-8.in: Likewise.
14745 * localedata/sq_AL.UTF-8.in: Likewise.
14746 * localedata/sv_SE.UTF-8.in: Likewise.
14747 * localedata/szl_PL.UTF-8.in: Likewise.
14748 * localedata/tg_TJ.UTF-8.in: Likewise.
14749 * localedata/tk_TM.UTF-8.in: Likewise.
14750 * localedata/tt_RU.UTF-8.in: Likewise.
14751 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14752 * localedata/ug_CN.UTF-8.in: Likewise.
14753 * localedata/uz_UZ.UTF-8.in: Likewise.
14754 * localedata/vi_VN.UTF-8.in: Likewise.
14755 * localedata/yi_US.UTF-8.in: Likewise.
14756 * localedata/yo_NG.UTF-8.in: Likewise.
14757 * localedata/zh_CN.UTF-8.in: Likewise.
14758 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14759 file and fix bugs in the collation.
14760 * localedata/locales/az_AZ: Likewise.
14761 * localedata/locales/be_BY: Likewise.
14762 * localedata/locales/ber_DZ: Likewise.
14763 * localedata/locales/ber_MA: Likewise.
14764 * localedata/locales/bg_BG: Likewise.
14765 * localedata/locales/br_FR: Likewise.
14766 * localedata/locales/br_FR@euro: Likewise.
14767 * localedata/locales/ca_ES: Likewise.
14768 * localedata/locales/cns11643_stroke: Likewise.
14769 * localedata/locales/crh_UA: Likewise.
14770 * localedata/locales/cs_CZ: Likewise.
14771 * localedata/locales/csb_PL: Likewise.
14772 * localedata/locales/cv_RU: Likewise.
14773 * localedata/locales/cy_GB: Likewise.
14774 * localedata/locales/da_DK: Likewise.
14775 * localedata/locales/dz_BT: Likewise.
14776 * localedata/locales/en_CA: Likewise.
14777 * localedata/locales/eo: Likewise.
14778 * localedata/locales/es_CU: Likewise.
14779 * localedata/locales/es_EC: Likewise.
14780 * localedata/locales/es_ES: Likewise.
14781 * localedata/locales/es_US: Likewise.
14782 * localedata/locales/et_EE: Likewise.
14783 * localedata/locales/fa_IR: Likewise.
14784 * localedata/locales/fi_FI: Likewise.
14785 * localedata/locales/fil_PH: Likewise.
14786 * localedata/locales/fur_IT: Likewise.
14787 * localedata/locales/gez_ER@abegede: Likewise.
14788 * localedata/locales/ha_NG: Likewise.
14789 * localedata/locales/hr_HR: Likewise.
14790 * localedata/locales/hsb_DE: Likewise.
14791 * localedata/locales/hu_HU: Likewise.
14792 * localedata/locales/ig_NG: Likewise.
14793 * localedata/locales/ik_CA: Likewise.
14794 * localedata/locales/is_IS: Likewise.
14795 * localedata/locales/iso14651_t1_pinyin: Likewise.
14796 * localedata/locales/kk_KZ: Likewise.
14797 * localedata/locales/ku_TR: Likewise.
14798 * localedata/locales/ky_KG: Likewise.
14799 * localedata/locales/ln_CD: Likewise.
14800 * localedata/locales/lt_LT: Likewise.
14801 * localedata/locales/lv_LV: Likewise.
14802 * localedata/locales/mi_NZ: Likewise.
14803 * localedata/locales/ml_IN: Likewise.
14804 * localedata/locales/mn_MN: Likewise.
14805 * localedata/locales/mr_IN: Likewise.
14806 * localedata/locales/mt_MT: Likewise.
14807 * localedata/locales/nb_NO: Likewise.
14808 * localedata/locales/om_KE: Likewise.
14809 * localedata/locales/os_RU: Likewise.
14810 * localedata/locales/pl_PL: Likewise.
14811 * localedata/locales/ps_AF: Likewise.
14812 * localedata/locales/ro_RO: Likewise.
14813 * localedata/locales/ru_RU: Likewise.
14814 * localedata/locales/ru_UA: Likewise.
14815 * localedata/locales/sc_IT: Likewise.
14816 * localedata/locales/se_NO: Likewise.
14817 * localedata/locales/si_LK: Likewise.
14818 * localedata/locales/sq_AL: Likewise.
14819 * localedata/locales/sv_FI: Likewise.
14820 * localedata/locales/sv_FI@euro: Likewise.
14821 * localedata/locales/sv_SE: Likewise.
14822 * localedata/locales/szl_PL: Likewise.
14823 * localedata/locales/tg_TJ: Likewise.
14824 * localedata/locales/ti_ER: Likewise.
14825 * localedata/locales/tk_TM: Likewise.
14826 * localedata/locales/tl_PH: Likewise.
14827 * localedata/locales/tr_TR: Likewise.
14828 * localedata/locales/tt_RU: Likewise.
14829 * localedata/locales/tt_RU@iqtelif: Likewise.
14830 * localedata/locales/ug_CN: Likewise.
14831 * localedata/locales/uk_UA: Likewise.
14832 * localedata/locales/uz_UZ: Likewise.
14833 * localedata/locales/uz_UZ@cyrillic: Likewise.
14834 * localedata/locales/vi_VN: Likewise.
14835 * localedata/locales/yi_US: Likewise.
14836 * localedata/locales/yo_NG: Likewise.
14838 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14840 * gen-locales.mk: Make test files which contain @ modifiers in their
14842 * localedata/gen-locale.sh: Likewise.
14844 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14846 * posix/tst-fnmatch.input: Fix results for range expressions
14848 * posix/tst-regexloc.c: Do not use a range expression for
14849 de_DE.ISO-8859-1 locale.
14851 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14853 * posix/bug-regex5.c: Fix test case because with the new
14854 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14855 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14858 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14860 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14861 downloaded from ISO, the collation order of @-. and space has changed.
14862 Therefore, this test file needed to be adapted.
14863 * localedata/fr_CA.UTF-8.in: Likewise.
14864 * localedata/fr_FR.UTF-8.in: Likewise.
14865 * localedata/uk_UA.UTF-8.in: Likewise.
14867 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14869 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14870 order of ȥ in the new iso14651_t1_common file.
14871 * localedata/pl_PL.UTF-8.in: Likewise.
14873 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14875 * localedata/locales/iso14651_t1_common: Add sections for various
14876 scripts to the iso14651_t1_common file.
14878 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14880 * localedata/locales/iso14651_t1_common: Use the code point of a
14881 character in the fourth collation level instead of IGNORE for all
14882 entries which have IGNORE on all 4 levels.
14884 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14886 * localedata/locales/iso14651_t1_common: Add some convenient collation
14887 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14888 rules similar to those in CLDR.
14890 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14892 * localedata/locales/iso14651_t1_common: The new version of this
14893 file downloaded from ISO contained several syntax errors which
14894 are fixed by this patch.
14896 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14898 * localedata/locales/iso14651_t1_common: replace all <U.....>
14899 with <U000.....> because glibc understands only 4 digit or 8 digit
14901 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14903 * localedata/locales/iso14651_t1_common: Necessary changes
14904 to make the file downloaded from ISO usable by glibc.
14906 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14909 * localedata/locales/iso14651_t1_common: Update file to
14910 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14912 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14914 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14915 of <nptl/pthreadP.h>
14916 (thread_attr_compare): Move function to...
14917 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14918 * sysdeps/nptl/timer_routines.h: ... new header.
14919 * sysdeps/mach/hurd/gai_misc.h: New file.
14921 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14923 * string/strcoll_l.c: Include <libc-diag.h>.
14924 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14925 declarations of seq1 and seq2.
14928 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14929 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14931 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14936 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14937 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14938 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14939 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14940 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14942 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14945 macros used in __ptrace_request.
14947 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14950 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14952 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14953 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14954 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14957 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14960 * ctype/ctype.c (tolower): Use libc_hidden_def.
14961 (toupper): Likewise.
14962 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14963 [!_ISOMAC] (toupper): Likewise.
14965 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14967 * localedata/Makefile: Remove --quiet argument when
14970 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14973 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14975 * localedata/locales/pt_PT (LC_TIME): likewise
14977 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14980 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14981 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14982 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14984 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14988 * nptl/Makefile (routines): Remove unregister-atfork.
14989 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14990 (fork_handler_alloc): Remove function.
14991 (fork_handlers, fork_handler_init): New variables.
14992 (__fork_lock): Rename to atfork_lock.
14993 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14994 to use a dynamic array to add/remove atfork handlers.
14995 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14996 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14997 Remove declaration.
14998 (fork_handler): Remove next, refcntr, and need_signal member.
14999 (__run_fork_handler_type): New enum.
15000 (__run_fork_handlers): New prototype.
15001 * nptl/register-atfork.c: Remove file.
15002 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15004 * sysdeps/nptl/nptl-signals.h: Move to ...
15005 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15007 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15008 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15009 unnecessary check for SIGTIMER.
15010 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15011 remove unnecessary removal of SIGTIMER.
15012 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15013 include-signals.h rename.
15014 * nptl/pthreadP.h: Likewise.
15015 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15016 __is_internal_signal instead of __nptl_is_internal_signal.
15018 2018-02-22 Andrew Waterman <andrew@sifive.com>
15021 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15022 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15023 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15024 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15026 2018-02-22 DJ Delorie <dj@delorie.com>
15028 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15030 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15032 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15033 do_misaligned, not misaligned8.
15035 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15037 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15038 Add memcpy_thunderx2.
15039 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15041 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15042 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15043 and IS_THUNDERX2PA checks.
15044 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15045 Use macro to set name appropriately.
15046 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15047 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15048 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15050 (IS_THUNDERX2): New macro.
15052 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15054 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15056 2018-02-21 Zack Weinberg <zackw@panix.com>
15058 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15059 Define here, unconditionally.
15060 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15061 * libio/libioP.h: Remove #if 0 blocks.
15062 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15063 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15064 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15066 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15067 Assume weak_alias is always defined.
15069 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15070 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15071 Remove #if 0 and #ifdef TODO blocks.
15072 Assume text_set_element is always defined.
15074 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15075 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15076 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15078 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15079 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15080 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15081 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15082 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15083 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15084 Reformat bit flags for _flags field to make occupancy clearer.
15086 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15087 Keep definitions consistent with those in libio/libio.h.
15089 * libio/libio.h (_IO_file_flags): Remove macro.
15090 All uses changed to _flags.
15092 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15093 (__HAVE_COLUMN, _IO_BE): Don't define.
15094 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15095 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15096 * libio/libioP.h (EOF): Don't define.
15097 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15098 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15099 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15100 testing _IO_UNIFIED_JUMPTABLES.
15102 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15103 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15104 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15105 (_IO_size_t): Delete; all uses changed to size_t.
15106 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15107 (_IO_off_t): Delete; all uses changed to off_t.
15108 (_IO_off64_t): Delete; all uses changed to off64_t.
15109 (_IO_pid_t): Delete; all uses changed to pid_t.
15110 (_IO_uid_t): Delete; all uses changed to uid_t.
15111 (_IO_wint_t): Delete; all uses changed to wint_t.
15112 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15113 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15114 (_IO_cookie_io_functions_t): Delete; all uses changed to
15115 cookie_io_functions_t.
15116 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15117 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15118 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15119 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15121 * libio/iofopncook.c: Remove unnecessary forward declarations.
15122 * libio/iolibio.h: Correct outdated commentary.
15123 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15124 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15125 Remove unnecessary casts.
15126 * stdio-common/getline.c: Use _IO_getdelim directly.
15127 Don't redefine ssize_t.
15128 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15129 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15130 Remove outdated comments.
15131 * stdio-common/vfscanf.c: Don't redefine va_list.
15133 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15134 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15135 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15136 which are always true, and __cplusplus, which is always false.
15138 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15142 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15143 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15144 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15145 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15147 [!_ISOMAC] (putc_unlocked): Likewise.
15148 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15149 define inline if [__USE_EXTERN_INLINES].
15150 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15155 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15156 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15157 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15158 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15159 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15161 * time/tzfile.c (__tzfile_read): Likewise.
15163 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15166 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15168 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15170 * io/fcntl.h: Fix a typo in a comment.
15172 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15175 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15176 define _DEFAULT_SOURCE.
15177 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15179 2018-02-21 Florian Weimer <fweimer@redhat.com>
15182 * elf/cache.c (save_cache): Call fsync on temporary file before
15184 (save_aux_cache): Call fdatasync on temporary file before renaming
15187 2018-02-21 Florian Weimer <fweimer@redhat.com>
15190 * include/caller.h: Remove file.
15191 * elf/dl-caller.c: Likewise.
15192 * elf/Makefile (dl-routines): Remove dl-caller.
15193 (shared-only-routines): Do not add dl-caller.
15194 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15196 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15198 (dl_open_worker): Do not call __check_caller.
15199 (_dl_open): Do not set caller_dl_open member.
15200 * elf/rtld.c (_rtld_global_ro): Do not initialize
15201 _dl_check_caller member.
15202 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15203 _dl_check_caller member.
15204 (_dl_check_caller): Remove declaration.
15205 * sysdeps/unix/sysv/linux/dl-execstack.c
15206 (_dl_make_stack_executable): Do not call __check_caller.
15208 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15211 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15213 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15215 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15218 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15221 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15222 of 199606L, 200112L, and 200809L.
15223 (_XOPEN_SOURCE): Document special values of 600 and 700.
15224 (_ISOC11_SOURCE): Document macro.
15225 (_ATFILE_SOURCE): Likewise.
15226 (_FORTIFY_SOURCE): Likewise.
15228 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15232 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15233 and define as weak alias of __ferror_unlocked. Use
15235 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15237 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15238 function if [__USE_EXTERN_INLINES].
15239 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15242 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15245 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15247 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15250 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15251 the GLIBC_2.1 version.
15253 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15256 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15257 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15258 intl/tst-gettext-de.po from po/de.po by removing the
15259 POT-Creation-Date line.
15260 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15262 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15265 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15267 * mach/Makefile (headers): Add mach/param.h.
15268 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15269 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15270 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15271 (__ptsname_r): Move implementation to...
15272 (__ptsname_internal): ... new function. Add filling the STP
15275 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15277 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15280 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15282 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15285 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15287 * nptl/Makefile (tst-mutex8-ENV): Delete.
15288 * nptl/tst-mutex8.c (check_type):
15289 Add runtime check if mutex will be elided.
15291 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15295 * manual/install.texi (Configuring and compiling): Describe
15296 passing CC and CFLAGS on configure command line, not as
15297 environment variables. Use @code markup on those variables.
15298 Specify what options go in CC and what go in CFLAGS. Note the
15299 requirement to compile with optimization.
15300 * INSTALL: Regenerated.
15303 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15304 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15305 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15306 __sigprocmask instead of sigprocmask.
15307 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15309 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15310 __sigsetjmp and sigprocmask.
15313 * include/argz.h (argz_next): Use libc_hidden_proto.
15314 (__argz_next): Likewise.
15315 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15316 (argz_next): Use libc_hidden_weak.
15319 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15321 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15325 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15327 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15331 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15332 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15333 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15334 (__feof_unlocked): New declaration, and inline function if
15335 [__USE_EXTERN_INLINES].
15336 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15337 instead of feof_unlocked.
15338 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15339 * nss/nsswitch.c (nss_parse_file): Likewise.
15340 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15342 * time/getdate.c (__getdate_r): Likewise.
15343 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15344 Define as macro to call __feof_unlocked.
15346 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15348 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15350 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15352 * math/Makefile: Remove mpexp.c and mplog.c
15353 * sysdeps/i386/fpu/mpexp.c: Delete file.
15354 * sysdeps/i386/fpu/mplog.c: Likewise.
15355 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15356 * sysdeps/ia64/fpu/mplog.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15358 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15359 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15360 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15361 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15362 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15363 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15364 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15365 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15366 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15367 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15370 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15371 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15372 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15374 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15376 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15378 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15380 * sysdeps/sh/libm-test-ulps: Update.
15382 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15384 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15387 2018-02-12 Zack Weinberg <zackw@panix.com>
15390 * posix/sys/types.h: Don't include sys/sysmacros.h.
15391 * misc/sys/sysmacros.h: Remove the conditional deprecation
15392 warnings for the macros defined by this header.
15394 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15396 * manual/probes.texi: Remove slowexp probes.
15397 * math/Makefile: Remove slowexp.
15398 * sysdeps/generic/math_private.h (__slowexp): Remove.
15399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15400 document error bounds.
15401 * sysdeps/i386/fpu/slowexp.c: Remove.
15402 * sysdeps/ia64/fpu/slowexp.c: Remove.
15403 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15404 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15405 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15406 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15407 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15408 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15411 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15412 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15415 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15418 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15419 * benchtests/pow-inputs: Update comment for slow path cases.
15420 * manual/probes.texi (slowpow_p10): Delete removed probe.
15421 (slowpow_p10): Likewise.
15422 * math/Makefile: Remove halfulp.c and slowpow.c.
15423 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15424 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15425 (__halfulp): Remove.
15426 (__slowpow): Remove.
15427 * sysdeps/i386/fpu/halfulp.c: Delete file.
15428 * sysdeps/i386/fpu/slowpow.c: Likewise.
15429 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15430 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15432 improve comments and add error analysis.
15433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15434 (power1): Remove function:
15435 (log1): Remove error argument, add error analysis.
15436 (my_log2): Remove function.
15437 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15439 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15440 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15441 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15442 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15443 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15444 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15445 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15447 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15448 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15449 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15450 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15452 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15454 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15455 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15457 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15460 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15461 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15462 and PTRACE_SETHBPREGS.
15464 2018-02-10 Zack Weinberg <zackw@panix.com>
15467 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15469 * malloc/tst-malloc-stats-cancellation.c: New test case.
15470 * malloc/Makefile: Add new test case.
15472 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15474 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15476 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15478 * math/Makefile (libm-narrow-fns): Add add.
15479 (libm-test-funcs-narrow): Likewise.
15480 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15481 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15482 * math/gen-auto-libm-tests.c (test_functions): Add add.
15483 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15484 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15485 (NARROW_ADD_TRIVIAL): Likewise.
15486 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15488 (__daddl): Likewise.
15489 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15491 (CFLAGS-nldbl-dadd.c): New variable.
15492 (CFLAGS-nldbl-fadd.c): Likewise.
15493 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15495 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15497 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15498 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15499 * math/auto-libm-test-in: Add tests of add.
15500 * math/auto-libm-test-out-narrow-add: New generated file.
15501 * math/libm-test-narrow-add.inc: New file.
15502 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15505 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15506 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15507 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15516 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15517 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15518 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15519 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15521 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15549 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15550 (f128-pairs): New variable.
15551 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15552 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15554 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15555 Also make tests add $(f128-loader-link) to gnulib-tests.
15557 2018-02-09 DJ Delorie <dj@redhat.com>
15560 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15561 64-bit ELF type for 64-bit ELF objects.
15563 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15565 * math/libm-test-driver.c (snan_tests_arg): New variable.
15566 * math/libm-test-support.h (snan_tests_arg): New declaration.
15567 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15569 * math/Makefile (test-type-pairs): New variable.
15570 (test-type-pairs-f64xf128-yes): Likewise.
15571 (tests): Add test-narrow-macros.
15572 (libm-test-funcs-narrow): New variable.
15573 (libm-test-c-narrow): Likewise.
15574 (generated): Add $(libm-test-c-narrow).
15575 (libm-tests-base-narrow): New variable.
15576 (libm-tests-narrow): Likewise.
15577 (libm-tests): Add $(libm-tests-narrow).
15578 (libm-tests-for-type): Handle $(libm-tests-narrow).
15579 (libm-test-c-narrow-obj): New variable.
15580 ($(libm-test-c-narrow-obj)): New rule.
15581 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15582 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15583 $(o-iterator) to set dependencies and CFLAGS.
15584 * math/gen-auto-libm-tests.c: Document use for narrowing
15586 (output_for_one_input_case): Take argument NARROW.
15587 (generate_output): Likewise. Update call to
15588 output_for_one_input_case.
15589 (main): Take --narrow option. Update call to generate_output.
15590 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15591 (apply_lit): Update call to _apply_lit.
15592 (apply_arglit): New function.
15593 (parse_args): Handle "a" arguments.
15594 (parse_auto_input): Handle format names using ":".
15595 * math/README.libm-test: Document "a" parameter type.
15596 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15597 (ARG_TYPE_TRUE_MIN): Likewise.
15598 (ARG_TYPE_MAX): Likwise.
15599 (ARG_MIN_EXP): Likewise.
15600 (ARG_MAX_EXP): Likewise.
15601 (ARG_MANT_DIG): Likewise.
15602 (TEST_COND_arg_ibm128): Likewise.
15603 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15604 (TEST_COND_arg_fmt): New macro.
15605 (init_max_error): Update prototype.
15606 * math/libm-test-support.c (test_ibm128): New variable.
15607 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15608 instead of using [TEST_COND_ibm128] conditional.
15609 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15610 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15611 [TEST_NARROW] (TEST_MSG): New definition.
15612 (arg_plus_zero): New macro.
15613 (arg_minus_zero): Likewise.
15614 (arg_plus_infty): Likewise.
15615 (arg_minus_infty): Likewise.
15616 (arg_qnan_value_pl): Likewise.
15617 (arg_qnan_value): Likewise.
15618 (arg_snan_value_pl): Likewise.
15619 (arg_snan_value): Likewise.
15620 (arg_max_value): Likewise.
15621 (arg_min_value): Likewise.
15622 (arg_min_subnorm_value): Likewise.
15623 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15624 (RUN_TEST_LOOP_aa_f): New macro.
15625 (TEST_SUFF): New macro.
15626 (TEST_SUFF_STR): Likewise.
15627 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15628 (TEST_COND_any_ibm128): New macro.
15629 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15630 this_func. Update call to init_max_error.
15631 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15632 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15633 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15634 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15635 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15636 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15637 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15638 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15639 * math/test-math-vector.h (TEST_NARROW): Likewise.
15640 * math/test-arg-double.h: New file.
15641 * math/test-arg-float128.h: Likewise.
15642 * math/test-arg-float32x.h: Likewise.
15643 * math/test-arg-float64.h: Likewise.
15644 * math/test-arg-float64x.h: Likewise.
15645 * math/test-arg-ldouble.h: Likewise.
15646 * math/test-math-narrow.h: Likewise.
15647 * math/test-narrow-macros.c: Likewise.
15648 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15649 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15650 test-narrow-macros-ldbl-64.
15651 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15653 * math/bits/mathcalls-narrow.h: New file.
15654 * include/bits/mathcalls-narrow.h: Likewise.
15655 * math/math-narrow.h: Likewise.
15656 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15657 (__MATHCALL_NARROW_ARGS_2): Likewise.
15658 (__MATHCALL_NARROW_ARGS_3): Likewise.
15659 (__MATHCALL_NARROW_NORMAL): Likewise.
15660 (__MATHCALL_NARROW_REDIR): Likewise.
15661 (__MATHCALL_NARROW): Likewise.
15662 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15663 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15665 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15666 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15667 (libm-narrow-fns): New variable.
15668 (libm-narrow-types-basic): Likewise.
15669 (libm-narrow-types-ldouble-yes): Likewise.
15670 (libm-narrow-types-float128-yes): Likewise.
15671 (libm-narrow-types-float128-alias-yes): Likewise.
15672 (libm-narrow-types): Likewise.
15673 (libm-routines): Add narrowing functions.
15674 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15675 (libc_feholdexcept_setroundf128): New macro.
15676 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15677 * sysdeps/ieee754/float128/float128_private.h: Include
15678 <math/math-narrow.h>.
15679 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15680 Undefine and redefine.
15681 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15682 (libm_alias_float_ldouble): Undefine and redefine.
15683 (libm_alias_double_ldouble): Likewise.
15685 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15687 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15689 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15692 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15694 * manual/creature.texi: Convert references to gcc.info to gcc.
15695 * manual/stdio.texi: Likewise.
15696 * manual/string.texi: Likewise.
15698 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15701 * posix/bits/types.h (__int_least8_t): New typedef.
15702 (__uint_least8_t): Likewise.
15703 (__int_least16_t): Likewise.
15704 (__uint_least16_t): Likewise.
15705 (__int_least32_t): Likewise.
15706 (__uint_least32_t): Likewise.
15707 (__int_least64_t): Likewise.
15708 (__uint_least64_t): Likewise.
15709 * sysdeps/generic/stdint.h (int_least8_t): Define using
15711 (int_least16_t): Define using __int_least16_t.
15712 (int_least32_t): Define using __int_least32_t.
15713 (int_least64_t): Define using __int_least64_t.
15714 (uint_least8_t): Define using __uint_least8_t.
15715 (uint_least16_t): Define using __uint_least16_t.
15716 (uint_least32_t): Define using __uint_least32_t.
15717 (uint_least64_t): Define using __uint_least64_t.
15718 * wcsmbs/uchar.h: Include <bits/types.h>.
15719 (char16_t): Define using __uint_least16_t conditional only on
15721 (char32_t): Define using __uint_least32_t conditional only on
15723 * wcsmbs/test-char-types.c: New file.
15724 * wcsmbs/Makefile (tests): Add test-char-types.
15726 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15729 2018-02-07 Zack Weinberg <zackw@panix.com>
15731 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15732 Delete all contents except for definitions of _G_HAVE_MMAP and
15733 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15734 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15735 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15738 * libio/libio.h: Don't include bits/_G_config.h here.
15739 Include stddef.h with __need_wchar_t defined. Include
15740 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15741 Define _IO_iconv_t here, directly.
15742 Don't define _IO_HAVE_ST_BLKSIZE.
15743 * libio/libioP.h: Include _G_config.h here. Move include of
15744 shlib-compat.h up with rest of includes. Simplify conditionals
15745 controlling definition of _IO_JUMPS_OFFSET.
15747 * csu/init.c: Remove always-true #if around entire file.
15748 Don't include stdio.h. Set _IO_stdin_used to hardwired
15749 constant 0x20001, and update commentary.
15750 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15751 Replace all uses of _G_va_list with __gnuc_va_list.
15752 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15753 instead of #if _IO_HAVE_ST_BLKSIZE.
15754 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15755 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15758 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15759 multiple-include guard to match.
15760 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15762 Remove preprocessor conditionals that are always true and/or
15763 redundant to other preprocessor conditionals in the same nest.
15764 Include shlib-compat.h unconditionally.
15765 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15766 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15767 defined after including stdio.h.
15768 Use __BEGIN_DECLS/__END_DECLS.
15770 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15771 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15772 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15774 2018-02-07 Zack Weinberg <zackw@panix.com>
15776 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15777 New single-type headers split from _G_config.h.
15778 * libio/bits/types/cookie_io_functions_t.h
15779 * libio/bits/types/struct_FILE.h
15780 New single-type headers split from libio.h.
15782 * libio/Makefile: Install the above new headers. Don't install
15783 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15785 * libio/_G_config.h, libio/libio.h: Delete file.
15787 * libio/bits/libio.h: Remove improper-inclusion guard.
15788 Include stdio.h and don't repeat anything that it does.
15789 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15790 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15791 __io_read_fn as cookie_read_function_t,
15792 __io_write_fn as cookie_write_function_t,
15793 __io_seek_fn as cookie_seek_function_t,
15794 __io_close_fn as cookie_close_function_t,
15795 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15796 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15797 here, in the "compatibility defines" section. Remove an #if 0
15798 block. Use the "body" macros from bits/types/struct_FILE.h to
15799 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15800 and _IO_ferror_unlocked.
15801 Move prototypes of __uflow and __overflow...
15803 * libio/stdio.h: ...here. Don't include bits/libio.h.
15804 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15805 directly from stdarg.h. Include bits/types/__fpos_t.h,
15806 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15807 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15808 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15809 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15810 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15811 __ssize_t, not _IO_ssize_t. Unconditionally define
15812 BUFSIZ as 8192 and EOF as (-1).
15814 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15815 macros from bits/types/struct_FILE.h instead of _IO_* macros
15816 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15817 instead of _IO_ssize_t.
15818 * libio/bits/stdio2.h: Similarly.
15820 * libio/iolibio.h: Add multiple-include guard.
15821 Include bits/libio.h after stdio.h.
15822 * libio/libioP.h: Add multiple-include guard.
15823 Include stdio.h and bits/libio.h before iolibio.h.
15825 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15826 * include/bits/types/cookie_io_functions_t.h
15827 * include/bits/types/struct_FILE.h: New wrappers.
15829 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15830 Get definitions of _G_fpos_t and _G_fpos64_t from
15831 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15832 respectively. Remove improper-inclusion guards.
15834 * conform/data/stdio.h-data: Update expectations of va_list.
15835 * scripts/check-installed-headers.sh: Remove special case for
15836 libio.h and _G_config.h.
15838 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15842 * include/sys/sysmacros.h [!_ISOMAC]
15843 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15844 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15845 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15846 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15848 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15849 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15851 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15852 Undefine and redefine to add use __gnu_dev_ prefix.
15853 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15855 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15856 and define as hidden inline function.
15857 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15859 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15861 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15862 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15863 (gnu_dev_minor): Likewise.
15864 (gnu_dev_makedev): Likewise.
15865 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15867 * posix/wordexp.c (exec_comm_child): Likewise.
15868 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15869 instead of minor and __gnu_dev_major instead of major.
15870 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15871 __gnu_dev_major instead of major.
15872 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15873 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15874 instead of gnu_dev_minor.
15875 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15876 (SLAVE_P): Likewise.
15877 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15878 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15882 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15884 * locale/weightwc.h (findidx): Likewise.
15886 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15888 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15889 (slowlog_inexact): Likewise
15890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15891 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15893 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15896 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15897 missing second underscore to parameter name.
15899 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15905 * bits/byteswap.h: Update file comment. Do not include
15906 <bits/byteswap-16.h>.
15907 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15909 (__bswap_16): Define as inline function.
15910 (__bswap_constant_32): Reformat definition.
15911 (__bswap_32): Always define as inline function, not macro, using
15912 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15913 otherwise __bswap_constant_32.
15914 (__bswap_constant_64): Reformat definition. Do not use
15915 __extension__ here.
15916 (__bswap_64): Always define as inline function, not macro. Use
15917 __extension__ on function definition. Use __builtin_bswap64 if
15918 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15919 * string/test-endian-file-scope.c: New file.
15920 * string/test-endian-sign-conversion.c: Likewise.
15921 * string/Makefile (headers): Remove bits/byteswap-16.h.
15922 (tests): Add test-endian-file-scope and
15923 test-endian-sign-conversion.
15924 (CFLAGS-test-endian-sign-conversion.c): New variable.
15925 * bits/byteswap-16.h: Remove file.
15926 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15927 * sysdeps/ia64/bits/byteswap.h: Likewise.
15928 * sysdeps/m68k/bits/byteswap.h: Likewise.
15929 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15930 * sysdeps/s390/bits/byteswap.h: Likewise.
15931 * sysdeps/tile/bits/byteswap.h: Likewise.
15932 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15933 * sysdeps/x86/bits/byteswap.h: Likewise.
15936 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15937 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15938 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15939 199901L] (__restrict): Define to restrict.
15942 * string/testcopy.c: Include <support/support.h>. Do not include
15943 <malloc.h>. Use <support/test-driver.c>.
15944 (main): Rename to do_test. Make static. Use xmalloc instead of
15948 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15949 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15950 (SSIZE_MAX): Define to INT_MAX.
15951 * posix/test-ssize-max.c: New file.
15952 * posix/Makefile (tests): Add test-ssize-max.
15955 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15956 <support/support.h>. Do not include <malloc.h>.
15957 (query_auxv): Use xmalloc instead of malloc.
15960 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15961 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15964 2018-02-06 Florian Weimer <fweimer@redhat.com>
15967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15968 Use scratch_buffer instead of extend_alloca.
15970 2018-02-06 Zack Weinberg <zackw@panix.com>
15972 * libio/stdio.h: Don't define getc or putc as macros.
15973 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15974 not _IO_getc and _IO_putc.
15976 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15977 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15979 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15981 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15982 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15984 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15987 * elf/elf.h (NT_PRFPREG): New macro.
15988 (NT_S390_VXRS_LOW): Likewise.
15989 (NT_S390_VXRS_HIGH): Likewise.
15990 (NT_S390_GS_CB): Likewise.
15991 (NT_S390_GS_BC): Likewise.
15992 (NT_S390_RI_CB): Likewise.
15994 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15995 (MAP_SYNC): New macro.
15996 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15998 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15999 (MAP_SYNC): Likewise.
16000 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16001 (MAP_SYNC): Likewise.
16002 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16003 (MAP_SYNC): Likewise.
16004 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16005 (MAP_SYNC): Likewise.
16006 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16007 (MAP_SYNC): Likewise.
16008 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16009 (MAP_SYNC): Likewise.
16010 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16012 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16015 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16016 (MAP_SHARED_VALIDATE): New macro.
16017 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16018 (MAP_SHARED_VALIDATE): Likewise.
16020 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16022 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16023 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16024 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16026 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16028 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16029 (DT_NUM): Updated to 35.
16031 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16033 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16034 __builtin_expect with __glibc_likely and __glibc_unlikely.
16035 (elf_machine_rela): Likewise.
16036 (elf_machine_lazy_rel): Likewise.
16038 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16041 __builtin_expect with __glibc_likely and __glibc_unlikely.
16042 (elf_machine_lazy_rel): Likewise.
16044 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16047 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16049 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16051 2018-02-05 Andreas Schwab <schwab@suse.de>
16054 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16057 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16059 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16060 not check against PTHREAD_STACK_MIN.
16062 2018-02-02 Sean McKean <smckean83@gmail.com>
16065 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16067 2018-02-02 Florian Weimer <fweimer@redhat.com>
16070 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16071 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16072 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16073 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16074 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16075 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16076 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16077 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16078 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16079 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16080 * misc/tst-preadvwritev2.c (do_test): Call it.
16081 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16083 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16085 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16087 * benchtests/bench-memcmp.c: Print json instead of plain text.
16089 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16092 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16094 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16096 (s390_sthyi): New syscall.
16098 * sysdeps/generic/ldbl-classify-compat.h: New file.
16099 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16100 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16101 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16102 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16103 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16104 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16105 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16106 <ldbl-classify-compat.h>.
16107 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16108 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16109 <ldbl-classify-compat.h>.
16110 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16111 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16112 <ldbl-classify-compat.h>.
16113 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16114 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16115 <ldbl-classify-compat.h>.
16116 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16118 <ldbl-classify-compat.h>.
16119 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16121 <ldbl-classify-compat.h>.
16122 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16123 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16124 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16125 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16126 * sysdeps/microblaze/math_private.h: Likewise.
16127 * sysdeps/nios2/math_private.h: Likewise.
16128 * sysdeps/sh/math_private.h: Likewise.
16130 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16131 * sysdeps/m68k/coldfire/math_private.h: ... here.
16132 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16133 * sysdeps/tile/math_private.h: Likewise.
16134 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16136 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16139 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16141 (libc_fetestexcept): Likewise.
16142 (libc_feupdateenv_test): Likewise.
16143 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16144 (libc_fetestexcept): Likewise.
16145 (libc_feupdateenv_test): Likewise.
16146 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16147 (libc_fetestexcept): Likewise.
16148 (libc_feupdateenv_test): Likewise.
16149 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16150 (libc_fetestexcept): Likewise.
16151 (libc_feupdateenv_test): Likewise.
16153 * sysdeps/generic/math_private.h
16154 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16155 New inline function.
16156 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16159 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16160 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16161 * sysdeps/generic/math_private.h
16162 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16164 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16166 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16168 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16170 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16172 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16174 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16175 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16176 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16177 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16178 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16179 (__fegetenv): Likewise.
16180 (fesetenv): Likewise.
16181 (__fesetenv): Likewise.
16182 (feupdateenv): Likewise.
16183 (__feupdateenv): Likewise.
16184 (fegetround): Likewise.
16185 (__fegetround): Likewise.
16186 (fesetround): Likewise.
16187 (__fesetround): Likewise.
16189 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16190 (feraiseexcept): New macro.
16191 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16192 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16194 (__feraiseexcept): Likewise.
16195 (feclearexcept): Likewise.
16196 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16197 (__feraiseexcept): Likewise.
16198 (feclearexcept): Likewise.
16199 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16200 (__feraiseexcept): Likewise.
16201 (feclearexcept): Likewise.
16202 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16203 (__feraiseexcept): Likewise.
16204 (feclearexcept): Likewise.
16205 (fetestexcept): Likewise.
16207 * sysdeps/m68k/coldfire/math-tests.h: New file.
16209 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16210 * sysdeps/m68k/bits/fenv.h: ... here.
16211 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16213 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16215 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16217 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16219 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16221 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16223 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16224 (__FE_UNDEFINED): New enum constant.
16225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16227 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16229 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16231 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16232 to match generic bits/fenv.h.
16233 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16236 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16238 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16239 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16240 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16241 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16243 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16244 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16245 Joseph Myers <joseph@codesourcery.com>
16248 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16249 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16250 computation using c.
16251 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16252 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16253 computation using c.
16255 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16257 * version.h (RELEASE): Set to "development".
16258 (VERSION): Set to "2.27.9000".
16259 * NEWS (2.28): New section.
16261 * version.h (RELEASE): Set to "stable".
16262 (VERSION): Set to "2.27".
16263 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16265 * NEWS: Add the list of bugs fixed in 2.27.
16267 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16269 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16270 against PTHREAD_STACK_MIN.
16272 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16274 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16276 (Rafal Luzynski, Andreas Schwab): Update.
16278 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16281 * NEWS: List the languages which actually use the alternative
16282 months feature in this release. Also explain that "alt_mon" and
16283 "ab_alt_mon" are optional.
16285 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16288 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16290 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16292 * manual/install.texi (Tools for Compilation): Update the newest
16293 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16294 * INSTALL: Regenerated.
16296 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16298 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16299 instead of __builtin_expect.
16301 2018-01-30 Florian Weimer <fweimer@redhat.com>
16303 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16305 * nss/tst-nss-getpwent.c (do_test): Likewise.
16307 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16310 * localedata/locales/hr_HR (mon): Rename to...
16312 (mon): Import from CLDR (genitive case).
16313 (d_t_fmt): Update the comment.
16315 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16317 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16318 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16319 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16321 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16323 * mach/Versions: Fix version when __mach_host_self_ was added.
16324 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16325 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16326 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16327 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16328 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16329 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16330 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16331 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16332 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16333 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16334 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16335 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16336 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16337 || to respect codestyle.
16338 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16339 (do_test_bz20181): Rename accordingly.
16340 * malloc/malloc.c: Include <assert.h>.
16341 (assert): Do not define.
16342 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16343 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16344 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16345 * sysdeps/mach/hurd/hp-timing.h: New file.
16346 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16348 2018-01-29 Darius Rad <darius@bluespec.com>
16350 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16352 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16354 * sysdeps/init_array/crti.S (.section .init_array): Add
16355 PREINIT_FUNCTION when defined.
16356 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16357 * config.h.in: Regenerate.
16358 * manual/platform.texi: Add RISC-V documenation for
16359 __riscv_flush_icache.
16360 * sysdeps/riscv/__longjmp.S: New file.
16361 * sysdeps/riscv/backtrace.c: Likewise.
16362 * sysdeps/riscv/bits/endian.h: Likewise.
16363 * sysdeps/riscv/bits/setjmp.h: Likewise.
16364 * sysdeps/riscv/bits/wordsize.h: Likewise.
16365 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16366 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16367 * sysdeps/riscv/dl-trampoline.S: Likewise.
16368 * sysdeps/riscv/gccframe.h: Likewise.
16369 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16370 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16371 * sysdeps/riscv/machine-gmon.h: Likewise.
16372 * sysdeps/riscv/memusage.h: Likewise.
16373 * sysdeps/riscv/setjmp.S: Likewise.
16374 * sysdeps/riscv/sys/asm.h: Likewise.
16375 * sysdeps/riscv/tls-macros.h: Likewise.
16376 * sysdeps/riscv/dl-tls.h: New file.
16377 * sysdeps/riscv/libc-tls.c: Likewise.
16378 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16379 * sysdeps/riscv/nptl/tls.h: Likewise.
16380 * sysdeps/riscv/stackinfo.h: Likewise.
16381 * sysdeps/riscv/bits/fenv.h: New file.
16382 * sysdeps/riscv/e_sqrtl.c: Likewise.
16383 * sysdeps/riscv/fpu_control.h: Likewise.
16384 * sysdeps/riscv/math-tests.h: Likewise.
16385 * sysdeps/riscv/nofpu/Implies: Likewise.
16386 * sysdeps/riscv/sfp-machine.h: Likewise.
16387 * sysdeps/riscv/tininess.h: Likewise.
16388 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16389 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16390 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16391 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16392 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16393 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16394 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16395 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16396 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16397 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16398 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16399 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16400 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16401 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16402 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16403 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16404 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16405 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16406 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16407 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16408 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16409 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16410 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16411 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16412 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16413 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16414 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16415 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16416 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16417 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16418 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16419 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16420 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16421 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16422 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16423 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16424 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16425 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16426 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16427 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16428 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16429 * sysdeps/riscv/rvf/math_private.h: Likewise.
16430 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16431 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16432 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16433 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16434 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16435 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16436 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16437 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16438 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16439 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16440 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16441 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16442 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16443 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16444 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16445 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16446 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16447 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16448 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16449 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16450 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16451 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16452 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16453 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16454 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16455 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16456 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16457 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16458 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16459 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16460 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16461 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16462 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16463 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16464 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16465 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16466 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16467 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16468 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16469 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16470 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16471 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16472 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16473 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16474 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16475 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16476 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16477 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16478 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16479 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16480 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16481 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16482 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16483 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16484 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16485 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16486 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16487 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16488 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16489 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16490 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16494 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16495 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16496 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16498 * sysdeps/riscv/Implies: New file.
16499 * sysdeps/riscv/Makefile: Likewise.
16500 * sysdeps/riscv/configure: Likewise.
16501 * sysdeps/riscv/configure.ac: Likewise.
16502 * sysdeps/riscv/nptl/Makefile: Likewise.
16503 * sysdeps/riscv/preconfigure: Likewise.
16504 * sysdeps/riscv/rv64/Implies-after: Likewise.
16505 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16506 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16507 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16508 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16509 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16510 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16511 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16512 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16513 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16514 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16515 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16516 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16517 (Config): Likewise.
16519 2018-01-29 Florian Weimer <fweimer@redhat.com>
16522 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16523 libnsl_hidden_proto.
16524 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16525 libnsl_hidden_proto.
16526 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16527 * nis/Makefile (libnsl-routines): Add nss-default only for
16528 build-obsolete-nsl.
16529 * nis/nis_defaults.c (__nis_default_ttl): Add
16530 libnsl_hidden_nolink_def.
16531 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16533 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16534 * nis/ypclnt.c (yp_maplist): Likewise.
16536 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16539 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16541 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16543 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16544 clean -dxfq for git updates when replacing sources.
16546 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16547 --disable-libcilkrts unconditionally, not just for the final GCC
16550 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16553 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16556 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16559 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16562 * localedata/locales/be_BY (mon): Rename to...
16563 (alt_mon): This, then synchronize with CLDR (nominative case).
16564 (abmon): Rename to...
16565 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16566 (mon): Import from CLDR (genitive case).
16568 * localedata/locales/be_BY@latin (mon): Rename to...
16570 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16572 * localedata/locales/be_BY@latin (lang_name): Reworded to
16573 "biełaruskaja mova".
16575 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16578 * localedata/locales/el_CY (mon): Renamed to...
16580 (mon): Import from CLDR (genitive case).
16581 * localedata/locales/el_GR: Likewise.
16583 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16586 * localedata/locales/ru_RU (mon): Rename to...
16588 (abmon): Rename to...
16589 (ab_alt_mon): This.
16590 (mon): Import from CLDR (genitive case).
16591 (abmon): Copy from the old content except the 5th month which is
16592 now in the genitive case, even when abbreviated.
16593 * localedata/locales/ru_UA: Likewise.
16594 * time/tst-strptime.c (day_tests): Add an actual example of
16595 a difference between %b and %Ob in Russian.
16597 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16599 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16600 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16602 * resolv/res-close.c: Include <stdlib.h>.
16603 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16604 <sys/wait.h>, <time.h>, <sys/uio.h>.
16605 (NOT_CANCEL_H): Add inclusion guard.
16606 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16607 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16608 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16610 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16611 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16612 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16614 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16615 timer_ptr2id to cast struct timer_node * to void *.
16616 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16617 --disable-libcilkrts to gcc configure.
16618 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16619 and make them the default for now.
16620 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16621 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16622 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16623 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16624 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16626 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16627 __task_terminate would ever return successfully.
16628 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16630 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16631 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16632 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16633 critical section to make code simpler and avoid warning.
16634 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16635 critical section to make code simpler and avoid warning.
16636 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16637 const char * instead of char *.
16638 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16639 __hurd_file_name_split, hurd_file_name_split,
16640 __hurd_directory_name_split, hurd_directory_name_split,
16641 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16642 hurd_file_name_path_lookup): Make lookup function parameter take a
16643 const char *name instead of char *name.
16644 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16645 __hurd_directory_name_split): Likewise.
16646 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16647 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16648 * sysdeps/mach/hurd/check_native.c: New file.
16649 * sysdeps/mach/hurd/check_pf.c: New file.
16650 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16651 (__freeifaddrs): Define macro to freeifaddrs.
16652 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16653 * sysdeps/mach/libmachuser.abilist: New file.
16654 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16655 (do_test_bz20181): Rename accordingly.
16656 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16657 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16659 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16660 version only if __USE_EXTERN_INLINES is defined.
16661 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16662 __hurd_sockfail): Likewise.
16663 (_hurd_fd_get): Always declare functions, and provide inline versions
16664 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16665 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16666 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16667 _hurd_port_set): Always declare functions, and provide inline versions
16668 only if __USE_EXTERN_INLINES and _LIBC are defined and
16670 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16671 _hurd_critical_section_unlock): Likewise.
16672 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16673 * __hurd_threadvar_location): Likewise.
16674 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16675 _hurd_userlink_clear): Likewise.
16676 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16677 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16678 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16679 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16680 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16681 __spin_lock_locked): Likewise.
16682 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16683 __spin_lock_locked): Likewise.
16684 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16685 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16686 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16687 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16688 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16689 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16690 _POSIX_NO_TRUNC): Define to 0.
16691 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16692 check size against PTHREAD_STACK_MIN.
16693 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16694 IS_IN(libpthread)]: Include <sigsetops.h>.
16695 * mach/Makefile (user-interfaces): Add mach/gnumach.
16696 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16697 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16698 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16699 instead of invalid -1.
16700 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16701 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16702 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16705 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16707 * hurd/fcntl-internal.h: New file.
16709 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16711 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16713 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16715 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16718 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16719 Build only shared objects.
16721 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16723 * README: Update for hppa.
16725 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16727 * sysdeps/sparc/fpu/libm-test-ulps: Update
16728 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16730 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16734 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16737 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16738 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16739 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16740 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16743 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16746 * bits/types/__cancel_jmp_buf_tag.h: New file.
16747 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16748 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16749 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16750 * nptl/Makefile (headers): Add
16751 bits/types/__cancel_jmp_buf_tag.h.
16752 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16753 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16754 * sysdeps/nptl/pthread.h: Include
16755 <bits/types/__cancel_jmp_buf_tag.h>.
16756 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16758 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16760 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16763 * localedata/locales/uk_UA (mon): Renamed to...
16765 (alt_digits): "0" removed and then renamed to...
16767 (date_fmt): Definition changed not to use the alternative
16770 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16772 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16773 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16774 * elf/elf.h (EF_RISCV_RVC): New define.
16775 (EF_RISCV_FLOAT_ABI): Likewise.
16776 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16777 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16778 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16779 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16780 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16782 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16784 2018-01-25 Andreas Schwab <schwab@suse.de>
16786 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16788 * sysdeps/gnu/configure: Regenerate.
16789 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16790 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16792 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16793 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16794 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16795 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16796 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16798 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16800 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16801 URL, and run autoconf, make it the default for now.
16803 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16805 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16806 soft-float ColdFire configuration.
16808 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16809 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16810 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16812 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16815 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16817 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16819 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16822 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16823 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16824 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16827 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16830 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16831 Rename to __reserved and add comment.
16832 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16833 Rename to __reserved.
16835 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16837 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16838 i686-gnu configurations.
16839 (Context.run_builds): Include mig, gnumach and hurd in components
16841 (Context.checkout): Add mig, gnumach and hurd to components.
16842 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16844 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16845 (Config.build): Install gnumach headers, build mig and install
16846 hurd headers for 'gnu' OS.
16847 (Config.install_gnumach_headers): New function.
16848 (Config.install_hurd_headers): Likewise.
16849 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16850 when building for 'gnu' OS.
16852 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16854 * manual/tunables.texi (Hardware Capability Tunables): Fix
16857 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16859 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16860 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16861 (ALTMON_11, ALTMON_12): Improve documentation.
16862 * manual/time.texi (strftime): Likewise.
16864 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16867 * localedata/locales/pl_PL: Alternative month names added,
16868 primary month names are genitive now.
16869 * time/tst-strptime.c (day_tests): Actually use a genitive case
16870 of a month name in Polish language.
16872 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16875 * manual/locale.texi: Document ALTMON_1..12 constants for
16876 nl_langinfo. Specify when to use ALTMON instead of MON.
16877 * manual/time.texi (strftime, strptime): Document GNU extension
16878 permitting O modifier with %B and %b. Specify when to use
16881 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16884 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16885 names, define them as the same as abbreviated month names explicitly.
16886 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16887 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16888 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16889 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16890 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16891 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16892 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16893 _NL_WABALTMON_12): New enum constants.
16894 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16895 wab_alt_mon, and ab_alt_mon_defined members.
16896 (time_output): Output ab_alt_mon and wab_alt_mon members.
16897 (time_read): Read them, initialize them as copies of abmon and wabmon
16898 respectively if they are missing, initialize ab_alt_mon_defined.
16899 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16900 * locale/programs/locfile-kw.h: Regenerate.
16901 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16902 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16904 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16905 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16906 (__strftime_internal): Handle %Ob and %Oh formats.
16907 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16908 (__strptime_internal): Handle %Ob and %Oh formats.
16909 * time/tst-strptime.c (day_tests): Add more tests to parse different
16910 forms of month names including the new %Ob format specifier.
16912 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16915 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16916 define them as the same as primary full month names explicitly.
16917 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16918 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16919 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16920 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16921 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16922 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16923 _NL_WALTMON_12): New enum constants.
16924 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16925 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16927 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16928 walt_mon, and alt_mon_defined members.
16929 (time_output): Output alt_mon and walt_mon members.
16930 (time_read): Read them, initialize them as copies of mon and wmon
16931 respectively if they are missing, initialize alt_mon_defined.
16932 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16933 * locale/programs/locfile-kw.h: Regenerate.
16934 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16935 * localedata/tst-langinfo.c (map): Add tests for the new constants
16936 ALTMON_1 .. ALTMON_12.
16937 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16939 * time/strftime_l.c (f_altmonth): New macro.
16940 (__strftime_internal): Handle %OB format.
16941 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16942 (__strptime_internal): Handle %OB format.
16943 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16944 of month names including the new %OB format specifier.
16946 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16949 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16950 from ABORT_TRANSACTION.
16951 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16952 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16953 ABORT_TRANSACTION_IMPL): Likewise.
16954 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16955 Linux code, but remove the code that aborts transactions.
16957 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16959 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16961 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16963 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16964 in date: "2004-14-09" should be "2004-09-14".
16965 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16966 "2003-15-09" should be "2003-09-15".
16968 2018-01-18 Arjun Shankar <arjun@redhat.com>
16974 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16976 (_int_memalign): check for integer overflow before calling
16978 * malloc/tst-malloc-too-large.c: New test.
16979 * malloc/Makefile: Add tst-malloc-too-large.
16981 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16983 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16984 in date: "2017-24-07" should be "2017-07-24".
16985 * localedata/locales/mai_IN: Likewise.
16986 * localedata/locales/mai_NP: Likewise.
16988 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16990 * po/ru.po: Update translations.
16992 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16995 * sysdeps/hppa/backtrace.c: New file.
16997 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17000 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17001 align La_x86_64_retval to VEC_SIZE.
17003 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17005 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17006 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17008 2018-01-16 Florian Weimer <fweimer@redhat.com>
17010 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17011 Move tst-thread-exit-clobber ...
17012 [$(CXX)] (tests-unsupported): ... to here.
17014 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17016 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17017 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17018 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17019 (_dl_aarch64_cap_flags): Update.
17020 (_DL_HWCAP_COUNT): Update.
17022 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17024 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17025 (_DL_HWCAP_LAST): Remove.
17026 (_DL_HWCAP_COUNT): Move to ...
17027 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17028 (_DL_HWCAP_COUNT): ... here.
17030 2018-01-16 Florian Weimer <fweimer@redhat.com>
17032 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17033 mode with GNU extensions.
17035 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17037 * elf/elf.h (NT_ARM_SVE): Define.
17039 2018-01-15 Florian Weimer <fweimer@redhat.com>
17042 * nptl/tst-minstack-throw.cc: New file.
17043 * nptl/Makefile (tests): Add tst-minstack-throw.
17044 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17045 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17047 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17049 * scripts/build-many-glibcs.py (Context.checkout): Default
17050 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17053 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17056 * elf/elf.h (DF_1_STUB): Define.
17057 (DF_1_PIE): Define.
17059 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17063 Do not add 0.5 to integer or out-of-range arguments.
17065 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17067 * po/bg.po: Update translations.
17068 * po/cs.po: Likewise.
17069 * po/de.po: Likewise.
17070 * po/ko.po: Likewise.
17071 * po/pl.po: Likewise.
17072 * po/sv.po: Likewise.
17073 * po/uk.po: Likewise.
17074 * po/vi.po: Likewise.
17076 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17078 * aarch64/start.S (_start): Use __wrap_main.
17079 (__wrap_main): New local symbol.
17081 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17085 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17086 generic_getcwd if the path returned by getcwd syscall is not absolute.
17087 * io/tst-getcwd-abspath.c: New test.
17088 * io/Makefile (tests): Add tst-getcwd-abspath.
17090 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17092 * malloc/malloc.c (malloc_consolidate): Add size check.
17094 2018-01-12 Florian Weimer <fweimer@redhat.com>
17096 * support/write_message.c (write_message): Preserve errno.
17097 * support/check.c (print_failure): Likewise.
17098 * support/support_test_verify_impl.c (support_test_verify_impl):
17100 * support/support_test_compare_failure.c
17101 (support_test_compare_failure): Likewise.
17103 2018-01-12 Florian Weimer <fweimer@redhat.com>
17106 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17107 Prevent installation of libnsl.so.
17108 (libnsl-inhibit-o): Do not build (or install) static libraries.
17110 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17113 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17114 before the day number which may produce a double space.
17115 (date_fmt): Likewise.
17117 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17120 instead of fegetenv.
17122 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17125 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17126 comment to say exceptions are discarded.
17127 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17129 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17132 2018-01-11 Florian Weimer <fweimer@redhat.com>
17134 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17137 2018-01-11 Florian Weimer <fweimer@redhat.com>
17140 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17141 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17143 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17147 negative arguments in test for NaN or infinity argument.
17149 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17151 * po/libc.pot: Regenerate.
17153 2018-01-10 Florian Weimer <fweimer@redhat.com>
17156 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17157 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17159 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17161 * hurd/hurd/fd.h: Include <fcntl.h>
17162 (__hurd_at_flags): New function.
17163 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17164 with call to __hurd_at_flags.
17165 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17166 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17168 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17169 (__access_noerrno): Use __faccessat_common instead of access_common.
17170 (__access): Likewise.
17171 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17172 with a call to __faccessat.
17173 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17174 (__faccessat_common): ... this. Move implementation of __access into it when
17175 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17176 reauthenticate_cwdir_at helper to implement AT mechanism.
17177 (__faccessat_noerrno): New function, just calls __faccessat_common.
17178 (__faccessat): New function, just calls __faccessat_common.
17179 (faccessat): Define weak alias.
17181 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17185 (CFLAGS-s_fmaxmagl.c): New variable.
17186 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17190 long int for arguments of possibly overflowing addition or
17192 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17194 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17198 (CFLAGS-e_remainderl.c): New variable.
17201 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17203 (CFLAGS-s_cacoshl.c): Likewise.
17204 (CFLAGS-s_casinhl.c): Likewise.
17205 (CFLAGS-s_catanl.c): Likewise.
17206 (CFLAGS-s_catanhl.c): Likewise.
17207 (CFLAGS-s_cexpl.c): Likewise.
17208 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17209 (CFLAGS-s_csinhl.c): Likewise.
17210 (CFLAGS-s_clogl.c): Likewise.
17211 (CFLAGS-s_clog10l.c): Likewise.
17212 (CFLAGS-s_csinl.c): Likewise.
17213 (CFLAGS-s_csqrtl.c): Likewise.
17215 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17216 2017-01-09 Svante Signell <svante.signell@gmail.com>
17218 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17219 (_hurd_exec_paths): New function.
17220 * hurd/hurd.h (_hurd_exec): Deprecate function.
17221 (_hurd_exec_paths): Declare function.
17222 * hurd/Versions: Export _hurd_exec_paths.
17223 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17224 (__execve): Use __getcwd to build absolute path, and use
17225 _hurd_exec_paths instead of _hurd_exec.
17226 * sysdeps/mach/hurd/spawni.c: Likewise.
17227 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17230 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17232 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17233 test instead of failing in case of ENOENT returned by posix_openpt.
17235 2018-01-08 Florian Weimer <fweimer@redhat.com>
17237 resolv: Support binary labels in test framework.
17238 * support/resolv_test.c (struct to_be_freed): Remove.
17239 (struct compressed_name): New.
17240 (allocate_compressed_name, ascii_tolower)
17241 (compare_compressed_name): New functions.
17242 (struct resolv_response_builder): Update type of
17243 compression_offsets for use with tsearch. Rempve to_be_freed.
17244 (response_push_pointer_to_free): Remove function.
17245 (resolv_response_add_name): Rewrite using struct compressed_name
17246 and tsearch instead of hsearch_r.
17247 (response_builder_allocate): Remove initialization of
17248 compression_offsets.
17249 (response_builder_free): Update for removal of to_be_freed. Use
17250 tdestroy instead of hdestroy_r.
17251 * resolv/Makefile (tests): Add tst-resolv-binary.
17252 (tst-resolv-binary): Link with -lresolv -lpthread.
17254 2018-01-08 Florian Weimer <fweimer@redhat.com>
17256 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17257 time. Pass positive flag instead of negative flag to
17258 support_test_compare_failure.
17259 (support_test_compare_failure): Change negative parameter to
17261 * support/support_test_compare_failure.c (report)
17262 (support_test_compare_failure): Likewise.
17263 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17264 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17266 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17269 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17270 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17271 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17273 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17275 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17278 Add s_sincosf-sse2 and s_sincosf-fma.
17279 (CFLAGS-s_sincosf-fma.c): New.
17280 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17281 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17282 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17283 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17284 __sincosf is defined.
17286 2018-01-08 Florian Weimer <fweimer@redhat.com>
17288 * nptl/tst-thread-exit-clobber.cc: New file.
17289 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17291 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17292 (tests): Add tst-thread-exit-clobber.
17293 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17295 2018-01-08 Florian Weimer <fweimer@redhat.com>
17297 * support/check.h (support_static_assert): Define.
17298 (TEST_COMPARE): Use it.
17300 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17302 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17303 [!__RLIM_T_MATCHES_RLIM64_T]
17304 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17305 __getrlimit64. Add libc_hidden_weak.
17307 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17309 * elf/elf.h (R_RISCV_NONE): New define.
17310 (R_RISCV_32): Likewise.
17311 (R_RISCV_64): Likewise.
17312 (R_RISCV_RELATIVE): Likewise.
17313 (R_RISCV_COPY): Likewise.
17314 (R_RISCV_JUMP_SLOT): Likewise.
17315 (R_RISCV_TLS_DTPMOD32): Likewise.
17316 (R_RISCV_TLS_DTPMOD64): Likewise.
17317 (R_RISCV_TLS_DTPREL32): Likewise.
17318 (R_RISCV_TLS_DTPREL64): Likewise.
17319 (R_RISCV_TLS_TPREL32): Likewise.
17320 (R_RISCV_TLS_TPREL64): Likewise.
17321 * Makerules (make-link-multidir): Make directories before linking into
17323 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17325 (VDSO_HASH_LINUX_4_15): Likewise.
17326 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17327 in subdirectories of lib.
17328 * nptl/Makefile (/librt.so): Always depend on
17329 "$(shared-thread-library)".
17331 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17333 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17334 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17335 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17337 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17338 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17340 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17341 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17342 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17343 * sysdeps/gnu/glob-lstat-compat.c: New file.
17344 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17345 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17347 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17349 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17350 Reserve 16 chars to reloc_addr before calling _itoa_word.
17352 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17355 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17356 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17358 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17359 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17361 * resource/tst-getrlimit.c: Add copyright header.
17363 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17364 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17366 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17367 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17368 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17369 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17371 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17372 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17373 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17374 RLIM64_INFINITY): Fix values to match the kernel ones.
17375 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17376 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17377 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17378 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17379 getrlimit64@@GLIBC_2_27.
17380 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17382 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17383 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17384 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17385 setrlimit, getrlimit64 and setrlimit64.
17387 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17390 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17391 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17393 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17395 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17396 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17397 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17399 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17403 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17404 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17408 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17409 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17410 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17411 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17413 2018-01-04 Florian Weimer <fweimer@redhat.com>
17416 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17417 Align the stack before calling exit.
17418 * stdlib/tst-makecontext-align.c: New file.
17419 * stdlib/Makefile (tests): Add tst-makecontext-align.
17421 2018-01-04 Florian Weimer <fweimer@redhat.com>
17423 Add support for calling dlvsym from libc.so.
17424 * include/dlfcn.h (__libc_dlvsym): Declare.
17425 * elf/Makefile (tests-static-internal): Add
17426 tst-libc_dlvsym-static.
17427 (tests-internal): Add tst-libc_dlvsym.
17428 (modules-names): Add tst-libc_dlvsym-dso.
17429 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17430 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17431 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17432 object tst-libc_dlvsym-dso.so needs to be built before running
17434 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17435 * elf/Versions: Export __libc_dlvsym.
17436 * elf/dl-libc.c (struct do_dlvsym_args): New.
17437 (do_dlvsym, __libc_dlvsym): New functions.
17438 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17439 (_dl_open_hook2): New variable.
17440 (__libc_register_dl_open_hook): Set it.
17441 * elf/tst-libc_dlvsym-dso.c: New file.
17442 * elf/tst-libc_dlvsym-static.c: Likewise.
17443 * elf/tst-libc_dlvsym.c: Likewise.
17444 * elf/tst-libc_dlvsym.h: Likewise.
17446 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17448 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17449 include <sys/mount.h>.
17451 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17453 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17454 Add __NO_MATH_ERRNO__ check.
17456 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17458 * sysdeps/mips/mips32/libm-test-ulps: Update.
17459 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17461 2018-01-02 Florian Weimer <fweimer@redhat.com>
17463 * misc/tst-pselect.c: Add copyright header.
17465 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17467 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17469 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17471 (settrlimit): Rename into setrlimit.
17472 (__sttrlimit): Rename into __setrlimit.
17474 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17475 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17476 never defined in that case.
17478 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17480 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17482 * sysdeps/arm/libm-test-ulps: Update.
17484 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17485 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17487 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17489 * NEWS: Add cosf and sincosf to list of optimized functions.
17491 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17494 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17495 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17496 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17497 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17499 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17502 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17504 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17505 making a copy of it.
17507 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17509 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17510 trailing whitespace removed.
17511 * scripts/config.guess: Update to version 2018-01-01.
17512 * scripts/config.sub: Update to version 2018-01-01.
17513 * scripts/move-if-change: Update from gnulib.
17515 * NEWS: Update copyright dates.
17516 * catgets/gencat.c (print_version): Likewise.
17517 * csu/version.c (banner): Likewise.
17518 * debug/catchsegv.sh: Likewise.
17519 * debug/pcprofiledump.c (print_version): Likewise.
17520 * debug/xtrace.sh (do_version): Likewise.
17521 * elf/ldconfig.c (print_version): Likewise.
17522 * elf/ldd.bash.in: Likewise.
17523 * elf/pldd.c (print_version): Likewise.
17524 * elf/sotruss.sh: Likewise.
17525 * elf/sprof.c (print_version): Likewise.
17526 * iconv/iconv_prog.c (print_version): Likewise.
17527 * iconv/iconvconfig.c (print_version): Likewise.
17528 * locale/programs/locale.c (print_version): Likewise.
17529 * locale/programs/localedef.c (print_version): Likewise.
17530 * login/programs/pt_chown.c (print_version): Likewise.
17531 * malloc/memusage.sh (do_version): Likewise.
17532 * malloc/memusagestat.c (print_version): Likewise.
17533 * malloc/mtrace.pl: Likewise.
17534 * manual/libc.texinfo: Likewise.
17535 * nptl/version.c (banner): Likewise.
17536 * nscd/nscd.c (print_version): Likewise.
17537 * nss/getent.c (print_version): Likewise.
17538 * nss/makedb.c (print_version): Likewise.
17539 * posix/getconf.c (main): Likewise.
17540 * scripts/test-installation.pl: Likewise.
17541 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17543 * All files with FSF copyright notices: Update copyright dates
17544 using scripts/update-copyrights.
17545 * locale/programs/charmap-kw.h: Regenerated.
17546 * locale/programs/locfile-kw.h: Likewise.
17548 2017-12-31 Zack Weinberg <zackw@panix.com>
17550 * libio/bits/libio-ldbl.h: Correct check for improper
17551 inclusion. Add own multiple include guard.
17553 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17554 Dmitry V. Levin <ldv@altlinux.org>
17558 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17559 string token expansion. Check for NULL pointer or empty string possibly
17560 returned by expand_dynamic_string_token.
17561 (decompose_rpath): Check for empty path after dynamic string
17564 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17567 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17569 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17570 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17571 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17572 and PTRACE_SYSCALL.
17573 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17574 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17578 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17580 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17581 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17582 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17583 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17585 bits/ptrace-shared.h.
17586 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17587 <bits/ptrace-shared.h>.
17588 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17589 __ptrace_peeksiginfo_flags, ptrace): Remove.
17590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17594 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17596 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17599 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17600 end of the loop. Improve comments.
17602 2017-12-29 Zack Weinberg <zackw@panix.com>
17605 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17606 might be set on success.
17608 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17611 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17612 is unchanged on success.
17614 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17616 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17618 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17619 expand_dynamic_string_token): Likewise.
17620 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17623 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17626 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17627 is set and name contains ':', and all code depending on these checks.
17629 2017-12-24 Zack Weinberg <zackw@panix.com>
17631 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17632 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17634 * libio/libio.h: Rename the original version of this file to
17635 libio/bits/libio.h. Error out if not included by stdio.h or the
17637 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17638 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17639 if not included by bits/libio.h or the stub _G_config.h.
17640 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17641 sysdeps/unix/sysv/linux/bits. Error out if not included by
17642 bits/libio.h or the stub _G_config.h.
17643 * libio/stdio.h: Include bits/libio.h, not libio.h.
17644 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17645 well as libio.h and _G_config.h.
17647 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17648 * libio/strfile.h, stdio-common/vfscanf.c
17649 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17650 Include stdio.h, not _G_config.h nor libio.h.
17651 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17652 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17654 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17656 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17659 * stdlib/getrandom.c (getrandom): Fix comment.
17660 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17662 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17665 * manual/arith.texi (strtoul): Fix a typo.
17668 * manual/arith.texi (finite): Fix the description of the return
17671 2017-12-22 Eric Blake <ebb9@byu.net>
17673 Avoid gcc warnings on cygwin
17674 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17675 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17676 Avoid unused variable.
17678 2017-12-22 Florian Weimer <fweimer@redhat.com>
17680 * io/Makefile (routines): Add copy_file_range.
17681 (tests): Add tst-copy_file_range.
17682 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17683 * io/Versions (GLIBC_2.27): Export copy_file_range.
17684 * io/copy_file_range-compat.c: New file.
17685 * io/copy_file_range.c: Likewise.
17686 * io/tst-copy_file_range-compat.c: Likewise.
17687 * io/tst-copy_file_range.c: Likewise.
17688 * manual/llio.texi (Copying File Data): New section.
17689 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17690 * support/Makefile (libsupport-routines): Add support-xfstat,
17691 xftruncate, xlseek.
17692 * support/support-xfstat.c: New file.
17693 * support/xftruncate.c: Likewise.
17694 * support/xlseek.c: Likewise.
17695 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17696 * sysdeps/unix/sysv/linux/**.abilist: Update.
17697 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17699 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17701 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17702 disable-multi-arch variant to aarch64-linux-gnu.
17704 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17706 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17707 trailing whitespace removed.
17708 * scripts/config.guess: Update to version 2017-12-17.
17709 * scripts/config.sub: Update to version 2017-11-23.
17710 * scripts/install-sh: Update to version 2017-09-23.17.
17711 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17713 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17715 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17716 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17717 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17718 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17719 * sysdeps/tile/crtn.S: Likewise.
17720 * sysdeps/tile/dl-start.S (_start): Likewise.
17721 * sysdeps/tile/dl-trampoline.S: Likewise.
17722 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17723 * sysdeps/tile/start.S (_start): Likewise.
17724 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17725 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17726 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17727 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17728 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17729 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17730 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17732 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17734 * sysdeps/tile/preconfigure: Remove tilegx folder.
17735 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17736 * sysdeps/tile/Implies: ... here.
17737 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17738 * sysdeps/tile/Makefile: ... here.
17739 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17740 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17741 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17742 * sysdeps/tile/bits/wordsize.h: ... here.
17743 * sysdeps/tile/tilegx/*: Move to ...
17744 * sysdeps/tile/*: ... here.
17745 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17746 * sysdeps/tile/tilegx32/Implies: ... here.
17747 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17748 * sysdeps/tile/tilegx64/Implies: ... here.
17749 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17751 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17752 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17753 * sysdeps/unix/sysv/linux/tile/*: ... here.
17754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17755 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17757 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17759 * README: Remove tilepro-*-linux-gnu from supported architecture.
17760 * scripts/build-many-glibcs.py: Likewise.
17761 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17762 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17763 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17764 elf_machine_matches_host, elf_machine_dynamic,
17765 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17766 howto, elf_machine_rela): Likewise.
17767 * sysdeps/tile/dl-start.S (_start): Likewise.
17768 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17769 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17770 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17771 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17772 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17773 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17775 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17776 * sysdeps/tile/preconfigure: Likewise.
17777 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17778 POINTER_CHK_GUARD): Likewise.
17779 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17780 * sysdeps/tile/start.S (_start): Likewise.
17781 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17783 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17784 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17786 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17787 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17788 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17790 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17791 * sysdeps/tile/tilepro/Implies: Remove file.
17792 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17793 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17794 * sysdeps/tile/tilepro/memchr.c: Likewise.
17795 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17796 * sysdeps/tile/tilepro/memset.c: Likewise.
17797 * sysdeps/tile/tilepro/memusage.h: Likewise.
17798 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17799 * sysdeps/tile/tilepro/strchr.c: Likewise.
17800 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17801 * sysdeps/tile/tilepro/strlen.c: Likewise.
17802 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17803 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17804 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17805 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17806 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17808 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17810 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17822 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17823 tilepro mention in comment.
17825 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17826 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17827 * nptl/pthread_join_common.c: New file: common function used on
17828 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17829 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17830 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17831 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17832 (cleanup): Move definition to pthread_join_common.c.
17833 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17834 Remove superflous checks.
17835 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17838 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17840 * sysdeps/aarch64/libm-test-ulps: Update.
17842 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17844 * sysdeps/aarch64/memset.S (MEMSET): Define.
17846 2017-12-20 Florian Weimer <fweimer@redhat.com>
17849 nptl: Provide full implementation of pthread_self in libc.so.
17850 * nptl/Makefile (routines): Add pthread_self.
17851 (libpthread-routines): Replace pthread_self with
17852 compat-pthread_self.
17853 * nptl/forward.c (pthread_self): Remove.
17854 * nptl/nptl-init.c (pthread_functions): Do not initialize
17856 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17857 * nptl/compat-pthread_self.c: New file.
17858 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17859 Remove ptr_pthread_self.
17861 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17863 * posix/regcomp.c: Fix spelling in comments.
17864 * posix/regex.h: Likewise.
17865 * posix/regex_internal.c: Likewise.
17866 * posix/regexec.c: Likewise.
17868 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17871 * math/Makefile [C++] (tests): Add test for iseqsig.
17872 * math/math.h [C++] (iseqsig): New implementation, which does
17873 not rely on __MATH_TG/__builtin_types_compatible_p.
17874 * math/test-math-iseqsig.cc: New file.
17875 * sysdeps/powerpc/powerpc64le/Makefile
17876 (CFLAGS-test-math-iseqsig.cc): New variable.
17878 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17880 * elf/dl-load.c (is_trusted_path): Remove.
17881 (fillin_rpath): Remove check_trusted argument and its use,
17882 all callers changed.
17884 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17887 * Makeconfig (link-pie-before-libc): Replace -pie with
17888 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17889 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17890 (tst-dlopen-aout-no-pie): New.
17891 (LDFLAGS-tst-prelink): Removed.
17892 (tst-prelink-no-pie): New.
17893 (LDFLAGS-tst-main1): Removed.
17894 (tst-main1-no-pie): New.
17895 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17896 (tst-gmon-no-pie): New.
17898 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17900 * manual/install.texi: Document that --enable-static-pie
17902 * INSTALL: Regenerated.
17904 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17907 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17910 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17914 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17918 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17920 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17921 <errno.h>. Include "eexp.tbl".
17922 (half): New constant.
17924 (__ieee754_exp): Rewrite.
17925 (__slowexp): Remove prototype.
17926 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17927 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17928 * sysdeps/i386/fpu/slowexp.c: Likewise.
17929 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17930 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17931 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17932 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17933 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17934 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17935 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17937 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17938 (CPPFLAGS-slowexp.c): Remove variable.
17939 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17940 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17941 (CFLAGS-slowexp-fma.c): Remove variable.
17942 (CFLAGS-slowexp-fma4.c): Likewise.
17943 (CFLAGS-slowexp-avx.c): Likewise.
17944 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17946 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17948 * math/Makefile (type-double-routines): Remove slowexp.
17949 * manual/probes.texi (slowexp_p6): Remove.
17950 (slowexp_p32): Likewise.
17952 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17954 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17957 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17959 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17963 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17965 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17966 <errno.h>. Include "eexp.tbl".
17967 (half): New constant.
17969 (__ieee754_exp): Rewrite.
17970 (__slowexp): Remove prototype.
17971 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17972 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17973 * sysdeps/i386/fpu/slowexp.c: Likewise.
17974 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17975 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17976 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17979 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17980 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17982 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17983 (CPPFLAGS-slowexp.c): Remove variable.
17984 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17985 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17986 (CFLAGS-slowexp-fma.c): Remove variable.
17987 (CFLAGS-slowexp-fma4.c): Likewise.
17988 (CFLAGS-slowexp-avx.c): Likewise.
17989 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17992 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17993 * math/Makefile (type-double-routines): Remove slowexp.
17994 * manual/probes.texi (slowexp_p6): Remove.
17995 (slowexp_p32): Likewise.
17997 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17998 James Clarke <jrtc27@jrtc27.com>
18001 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18004 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18007 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18010 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18013 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18014 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18015 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18016 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18019 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18022 * bits/types/__cancel_jmp_buf_tag.h: New file.
18023 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18024 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18025 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18026 * nptl/Makefile (headers): Add
18027 bits/types/__cancel_jmp_buf_tag.h.
18028 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18029 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18030 * sysdeps/nptl/pthread.h: Include
18031 <bits/types/__cancel_jmp_buf_tag.h>.
18032 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18034 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18036 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18038 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18039 --enable-static-pie variants to x86_64, x32 and i686.
18041 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18044 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18045 argument for attrubutes. All callers changed.
18046 (__inline_mathop1): Likewise. All callers changed.
18047 (__inline_mathop): Likewise. All callers changed.
18048 [__USE_MISC] (scalbn): Use __inline_forward instead of
18049 __inline_forward_c.
18050 [__USE_ISOC99] (scalbln): Likewise.
18051 [__USE_ISOC99] (nearbyint): Likewise.
18052 [__USE_ISOC99] (lrint): Likewise.
18053 [__USE_MISC] (scalbnf): Likewise.
18054 [__USE_ISOC99] (scalblnf): Likewise.
18055 [__USE_ISOC99] (nearbyintf): Likewise.
18056 [__USE_ISOC99] (lrintf): Likewise.
18057 [__USE_MISC] (scalbnl): Likewise.
18058 [__USE_ISOC99] (scalblnl): Likewise.
18059 [__USE_ISOC99] (nearbyintl): Likewise.
18060 [__USE_ISOC99] (lrintl): Likewise.
18061 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18062 __inline_mathop and __m81_defun changed.
18064 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18065 CPU or FPU for ARM hard-float configurations.
18067 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18069 * nptl/tst-attr3.c: Include <libc-diag.h>.
18070 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18072 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18074 * string/tester.c (test_strncat): Also disable -Warray-bounds
18075 warnings for two tests.
18077 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18080 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18081 $(cc-pie-default) == yes.
18082 * config.make.in (cc-pie-default): New.
18083 * configure.ac (libc_cv_pie_default): Renamed to ...
18084 (libc_cv_cc_pie_default): This.
18085 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18086 * configure: Regenerated.
18088 2017-12-18 Florian Weimer <fweimer@redhat.com>
18091 ld.so: Harden dl-libc/libdl hooks.
18092 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18093 (rtld_active): New function.
18094 * dlfcn/dladdr.c (__dladdr): Call it.
18095 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18096 * dlfcn/dlclose.c (__dlcose): Likewise.
18097 * dlfcn/dlerror.c (__dlerror): Likewise.
18098 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18099 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18100 * dlfcn/dlopen.c (__dlopen): Likewise.
18101 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18102 * dlfcn/dlsym.c (__dlsym): Likewise.
18103 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18104 * libio/vtables.c (_IO_vtable_check): Likewise.
18105 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18106 (__libc_dlclose): Likewise.
18107 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18110 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18113 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18114 buffers for readlink input and output.
18116 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18119 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18120 inhibit_stack_protector.
18123 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18124 inhibit_stack_protector.
18126 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18129 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18130 code and invocation.
18132 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18134 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18136 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18139 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18141 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18143 * sysdeps/s390/fpu/libm-test-ulps: Update.
18145 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18149 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18151 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18152 constants to s_sincosf.h file.
18153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18156 * sysdeps/ieee754/flt-32/s_sincosf.h:
18159 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18162 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18165 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18168 * INSTALL: Regenerated.
18169 * Makeconfig (real-static-start-installed-name): New.
18170 (pic-default): Updated for --enable-static-pie.
18171 (pie-default): New for --enable-static-pie.
18172 (default-pie-ldflag): Likewise.
18173 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18174 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18175 Replace $(static-start-installed-name) with
18176 $(real-static-start-installed-name).
18177 (+prectorT): Updated for --enable-static-pie.
18178 (+postctorT): Likewise.
18179 (CFLAGS-.o): Add $(pie-default).
18180 (CFLAGS-.op): Likewise.
18181 * NEWS: Mention --enable-static-pie.
18182 * config.h.in (ENABLE_STATIC_PIE): New.
18183 * configure.ac (--enable-static-pie): New configure option.
18184 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18185 (have-static-pie): Likewise.
18186 Enable static PIE if linker supports --no-dynamic-linker.
18187 (ENABLE_STATIC_PIE): New AC_DEFINE.
18188 (enable-static-pie): New LIBC_CONFIG_VAR.
18189 * configure: Regenerated.
18190 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18191 gr$(start-installed-name) for --enable-static-pie.
18192 (extra-objs): Likewise.
18193 (install-lib): Likewise.
18194 (extra-objs): Add static-reloc.o and static-reloc.os
18195 ($(objpfx)$(start-installed-name)): Also depend on
18196 $(objpfx)static-reloc.o.
18197 ($(objpfx)r$(start-installed-name)): New.
18198 ($(objpfx)g$(start-installed-name)): Also depend on
18199 $(objpfx)static-reloc.os.
18200 ($(objpfx)gr$(start-installed-name)): New.
18201 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18203 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18205 * csu/static-reloc.c: New file.
18206 * elf/Makefile (routines): Add dl-reloc-static-pie.
18207 (elide-routines.os): Likewise.
18208 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18209 (tst-tls1-static-non-pie-no-pie): New.
18210 * elf/dl-reloc-static-pie.c: New file.
18211 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18212 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18213 STATIC_PIE_BOOTSTRAP.
18214 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18215 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18216 (tests-static): Likewise.
18217 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18218 (tst-gmon-static-no-pie): New.
18219 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18220 (CRT-tst-gmon-static-pie): Likewise.
18221 (tst-gmon-static-pie-ENV): Likewise.
18222 (tests-special): Likewise.
18223 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18224 (clean-tst-gmon-static-pie-data): Likewise.
18225 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18226 * gmon/tst-gmon-static-pie.c: New file.
18227 * manual/install.texi: Document --enable-static-pie.
18228 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18229 (_dl_get_dl_main_map): Likewise.
18230 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18231 * sysdeps/x86_64/configure.ac: Likewise.
18232 * sysdeps/i386/configure: Regenerated.
18233 * sysdeps/x86_64/configure: Likewise.
18234 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18235 (ASFLAGS-.op): Likewise.
18237 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18239 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18240 * posix/tst-mmap-offset.c (fname): Use /tmp.
18241 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18243 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18245 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18247 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18249 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18252 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18254 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18255 --with-float=hard for arm-linux-gnueabihf configurations.
18258 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18259 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18260 ($(mo-installed)): Use $(objpfx)%.mo.
18261 (realclean): Remove rule.
18263 * po/Makefile (linguas): Remove rule and dependencies.
18264 (linguas.mo): Likewise.
18265 (.PHONY): Do not depend on linguas and linguas.mo.
18266 (podir): Remove variable.
18267 (pofiles): Likewise.
18268 [$(pofiles)] (%.po): Remove rule.
18270 * sysdeps/sparc/sparc32/Makefile
18271 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18272 start-of-line whitespace in argument of echo.
18273 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18274 with whitespace. Generate __wrap_.udiv alias.
18275 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18276 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18277 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18278 * sysdeps/sparc/sparc32/urem.S: Likewise.
18280 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18282 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18283 for aligned inputs.
18285 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18287 * benchtests/bench-strcmp.c: Print output in JSON format.
18289 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18291 2017-12-14 Florian Weimer <fweimer@redhat.com>
18295 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18296 the expanded path string.
18298 2017-12-14 Florian Weimer <fweimer@redhat.com>
18302 * elf/dl-load.c (system_dirs): Update comment.
18303 (nsystem_dirs_len): Use array_length.
18304 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18306 2017-12-14 Florian Weimer <fweimer@redhat.com>
18308 Simplify compiling most of support/ outside of glibc.
18309 * support/check_addrinfo.c: Include <string.h>.
18310 * support/check_dns_packet.c: Likewise.
18311 * support/check_hostent.c: Likewise.
18312 * support/support_can_chroot.c: Include <support/xunistd.h>.
18313 * support/support_format_addrinfo.c: Include <stdlib.h>
18314 * support/support_format_dns_packet.c: Include <stdbool.h>.
18315 * support/support_format_hostent.c: Include <stdlib.h>.
18316 * support/support_format_netent.c: Likewise.
18317 * support/support_write_string.c: Include <support/xunistd.h>.
18318 * support/xdlfcn.c: Include <stddef.h>.
18320 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18322 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18324 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18325 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18327 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18328 (sysdeps_routines): Add memset-niagara7.
18329 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18331 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18333 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18334 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18335 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18336 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18337 Add niagara7 option.
18338 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18341 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18342 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18343 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18347 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18348 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18349 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18350 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18351 and __memmove_niagara7.
18352 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18353 Add niagara7 option.
18354 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18355 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18356 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18357 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18358 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18360 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18362 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18363 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18364 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18365 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18367 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18368 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18369 _dl_sparc_cap_flags array.
18370 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18372 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18374 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18375 time whenever possible.
18377 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18379 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18380 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18382 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18384 * soft-fp/fmadf4.c: Move to ....
18385 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18386 * soft-fp/fmasf4.c: Move to ....
18387 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18388 * soft-fp/fmatf4.c: Move to ....
18389 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18390 * sysdeps/ieee754/soft-fp/Makefile: New file.
18391 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18392 * sysdeps/arm/preconfigure: Regenerated.
18393 * sysdeps/arm/nofpu/Implies: New file.
18394 * sysdeps/arm/s_fma.c: Remove file.
18395 * sysdeps/arm/s_fmaf.c: Likewise.
18396 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18397 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18398 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18399 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18400 * sysdeps/microblaze/s_fma.c: Remove file.
18401 * sysdeps/microblaze/s_fmaf.c: Likewise.
18402 * sysdeps/mips/mips32/nofpu/Implies: New file.
18403 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18404 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18405 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18406 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18407 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18408 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18409 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18411 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18412 * sysdeps/nios2/s_fma.c: Remove file.
18413 * sysdeps/nios2/s_fmaf.c: Likewise.
18414 * sysdeps/sh/nofpu/Implies: New file.
18415 * sysdeps/sh/s_fma.c: Remove file.
18416 * sysdeps/sh/s_fmaf.c: Likewise.
18417 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18418 * sysdeps/tile/s_fma.c: Remove file.
18419 * sysdeps/tile/s_fmaf.c: Likewise.
18421 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18423 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18424 Add s_cosf-sse2 and s_cosf-fma.
18425 (CFLAGS-s_cosf-fma.c): New.
18426 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18427 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18428 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18430 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18432 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18434 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18436 * libio/Makefile (tests): Add tst-bz22415.
18437 (tst-bz22415-ENV): New rule.
18438 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18439 (tests-special): Add tst-bz22415-mem.out.
18440 ($(objpfx)tst-bz22415-mem.out): New rule.
18441 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18442 in case of a successful seek operation.
18443 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18444 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18445 buffer is required.
18446 * libio/tst-bz22415.c: New test.
18448 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18450 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18452 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18453 __IPC_64 to 0 to avoid IPC_64 being set.
18455 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18458 * math/bits/mathcalls.h (nextafter): Remove const.
18459 (nexttoward): Likewise.
18461 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18463 * configure.ac (--with-fp): Remove configure option.
18464 (with_fp_cond): New variable.
18465 (libc_cv_with_fp): New configure test. Use this variable instead
18467 * configure: Regenerated.
18468 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18469 * manual/install.texi (Configuring and compiling): Remove
18471 * INSTALL: Regenerated.
18472 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18473 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18474 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18475 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18476 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18477 use --without-fp to configure glibc.
18479 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18481 * manual/locale.texi (nl_langinfo): Fix a typo.
18483 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18486 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18488 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18490 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18491 (CFLAGS-argp-parse.c): Likewise.
18492 (CFLAGS-argp-fmtstream.c): Likewise.
18493 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18494 (CPPFLAGS-sha512-crypt.c): Likewise.
18495 (CPPFLAGS-md5-crypt.c): Likewise.
18496 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18497 (CFLAGS-stack_chk_fail_local.c): Likewise.
18498 (CFLAGS-backtrace.c): Likewise.
18499 (CFLAGS-sprintf_chk.c): Likewise.
18500 (CFLAGS-snprintf_chk.c): Likewise.
18501 (CFLAGS-vsprintf_chk.c): Likewise.
18502 (CFLAGS-vsnprintf_chk.c): Likewise.
18503 (CFLAGS-asprintf_chk.c): Likewise.
18504 (CFLAGS-vasprintf_chk.c): Likewise.
18505 (CFLAGS-obprintf_chk.c): Likewise.
18506 (CFLAGS-dprintf_chk.c): Likewise.
18507 (CFLAGS-vdprintf_chk.c): Likewise.
18508 (CFLAGS-printf_chk.c): Likewise.
18509 (CFLAGS-fprintf_chk.c): Likewise.
18510 (CFLAGS-vprintf_chk.c): Likewise.
18511 (CFLAGS-vfprintf_chk.c): Likewise.
18512 (CFLAGS-gets_chk.c): Likewise.
18513 (CFLAGS-fgets_chk.c): Likewise.
18514 (CFLAGS-fgets_u_chk.c): Likewise.
18515 (CFLAGS-fread_chk.c): Likewise.
18516 (CFLAGS-fread_u_chk.c): Likewise.
18517 (CFLAGS-swprintf_chk.c): Likewise.
18518 (CFLAGS-vswprintf_chk.c): Likewise.
18519 (CFLAGS-wprintf_chk.c): Likewise.
18520 (CFLAGS-fwprintf_chk.c): Likewise.
18521 (CFLAGS-vwprintf_chk.c): Likewise.
18522 (CFLAGS-vfwprintf_chk.c): Likewise.
18523 (CFLAGS-fgetws_chk.c): Likewise.
18524 (CFLAGS-fgetws_u_chk.c): Likewise.
18525 (CFLAGS-read_chk.c): Likewise.
18526 (CFLAGS-pread_chk.c): Likewise.
18527 (CFLAGS-pread64_chk.c): Likewise.
18528 (CFLAGS-recv_chk.c): Likewise.
18529 (CFLAGS-recvfrom_chk.c): Likewise.
18530 (CFLAGS-tst-longjmp_chk.c): Likewise.
18531 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18532 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18533 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18534 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18535 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18536 (CFLAGS-tst-chk1.c): Likewise.
18537 (CFLAGS-tst-chk2.c): Likewise.
18538 (CFLAGS-tst-chk3.c): Likewise.
18539 (CFLAGS-tst-chk4.cc): Likewise.
18540 (CFLAGS-tst-chk5.cc): Likewise.
18541 (CFLAGS-tst-chk6.cc): Likewise.
18542 (CFLAGS-tst-lfschk1.c): Likewise.
18543 (CFLAGS-tst-lfschk2.c): Likewise.
18544 (CFLAGS-tst-lfschk3.c): Likewise.
18545 (CFLAGS-tst-lfschk4.cc): Likewise.
18546 (CFLAGS-tst-lfschk5.cc): Likewise.
18547 (CFLAGS-tst-lfschk6.cc): Likewise.
18548 (CFLAGS-tst-ssp-1.c): Likewise.
18549 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18550 (CFLAGS-scandir64.c): Likewise.
18551 (CFLAGS-scandir-tail.c): Likewise.
18552 (CFLAGS-scandir64-tail.c): Likewise.
18553 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18554 (CFLAGS-dl-tunables.c): Likewise.
18555 (CFLAGS-dl-runtime.c): Likewise.
18556 (CFLAGS-dl-lookup.c): Likewise.
18557 (CFLAGS-dl-iterate-phdr.c): Likewise.
18558 (CFLAGS-vismain.c): Likewise.
18559 (CFLAGS-tst-linkall-static.c): Likewise.
18560 (CFLAGS-tst-linkall-static.c): Likewise.
18561 (CPPFLAGS-dl-load.c): Likewise.
18562 (CFLAGS-ldconfig.c): Likewise.
18563 (CFLAGS-dl-cache.c): Likewise.
18564 (CFLAGS-cache.c): Likewise.
18565 (CFLAGS-rtld.c): Likewise.
18566 (CFLAGS-multiload.c): Likewise.
18567 (CFLAGS-filtmod1.c): Likewise.
18568 (CFLAGS-tst-align.c): Likewise.
18569 (CFLAGS-tst-align2.c): Likewise.
18570 (CFLAGS-tst-alignmod.c): Likewise.
18571 (CFLAGS-tst-alignmod2.c): Likewise.
18572 (CPPFLAGS-tst-execstack.c): Likewise.
18573 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18574 (CFLAGS-tst-latepthreadmod.c): Likewise.
18575 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18576 (CFLAGS-getgrnam_r.c): Likewise.
18577 (CFLAGS-getgrent_r.c): Likewise.
18578 (CFLAGS-getgrent.c): Likewise.
18579 (CFLAGS-fgetgrent.c): Likewise.
18580 (CFLAGS-fgetgrent_r.c): Likewise.
18581 (CFLAGS-putgrent.c): Likewise.
18582 (CFLAGS-initgroups.c): Likewise.
18583 (CFLAGS-getgrgid.c): Likewise.
18584 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18585 (CFLAGS-getsgent.c): Likewise.
18586 (CFLAGS-fgetsgent.c): Likewise.
18587 (CFLAGS-fgetsgent_r.c): Likewise.
18588 (CFLAGS-putsgent.c): Likewise.
18589 (CFLAGS-getsgnam.c): Likewise.
18590 (CFLAGS-getsgnam_r.c): Likewise.
18591 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18592 (CFLAGS-iconv_charmap.c): Likewise.
18593 (CFLAGS-dummy-repertoire.c): Likewise.
18594 (CFLAGS-charmap.c): Likewise.
18595 (CFLAGS-linereader.c): Likewise.
18596 (CFLAGS-simple-hash.c): Likewise.
18597 (CFLAGS-gconv_conf.c): Likewise.
18598 (CFLAGS-iconvconfig.c): Likewise.
18599 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18600 (CFLAGS-gethstbyad.c): Likewise.
18601 (CFLAGS-gethstbynm_r.c): Likewise.
18602 (CFLAGS-gethstbynm.c): Likewise.
18603 (CFLAGS-gethstbynm2_r.c): Likewise.
18604 (CFLAGS-gethstbynm2.c): Likewise.
18605 (CFLAGS-gethstent_r.c): Likewise.
18606 (CFLAGS-gethstent.c): Likewise.
18607 (CFLAGS-rcmd.c): Likewise.
18608 (CFLAGS-getnetbynm_r.c): Likewise.
18609 (CFLAGS-getnetbynm.c): Likewise.
18610 (CFLAGS-getnetbyad_r.c): Likewise.
18611 (CFLAGS-getnetbyad.c): Likewise.
18612 (CFLAGS-getnetent_r.c): Likewise.
18613 (CFLAGS-getnetent.c): Likewise.
18614 (CFLAGS-getaliasent_r.c): Likewise.
18615 (CFLAGS-getaliasent.c): Likewise.
18616 (CFLAGS-getrpcent_r.c): Likewise.
18617 (CFLAGS-getrpcent.c): Likewise.
18618 (CFLAGS-getservent_r.c): Likewise.
18619 (CFLAGS-getservent.c): Likewise.
18620 (CFLAGS-getprtent_r.c): Likewise.
18621 (CFLAGS-getprtent.c): Likewise.
18622 (CFLAGS-either_ntoh.c): Likewise.
18623 (CFLAGS-either_hton.c): Likewise.
18624 (CFLAGS-getnetgrent.c): Likewise.
18625 (CFLAGS-getnetgrent_r.c): Likewise.
18626 (CFLAGS-tst-checks-posix.c): Likewise.
18627 (CFLAGS-tst-sockaddr.c): Likewise.
18628 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18629 (CFLAGS-tst-translit.c): Likewise.
18630 (CFLAGS-tst-gettext2.c): Likewise.
18631 (CFLAGS-tst-codeset.c): Likewise.
18632 (CFLAGS-tst-gettext3.c): Likewise.
18633 (CFLAGS-tst-gettext4.c): Likewise.
18634 (CFLAGS-tst-gettext5.c): Likewise.
18635 (CFLAGS-tst-gettext6.c): Likewise.
18636 * io/Makefile (CFLAGS-open.c): Likewise.
18637 (CFLAGS-open64.c): Likewise.
18638 (CFLAGS-creat.c): Likewise.
18639 (CFLAGS-creat64.c): Likewise.
18640 (CFLAGS-fcntl.c): Likewise.
18641 (CFLAGS-poll.c): Likewise.
18642 (CFLAGS-ppoll.c): Likewise.
18643 (CFLAGS-lockf.c): Likewise.
18644 (CFLAGS-statfs.c): Likewise.
18645 (CFLAGS-fstatfs.c): Likewise.
18646 (CFLAGS-statvfs.c): Likewise.
18647 (CFLAGS-fstatvfs.c): Likewise.
18648 (CFLAGS-fts.c): Likewise.
18649 (CFLAGS-fts64.c): Likewise.
18650 (CFLAGS-ftw.c): Likewise.
18651 (CFLAGS-ftw64.c): Likewise.
18652 (CFLAGS-lockf.c): Likewise.
18653 (CFLAGS-posix_fallocate.c): Likewise.
18654 (CFLAGS-posix_fallocate64.c): Likewise.
18655 (CFLAGS-fallocate.c): Likewise.
18656 (CFLAGS-fallocate64.c): Likewise.
18657 (CFLAGS-read.c): Likewise.
18658 (CFLAGS-write.c): Likewise.
18659 (CFLAGS-test-stat.c): Likewise.
18660 (CFLAGS-test-lfs.c): Likewise.
18661 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18662 (CFLAGS-fputc.c): Likewise.
18663 (CFLAGS-fputwc.c): Likewise.
18664 (CFLAGS-freopen64.c): Likewise.
18665 (CFLAGS-freopen.c): Likewise.
18666 (CFLAGS-fseek.c): Likewise.
18667 (CFLAGS-fseeko64.c): Likewise.
18668 (CFLAGS-fseeko.c): Likewise.
18669 (CFLAGS-ftello64.c): Likewise.
18670 (CFLAGS-ftello.c): Likewise.
18671 (CFLAGS-fwide.c): Likewise.
18672 (CFLAGS-genops.c): Likewise.
18673 (CFLAGS-getc.c): Likewise.
18674 (CFLAGS-getchar.c): Likewise.
18675 (CFLAGS-getwc.c): Likewise.
18676 (CFLAGS-getwchar.c): Likewise.
18677 (CFLAGS-iofclose.c): Likewise.
18678 (CFLAGS-iofflush.c): Likewise.
18679 (CFLAGS-iofgetpos64.c): Likewise.
18680 (CFLAGS-iofgetpos.c): Likewise.
18681 (CFLAGS-iofgets.c): Likewise.
18682 (CFLAGS-iofgetws.c): Likewise.
18683 (CFLAGS-iofputs.c): Likewise.
18684 (CFLAGS-iofputws.c): Likewise.
18685 (CFLAGS-iofread.c): Likewise.
18686 (CFLAGS-iofsetpos64.c): Likewise.
18687 (CFLAGS-iofsetpos.c): Likewise.
18688 (CFLAGS-ioftell.c): Likewise.
18689 (CFLAGS-iofwrite.c): Likewise.
18690 (CFLAGS-iogetdelim.c): Likewise.
18691 (CFLAGS-iogetline.c): Likewise.
18692 (CFLAGS-iogets.c): Likewise.
18693 (CFLAGS-iogetwline.c): Likewise.
18694 (CFLAGS-ioputs.c): Likewise.
18695 (CFLAGS-ioseekoff.c): Likewise.
18696 (CFLAGS-ioseekpos.c): Likewise.
18697 (CFLAGS-iosetbuffer.c): Likewise.
18698 (CFLAGS-iosetvbuf.c): Likewise.
18699 (CFLAGS-ioungetc.c): Likewise.
18700 (CFLAGS-ioungetwc.c): Likewise.
18701 (CFLAGS-oldfileops.c): Likewise.
18702 (CFLAGS-oldiofclose.c): Likewise.
18703 (CFLAGS-oldiofgetpos64.c): Likewise.
18704 (CFLAGS-oldiofgetpos.c): Likewise.
18705 (CFLAGS-oldiofsetpos64.c): Likewise.
18706 (CFLAGS-oldiofsetpos.c): Likewise.
18707 (CFLAGS-peekc.c): Likewise.
18708 (CFLAGS-putc.c): Likewise.
18709 (CFLAGS-putchar.c): Likewise.
18710 (CFLAGS-putwc.c): Likewise.
18711 (CFLAGS-putwchar.c): Likewise.
18712 (CFLAGS-rewind.c): Likewise.
18713 (CFLAGS-wfileops.c): Likewise.
18714 (CFLAGS-wgenops.c): Likewise.
18715 (CFLAGS-oldiofopen.c): Likewise.
18716 (CFLAGS-iofopen.c): Likewise.
18717 (CFLAGS-iofopen64.c): Likewise.
18718 (CFLAGS-oldtmpfile.c): Likewise.
18719 (CFLAGS-tst_putwc.c): Likewise.
18720 * locale/Makefile (CFLAGS-md5.c): Likewise.
18721 (CFLAGS-charmap.c): Likewise.
18722 (CFLAGS-locfile.c): Likewise.
18723 (CFLAGS-charmap-dir.c): Likewise.
18724 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18725 (CFLAGS-getpt.c): Likewise.
18726 (CFLAGS-pt_chown.c): Likewise.
18727 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18728 (CFLAGS-obstack.c): Likewise.
18729 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18730 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18731 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18732 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18733 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18734 (CFLAGS-test-tgmath.c): Likewise.
18735 (CFLAGS-test-tgmath2.c): Likewise.
18736 (CFLAGS-test-tgmath-ret.c): Likewise.
18737 (CFLAGS-test-powl.c): Likewise.
18738 (CFLAGS-test-snan.c): Likewise.
18739 (CFLAGS-test-signgam-finite.c): Likewise.
18740 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18741 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18742 (CFLAGS-test-signgam-uchar.c): Likewise.
18743 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18744 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18745 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18746 (CFLAGS-test-signgam-uint.c): Likewise.
18747 (CFLAGS-test-signgam-uint-init.c): Likewise.
18748 (CFLAGS-test-signgam-uint-static.c): Likewise.
18749 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18750 (CFLAGS-test-signgam-ullong.c): Likewise.
18751 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18752 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18753 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18754 (CFLAGS-test-math-cxx11.cc): Likewise.
18755 (CFLAGS-test-math-isinff.cc): Likewise.
18756 (CFLAGS-test-math-iszero.cc): Likewise.
18757 (CFLAGS-test-math-issignaling.cc): Likewise.
18758 (CFLAGS-test-math-iscanonical.cc): Likewise.
18759 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18760 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18761 (CFLAGS-test-flt-eval-method.c): Likewise.
18762 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18763 (CFLAGS-test-finite-macros.c): Likewise.
18764 * misc/Makefile (CFLAGS-select.c): Likewise.
18765 (CFLAGS-tsearch.c): Likewise.
18766 (CFLAGS-lsearch.c): Likewise.
18767 (CFLAGS-pselect.c): Likewise.
18768 (CFLAGS-readv.c): Likewise.
18769 (CFLAGS-writev.c): Likewise.
18770 (CFLAGS-preadv.c): Likewise.
18771 (CFLAGS-preadv64.c): Likewise.
18772 (CFLAGS-pwritev.c): Likewise.
18773 (CFLAGS-pwritev64.c): Likewise.
18774 (CFLAGS-preadv2.c): Likewise.
18775 (CFLAGS-preadv64v2.c): Likewise.
18776 (CFLAGS-pwritev2.c): Likewise.
18777 (CFLAGS-pwritev64v2.c): Likewise.
18778 (CFLAGS-usleep.c): Likewise.
18779 (CFLAGS-syslog.c): Likewise.
18780 (CFLAGS-error.c): Likewise.
18781 (CFLAGS-getpass.c): Likewise.
18782 (CFLAGS-mkstemp.c): Likewise.
18783 (CFLAGS-mkstemp64.c): Likewise.
18784 (CFLAGS-getsysstats.c): Likewise.
18785 (CFLAGS-getusershell.c): Likewise.
18786 (CFLAGS-err.c): Likewise.
18787 (CFLAGS-tst-tsearch.c): Likewise.
18788 (CFLAGS-msync.c): Likewise.
18789 (CFLAGS-fdatasync.c): Likewise.
18790 (CFLAGS-fsync.c): Likewise.
18791 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18792 (CFLAGS-unwind.c): Likewise.
18793 (CFLAGS-unwind-forcedunwind.c): Likewise.
18794 (CFLAGS-pthread_cancel.c): Likewise.
18795 (CFLAGS-pthread_setcancelstate.c): Likewise.
18796 (CFLAGS-pthread_setcanceltype.c): Likewise.
18797 (CFLAGS-cancellation.c): Likewise.
18798 (CFLAGS-libc-cancellation.c): Likewise.
18799 (CFLAGS-pthread_exit.c): Likewise.
18800 (CFLAGS-forward.c): Likewise.
18801 (CFLAGS-pthread_testcancel.c): Likewise.
18802 (CFLAGS-pthread_join.c): Likewise.
18803 (CFLAGS-pthread_timedjoin.c): Likewise.
18804 (CFLAGS-pthread_once.c): Likewise.
18805 (CFLAGS-pthread_cond_wait.c): Likewise.
18806 (CFLAGS-sem_wait.c): Likewise.
18807 (CFLAGS-sem_timedwait.c): Likewise.
18808 (CFLAGS-fcntl.c): Likewise.
18809 (CFLAGS-lockf.c): Likewise.
18810 (CFLAGS-pread.c): Likewise.
18811 (CFLAGS-pread64.c): Likewise.
18812 (CFLAGS-pwrite.c): Likewise.
18813 (CFLAGS-pwrite64.c): Likewise.
18814 (CFLAGS-wait.c): Likewise.
18815 (CFLAGS-waitpid.c): Likewise.
18816 (CFLAGS-sigwait.c): Likewise.
18817 (CFLAGS-msgrcv.c): Likewise.
18818 (CFLAGS-msgsnd.c): Likewise.
18819 (CFLAGS-tcdrain.c): Likewise.
18820 (CFLAGS-open.c): Likewise.
18821 (CFLAGS-open64.c): Likewise.
18822 (CFLAGS-pause.c): Likewise.
18823 (CFLAGS-recv.c): Likewise.
18824 (CFLAGS-send.c): Likewise.
18825 (CFLAGS-accept.c): Likewise.
18826 (CFLAGS-sendto.c): Likewise.
18827 (CFLAGS-connect.c): Likewise.
18828 (CFLAGS-recvfrom.c): Likewise.
18829 (CFLAGS-recvmsg.c): Likewise.
18830 (CFLAGS-sendmsg.c): Likewise.
18831 (CFLAGS-close.c): Likewise.
18832 (CFLAGS-read.c): Likewise.
18833 (CFLAGS-write.c): Likewise.
18834 (CFLAGS-nanosleep.c): Likewise.
18835 (CFLAGS-sigsuspend.c): Likewise.
18836 (CFLAGS-msync.c): Likewise.
18837 (CFLAGS-fdatasync.c): Likewise.
18838 (CFLAGS-fsync.c): Likewise.
18839 (CFLAGS-pt-system.c): Likewise.
18840 (CFLAGS-tst-cleanup2.c): Likewise.
18841 (CFLAGS-tst-cleanupx2.c): Likewise.
18842 (CFLAGS-flockfile.c): Likewise.
18843 (CFLAGS-ftrylockfile.c): Likewise.
18844 (CFLAGS-funlockfile.c): Likewise.
18845 (CFLAGS-tst-initializers1.c): Likewise.
18846 (CFLAGS-tst-initializers1-c89.c): Likewise.
18847 (CFLAGS-tst-initializers1-c99.c): Likewise.
18848 (CFLAGS-tst-initializers1-c11.c): Likewise.
18849 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18850 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18851 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18852 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18853 (CFLAGS-nscd_getgr_r.c): Likewise.
18854 (CFLAGS-nscd_gethst_r.c): Likewise.
18855 (CFLAGS-nscd_getai.c): Likewise.
18856 (CFLAGS-nscd_initgroups.c): Likewise.
18857 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18858 (CFLAGS-pause.c): Likewise.
18859 (CFLAGS-pread.c): Likewise.
18860 (CFLAGS-pread64.c): Likewise.
18861 (CFLAGS-pwrite.c): Likewise.
18862 (CFLAGS-pwrite64.c): Likewise.
18863 (CFLAGS-sleep.c): Likewise.
18864 (CFLAGS-wait.c): Likewise.
18865 (CFLAGS-waitid.c): Likewise.
18866 (CFLAGS-waitpid.c): Likewise.
18867 (CFLAGS-getopt.c): Likewise.
18868 (CFLAGS-wordexp.c): Likewise.
18869 (CFLAGS-sysconf.c): Likewise.
18870 (CFLAGS-pathconf.c): Likewise.
18871 (CFLAGS-fpathconf.c): Likewise.
18872 (CFLAGS-spawn.c): Likewise.
18873 (CFLAGS-spawnp.c): Likewise.
18874 (CFLAGS-spawni.c): Likewise.
18875 (CFLAGS-glob.c): Likewise.
18876 (CFLAGS-glob64.c): Likewise.
18877 (CFLAGS-getconf.c): Likewise.
18878 (CFLAGS-nanosleep.c): Likewise.
18879 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18880 (CFLAGS-getpwent.c): Likewise.
18881 (CFLAGS-getpw.c): Likewise.
18882 (CFLAGS-fgetpwent_r.c): Likewise.
18883 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18884 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18885 (CFLAGS-mq_timedreceive.c): Likewise.
18886 (CFLAGS-mq_timedsend.c): Likewise.
18887 (CFLAGS-clock_nanosleep.c): Likewise.
18888 (CFLAGS-librt-cancellation.c): Likewise.
18889 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18890 (CFLAGS-getspent.c): Likewise.
18891 (CFLAGS-fgetspent.c): Likewise.
18892 (CFLAGS-fgetspent_r.c): Likewise.
18893 (CFLAGS-putspent.c): Likewise.
18894 (CFLAGS-getspnam.c): Likewise.
18895 (CFLAGS-getspnam_r.c): Likewise.
18896 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18897 (CFLAGS-sigsuspend.c): Likewise.
18898 (CFLAGS-sigtimedwait.c): Likewise.
18899 (CFLAGS-sigwait.c): Likewise.
18900 (CFLAGS-sigwaitinfo.c): Likewise.
18901 (CFLAGS-sigreturn.c): Likewise.
18902 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18903 (CFLAGS-vfwprintf.c): Likewise.
18904 (CFLAGS-tmpfile.c): Likewise.
18905 (CFLAGS-tmpfile64.c): Likewise.
18906 (CFLAGS-tempname.c): Likewise.
18907 (CFLAGS-psignal.c): Likewise.
18908 (CFLAGS-vprintf.c): Likewise.
18909 (CFLAGS-cuserid.c): Likewise.
18910 (CFLAGS-errlist.c): Likewise.
18911 (CFLAGS-siglist.c): Likewise.
18912 (CFLAGS-scanf15.c): Likewise.
18913 (CFLAGS-scanf17.c): Likewise.
18914 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18915 (CFLAGS-msort.c): Likewise.
18916 (CFLAGS-qsort.c): Likewise.
18917 (CFLAGS-system.c): Likewise.
18918 (CFLAGS-fmtmsg.c): Likewise.
18919 (CFLAGS-strfmon.c): Likewise.
18920 (CFLAGS-strfmon_l.c): Likewise.
18921 (CFLAGS-strfromd.c): Likewise.
18922 (CFLAGS-strfromf.c): Likewise.
18923 (CFLAGS-strfroml.c): Likewise.
18924 (CFLAGS-tst-bsearch.c): Likewise.
18925 (CFLAGS-tst-qsort.c): Likewise.
18926 (CFLAGS-tst-makecontext2.c): Likewise.
18927 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18928 (CFLAGS-xnlm_prot.c): Likewise.
18929 (CFLAGS-xrstat.c): Likewise.
18930 (CFLAGS-xyppasswd.c): Likewise.
18931 (CFLAGS-xklm_prot.c): Likewise.
18932 (CFLAGS-xrex.c): Likewise.
18933 (CFLAGS-xsm_inter.c): Likewise.
18934 (CFLAGS-xmount.c): Likewise.
18935 (CFLAGS-xrusers.c): Likewise.
18936 (CFLAGS-xspray.c): Likewise.
18937 (CFLAGS-xnfs_prot.c): Likewise.
18938 (CFLAGS-xrquota.c): Likewise.
18939 (CFLAGS-xkey_prot.c): Likewise.
18940 (CFLAGS-auth_unix.c): Likewise.
18941 (CFLAGS-key_call.c): Likewise.
18942 (CFLAGS-pmap_rmt.c): Likewise.
18943 (CFLAGS-clnt_perr.c): Likewise.
18944 (CFLAGS-openchild.c): Likewise.
18945 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18946 (CFLAGS-msgsnd.c): Likewise.
18947 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18948 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18949 (CFLAGS-tzset.c): Likewise.
18950 (CFLAGS-getdate.c): Likewise.
18951 (CFLAGS-test_time.c): Likewise.
18952 (CPPFLAGS-tst-tzname.c): Likewise.
18953 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18954 (CFLAGS-zic.c): Likewise.
18955 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18956 (CFLAGS-wcswidth.c): Likewise.
18957 (CFLAGS-wcstol.c): Likewise.
18958 (CFLAGS-wcstoul.c): Likewise.
18959 (CFLAGS-wcstoll.c): Likewise.
18960 (CFLAGS-wcstoull.c): Likewise.
18961 (CFLAGS-wcstod.c): Likewise.
18962 (CFLAGS-wcstold.c): Likewise.
18963 (CFLAGS-wcstof128.c): Likewise.
18964 (CFLAGS-wcstof.c): Likewise.
18965 (CFLAGS-wcstol_l.c): Likewise.
18966 (CFLAGS-wcstoul_l.c): Likewise.
18967 (CFLAGS-wcstoll_l.c): Likewise.
18968 (CFLAGS-wcstoull_l.c): Likewise.
18969 (CFLAGS-wcstod_l.c): Likewise.
18970 (CFLAGS-wcstold_l.c): Likewise.
18971 (CFLAGS-wcstof128_l.c): Likewise.
18972 (CFLAGS-wcstof_l.c): Likewise.
18973 (CPPFLAGS-tst-wchar-h.c): Likewise.
18974 (CPPFLAGS-wcstold_l.c): Likewise.
18976 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18978 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18980 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18981 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18983 * manual/tunables.texi (Hardware Capability Tunables): Document
18984 glibc.tune.cached_memopt.
18985 * sysdeps/powerpc/cpu-features.c: New file.
18986 * sysdeps/powerpc/cpu-features.h: New file.
18987 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18988 _dl_powerpc_cpu_features.
18989 * sysdeps/powerpc/dl-tunables.list: New file.
18990 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18991 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18992 (INIT_ARCH): Initialize use_aligned_memopt.
18993 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18994 IS_IN(rtld))]: Restrict dl_platform_init availability and
18995 initialize CPU features used by tunables.
18996 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18997 Add memcpy-power8-cached.
18998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18999 __memcpy_power8_cached.
19000 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19001 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19004 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19006 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19007 (CFLAGS-noinl-tester.c): Likewise.
19008 (CFLAGS-tst-strlen.c): Likewise.
19009 (CFLAGS-stratcliff.c): Likewise.
19010 (CFLAGS-test-ffs.c): Likewise.
19011 (CFLAGS-tst-inlcall.c): Likewise.
19012 (CFLAGS-tst-xbzero-opt.c): Likewise.
19013 (CFLAGS-memcpy.c): Likewise.
19014 (CFLAGS-wordcopy.c): Likewise.
19016 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19018 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19019 Store r15 on stack and add cfi rule.
19020 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19023 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19026 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19029 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19032 Add s_sinf-sse2 and s_sinf-fma.
19033 (CFLAGS-s_sinf-fma.c): New.
19034 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19035 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19036 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19038 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19040 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19042 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19045 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19046 part of result to imaginary part of argument if it is zero and the
19047 real part of the argument is not finite.
19048 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19049 of result to real part of argument if it is zero and the imaginary
19050 part of the argument is not finite.
19052 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19055 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19056 and to the list of locales to be built for testing.
19057 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19058 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19059 and build the collation rules upon that.
19061 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19063 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19064 * manual/math.texi (Mathematics): Document support for _Float32.
19065 * math/Makefile (test-types): Add float32.
19066 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19067 * stdlib/Versions (GLIBC_2.27): Likewise.
19068 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19069 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19070 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19071 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19072 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19073 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19074 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19075 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19076 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19077 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19078 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19079 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19080 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19081 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19082 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19083 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19084 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19085 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19086 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19087 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19088 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19089 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19091 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19093 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19094 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19095 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19113 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19115 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19116 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19117 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19118 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19120 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19122 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19131 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19133 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19135 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19136 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19137 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19138 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19140 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19142 * stdlib/strtof.c: Include <bits/floatn.h>
19143 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19144 and later undefine as macro. Define as weak alias if
19146 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19147 and later undefine as macro. Define as weak alias if
19149 * stdlib/strtof_l.c: Include <bits/floatn.h>
19150 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19151 and later undefine as macro. Define as weak alias if
19153 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19154 and later undefine as macro. Define as weak alias if
19157 * stdlib/strfromf.c: Include <bits/floatn.h>.
19158 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19159 and later undefine as macro and define as weak alias.
19161 * math/test-float32.h: New file.
19163 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19164 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19165 (libm_alias_float_other_r): Create f32 alias.
19166 (libm_alias_float_r): Use semicolon before call to
19167 libm_alias_float_other_r.
19169 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19170 second argument to libm_alias_float_other.
19171 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19172 second argument to libm_alias_float_other.
19173 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19174 argument to libm_alias_float_other.
19177 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19178 real part of result for argument 0 + i * NaN.
19179 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19180 results for tests of 0 + i * NaN.
19182 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19184 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19186 2017-12-06 David S. Miller <davem@davemloft.net>
19188 * sysdeps/sparc/fpu/libm-test-ulps: Update
19189 exp_{downward,towardzero,upward} ulps.
19191 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19193 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19196 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19198 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19205 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19208 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19209 and to the list of locales to be built for testing.
19210 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19211 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19212 and build the collation rules upon that.
19214 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19216 * NEWS: Add sinf to list of optimized functions.
19218 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19220 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19221 (__HAVE_FLOAT32X): Likewise.
19222 * manual/math.texi (Mathematics): Document support for _Float64
19224 * math/Makefile (test-types): Add float64 and float32x.
19225 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19227 * stdlib/Versions (GLIBC_2.27): Likewise.
19228 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19229 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19230 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19231 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19232 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19233 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19234 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19235 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19236 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19237 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19239 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19240 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19241 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19242 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19244 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19245 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19246 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19247 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19248 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19249 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19251 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19252 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19253 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19254 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19255 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19273 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19275 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19276 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19277 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19290 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19291 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19292 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19294 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19295 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19296 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19299 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19301 * bits/floatn-common.h: Include <bits/long-double.h>.
19302 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19303 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19304 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19305 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19306 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19307 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19308 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19309 (__builtin_huge_valf64): Use __builtin_huge_vall.
19310 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19311 (__builtin_inff64): Use __builtin_infl.
19312 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19313 (__builtin_nanf64): Use __builtin_nanl.
19314 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19315 (__builtin_nansf64): Use __builtin_nansl.
19317 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19318 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19319 Carlos O'Donnell <carlos@redhat.com>
19321 * elf/dl-tunables.list: Add elision parameters.
19322 * manual/tunables.texi: Add entries about elision tunable.
19323 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19324 Add callback functions to dynamically enable/disable elision.
19325 Add multiple callbacks functions to set elision parameters.
19326 Deleted __libc_enable_secure check.
19327 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19328 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19329 * configure: Regenerated.
19330 * configure.ac: Option enable_lock_elision was deleted.
19331 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19332 * config.make.in: Remove references to enable_lock_elision.
19333 * manual/install.texi: Elision configure option was removed.
19334 * INSTALL: Regenerated to remove enable_lock_elision.
19336 Disable elision so it can verify error case for destroying a mutex.
19337 * sysdeps/powerpc/nptl/elide.h:
19338 Cleanup ENABLE_LOCK_ELISION check.
19339 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19340 * sysdeps/s390/configure: Regenerated.
19341 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19342 * nptl/tst-mutex8.c:
19343 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19344 * sysdeps/powerpc/powerpc32/sysdep.h:
19345 Deleted all ENABLE_LOCK_ELISION checks.
19346 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19347 * sysdeps/powerpc/sysdep.h: Likewise.
19348 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19349 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19350 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19351 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19352 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19353 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19354 enable-lock-elision.
19356 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19358 * stdlib/strtod.c: Include <bits/floatn.h>.
19359 (BUILD_DOUBLE): New macro.
19360 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19361 (strtof64): Define and later undefine as macro. Define as weak
19362 alias if [!USE_WIDE_CHAR].
19363 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19364 (wcstof64): Define and later undefine as macro. Define as weak
19365 alias if [USE_WIDE_CHAR].
19366 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19367 (strtof32x): Define and later undefine as macro. Define as weak
19368 alias if [!USE_WIDE_CHAR].
19369 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19370 (wcstof32x): Define and later undefine as macro. Define as weak
19371 alias if [USE_WIDE_CHAR].
19372 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19373 (BUILD_DOUBLE): New macro.
19374 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19375 (strtof64_l): Define and later undefine as macro. Define as weak
19376 alias if [!USE_WIDE_CHAR].
19377 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19378 (wcstof64_l): Define and later undefine as macro. Define as weak
19379 alias if [USE_WIDE_CHAR].
19380 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19381 (strtof32x_l): Define and later undefine as macro. Define as weak
19382 alias if [!USE_WIDE_CHAR].
19383 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19384 (wcstof32x_l): Define and later undefine as macro. Define as weak
19385 alias if [USE_WIDE_CHAR].
19387 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19389 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19390 (reduced): Use ones as double instead of integer.
19392 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19394 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19396 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19398 * stdlib/strfromd.c: Include <bits/floatn.h>.
19399 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19400 and later undefine as macro and define as weak alias.
19401 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19404 * math/test-float32x.h: New file.
19405 * math/test-float64.h: Likewise.
19407 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19408 (libm_alias_double_other_r_f64): New macro.
19409 (libm_alias_double_other_r_f32x): Likewise.
19410 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19411 libm_alias_double_other_r_f32x.
19412 (libm_alias_double_r): Use semicolon before call to
19413 libm_alias_double_other_r.
19414 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19416 (libm_alias_double_other_r_f64): New macro.
19417 (libm_alias_double_other_r_f32x): Likewise.
19418 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19419 libm_alias_double_other_r_f32x.
19421 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19423 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19425 (SINF_FUNC): Likewise. Replace floor with simple casts.
19427 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19430 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19431 and to the list of locales to be built for testing.
19432 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19433 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19434 and build the collation rules upon that.
19436 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19438 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19439 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19440 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19441 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19442 instead of __insn__xxx.
19443 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19444 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19445 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19446 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19447 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19448 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19450 2017-12-05 Florian Weimer <fweimer@redhat.com>
19452 Linux: Implement interfaces for memory protection keys
19453 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19455 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19456 * support/xunistd.h (xsysconf): Declare.
19457 * support/xraise.c: New file.
19458 * support/xsigaction.c: Likewise.
19459 * support/xsignal.c: Likewise.
19460 * support/xsysconf.c: Likewise.
19461 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19462 pkey_set, pkey_get, pkey_mprotect.
19463 [misc] (tests): Add tst-pkey.
19464 (tst-pkey): Link with -lpthread.
19465 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19466 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19467 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19468 (PKEY_DISABLE_WRITE): Define.
19469 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19471 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19472 (SEGV_PKUERR): Add.
19473 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19474 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19475 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19476 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19478 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19479 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19480 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19481 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19482 * sysdeps/unix/sysv/linux/**.abilist: Update.
19484 2017-12-05 Florian Weimer <fweimer@redhat.com>
19486 * support/tst-test_compare.c (subprocess): Use long long instead
19487 of long argument for consistent type width across 32-bit and
19488 64-bit architectures.
19489 (do_test): Adjust expected output.
19491 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19493 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19494 (cosf): Define using libm_alias_float.
19495 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19496 (fabsf): Define using libm_alias_float.
19497 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19498 (fmaf): Define using libm_alias_float.
19499 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19500 (rintf): Define using libm_alias_float.
19501 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19502 (sinf): Define using libm_alias_float.
19503 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19504 <libm-alias-float.h>.
19505 (modff): Define using libm_alias_float.
19506 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19507 <libm-alias-float.h>.
19508 (logbf): Define using libm_alias_float.
19509 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19510 <libm-alias-float.h>.
19511 (ceilf): Define using libm_alias_float.
19512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19513 <libm-alias-float.h>.
19514 (copysignf): Define using libm_alias_float.
19515 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19516 <libm-alias-float.h>.
19517 (floorf): Define using libm_alias_float.
19518 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19519 <libm-alias-float.h>.
19520 (llrintf): Define using libm_alias_float.
19521 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19522 <libm-alias-float.h>.
19523 (llroundf): Define using libm_alias_float.
19524 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19525 <libm-alias-float.h>.
19526 (lrintf): Define using libm_alias_float.
19527 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19528 <libm-alias-float.h>.
19529 (lroundf): Define using libm_alias_float.
19530 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19531 <libm-alias-float.h>.
19532 (nearbyintf): Define using libm_alias_float.
19533 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19534 <libm-alias-float.h>.
19535 (rintf): Define using libm_alias_float.
19536 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19537 <libm-alias-float.h>.
19538 (roundf): Define using libm_alias_float.
19539 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19540 <libm-alias-float.h>.
19541 (truncf): Define using libm_alias_float.
19542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19543 Include <libm-alias-float.h>.
19544 (ceilf): Define using libm_alias_float.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19546 Include <libm-alias-float.h>.
19547 (copysignf): Define using libm_alias_float.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19549 Include <libm-alias-float.h>.
19550 (floorf): Define using libm_alias_float.
19551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19552 Include <libm-alias-float.h>.
19553 (llrintf): Define using libm_alias_float.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19555 Include <libm-alias-float.h>.
19556 (llroundf): Define using libm_alias_float.
19557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19558 Include <libm-alias-float.h>.
19559 (logbf): Define using libm_alias_float.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19561 Include <libm-alias-float.h>.
19562 (lrintf): Define using libm_alias_float.
19563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19564 Include <libm-alias-float.h>.
19565 (lroundf): Define using libm_alias_float.
19566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19567 Include <libm-alias-float.h>.
19568 (modff): Define using libm_alias_float.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19570 Include <libm-alias-float.h>.
19571 (roundf): Define using libm_alias_float.
19572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19573 Include <libm-alias-float.h>.
19574 (truncf): Define using libm_alias_float.
19575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19576 <libm-alias-float.h>.
19577 (llrintf): Define using libm_alias_float.
19578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19579 <libm-alias-float.h>.
19580 (llroundf): Define using libm_alias_float.
19581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19582 <libm-alias-float.h>.
19583 (ceilf): Define using libm_alias_float.
19584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19585 <libm-alias-float.h>.
19586 (floorf): Define using libm_alias_float.
19587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19588 <libm-alias-float.h>.
19589 (llroundf): Define using libm_alias_float.
19590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19591 <libm-alias-float.h>.
19592 (lroundf): Define using libm_alias_float.
19593 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19594 <libm-alias-float.h>.
19595 (roundf): Define using libm_alias_float.
19596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19597 <libm-alias-float.h>.
19598 (truncf): Define using libm_alias_float.
19599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19600 <libm-alias-float.h>.
19601 (copysignf): Define using libm_alias_float.
19602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19603 <libm-alias-float.h>.
19604 (llrintf): Define using libm_alias_float.
19605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19606 <libm-alias-float.h>.
19607 (llroundf): Define using libm_alias_float.
19608 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19609 <libm-alias-float.h>.
19610 (lrintf): Define using libm_alias_float.
19611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19612 <libm-alias-float.h>.
19613 (lroundf): Define using libm_alias_float.
19614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19615 <libm-alias-float.h>.
19616 (ceilf): Define using libm_alias_float.
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19618 <libm-alias-float.h>.
19619 (copysignf): Define using libm_alias_float.
19620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19621 <libm-alias-float.h>.
19622 (cosf): Define using libm_alias_float.
19623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19624 <libm-alias-float.h>.
19625 (floorf): Define using libm_alias_float.
19626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19627 <libm-alias-float.h>.
19628 (llrintf): Define using libm_alias_float.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19630 <libm-alias-float.h>.
19631 (llroundf): Define using libm_alias_float.
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19633 <libm-alias-float.h>.
19634 (logbf): Define using libm_alias_float.
19635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19636 <libm-alias-float.h>.
19637 (modff): Define using libm_alias_float.
19638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19639 <libm-alias-float.h>.
19640 (roundf): Define using libm_alias_float.
19641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19642 <libm-alias-float.h>.
19643 (sinf): Define using libm_alias_float.
19644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19645 <libm-alias-float.h>.
19646 (truncf): Define using libm_alias_float.
19647 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19648 <libm-alias-float.h>.
19649 (ceilf): Define using libm_alias_float.
19650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19651 <libm-alias-float.h>.
19652 (copysignf): Define using libm_alias_float.
19653 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19654 <libm-alias-float.h>.
19655 (floorf): Define using libm_alias_float.
19656 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19657 <libm-alias-float.h>.
19658 (llrintf): Define using libm_alias_float.
19659 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19660 <libm-alias-float.h>.
19661 (llroundf): Define using libm_alias_float.
19662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19663 <libm-alias-float.h>.
19664 (nearbyintf): Define using libm_alias_float.
19665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19666 <libm-alias-float.h>.
19667 (rintf): Define using libm_alias_float.
19668 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19669 <libm-alias-float.h>.
19670 (roundf): Define using libm_alias_float.
19671 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19672 <libm-alias-float.h>.
19673 (truncf): Define using libm_alias_float.
19674 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19675 <libm-alias-float.h>.
19676 (ceilf): Define using libm_alias_float.
19677 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19678 <libm-alias-float.h>.
19679 (floorf): Define using libm_alias_float.
19680 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19681 <libm-alias-float.h>.
19682 (llroundf): Define using libm_alias_float.
19683 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19684 <libm-alias-float.h>.
19685 (roundf): Define using libm_alias_float.
19686 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19687 <libm-alias-float.h>.
19688 (truncf): Define using libm_alias_float.
19689 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19690 <libm-alias-float.h>.
19691 (copysignf): Define using libm_alias_float.
19692 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19693 <libm-alias-float.h>.
19694 (llrintf): Define using libm_alias_float.
19695 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19696 <libm-alias-float.h>.
19697 (llroundf): Define using libm_alias_float.
19698 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19699 <libm-alias-float.h>.
19700 (cosf): Define using libm_alias_float.
19701 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19702 <libm-alias-float.h>.
19703 (llrintf): Define using libm_alias_float.
19704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19705 <libm-alias-float.h>.
19706 (llroundf): Define using libm_alias_float.
19707 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19708 <libm-alias-float.h>.
19709 (sinf): Define using libm_alias_float.
19711 2017-12-04 Florian Weimer <fweimer@redhat.com>
19713 * support/check.h (TEST_COMPARE): Define.
19714 (support_test_compare_failure): Declare.
19715 * support/Makefile (libsupport-routines): Add
19716 support_test_compare_failure.
19717 (tests): Add tst-test_compare.
19718 * support /support_test_compare_failure.c: New file.
19719 * support/tst-test_compare.c: Likewise.
19721 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19724 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19725 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19726 available, this rewrite of the collation rules does reproduce
19727 the test file in the same order.
19729 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19732 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19733 digraphs in the month and day names. Using single code points for
19734 digraphs is deprecated. While there are dedicated Unicode
19735 codepoints, for the digraphs, these are included for backwards
19736 compatibility and modern texts use a sequence of Basic Latin
19737 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19738 This makes the month and day names agree exactly with CLDR now,
19739 CLDR does not use the single code points for the digraphs either.
19741 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19743 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19745 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19747 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19750 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19752 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19753 Define only for libc.so.
19755 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19758 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19759 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19760 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19763 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19766 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19768 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19771 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19772 PREINIT_FUNCTION_WEAK is nonzero.
19773 (gmon_initializer): New function. Put procedure label for it in
19774 .init_array section.
19775 (_init): Don't call PREINIT_FUNCTION.
19776 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19777 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19778 value when map argument is null.
19780 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19781 depi instruction from PIC pc-relative sequence.
19782 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19783 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19784 (elf_machine_load_address): Likewise.
19785 (elf_machine_runtime_setup): Likewise.
19787 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19789 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19790 <libm-alias-double.h>.
19791 (logb): Define using libm_alias_double.
19792 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19793 <libm-alias-double.h>.
19794 (copysign): Define using libm_alias_double.
19795 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19796 <libm-alias-double.h>.
19797 (llrint): Define using libm_alias_double.
19798 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19799 <libm-alias-double.h>.
19800 (llround): Define using libm_alias_double.
19801 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19802 <libm-alias-double.h>.
19803 (lrint): Define using libm_alias_double.
19804 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19805 <libm-alias-double.h>.
19806 (lround): Define using libm_alias_double.
19807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19808 Include <libm-alias-double.h>.
19809 (copysign): Define using libm_alias_double.
19810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19811 Include <libm-alias-double.h>.
19812 (llrint): Define using libm_alias_double.
19813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19814 Include <libm-alias-double.h>.
19815 (llround): Define using libm_alias_double.
19816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19817 <libm-alias-double.h>.
19818 (logb): Define using libm_alias_double.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19820 Include <libm-alias-double.h>.
19821 (lrint): Define using libm_alias_double.
19822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19823 Include <libm-alias-double.h>.
19824 (lround): Define using libm_alias_double.
19825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19826 <libm-alias-double.h>.
19827 (llrint): Define using libm_alias_double.
19828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19829 <libm-alias-double.h>.
19830 (llround): Define using libm_alias_double.
19831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19832 <libm-alias-double.h>.
19833 (llround): Define using libm_alias_double.
19834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19835 <libm-alias-double.h>.
19836 (lround): Define using libm_alias_double.
19837 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19838 <libm-alias-double.h>.
19839 (copysign): Define using libm_alias_double.
19840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19841 <libm-alias-double.h>.
19842 (llrint): Define using libm_alias_double.
19843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19844 <libm-alias-double.h>.
19845 (llround): Define using libm_alias_double.
19846 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19847 <libm-alias-double.h>.
19848 (lrint): Define using libm_alias_double.
19849 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19850 <libm-alias-double.h>.
19851 (lround): Define using libm_alias_double.
19852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19853 <libm-alias-double.h>.
19854 (copysign): Define using libm_alias_double.
19855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19856 <libm-alias-double.h>.
19857 (llrint): Define using libm_alias_double.
19859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19860 <libm-alias-double.h>.
19861 (llround): Define using libm_alias_double.
19862 (lround): Likewise.
19863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19864 <libm-alias-double.h>.
19865 (logb): Define using libm_alias_double.
19866 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19867 <libm-alias-double.h>.
19868 (copysign): Define using libm_alias_double.
19869 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19870 <libm-alias-double.h>.
19871 (llrint): Define using libm_alias_double.
19873 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19874 <libm-alias-double.h>.
19875 (llround): Define using libm_alias_double.
19876 (lround): Likewise.
19877 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19878 <libm-alias-double.h>.
19879 (llround): Define using libm_alias_double.
19880 (lround): Likewise.
19881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19882 <libm-alias-double.h>.
19883 (copysign): Define using libm_alias_double.
19884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19885 <libm-alias-double.h>.
19886 (llrint): Define using libm_alias_double.
19888 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19889 <libm-alias-double.h>.
19890 (llround): Define using libm_alias_double.
19891 (lround): Likewise.
19892 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19893 <libm-alias-double.h>.
19894 (llrint): Define using libm_alias_double.
19896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19897 <libm-alias-double.h>.
19898 (llround): Define using libm_alias_double.
19899 (lround): Likewise.
19901 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19904 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19905 compat symbol based on llround.
19907 * sysdeps/powerpc/power7/fpu/s_logb.c
19908 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19909 symbol based on __logb, not on logb.
19910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19911 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19913 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19915 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19916 (rint): Define using libm_alias_double.
19917 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19918 <libm-alias-double.h>.
19919 (modf): Define using libm_alias_double.
19920 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19921 <libm-alias-double.h>.
19922 (ceil): Define using libm_alias_double.
19923 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19924 <libm-alias-double.h>.
19925 (floor): Define using libm_alias_double.
19926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19927 <libm-alias-double.h>.
19928 (nearbyint): Define using libm_alias_double.
19929 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19930 <libm-alias-double.h>.
19931 (rint): Define using libm_alias_double.
19932 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19933 <libm-alias-double.h>.
19934 (round): Define using libm_alias_double.
19935 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19936 <libm-alias-double.h>.
19937 (trunc): Define using libm_alias_double.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19939 <libm-alias-double.h>.
19940 (ceil): Define using libm_alias_double.
19941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19942 Include <libm-alias-double.h>.
19943 (floor): Define using libm_alias_double.
19944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19945 <libm-alias-double.h>.
19946 (modf): Define using libm_alias_double.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19948 Include <libm-alias-double.h>.
19949 (round): Define using libm_alias_double.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19951 Include <libm-alias-double.h>.
19952 (trunc): Define using libm_alias_double.
19953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19954 <libm-alias-double.h>.
19955 (ceil): Define using libm_alias_double.
19956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19957 <libm-alias-double.h>.
19958 (floor): Define using libm_alias_double.
19959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19960 <libm-alias-double.h>.
19961 (round): Define using libm_alias_double.
19962 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19963 <libm-alias-double.h>.
19964 (trunc): Define using libm_alias_double.
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19966 <libm-alias-double.h>.
19967 (ceil): Define using libm_alias_double.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19969 <libm-alias-double.h>.
19970 (floor): Define using libm_alias_double.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19972 <libm-alias-double.h>.
19973 (modf): Define using libm_alias_double.
19974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19975 <libm-alias-double.h>.
19976 (round): Define using libm_alias_double.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19978 <libm-alias-double.h>.
19979 (trunc): Define using libm_alias_double.
19980 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19981 <libm-alias-double.h>.
19982 (ceil): Define using libm_alias_double.
19983 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19984 <libm-alias-double.h>.
19985 (floor): Define using libm_alias_double.
19986 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19987 <libm-alias-double.h>.
19988 (nearbyint): Define using libm_alias_double.
19989 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19990 <libm-alias-double.h>.
19991 (rint): Define using libm_alias_double.
19992 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19993 <libm-alias-double.h>.
19994 (round): Define using libm_alias_double.
19995 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19996 <libm-alias-double.h>.
19997 (trunc): Define using libm_alias_double.
19998 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19999 <libm-alias-double.h>.
20000 (ceil): Define using libm_alias_double.
20001 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20002 <libm-alias-double.h>.
20003 (floor): Define using libm_alias_double.
20004 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20005 <libm-alias-double.h>.
20006 (round): Define using libm_alias_double.
20007 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20008 <libm-alias-double.h>.
20009 (trunc): Define using libm_alias_double.
20011 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20012 (fabs): Define using libm_alias_double.
20013 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20014 (fma): Define using libm_alias_double.
20015 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20016 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20017 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20018 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20020 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20022 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20024 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20025 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20026 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20029 due redirect macro.
20031 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20033 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20035 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20037 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20038 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20039 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20040 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20043 (libm-sysdep_routines): Add s_nearbyintf-generic and
20044 s_nearbyint-generic.
20045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20058 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20069 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20080 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20091 (sysdep_calls): New rule.
20092 (sysdep_routines): Use sysdep_calls as base.
20093 (libm-sysdep_routines): Add generic rule for symbols shared with
20094 libc. Add s_copysign-generic and s_copysign-generic objects.
20095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20104 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20107 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20108 the list of locales to be built for testing.
20109 * localedata/is_IS.UTF-8.in: New file.
20110 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20113 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20115 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20116 <libm-alias-float.h>.
20117 (fabsf): Define using libm_alias_float.
20119 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20121 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20123 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20125 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20126 <libm-alias-float.h>.
20127 (fabsf): Define using libm_alias_float.
20128 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20129 <libm-alias-float.h>.
20130 (lrintf): Define using libm_alias_float.
20131 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20132 <libm-alias-float.h>.
20133 (rintf): Define using libm_alias_float.
20135 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20136 <libm-alias-double.h>.
20137 (fabs): Define using libm_alias_double.
20138 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20139 <libm-alias-double.h>.
20140 (lrint): Define using libm_alias_double.
20141 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20142 <libm-alias-double.h>.
20143 (rint): Define using libm_alias_double.
20145 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20146 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20147 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20148 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20149 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20150 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20151 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20152 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20153 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20154 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20155 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20156 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20157 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20158 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20159 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20160 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20161 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20162 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20164 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20165 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20166 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20168 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20169 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20170 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20172 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20173 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20174 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20175 s_expm1_template.c.
20176 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20177 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20178 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20180 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20181 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20182 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20183 s_floor_template.c.
20184 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20185 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20186 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20187 s_frexp_template.c.
20188 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20189 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20190 s_lrint_template.c.
20191 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20192 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20193 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20195 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20196 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20197 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20198 s_nearbyint_template.c.
20199 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20200 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20201 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20202 s_remquo_template.c.
20203 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20204 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20205 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20207 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20208 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20209 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20211 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20212 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20213 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20214 s_sincos_template.c.
20215 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20216 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20217 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20219 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20220 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20221 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20223 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20224 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20225 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20226 s_trunc_template.c.
20227 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20228 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20229 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20230 s_atan.c instead of including s_atan.c.
20231 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20232 s_atanf.c instead of including s_atanf.c.
20233 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20234 s_atanl.c instead of including s_atanl.c.
20235 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20236 instead of s_atan.c.
20237 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20238 instead of s_atanf.c.
20239 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20240 instead of s_atanl.c.
20242 * scripts/update-copyrights: Do not handle intl/plural.c
20245 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20248 * configure.ac (BISON): Require to be present.
20249 * configure: Regenerated.
20250 * intl/Makefile (generated): Add plural.c.
20251 [$(BISON) != no]: Make code unconditional.
20252 (plural.c): Change rule to $(objpfx)plural.c.
20253 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20254 * intl/plural.c: Remove.
20255 * manual/install.texi (Tools for Compilation): Document bison as
20257 * INSTALL: Regenerated.
20259 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20261 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20262 <libm-alias-double.h>.
20263 (llrint): Define using libm_alias_double.
20264 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20265 <libm-alias-float.h>.
20266 (llrintf): Define using libm_alias_float.
20267 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20268 <libm-alias-ldouble.h>.
20269 (llrintl): Define using libm_alias_ldouble.
20271 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20272 declare_mgen_alias instead of weak_alias.
20273 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20274 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20275 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20277 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20279 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20281 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20282 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20283 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20285 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20286 Add submul_1-generic.
20287 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20288 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20289 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20291 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20292 Add addmul_1-generic.
20293 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20294 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20297 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20299 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20300 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20301 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20303 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20305 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20306 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20307 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20309 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20311 According to CLDR, collation rules for Serbian and Bosnian
20312 should be the same as for Croatian.
20315 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20316 and to the list of locales to be built for testing.
20317 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20318 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20319 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20320 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20322 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20324 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20325 to make test case pass.
20326 * localedata/hr_HR.UTF-8.in: Add more test strings.
20328 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20330 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20332 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20334 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20335 the list of locales to built for testing.
20336 * localedata/hr_HR.UTF-8.in: New file.
20338 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20341 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20343 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20344 CLDR (except use ligatures for the digraphs, CLDR does not use
20345 the ligatures), add first_workday, some fixes in the date and time
20347 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20349 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20350 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20351 Add int_p_cs_precedes and int_n_cs_precedes.
20352 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20353 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20355 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20356 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20358 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20359 and lang_lib. Change postal_fmt.
20361 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20363 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20365 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20366 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20367 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20368 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20369 * sysdeps/generic/setjmpP.h: New file.
20370 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20371 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20372 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20373 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20374 Add jmp_buf-ssp.sym.
20375 (tests): Add tst-saved_mask-1.
20377 2017-11-30 Arjun Shankar <arjun@redhat.com>
20381 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20382 instead of request2size.
20384 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20387 (__lllrint): Remove alias.
20388 (lllrint): Likewise.
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20390 (__lllrintf): Likewise.
20391 (lllrintf): Likewise.
20393 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20394 <libm-alias-float.h>.
20395 (copysignf): Define using libm_alias_float.
20396 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20397 <libm-alias-float.h>.
20398 (fabsf): Define using libm_alias_float.
20399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20400 Include <libm-alias-float.h>.
20401 (copysignf): Define using libm_alias_float.
20402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20403 <libm-alias-float.h>.
20404 (fabsf): Define using libm_alias_float.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20406 <libm-alias-float.h>.
20407 (fdimf): Define using libm_alias_float.
20408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20409 <libm-alias-float.h>.
20410 (fmaf): Define using libm_alias_float.
20411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20412 <libm-alias-float.h>.
20413 (llrintf): Define using libm_alias_float.
20414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20415 Include <libm-alias-float.h>.
20416 (nearbyintf): Define using libm_alias_float.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20418 <libm-alias-float.h>.
20419 (rintf): Define using libm_alias_float.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20421 <libm-alias-float.h>.
20422 (llrintf): Define using libm_alias_float.
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20424 <libm-alias-float.h>.
20425 (lrintf): Define using libm_alias_float.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20427 <libm-alias-float.h>.
20428 (nearbyintf): Define using libm_alias_float.
20429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20430 <libm-alias-float.h>.
20431 (rintf): Define using libm_alias_float.
20432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20433 <libm-alias-float.h>.
20434 (ceilf): Define using libm_alias_float.
20435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20436 <libm-alias-float.h>.
20437 (floorf): Define using libm_alias_float.
20438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20439 <libm-alias-float.h>.
20440 (fmaf): Define using libm_alias_float.
20441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20442 <libm-alias-float.h>.
20443 (lrintf): Define using libm_alias_float.
20444 (llrintf): Likewise.
20445 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20446 <libm-alias-float.h>.
20447 (nearbyintf): Define using libm_alias_float.
20448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20449 <libm-alias-float.h>.
20450 (rintf): Define using libm_alias_float.
20451 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20452 <libm-alias-float.h>.
20453 (truncf): Define using libm_alias_float.
20454 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20455 <libm-alias-float.h>.
20456 (copysignf): Define using libm_alias_float.
20457 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20458 <libm-alias-float.h>.
20459 (fabsf): Define using libm_alias_float.
20460 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20461 <libm-alias-float.h>.
20462 (lrintf): Define using libm_alias_float.
20463 (llrintf): Likewise.
20464 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20465 <libm-alias-float.h>.
20466 (nearbyintf): Define using libm_alias_float.
20467 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20468 <libm-alias-float.h>.
20469 (rintf): Define using libm_alias_float.
20471 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20473 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20474 <libm-alias-double.h>.
20475 (copysign): Define using libm_alias_double.
20476 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20477 <libm-alias-double.h>.
20478 (fabs): Define using libm_alias_double.
20479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20480 Include <libm-alias-double.h>.
20481 (copysign): Define using libm_alias_double.
20482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20483 <libm-alias-double.h>.
20484 (fabs): Define using libm_alias_double.
20485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20486 <libm-alias-double.h>.
20487 (fdim): Define using libm_alias_double.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20489 <libm-alias-double.h>.
20490 (fma): Define using libm_alias_double.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20492 <libm-alias-double.h>.
20493 (llrint): Define using libm_alias_double.
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20495 Include <libm-alias-double.h>.
20496 (nearbyint): Define using libm_alias_double.
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20498 <libm-alias-double.h>.
20499 (rint): Define using libm_alias_double.
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20501 <libm-alias-double.h>.
20502 (fabs): Define using libm_alias_double.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20504 <libm-alias-double.h>.
20505 (llrint): Define using libm_alias_double.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20507 <libm-alias-double.h>.
20508 (nearbyint): Define using libm_alias_double.
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20510 <libm-alias-double.h>.
20511 (rint): Define using libm_alias_double.
20512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20513 <libm-alias-double.h>.
20514 (ceil): Define using libm_alias_double.
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20516 <libm-alias-double.h>.
20517 (floor): Define using libm_alias_double.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20519 <libm-alias-double.h>.
20520 (fma): Define using libm_alias_double.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20522 <libm-alias-double.h>.
20523 (lrint): Define using libm_alias_double.
20524 (llrint): Likewise.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20526 <libm-alias-double.h>.
20527 (nearbyint): Define using libm_alias_double.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20529 <libm-alias-double.h>.
20530 (rint): Define using libm_alias_double.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20532 <libm-alias-double.h>.
20533 (trunc): Define using libm_alias_double.
20534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20535 <libm-alias-double.h>.
20536 (copysign): Define using libm_alias_double.
20537 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20538 <libm-alias-double.h>.
20539 (fabs): Define using libm_alias_double.
20540 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20541 <libm-alias-double.h>.
20542 (lrint): Define using libm_alias_double.
20543 (llrint): Likewise.
20544 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20545 <libm-alias-double.h>.
20546 (nearbyint): Define using libm_alias_double.
20547 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20548 <libm-alias-double.h>.
20549 (rint): Define using libm_alias_double.
20552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20554 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20556 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20557 SPARC --disable-multi-arch glibc variants.
20559 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20560 <libm-alias-float.h>.
20561 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20563 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20564 <libm-alias-float.h>.
20565 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20567 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20568 <libm-alias-float.h>.
20569 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20571 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20572 <libm-alias-float.h>.
20573 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20575 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20576 <libm-alias-float.h>.
20577 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20579 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20580 <libm-alias-float.h>.
20581 (ceilf): Define using libm_alias_float.
20582 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20583 <libm-alias-float.h>.
20584 (floorf): Define using libm_alias_float.
20585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20586 <libm-alias-float.h>.
20587 (fmaf): Define using libm_alias_float.
20588 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20589 <libm-alias-float.h>.
20590 (nearbyintf): Define using libm_alias_float.
20591 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20592 <libm-alias-float.h>.
20593 (rintf): Define using libm_alias_float.
20594 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20595 <libm-alias-float.h>.
20596 (truncf): Define using libm_alias_float.
20597 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20598 (copysignf): Define using libm_alias_float.
20599 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20600 (cosf): Define using libm_alias_float.
20601 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20602 (fabsf): Define using libm_alias_float.
20603 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20604 (fmaxf): Define using libm_alias_float.
20605 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20606 (fminf): Define using libm_alias_float.
20607 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20608 (llrintf): Define using libm_alias_float.
20609 [!__ILP32__] (lrintf): Likewise.
20610 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20611 (sincosf): Define using libm_alias_float.
20612 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20613 (sinf): Define using libm_alias_float.
20614 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20615 (lrintf): Define using libm_alias_float.
20617 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20618 <libm-alias-double.h>.
20619 (atan): Define using libm_alias_double.
20620 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20621 <libm-alias-double.h>.
20622 (ceil): Define using libm_alias_double.
20623 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20624 <libm-alias-double.h>.
20625 (floor): Define using libm_alias_double.
20626 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20627 <libm-alias-double.h>.
20628 (fma): Define using libm_alias_double.
20629 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20630 <libm-alias-double.h>.
20631 (nearbyint): Define using libm_alias_double.
20632 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20633 <libm-alias-double.h>.
20634 (rint): Define using libm_alias_double.
20635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20636 <libm-alias-double.h>.
20637 (sin): Define using libm_alias_double.
20639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20640 <libm-alias-double.h>.
20641 (tan): Define using libm_alias_double.
20642 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20643 <libm-alias-double.h>.
20644 (trunc): Define using libm_alias_double.
20645 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20646 (copysign): Define using libm_alias_double.
20647 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20648 (fabs): Define using libm_alias_double.
20649 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20650 (fmax): Define using libm_alias_double.
20651 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20652 (fmin): Define using libm_alias_double.
20653 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20654 (llrint): Define using libm_alias_double.
20655 [!__ILP32__] (lrint): Likewise.
20656 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20657 (lrint): Define using libm_alias_double.
20659 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20662 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20672 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20682 (libm-sysdep_routines): Add s_nearbyint-generic and
20683 s_nearbyintf-generic objects.
20684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20686 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20689 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20692 Add s_finitef-generic and s_finite-generic objects.
20693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20701 Add s_isinff-generic and s_isinf-generic objects.
20702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20710 Add s_isnanf-generic and s_isnan-generic objects.
20711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20718 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20722 (sysdep_routines): Use sysdep_calls as base.
20723 (libm-sysdep_routines): Add generic rule for symbols shared with
20724 libc. Add s_signbit-generic and s_signbitf-generic objects.
20725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20732 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20734 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20735 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20736 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20737 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20738 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20739 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20740 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20741 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20742 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20743 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20744 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20745 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20746 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20747 libm_alias_float_r.
20748 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20749 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20751 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20752 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20753 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20754 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20755 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20756 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20757 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20758 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20759 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20760 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20762 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20764 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20765 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20766 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20767 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20768 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20769 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20770 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20771 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20772 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20773 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20774 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20775 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20776 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20777 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20778 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20779 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20780 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20781 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20782 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20784 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20785 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20786 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20787 * sysdeps/ia64/fpu/w_lgammaf_main.c
20788 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20789 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20791 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20792 Alexandre Oliva <aoliva@redhat.com>
20795 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20796 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20798 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20800 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20801 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20802 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20803 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20804 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20805 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20806 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20807 instead of “ifdef DIACRIT_BACKWARD”.
20809 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20811 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20812 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20813 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20814 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20815 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20816 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20823 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20824 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20825 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20826 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20827 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20828 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20830 ($(have-as-vis3) == yes): Remove conditional.
20831 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20847 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20848 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20850 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20852 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20853 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20854 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20855 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20856 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20857 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20858 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20859 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20860 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20861 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20862 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20863 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20864 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20865 libm_alias_double_r.
20866 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20868 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20869 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20870 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20871 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20872 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20873 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20874 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20875 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20876 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20877 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20878 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20880 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20882 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20883 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20884 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20885 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20886 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20887 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20888 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20889 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20890 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20891 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20892 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20893 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20894 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20895 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20896 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20897 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20898 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20899 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20901 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20902 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20903 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20904 * sysdeps/ia64/fpu/w_lgamma_main.c
20905 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20906 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20908 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20910 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20911 address of $global$ into %dp register earlier. Use pc-relative
20912 instruction sequence for PIC case.
20914 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20916 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20917 (asinhf): Define using libm_alias_float.
20918 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20919 (atanf): Define using libm_alias_float.
20920 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20921 (cbrtf): Define using libm_alias_float.
20922 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20923 (ceilf): Define using libm_alias_float.
20924 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20925 (copysignf): Define using libm_alias_float.
20926 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20927 (expm1f): Define using libm_alias_float.
20928 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20929 (fabsf): Define using libm_alias_float.
20930 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20931 (floorf): Define using libm_alias_float.
20932 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20933 (fmaxf): Define using libm_alias_float.
20934 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20935 (fminf): Define using libm_alias_float.
20936 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20937 (frexpf): Define using libm_alias_float.
20938 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20939 (llrintf): Define using libm_alias_float.
20940 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20941 (logbf): Define using libm_alias_float.
20942 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20943 (lrintf): Define using libm_alias_float.
20944 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20945 (nearbyintf): Define using libm_alias_float.
20946 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20947 (remquof): Define using libm_alias_float.
20948 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20949 (rintf): Define using libm_alias_float.
20950 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20951 (truncf): Define using libm_alias_float.
20952 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20953 <libm-alias-float.h>.
20954 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20956 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20957 <libm-alias-float.h>.
20958 (expf): Define using libm_alias_float, or libm_alias_float_other
20960 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20961 <libm-alias-float.h>.
20962 (log2f): Define using libm_alias_float, or libm_alias_float_other
20964 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20965 <libm-alias-float.h>.
20966 (logf): Define using libm_alias_float, or libm_alias_float_other
20968 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20969 <libm-alias-float.h>.
20970 (powf): Define using libm_alias_float, or libm_alias_float_other
20972 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20973 <libm-alias-float.h>.
20974 (cosf): Define using libm_alias_float.
20975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20976 <libm-alias-float.h>.
20977 (sincosf): Define using libm_alias_float.
20978 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20979 <libm-alias-float.h>.
20980 (sinf): Define using libm_alias_float.
20981 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20982 (fmaxf): Define using libm_alias_float.
20983 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20984 (fminf): Define using libm_alias_float.
20985 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20986 <libm-alias-float.h>.
20987 (fmaf): Define using libm_alias_float.
20989 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20990 (asinh): Define using libm_alias_double.
20991 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20992 (atan): Define using libm_alias_double.
20993 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20994 (cbrt): Define using libm_alias_double.
20995 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20996 (ceil): Define using libm_alias_double.
20997 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20998 (copysign): Define using libm_alias_double.
20999 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21000 (expm1): Define using libm_alias_double.
21001 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21002 (fabs): Define using libm_alias_double.
21003 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21004 (fdim): Define using libm_alias_double.
21005 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21006 (floor): Define using libm_alias_double.
21007 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21008 (fmax): Define using libm_alias_double.
21009 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21010 (fmin): Define using libm_alias_double.
21011 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21012 (frexp): Define using libm_alias_double.
21013 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21014 (llrint): Define using libm_alias_double.
21015 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21016 (logb): Define using libm_alias_double.
21017 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21018 (lrint): Define using libm_alias_double.
21019 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21020 (nearbyint): Define using libm_alias_double.
21021 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21022 (remquo): Define using libm_alias_double.
21023 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21024 (rint): Define using libm_alias_double.
21025 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21026 (trunc): Define using libm_alias_double.
21027 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21028 (fmax): Define using libm_alias_double.
21029 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21030 (fmin): Define using libm_alias_double.
21031 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21032 (fma): Define using libm_alias_double.
21034 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21037 * elf/dl-hwcaps.c (ROUND): Removed.
21038 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21039 and ELF_NOTE_NEXT_OFFSET.
21040 * elf/dl-load.c (ROUND): Removed.
21041 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21042 * elf/readelflib.c (ROUND): Removed.
21043 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21044 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21045 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21046 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21048 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21050 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21051 [!__fmaf] (fmaf): Define using libm_alias_float.
21053 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21054 [!__fma] (fma): Define using libm_alias_double.
21055 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21057 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21060 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21061 and implement the collation rules for cs from CLDR on top of that.
21062 * Makefile: Add cs_CZ.UTF-8 to test-input.
21063 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21065 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21067 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21069 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21070 Icarus Sparry <icarus.w.sparry@intel.com>
21072 * benchtests/Makefile:Add BENCHSET to allow subsets of
21073 benchmarks to be run.
21074 * benchtests/README: Add documentation for: Running subsets of
21077 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21079 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21080 range of tests names.
21082 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21083 result from property and remove "max", min" and "mean" from
21084 required properties based on benchtests/bench-skeleton.c.
21086 2017-11-28 Florian Weimer <fweimer@redhat.com>
21089 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21090 due to Internet requirement.
21091 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21093 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21095 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21097 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21098 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21099 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21100 (sysdep_routines): Add memset-ultra1.
21101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21103 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21104 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21105 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21106 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21107 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21108 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21109 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21112 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21114 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21115 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21116 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21117 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21118 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21119 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21120 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21122 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21123 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21124 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21125 (sysdep_routines): Add memcpy-ultra1.
21126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21127 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21129 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21131 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21132 (cfloat_versions): Take function argument without trailing 'f'.
21133 Call libm_alias_float_other.
21134 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21135 * sysdeps/alpha/fpu/cargf.c: Likewise.
21136 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21137 * sysdeps/alpha/fpu/conjf.c: Likewise.
21138 * sysdeps/alpha/fpu/crealf.c: Likewise.
21139 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21140 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21141 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21142 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21143 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21144 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21145 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21146 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21147 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21148 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21149 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21150 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21151 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21152 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21153 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21154 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21155 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21156 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21157 (clog10f): Use libm_alias_float_other.
21158 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21159 (ceilf): Define using libm_alias_float.
21160 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21161 (copysignf): Define using libm_alias_float.
21162 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21163 (fabsf): Define using libm_alias_float.
21164 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21165 (floorf): Define using libm_alias_float.
21166 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21167 (fmaxf): Define using libm_alias_float.
21168 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21169 (fminf): Define using libm_alias_float.
21170 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21171 (lrintf): Define using libm_alias_float.
21172 (llrintf): Likewise.
21173 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21174 (lroundf): Define using libm_alias_float.
21175 (llroundf): Likewise.
21176 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21177 (rintf): Define using libm_alias_float.
21178 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21179 (truncf): Define using libm_alias_float.
21181 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21182 (ceilf): Define using libm_alias_float.
21183 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21184 (floorf): Define using libm_alias_float.
21185 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21186 (fmaf): Define using libm_alias_float.
21187 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21188 (fmaxf): Define using libm_alias_float.
21189 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21190 (fminf): Define using libm_alias_float.
21191 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21192 (llrintf): Define using libm_alias_float.
21193 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21194 (llroundf): Define using libm_alias_float.
21195 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21196 (lrintf): Define using libm_alias_float.
21197 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21198 (lroundf): Define using libm_alias_float.
21199 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21200 <libm-alias-float.h>.
21201 (nearbyintf): Define using libm_alias_float.
21202 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21203 (rintf): Define using libm_alias_float.
21204 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21205 (roundf): Define using libm_alias_float.
21206 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21207 (truncf): Define using libm_alias_float.
21209 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21210 (ceil): Define using libm_alias_double.
21211 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21212 (copysign): Define using libm_alias_double.
21213 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21214 (fabs): Define using libm_alias_double.
21215 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21216 (floor): Define using libm_alias_double.
21217 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21218 (fmax): Define using libm_alias_double.
21219 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21220 (fmin): Define using libm_alias_double.
21221 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21222 (lrint): Define using libm_alias_double.
21223 (llrint): Likewise.
21224 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21225 (lround): Define using libm_alias_double.
21226 (llround): Likewise.
21227 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21228 (rint): Define using libm_alias_double.
21229 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21230 (trunc): Define using libm_alias_double.
21232 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21233 (libm_alias_double_r): Add semicolon after weak_alias call.
21235 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21237 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21238 (ceil): Define using libm_alias_double.
21239 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21240 (floor): Define using libm_alias_double.
21241 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21242 (fma): Define using libm_alias_double.
21243 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21244 (fmax): Define using libm_alias_double.
21245 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21246 (fmin): Define using libm_alias_double.
21247 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21248 (llrint): Define using libm_alias_double.
21249 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21250 (llround): Define using libm_alias_double.
21251 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21252 (lrint): Define using libm_alias_double.
21253 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21254 (lround): Define using libm_alias_double.
21255 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21256 (nearbyint): Define using libm_alias_double.
21257 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21258 (rint): Define using libm_alias_double.
21259 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21260 (round): Define using libm_alias_double.
21261 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21262 (trunc): Define using libm_alias_double.
21264 2017-11-27 Florian Weimer <fweimer@redhat.com>
21266 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21267 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21268 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21269 (tests): Add tst-mlock2.
21270 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21272 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21273 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21274 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21275 for mlock. Document mlock2.
21277 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21279 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21280 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21282 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21284 * sysdeps/x86/Makeconfig: New file.
21285 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21286 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21287 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21288 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21289 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21290 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21291 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21293 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21294 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21295 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21296 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21297 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21298 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21299 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21300 * manual/math.texi (Mathematics): Document support for _Float64x.
21301 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21302 * stdlib/Versions (GLIBC_2.27): Likewise.
21303 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21304 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21305 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21306 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21307 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21310 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21311 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21312 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21314 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21319 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21320 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21325 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21328 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21331 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21332 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21334 2017-11-27 Andreas Schwab <schwab@suse.de>
21336 * elf/Makefile (dl-routines): Add dl-sort-maps.
21337 * elf/dl-sort-maps.c: New file.
21338 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21339 (_dl_sort_maps): Declare.
21340 * elf/dl-fini.c (_dl_sort_fini): Remove.
21341 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21342 * elf/dl-close.c (_dl_close_worker): Likewise.
21343 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21345 * elf/dl-open.c (dl_open_worker): Likewise.
21347 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21349 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21350 using libm_alias_float128.
21351 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21353 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21355 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21356 (setpayloadsigf128): Likewise.
21357 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21359 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21362 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21363 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21364 -mfloat128 to CFLAGS.
21366 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21368 (CFLAGS-libm-test-support-float64x.c): New variable.
21369 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21370 $(f128-loader-link) to gnulib-tests.
21372 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21373 (libm_alias_float128_other_r): If
21374 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21376 (libm_alias_float128_r): Add semicolon after weak_alias call.
21377 * sysdeps/generic/libm-alias-ldouble.h
21378 (libm_alias_ldouble_other_r_f128): New macro.
21379 (libm_alias_ldouble_other_r_f64x): Likewise.
21380 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21381 and libm_alias_ldouble_other_r_f64x.
21382 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21383 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21384 (libm_alias_ldouble_other_r_f128): New macro.
21385 (libm_alias_ldouble_other_r_f64x): Likewise.
21386 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21387 and libm_alias_ldouble_other_r_f64x.
21389 * stdlib/strfroml.c: Always include <stdlib.h>.
21390 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21391 undefine as macro and define as weak alias.
21392 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21393 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21395 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21396 Define and later undefine as macro and define as weak alias.
21398 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21399 Define and later undefine as macro. Define as weak alias if
21401 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21402 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21403 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21404 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21405 Define and later undefine as macro. Define as weak alias if
21407 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21408 Define and later undefine as macro. Define as weak alias if
21410 * sysdeps/ieee754/float128/strtof128_l.c
21411 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21412 Define and later undefine as macro. Define as weak alias if
21414 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21415 Define and later undefine as macro. Define as weak alias if
21417 * sysdeps/ieee754/ldbl-128/strtold_l.c
21418 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21419 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21420 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21421 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21422 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21423 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21424 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21425 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21426 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21427 * sysdeps/ieee754/ldbl-96/strtold_l.c
21428 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21429 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21430 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21431 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21433 * math/test-float64x.h: New file.
21434 * math/Makefile (type-float64x-yes): New variable.
21435 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21437 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21438 function-like macro.
21439 (min_of_type_): Likewise.
21440 (min_of_type_l): Likewise.
21441 (min_of_type_f128): Likewise.
21442 (min_of_type): Pass () as last argument of __MATH_TG.
21444 * stdlib/tst-strtod-round-skeleton.c
21445 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21448 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21449 for combinations of long double with _Float64 and _Float64x.
21451 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21452 (__DECL_SIMD_cosf32): Likewise.
21453 (__DECL_SIMD_cosf64): Likewise.
21454 (__DECL_SIMD_cosf32x): Likewise.
21455 (__DECL_SIMD_cosf64x): Likewise.
21456 (__DECL_SIMD_cosf128x): Likewise.
21457 (__DECL_SIMD_sinf16): Likewise.
21458 (__DECL_SIMD_sinf32): Likewise.
21459 (__DECL_SIMD_sinf64): Likewise.
21460 (__DECL_SIMD_sinf32x): Likewise.
21461 (__DECL_SIMD_sinf64x): Likewise.
21462 (__DECL_SIMD_sinf128x): Likewise.
21463 (__DECL_SIMD_sincosf16): Likewise.
21464 (__DECL_SIMD_sincosf32): Likewise.
21465 (__DECL_SIMD_sincosf64): Likewise.
21466 (__DECL_SIMD_sincosf32x): Likewise.
21467 (__DECL_SIMD_sincosf64x): Likewise.
21468 (__DECL_SIMD_sincosf128x): Likewise.
21469 (__DECL_SIMD_logf16): Likewise.
21470 (__DECL_SIMD_logf32): Likewise.
21471 (__DECL_SIMD_logf64): Likewise.
21472 (__DECL_SIMD_logf32x): Likewise.
21473 (__DECL_SIMD_logf64x): Likewise.
21474 (__DECL_SIMD_logf128x): Likewise.
21475 (__DECL_SIMD_expf16): Likewise.
21476 (__DECL_SIMD_expf32): Likewise.
21477 (__DECL_SIMD_expf64): Likewise.
21478 (__DECL_SIMD_expf32x): Likewise.
21479 (__DECL_SIMD_expf64x): Likewise.
21480 (__DECL_SIMD_expf128x): Likewise.
21481 (__DECL_SIMD_powf16): Likewise.
21482 (__DECL_SIMD_powf32): Likewise.
21483 (__DECL_SIMD_powf64): Likewise.
21484 (__DECL_SIMD_powf32x): Likewise.
21485 (__DECL_SIMD_powf64x): Likewise.
21486 (__DECL_SIMD_powf128x): Likewise.
21488 * stdlib/Versions (libc): Move entries for wcstof128 and
21489 wcstof128_l to ....
21490 * wcsmbs/Versions (libc): ... here.
21491 Include <float128-abi.h>.
21493 2017-11-24 Florian Weimer <fweimer@redhat.com>
21495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21496 bits/mman-shared.h.
21497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21498 <bits/mman-shared.h>.
21499 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21501 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21502 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21503 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21504 <bits/mman-shared.h>.
21506 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21509 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21510 posix_memalign/free.
21511 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21513 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21516 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21517 and implement the collation rules for pl from CLDR on top of that.
21518 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21519 of locales to be built for testing.
21520 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21522 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21524 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21525 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21526 libm_alias_ldouble_other.
21527 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21528 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21529 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21530 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21531 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21532 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21533 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21534 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21535 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21536 libm_alias_ldouble_r.
21537 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21538 libm_alias_ldouble_other.
21539 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21540 (log10l): Likewise.
21541 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21542 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21543 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21544 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21545 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21546 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21547 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21548 (atan2l): Likewise.
21549 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21550 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21551 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21552 libm_alias_ldouble.
21553 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21555 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21556 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21557 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21559 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21560 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21561 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21562 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21563 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21564 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21565 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21566 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21567 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21568 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21569 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21570 libm_alias_ldouble.
21571 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21572 libm_alias_ldouble_other.
21573 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21574 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21575 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21576 libm_alias_ldouble.
21577 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21578 libm_alias_ldouble_other.
21579 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21580 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21581 * sysdeps/ia64/fpu/w_lgammal_main.c
21582 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21583 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21585 2017-11-23 Florian Weimer <fweimer@redhat.com>
21587 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21588 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21589 alike. Remove freeres marker.
21590 * malloc/arena.c (arena_thread_freeres): Call
21591 tcache_thread_shutdown.
21593 2017-11-23 Florian Weimer <fweimer@redhat.com>
21596 Export nscd hash function as __nss_hash.
21597 * include/nss.h (__nss_hash): Declare.
21598 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21600 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21601 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21603 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21604 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21605 * nss/Makefiles (routines): Add nss_hash.
21606 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21607 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21608 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21609 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21611 2017-11-23 Florian Weimer <fweimer@redhat.com>
21614 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21615 Return error code, not -1.
21616 * signal/tst-sigwait-eintr.c: New file.
21617 * signal/Makefile (tests): Add tst-sigwait-eintr.
21619 2017-11-23 Florian Weimer <fweimer@redhat.com>
21621 Linux: Add memfd_create system call wrapper
21622 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21624 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21625 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21626 [__USE_GNU] (memfd_create): Declare.
21627 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21628 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21629 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21630 * sysdeps/unix/sysv/linux/**.abilist: Update.
21631 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21633 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21635 * localedata/gen-locale.sh: Fix typo in variable name.
21637 * resolv/res_debug.c (p_secstodate): Condition definition on
21638 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21639 directly as __p_secstodate, and as a compat symbol. Do not use
21640 libresolv_hidden_def.
21641 * resolv/resolv.h (p_secstodate): Remove macro and function
21643 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21644 using p_secstodate.
21645 * include/resolv.h (__p_secstodate): Do not use
21646 libresolv_hidden_proto.
21647 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21648 (tests-internal): ... here.
21649 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21650 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21651 and declare and use __p_secstodate and use compat_symbol_reference
21653 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21654 implementation returning 77.
21657 * resolv/res_debug.c: Include <libc-diag.h>.
21658 (p_secstodate): Assert time_t at least as wide as u_long. On
21659 overflow, use integer seconds since the epoch as output, or use
21660 "<overflow>" as output and set errno to EOVERFLOW if integer
21661 seconds since the epoch would be 14 or more characters.
21662 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21664 * resolv/tst-p_secstodate.c: New file.
21665 * resolv/Makefile (tests): Add tst-p_secstodate.
21666 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21668 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21669 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21670 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21672 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21674 * posix/regcomp.c (init_word_char): Add comments.
21676 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21679 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21680 strlen to compute length of ut_user and set trailing NUL byte of
21683 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21686 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21687 using “copy "iso14651_t1"” and then implementing the
21688 collation rules for lv from CLDR on top of that.
21689 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21690 of locales to be built for testing.
21691 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21694 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21696 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21697 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21698 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21699 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21700 [__USE_MISC] (MADV_HWPOISON): New macro.
21701 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21703 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21705 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21706 -Wmissing-braces on GCC 4.9.
21708 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21710 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21711 * sysdeps/s390/s390-32/start.S (_start): Likewise
21712 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21713 (thread_start): Likewise.
21714 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21715 (thread_start): Likewise.
21716 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21717 (__makecontext_ret): Likewise.
21718 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21719 (__makecontext_ret): Likewise.
21721 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21723 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21724 __wcschrnul): Remove attribute_hidden.
21726 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21728 regex: don't assume uint64_t or uint32_t
21729 This avoids -Werror=overflow errors for 32-bit systems in
21730 the 64-bit case. Problem reported by Joseph Myers in:
21731 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21732 Also, when this code is used in Gnulib it ports to platforms
21733 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21734 them, and on some 32-bit compilers there is no uint64_t.
21735 Problem reported by Gianluigi Tiesi in:
21736 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21737 * posix/regcomp.c (init_word_char): Don't assume that the types
21738 uint64_t and uint32_t exist. Adapted from Gnulib patch
21739 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21740 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21742 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21744 * sysdeps/aarch64/memset-reg.h: New file.
21745 * sysdeps/aarch64/memset.S: Use it.
21746 (__memset): Rename to MEMSET macro.
21747 [ZVA_MACRO]: Use zva_macro.
21748 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21749 Add memset_generic and memset_falkor.
21750 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21751 (__libc_ifunc_impl_list): Add memset ifuncs.
21752 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21753 local variable zva_size.
21754 * sysdeps/aarch64/multiarch/memset.c: New file.
21755 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21756 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21757 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21758 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21759 (DCZID_DZP_MASK): New macro.
21760 (DCZID_BS_MASK): Likewise.
21761 (init_cpu_features): Read and set zva_size.
21762 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21763 (struct cpu_features): New member zva_size.
21765 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21766 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21767 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21769 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21770 backwards. Fix timing computation.
21771 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21772 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21773 on memset by N at a time. Fix timing computation.
21775 2017-11-20 Florian Weimer <fweimer@redhat.com>
21777 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21778 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21780 2017-11-19 Florian Weimer <fweimer@redhat.com>
21782 manual: Document mprotect
21783 * manual/memory.texi (Memory Protection): New section.
21784 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21785 documentation of PROT_* flags and reference the Memory Protection
21788 2017-11-19 Florian Weimer <fweimer@redhat.com>
21790 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21791 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21792 (Scatter-Gather): ... to here. Remove misleading comment.
21794 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21796 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21799 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21800 when /proc/<pid>/setgroups does not exist.
21802 2017-11-18 Florian Weimer <fweimer@redhat.com>
21804 * sysdeps/unix/sysv/linux/tst-ttyname.c
21805 (become_root_in_mount_ns): Remove.
21806 (do_in_chroot_1): Call support_enter_mount_namespace.
21807 (do_in_chroot_2): Likewise.
21808 (do_test): Call support_become_root early.
21810 2017-11-18 Florian Weimer <fweimer@redhat.com>
21812 * support/namespace.h (support_enter_mount_namespace): Declare.
21813 * support/support_enter_mount_namespace.c: New file.
21814 * support/Makefile (libsupport-routines): Add
21815 support_enter_mount_namespace.
21817 2017-11-18 Florian Weimer <fweimer@redhat.com>
21819 * support/temp_file.c (support_create_temp_directory): Use
21820 test_dir and do not rely on the presence of the XXXXXX suffix.
21821 * support/temp_file.h (support_create_temp_directory): Update
21823 * support/tst-xreadlink.c (do_test): Adjust.
21824 * support/support_chroot.c (support_chroot_create): Likewise.
21826 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21828 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21833 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21835 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21836 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21837 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21838 (ceill): Define using libm_alias_ldouble.
21839 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21840 <libm-alias-ldouble.h>.
21841 (copysignl): Define using libm_alias_ldouble.
21842 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21843 (fabsl): Define using libm_alias_ldouble.
21844 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21845 (floorl): Define using libm_alias_ldouble.
21846 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21847 (fmaxl): Define using libm_alias_ldouble.
21848 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21849 (fminl): Define using libm_alias_ldouble.
21850 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21851 (llrintl): Define using libm_alias_ldouble.
21852 (lrintl): Likewise.
21853 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21854 <libm-alias-ldouble.h>.
21855 (nearbyintl): Define using libm_alias_ldouble.
21856 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21857 (truncl): Define using libm_alias_ldouble.
21858 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21859 <libm-alias-ldouble.h>.
21860 (lrintl): Define using libm_alias_ldouble.
21862 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21863 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21864 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21865 (asinhl): Define using libm_alias_ldouble.
21866 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21867 (atanl): Define using libm_alias_ldouble.
21868 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21869 (cbrtl): Define using libm_alias_ldouble.
21870 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21871 (ceill): Define using libm_alias_ldouble.
21872 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21873 (copysignl): Define using libm_alias_ldouble.
21874 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21875 (fabsl): Define using libm_alias_ldouble.
21876 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21877 (floorl): Define using libm_alias_ldouble.
21878 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21879 (fmaxl): Define using libm_alias_ldouble.
21880 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21881 (fminl): Define using libm_alias_ldouble.
21882 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21883 (frexpl): Define using libm_alias_ldouble.
21884 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21885 (llrintl): Define using libm_alias_ldouble.
21886 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21887 (logbl): Define using libm_alias_ldouble.
21888 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21889 (lrintl): Define using libm_alias_ldouble.
21890 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21891 (nearbyintl): Define using libm_alias_ldouble.
21892 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21893 (nextafterl): Define using libm_alias_ldouble.
21894 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21895 (remquol): Define using libm_alias_ldouble.
21896 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21897 (rintl): Define using libm_alias_ldouble.
21898 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21899 (truncl): Define using libm_alias_ldouble.
21900 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21901 (fmaxl): Define using libm_alias_ldouble.
21902 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21903 (fminl): Define using libm_alias_ldouble.
21905 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21906 to C syntax instead of availability and properties of types.
21907 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21908 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21909 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21910 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21911 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21912 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21914 2017-11-17 Florian Weimer <fweimer@redhat.com>
21916 support_become_root: Enable file creation in namespaces.
21917 * support/support_become_root.c (setup_mapping): New function.
21918 (support_become_root): Call it.
21920 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21922 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21925 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21927 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21928 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21930 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21932 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21934 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21937 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21939 * INSTALL: Fix botched up regeneration.
21941 * NEWS: Update sourceare link to https.
21942 * configure.ac: Likewise.
21943 * crypt/md5test-giant.c: Likewise.
21944 * dlfcn/bug-atexit1.c: Likewise.
21945 * dlfcn/bug-atexit2.c: Likewise.
21946 * localedata/README: Likewise.
21947 * malloc/tst-mallocfork.c: Likewise.
21948 * manual/install.texi: Likewise.
21949 * nptl/tst-pthread-getattr.c: Likewise.
21950 * stdio-common/tst-fgets.c: Likewise.
21951 * stdio-common/tst-fwrite.c: Likewise.
21952 * sunrpc/Makefile: Likewise.
21953 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21954 * wcsmbs/tst-mbrtowc2.c: Likewise.
21955 * configure: Regenerate.
21956 * INSTALL: Regenerate.
21958 2017-11-15 Martin Sebor <msebor@redhat.com>
21960 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21961 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21962 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21964 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21967 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21968 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21972 Defer is_pty check until end of the function.
21973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21976 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21977 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21978 (ttyname): Likewise.
21979 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21980 (__ttyname_r): Likewise.
21982 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21985 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21987 * manual/terminal.texi (Is It a Terminal):
21988 Mention ENODEV for ttyname and ttyname_r.
21990 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21992 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21993 constant and macro.
21995 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21996 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21997 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21998 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21999 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22000 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22002 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22004 * signal/sigrelse.c (sigrelse): Optimize implementation.
22006 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22007 (__sigpause): Rely on __sigsuspend to implement single thread
22008 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22010 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22012 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22013 kernel version to 4.14.
22015 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22018 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22019 Check if ifname is too long.
22021 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22023 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22025 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22027 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22028 was accidentally lost.
22030 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22032 * localedata/locales/az_IR: Add standard copyright header.
22034 2017-11-15 Florian Weimer <fweimer@redhat.com>
22037 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22038 not just the top one. Output a new "subheaps" statistic.
22040 2017-11-15 Florian Weimer <fweimer@redhat.com>
22043 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22044 under the per-arena lock.
22045 * malloc/Makefile (tests): Add tst-malloc_info.
22046 (tst-malloc_info): Link with libpthread.
22047 * malloc/tst-malloc_info.c: New file.
22049 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22052 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22053 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22054 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22055 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22056 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22057 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22058 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22059 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22060 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22061 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22063 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22064 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22066 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22067 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22068 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22069 (__floating_type): Likewise.
22070 (__real_integer_type): Likewise.
22071 (__complex_integer_type): Likewise.
22072 (__expr_is_real): Likewise.
22073 (__tgmath_real_type_sub): Likewise.
22074 (__tgmath_real_type): Likewise.
22075 (__tgmath_complex_type_sub): Likewise.
22076 (__tgmath_complex_type): Likewise.
22077 (__TGMATH_F128): Likewise.
22078 (__TGMATH_CF128): Likewise.
22079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22086 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22088 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22089 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22091 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22094 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22099 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22100 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22104 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22106 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22107 for stpncpy calls for GCC 8.
22108 (test_strncat): Disable -Wstringop-truncation warning for strncat
22109 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22110 strncat call for GCC 7.
22111 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22113 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22116 * string/bug-strncat1.c: Include <libc-diag.h>.
22117 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22119 2017-11-13 Claude Paroz <claude@2xlibre.net>
22122 * localedata/locales/aa_DJ: Improved readibility by replacing
22123 <Uxxxx> sequences in the ASCII printable range by their ASCII
22124 character equivalents.
22125 * localedata/locales/aa_ER: Likewise.
22126 * localedata/locales/aa_ER@saaho: Likewise.
22127 * localedata/locales/aa_ET: Likewise.
22128 * localedata/locales/af_ZA: Likewise.
22129 * localedata/locales/agr_PE: Likewise.
22130 * localedata/locales/ak_GH: Likewise.
22131 * localedata/locales/am_ET: Likewise.
22132 * localedata/locales/anp_IN: Likewise.
22133 * localedata/locales/ar_AE: Likewise.
22134 * localedata/locales/ar_BH: Likewise.
22135 * localedata/locales/ar_DZ: Likewise.
22136 * localedata/locales/ar_EG: Likewise.
22137 * localedata/locales/ar_IN: Likewise.
22138 * localedata/locales/ar_IQ: Likewise.
22139 * localedata/locales/ar_JO: Likewise.
22140 * localedata/locales/ar_KW: Likewise.
22141 * localedata/locales/ar_LB: Likewise.
22142 * localedata/locales/ar_LY: Likewise.
22143 * localedata/locales/ar_MA: Likewise.
22144 * localedata/locales/ar_OM: Likewise.
22145 * localedata/locales/ar_QA: Likewise.
22146 * localedata/locales/ar_SA: Likewise.
22147 * localedata/locales/ar_SD: Likewise.
22148 * localedata/locales/ar_SS: Likewise.
22149 * localedata/locales/ar_SY: Likewise.
22150 * localedata/locales/ar_TN: Likewise.
22151 * localedata/locales/ar_YE: Likewise.
22152 * localedata/locales/as_IN: Likewise.
22153 * localedata/locales/ast_ES: Likewise.
22154 * localedata/locales/ayc_PE: Likewise.
22155 * localedata/locales/az_AZ: Likewise.
22156 * localedata/locales/az_IR: Likewise.
22157 * localedata/locales/be_BY: Likewise.
22158 * localedata/locales/be_BY@latin: Likewise.
22159 * localedata/locales/bem_ZM: Likewise.
22160 * localedata/locales/ber_DZ: Likewise.
22161 * localedata/locales/ber_MA: Likewise.
22162 * localedata/locales/bg_BG: Likewise.
22163 * localedata/locales/bhb_IN: Likewise.
22164 * localedata/locales/bho_IN: Likewise.
22165 * localedata/locales/bi_VU: Likewise.
22166 * localedata/locales/bn_BD: Likewise.
22167 * localedata/locales/bn_IN: Likewise.
22168 * localedata/locales/bo_CN: Likewise.
22169 * localedata/locales/bo_IN: Likewise.
22170 * localedata/locales/br_FR: Likewise.
22171 * localedata/locales/brx_IN: Likewise.
22172 * localedata/locales/bs_BA: Likewise.
22173 * localedata/locales/byn_ER: Likewise.
22174 * localedata/locales/ca_AD: Likewise.
22175 * localedata/locales/ca_ES: Likewise.
22176 * localedata/locales/ca_FR: Likewise.
22177 * localedata/locales/ca_IT: Likewise.
22178 * localedata/locales/ce_RU: Likewise.
22179 * localedata/locales/chr_US: Likewise.
22180 * localedata/locales/cmn_TW: Likewise.
22181 * localedata/locales/crh_UA: Likewise.
22182 * localedata/locales/cs_CZ: Likewise.
22183 * localedata/locales/csb_PL: Likewise.
22184 * localedata/locales/cv_RU: Likewise.
22185 * localedata/locales/cy_GB: Likewise.
22186 * localedata/locales/da_DK: Likewise.
22187 * localedata/locales/de_AT: Likewise.
22188 * localedata/locales/de_BE: Likewise.
22189 * localedata/locales/de_CH: Likewise.
22190 * localedata/locales/de_DE: Likewise.
22191 * localedata/locales/de_IT: Likewise.
22192 * localedata/locales/de_LI: Likewise.
22193 * localedata/locales/de_LU: Likewise.
22194 * localedata/locales/doi_IN: Likewise.
22195 * localedata/locales/dv_MV: Likewise.
22196 * localedata/locales/dz_BT: Likewise.
22197 * localedata/locales/el_CY: Likewise.
22198 * localedata/locales/el_GR: Likewise.
22199 * localedata/locales/en_AG: Likewise.
22200 * localedata/locales/en_AU: Likewise.
22201 * localedata/locales/en_BW: Likewise.
22202 * localedata/locales/en_CA: Likewise.
22203 * localedata/locales/en_DK: Likewise.
22204 * localedata/locales/en_GB: Likewise.
22205 * localedata/locales/en_HK: Likewise.
22206 * localedata/locales/en_IE: Likewise.
22207 * localedata/locales/en_IL: Likewise.
22208 * localedata/locales/en_IN: Likewise.
22209 * localedata/locales/en_NG: Likewise.
22210 * localedata/locales/en_NZ: Likewise.
22211 * localedata/locales/en_PH: Likewise.
22212 * localedata/locales/en_SG: Likewise.
22213 * localedata/locales/en_US: Likewise.
22214 * localedata/locales/en_ZA: Likewise.
22215 * localedata/locales/en_ZM: Likewise.
22216 * localedata/locales/en_ZW: Likewise.
22217 * localedata/locales/eo: Likewise.
22218 * localedata/locales/es_AR: Likewise.
22219 * localedata/locales/es_BO: Likewise.
22220 * localedata/locales/es_CL: Likewise.
22221 * localedata/locales/es_CO: Likewise.
22222 * localedata/locales/es_CR: Likewise.
22223 * localedata/locales/es_CU: Likewise.
22224 * localedata/locales/es_DO: Likewise.
22225 * localedata/locales/es_EC: Likewise.
22226 * localedata/locales/es_ES: Likewise.
22227 * localedata/locales/es_GT: Likewise.
22228 * localedata/locales/es_HN: Likewise.
22229 * localedata/locales/es_MX: Likewise.
22230 * localedata/locales/es_NI: Likewise.
22231 * localedata/locales/es_PA: Likewise.
22232 * localedata/locales/es_PE: Likewise.
22233 * localedata/locales/es_PR: Likewise.
22234 * localedata/locales/es_PY: Likewise.
22235 * localedata/locales/es_SV: Likewise.
22236 * localedata/locales/es_US: Likewise.
22237 * localedata/locales/es_UY: Likewise.
22238 * localedata/locales/es_VE: Likewise.
22239 * localedata/locales/et_EE: Likewise.
22240 * localedata/locales/eu_ES: Likewise.
22241 * localedata/locales/eu_ES@euro: Likewise.
22242 * localedata/locales/fa_IR: Likewise.
22243 * localedata/locales/ff_SN: Likewise.
22244 * localedata/locales/fi_FI: Likewise.
22245 * localedata/locales/fil_PH: Likewise.
22246 * localedata/locales/fo_FO: Likewise.
22247 * localedata/locales/fr_BE: Likewise.
22248 * localedata/locales/fr_CA: Likewise.
22249 * localedata/locales/fr_CH: Likewise.
22250 * localedata/locales/fr_FR: Likewise.
22251 * localedata/locales/fr_LU: Likewise.
22252 * localedata/locales/fur_IT: Likewise.
22253 * localedata/locales/fy_DE: Likewise.
22254 * localedata/locales/fy_NL: Likewise.
22255 * localedata/locales/ga_IE: Likewise.
22256 * localedata/locales/gd_GB: Likewise.
22257 * localedata/locales/gez_ER: Likewise.
22258 * localedata/locales/gez_ET: Likewise.
22259 * localedata/locales/gl_ES: Likewise.
22260 * localedata/locales/gu_IN: Likewise.
22261 * localedata/locales/gv_GB: Likewise.
22262 * localedata/locales/ha_NG: Likewise.
22263 * localedata/locales/hak_TW: Likewise.
22264 * localedata/locales/he_IL: Likewise.
22265 * localedata/locales/hi_IN: Likewise.
22266 * localedata/locales/hif_FJ: Likewise.
22267 * localedata/locales/hne_IN: Likewise.
22268 * localedata/locales/hr_HR: Likewise.
22269 * localedata/locales/hsb_DE: Likewise.
22270 * localedata/locales/ht_HT: Likewise.
22271 * localedata/locales/hu_HU: Likewise.
22272 * localedata/locales/hy_AM: Likewise.
22273 * localedata/locales/i18n: Likewise.
22274 * localedata/locales/ia_FR: Likewise.
22275 * localedata/locales/id_ID: Likewise.
22276 * localedata/locales/ig_NG: Likewise.
22277 * localedata/locales/ik_CA: Likewise.
22278 * localedata/locales/is_IS: Likewise.
22279 * localedata/locales/it_CH: Likewise.
22280 * localedata/locales/it_IT: Likewise.
22281 * localedata/locales/iu_CA: Likewise.
22282 * localedata/locales/ja_JP: Likewise.
22283 * localedata/locales/ka_GE: Likewise.
22284 * localedata/locales/kk_KZ: Likewise.
22285 * localedata/locales/kl_GL: Likewise.
22286 * localedata/locales/kn_IN: Likewise.
22287 * localedata/locales/ko_KR: Likewise.
22288 * localedata/locales/kok_IN: Likewise.
22289 * localedata/locales/ks_IN: Likewise.
22290 * localedata/locales/ks_IN@devanagari: Likewise.
22291 * localedata/locales/ku_TR: Likewise.
22292 * localedata/locales/kw_GB: Likewise.
22293 * localedata/locales/ky_KG: Likewise.
22294 * localedata/locales/lb_LU: Likewise.
22295 * localedata/locales/lg_UG: Likewise.
22296 * localedata/locales/li_BE: Likewise.
22297 * localedata/locales/li_NL: Likewise.
22298 * localedata/locales/lij_IT: Likewise.
22299 * localedata/locales/ln_CD: Likewise.
22300 * localedata/locales/lo_LA: Likewise.
22301 * localedata/locales/lt_LT: Likewise.
22302 * localedata/locales/lv_LV: Likewise.
22303 * localedata/locales/lzh_TW: Likewise.
22304 * localedata/locales/mag_IN: Likewise.
22305 * localedata/locales/mai_IN: Likewise.
22306 * localedata/locales/mg_MG: Likewise.
22307 * localedata/locales/mhr_RU: Likewise.
22308 * localedata/locales/mi_NZ: Likewise.
22309 * localedata/locales/mk_MK: Likewise.
22310 * localedata/locales/ml_IN: Likewise.
22311 * localedata/locales/mn_MN: Likewise.
22312 * localedata/locales/mni_IN: Likewise.
22313 * localedata/locales/mr_IN: Likewise.
22314 * localedata/locales/ms_MY: Likewise.
22315 * localedata/locales/mt_MT: Likewise.
22316 * localedata/locales/my_MM: Likewise.
22317 * localedata/locales/nan_TW: Likewise.
22318 * localedata/locales/nan_TW@latin: Likewise.
22319 * localedata/locales/nb_NO: Likewise.
22320 * localedata/locales/nds_DE: Likewise.
22321 * localedata/locales/nds_NL: Likewise.
22322 * localedata/locales/ne_NP: Likewise.
22323 * localedata/locales/nhn_MX: Likewise.
22324 * localedata/locales/niu_NU: Likewise.
22325 * localedata/locales/niu_NZ: Likewise.
22326 * localedata/locales/nl_AW: Likewise.
22327 * localedata/locales/nl_BE: Likewise.
22328 * localedata/locales/nl_NL: Likewise.
22329 * localedata/locales/nn_NO: Likewise.
22330 * localedata/locales/nr_ZA: Likewise.
22331 * localedata/locales/nso_ZA: Likewise.
22332 * localedata/locales/oc_FR: Likewise.
22333 * localedata/locales/om_ET: Likewise.
22334 * localedata/locales/om_KE: Likewise.
22335 * localedata/locales/or_IN: Likewise.
22336 * localedata/locales/os_RU: Likewise.
22337 * localedata/locales/pa_IN: Likewise.
22338 * localedata/locales/pa_PK: Likewise.
22339 * localedata/locales/pap_AW: Likewise.
22340 * localedata/locales/pap_CW: Likewise.
22341 * localedata/locales/pl_PL: Likewise.
22342 * localedata/locales/ps_AF: Likewise.
22343 * localedata/locales/pt_BR: Likewise.
22344 * localedata/locales/pt_PT: Likewise.
22345 * localedata/locales/quz_PE: Likewise.
22346 * localedata/locales/raj_IN: Likewise.
22347 * localedata/locales/ro_RO: Likewise.
22348 * localedata/locales/ru_RU: Likewise.
22349 * localedata/locales/ru_UA: Likewise.
22350 * localedata/locales/rw_RW: Likewise.
22351 * localedata/locales/sa_IN: Likewise.
22352 * localedata/locales/sat_IN: Likewise.
22353 * localedata/locales/sc_IT: Likewise.
22354 * localedata/locales/sd_IN: Likewise.
22355 * localedata/locales/sd_IN@devanagari: Likewise.
22356 * localedata/locales/se_NO: Likewise.
22357 * localedata/locales/sgs_LT: Likewise.
22358 * localedata/locales/shs_CA: Likewise.
22359 * localedata/locales/si_LK: Likewise.
22360 * localedata/locales/sid_ET: Likewise.
22361 * localedata/locales/sk_SK: Likewise.
22362 * localedata/locales/sl_SI: Likewise.
22363 * localedata/locales/sm_WS: Likewise.
22364 * localedata/locales/so_DJ: Likewise.
22365 * localedata/locales/so_ET: Likewise.
22366 * localedata/locales/so_KE: Likewise.
22367 * localedata/locales/so_SO: Likewise.
22368 * localedata/locales/sq_AL: Likewise.
22369 * localedata/locales/sq_MK: Likewise.
22370 * localedata/locales/sr_ME: Likewise.
22371 * localedata/locales/sr_RS: Likewise.
22372 * localedata/locales/sr_RS@latin: Likewise.
22373 * localedata/locales/ss_ZA: Likewise.
22374 * localedata/locales/st_ZA: Likewise.
22375 * localedata/locales/sv_FI: Likewise.
22376 * localedata/locales/sv_SE: Likewise.
22377 * localedata/locales/sw_KE: Likewise.
22378 * localedata/locales/sw_TZ: Likewise.
22379 * localedata/locales/szl_PL: Likewise.
22380 * localedata/locales/ta_IN: Likewise.
22381 * localedata/locales/ta_LK: Likewise.
22382 * localedata/locales/tcy_IN: Likewise.
22383 * localedata/locales/te_IN: Likewise.
22384 * localedata/locales/tg_TJ: Likewise.
22385 * localedata/locales/th_TH: Likewise.
22386 * localedata/locales/the_NP: Likewise.
22387 * localedata/locales/ti_ER: Likewise.
22388 * localedata/locales/ti_ET: Likewise.
22389 * localedata/locales/tig_ER: Likewise.
22390 * localedata/locales/tk_TM: Likewise.
22391 * localedata/locales/tl_PH: Likewise.
22392 * localedata/locales/tn_ZA: Likewise.
22393 * localedata/locales/to_TO: Likewise.
22394 * localedata/locales/tpi_PG: Likewise.
22395 * localedata/locales/tr_CY: Likewise.
22396 * localedata/locales/tr_TR: Likewise.
22397 * localedata/locales/ts_ZA: Likewise.
22398 * localedata/locales/tt_RU: Likewise.
22399 * localedata/locales/tt_RU@iqtelif: Likewise.
22400 * localedata/locales/ug_CN: Likewise.
22401 * localedata/locales/uk_UA: Likewise.
22402 * localedata/locales/unm_US: Likewise.
22403 * localedata/locales/ur_IN: Likewise.
22404 * localedata/locales/ur_PK: Likewise.
22405 * localedata/locales/uz_UZ: Likewise.
22406 * localedata/locales/uz_UZ@cyrillic: Likewise.
22407 * localedata/locales/ve_ZA: Likewise.
22408 * localedata/locales/vi_VN: Likewise.
22409 * localedata/locales/wa_BE: Likewise.
22410 * localedata/locales/wae_CH: Likewise.
22411 * localedata/locales/wal_ET: Likewise.
22412 * localedata/locales/wo_SN: Likewise.
22413 * localedata/locales/xh_ZA: Likewise.
22414 * localedata/locales/yi_US: Likewise.
22415 * localedata/locales/yo_NG: Likewise.
22416 * localedata/locales/yue_HK: Likewise.
22417 * localedata/locales/yuw_PG: Likewise.
22418 * localedata/locales/zh_CN: Likewise.
22419 * localedata/locales/zh_HK: Likewise.
22420 * localedata/locales/zh_SG: Likewise.
22421 * localedata/locales/zh_TW: Likewise.
22422 * localedata/locales/zu_ZA: Likewise.
22424 2017-11-13 Florian Weimer <fweimer@redhat.com>
22426 * support/next_to_fault.h, support/next_to_fault.c: New files.
22427 * support/Makefile (libsupport-routines): Add next_to_fault.
22428 * resolv/tst-inet_pton.c (struct next_to_fault)
22429 (next_to_fault_allocate, next_to_fault_free): Remove.
22430 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22432 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22434 * elf/dl-support.c: Include <dl-procruntime.c>.
22435 * include/link.h: Include <link_map.h>.
22436 * sysdeps/generic/dl-procruntime.c: New file.
22437 * sysdeps/generic/link_map.h: Likewise.
22438 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22439 the writable ld.so namespace.
22441 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22443 timezone: pacify GCC -Wstringop-truncation
22444 Problem reported by Martin Sebor in:
22445 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22446 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22448 2017-11-12 Florian Weimer <fweimer@redhat.com>
22450 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22452 (tests): Add tst-xreadlink.
22453 * support/support.h (xstrndup): Declare.
22454 * support/xunistd.h (xunlink, xreadlink): Declare.
22455 * support/temp_file.h (support_create_temp_directory): Declare.
22456 * support/temp_file.c (support_create_temp_directory): New function.
22457 * support/support_chroot.c (support_chroot_create): Use it.
22458 * support/xreadlink.c: New file.
22459 * support/xstrndup.c: Likewise.
22460 * support/xunlink.c: Likewise.
22461 * support/tst-xreadlink.c: Likewise.
22463 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22465 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22467 2017-11-11 Florian Weimer <fweimer@redhat.com>
22471 * resolv/res_comp.c (printable_string, binary_hnok)
22472 (binary_leading_dash): New functions.
22473 (res_hnok): Reimplement using these functions and ns_name_pton.
22474 (res_ownok): Likewise.
22475 (res_mailok): Reimplement using printable_string, ns_name_pton and
22477 (res_dnok): Reimplement using printable_string and ns_name_pton.
22478 * resolv/tst-res_hnok.c (tests): Add additional tests.
22479 (LETTERDIGITS, PRINTABLE): Define.
22480 (do_test): Adjust one_char results.
22482 2017-11-11 Florian Weimer <fweimer@redhat.com>
22485 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22486 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22488 2017-11-11 Florian Weimer <fweimer@redhat.com>
22490 * resolv/tst-ns_name_pton.c: New file.
22491 * resolv/Makefile (tests): Add tst-ns_name_pton.
22492 (tst-ns_name_pton): Link against libresolv.
22494 2017-11-11 Florian Weimer <fweimer@redhat.com>
22496 * resolv/tst-res_hnok.c: New file.
22497 * resolv/Makefile (tests): Add tst-res_hnok.
22498 (tst-res_hnok): Link against libresolv.
22500 2017-11-11 Florian Weimer <fweimer@redhat.com>
22502 * resolv/tst-resolv-network.c: Use test framework instead explicit
22505 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22507 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22508 <jmp_buf-macros.h>.
22509 [!_ISOMAC] (STR_HELPER): New.
22510 [!_ISOMAC] (STR): Likewise.
22511 [!_ISOMAC] (TEST_SIZE): Likewise.
22512 [!_ISOMAC] (TEST_ALIGN): Likewise.
22513 [!_ISOMAC] (TEST_OFFSET): Likewise.
22514 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22515 field offsets of jmp_buf as well as sigjmp_buf.
22516 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22517 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22518 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22519 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22520 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22521 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22522 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22523 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22524 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22525 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22527 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22529 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22534 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22535 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22536 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22538 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22543 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22544 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22545 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22547 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22551 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22553 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22555 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22557 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22559 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22561 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22563 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22565 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22567 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22569 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22571 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22573 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22575 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22577 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22579 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22581 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22583 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22585 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22587 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22589 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22591 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22593 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22595 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22597 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22599 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22601 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22603 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22605 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22607 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22609 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22611 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22613 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22615 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22617 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22619 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22621 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22623 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22625 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22627 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22629 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22631 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22633 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22635 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22637 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22639 * stdlib/tst-strtod.h (F16): New macro.
22645 (IF_FLOAT16): Likewise.
22646 (IF_FLOAT32): Likewise.
22647 (IF_FLOAT64): Likewise.
22648 (IF_FLOAT32X): Likewise.
22649 (IF_FLOAT64X): Likewise.
22650 (IF_FLOAT128X): Likewise.
22651 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22652 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22653 (STRTOD_TEST_FOREACH): Likewise.
22654 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22655 (CHOOSE_f64): Likewise.
22656 (CHOOSE_f32x): Likewise.
22657 (CHOOSE_f64x): Likewise.
22659 2017-11-07 Andreas Schwab <schwab@suse.de>
22661 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22663 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22666 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22668 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22671 2017-11-07 Claude Paroz <claude@2xlibre.net>
22674 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22676 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22678 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22681 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22684 * nptl/allocatestack.c (allocate_stack): Check if
22685 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22686 __PTHREAD_MUTEX_HAVE_PREV is defined.
22687 * nptl/descr.h (pthread): Likewise.
22688 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22690 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22691 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22692 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22693 * sysdeps/nptl/bits/thread-shared-types.h
22694 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22696 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22697 of __WORDSIZE for internal layout.
22698 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22699 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22700 instead of __WORDSIZE whether to use an union for __spins and __list
22702 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22704 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22707 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22710 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22713 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22714 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22716 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22717 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22719 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22722 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22725 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22726 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22728 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22729 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22731 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22732 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22734 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22735 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22737 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22738 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22740 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22741 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22743 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22744 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22746 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22747 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22750 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22752 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22753 checks for expected input type size.
22754 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22755 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22757 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22758 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22759 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22760 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22761 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22762 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22763 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22764 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22765 superflous runtime assert check.
22766 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22768 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22770 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22772 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22774 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22776 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22778 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22779 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22780 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22782 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22784 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22786 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22788 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22790 * nptl/pthread_attr_setinheritsched.c
22791 (__pthread_attr_setinheritsched): Likewise.
22792 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22794 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22796 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22797 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22798 __old_pthread_attr_setstack): Likewise.
22799 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22801 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22803 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22805 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22806 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22808 * nptl/tst-typesizes.c: Remove file.
22810 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22811 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22812 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22813 checks for internal pthread_mutex_t offsets.
22814 * sysdeps/aarch64/nptl/pthread-offsets.h
22815 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22816 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22817 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22818 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22819 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22820 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22821 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22822 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22823 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22824 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22825 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22826 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22827 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22828 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22829 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22830 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22831 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22832 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22834 2017-11-07 Florian Weimer <fweimer@redhat.com>
22836 * bits/mman-linux.h: Move ...
22837 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22839 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22842 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22844 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22845 Redefine STRNLEN as __strnlen_power8.
22847 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22849 * signal/sighold.c (sighold): Optimize implementation.
22851 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22852 __NR_rt_sigqueueinfo.
22854 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22857 assume __NR_rt_sigtimedwait.
22858 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22859 and add LIBC_CANCEL_HANDLED for cancellation marking.
22860 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22862 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22863 (sysdeps_routines): Add memchr_noneon.
22864 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22865 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22866 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22867 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22868 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22869 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22870 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22872 * sysdeps/arm/arm-ifunc.h: New file.
22873 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22874 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22875 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22876 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22877 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22878 (__memcpy_neon): Avoid create hidden alias.
22879 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22880 (__memcpy_vfp): Likewise.
22881 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22882 (sysdep_routines): Add memcpy_arm.
22883 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22885 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22888 * Makerules (make-link-multidir): New.
22889 * config.make.in (multidir): New.
22890 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22891 * configure: Regenerated.
22892 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22893 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22894 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22897 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22900 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22901 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22903 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22905 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22908 2017-11-04 Florian Weimer <fweimer@redhat.com>
22910 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22912 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22914 * math/math.h [__HAVE_DISTINCT_FLOAT16
22915 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22916 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22917 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22918 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22919 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22920 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22921 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22922 (__MATH_TG_F32): New macro.
22923 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22924 (__MATH_TG_F64X): Likewise.
22925 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22926 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22928 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22930 * po/de.po: Update translations.
22931 * po/ru.po: Likewise.
22933 2017-11-03 Florian Weimer <fweimer@redhat.com>
22935 * manual/filesys.texi (Hard Links): Document linkat.
22937 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22939 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22940 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22941 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22942 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22943 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22944 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22945 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22946 the same as _Float128.
22947 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22948 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22949 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22952 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22954 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22956 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22958 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22959 (strtof32x): Likewise.
22960 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22961 (strtof64x): Likewise.
22962 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22963 (strtof128x): Likewise.
22964 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22965 (strfromf16): Likewise.
22966 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22967 (strfromf32): Likewise.
22968 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22969 (strfromf64): Likewise.
22970 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22971 (strfromf32x): Likewise.
22972 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22973 (strfromf64x): Likewise.
22974 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22975 (strfromf128x): Likewise.
22976 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22977 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22978 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22979 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22980 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22981 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22983 2017-11-03 Richard Henderson <rth@twiddle.net>
22985 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22987 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22989 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22991 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22993 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22994 DT_TLSDESC_GOT initialization.
22995 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22996 (_dl_tlsdesc_resolve_hold): Likewise.
22997 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22998 (_dl_tlsdesc_resolve_hold): Likewise.
22999 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23000 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23002 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23004 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23006 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23009 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23010 non-lazily for R_ARM_TLS_DESC.
23012 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23015 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23016 R_ARM_TLS_DESC case.
23017 (elf_machine_lazy_rel): Remove the prelink check.
23019 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23021 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23022 DT_TLSDESC_GOT initialization.
23023 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23024 (_dl_tlsdesc_resolve_rela): Likewise.
23025 (_dl_tlsdesc_resolve_hold): Likewise.
23026 (_dl_tlsdesc_undefweak): Remove ldar.
23027 (_dl_tlsdesc_dynamic): Likewise.
23028 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23029 (_dl_tlsdesc_resolve_rela): Likewise.
23030 (_dl_tlsdesc_resolve_hold): Likewise.
23031 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23032 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23033 (_dl_tlsdesc_resolve_rela): Likewise.
23034 (_dl_tlsdesc_resolve_hold): Likewise.
23036 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23038 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23039 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23041 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23043 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23044 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23046 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23048 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23050 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23051 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23052 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23053 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23054 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23055 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23056 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23057 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23058 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23059 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23060 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23062 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23065 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23066 * localedata/locales/tpi_PG: Add standard header.
23068 2017-11-02 Florian Weimer <fweimer@redhat.com>
23070 test-errno-linux: quotactl can fail with EPERM in containers.
23071 * sysdeps/unix/sysv/linux/test-errno-linux.c
23072 (LIST, LIST_FORWARD): New macros.
23073 (check_error_in_list): New function.
23074 (test_wrp_rv): Accept list of permitted error codes.
23075 (test_wrp_rv2): Remove.
23076 (test_wrp): Call test_wrp_rv with list of error codes.
23077 (test_wrp2): Accept list of error codes.
23078 (do_test): Adjust. Allow EPERM for quotactl.
23080 2017-11-02 Florian Weimer <fweimer@redhat.com>
23082 * stdio-common/bug16.c (do_test): Use array_length.
23083 * stdio-common/errlist.c (_sys_nerr): Likewise.
23084 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23085 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23086 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23087 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23088 (do_test): Use array_length.
23089 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23090 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23091 * stdio-common/tst-printf-round.c (do_test): Likewise.
23092 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23093 (CHECK): Use array_length.
23094 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23095 * stdio-common/tstscanf.c (main): Likewise.
23096 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23098 2017-11-02 Florian Weimer <fweimer@redhat.com>
23100 Add array_length and array_end macros.
23101 * include/array_length.h: New file.
23103 2017-11-02 Florian Weimer <fweimer@redhat.com>
23106 * posix/tst-glob-tilde.c (do_noescape): New variable.
23107 (one_test): Process it.
23108 (do_test): Set do_noescape. Add unescaping test case.
23110 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23113 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23114 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23115 with appropriate macros defined and undefined.
23116 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23117 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23118 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23119 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23120 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23121 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23122 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23123 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23124 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23125 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23128 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23129 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23130 that for long double. Do not condition define and undefine of
23131 _Mdouble_complex_ on [__CFLOAT128].
23133 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23135 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23136 of <sysdeps/generic/sysdep.h>.
23137 (ALIGNARG): Removed.
23138 (ASM_SIZE_DIRECTIVE): Likewise.
23141 (ENTRY_CHK): Likewise.
23142 (END_CHK): Likewise.
23143 (syscall_error): Likewise.
23144 (mcount): Likewise.
23145 (PSEUDO_END): Likewise.
23147 (atom_text_section): Likewise.
23148 * sysdeps/x86/sysdep.h: New file.
23149 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23150 of <sysdeps/generic/sysdep.h>.
23151 (ALIGNARG): Removed.
23152 (ASM_SIZE_DIRECTIVE): Likewise.
23155 (ENTRY_CHK): Likewise.
23156 (END_CHK): Likewise.
23157 (syscall_error): Likewise.
23158 (mcount): Likewise.
23159 (PSEUDO_END): Likewise.
23161 (atom_text_section): Likewise.
23163 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23165 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23166 category of LC_CTYPE set to "i18n:2012".
23167 * localedata/locales/i18n_ctype: Regenerate.
23169 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23171 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23172 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23173 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23174 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23176 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23177 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23181 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23184 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23186 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23188 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23190 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23191 (CMPLXF32X): Likewise.
23192 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23193 (CMPLXF64X): Likewise.
23194 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23195 (CMPLXF128X): Likewise.
23198 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23199 (__MATH_EVAL_FMT2): Define to add 0.0f.
23201 2017-10-31 Alan Modra <amodra@gmail.com>
23203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23219 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23220 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23221 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23222 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23230 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23231 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23232 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23233 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23234 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23235 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23236 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23237 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23238 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23239 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23240 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23241 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23242 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23244 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23245 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23246 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23247 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23248 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23249 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23250 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23251 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23252 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23253 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23254 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23255 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23256 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23257 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23258 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23259 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23260 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23261 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23262 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23263 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23264 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23265 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23266 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23267 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23268 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23269 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23270 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23271 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23272 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23273 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23276 include sysdep.h and math_ldbl_opt.h.
23278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23279 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23305 2017-10-31 Alan Modra <amodra@gmail.com>
23307 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23308 string/strncase_l.c, not string/strncase.c.
23309 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23310 (libc_hidden_def): Redefine.
23312 2017-10-31 Alan Modra <amodra@gmail.com>
23314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23315 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23316 (__strcasecmp): Don't define.
23318 2017-10-31 Alan Modra <amodra@gmail.com>
23320 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23322 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23323 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23326 2017-10-31 Alan Modra <amodra@gmail.com>
23328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23331 2017-10-31 Alan Modra <amodra@gmail.com>
23333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23334 Redefine only when SHARED.
23336 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23338 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23339 Include <bits/math-finite.h> with appropriate macros defined and
23341 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23342 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23343 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23344 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23345 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23347 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23348 [!_Mlong_double_] (_Mlong_double_): Likewise.
23349 [!_Mfloat16_] (_Mfloat16_): Likewise.
23350 [!_Mfloat32_] (_Mfloat32_): Likewise.
23351 [!_Mfloat64_] (_Mfloat64_): Likewise.
23352 [!_Mfloat128_] (_Mfloat128_): Likewise.
23353 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23354 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23355 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23356 (_Mdouble_): Define without indirection through those macros.
23357 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23358 [!_Mfloat128_] (_Mfloat128_): Likewise.
23359 [_Mlong_double_] (_Mlong_double_): Likewise.
23360 (_Mdouble_): Define without indirection through those macros.
23361 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23362 not add -D_Mlong_double_=double.
23363 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23364 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23366 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23368 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23370 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23372 * sysdeps/x86/libc-start.c: Reformat.
23374 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23377 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23378 (1): Renamed to ...
23381 (L(Src2)): Likewise.
23382 (L(1)): Renamed to ...
23385 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23387 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23388 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23389 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23390 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23391 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23392 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23393 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23394 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23395 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23396 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23397 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23398 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23399 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23400 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23401 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23402 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23403 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23404 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23405 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23406 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23407 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23408 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23409 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23410 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23411 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23412 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23413 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23414 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23415 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23416 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23417 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23418 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23419 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23420 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23421 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23422 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23423 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23424 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23425 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23426 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23427 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23428 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23429 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23430 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23431 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23432 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23433 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23434 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23435 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23436 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23437 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23438 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23439 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23440 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23441 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23442 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23443 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23444 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23445 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23446 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23447 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23448 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23449 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23450 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23451 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23452 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23454 2017-10-30 Florian Weimer <fweimer@redhat.com>
23456 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23458 * io/tst-mkdirat.c (do_test): Likewise.
23459 * io/tst-mkfifoat.c (do_test): Likewise.
23460 * io/tst-mknodat.c (do_test): Likewise.
23461 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23462 * locale/programs/locale.c (select_dirs): Likewise.
23463 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23464 * posix/bug-glob2.c (my_readdir): Likewise.
23465 * posix/tst-dir.c (main): Likewise.
23466 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23467 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23469 2017-10-30 Florian Weimer <fweimer@redhat.com>
23471 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23474 2017-10-30 Florian Weimer <fweimer@redhat.com>
23476 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23477 Convert to support/test-driver.c.
23478 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23479 New macro parameters.
23480 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23481 * posix/tst-gnuglob.c: New file.
23482 * posix/tst-gnuglob64.c: Likewise.
23483 * posix/Makefile (tests): Add tst-gnuglob64.
23485 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23488 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23489 and use a better translation for March in “mon”.
23490 * localedata/locales/csb_PL: Use more ASCII to improve the
23491 readability of the source.
23493 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23496 * localedata/locales/km_KH: Use ASCII as much
23497 as possible for better readability of the source and
23498 remove useless comments.
23499 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23500 was commented out and apparently wrong anyway because it was
23501 using Lao characters. If Buddhist era should be used
23502 for km_KH, a native speaker should write the correct formaat
23504 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23505 (According to CLDR, the first weekday for Cambodia is Sunday).
23506 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23507 (These were using Lao characters which must be wrong. If we get
23508 the correct data from a native speaker, we could add it back, until
23509 then it is better not to have name_mr and name_mrs at all than
23512 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23514 * locale/loadlocale.c: Correct size of
23515 _nl_value_type_LC_<category> arrays.
23517 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23519 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23520 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23521 with appropriate macros defined and undefined.
23522 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23523 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23524 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23525 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23526 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23528 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23530 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23533 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23535 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23536 with lowercase letters to make it agree with CLDR.
23538 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23541 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23542 first letters of yesstr and nostr in yesexpr and noexpr,
23543 not for the full words.
23544 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23545 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23546 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23547 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23548 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23549 first letters of yesstr and nostr in yesexpr and noexpr,
23550 until now only English was matched in yesexpr and noexpr.
23551 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23552 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23553 fil but not for tl. As tl and fil are very similar, using fil
23554 is probably better than using English.
23556 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23559 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23560 in yesstr and nostr.
23562 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23564 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23565 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23566 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23568 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23570 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23572 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23574 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23575 (SNANF128X): Likewise.
23577 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23578 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23579 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23580 (HUGE_VAL_F32): Likewise.
23581 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23582 (HUGE_VAL_F64): Likewise.
23583 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23584 (HUGE_VAL_F32X): Likewise.
23585 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23586 (HUGE_VAL_F64X): Likewise.
23587 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23588 (HUGE_VAL_F128X): Likewise.
23590 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23592 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23593 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23594 for the br_FR locale.
23596 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23599 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23601 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23603 * locale/programs/record-status.h: Define globals, and function
23604 prototypes. Move function bodies...
23605 * locale/programs/record-status.c: ... to here. New file.
23606 * iconv/Makefile (iconv_prog-modules): Add record-status.
23607 * locale/Makefile (lib-modules): Likewise.
23608 * iconv/iconv_prog.c: Remove verbose.
23609 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23610 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23611 record a warning about ASCII compatibility.
23612 * locale/programs/ld-monetary.c (monetary_finish): If
23613 warn_int_curr_symbol is true then record a warning about the symbol
23614 not being in our ISO 4217 list.
23615 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23616 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23617 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23618 (OPT_NO_WARN): Define.
23619 (OPT_WARN): Define.
23620 (options): Add entry for --no-warnings, and --warnings.
23621 (set_warnings): New function to enable/disable warnings.
23622 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23623 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23624 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23625 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23626 Pass flags to generate_locale.
23627 (generate_locale): Accept new flag argument and pass it to localedef
23629 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23630 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23632 * localedata/Makefile (test-input-data): Use full file name.
23633 * localedata/da_DK.in: Rename to...
23634 * localedata/da_DK.ISO-8859-1.in: ...this.
23635 * localedata/de_DE.in: Rename to...
23636 * localedata/de_DE.ISO-8859-1.in: ...this.
23637 * localedata/en_US.in: Rename to...
23638 * localedata/en_US.ISO-8859-1.in: ...this.
23639 * localedata/fr_FR.in: Rename to...
23640 * localedata/fr_FR.UTF-8.in: ... this.
23641 * localedata/hr_HR.in: Rename to...
23642 * localedata/hr_HR.ISO-8859-2.in: ...this.
23643 * localedata/hu_HU.in: Rename to...
23644 * localedata/hu_HU.UTF-8.in: ...this.
23645 * localedata/si_LK.in: Rename to...
23646 * localedata/si_LK.UTF-8.in: ...this.
23647 * localedata/sv_SE.in: Rename to...
23648 * localedata/sv_SE.ISO-8859-1.in: ...this.
23649 * localedata/tr_TR.in: Rename to...
23650 * localedata/tr_TR.UTF-8.in: ...this.
23651 * localedata/uk_UA.in: Rename to...
23652 * localedata/uk_UA.UTF-8.in: ...this.
23653 * localedata/sort-test.sh: Test file is locale name with the
23656 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23657 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23659 * localedata/locales/i18n_ctype: Regenerate.
23660 * localedata/locales/tr_TR: Likewise.
23661 * localedata/locales/translit_circle: Likewise.
23662 * localedata/locales/translit_cjk_compat: Likewise.
23663 * localedata/locales/translit_combining: Likewise.
23664 * localedata/locales/translit_compat: Likewise.
23665 * localedata/locales/translit_font: Likewise.
23666 * localedata/locales/translit_fraction: Likewise.
23668 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23670 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23671 lxvd2x/stxvd2x with lvx/stvx.
23672 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23674 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23676 * include/alloc_buffer.h: Replace "if if " with "if " in
23678 * sysdeps/mips/memcpy.S: Likkewise.
23679 * sysdeps/mips/memset.S: Likewise.
23680 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23682 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23684 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23687 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23690 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23691 yesexpr and noexpr.
23692 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23693 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23694 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23695 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23696 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23697 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23698 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23700 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23702 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23703 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23704 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23705 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23706 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23707 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23708 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23709 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23710 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23711 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23712 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23713 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23715 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23717 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23718 as possible for better readability of the source.
23719 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23720 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23721 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23722 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23723 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23724 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23725 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23726 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23727 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23728 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23729 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23730 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23731 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23732 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23733 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23734 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23735 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23736 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23737 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23738 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23739 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23740 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23741 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23742 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23743 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23744 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23745 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23746 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23747 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23748 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23749 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23750 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23751 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23752 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23753 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23754 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23755 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23756 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23757 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23758 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23759 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23760 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23761 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23762 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23763 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23764 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23765 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23766 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23767 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23768 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23769 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23770 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23771 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23772 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23773 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23774 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23775 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23776 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23777 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23778 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23779 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23780 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23781 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23782 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23783 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23784 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23785 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23786 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23787 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23788 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23789 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23790 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23791 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23792 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23793 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23794 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23795 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23796 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23797 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23798 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23799 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23800 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23801 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23802 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23803 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23804 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23805 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23806 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23807 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23808 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23809 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23810 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23811 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23812 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23813 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23814 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23815 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23816 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23817 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23818 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23819 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23820 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23821 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23822 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23823 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23824 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23825 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23826 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23827 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23828 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23829 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23830 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23831 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23832 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23833 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23834 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23835 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23836 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23837 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23838 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23839 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23840 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23841 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23842 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23843 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23844 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23845 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23846 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23847 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23848 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23849 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23850 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23851 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23852 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23853 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23854 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23855 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23856 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23857 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23858 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23859 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23860 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23861 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23862 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23863 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23864 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23865 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23866 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23867 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23868 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23869 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23870 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23871 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23872 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23873 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23874 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23875 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23876 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23877 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23878 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23879 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23880 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23881 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23882 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23883 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23884 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23885 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23886 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23887 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23888 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23889 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23890 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23891 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23892 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23894 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23896 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23897 (Use first letters of yesstr and nostr correctly instead of using
23900 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23902 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23903 (Use first letters of yesstr and nostr correctly).
23905 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23907 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23908 also check for the first characters of yesstr and nostr.
23909 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23910 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23912 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23914 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23915 also check for Chinese characters.
23917 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23919 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23920 match also for the contents of yesstr and nostr. As the first letter
23921 of yesstr and nostr is equal, checking only for the first letter
23924 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23926 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23927 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23929 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23931 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23932 of main contributor.
23934 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23936 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23937 instead of using English.
23939 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23941 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23942 by including the first letters of nostr and yesexpr in the regexp.
23943 Also make it more readable by using ASCII where possible.
23945 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23947 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23948 the first letter of nostr in the regexp. It agrees with CLDR now.
23949 Also make it more readable by using ASCII where possible.
23951 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23953 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23954 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23955 these strings contain a U+17D6 (which somewhat looks like a colon)
23956 instead of a real colon to separate the full words for “yes”
23957 and “no” from the single letter responses.
23959 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23961 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23962 it agree with CLDR (include the first letter of yesstr).
23963 Also make it more readable by using ASCII where possible.
23965 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23967 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23968 and improve yesexpr and noexpr. The yesstr and nostr apparently
23969 came from CLDR. And CLDR has a bug there: these strings contain
23970 a U+0903 (which looks like a colon) instead of a real colon
23971 to separate the full words for “yes” and “no” from the single
23974 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23976 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23977 letters of the full yesstr and nostr in yesexpr and noexpr.
23979 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23981 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23982 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23983 * localedata/locales/an_ES: Make source more readable by using ASCII
23986 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23989 * localedata/locales/yuw_PG: New file.
23990 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23991 * locale/iso-639.def: Add Yau (Uruwa).
23993 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23995 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23997 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23999 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24000 (__libc_realloc): Likewise.
24001 (_mid_memalign): Likewise.
24002 (__libc_calloc): Likewise.
24004 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24006 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24007 by adding the generic +1 and -0 as in all other locales.
24008 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24009 day names and make it more readable by using ASCII where possible.
24011 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24013 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24014 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24016 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24018 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24019 WNOHANG in waitpid call.
24021 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24023 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24024 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24026 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24027 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24028 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24029 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24030 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24031 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24032 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24033 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24036 2017-10-23 Michael Collison <michael.collison@arm.com>
24038 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24039 with __builtin_sqrt.
24040 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24041 with __builtin_sqrtf.
24042 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24043 with __builtin_ceil.
24044 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24045 with __builtin_ceilf.
24046 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24047 with __builtin_floor.
24048 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24049 with __builtin_floorf.
24050 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24051 with __builtin_fma.
24052 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24053 with __builtin_fmaf.
24054 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24055 with __builtin_fmax.
24056 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24057 with __builtin_fmaxf.
24058 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24059 with __builtin_fmin.
24060 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24061 with __builtin_fminf.
24062 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24063 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24064 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24065 with builtin_rint and conversion to int.
24066 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24067 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24068 with builtin_llround.
24069 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24070 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24071 with builtin_rint and conversion to long int.
24072 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24073 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24074 with builtin_lround.
24075 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24076 with builtin_lroundf.
24077 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24078 statements with __builtin_nearbyint.
24079 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24080 statements with __builtin_nearbyintf.
24081 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24082 with __builtin_rint.
24083 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24084 with __builtin_rintf.
24085 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24086 with __builtin_round.
24087 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24088 with __builtin_roundf.
24089 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24090 with __builtin_trunc.
24091 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24092 with __builtin_truncf.
24093 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24094 and s_l[l]round[f].c too.
24096 2017-10-23 Alan Modra <amodra@gmail.com>
24098 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24099 Adjust stack after restoring regs. Add missing LR cfi_restore.
24101 2017-10-23 Alan Modra <amodra@gmail.com>
24103 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24104 Move LR save and frame setup/teardown and LR restore to
24105 immediately around memset call. Provide cfi.
24107 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24109 * sysdeps/i386/fpu/e_powf.S: Removed.
24110 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24111 * sysdeps/i386/fpu/w_powf.c: Likewise.
24112 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24113 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24114 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24116 (CFLAGS-e_powf-sse2.c): New.
24117 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24118 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24120 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/i386/fpu/e_log2f.S: Removed.
24123 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24124 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24125 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24126 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24127 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24129 (CFLAGS-e_log2f-sse2.c): New.
24130 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24131 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24133 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24135 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24137 (CFLAGS-e_powf-fma.c): New.
24138 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24139 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24141 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24145 (CFLAGS-e_log2f-fma.c): New.
24146 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24147 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24149 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24151 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24153 (CFLAGS-e_logf-fma.c): New.
24154 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24155 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24157 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24159 * sysdeps/i386/fpu/e_logf.S: Removed.
24160 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24161 * sysdeps/i386/fpu/w_logf.c: Likewise.
24162 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24163 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24164 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24165 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24167 (CFLAGS-e_logf-sse2.c): New.
24168 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24169 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24171 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24173 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24174 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24175 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24176 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24177 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24179 (CFLAGS-e_exp2f-sse2.c): New.
24180 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24181 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24183 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24187 (CFLAGS-e_exp2f-fma.c): New.
24188 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24189 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24191 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24193 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24194 * sysdeps/i386/fpu/e_expf.S: Likewise.
24195 * sysdeps/i386/fpu/math_errf.c: Likewise.
24196 * sysdeps/i386/fpu/w_expf.c: Likewise.
24197 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24199 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24200 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24201 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24202 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24203 Remove e_expf-ia32.
24204 (CFLAGS-e_expf-sse2.c): New.
24205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24206 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24208 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24210 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24211 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24212 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24215 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24217 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24218 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24220 (__redirect_expf): This.
24221 (SYMBOL_NAME): Changed to expf.
24222 (__ieee754_expf): Renamed to ...
24224 (__GI___expf): This.
24225 (__ieee754_expf): Add strong_alias.
24226 (__expf_finite): Likewise.
24228 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24230 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24233 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24236 2017-10-21 Florian Weimer <fweimer@redhat.com>
24238 * posix/Makefile (tests): Add tst-glob-tilde.
24239 (tests-special): Add tst-glob-tilde-mem.out
24240 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24241 (tst-glob-tilde-mem.out): Add mtrace check.
24242 * posix/tst-glob-tilde.c: New file.
24244 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24246 * bits/floatn-common.h: New file.
24247 * math/Makefile (headers): Add bits/floatn-common.h.
24248 * bits/floatn.h: Include <bits/floatn-common.h>.
24249 * sysdeps/ia64/bits/floatn.h: Likewise.
24250 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24251 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24252 * sysdeps/powerpc/bits/floatn.h: Likewise.
24253 * sysdeps/x86/bits/floatn.h: Likewise.
24255 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24257 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24258 indicates whether compiler emits an warning for alias for
24259 functions with incompatible types.
24262 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24263 the auxiliary process is terminated by a signal before calling _exit
24266 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24269 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24271 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24272 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24273 and bit_arch_XSAVEC_Usable if needed.
24274 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24275 and bit_arch_Use_dl_runtime_resolve_opt.
24276 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24278 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24279 (bit_arch_Prefer_No_AVX512): Updated.
24280 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24281 (bit_arch_XSAVEC_Usable): New.
24282 (STATE_SAVE_OFFSET): Likewise.
24283 (STATE_SAVE_MASK): Likewise.
24284 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24285 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24286 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24287 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24288 (index_arch_XSAVEC_Usable): New.
24289 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24290 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24291 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24293 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24294 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24295 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24296 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24297 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24298 _dl_runtime_resolve_xsavec.
24299 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24301 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24302 instead of VEC_SIZE.
24303 (REGISTER_SAVE_BND0): Removed.
24304 (REGISTER_SAVE_BND1): Likewise.
24305 (REGISTER_SAVE_BND3): Likewise.
24306 (REGISTER_SAVE_RAX): Always defined to 0.
24308 (_dl_runtime_resolve_avx): Likewise.
24309 (_dl_runtime_resolve_avx_slow): Likewise.
24310 (_dl_runtime_resolve_avx_opt): Likewise.
24311 (_dl_runtime_resolve_avx512): Likewise.
24312 (_dl_runtime_resolve_avx512_opt): Likewise.
24313 (_dl_runtime_resolve_sse): Likewise.
24314 (_dl_runtime_resolve_sse_vex): Likewise.
24316 (_dl_runtime_resolve_fxsave): Likewise.
24317 (USE_XSAVE): Likewise.
24318 (_dl_runtime_resolve_xsave): Likewise.
24319 (USE_XSAVEC): Likewise.
24320 (_dl_runtime_resolve_xsavec): Likewise.
24321 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24323 (_dl_runtime_resolve_avx512_opt): Likewise.
24324 (_dl_runtime_resolve_avx): Likewise.
24325 (_dl_runtime_resolve_avx_opt): Likewise.
24326 (_dl_runtime_resolve_sse): Likewise.
24327 (_dl_runtime_resolve_sse_vex): Likewise.
24328 (_dl_runtime_resolve_fxsave): New.
24329 (_dl_runtime_resolve_xsave): Likewise.
24330 (_dl_runtime_resolve_xsavec): Likewise.
24332 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24336 * posix/glob.c (__glob): Fix one-byte overflow.
24338 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24340 * malloc/malloc.c (sysdep-cancel.h): Add include.
24342 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24344 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24346 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24348 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24349 (tests): Remove $(objpfx)ga_test depdendency.
24350 * resolv/ga_test.c: Remove file.
24352 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24355 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24356 * localedata/locales/kab_DZ: New file.
24358 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24360 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24361 _dl_relocate_static_pie instead of _dl_start to compute load
24362 address in static PIE.
24364 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24366 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24368 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24371 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24372 * localedata/locales/shn_MM: New file.
24374 2017-10-20 Florian Weimer <fweimer@redhat.com>
24377 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24378 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24379 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24380 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24381 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24382 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24384 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24386 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24388 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24390 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24393 * sysdeps/mips/bits/long-double.h: Move to ....
24394 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24396 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24398 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24400 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24401 H.J. Lu <hongjiu.lu@intel.com>
24404 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24405 GLRO(dl_platform) to NULL.
24406 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24407 (modules-names): Add tst-platformmod-1 and
24408 x86_64/tst-platformmod-2.
24409 (CFLAGS-tst-platform-1.c): New.
24410 (CFLAGS-tst-platformmod-1.c): Likewise.
24411 (CFLAGS-tst-platformmod-2.c): Likewise.
24412 (LDFLAGS-tst-platformmod-2.so): Likewise.
24413 ($(objpfx)tst-platform-1): Likewise.
24414 ($(objpfx)tst-platform-1.out): Likewise.
24415 (tst-platform-1-ENV): Likewise.
24416 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24417 * sysdeps/x86_64/tst-platform-1.c: New file.
24418 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24419 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24421 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24424 * locale/iso-639.def: Add Karbi.
24425 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24426 * localedata/locales/mjw_IN: New file.
24428 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24430 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24431 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24432 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24433 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24434 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24435 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24436 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24438 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24439 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24440 * manual/math.texi (Mathematics): Document additional architecture
24441 support for _Float128.
24442 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24443 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24444 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24445 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24447 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24448 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24449 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24450 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24451 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24452 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24453 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24455 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24456 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24458 2017-10-18 Renlin Li <renlin.li@arm.com>
24460 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24461 _DYNAMIC symbol to calculate load address.
24463 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24465 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24466 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24468 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24469 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24471 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24474 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24475 and improve readability by using more ASCII.
24476 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24477 and improve readability by using more ASCII.
24479 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24481 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24482 not all targets support atomics on bool.
24484 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24486 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24487 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24489 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24490 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24491 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24492 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24493 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24494 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24496 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24498 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24501 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24504 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24505 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24506 (do_check_remalloced_chunk): Fix build bug.
24507 (do_check_malloc_state): Add assert that checks arena->top.
24508 (malloc_consolidate): Remove initialization.
24509 (int_mallinfo): Remove call to malloc_consolidate.
24510 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24512 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24514 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24515 (have_fastchunks): Remove.
24516 (clear_fastchunks): Remove.
24517 (set_fastchunks): Remove.
24518 (malloc_state): Add have_fastchunks.
24519 (malloc_init_state): Use have_fastchunks.
24520 (do_check_malloc_state): Remove incorrect invariant checks.
24521 (_int_malloc): Use have_fastchunks.
24522 (_int_free): Likewise.
24523 (malloc_consolidate): Likewise.
24525 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24527 * malloc/malloc.c (tcache_put): Inline.
24528 (tcache_get): Inline.
24530 2017-10-17 Jordi Mallach <jordi@gnu.org>
24532 Aurelien Jarno <aurelien@aurel32.net>
24534 * localedata/locales/ca_ES@valencia: New file.
24535 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24537 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24540 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24543 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24545 * scripts/build-many-glibcs.py (Context.add_all_configs):
24546 Add arm-linux-gnueabihf multiarch extra_glibcs.
24548 * sysdeps/generic/ifunc-init.h: New file.
24549 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24551 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24554 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24555 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24556 * stdlib/tst-strfmon_l.c: adapt test case.
24558 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24560 * sysdeps/generic/float128-abi.h: New file.
24561 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24562 non-__prefixed symbols to ....
24563 * math/Versions: ... here. Include <float128-abi.h>.
24564 * stdlib/Versions ... and here. Include <float128-abi.h>
24566 2017-10-16 Florian Weimer <fweimer@redhat.com>
24568 * version.h (VERSION): Switch to ".9000" as the development
24571 2017-10-16 Florian Weimer <fweimer@redhat.com>
24574 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24575 compat_symbol_reference to access non-default version.
24577 2017-10-16 Florian Weimer <fweimer@redhat.com>
24579 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24581 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24583 * include/shlib-compat.h (compat_symbol_reference): Update
24586 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24588 * math/Makefile (test-types): Add
24589 $(type-float128-$(float128-alias-fcts)).
24590 * math/test-float128.h (TYPE_STR): Define conditional on
24591 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24592 (ULP_IDX): Likewise.
24593 (ULP_I_IDX): Likewise.
24595 * stdlib/strtold.c: Include <bits/floatn.h>
24596 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24597 and later undefine as macro. Define as weak alias if
24599 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24600 and later undefine as macro. Define as weak alias if
24602 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24603 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24604 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24605 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24606 Define and later undefine as macro. Define as weak alias if
24608 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24611 Define and later undefine as macro. Define as weak alias if
24613 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24614 Define and later undefine as macro. Define as weak alias if
24617 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24619 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24620 record_verbose messages.
24622 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24625 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24626 to silence -O3 -Wall warning with GCC 7.
24628 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24630 * Makeconfig (+link-static-before-libc): Use the first of
24631 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24632 * gmon/Makefile (tests): Add tst-gmon-static.
24633 (tests-static): Likewise.
24634 (CFLAGS-tst-gmon-static.c): New.
24635 (CRT-tst-gmon-static): Likewise.
24636 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24637 (tst-gmon-static-ENV): Likewise.
24638 (tests-special): Likewise.
24639 ($(objpfx)tst-gmon-static.out): Likewise.
24640 (clean-tst-gmon-static-data): Likewise.
24641 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24642 * gmon/tst-gmon-static-gprof.sh: New file.
24643 * gmon/tst-gmon-static.c: Likewise.
24645 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24648 * locale/programs/linereader.c (get_string): Don't warn on
24649 non-symbolic character.
24652 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24656 * locale/programs/record-status.h: New file
24657 * locale/programs/locale.c: Add comment.
24658 * locale/programs/charmap-dir.c: Don't include error.h.
24659 (charmap_opendir): Use record_error.
24660 * locale/programs/charmap.c: Don't include error.h.
24661 (charmap_read): Use record_error, and record_warning.
24662 (parse_charmap): Likewise.
24663 * locale/programs/ld-address.c: Don't include error.h.
24664 (address_finish): Use record_error, and record_warning.
24665 * locale/programs/ld-collate.c: Don't include error.h.
24666 (collate_finish): Use record_error, and record_error_at_line.
24667 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24668 (ctype_class_new): Likewise.
24669 (ctype_map_new): Likewise.
24670 (set_one_default): Likewise.
24671 (set_class_defaults): Likewise.
24672 (translit_flatten): Likewise.
24673 (allocate_arrays): Use record_error, and record_verbose.
24674 * locale/programs/ld-identification.c: Don't include error.h.
24675 (indentation_finish): Use record_error and record_warning.
24676 * locale/programs/ld-measurement.c: Don't include error.h.
24677 (measurement_finish): Use record_error.
24678 * locale/programs/ld-messages.c
24679 (message_finish): Likewise.
24680 * locale/programs/ld-monetary.c
24681 (monetary_finish): Likewise.
24682 * locale/programs/ld-name.c (name_finish): Use record_error
24683 and record_warning.
24684 * locale/programs/ld-numeric.c
24685 (numeric_finish): Use record_error.
24686 * locale/programs/ld-paper.c: Don't include error.h.
24687 (paper_finish): Use record_error.
24688 * locale/programs/ld-telephone.c: Don't include error.h.
24689 (telephone_finish): Use record_error.
24690 * locale/programs/ld-time.c (time_finish): Likewise.
24691 * locale/programs/linereader.h (lr_error): Make inline func.
24692 * locale/programs/localedef.c: Define recorded_warning_count,
24693 and recorded_error_count.
24694 (main): Use record_error. Use recorded_error_count and
24695 recorded_warning_count to issue correct error returns.
24696 (add_to_readlist): Use record_error.
24697 (find_locale): Likewise.
24698 (load_locale): Likewise.
24699 * locale/programs/localedef.h: Remove be_quiet
24700 and WITH_CUR_LOCALE.
24701 * locale/programs/locarchive.c (compare_from_file): Use
24703 * locale/programs/locfile.c (write_locale_data): Use
24705 * locale/programs/repertoire.c: Dont include error.h.
24706 (repertoire_complain): Use record_error.
24707 * localedata/tst-fmon.sh: Expect failures from localedef.
24708 * localedata/tst-locale.sh: Likewise.
24709 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24711 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24712 (REPORTS): Likewise.
24714 (i18n): Rename to...
24715 (i18n_ctype): ...this.
24716 (i18n-report): Rename to...
24717 (i18n_ctype-report): ...this.
24718 * localedata/locales/i18n_ctype: Regenerate.
24719 * localedata/locales/i18n: copy i18n_ctype.
24721 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24723 * stdlib/strfroml.c: Include <bits/floatn.h>.
24724 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24725 Define before include of <stdlib.h> and undefine afterwards, then
24726 define as weak alias.
24728 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24729 Undefine and restore default definition. Use
24730 libm_alias_ldouble_other.
24732 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24735 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24738 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24740 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24741 Assign sym_map to be map for local symbols, as TLS relocations
24742 use sym_map to determine whether the symbol is defined and to
24743 extract the TLS information.
24744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24747 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24750 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24751 (math_force_eval): Add powerpc version.
24754 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24756 (do_test): Likewise.
24757 * stdio-common/tst-printf.sh: Likewise.
24758 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24759 ifdef clause in order to set the carry bit right. Replace r0 by
24760 0 without changing the behavior.
24762 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24764 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24765 <libm-alias-ldouble.h>.
24766 (fabsl): Define using libm_alias_ldouble.
24767 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24768 <libm-alias-ldouble.h>.
24769 (fabsl): Define using libm_alias_ldouble.
24771 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24772 Remove conditional code.
24774 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24775 Rename to __clog10_internal_l.
24776 (__clog10_internal_l): Define aliases using
24777 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24780 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24782 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24783 * benchtests/sincosf-inputs: New file.
24784 * benchtests/cosf-inputs: New file.
24785 * benchtests/sinf-inputs: New file.
24787 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24789 * posix/tst-spawn.c (do_test): Wait for both children.
24791 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24794 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24795 tests-pie): Add tst-gmon-pie.
24796 (CFLAGS-tst-gmon-pie.c): New.
24797 (CRT-tst-gmon-pie): Likewise.
24798 (tst-gmon-pie-ENV): Likewise.
24799 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24800 ($(objpfx)tst-gmon-pie.out): Likewise.
24801 (clean-tst-gmon-pie-data): Likewise.
24802 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24803 * gmon/gmon.c [PIC]: Include <link.h>.
24804 [PIC] (callback): New function.
24805 (write_hist): Add an argument for load address. Subtract load
24807 (write_call_graph): Likewise.
24808 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24809 it to write_hist and write_call_graph.
24810 * gmon/tst-gmon-pie.c: New file.
24812 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24814 * math/Makefile (test-types-basic): New variable.
24815 (test-types): Likewise.
24816 (libm-test-support): Use $(test-types) instead of $(types).
24817 (libm-tests-base-normal): Likewise.
24818 (libm-tests-base-finite): Likewise.
24819 (libm-tests-base-inline): Likewise.
24820 (generated): Likewise.
24821 ($(objpfx)libm-test-support-$(t).c): Likewise.
24822 (libm-tests-for-type iterator): Likewise.
24823 (libm-test-support iterator): Likewise.
24824 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24825 (ulp_idx): Use ULP_IDX.
24826 * math/test-ldouble.h: Include <float.h>.
24827 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24828 (ULP_IDX): New macro.
24829 (ULP_I_IDX): Likewise.
24830 * math/test-double.h (ULP_IDX): Likewise.
24831 (ULP_I_IDX): Likewise.
24832 * math/test-float.h (ULP_IDX): Likewise.
24833 (ULP_I_IDX): Likewise.
24834 * math/test-float128.h (ULP_IDX): Likewise.
24835 (ULP_I_IDX): Likewise.
24837 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24839 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24840 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24841 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24842 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24843 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24844 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24845 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24848 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24849 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24850 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24851 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24853 (SINGLE_THREAD_BY_GLOBAL): Define.
24854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24856 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24858 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24860 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24862 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24863 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24867 2017-10-11 Andreas Schwab <schwab@suse.de>
24869 * nis/Makefile (aux): Remove.
24870 * nscd/Makefile (aux): Add nscd_hash.
24871 (nscd-modules): Likewise.
24872 ($(objpfx)nscd): Don't depend on libnsl.
24873 * nscd/nscd_hash.c: New file.
24874 * nscd/nscd_hash.h: Likewise.
24875 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24876 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24877 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24878 instead of <nis/rpcsvc/nis.h>.
24879 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24881 2017-10-11 Florian Weimer <fweimer@redhat.com>
24884 Avoid large NSS buffers with many addresses, aliases.
24885 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24886 using dynarrays and struct alloc_buffer.
24887 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24888 (tst-nss-files-hosts-multi): Link with -ldl.
24889 * nss/tst-nss-files-hosts-multi.c: New file.
24891 2017-10-11 Florian Weimer <fweimer@redhat.com>
24894 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24895 scratch_buffer. Eliminate gotos.
24897 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24899 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24900 libm_alias_ldouble_other.
24901 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24902 undefine and redefine.
24903 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24904 (exp10l): Do not define here.
24905 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24906 (weak_alias): Undefine and redefine.
24907 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24908 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24909 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24910 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24912 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24913 [!__fma] (fma): Define using libm_alias_double.
24914 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24915 [!__fmaf] (fmaf): Define using libm_alias_float.
24916 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24917 (fmal): Define using libm_alias_ldouble.
24919 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24921 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24923 (libm_alias_double_other): Likewise.
24924 (libm_alias_double_r): Use libm_alias_double_other_r.
24925 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24927 (libm_alias_float_other): Likewise.
24928 (libm_alias_float_r): Use libm_alias_float_other_r.
24929 * sysdeps/generic/libm-alias-float128.h
24930 (libm_alias_float128_other_r): New macro.
24931 (libm_alias_float128_other): Likewise.
24932 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24933 * sysdeps/generic/libm-alias-ldouble.h
24934 (libm_alias_ldouble_other_r): New macro.
24935 (libm_alias_ldouble_other): Likewise.
24936 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24937 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24938 (libm_alias_double_other_r): New macro.
24939 (libm_alias_double_other): Likewise.
24940 (libm_alias_double_r): Use libm_alias_double_other_r.
24941 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24942 (libm_alias_ldouble_other_r): New macro.
24943 (libm_alias_ldouble_other): Likewise.
24944 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24945 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24946 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24947 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24948 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24949 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24950 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24951 * math/w_exp2f.c: Use libm_alias_float_other.
24952 * math/w_expf.c: Likewise.
24953 * math/w_log2f.c: Likewise.
24954 * math/w_logf.c: Likewise.
24955 * math/w_powf.c: Likewise.
24956 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24957 [!__exp2f]: Use libm_alias_float_other.
24958 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24959 [!__expf]: Use libm_alias_float_other.
24960 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24961 [!__log2f]: Use libm_alias_float_other.
24962 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24963 [!__logf]: Use libm_alias_float_other.
24964 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24965 [!__powf]: Use libm_alias_float_other.
24967 2017-10-10 Florian Weimer <fweimer@redhat.com>
24969 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24971 (_nss_files_gethostbyname3_r): Call it.
24973 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24975 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24976 error. Remove default definition of declare_mgen_alias.
24977 [!declare_mgen_alias_r]: Likewise.
24978 * sysdeps/generic/math-type-macros-double.h
24979 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24980 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24981 (declare_mgen_alias_r): Likewise.
24982 * sysdeps/generic/math-type-macros-float128.h
24983 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24984 * sysdeps/generic/math-type-macros-ldouble.h
24985 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24986 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24988 (declare_mgen_alias_r_s): Likewise.
24989 (declare_mgen_alias_r): Likewise.
24990 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24991 (lgamma_r): Define using libm_alias_double_r.
24992 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24993 (lgammaf_r): Define using libm_alias_float_r.
24994 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24995 (lgammal_r): Define using libm_alias_ldouble_r.
24996 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24997 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24999 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25001 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25002 extern declaration.
25004 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25006 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25008 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25011 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25012 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25013 * math/Makefile (test-math-cxx11): New test.
25014 * math/test-math-cxx11.cc: New file.
25016 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25018 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25020 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25021 call to allocate the slave pty file descriptor.
25023 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25025 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25026 [!__fma] (fma): Define using libm_alias_double.
25027 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25028 [!__fma] (fma): Define using libm_alias_double.
25030 * sysdeps/ieee754/float128/float128_private.h: Include
25031 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25032 (libm_alias_ldouble_r): Undefine and redefine.
25033 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25034 <libm-alias-ldouble.h>.
25035 (asinhl): Define using libm_alias_ldouble.
25036 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25037 <libm-alias-ldouble.h>.
25038 (atanl): Define using libm_alias_ldouble.
25039 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25040 <libm-alias-ldouble.h>.
25041 (cbrtl): Define using libm_alias_ldouble.
25042 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25043 <libm-alias-ldouble.h>.
25044 (ceill): Define using libm_alias_ldouble.
25045 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25046 <libm-alias-ldouble.h>.
25047 (copysignl): Define using libm_alias_ldouble.
25048 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25049 <libm-alias-ldouble.h>.
25050 (cosl): Define using libm_alias_ldouble.
25051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25052 <libm-alias-ldouble.h>.
25053 (erfl): Define using libm_alias_ldouble.
25055 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25056 <libm-alias-ldouble.h>.
25057 (expm1l): Define using libm_alias_ldouble.
25058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25059 <libm-alias-ldouble.h>.
25060 (fabsl): Define using libm_alias_ldouble.
25061 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25062 <libm-alias-ldouble.h>.
25063 (floorl): Define using libm_alias_ldouble.
25064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25065 <libm-alias-ldouble.h>.
25066 (fmal): Define using libm_alias_ldouble.
25067 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25068 <libm-alias-ldouble.h>.
25069 (frexpl): Define using libm_alias_ldouble.
25070 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25071 libm_alias_ldouble.
25072 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25073 <libm-alias-ldouble.h>.
25074 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25075 libm_alias_ldouble.
25076 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25077 <libm-alias-ldouble.h>.
25078 (getpayloadl): Define using libm_alias_ldouble.
25079 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25080 <libm-alias-ldouble.h>.
25081 (llrintl): Define using libm_alias_ldouble.
25082 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25083 <libm-alias-ldouble.h>.
25084 (llroundl): Define using libm_alias_ldouble.
25085 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25086 <libm-alias-ldouble.h>.
25087 (logbl): Define using libm_alias_ldouble.
25088 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25089 <libm-alias-ldouble.h>.
25090 (lrintl): Define using libm_alias_ldouble.
25091 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25092 <libm-alias-ldouble.h>.
25093 (lroundl): Define using libm_alias_ldouble.
25094 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25095 <libm-alias-ldouble.h>.
25096 (modfl): Define using libm_alias_ldouble.
25097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25098 <libm-alias-ldouble.h>.
25099 (nearbyintl): Define using libm_alias_ldouble.
25100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25101 <libm-alias-ldouble.h>.
25102 (nextafterl): Define using libm_alias_ldouble.
25103 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25104 <libm-alias-ldouble.h>.
25105 (nextupl): Define using libm_alias_ldouble.
25106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25107 <libm-alias-ldouble.h>.
25108 (remquol): Define using libm_alias_ldouble.
25109 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25110 <libm-alias-ldouble.h>.
25111 (rintl): Define using libm_alias_ldouble.
25112 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25113 <libm-alias-ldouble.h>.
25114 (roundevenl): Define using libm_alias_ldouble.
25115 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25116 <libm-alias-ldouble.h>.
25117 (roundl): Define using libm_alias_ldouble.
25118 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25119 using libm_alias_ldouble.
25120 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25121 <libm-alias-ldouble.h>.
25122 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25123 Define using libm_alias_ldouble.
25124 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25125 <libm-alias-ldouble.h>.
25126 (sincosl): Define using libm_alias_ldouble.
25127 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25128 <libm-alias-ldouble.h>.
25129 (sinl): Define using libm_alias_ldouble.
25130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25131 <libm-alias-ldouble.h>.
25132 (tanhl): Define using libm_alias_ldouble.
25133 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25134 <libm-alias-ldouble.h>.
25135 (tanl): Define using libm_alias_ldouble.
25136 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25137 <libm-alias-ldouble.h>.
25138 (totalorderl): Define using libm_alias_ldouble.
25139 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25140 <libm-alias-ldouble.h>.
25141 (totalordermagl): Define using libm_alias_ldouble.
25142 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25143 <libm-alias-ldouble.h>.
25144 (truncl): Define using libm_alias_ldouble.
25145 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25146 libm_alias_ldouble.
25147 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25148 libm_alias_ldouble.
25149 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25150 <libm-alias-ldouble.h>.
25151 (weak_alias): Do not undefine and redefine.
25152 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25153 (copysignl): Define with long_double_symbol only if [IS_IN
25155 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25156 <libm-alias-ldouble.h>.
25157 (weak_alias): Do not undefine and redefine.
25158 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25159 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25160 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25161 <libm-alias-ldouble.h>.
25162 (weak_alias): Do not undefine and redefine.
25163 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25164 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25165 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25166 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25169 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25171 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25172 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25175 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25182 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25190 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25193 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25194 (tcache_thread_freeres): Set tcache_shutting_down before
25195 freeing the tcache.
25196 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25197 * malloc/tst-malloc-tcache-leak.c: New file.
25199 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25201 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25202 back to powerpc32 file.
25203 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25204 (memrchr): Add __memrchr_power8 to ifunc list.
25205 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25206 extra bytes for unaligned inputs.
25208 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25210 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25211 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25216 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25218 * sysdeps/arm/libm-test-ulps: Update.
25220 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25221 <libm-alias-ldouble.h>.
25222 (asinhl): Define using libm_alias_ldouble.
25223 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25224 <libm-alias-ldouble.h>.
25225 (cbrtl): Define using libm_alias_ldouble.
25226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25227 <libm-alias-ldouble.h>.
25228 (copysignl): Define using libm_alias_ldouble.
25229 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25230 <libm-alias-ldouble.h>.
25231 (cosl): Define using libm_alias_ldouble.
25232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25233 <libm-alias-ldouble.h>.
25234 (erfl): Define using libm_alias_ldouble.
25236 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25237 <libm-alias-ldouble.h>.
25238 (fmal): Define using libm_alias_ldouble.
25239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25240 <libm-alias-ldouble.h>.
25241 (frexpl): Define using libm_alias_ldouble.
25242 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25243 libm_alias_ldouble.
25244 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25245 <libm-alias-ldouble.h>.
25246 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25247 libm_alias_ldouble.
25248 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25249 <libm-alias-ldouble.h>.
25250 (getpayloadl): Define using libm_alias_ldouble.
25251 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25252 <libm-alias-ldouble.h>.
25253 (llrintl): Define using libm_alias_ldouble.
25254 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25255 <libm-alias-ldouble.h>.
25256 (llroundl): Define using libm_alias_ldouble.
25257 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25258 <libm-alias-ldouble.h>.
25259 (lrintl): Define using libm_alias_ldouble.
25260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25261 <libm-alias-ldouble.h>.
25262 (lroundl): Define using libm_alias_ldouble.
25263 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25264 <libm-alias-ldouble.h>.
25265 (modfl): Define using libm_alias_ldouble.
25266 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25267 <libm-alias-ldouble.h>.
25268 (nextupl): Define using libm_alias_ldouble.
25269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25270 <libm-alias-ldouble.h>.
25271 (remquol): Define using libm_alias_ldouble.
25272 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25273 <libm-alias-ldouble.h>.
25274 (roundevenl): Define using libm_alias_ldouble.
25275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25276 <libm-alias-ldouble.h>.
25277 (roundl): Define using libm_alias_ldouble.
25278 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25279 using libm_alias_ldouble.
25280 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25281 <libm-alias-ldouble.h>.
25282 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25283 <libm-alias-ldouble.h>.
25284 (setpayloadsigl): Define using libm_alias_ldouble.
25285 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25286 <libm-alias-ldouble.h>.
25287 (sincosl): Define using libm_alias_ldouble.
25288 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25289 <libm-alias-ldouble.h>.
25290 (sinl): Define using libm_alias_ldouble.
25291 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25292 <libm-alias-ldouble.h>.
25293 (tanhl): Define using libm_alias_ldouble.
25294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25295 <libm-alias-ldouble.h>.
25296 (tanl): Define using libm_alias_ldouble.
25297 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25298 <libm-alias-ldouble.h>.
25299 (totalorderl): Define using libm_alias_ldouble.
25300 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25301 <libm-alias-ldouble.h>.
25302 (totalordermagl): Define using libm_alias_ldouble.
25303 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25304 libm_alias_ldouble.
25305 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25306 libm_alias_ldouble.
25308 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25310 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25312 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25313 (__libc_ifunc_impl_list): Likewise.
25314 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25315 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25317 * benchtests/bench-memmove-walk.c: New file.
25318 * benchtests/Makefile (string-benchset): Add it.
25320 * benchtests/bench-memset-walk.c: New file.
25321 * benchtests/Makefile (string-benchset): Add it.
25323 * benchtests/bench-memcpy-walk.c: New file.
25324 * benchtests/Makefile (string-benchset): Add it.
25326 2017-10-05 Florian Weimer <fweimer@redhat.com>
25328 nscd: Eliminate compilation time dependency in the build output.
25329 * nscd/nscd_stat.c (STATDATA_VERSION)
25330 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25331 (STATDATA_VERSION_FULL): New macro definitions.
25332 (compilation): Remove.
25333 (struct statdata): Adjust version member.
25334 (send_stats): Set version from STATDATA_VERSION_FULL.
25335 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25337 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25339 * configure.ac (--enable-add-ons): Remove option.
25340 (machine): Do not mention add-ons in comment.
25341 (LIBC_PRECONFIGURE): Likewise.
25342 (add_ons): Remove variable and sanity checks and logic to locate
25344 (add_ons_automatic): Remove variable.
25345 (configured_add_ons): Likewise.
25346 (add_ons_sfx): Likewise.
25347 (add_ons_pfx): Likewise.
25348 (add_on_subdirs): Likewise.
25349 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25350 consideration of add-ons in Implies handling.
25351 (sysdeps_add_ons): Likewise.
25352 * configure: Regenerated.
25353 * libidn/configure.ac: Remove.
25354 * libidn/configure: Likewise.
25355 * sysdeps/unix/inet/configure.ac: New file.
25356 * sysdeps/unix/inet/configure: New generated file.
25357 * sysdeps/unix/inet/Subdirs: Add libidn.
25358 * Makeconfig (sysdeps-srcdirs): Remove variable.
25359 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25360 ($(common-objpfx)config.status): Do not depend on add-on files.
25361 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25363 (all-subdirs): Do not include $(add-on-subdirs).
25364 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25365 * config.make.in (add-ons): Remove variable.
25366 (add-on-subdirs): Likewise.
25367 (sysdeps-add-ons): Likewise.
25368 * manual/Makefile (add-chapters): Remove.
25369 ($(objpfx)texis): Do not depend on $(add-chapters).
25370 (nonexamples): Do not handle $(add-chapters).
25371 (examples): Do not handle $(add-ons).
25372 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25374 * manual/install.texi (Installation): Do not mention add-ons.
25375 (--enable-add-ons): Do not document configure option.
25376 * INSTALL: Regenerated.
25377 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25378 * manual/maint.texi (Hierarchy Conventions): Do not mention
25380 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25382 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25384 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25385 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25387 2017-10-05 Andreas Schwab <schwab@suse.de>
25390 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25391 (_IO_flush_all_lockp): Always lock list_all_lock.
25392 (_IO_flush_all_linebuffered): Likewise.
25393 (_IO_unbuffer_all): Likewise.
25395 2017-10-05 Florian Weimer <fweimer@redhat.com>
25398 Do not flush stdio streams on abort.
25399 * stdlib/abort.c (fflush): Remove macro definition.
25400 (abort): Remove stages related to stdio flushing.
25402 2017-10-05 Florian Weimer <fweimer@redhat.com>
25404 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25406 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25408 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25410 2017-10-05 Florian Weimer <fweimer@redhat.com>
25412 * support/support_format_hostent.c (support_format_hostent): Add
25413 more error information for NETDB_INTERNAL.
25415 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25417 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25418 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25419 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25420 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25421 AC_DEFINE if multi-arch is enabled.
25422 * sysdeps/i386/configure: Regenerated.
25424 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25426 * Makeconfig (+link-static-before-libc): Use
25427 $(DEFAULT-LDFLAGS-$(@F)).
25428 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25429 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25430 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25432 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25434 * elf/Makefile (tests): Add tst-main1.
25435 (modules-names): Add tst-main1mod.
25436 ($(objpfx)tst-main1): New.
25437 (CRT-tst-main1): Likewise.
25438 (LDFLAGS-tst-main1): Likewise.
25439 (LDLIBS-tst-main1): Likewise.
25440 (tst-main1mod.so-no-z-defs): Likewise.
25441 * elf/tst-main1.c: New file.
25442 * elf/tst-main1mod.c: Likewise.
25444 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25446 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25448 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25450 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25451 (fma): Define using libm_alias_double.
25452 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25453 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25455 (fmal): Do not define as compat symbol here.
25456 * sysdeps/alpha/fpu/s_fma.c: New file.
25458 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25460 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25462 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25465 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25467 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25469 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25470 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25471 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25472 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25474 Include <math_ldbl_opt.h>
25475 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25477 (compat_symbol): Undefine and redefine.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25480 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25481 (compat_symbol): Undefine and redefine.
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25483 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25484 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25485 GLIBC_2_1 for libm.
25486 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25487 GLIBC_2.0 copysignl symbol.
25488 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25489 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25491 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25493 2017-10-04 Florian Weimer <fweimer@redhat.com>
25495 * scripts/check-local-headers.sh: Ignore nspr4 header file
25496 directory in addition to nspr.
25498 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25501 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25502 * configure: Regenerate.
25503 * crypt/Makefile (nss-cpp-flags): New variable.
25504 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25505 (CPPFLAGS-md5-crypt.c): Use it.
25506 * scripts/check-local-headers.sh: Ignore nspr header file
25509 2017-10-04 Andreas Schwab <schwab@suse.de>
25511 * nis/Makefile (services): Remove compat.
25512 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25513 ($(objpfx)libnss_compat.so): Remove rule.
25514 * nis/Versions (libnss_compat): Remove.
25515 * nss/Makefile (services): Add compat.
25516 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25517 * nss/Versions (libnss_compat): Define.
25518 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25519 Don't include <rpc/types.h>. Replace bool_t by bool.
25520 * nss/nss_compat/compat-initgroups.c: Likewise.
25521 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25522 instead of <rpcsrv/ypclnt.h>.
25523 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25524 yp_get_default_domain.
25525 * nss/nss_compat/compat-pwd.c: Likewise.
25526 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25527 yp_get_default_domain.
25528 * nss/nss_compat/nisdomain.c: New file.
25529 * nss/nss_compat/nisdomain.h: Likewise.
25531 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25534 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25535 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25537 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25540 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25543 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25545 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25546 "movl main@GOTOFF(%ebx), %eax".
25548 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25550 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25551 allow undefined _DYNAMIC in PIE libc.a.
25552 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25555 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25557 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25560 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25562 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25565 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25567 * math/test-math-iscanonical.cc (error): Replace bool with int.
25569 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25571 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25572 (modf): Define using libm_alias_double, only if [!__modf].
25573 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25574 <libm-alias-double.h>.
25575 (modf): Define using libm_alias_double, only if [!__modf].
25576 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25577 compat symbol here.
25578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25579 (weak_alias): Do not undefine and redefine.
25580 (strong_alias): Likewise.
25581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25582 (weak_alias): Likewise.
25583 (strong_alias): Likewise.
25585 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25586 (logb): Define using libm_alias_double, only if [!__logb].
25587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25588 <libm-alias-double.h>.
25589 (logb): Define using libm_alias_double, only if [!__logb].
25590 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25592 (weak_alias): Do not undefine and redefine.
25593 (strong_alias): Likewise.
25594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25595 (weak_alias): Likewise.
25596 (strong_alias): Likewise.
25598 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25600 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25601 Check SHARED instead PIC.
25603 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25605 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25606 [!__fmaf] (fmaf): Define using libm_alias_float.
25608 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25609 (frexp): Define using libm_alias_double.
25610 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25611 <libm-alias-double.h>.
25612 (frexp): Define using libm_alias_double.
25613 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25614 compat symbol here.
25616 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25619 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25620 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25621 (CFLAGS-test-math-iscanonical.cc): New variable.
25622 * math/test-math-iscanonical.cc: New file.
25623 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25624 Provide a C++ implementation based on function overloading,
25625 rather than using __MATH_TG, which uses C-only builtins.
25626 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25628 * sysdeps/powerpc/powerpc64le/Makefile
25629 (CFLAGS-test-math-iscanonical.cc): New variable.
25631 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25633 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25634 (ceil): Define using libm_alias_double.
25635 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25636 (floor): Define using libm_alias_double.
25637 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25638 <libm-alias-double.h>.
25639 (llround): Define using libm_alias_double.
25640 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25641 <libm-alias-double.h>.
25642 (lround): Define using libm_alias_double.
25643 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25644 <libm-alias-double.h>.
25645 (nearbyint): Define using libm_alias_double.
25646 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25647 <libm-alias-double.h>.
25648 (remquo): Define using libm_alias_double.
25649 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25650 (rint): Define using libm_alias_double.
25651 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25652 (round): Define using libm_alias_double.
25653 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25654 (trunc): Define using libm_alias_double.
25655 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25656 <libm-alias-double.h>.
25657 (ceil): Define using libm_alias_double.
25658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25659 <libm-alias-double.h>.
25660 (floor): Define using libm_alias_double.
25661 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25662 <libm-alias-double.h>.
25663 (llround): Define using libm_alias_double.
25664 [_LP64] (lround): Likewise.
25665 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25666 <libm-alias-double.h>.
25667 [!_LP64] (lround): Define using libm_alias_double.
25668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25669 <libm-alias-double.h>.
25670 (nearbyint): Define using libm_alias_double.
25671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25672 <libm-alias-double.h>.
25673 (remquo): Define using libm_alias_double.
25674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25675 <libm-alias-double.h>.
25676 (rint): Define using libm_alias_double.
25677 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25678 <libm-alias-double.h>.
25679 (round): Define using libm_alias_double.
25680 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25681 <libm-alias-double.h>.
25682 (trunc): Define using libm_alias_double.
25683 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25684 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25685 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25686 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25687 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25688 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25689 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25690 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25691 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25693 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25695 * math/w_remainder.c: New file.
25696 * math/w_remainderf.c: New file.
25697 * math/w_remainderl.c: New file.
25699 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25701 * elf/rtld.c (BOOTSTRAP_MAP): New.
25702 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25703 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25705 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25707 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25710 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25712 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25713 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25714 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25715 rtld_hidden_data_ver): Define to empty.
25716 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25717 __assert_perror_fail): Likewise.
25718 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25719 (__rewinddir): Likewise.
25720 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25721 (__profile_frequency): Likewise.
25722 * include/setjmp.h (__sigsetjmp): Likewise.
25723 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25724 __libc_sigaction): Likewise.
25725 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25726 not set hidden attribute.
25727 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25728 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25729 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25730 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25731 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25732 __fxstatat64): Likewise.
25733 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25734 (__uname): Likewise.
25735 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25736 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25737 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25738 (NO_RTLD_HIDDEN): Set.
25739 * sysdeps/mach/hurd/configure: Refresh.
25740 * config.h.in: Refresh.
25742 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25744 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25745 (atan): Define using libm_alias_double.
25746 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25747 (tan): Define using libm_alias_double.
25748 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25749 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25752 define as weak alias of __atan. Do not define any aliases if
25754 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25755 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25756 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25757 as weak alias of __tan. Do not define any aliases if [__tan].
25758 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25759 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25760 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25762 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25765 and define as weak alias of __atan.
25766 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25768 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25771 define as weak alias of __tan.
25773 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25775 * math/w_lgamma.c: New file.
25776 * math/w_lgammaf.c: New file.
25777 * math/w_lgammal.c: New file.
25779 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25781 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25782 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25783 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25784 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25785 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25786 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25787 * sysdeps/i386/fpu/w_log2f.c: New file.
25788 * sysdeps/i386/fpu/w_logf.c: New file.
25789 * sysdeps/i386/fpu/w_powf.c: New file.
25790 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25791 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25792 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25794 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25795 H.J. Lu <hongjiu.lu@intel.com>
25797 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25798 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25799 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25800 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25801 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25803 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25804 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25805 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25806 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25807 * sysdeps/i386/fpu/w_exp2f.c: New file.
25808 * sysdeps/i386/fpu/w_expf.c: New file.
25809 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25810 * sysdeps/x86_64/fpu/w_expf.c: New file.
25812 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25814 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25817 * math/w_log2f.c: New file.
25818 * math/w_logf.c: New file.
25819 * math/w_powf.c: New file.
25820 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25821 * math/w_logf_compat.c (__logf_compat): Likewise.
25822 * math/w_powf_compat.c (__powf_compat): Likewise.
25823 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25824 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25825 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25846 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25848 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25850 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25855 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25856 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25857 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25859 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25861 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25862 (sysdep_routines): Add memrchr_power8.
25863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25864 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25865 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25867 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25868 (memrchr): Add __memrchr_power8 to ifunc list.
25869 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25874 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25875 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25877 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25878 (__posix_fallocate64_l64): Likewise.
25880 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25883 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25884 (__sched_setaffinity_new): Add libc_hidden_proto and
25887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25890 * include/glob.h (__glob64): Add libc_hidden_proto.
25891 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25897 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25903 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25905 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25908 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25914 * csu/version.c (__libc_print_version): Add attribute_hidden.
25916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25919 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25924 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25929 * nscd/nscd_helper.c (__nis_hash): New prototype.
25931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25934 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25935 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25937 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25938 * termios/tcgetattr.c (__tcgetattr): Likewise.
25940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25943 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25944 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25945 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25946 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25947 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25952 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25957 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25958 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25963 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25965 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25968 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25969 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25971 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25974 * include/ifreq.h: New file.
25975 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25976 (__ifreq): Likewise.
25977 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25978 (__ifreq): Likewise.
25980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25983 * include/idna.h: New file.
25984 * inet/getnameinfo.c: Include <idna.h> instead of
25986 (__idna_to_unicode_lzlz): Removed.
25987 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25989 (__idna_to_ascii_lz): Removed.
25990 (__idna_to_unicode_lzlz): Likewise.
25992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25995 * include/plural-exp.h: New file.
25996 * intl/plural-exp.c: Include <plural-exp.h> instead of
25999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26002 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26003 "getsourcefilter.h".
26004 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26005 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26006 "getsourcefilter.h".
26007 (__get_sol): Removed.
26009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26012 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26014 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26019 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26025 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26030 * include/search.h (__tdestroy): Add libc_hidden_proto.
26031 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26036 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26041 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26047 * include/signal.h (__kill): Add libc_hidden_proto.
26048 (__sigblock): Likewise.
26049 (__sigprocmask): Likewise.
26050 (__sigaltstack): Likewise.
26051 * signal/kill.c (__kill): Add libc_hidden_def.
26052 * signal/sigblock.c (__sigblock): Likewise.
26053 * signal/sigprocmask.c (__sigprocmask): Likewise.
26054 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26055 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26056 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26057 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26058 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26060 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26062 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26063 (__sigprocmask): Likewise.
26064 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26066 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26067 (__sigprocmask): Likewise.
26068 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26074 * include/string.h (__strsep): Add libc_hidden_proto.
26075 * string/strsep.c (__strsep): Add libc_hidden_def.
26077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26080 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26082 (__spawni): Likewise.
26084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26087 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26088 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26094 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26099 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26100 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26101 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26102 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26103 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26105 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26106 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26111 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26112 (__dcigettext): Likewise.
26114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26117 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26119 (__get_nprocs): Likewise.
26120 (__get_phys_pages): Likewise.
26121 (__get_avphys_pages): Likewise.
26122 (__get_child_max): Add attribute_hidden.
26123 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26124 (__get_nprocs): Likewise.
26125 (__get_phys_pages): Likewise.
26126 (__get_avphys_pages): Likewise.
26127 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26129 (__get_nprocs): Likewise.
26130 (__get_phys_pages): Likewise.
26131 (__get_avphys_pages): Likewise.
26132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26134 (__get_nprocs_conf): Likewise.
26135 (__get_phys_pages): Likewise.
26136 (__get_avphys_pages): Likewise.
26138 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26141 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26143 (__netlink_close): Likewise.
26144 (__netlink_free_handle): Likewise.
26145 (__netlink_request): Likewise.
26147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26150 * include/rpc/rpc.h (__rpc_thread_variables): Add
26152 (__rpc_thread_svc_cleanup): Likewise.
26153 (__rpc_thread_clnt_cleanup): Likewise.
26154 (__rpc_thread_key_cleanup): Likewise.
26156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26159 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26160 (__writev): Likewise.
26161 * misc/readv.c (__readv): Add libc_hidden_def.
26162 * misc/writev.c (__writev): Likewise.
26163 * sysdeps/posix/readv.c (__readv): Likewise.
26164 * sysdeps/posix/writev.c (__writev): Likewise.
26165 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26166 (__readv): Likewise.
26167 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26168 (__writev): Likewise.
26170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26173 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26174 (__regcomp): Add libc_hidden_proto.
26175 (__regexec): Likewise.
26176 (__regfree): Likewise.
26177 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26178 (__regfree): Likewise.
26179 * posix/regexec.c (__regexec): Likewise.
26181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26184 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26185 (__getutent): Likewise.
26186 (__getutid): Likewise.
26187 (__getutline): Likewise.
26188 (__pututline): Likewise.
26189 (__getutent_r): Likewise.
26190 (__getutid_r): Likewise.
26191 (__getutline_r): Likewise.
26192 (__utmpname): Add attribute_hidden.
26193 (__setutent): Likewise.
26194 (__endutent): Likewise.
26195 * login/getutent.c (__getutent): Add libc_hidden_def.
26196 * login/getutent_r.c (__getutent_r): Likewise.
26197 (__pututline): Likewise.
26198 * login/getutid.c (__getutid): Likewise.
26199 * login/getutid_r.c (__getutid_r): Likewise.
26200 * login/getutline.c (__getutline): Likewise.
26201 * login/getutline_r.c (__getutline_r): Likewise.
26202 * login/updwtmp.c (__updwtmp): Likewise.
26204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26207 * include/dirent.h (__opendir): Always add attribute_hidden.
26208 (__fdopendir): Likewise.
26209 (__closedir): Likewise.
26210 (__readdir): Likewise.
26211 (__readdir64): Add libc_hidden_proto.
26212 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26213 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26214 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26215 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26221 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26222 * include/netdb.h (__gethostbyaddr_r): Likewise.
26223 (__gethostbyname_r): Likewise.
26224 (__gethostbyname2_r): Likewise.
26225 (__getnetbyaddr_r): Likewise.
26226 (__getnetbyname_r): Likewise.
26227 (__getservbyname_r): Likewise.
26228 (__getservbyport_r): Likewise.
26229 (__getprotobyname_r): Likewise.
26230 (__getprotobynumber_r): Likewise.
26231 (__getnetgrent_r): Likewise.
26232 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26233 (__getrpcbynumber_r): Likewise.
26234 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26239 * include/stdio.h (__fcloseall): Add attribute_hidden.
26240 (__getline): Likewise.
26241 (__path_search): Likewise.
26242 (__gen_tempname): Likewise.
26243 (__libc_message): Likewise.
26244 (__flockfile): Likewise.
26245 (__funlockfile): Likewise.
26246 (__fxprintf): Likewise.
26247 (__fxprintf_nocancel): Likewise.
26249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26252 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26253 (__sgetsgent_r): Likewise.
26255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26258 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26259 (__statfs64): Likewise.
26260 (__fstatfs64): Likewise.
26261 * include/sys/statvfs.h (__statvfs64): Likewise.
26262 (__fstatvfs64): Likewise.
26263 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26264 (__statfs_filesize_max): Likewise.
26265 (__statfs_symlinks): Likewise.
26266 (__statfs_chown_restricted): Likewise.
26268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26271 * include/time.h (__tzstring): Add attribute_hidden.
26272 (__tzfile_read): Likewise.
26273 (__tzfile_compute): Likewise.
26274 (__tzfile_default): Likewise.
26275 (__tzset_parse_tz): Likewise.
26276 (__offtime): Likewise.
26277 (__asctime_r): Likewise.
26278 (__tzset): Likewise.
26279 (__tz_convert): Likewise.
26280 (__getdate_r): Likewise.
26281 (__getclktck): Likewise.
26283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26286 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26287 (__nscd_unmap): Likewise.
26288 (__nscd_cache_search): Likewise.
26289 (__nscd_get_nl_timestamp): Likewise.
26290 (__nscd_getpwnam_r): Likewise.
26291 (__nscd_getpwuid_r): Likewise.
26292 (__nscd_getgrnam_r): Likewise.
26293 (__nscd_getgrgid_r): Likewise.
26294 (__nscd_gethostbyname_r): Likewise.
26295 (__nscd_gethostbyname2_r): Likewise.
26296 (__nscd_gethostbyaddr_r): Likewise.
26297 (__nscd_getai): Likewise.
26298 (__nscd_getgrouplist): Likewise.
26299 (__nscd_getservbyname_r): Likewise.
26300 (__nscd_getservbyport_r): Likewise.
26301 (__nscd_innetgr): Likewise.
26302 (__nscd_setnetgrent): Likewise.
26304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26307 * include/gmp.h: Declare internal functions only if _ISOMAC is
26309 (__mpn_extract_double): Add attribute_hidden.
26310 (__mpn_extract_long_double): Likewise.
26311 (__mpn_extract_float128): Likewise.
26312 (__mpn_construct_float): Likewise.
26313 (__mpn_construct_double): Likewise.
26314 (__mpn_construct_long_double): Likewise.
26315 (__mpn_construct_float128): Likewise.
26316 (mpn_add_1): Likewise.
26317 (mpn_addmul_1): Likewise.
26318 (mpn_add_n): Likewise.
26319 (mpn_cmp): Likewise.
26320 (mpn_divrem): Likewise.
26321 (mpn_lshift): Likewise.
26322 (mpn_mul): Likewise.
26323 (mpn_mul_1): Likewise.
26324 (mpn_rshift): Likewise.
26325 (mpn_sub_1): Likewise.
26326 (mpn_submul_1): Likewise.
26327 (mpn_sub_n): Likewise.
26329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26332 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26333 (__wcscat): Likewise.
26334 (__btowc): Likewise.
26335 (__wcrtomb): Likewise.
26336 (__mbsrtowcs): Likewise.
26337 (__wcsrtombs): Likewise.
26338 (__mbsnrtowcs): Likewise.
26339 (__wcsnrtombs): Likewise.
26340 (__wcsncpy): Likewise.
26341 (__wcpncpy): Likewise.
26342 (__wmemcpy): Likewise.
26343 (__wmempcpy): Likewise.
26344 (__wmemmove): Likewise.
26345 (__wcschrnul): Likewise.
26346 (__vfwscanf): Likewise.
26347 (__vswprintf): Likewise.
26348 (__fwprintf): Likewise.
26349 (__vfwprintf): Likewise.
26351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26354 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26355 (__getgrgid_r): Likewise.
26356 (__getgrnam_r): Likewise.
26357 * include/pwd.h (__getpwuid_r): Likewise.
26358 (__getpwnam_r): Likewise.
26359 (__fgetpwent_r): Likewise.
26360 * include/shadow.h (__getspnam_r): Likewise.
26361 (__sgetspent_r): Likewise.
26362 (__fgetspent_r): Likewise.
26364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26367 * include/unistd.h (__access): Add attribute_hidden.
26368 (__lseek64): Likewise.
26369 (__libc_pread64): Likewise.
26370 (__pipe2): Likewise.
26371 (__sleep): Likewise.
26372 (__chdir): Likewise.
26373 (__fchdir): Likewise.
26374 (__getcwd): Likewise.
26375 (__rmdir): Likewise.
26376 (__execvpe): Likewise.
26377 (__execve): Likewise.
26378 (__setsid): Likewise.
26379 (__getuid): Likewise.
26380 (__geteuid): Likewise.
26381 (__getgid): Likewise.
26382 (__getegid): Likewise.
26383 (__getgroups): Likewise.
26384 (__group_member): Likewise.
26385 (__ttyname_r): Likewise.
26386 (__isatty): Likewise.
26387 (__readlink): Likewise.
26388 (__unlink): Likewise.
26389 (__gethostname): Likewise.
26390 (__profil): Likewise.
26391 (__getdtablesize): Likewise.
26393 (__ftruncate): Likewise.
26394 (__ftruncate64): Likewise.
26396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26399 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26400 * argp/argp-fs-xinl.c: Likewise.
26401 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26402 * argp/argp-parse.c: Include <argp.h>.
26403 * argp/argp-xinl.c: Likewise.
26404 * include/argp-fmtstream.h: New file.
26405 * include/argp.h (__argp_error): Add attribute_hidden.
26406 (__argp_failure): Likewise.
26407 (__argp_input): Likewise.
26408 (__argp_state_help): Likewise.
26410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26413 * include/wchar.h (____wcstof_l_internal): New prototype.
26414 (____wcstod_l_internal): Likewise.
26415 (____wcstold_l_internal): Likewise.
26416 (____wcstol_l_internal): Likewise.
26417 (____wcstoul_l_internal): Likewise.
26418 (____wcstoll_l_internal): Likewise.
26419 (____wcstoull_l_internal): Likewise.
26420 (____wcstof128_l_internal): Likewise.
26421 * sysdeps/ieee754/float128/wcstof128.c
26422 (____wcstof128_l_internal): Removed.
26423 * sysdeps/ieee754/float128/wcstof128_l.c
26424 (____wcstof128_l_internal): Likewise.
26425 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26426 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26427 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26428 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26429 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26430 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26431 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26432 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26433 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26434 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26439 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26440 instead of <sys/statvfs.h>.
26441 (__internal_statvfs): Removed.
26442 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26443 instead of <sys/statvfs.h>.
26444 (__internal_statvfs64): Removed.
26445 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26446 "internal_statvfs.h" instead of <sys/statvfs.h>.
26447 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26448 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26449 instead of <sys/statvfs.h>.
26450 (__internal_statvfs): Removed.
26451 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26452 instead of <sys/statvfs.h>.
26453 (__internal_statvfs64): Removed.
26455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26458 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26459 (__gconv_close): Likewise.
26460 (__gconv): Likewise.
26461 (__gconv_find_transform): Likewise.
26462 (__gconv_lookup_cache): Likewise.
26463 (__gconv_compare_alias_cache): Likewise.
26464 (__gconv_load_cache): Likewise.
26465 (__gconv_get_path): Likewise.
26466 (__gconv_close_transform): Likewise.
26467 (__gconv_release_cache): Likewise.
26468 (__gconv_find_shlib): Likewise.
26469 (__gconv_release_shlib): Likewise.
26470 (__gconv_get_builtin_trans): Likewise.
26471 (__gconv_compare_alias): Likewise.
26472 * include/dlfcn.h (_dlerror_run): Likewise.
26473 * include/stdio.h (__fortify_fail_abort): Likewise.
26474 * include/time.h (__tz_compute): Likewise.
26475 (__strptime_internal): Likewise.
26476 * intl/gettextP.h (_nl_find_domain): Likewise.
26477 (_nl_load_domain): Likewise.
26478 (_nl_find_msg): Likewise.
26479 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26480 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26481 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26482 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26483 (__gai_find_request): Likewise.
26484 (__gai_remove_request): Likewise.
26485 (__gai_notify): Likewise.
26486 (__gai_notify_only): Likewise.
26487 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26488 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26489 (_dl_non_dynamic_init): Likewise.
26490 (_dl_aux_init): Likewise.
26491 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26492 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26494 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26495 (__wcsmbs_clone_conv): Likewise.
26496 (__wcsmbs_named_conv): Likewise.
26498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26501 * include/stdlib.h (__random): Add attribute_hidden.
26502 (__random_r): Likewise.
26503 (__srandom_r): Likewise.
26504 (__initstate_r): Likewise.
26505 (__setstate_r): Likewise.
26506 (__erand48_r): Likewise.
26507 (__nrand48_r): Likewise.
26508 (__jrand48_r): Likewise.
26509 (__srand48_r): Likewise.
26510 (__seed48_r): Likewise.
26511 (__lcong48_r): Likewise.
26512 (__drand48_iterate): Likewise.
26513 (__setenv): Likewise.
26514 (__unsetenv): Likewise.
26515 (__clearenv): Likewise.
26516 (__ptsname_r): Likewise.
26517 (__posix_openpt): Likewise.
26518 (__add_to_environ): Likewise.
26519 (__realpath): Add libc_hidden_proto.
26520 (__ecvt_r): Likewise.
26521 (__fcvt_r): Likewise.
26522 (__qecvt_r): Likewise.
26523 (__qfcvt_r): Likewise.
26524 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26525 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26527 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26530 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26531 * include/time.h (__mktime_internal): Likewise.
26532 * libio/iolibio.h (__fopen_internal): Likewise.
26534 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26536 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26538 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26539 Correct offset used to restore PIC register.
26541 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26544 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26545 code to load address of __getcontext_ret when generating PIC code.
26547 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26549 * elf/Makefile (tests-static-internal): Add
26550 tst-tls1-static-non-pie.
26551 (LDFLAGS-tst-tls1-static-non-pie): New.
26552 * elf/tst-tls1-static-non-pie.c: New file.
26554 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26556 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26557 (asinh): Define using libm_alias_double.
26558 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26559 (cbrt): Define using libm_alias_double.
26560 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26561 <libm-alias-double.h>.
26562 (copysign): Define using libm_alias_double.
26563 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26564 (erf): Define using libm_alias_double.
26566 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26567 (expm1): Define using libm_alias_double.
26568 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26569 (fabs): Define using libm_alias_double.
26570 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26572 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26573 <libm-alias-double.h>.
26574 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26576 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26577 <libm-alias-double.h>.
26578 (getpayload): Define using libm_alias_double.
26579 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26580 <libm-alias-double.h>.
26581 (llrint): Define using libm_alias_double.
26582 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26583 (lrint): Define using libm_alias_double.
26584 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26585 <libm-alias-double.h>.
26586 (nextup): Define using libm_alias_double.
26587 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26588 <libm-alias-double.h>.
26589 (roundeven): Define using libm_alias_double.
26590 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26592 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26593 <libm-alias-double.h>.
26594 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26595 using libm_alias_double.
26596 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26597 (cos): Define using libm_alias_double.
26599 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26600 <libm-alias-double.h>.
26601 (sincos): Define using libm_alias_double.
26602 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26603 (tanh): Define using libm_alias_double.
26604 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26605 <libm-alias-double.h>.
26606 (totalorder): Define using libm_alias_double.
26607 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26608 <libm-alias-double.h>.
26609 (totalordermag): Define using libm_alias_double.
26610 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26612 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26614 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26615 <libm-alias-double.h>.
26616 (getpayload): Define using libm_alias_double.
26617 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26618 <libm-alias-double.h>.
26619 (roundeven): Define using libm_alias_double.
26620 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26621 <libm-alias-double.h>.
26622 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26623 <libm-alias-double.h>.
26624 (totalorder): Define using libm_alias_double.
26625 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26626 <libm-alias-double.h>.
26627 (totalordermag): Define using libm_alias_double.
26628 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26629 libc compat symbol here.
26630 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26631 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26632 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26633 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26634 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26635 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26636 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26637 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26638 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26639 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26641 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26643 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26644 _dl_relocate_static_pie instead of _dl_start to compute load
26645 address in static PIE. Return 0 if _DYNAMIC is undefined for
26648 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26650 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26651 _DYNAMIC is undefined for static executable.
26653 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26655 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26657 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26661 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26664 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26665 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26666 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26667 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26668 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26669 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26670 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26672 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26673 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26674 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26676 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26679 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26681 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26683 * math/bits/cmathcalls.h (cimag): Remove inline.
26684 (creal): Remove inline.
26685 (conj): Remove inline.
26687 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26689 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26690 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26691 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26692 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26693 (issignalingf_inline): Likewise.
26694 (POWF_LOG2_TABLE_BITS): Likewise.
26695 (POWF_LOG2_POLY_ORDER): Likewise.
26696 (POWF_SCALE_BITS): Likewise.
26697 (POWF_SCALE): Likewise.
26698 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26699 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26700 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26702 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26704 * math/Makefile (type-float-routines): Add e_log2f_data.
26705 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26706 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26707 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26708 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26709 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26710 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26711 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26713 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26715 * math/Makefile (type-float-routines): Add e_logf_data.
26716 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26717 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26718 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26719 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26720 * sysdeps/i386/fpu/e_logf_data.c: New file.
26721 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26722 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26724 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26726 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26727 undefined _DYNAMIC in PIE libc.a.
26728 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26731 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26733 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26734 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26735 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26736 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26737 (__signbit): Remove.
26738 (__signbitl): Remove.
26739 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26740 (__signbit): Remove.
26741 (__signbitl): Remove.
26742 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26743 (__signbit): Remove.
26744 (__signbitl): Remove.
26745 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26746 (__signbit): Remove.
26747 (__signbitl): Remove.
26748 * sysdeps/tile/bits/mathinline.h: Delete file.
26749 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26750 (__signbit): Remove.
26751 (__signbitl): Remove.
26753 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26755 * math/math.h: Improve handling of C99 isgreater macros.
26756 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26757 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26758 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26759 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26760 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26762 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26764 * sysdeps/aarch64/libm-test-ulps: Update.
26766 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26769 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26770 math_opt_barrier on argument when doing arithmetic on it.
26771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26772 Likewise. Use math_force_eval not math_opt_barrier after
26774 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26775 math_opt_barrier on argument when doing arithmetic on it.
26776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26779 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26781 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26783 (__freeifaddrs): Likewise.
26785 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26787 * include/dirent.h (__dirfd): New declaration.
26788 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26790 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26791 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26792 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26793 * include/unistd.h (__revoke): New declaration.
26794 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26796 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26797 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26799 * include/dirent.h (__seekdir): New declaration.
26800 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26801 redefine as weak alias.
26802 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26804 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26805 and use libc_hidden_def on them.
26806 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26808 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26809 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26810 instead of getifaddrs and freeifaddrs.
26812 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26815 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26816 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26817 (__dso_handle): Remove declaration.
26818 * dlfcn/tstatexit.c (__dso_handle): Removed.
26819 (main): Don't check __dso_handle.
26820 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26821 (main): Don't check __dso_handle.
26822 * include/dso_handle.h: New file.
26823 * malloc/mtrace.c: Include <dso_handle.h>.
26824 (mtrace): Pass __dso_handle directly.
26825 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26826 (__dso_handle): Remove declaration.
26827 (__pthread_atfork): Pass __dso_handle directly.
26828 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26829 (__dso_handle): Removed.
26830 * posix/wordexp-test.c: Include <dso_handle.h>.
26831 (__dso_handle): Remove declaration.
26832 (__app_register_atfork): Pass __dso_handle directly.
26833 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26834 (__dso_handle): Remove declaration.
26835 (at_quick_exit): Pass __dso_handle directly.
26836 * stdlib/atexit.c: Include <dso_handle.h>.
26837 (__dso_handle): Remove declaration.
26838 (atexit): Pass __dso_handle directly.
26839 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26840 (__dso_handle): Removed.
26842 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26844 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26847 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26849 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26850 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26851 values to correct default value for given type.
26853 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26856 * elf/Makefile (tests): Add tst-debug1.
26857 ($(objpfx)tst-debug1): New.
26858 ($(objpfx)tst-debug1.out): Likewise.
26859 ($(objpfx)tst-debug1mod1.so): Likewise.
26860 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26861 with p_filesz == 0.
26862 * elf/tst-debug1.c: New file.
26864 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26866 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26867 Define using __ifunc.
26869 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26871 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26874 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26877 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26879 2017-09-26 Florian Weimer <fweimer@redhat.com>
26881 * resolv/Makefile (tests-internal): Fix typo in comment.
26883 2017-09-26 Florian Weimer <fweimer@redhat.com>
26885 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26887 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26889 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26890 Use an union instead of a max_align_t array for __space,
26891 so that __space is the same size on all platforms.
26892 * malloc/scratch_buffer_grow_preserve.c
26893 (__libc_scratch_buffer_grow_preserve): Likewise.
26896 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26898 * posix/Makefile (routines): Add glob-lstat-compat and
26899 glob64-lstat-compat.
26900 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26901 * posix/glob-lstat-compat.c: New file.
26902 * posix/glob64-lstat-compat.c: Likewise.
26903 * posix/tst-glob_lstat_compat.c: Likewise.
26904 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26905 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26906 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26907 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26909 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26910 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26911 * posix/glob.c (glob_lstat): New function.
26912 (glob): Rename to __glob and add versioned symbol to 2.27.
26913 (glob_in_dir): Use glob_lstat.
26914 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26915 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26916 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26918 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26919 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26920 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26921 gl_lstat on glob call.
26922 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26923 and glob64 symbols.
26924 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26925 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26926 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26927 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26928 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26929 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26930 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26931 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26933 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26935 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26938 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26940 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26941 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26942 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26943 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26944 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26947 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26948 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26951 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26953 * configure.ac (AS): Require binutils 2.25 or later.
26954 * configure: Regenerated.
26956 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26959 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26962 2017-09-25 DJ Delorie <dj@redhat.com>
26965 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26968 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26970 * sysdeps/ieee754/dbl-64/sincos32.h
26971 [SINCCOS32_H]: Remove define.
26972 [SINCOS32_H]: Define.
26974 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26976 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26978 * math/w_exp2f.c: New file.
26979 * math/w_expf.c: New file.
26980 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26981 * math/w_expf_compat.c (__expf_compat): Likewise.
26982 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26983 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26985 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26987 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26988 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26989 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26990 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26995 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27004 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27005 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27007 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27008 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27013 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27014 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27015 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27017 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27019 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27020 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27021 (roundtoint, converttoint): Likewise.
27022 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27023 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27024 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27025 * sysdeps/ieee754/flt-32/math_config.h: New file.
27026 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27027 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27028 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27029 * sysdeps/i386/fpu/math_errf.c: New file.
27030 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27031 * sysdeps/ia64/fpu/math_errf.c: New file.
27032 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27033 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27035 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27037 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27038 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27039 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27040 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27041 to make sure that these symbols are defined.
27042 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27044 (__need_NULL): Do not define.
27045 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27047 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27048 CMGROUP_MAX, cmsgcred): Do not define.
27049 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27051 * bits/socket.h: Likewise.
27052 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27053 __gettimeofday instead of gettimeofday.
27054 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27055 instead of settimeofday.
27057 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27059 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27060 (asinhf): Define using libm_alias_float.
27061 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27062 (atanf): Define using libm_alias_float.
27063 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27064 (cbrtf): Define using libm_alias_float.
27065 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27066 (ceilf): Define using libm_alias_float.
27067 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27068 <libm-alias-float.h>.
27069 (copysignf): Define using libm_alias_float.
27070 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27071 (cosf): Define using libm_alias_float.
27072 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27073 (erff): Define using libm_alias_float.
27075 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27076 (expm1f): Define using libm_alias_float.
27077 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27078 (fabsf): Define using libm_alias_float.
27079 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27080 (floorf): Define using libm_alias_float.
27081 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27082 (frexpf): Define using libm_alias_float.
27083 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27085 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27086 <libm-alias-float.h>.
27087 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27089 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27090 <libm-alias-float.h>.
27091 (getpayloadf): Define using libm_alias_float.
27092 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27093 <libm-alias-float.h>.
27094 (llrintf): Define using libm_alias_float.
27095 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27096 <libm-alias-float.h>.
27097 (llroundf): Define using libm_alias_float.
27098 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27099 (logbf): Define using libm_alias_float.
27100 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27101 (lrintf): Define using libm_alias_float.
27102 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27103 (lroundf): Define using libm_alias_float.
27104 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27105 (modff): Define using libm_alias_float.
27106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27107 <libm-alias-float.h>.
27108 (nearbyintf): Define using libm_alias_float.
27109 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27110 <libm-alias-float.h>.
27111 (nextafterf): Define using libm_alias_float.
27112 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27113 <libm-alias-float.h>.
27114 (nextupf): Define using libm_alias_float.
27115 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27116 <libm-alias-float.h>.
27117 (remquof): Define using libm_alias_float.
27118 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27119 (rintf): Define using libm_alias_float.
27120 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27121 <libm-alias-float.h>.
27122 (roundevenf): Define using libm_alias_float.
27123 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27124 (roundf): Define using libm_alias_float.
27125 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27126 using libm_alias_float.
27127 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27128 <libm-alias-float.h>.
27129 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27130 Define using libm_alias_float.
27131 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27132 <libm-alias-float.h>.
27133 (sincosf): Define using libm_alias_float.
27134 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27135 (sinf): Define using libm_alias_float.
27136 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27137 (tanf): Define using libm_alias_float.
27138 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27139 (tanhf): Define using libm_alias_float.
27140 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27141 <libm-alias-float.h>.
27142 (totalorderf): Define using libm_alias_float.
27143 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27144 <libm-alias-float.h>.
27145 (totalordermagf): Define using libm_alias_float.
27146 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27147 (truncf): Define using libm_alias_float.
27148 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27150 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27153 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27156 math/math.h: Let fpclassify use the builtin in C++ mode, even
27157 when optimazing for size.
27159 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27161 * csu/Makefile (generated): Do not add version-info.h.
27162 (before-compile): Likewise.
27163 (all-Banner-files): Remove variable.
27164 ($(objpfx)version-info.h): Remove rule.
27165 * csu/version.c (banner): Do not include "version-info.h".
27166 * libidn/Banner: Remove.
27167 * manual/contrib.texi (Simon Josefsson): New entry.
27169 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27171 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27172 Remove conditionals on LDBL_MANT_DIG.
27173 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27174 (__ieee754_lgammal_r): Likewise.
27176 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27180 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27181 _Float128 and L(). Replace _Float128 with long double and L(x)
27182 with xL, throughout the file.
27183 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27188 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27191 sysdeps/ieee754/ldbl-128ibm.
27192 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27193 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27194 of including it. Keep _Float128 and L() intact. These will be
27195 reviewed by a separate patch.
27196 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27201 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27204 (__finitef128): Define to __redirect___finitef128.
27205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27206 (__isinff128): Define to __redirect___isinff128.
27207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27208 (__isnanf128): Define to __redirect___isnanf128.
27210 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27212 * sysdeps/powerpc/powerpc64le/Makefile
27213 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27214 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27216 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27217 Carlos O'Donell <carlos@redhat.com>
27220 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27221 * stdlib/test-dlclose-exit-race.c: New file.
27222 * stdlib/test-dlclose-exit-race-helper.c: New file.
27223 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27225 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27227 * crypt/Banner: Remove file.
27228 * nptl/Banner: Likewise.
27229 * resolv/Banner: Likewise.
27230 * soft-fp/Banner: Likewise.
27231 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27232 ($(objpfx)version.d): Remove dependency on banner.h.
27233 ($(objpfx)version.os): Likewise.
27234 * nptl/version.c (banner): Do not include banner.h.
27235 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27236 Jelinek and BIND code.
27238 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27239 Carlos O'Donell <carlos@redhat.com>
27241 * support/xdlfcn.h: New file.
27242 * support/xdlfcn.c: New file.
27243 * support/Makefile (libsupport-routines): Add xdlfcn.
27244 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27246 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27249 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27250 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27251 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27252 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27253 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27254 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27255 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27256 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27258 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27259 Ricky Zhou <rickyz@google.com>
27260 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27263 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27265 (__new_exitfn): Fail registration when we finished at_exit processing.
27266 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27267 * stdlib/on_exit.c (__on_exit): Likewise.
27268 * stdlib/exit.c (__exit_funcs_done): New variable.
27269 (__run_exit_handlers): Use __exit_funcs_lock.
27270 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27272 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27273 (test-cxa_atexit-race, test-on_exit-race): New tests.
27274 * stdlib/test-atexit-race-common.c: New file.
27275 * stdlib/test-atexit-race.c: New file.
27276 * stdlib/test-at_quick_exit-race.c: New file.
27277 * stdlib/test-cxa_atexit-race.c: New file.
27278 * stdlib/test-on_exit-race.c: New file.
27280 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27282 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27283 * benchtests/exp2f-inputs: Copy of expf-inputs.
27284 * benchtests/log2f-inputs: Copy of logf-inputs.
27286 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27288 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27289 Explicitly take address of first element of array arguments in
27290 call to INLINE_SYSCALL.
27292 2017-09-19 Andreas Schwab <schwab@suse.de>
27295 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27297 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27299 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27300 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27302 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27303 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27304 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27306 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27307 * posix/Makefile (tests): Add tst-fexecve.
27308 * posix/tst-fexecve.c: New file.
27310 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27312 * benchtests/Makefile: Add logf benchmark.
27313 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27315 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27317 * benchtests/Makefile: Add expf benchmark.
27318 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27320 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27322 * csu/Makefile: Add -funwind-tables to libc-start.c.
27323 * debug/Makefile: Add -funwind-tables to backtrace.c.
27324 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27325 * sysdeps/arm/Makefile: Likewise.
27326 * sysdeps/i386/Makefile: Likewise.
27327 * sysdeps/m68k/Makefile: Likewise.
27328 * sysdeps/mips/Makefile: Likewise.
27329 * sysdeps/nios2/Makefile: Likewise.
27330 * sysdeps/sh/Makefile: Likewise.
27331 * sysdeps/sparc/Makefile: Likewise.
27333 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27335 * benchtests/Makefile (bench-math): Add trunc and truncf.
27336 (CFLAGS-bench-trunc.c): New variable.
27337 (CFLAGS-bench-truncf.c): Likewise.
27338 * benchtests/trunc-inputs: New file.
27339 * benchtests/truncf-inputs: Likewise.
27341 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27343 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27345 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27347 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27348 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27350 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27351 (exp10l): Define as weak alias.
27352 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27353 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27355 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27356 (remainderl): Define as weak alias.
27358 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27359 (fmal): Define using libm_alias_ldouble.
27360 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27361 (acoshl): Define using libm_alias_ldouble.
27362 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27363 (acosl): Define using libm_alias_ldouble.
27364 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27365 (asinl): Define using libm_alias_ldouble.
27366 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27367 (atan2l): Define using libm_alias_ldouble.
27368 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27369 (atanhl): Define using libm_alias_ldouble.
27370 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27371 (coshl): Define using libm_alias_ldouble.
27372 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27373 (exp10l): Define using libm_alias_ldouble.
27374 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27375 (exp2l): Define using libm_alias_ldouble.
27376 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27377 (expl): Define using libm_alias_ldouble.
27378 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27379 (fmodl): Define using libm_alias_ldouble.
27380 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27381 (hypotl): Define using libm_alias_ldouble.
27382 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27383 (j0l): Define using libm_alias_ldouble.
27385 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27386 (j1l): Define using libm_alias_ldouble.
27388 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27389 (jnl): Define using libm_alias_ldouble.
27391 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27392 (log10l): Define using libm_alias_ldouble.
27393 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27394 (log2l): Define using libm_alias_ldouble.
27395 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27396 (logl): Define using libm_alias_ldouble.
27397 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27398 (powl): Define using libm_alias_ldouble.
27399 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27400 (remainderl): Define using libm_alias_ldouble.
27401 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27402 (sinhl): Define using libm_alias_ldouble.
27403 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27404 (sqrtl): Define using libm_alias_ldouble.
27405 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27406 (tgammal): Define using libm_alias_ldouble.
27407 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27408 (exp10l): Do not use long_double_symbol here.
27409 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27410 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27411 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27412 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27413 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27414 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27415 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27416 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27417 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27418 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27419 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27420 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27421 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27422 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27423 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27424 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27425 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27426 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27427 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27428 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27429 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27430 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27432 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27434 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27435 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27437 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27439 * io/read.c (read): Add libc_hidden_weak.
27440 * sysdeps/mach/hurd/read.c (read): Likewise.
27441 * io/write.c (write): Likewise.
27442 * sysdeps/mach/hurd/write.c (write): Likewise.
27443 * io/pread64.c (__pread64): Likewise.
27444 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27445 * posix/pread64.c (__pread64): Add libc_hidden_def.
27447 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27449 * benchtests/scripts/compare_strings.py: New option -g.
27450 (draw_graph): Print a message that a graph is being generated.
27451 (process_results): Generate graph only if -g is passed.
27452 (main): Process option -g.
27454 * benchtests/scripts/compare_strings.py (process_results):
27455 Better spacing for output.
27457 * benchtests/scripts/compare_strings.py: Use argparse.
27458 * benchtests/README: Document existence of compare_strings.py.
27460 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27462 * math/s_fma.c: Include <libm-alias-double.h>.
27463 (fma): Define using libm_alias_double.
27464 * math/s_nextafter.c: Include <libm-alias-double.h>.
27465 (nextafter): Define using libm_alias_double.
27466 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27467 (acos): Define using libm_alias_double.
27468 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27469 (aocsh): Define using libm_alias_double.
27470 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27471 (asin): Define using libm_alias_double.
27472 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27473 (atan2): Define using libm_alias_double.
27474 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27475 (atanh): Define using libm_alias_double.
27476 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27477 (cosh): Define using libm_alias_double.
27478 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27479 (exp10): Define using libm_alias_double.
27480 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27481 (exp2): Define using libm_alias_double.
27482 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27483 (exp): Define using libm_alias_double.
27484 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27485 (fmod): Define using libm_alias_double.
27486 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27487 (hypot): Define using libm_alias_double.
27488 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27489 (j0): Define using libm_alias_double.
27491 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27492 (j1): Define using libm_alias_double.
27494 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27495 (jn): Define using libm_alias_double.
27497 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27498 (log10): Define using libm_alias_double.
27499 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27500 (log2): Define using libm_alias_double.
27501 * math/w_log_compat.c: Include <libm-alias-double.h>.
27502 (log): Define using libm_alias_double.
27503 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27504 (pow): Define using libm_alias_double.
27505 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27506 (remainder): Define using libm_alias_double.
27507 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27508 (sinh): Define using libm_alias_double.
27509 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27510 (sqrt): Define using libm_alias_double.
27511 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27512 (tgamma): Define using libm_alias_double.
27513 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27514 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27515 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27516 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27517 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27518 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27519 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27520 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27521 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27522 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27523 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27524 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27525 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27526 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27527 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27528 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27529 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27530 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27531 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27532 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27533 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27534 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27535 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27536 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27537 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27539 * math/e_acoshl.c: Remove.
27540 * math/e_acosl.c: Likewise.
27541 * math/e_asinl.c: Likewise.
27542 * math/e_atan2l.c: Likewise.
27543 * math/e_atanhl.c: Likewise.
27544 * math/e_coshl.c: Likewise.
27545 * math/e_expl.c: Likewise.
27546 * math/e_fmodl.c: Likewise.
27547 * math/e_gammal_r.c: Likewise.
27548 * math/e_hypotl.c: Likewise.
27549 * math/e_j0l.c: Likewise.
27550 * math/e_j1l.c: Likewise.
27551 * math/e_jnl.c: Likewise.
27552 * math/e_lgammal_r.c: Likewise.
27553 * math/e_log10l.c: Likewise.
27554 * math/e_log2l.c: Likewise.
27555 * math/e_logl.c: Likewise.
27556 * math/e_powl.c: Likewise.
27557 * math/e_rem_pio2l.c: Likewise.
27558 * math/e_sinhl.c: Likewise.
27559 * math/e_sqrtf128.c: Likewise.
27560 * math/e_sqrtl.c: Likewise.
27561 * math/k_cosl.c: Likewise.
27562 * math/k_sinl.c: Likewise.
27563 * math/k_tanl.c: Likewise.
27564 * math/s_asinhl.c: Likewise.
27565 * math/s_atanl.c: Likewise.
27566 * math/s_cbrtl.c: Likewise.
27567 * math/s_erfl.c: Likewise.
27568 * math/s_expm1l.c: Likewise.
27569 * math/s_log1pl.c: Likewise.
27570 * math/s_tanhl.c: Likewise.
27572 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27576 [$(subdir) = math] (sysdep_calls): New variable. Has the
27577 previous contents of sysdep_routines, but re-sorted..
27578 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27580 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27581 defined in sysdep_calls and replace by the respective m_* names.
27582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27583 (compat_symbol): Undefine to avoid duplicated compat symbols in
27586 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27588 * math/s_fmaf.c: Include <libm-alias-float.h>.
27589 (fmaf): Define using libm_alias_float.
27590 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27591 (acosf): Define using libm_alias_float.
27592 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27593 (acoshf): Define using libm_alias_float.
27594 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27595 (asinf): Define using libm_alias_float.
27596 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27597 (atan2f): Define using libm_alias_float.
27598 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27599 (atanhf): Define using libm_alias_float.
27600 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27601 (coshf): Define using libm_alias_float.
27602 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27603 (exp10f): Define using libm_alias_float.
27604 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27605 (fmodf): Define using libm_alias_float.
27606 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27607 (hypotf): Define using libm_alias_float.
27608 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27609 (j0f): Define using libm_alias_float.
27611 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27612 (j1f): Define using libm_alias_float.
27614 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27615 (jnf): Define using libm_alias_float.
27617 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27618 (log10f): Define using libm_alias_float.
27619 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27620 (log2f): Define using libm_alias_float.
27621 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27622 (logf): Define using libm_alias_float.
27623 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27624 (powf): Define using libm_alias_float.
27625 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27626 (remainderf): Define using libm_alias_float.
27627 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27628 (sinhf): Define using libm_alias_float.
27629 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27630 (sqrtf): Define using libm_alias_float.
27631 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27632 (tgammaf): Define using libm_alias_float.
27634 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27636 * include/math.h (roundeven): Change hidden_proto call to
27638 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27640 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27641 (y0): Rename to __y0 and define as weak alias.
27642 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27643 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27645 (y0f): Rename to __y0f and define as weak alias.
27646 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27648 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27649 (y1): Rename to __y1 and define as weak alias.
27650 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27651 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27653 (y1f): Rename to __y1f and define as weak alias.
27654 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27656 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27657 (yn): Rename to __yn and define as weak alias.
27658 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27659 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27661 (ynf): Rename to __ynf and define as weak alias.
27662 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27663 (fromfp): Define as weak alias.
27664 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27665 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27666 (fromfpx): Define as weak alias.
27667 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27668 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27669 __getpayload and define as weak alias.
27670 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27671 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27672 __roundeven and define as weak alias.
27673 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27674 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27676 (setpayload): Define as weak alias.
27677 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27678 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27680 (setpayloadsig): Define as weak alias.
27681 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27682 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27683 __totalorder and define as weak alias.
27684 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27685 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27686 to __totalordermag and define as weak alias.
27687 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27688 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27689 (ufromfp): Define as weak alias.
27690 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27691 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27693 (ufromfpx): Define as weak alias.
27694 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27695 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27696 Rename to __getpayload and define as weak alias.
27697 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27698 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27699 Rename to __roundeven and define as weak alias.
27700 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27701 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27702 Rename to __totalorder and define as weak alias.
27703 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27704 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27705 (totalordermag): Rename to __totalordermag and define as weak
27707 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27708 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27710 (__roundevenl): Likewise.
27711 (__totalorderl): Likewise.
27712 (__totalordermagl): Likewise
27713 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27715 (fromfpf128): Define as weak alias.
27716 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27718 (fromfpxf128): Define as weak alias.
27719 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27721 (setpayloadf128): Define as weak alias.
27722 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27723 __setpayloadsigf128.
27724 (setpayloadsigf128): Define as weak alias.
27725 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27727 (ufromfpf128): Define as weak alias.
27728 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27730 (ufromfpxf128): Define as weak alias.
27731 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27732 (fromfpf): Define as weak alias.
27733 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27735 (fromfpxf): Define as weak alias.
27736 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27737 __getpayloadf and define as weak alias.
27738 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27739 __roundevenf and define as weak alias.
27740 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27742 (setpayloadf): Define as weak alias.
27743 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27745 (setpayloadsigf): Define as weak alias.
27746 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27747 __totalorderf and define as weak alias.
27748 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27749 Rename to __totalordermagf and define as weak alias.
27750 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27752 (ufromfpf): Define as weak alias.
27753 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27755 (ufromfpxf): Define as weak alias.
27756 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27758 (fromfpl): Define as weak alias.
27759 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27761 (fromfpxl): Define as weak alias.
27762 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27763 to __getpayloadl and define as weak alias.
27764 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27765 __roundevenl and define as weak alias.
27766 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27768 (setpayloadl): Define as weak alias.
27769 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27771 (setpayloadsigl): Define as weak alias.
27772 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27773 to __totalorderl and define as weak alias.
27774 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27775 Rename to __totalordermagl and define as weak alias.
27776 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27778 (ufromfpl): Define as weak alias.
27779 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27781 (ufromfpxl): Define as weak alias.
27782 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27784 (fromfpl): Define as weak alias.
27785 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27787 (fromfpxl): Define as weak alias.
27788 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27789 Rename to __getpayloadl and define as weak alias.
27790 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27791 to __roundevenl and define as weak alias. Call __roundeven
27792 instead of roundeven.
27793 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27795 (setpayloadl): Define as weak alias.
27796 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27798 (setpayloadsigl): Define as weak alias.
27799 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27800 Rename to __totalorderl and define as weak alias.
27801 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27802 Rename to __totalordermagl and define as weak alias.
27803 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27805 (ufromfpl): Define as weak alias.
27806 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27808 (ufromfpxl): Define as weak alias.
27809 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27811 (fromfpl): Define as weak alias.
27812 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27814 (fromfpxl): Define as weak alias.
27815 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27816 __getpayloadl and define as weak alias.
27817 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27818 __roundevenl and define as weak alias.
27819 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27821 (setpayloadl): Define as weak alias.
27822 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27824 (setpayloadsigl): Define as weak alias.
27825 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27826 __totalorderl and define as weak alias.
27827 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27828 Rename to __totalordermagl and define as weak alias.
27829 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27831 (ufromfpl): Define as weak alias.
27832 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27834 (ufromfpxl): Define as weak alias.
27836 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27838 * benchtests/bench-string.h (realloc_bufs): New function.
27839 (test_init): Call it.
27840 * benchtests/bench-memset-large.c (do_test): Likewise.
27841 * benchtests/bench-memset.c (do_test): Likewise.
27843 * benchtests/bench-memset-large.c: Print output in JSON
27845 * benchtests/bench-memset.c: Likewise.
27847 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27850 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27851 * iconvdata/Makefile: Add IBM858.
27852 * iconvdata/gconv-modules: Likewise.
27853 * iconvdata/tst-tables.sh: Likewise.
27854 * iconvdata/ibm858.c: New file.
27855 * localedata/charmaps/IBM858: Likewise.
27857 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27860 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27861 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27863 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27866 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27867 and add tel_int_fmt.
27869 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27871 * sysdeps/generic/libm-alias-float128.h: New file.
27872 * sysdeps/generic/math-type-macros-float128.h: Include
27873 <libm-alias-float128.h>.
27874 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27876 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27878 * sysdeps/generic/libm-alias-ldouble.h: New file.
27879 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27880 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27881 * sysdeps/generic/math-type-macros-ldouble.h: Include
27882 <libm-alias-ldouble.h>.
27883 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27884 libm_alias_ldouble.
27886 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27888 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27889 * math/w_exp_compat.c: ... here.
27890 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27891 * math/w_expf_compat.c: ... here.
27892 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27893 * math/w_expl_compat.c: ... here.
27894 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27895 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27896 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27897 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27899 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27901 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27903 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27905 (ldexpl): Only define as compat symbol for libc, not libm.
27906 (scalbnl): Define as compat symbol for libc here.
27907 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27908 define for [IS_IN (libc)].
27909 (__ldexpl_2): Remove alias.
27910 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27911 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27912 name in long_double_symbol call.
27913 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27914 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27915 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27916 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27917 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27919 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27920 Define as compat symbol.
27922 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27924 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27925 * sysdeps/unix/sysv/linux/alpha/Makefile
27926 [$(subdir) = csu] (sysdep_routines): Remove rule.
27928 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27930 * sysdeps/generic/libm-alias-double.h: New file.
27931 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27932 * sysdeps/generic/math-type-macros-double.h: Include
27933 <libm-alias-double.h>.
27934 [declare_mgen_alias] (declare_mgen_alias): Define to use
27936 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27937 (M_LIBM_NEED_COMPAT): Remove macro.
27938 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27939 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27940 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27942 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27943 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27944 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27945 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27946 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27947 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27948 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27949 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27950 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27951 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27952 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27953 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27954 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27955 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27956 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27957 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27958 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27959 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27960 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27961 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27962 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27963 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27964 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27965 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27966 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27967 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27968 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27970 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27972 (declare_mgen_alias): New macro.
27973 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27974 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27976 (M_LIBM_NEED_COMPAT): Remove macro.
27977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27978 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27979 <first-versions.h>.
27980 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27981 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27983 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27985 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27986 (declare_mgen_alias_2): Remove.
27987 * sysdeps/generic/math-type-macros-double.h
27988 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27990 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27992 (ldexp): Define with declare_mgen_alias.
27993 (scalbn): Likewise.
27995 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27997 * grp/initgroups.c: Include config.h.
27998 (DEFAULT_CONFIG): New macro.
27999 (internal_getgrouplist): Use DEFAULT_CONFIG.
28000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28001 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28002 (DEFAULT_DEFCONFIG): New macro.
28003 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28004 * nss/grp-lookup.c: Include config.h
28005 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28006 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28007 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28008 * manual/nss.texi: Update default values section.
28010 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28013 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28015 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28016 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28017 Handle MathVec_Prefer_No_AVX512.
28018 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28019 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28022 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28024 * posix/sched_primax.c (__sched_get_priority_max): Add
28026 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28027 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28028 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28029 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28030 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28031 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28032 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28033 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28036 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28038 * sysdeps/generic/libm-alias-float.h: New file.
28039 * sysdeps/generic/math-type-macros-float.h: Include
28040 <libm-alias-float.h>.
28041 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28043 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28046 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28047 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28048 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28049 (HWCAP_IMPORTANT): Likewise.
28050 (HWCAP_X86_64): New enum.
28051 (HWCAP_X86_AVX512_1): Updated.
28052 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28053 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28054 (modules-names): Add x86_64/tst-x86_64mod-1.
28055 (LDFLAGS-tst-x86_64mod-1.so): New.
28056 ($(objpfx)tst-x86_64-1): Likewise.
28057 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28058 (tst-x86_64-1-clean): Likewise.
28059 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28060 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28062 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28064 * po/sv.po: Update translations.
28065 * po/fr.po: Likewise.
28067 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28069 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28071 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28073 * elf/rtld-Rules: Fix $(error) use.
28075 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28078 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28079 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28080 * localedata/locales/bn_BD: “Bengali” was still used in some
28081 comments. Change it to “Bangla”.
28083 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28085 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28087 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28089 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28090 thunderx2t99p1 to list of cpu names.
28091 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28092 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28094 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28096 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28097 Use strcmp instead of tunable_is_name.
28099 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28102 (F_GET_RW_HINT): New macro.
28103 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28104 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28105 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28106 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28107 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28108 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28109 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28110 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28111 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28114 (F_ADD_SEALS): New macro.
28115 [__USE_GNU] (F_GET_SEALS): Likewise.
28116 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28117 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28118 [__USE_GNU] (F_SEAL_GROW): Likewise.
28119 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28121 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28123 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28124 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28125 * posix/glob_internal.h (__glob_pattern_type):
28126 * posix/glob.c (glob):
28127 * posix/glob_pattern_p.c (__glob_pattern_p):
28130 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28131 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28132 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28133 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28134 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28136 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28137 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28138 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28139 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28140 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28141 * sysdeps/wordsize-64/glob.c: Likewise.
28142 * sysdeps/wordsize-64/glob64.c: Likewise.
28143 * sysdeps/wordsize-64/globfree.c: Likewise.
28144 * sysdeps/wordsize-64/globfree64.c: Likewise.
28145 * sysdeps/unix/sysv/linux/glob.c: New file.
28146 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28147 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28148 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28149 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28150 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28151 adds !GLOB_NO_OLD_VERSION as an extra condition.
28152 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28153 using relative path instead of absolute one.
28154 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28155 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28157 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28158 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28159 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28162 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28163 (glob): Use the same scratch buffer for both getlogin_r and
28164 getpwnam_r. Don’t require preallocation of the login name. This
28165 simplifies storage allocation, and corrects the handling of
28169 * posix/glob.c (glob): Port recent patches to platforms
28170 lacking getpwnam_r.
28171 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28172 returns an error number rather than setting errno.
28174 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28175 instead of GCC extension.
28176 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28177 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28178 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28182 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28183 * posix/bug-glob1.c: Remove file.
28184 * posix/tst-glob_symlinks.c: New file.
28185 * posix/glob.c (__lstat64): New macro.
28186 (is_dir): New function.
28187 (glob, glob_in_dir): Match symlinks even if they are dangling.
28188 (link_stat, link_exists_p): Remove. All uses removed.
28192 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28193 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28198 * posix/Makefile (routines): Add globfree, globfree64, and
28200 * posix/flexmember.h: New file.
28201 * posix/glob_internal.h: Likewise.
28202 * posix/glob_pattern_p.c: Likewise.
28203 * posix/globfree.c: Likewise.
28204 * posix/globfree64.c: Likewise.
28205 * sysdeps/gnu/globfree64.c: Likewise.
28206 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28207 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28208 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28209 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28211 * sysdeps/wordsize-64/globfree.c: Likewise.
28212 * sysdeps/wordsize-64/globfree64.c: Likewise.
28213 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28214 [NDEBUG): Remove comments.
28215 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28216 (dirent_type): New type. Use uint_fast8_t not
28217 uint8_t, as C99 does not require uint8_t.
28218 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28219 (struct readdir_result): Use dirent_type. Do not define skip_entry
28220 unless it is needed; this saves a byte on platforms lacking d_ino.
28221 (readdir_result_type, readdir_result_skip_entry):
28222 New functions, replacing ...
28223 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28224 these functions, which were removed. This makes the callers
28225 easier to read. All callers changed.
28226 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28227 (size_add_wrapv, glob_use_alloca): New static functions.
28228 (glob, glob_in_dir): Check for size_t overflow in several places,
28229 and fix some size_t checks that were not quite right.
28230 Remove old code using SHELL since Bash no longer
28232 (glob, prefix_array): Separate MS code better.
28233 (glob_in_dir): Remove old Amiga and VMS code.
28234 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28236 (glob_in_dir): Do not rely on undefined behavior in accessing
28237 struct members beyond their bounds. Use a flexible array member
28239 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28240 0/1. Caller changed.
28241 (glob): Fix memory leaks.
28242 * posix/glob64 (globfree64): Move to separate file.
28243 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28244 (globfree64): Remove hidden alias.
28245 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28247 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28249 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28251 Move compat code to separate file.
28252 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28255 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28257 * resolv/tst-resolv-qtypes.c (domain): Changed to
28258 "const char domain[] =".
28260 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28262 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28265 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28266 (TCP_MD5SIG_EXT): Likewise.
28267 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28268 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28269 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28271 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28273 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28275 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28277 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28280 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28282 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28284 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28285 before assuming that the file is empty. Avoid testing buffer content
28288 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28291 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28293 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28295 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28297 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28299 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28301 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28303 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28306 2017-09-06 Florian Weimer <fweimer@redhat.com>
28308 * malloc/dynarray_emplace_enlarge.c
28309 (__libc_dynarray_emplace_enlarge): Add missing else.
28311 2017-09-06 Florian Weimer <fweimer@redhat.com>
28314 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28315 case of failure to obtain the global conf object.
28317 2017-09-06 Florian Weimer <fweimer@redhat.com>
28320 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28321 dynarray allocation failure.
28323 2017-09-06 Florian Weimer <fweimer@redhat.com>
28325 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28326 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28327 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28329 (response): Call them. Add 'p', '6' flag processing.
28330 (test_reverse): New function.
28331 (test_get2_any): Call it.
28332 (test_no_inet6): Add 'p' test.
28333 (test_inet6): Likewise.
28335 2017-09-06 Florian Weimer <fweimer@redhat.com>
28337 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28338 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28340 (test_gai): Adjust query names. Add additional tests.
28341 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28342 test_get2. Adjust query names. Add additional tests.
28343 (test_no_inet6): New function, extracted from threadfunc.
28344 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28345 Add additional tests.
28347 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28350 * localedata/unicode-gen/utf8_gen.py: Set the width for
28351 characters with Prepended_Concatenation_Mark property to 1
28352 * localedata/charmaps/UTF-8: Updated using the improved script.
28354 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28357 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28358 use the range notation for all ranges of neighbouring characters
28359 with the same width.
28361 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28363 * sysdeps/generic/math-type-macros-double.h: Include
28364 <math-svid-compat.h>.
28365 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28366 * sysdeps/generic/math-type-macros-float.h: Include
28367 <math-svid-compat.h>.
28368 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28369 * sysdeps/generic/math-type-macros-ldouble.h: Include
28370 <math-svid-compat.h>.
28371 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28372 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28374 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28375 * math/w_acosf_compat.c: Likewise.
28376 * math/w_acosh_compat.c: Likewise.
28377 * math/w_acoshf_compat.c: Likewise.
28378 * math/w_acoshl_compat.c: Likewise.
28379 * math/w_acosl_compat.c: Likewise.
28380 * math/w_asin_compat.c: Likewise.
28381 * math/w_asinf_compat.c: Likewise.
28382 * math/w_asinl_compat.c: Likewise.
28383 * math/w_atan2_compat.c: Likewise.
28384 * math/w_atan2f_compat.c: Likewise.
28385 * math/w_atan2l_compat.c: Likewise.
28386 * math/w_atanh_compat.c: Likewise.
28387 * math/w_atanhf_compat.c: Likewise.
28388 * math/w_atanhl_compat.c: Likewise.
28389 * math/w_cosh_compat.c: Likewise.
28390 * math/w_coshf_compat.c: Likewise.
28391 * math/w_coshl_compat.c: Likewise.
28392 * math/w_exp10_compat.c: Likewise.
28393 * math/w_exp10f_compat.c: Likewise.
28394 * math/w_exp10l_compat.c: Likewise.
28395 * math/w_exp2_compat.c: Likewise.
28396 * math/w_exp2f_compat.c: Likewise.
28397 * math/w_exp2l_compat.c: Likewise.
28398 * math/w_fmod_compat.c: Likewise.
28399 * math/w_fmodf_compat.c: Likewise.
28400 * math/w_fmodl_compat.c: Likewise.
28401 * math/w_hypot_compat.c: Likewise.
28402 * math/w_hypotf_compat.c: Likewise.
28403 * math/w_hypotl_compat.c: Likewise.
28404 * math/w_j0_compat.c: Likewise.
28405 * math/w_j0f_compat.c: Likewise.
28406 * math/w_j0l_compat.c: Likewise.
28407 * math/w_j1_compat.c: Likewise.
28408 * math/w_j1f_compat.c: Likewise.
28409 * math/w_j1l_compat.c: Likewise.
28410 * math/w_jn_compat.c: Likewise.
28411 * math/w_jnf_compat.c: Likewise.
28412 * math/w_jnl_compat.c: Likewise.
28413 * math/w_lgamma_r_compat.c: Likewise.
28414 * math/w_lgammaf_r_compat.c: Likewise.
28415 * math/w_lgammal_r_compat.c: Likewise.
28416 * math/w_log10_compat.c: Likewise.
28417 * math/w_log10f_compat.c: Likewise.
28418 * math/w_log10l_compat.c: Likewise.
28419 * math/w_log2_compat.c: Likewise.
28420 * math/w_log2f_compat.c: Likewise.
28421 * math/w_log2l_compat.c: Likewise.
28422 * math/w_log_compat.c: Likewise.
28423 * math/w_logf_compat.c: Likewise.
28424 * math/w_logl_compat.c: Likewise.
28425 * math/w_pow_compat.c: Likewise.
28426 * math/w_powf_compat.c: Likewise.
28427 * math/w_powl_compat.c: Likewise.
28428 * math/w_remainder_compat.c: Likewise.
28429 * math/w_remainderf_compat.c: Likewise.
28430 * math/w_remainderl_compat.c: Likewise.
28431 * math/w_sinh_compat.c: Likewise.
28432 * math/w_sinhf_compat.c: Likewise.
28433 * math/w_sinhl_compat.c: Likewise.
28434 * math/w_sqrt_compat.c: Likewise.
28435 * math/w_sqrtf_compat.c: Likewise.
28436 * math/w_sqrtl_compat.c: Likewise.
28437 * math/w_tgamma_compat.c: Likewise.
28438 * math/w_tgammaf_compat.c: Likewise.
28439 * math/w_tgammal_compat.c: Likewise.
28440 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28441 [LIBM_SVID_COMPAT].
28442 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28443 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28444 [LIBM_SVID_COMPAT].
28445 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28446 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28447 [LIBM_SVID_COMPAT].
28448 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28449 * sysdeps/i386/fpu/w_sqrt.c: New file.
28450 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28451 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28452 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28453 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28454 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28455 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28456 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28457 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28458 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28459 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28460 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28461 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28462 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28463 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28464 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28465 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28466 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28467 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28468 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28469 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28470 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28471 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28472 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28473 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28474 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28475 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28476 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28477 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28478 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28479 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28480 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28481 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28482 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28483 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28484 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28485 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28486 * sysdeps/ia64/fpu/w_log.c: Likewise.
28487 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28488 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28489 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28490 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28491 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28492 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28493 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28494 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28495 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28496 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28497 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28498 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28499 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28500 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28501 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28502 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28503 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28504 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28505 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28506 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28507 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28508 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28509 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28511 [LIBM_SVID_COMPAT].
28512 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28513 * sysdeps/ieee754/k_standard.c: Likewise.
28514 * sysdeps/ieee754/k_standardf.c: Likewise.
28515 * sysdeps/ieee754/k_standardl.c: Likewise.
28516 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28517 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28518 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28519 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28520 long_double_symbol call on [LIBM_SVID_COMPAT].
28521 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28522 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28523 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28524 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28525 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28526 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28527 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28528 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28529 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28530 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28531 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28532 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28533 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28534 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28535 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28536 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28537 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28538 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28539 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28540 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28541 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28542 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28544 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28546 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28547 * malloc/tst-mallocstate.c: Convert from test-skeleton
28548 to test-driver. Ifdef code using TEST_COMPAT macro.
28549 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28550 * math/test-matherr.c: Likewise.
28552 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28555 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28556 comparing word with byte-swapped constant.
28558 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28561 * locale/iso-639.def: add Miskito.
28562 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28563 * localedata/locales/miq_NI: New file.
28565 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28568 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28569 (__mkdir): Likewise.
28570 * io/chmod.c (__chmod): Add libc_hidden_def.
28571 * io/mkdir.c (__mkdir): Likewise.
28572 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28573 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28574 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28575 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28577 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28579 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28583 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28584 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28586 2017-09-04 Florian Weimer <fweimer@redhat.com>
28588 * math/math.h: Issue warning if log is defined.
28590 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28592 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28593 kernel version to 4.13.
28595 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28597 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28598 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28600 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28601 just <bits/types.h>.
28602 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28603 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28604 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28605 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28606 * misc/preadv2.c: Include <errno.h>.
28607 * misc/preadv64v2.c: Include <errno.h>.
28608 * misc/pwritev2.c: Include <errno.h>.
28609 * misc/pwritev64v2.c: Include <errno.h>.
28610 * sysdeps/posix/preadv2.c: Include <errno.h>.
28611 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28612 Fix <unistd.h> inclusion.
28613 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28614 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28615 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28616 __strtoul_internal): New functions.
28617 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28618 * sysdeps/posix/system.c: Include <sigsetops.h>.
28619 * sysdeps/mach/hurd/i386/Makefile
28620 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28621 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28622 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28623 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28624 __feraiseexcept_renamed to feraiseexcept instead of
28625 __GI_feraiseexcept.
28626 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28627 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28628 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28629 RWF_NOWAIT): Define to 0 if undefined already.
28630 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28632 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28633 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28635 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28637 * manual/math.texi (pow10): Do not document.
28638 (pow10f): Likewise.
28639 (pow10l): Likewise.
28640 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28641 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28642 * math/libm-test-exp10.inc (pow10_test): Remove.
28643 (do_test): Do not call pow10.
28644 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28645 [NO_LONG_DOUBLE] (pow10l): Likewise.
28646 * math/w_exp10f_compat.c (pow10f): Likewise.
28647 * math/w_exp10l_compat.c (pow10l): Likewise.
28648 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28649 (pow10): Make into compat symbol.
28650 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28651 (pow10f): Make into compat symbol.
28652 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28653 (pow10l): Make into compat symbol.
28654 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28656 (CFLAGS-nldbl-pow10.c): Remove variable..
28657 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28658 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28659 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28660 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28661 Undefine and redefine.
28662 (pow10l): Make into compat symbol.
28663 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28664 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28665 * sysdeps/arm/libm-test-ulps: Likewise.
28666 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28667 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28668 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28669 * sysdeps/microblaze/libm-test-ulps: Likewise.
28670 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28671 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28672 * sysdeps/nios2/libm-test-ulps: Likewise.
28673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28674 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28676 * sysdeps/sh/libm-test-ulps: Likewise.
28677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28678 * sysdeps/tile/libm-test-ulps: Likewise.
28679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28683 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28685 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28687 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28688 "../ChangeLog.old/ChangeLog.8".
28689 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28690 "../ChangeLog.old/ChangeLog.14".
28692 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28694 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28697 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28699 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28701 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28703 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28704 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28706 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28708 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28709 32 atexit handlers.
28711 2017-09-01 Zack Weinberg <zackw@panix.com>
28713 * math/math.h (HUGE_VAL): Improve commentary.
28715 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28716 Andreas Schwab <schwab@suse.de>
28719 * include/stdio.h (__gen_tempfd): New function.
28720 * stdio-common/Makefile (routines): Add gentempfd.
28721 * stdio-common/gentempfd.c: New file.
28722 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28723 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28724 unnamed file first.
28726 2017-09-01 Florian Weimer <fweimer@redhat.com>
28730 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28731 result to determine success or failure, not the errno value.
28732 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28733 (tst-nss-files-hosts-erange): Link with -ldl.
28734 * nss/tst-nss-files-hosts-erange.c: New file.
28735 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28736 (do_test): Add NO_DATA tests.
28737 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28738 (do_test): Call it.
28740 2017-09-01 Florian Weimer <fweimer@redhat.com>
28743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28744 coming from gethostbyname2_r.
28746 2017-09-01 Florian Weimer <fweimer@redhat.com>
28748 * support/namespace.h (struct support_chroot_configuration): Add
28750 (struct support_chroot): Add path_hosts, path_host_conf.
28751 * support/support_chroot.c (write_file): New function.
28752 (support_chroot_create): Call it to process /etc/resolv.conf,
28753 /etc/hosts, /etc/host.conf.
28754 (support_chroot_free): Update.
28756 2017-09-01 Florian Weimer <fweimer@redhat.com>
28758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28759 status indicates it is set.
28761 2017-09-01 Florian Weimer <fweimer@redhat.com>
28764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28765 function lookup failures more reliable.
28767 2017-09-01 Florian Weimer <fweimer@redhat.com>
28769 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28770 (getcanonname): Likewise.
28771 (gaih_inet): Likewise.
28773 2017-09-01 Florian Weimer <fweimer@redhat.com>
28775 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28776 (getcanonname): Likewise.
28777 (gaih_inet): Likewise.
28779 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28780 Richard Henderson <rth@twiddle.net>
28782 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28783 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28784 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28785 (IREG_SIZE, OREG_SIZE): New macros.
28786 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28787 (IREG_SIZE, OREG_SIZE): New macros.
28788 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28789 (IREG_SIZE): New macro.
28790 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28791 (IREG_SIZE): New macro.
28792 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28794 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28795 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28796 (__CONCATX): Handle exceptions correctly on large values that may
28798 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28799 Initialize if not already set.
28800 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28802 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28804 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28805 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28807 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28809 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28811 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28813 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28815 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28817 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28819 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28820 (NO_CANCELLATION): Likewise.
28821 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28823 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28825 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28827 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28828 (NO_CANCELLATION): Likewise.
28829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28830 (NO_CANCELLATION): Likewise.
28831 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28833 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28835 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28837 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28839 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28841 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28842 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28844 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28846 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28849 2017-08-31 Florian Weimer <fweimer@redhat.com>
28851 * include/libc-symbols.h (internal_function): Remove.
28853 2017-08-31 Florian Weimer <fweimer@redhat.com>
28855 * stdlib/fmtmsg.c (internal_addseverity): Remove
28858 2017-08-31 Florian Weimer <fweimer@redhat.com>
28860 * stdio-common/printf_fp.c (group_number): Remove
28862 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28864 2017-08-31 Florian Weimer <fweimer@redhat.com>
28866 * posix/fnmatch.c (internal_function): Remove definition.
28867 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28868 * posix/regcomp.c (peek_token, init_word_char)
28869 (duplicate_node_closure, fetch_token, peek_token)
28870 (peek_token_bracket, build_range_exp, build_collating_symbol):
28872 * posix/regex_internal.c (re_string_construct_common)
28873 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28874 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28875 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28876 (re_string_translate_buffer, re_string_reconstruct)
28877 (re_string_peek_byte_case, re_string_fetch_byte_case)
28878 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28879 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28880 (re_node_set_add_intersect, re_node_set_init_union)
28881 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28882 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28883 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28884 (re_acquire_state_context): Likewise.
28885 * posix/regex_internal.h (internal_function): Remove definition.
28886 (re_string_realloc_buffers, build_wcs_buffer)
28887 (build_wcs_upper_buffer, build_upper_buffer)
28888 (re_string_translate_buffer, re_string_context_at)
28889 (re_string_char_size_at, re_string_wchar_at)
28890 (re_string_elem_size_at): Likewise.
28891 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28892 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28893 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28894 (re_search_internal, re_search_2_stub, re_search_stub)
28895 (re_copy_regs, prune_impossible_nodes, check_matching)
28896 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28897 (free_fail_stack_return, sift_states_iter_mb)
28898 (sift_states_backward, build_sifted_states)
28899 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28900 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28901 (check_subexp_limits, sift_states_bkref, merge_state_array)
28902 (find_recover_state, transit_state, merge_state_with_log)
28903 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28904 (transit_state_mb, transit_state_bkref, get_subexp)
28905 (get_subexp_sub, find_subexp_node, check_arrival)
28906 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28907 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28908 (check_node_accept_bytes, find_collation_sequence_value)
28909 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28910 (acquire_init_state_context, check_halt_node_context)
28911 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28912 (sub_epsilon_src_nodes): Likewise.
28913 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28914 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28915 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28916 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28917 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28918 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28919 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28920 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28921 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28922 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28923 (PREADV): Likewise.
28924 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28925 (PREADV): Likewise.
28926 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28927 (PWRITEV): Likewise.
28928 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28929 (PWRITEV): Likewise.
28930 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28931 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28933 2017-08-31 Florian Weimer <fweimer@redhat.com>
28935 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28936 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28937 Remove internal_function.
28938 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28939 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28940 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28941 (__deallocate_stack, __libc_pthread_init)
28942 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28943 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28944 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28946 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28947 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28948 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28950 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28951 (__pthread_mutex_unlock_usercnt): Likewise.
28953 2017-08-31 Florian Weimer <fweimer@redhat.com>
28955 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28956 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28957 (fts_safe_changedir): Remove internal_function.
28958 * io/ftw.c (internal_function): Remove definition.
28959 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28961 2017-08-31 Florian Weimer <fweimer@redhat.com>
28963 * inet/deadline.c (__deadline_current_time)
28964 (__deadline_from_timeval, __deadline_to_ms): Remove
28966 * inet/getnameinfo.c (nrl_domainname): Likewise.
28967 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28968 * inet/inet6_option.c (add_pad): Likewise.
28969 * inet/net-internal.h (__deadline_current_time)
28970 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28971 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28972 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28973 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28975 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28977 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28978 include <bits/nan.h>.
28979 * math/Makefile (headers): Remove bits/nan.h.
28980 * bits/nan.h: Remove.
28981 * sysdeps/ieee754/bits/nan.h: Likewise.
28982 * sysdeps/mips/bits/nan.h: Likewise.
28984 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28985 not include <bits/inf.h>.
28986 * math/Makefile (headers): Remove bits/inf.h.
28987 * bits/inf.h: Remove.
28988 * sysdeps/ieee754/bits/inf.h: Likewise.
28990 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28991 bits/huge_vall.h or bits/huge_val_flt128.h.
28992 (HUGE_VAL): Define directly here.
28993 [__USE_ISOC99] (HUGE_VALF): Likewise.
28994 [__USE_ISOC99] (HUGE_VALL): Likewise.
28995 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28996 (HUGE_VAL_F128): Likewise.
28997 * math/Makefile (headers): Remove bits/huge_val.h,
28998 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28999 * bits/huge_val.h: Remove.
29000 * bits/huge_val_flt128.h: Likewise.
29001 * bits/huge_valf.h: Likewise.
29002 * bits/huge_vall.h: Likewise.
29003 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29004 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29005 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29006 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29007 * sysdeps/sh/bits/huge_val.h: Likewise.
29008 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29009 * sysdeps/x86/bits/huge_vall.h: Likewise.
29011 2017-08-31 Florian Weimer <fweimer@redhat.com>
29013 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29015 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29017 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29018 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29019 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29020 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29023 * elf/dl-libc.c (dlerror_run): Likewise.
29024 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29025 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29026 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29027 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29029 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29030 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29031 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29032 * elf/dl-profile.c (_dl_start_profile): Likewise.
29033 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29034 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29036 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29037 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29038 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29039 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29040 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29041 (_dl_allocate_tls_storage): Likewise.
29042 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29043 (_dl_check_all_versions): Likewise.
29044 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29045 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29046 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29047 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29048 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29049 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29050 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29051 internal_function from __dl_start.
29052 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29053 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29054 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29055 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29056 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29057 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29058 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29059 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29060 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29061 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29062 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29063 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29064 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29065 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29066 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29068 (struct rtld_global_ro): Remove internal_function from the
29069 _dl_lookup_symbol_x member.
29070 (_dl_symbol_value): Remove. No longer defined anywhere.
29071 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29073 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29074 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29075 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29076 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29077 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29078 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29079 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29080 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29081 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29082 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29083 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29084 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29086 2017-08-31 Florian Weimer <fweimer@redhat.com>
29088 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29089 Remove internal_function.
29090 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29092 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29095 2017-08-31 Florian Weimer <fweimer@redhat.com>
29097 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29098 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29099 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29101 2017-08-31 Florian Weimer <fweimer@redhat.com>
29103 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29104 (__gai_enqueue_request): Remove internal_function.
29105 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29106 (__gai_remove_request, __gai_notify, __gai_notify_only)
29107 (__gai_sigqueue): Likewise.
29108 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29109 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29110 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29111 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29114 2017-08-31 Florian Weimer <fweimer@redhat.com>
29116 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29117 * include/dirent.h (__opendirat, __getdents, __getdents64)
29118 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29119 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29120 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29121 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29123 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29125 2017-08-31 Florian Weimer <fweimer@redhat.com>
29127 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29129 (GETCWD_RETURN_TYPE): Likewise.
29131 2017-08-31 Florian Weimer <fweimer@redhat.com>
29133 * include/time.h (__tz_compute, __strptime_internal): Remove
29135 * time/strptime_l.c (__strptime_internal): Likewise.
29136 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29138 2017-08-31 Florian Weimer <fweimer@redhat.com>
29140 * iconv/gconv.c (__gconv): Remove internal_function.
29141 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29142 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29143 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29144 (__gconv_release_cache): Likewise.
29145 * iconv/gconv_close.c (__gconv_close): Likewise.
29146 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29147 (read_conf_file, __gconv_get_path): Likewise.
29148 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29149 (__gconv_release_step, gen_steps, increment_counter)
29150 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29151 (__gconv_close_transform, free_modules_db): Likewise.
29152 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29154 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29155 (__gconv_find_transform, __gconv_lookup_cache)
29156 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29157 (__gconv_close_transform, __gconv_release_cache)
29158 (__gconv_loaded_object, __gconv_release_shlib)
29159 (__gconv_compare_alias): Likewise.
29160 * iconv/gconv_open.c (__gconv_open): Likewise.
29161 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29162 * iconv/iconvconfig.c (add_module): Likewise.
29163 * intl/dcigettext.c (plural_lookup, guess_category_value)
29164 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29165 * intl/eval-plural.h (plural_eval): Likewise.
29166 * intl/finddomain.c (_nl_find_domain): Likewise.
29167 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29168 (_nl_load_domain, _nl_find_msg): Likewise.
29169 (internal_function): Remove definition.
29170 * intl/loadinfo.h (internal_function): Likewise.
29171 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29173 * intl/localealias.c (internal_function): Remove definition.
29174 (read_alias_file): Remove internal_function.
29175 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29176 * intl/plural-exp.h (internal_function): Remove definition.
29177 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29179 * intl/plural.c: Regenerate.
29180 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29181 * locale/coll-lookup.c (__collidx_table_lookup)
29182 (__collseq_table_lookup): Likewise.
29183 * locale/coll-lookup.h (__collidx_table_lookup)
29184 (__collseq_table_lookup): Likewise.
29185 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29186 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29187 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29188 (_nl_unload_locale): Likewise.
29189 * locale/localeinfo.h (struct __locale_data): Remove
29190 internal_function from cleanup member.
29191 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29192 (_nl_remove_locale, _nl_load_locale_from_archive)
29193 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29194 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29195 (_nl_cleanup_time): Remove internal_function.
29196 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29197 (_nl_parse_alt_digit): Likewise.
29198 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29199 (_nl_select_era_entry): Likewise.
29200 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29201 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29202 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29203 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29204 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29206 2017-08-31 Florian Weimer <fweimer@redhat.com>
29208 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29209 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29210 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29211 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29213 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29214 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29215 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29216 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29218 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29220 2017-08-31 Florian Weimer <fweimer@redhat.com>
29222 * misc/getttyent.c (skip, value): Remove internal_function.
29223 * misc/syslog.c (openlog_internal): Likewise.
29224 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29226 2017-08-31 Florian Weimer <fweimer@redhat.com>
29228 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29229 (__nss_rewrite_field): Remove internal_function.
29230 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29231 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29232 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29233 * nss/nsswitch.c (nss_parse_file, nss_getline)
29234 (nss_parse_service_list, nss_new_service): Likewise.
29235 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29236 * nss/valid_field.c (__nss_valid_field): Likewise.
29237 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29239 2017-08-31 Florian Weimer <fweimer@redhat.com>
29241 * malloc/arena.c (__malloc_fork_lock_parent)
29242 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29243 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29244 internal_function from defintions.
29245 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29246 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29247 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29248 internal_function from declarations.
29249 * malloc/malloc.c (internal_function): Do not define.
29250 (mem2mem_check): Remove internal_function from declaration.
29251 (munmap_chunk, mremap_chunk): Remove internal_function.
29252 * malloc/mtrace.c (tr_where): Likewise.
29254 2017-08-31 Florian Weimer <fweimer@redhat.com>
29256 * include/rpc/pmap_clnt.h (__get_socket): Remove
29258 * sunrpc/auth_des.c (synchronize): Likewise.
29259 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29260 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29261 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29262 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29263 (key_call): Likewise.
29264 * sunrpc/pm_getport.c (__get_socket): Likewise.
29265 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29266 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29267 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29268 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29269 (invalidate): Likewise.
29270 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29271 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29272 (set_input_fragment, get_input_bytes): Likewise.
29274 2017-08-31 Florian Weimer <fweimer@redhat.com>
29276 * malloc/malloc.c (_int_free): Remove locked variable and related
29279 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29282 * Makerules (build-module-helper-objlist): Filter out
29283 $(elf-objpfx)sofini.os.
29284 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29287 2017-08-31 Florian Weimer <fweimer@redhat.com>
29289 * libio/fcloseall.c: Assume weak_alias is defined.
29290 * libio/feof.c: Likewise.
29291 * libio/fileno.c: Likewise.
29292 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29293 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29295 (_IO_file_open): Call __open directly.
29296 (_IO_new_file_sync): Assume ESPIPE is defined.
29297 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29298 (_IO_new_file_write): Call __write directly.
29299 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29300 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29301 * libio/genops.c: Assume _LIBC is defined.
29302 (save_for_backup): Remove internal_function.
29303 * libio/getc.c: Assume weak_alias is defined.
29304 * libio/getwc.c: Likewise.
29305 * libio/iofclose.c: Assume _LIBC is defined.
29306 * libio/iofdopen.c: Likewise.
29307 (_IO_fcntl): Remove macro definition.
29308 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29309 Call __fcntl directly.
29310 * libio/iofflush.c: Assume weak_alias is defined.
29311 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29313 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29314 * libio/iofgets.c: Likewise.
29315 * libio/iofopen.c: Assume _LIBC is defined.
29316 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29317 * libio/iofputs.c: Assume weak_alias is defined.
29318 * libio/iofread.c: Likewise.
29319 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29320 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29321 * libio/ioftell.c: Assume weak_alias is defined.
29322 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29323 * libio/iofwide.c: Assume _LIBC is defined.
29324 (_IO_fwide): Drop SHARED conditional because it is implied by
29326 * libio/iofwrite.c: Assume weak_alias is defined.
29327 * libio/iogetdelim.c: Likewise.
29328 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29329 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29330 (_IO_getwline): Call __wmemcpy directly.
29331 * libio/iopopen.c: Assume _LIBC is defined.
29332 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29333 (_IO_close): Remove macro definitions.
29334 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29336 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29338 * libio/ioputs.c: Assume weak_alias is defined.
29339 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29340 * libio/iosetbuffer.c: Assume weak_alias is defined.
29341 * libio/iosetvbuf.c: Likewise.
29342 * libio/ioungetc.c: Likewise.
29343 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29344 libc_hidden_def, libc_hidden_weak, NULL are defined.
29345 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29346 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29348 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29350 (_IO_old_file_init_internal): Drop SHARED conditional because it
29351 is implied by SHLIB_COMPAT.
29352 (_IO_old_file_fopen): Call __open directly.
29353 (_IO_old_file_sync): Assume ESPIPE is defined.
29354 (_IO_old_file_write): Call __write directly.
29355 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29356 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29357 Call __fcntl directly.
29358 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29359 (_IO_old_fgetpos): Assume EIO is defined.
29360 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29361 (_IO_old_fgetpos64): Assume EIO is defined.
29362 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29363 (_IO_old_fsetpos): Assume EIO is defined.
29364 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29365 (_IO_old_fsetpos64): Assume EIO is defined.
29366 * libio/oldiopopen.c: Assume _LIBC is defined.
29367 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29368 (_IO_close): Remove macro definitions.
29369 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29371 (_IO_old_proc_close): Call __close, __waitpid directly.
29372 * libio/put.c: Assume weak_alias is defined.
29373 * libio/stdfiles.c: Assume _LIBC is defined.
29374 * libio/stdio.c: Likewise.
29375 * libio/wfileops.c: Likewise.
29376 (_IO_wfile_sync): Assume ESPIPE is defined.
29377 * libio/wgenops.c: Assume _LIBC is defined.
29378 (save_for_wbackup): Remove internal_function.
29380 2017-08-31 Florian Weimer <fweimer@redhat.com>
29382 * malloc/malloc.c (top_check): Change return type to void. Remove
29384 * malloc/hooks.c (top_check): Likewise.
29385 (malloc_check, realloc_check, memalign_check): Adjust.
29387 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29390 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29391 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29392 sigcontext and namespace requirements.
29393 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29394 * sysdeps/m68k/sys/ucontext.h: Likewise.
29395 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29396 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29397 <bits/sigcontext.h>.
29398 (__ctx): Define earlier.
29399 (mcontext_t): Define structure contents rather than using struct
29401 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29402 __glibc_reserved1 instead of __reserved.
29403 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29404 <bits/sigcontext.h>.
29405 (__ctx): Define earlier.
29406 (mcontext_t): Define structure contents rather than using struct
29408 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29409 mcontext_t instead of struct sigcontext.
29410 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29411 <bits/sigcontext.h>.
29412 (__ctx): Define earlier.
29413 (mcontext_t): Define structure contents rather than using struct
29415 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29416 <bits/sigcontext.h>.
29417 (__ctx): Define earlier.
29418 (mcontext_t): Define structure contents rather than using struct
29420 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29421 mcontext_t instead of struct sigcontext.
29422 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29423 mcontext_t instead of struct sigcontext.
29424 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29425 <bits/sigcontext.h>.
29426 (__ctx): New macro.
29427 (struct __ia64_fpreg_mcontext): New type.
29428 (mcontext_t): Define structure contents rather than using struct
29430 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29431 (uc_sigmask): Define using __ctx.
29432 (uc_stack): Likewise.
29433 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29434 <bits/sigcontext.h>.
29435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29436 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29437 <bits/sigcontext.h>.
29438 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29439 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29440 <bits/sigcontext.h>.
29441 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29442 <bits/sigcontext.h>.
29443 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29444 <bits/sigcontext.h>.
29445 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29446 <bits/sigcontext.h>.
29447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29448 <bits/sigcontext.h>.
29449 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29450 <bits/sigcontext.h>.
29451 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29452 <bits/sigcontext.h>.
29453 (__ctx): Define earlier.
29454 (mcontext_t): Define structure contents rather than using struct
29456 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29457 <bits/sigcontext.h>. Include <bits/types.h>.
29458 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29459 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29460 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29461 (test-xfail-UNIX98/signal.h/conform): Likewise.
29462 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29463 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29464 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29465 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29466 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29467 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29468 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29469 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29470 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29472 2017-08-30 Florian Weimer <fweimer@redhat.com>
29474 * malloc/dynarray_emplace_enlarge.c
29475 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29476 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29477 * malloc/tst-dynarray.c (test_long_overflow): New function.
29478 (do_test): Call it.
29480 2017-08-30 Florian Weimer <fweimer@redhat.com>
29482 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29483 (set_arena_corrupt): Remove definitions.
29484 (mtrim): Do not check for corrupt arena.
29485 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29488 2017-08-30 Florian Weimer <fweimer@redhat.com>
29491 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29493 (ptmalloc_init): Do not set or use check_action.
29494 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29495 call to malloc_printerr. Remove return statement.
29496 (free_check): Likewise. Remove arena unlock.
29497 (top_check): Update comment. Adjust call to malloc_printerr.
29498 Remove heap repair code.
29499 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29500 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29501 (sysmalloc): Adjust call to malloc_printerr.
29502 (munmap_chunk, __libc_realloc): Likewise. Remove return
29504 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29505 Remove errout label and corresponding gotos.
29506 (_int_free): Likewise. Remove arena unlock.
29507 (do_set_mallopt_check): Do not set check_action.
29508 (malloc_printerr): Adjust parameter list. Do not mark arena as
29510 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29512 * manual/probes.texi (Memory Allocation Probes): Remove
29513 memory_mallopt_check_action.
29515 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29517 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29518 Use pointer to uint64_t instead of long int for sp.
29520 2017-08-30 Florian Weimer <fweimer@redhat.com>
29523 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29524 without printing a backtrace. Do not leak any information in the
29526 * manual/memory.texi (Heap Consistency Checking): Update.
29527 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29529 2017-08-30 Florian Weimer <fweimer@redhat.com>
29531 Do not scale NPTL tests with available number of CPUs.
29532 * nptl/tst-cond16.c (count): Set to constant value of 8.
29533 * nptl/tst-cond18.c (count): Likewise.
29535 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29538 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29539 Define to take a second argument that is a macro that
29540 concatentates a suffix, not the suffix itself.
29541 (__CONCAT_d): New macro.
29542 (__CONCAT_f): Likewise.
29543 (__CONCAT_l): Likewise.
29545 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29547 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29550 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29551 Aurelien Jarno <aurelien@aurel32.net>
29552 Maciej W. Rozycki <macro@imgtec.com>
29555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29556 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29557 `mips16-syscall6' and `mips16-syscall7'.
29558 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29559 (CFLAGS-mips16-syscall7.c): Remove.
29560 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29561 Remove `__mips16_syscall5', `__mips16_syscall6' and
29562 `__mips16_syscall7'.
29563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29564 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29565 `__mips_syscall_return'.
29566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29567 (__mips16_syscall1): Likewise.
29568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29569 (__mips16_syscall2): Likewise.
29570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29571 (__mips16_syscall3): Likewise.
29572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29573 (__mips16_syscall4): Likewise.
29574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29576 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29578 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29580 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29581 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29582 `__mips16_syscall5'. Remove prototype.
29583 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29584 `__mips16_syscall6'. Remove prototype.
29585 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29586 `__mips16_syscall7'. Remove prototype.
29587 (__nomips16, __mips16_syscall_return): Move to...
29588 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29589 (__nomips16, __mips_syscall_return): ... here.
29590 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29591 `__mips16_syscall_return' to `__mips_syscall_return'.
29592 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29593 `internal_syscall##nr'.
29594 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29595 `internal_syscall##nr'.
29596 (FORCE_FRAME_POINTER): Remove.
29597 (__mips_syscall5): New prototype.
29598 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29599 (__mips_syscall6): New prototype.
29600 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29601 (__mips_syscall7): New prototype.
29602 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29603 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29604 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29605 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29606 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29607 (sysdep_routines): Add libc-do-syscall.
29608 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29609 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29611 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29614 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29615 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29616 (advise_stack_range): New function.
29617 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29618 stack non required to advise_stack_range at allocatestack.c
29620 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29622 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29624 2017-08-29 Florian Weimer <fweimer@redhat.com>
29627 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29628 __end_fct. Mangle __end_fct after setting it to NULL.
29629 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29630 (modules-names, modules-names-tests): Add
29631 tst-gconv-init-failure-mod.
29632 (gconv-modules): New target.
29633 (tst-gconv-init-failure-mod.so): Link against libsupport.
29634 (tst-gconv-init-failure): Depend on gconv-modules,
29635 tst-gconv-init-failure-mod.so.
29636 * iconv/tst-gconv-init-failure-mod.c: New file.
29637 * iconv/tst-gconv-init-failure.c: Likewise.
29638 * iconv/test-gconv-modules: Likewise.
29640 2017-08-29 Florian Weimer <fweimer@redhat.com>
29643 * iconv/gconv_db.c (free_derivation): Remove redundant
29645 (gen_steps): Unconditionally mangle __btowc_fct after
29647 (increment_counter): Likewise. Do not call init_fct for internal
29650 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29653 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29654 (_MSUF_): Remove macro.
29655 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29657 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29658 (__REDIRFROM_X): New macro.
29659 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29661 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29662 (__REDIRTO_X): Likewise.
29663 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29665 (__MATH_REDIRCALL_2): Likewise.
29666 (__MATH_REDIRCALL_INTERNAL): Likewise.
29667 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29668 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29669 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29670 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29671 * math/test-finite-macros.c: New file.
29672 * math/Makefile (tests): Add test-finite-macros.
29673 (CFLAGS-test-finite-macros.c): New variable.
29675 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29676 Jeff Law <law@redhat.com>
29679 Mangle NULL pointers in iconv/gconv.
29680 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29681 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29682 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29683 is non-NULL before demangling the end_fct. Check for NULL
29684 end_fct after demangling.
29685 (__gconv_release_step): Demangle the end_fct before checking
29686 it for NULL. Remove assert on __shlibc_handle != NULL.
29687 (gen_steps): Don't check btowc_fct for NULL before mangling.
29688 Demangle init_fct before checking for NULL.
29689 (increment_counter): Likewise.
29690 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29691 end_fct for NULL before mangling.
29692 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29695 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29698 * locale/iso-639.def: add Morisyen.
29700 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29703 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29704 (iszero): New C++ implementation that does not use
29705 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29706 signaling nans are enabled, since __builtin_types_compatible_p
29707 is a C-only feature.
29708 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29709 defined, include ieee754_float128.h for access to the union and
29710 member ieee854_float128.ieee.
29711 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29712 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29713 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29714 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29715 options of test-math-zero on powerpc64le.
29717 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29719 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29720 Change double to float.
29722 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29724 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29726 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29727 conditional code; define contents only for [LIBM_SVID_COMPAT].
29729 2017-08-28 Florian Weimer <fweimer@redhat.com>
29731 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29732 (abi-lp64_be-options): Remove.
29733 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29734 (abi-hard-options): Likewise.
29735 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29736 (abi-o32_hard-options, abi-o32_soft_2008-options)
29737 (abi-o32_hard_2008-options, abi-n32_soft-options)
29738 (abi-n32_hard-options, abi-n32_soft_2008-options)
29739 (abi-n32_hard_2008-options, abi-n64_soft-options)
29740 (abi-n64_hard-options, abi-n64_soft_2008-options)
29741 (abi-n64_hard_2008-options): Likewise.
29742 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29743 (abi-64-v1-options, abi-64-v2-options): Likewise.
29744 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29745 (abi-64-options): Likewise.
29746 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29747 (abi-64-options): Likewise.
29748 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29749 (abi-64-options): Likewise.
29750 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29751 (abi-64-options, abi-x32-options): Likewise.
29753 2017-08-28 Florian Weimer <fweimer@redhat.com>
29755 Store supported list of SYS_* system calls in the source tree.
29756 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29757 (bits/syscall.h): Generate from list file.
29758 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29759 [$(subdir) = misc] (tests): Add tst-syscall-list.
29760 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29761 [$(subdir) = misc] (tst-syscall-list-macros.list)
29762 [$(subdir) = misc] (tst-syscall-list-nr.list)
29763 (tst-syscall-list-sys.list): Helper targets for new
29764 tst-syscall-list test.
29765 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29766 tst-syscall-list.sh.
29767 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29768 target. Do not include bits/syscall.d.
29769 [$(subdir) = misc] (generated): Do not update.
29770 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29771 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29772 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29773 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29775 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29777 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29778 (tst-cxa_atexit, tst-on_exit): Likewise.
29779 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29780 tst-cxa_atexit, and tst-on_exit.
29781 * stdlib/tst-atexit-common.c: New file.
29782 * stdlib/tst-atexit.c: New file.
29783 * stdlib/tst-at_quick_exit.c: New file.
29784 * stdlib/tst-cxa_atexit.c: New file.
29785 * stdlib/tst-on_exit.c: New file.
29787 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29789 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29790 * mach/stack_chk_fail_local.c: New file.
29791 * hurd/stack_chk_fail_local.c: New file.
29792 * mach/Machrules ($(interface-library)-routines): Add
29793 stack_chk_fail_local.
29794 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29795 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29796 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29797 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29798 * hurd/Makefile (CFLAGS-hurdstartup.o,
29799 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29801 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29803 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29804 (index_cpu_*, index_arch_*): Removed.
29806 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29808 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29809 Use uint64_t instead of unsigned long.
29811 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29813 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29814 [__HAVE_DISTINCT_FLOAT128].
29816 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29817 of <bits/math-finite.h>.
29818 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29819 inclusion of <bits/math-finite.h>.
29820 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29821 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29822 __NO_LONG_DOUBLE_MATH].
29823 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29824 (__MATH_REDIRCALL_2): Likewise.
29825 (__MATH_REDIRCALL_INTERNAL): Likewise.
29826 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29827 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29828 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29842 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29843 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29844 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29845 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29847 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29848 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29849 w_sqrtf_compat-ppc32.
29851 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29853 * math/math.h [defined __cplusplus] (issignaling): In the long
29854 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29855 is not defined. Call __issignaling, otherwise.
29857 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29859 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29860 syscall definitions and replace __builtin_expect with __glibc_likely.
29861 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29863 (SYSCALL_CANCELLABLE): Removedefinition
29864 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29866 (PSEUDO_END): Likewise.
29867 [IS_IN (libpthread)] (CENABLE): Likewise.
29868 [IS_IN (libpthread)] (CDISABLE): Likewise.
29869 [IS_IN (libc)] (CENABLE): Likewise.
29870 [IS_IN (libc)] (CENABLE): Likewise.
29871 [IS_IN (librt)] (CDISABLE): Likewise.
29872 [IS_IN (librt)] (CDISABLE): Likewise.
29873 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29874 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29876 (PSEUDO_END): Likewise.
29877 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29878 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29879 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29880 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29881 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29882 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29883 (CENABLE): Likewise.
29884 (CDISABLE): Likewise.
29885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29888 (PSEUDO_END): Likewise.
29889 [IS_IN (libpthread)] (CENABLE): Likewise.
29890 [IS_IN (libpthread)] (CDISABLE): Likewise.
29891 [IS_IN (libc)] (CENABLE): Likewise.
29892 [IS_IN (libc)] (CENABLE): Likewise.
29893 [IS_IN (librt)] (CDISABLE): Likewise.
29894 [IS_IN (librt)] (CDISABLE): Likewise.
29895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29896 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29898 (PSEUDO_END): Likewise.
29899 [IS_IN (libpthread)] (CENABLE): Likewise.
29900 [IS_IN (libpthread)] (CDISABLE): Likewise.
29901 [IS_IN (libc)] (CENABLE): Likewise.
29902 [IS_IN (libc)] (CENABLE): Likewise.
29903 [IS_IN (librt)] (CDISABLE): Likewise.
29904 [IS_IN (librt)] (CDISABLE): Likewise.
29905 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29906 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29908 (PSEUDO_END): Likewise.
29909 [IS_IN (libpthread)] (CENABLE): Likewise.
29910 [IS_IN (libpthread)] (CDISABLE): Likewise.
29911 [IS_IN (libc)] (CENABLE): Likewise.
29912 [IS_IN (libc)] (CENABLE): Likewise.
29913 [IS_IN (librt)] (CDISABLE): Likewise.
29914 [IS_IN (librt)] (CDISABLE): Likewise.
29915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29916 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29918 (PSEUDO_END): Likewise.
29919 [IS_IN (libpthread)] (CENABLE): Likewise.
29920 [IS_IN (libpthread)] (CDISABLE): Likewise.
29921 [IS_IN (libc)] (CENABLE): Likewise.
29922 [IS_IN (libc)] (CENABLE): Likewise.
29923 [IS_IN (librt)] (CDISABLE): Likewise.
29924 [IS_IN (librt)] (CDISABLE): Likewise.
29925 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29926 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29928 (PSEUDO_END): Likewise.
29929 [IS_IN (libpthread)] (CENABLE): Likewise.
29930 [IS_IN (libpthread)] (CDISABLE): Likewise.
29931 [IS_IN (libc)] (CENABLE): Likewise.
29932 [IS_IN (libc)] (CENABLE): Likewise.
29933 [IS_IN (librt)] (CDISABLE): Likewise.
29934 [IS_IN (librt)] (CDISABLE): Likewise.
29935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29936 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29938 (PSEUDO_END): Likewise.
29939 [IS_IN (libpthread)] (CENABLE): Likewise.
29940 [IS_IN (libpthread)] (CDISABLE): Likewise.
29941 [IS_IN (libc)] (CENABLE): Likewise.
29942 [IS_IN (libc)] (CENABLE): Likewise.
29943 [IS_IN (librt)] (CDISABLE): Likewise.
29944 [IS_IN (librt)] (CDISABLE): Likewise.
29945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29946 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29948 (PSEUDO_END): Likewise.
29949 [IS_IN (libpthread)] (CENABLE): Likewise.
29950 [IS_IN (libpthread)] (CDISABLE): Likewise.
29951 [IS_IN (libc)] (CENABLE): Likewise.
29952 [IS_IN (libc)] (CENABLE): Likewise.
29953 [IS_IN (librt)] (CDISABLE): Likewise.
29954 [IS_IN (librt)] (CDISABLE): Likewise.
29955 (SINGLE_THREAD_P): Likewise.
29956 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29958 (PSEUDO_END): Likewise.
29959 [IS_IN (libpthread)] (CENABLE): Likewise.
29960 [IS_IN (libpthread)] (CDISABLE): Likewise.
29961 [IS_IN (libc)] (CENABLE): Likewise.
29962 [IS_IN (libc)] (CENABLE): Likewise.
29963 [IS_IN (librt)] (CDISABLE): Likewise.
29964 [IS_IN (librt)] (CDISABLE): Likewise.
29965 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29966 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29968 (PSEUDO_END): Likewise.
29969 [IS_IN (libpthread)] (CENABLE): Likewise.
29970 [IS_IN (libpthread)] (CDISABLE): Likewise.
29971 [IS_IN (libc)] (CENABLE): Likewise.
29972 [IS_IN (libc)] (CENABLE): Likewise.
29973 [IS_IN (librt)] (CDISABLE): Likewise.
29974 [IS_IN (librt)] (CDISABLE): Likewise.
29975 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29976 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29977 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29978 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29981 (PSEUDO_END): Likewise.
29982 [IS_IN (libpthread)] (CENABLE): Likewise.
29983 [IS_IN (libpthread)] (CDISABLE): Likewise.
29984 [IS_IN (libc)] (CENABLE): Likewise.
29985 [IS_IN (libc)] (CENABLE): Likewise.
29986 [IS_IN (librt)] (CDISABLE): Likewise.
29987 [IS_IN (librt)] (CDISABLE): Likewise.
29988 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29991 (PSEUDO_END): Likewise.
29992 [IS_IN (libpthread)] (CENABLE): Likewise.
29993 [IS_IN (libpthread)] (CDISABLE): Likewise.
29994 [IS_IN (libc)] (CENABLE): Likewise.
29995 [IS_IN (libc)] (CENABLE): Likewise.
29996 [IS_IN (librt)] (CDISABLE): Likewise.
29997 [IS_IN (librt)] (CDISABLE): Likewise.
29998 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29999 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30001 (PSEUDO_END): Likewise.
30002 [IS_IN (libpthread)] (CENABLE): Likewise.
30003 [IS_IN (libpthread)] (CDISABLE): Likewise.
30004 [IS_IN (libc)] (CENABLE): Likewise.
30005 [IS_IN (libc)] (CENABLE): Likewise.
30006 [IS_IN (librt)] (CDISABLE): Likewise.
30007 [IS_IN (librt)] (CDISABLE): Likewise.
30008 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30011 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30012 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30014 (PSEUDO_END): Likewise.
30015 [IS_IN (libpthread)] (CENABLE): Likewise.
30016 [IS_IN (libpthread)] (CDISABLE): Likewise.
30017 [IS_IN (libc)] (CENABLE): Likewise.
30018 [IS_IN (libc)] (CENABLE): Likewise.
30019 [IS_IN (librt)] (CDISABLE): Likewise.
30020 [IS_IN (librt)] (CDISABLE): Likewise.
30021 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30024 (PSEUDO_END): Likewise.
30025 [IS_IN (libpthread)] (CENABLE): Likewise.
30026 [IS_IN (libpthread)] (CDISABLE): Likewise.
30027 [IS_IN (libc)] (CENABLE): Likewise.
30028 [IS_IN (libc)] (CENABLE): Likewise.
30029 [IS_IN (librt)] (CDISABLE): Likewise.
30030 [IS_IN (librt)] (CDISABLE): Likewise.
30031 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30033 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30035 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30037 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30041 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30044 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30045 middle and outer with size_t instead of int. Repleace %d and
30046 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30047 "MAX (outer, nchars - 64)" to support unsigned outer and
30048 nchars. Also exit loop when outer == 0.
30050 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30052 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30053 * include/signal.h (__sigsuspend_nocancel): Likewise.
30054 * include/time.h (__nanosleep_nocancel): Likewise.
30055 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30056 * login/utmp_file.c: Include non cancellable syscall header.
30057 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30060 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30062 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30063 .byte sequences with AVX512F instructions.
30064 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30065 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30066 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30069 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30072 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30073 Steve Ellcey <sellcey@cavium.com>
30075 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30076 Use PTR_REG macro in cmp instruction.
30078 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30080 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30081 Change the return type of the ifunc resolver to match the return
30082 type of the target function.
30084 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30086 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30087 (preadv64): Likewise.
30088 (pwrite64(: Likewise.
30089 (pwritev64): Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30092 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30093 (LOAD_ARGS_0): Likewise.
30094 (LOAD_ARGS_1): Likewise.
30095 (LOAD_ARGS_2): Likewise.
30096 (LOAD_ARGS_3): Likewise.
30097 (LOAD_ARGS_4): Likewise.
30098 (LOAD_ARGS_5): Likewise.
30099 (LOAD_ARGS_6): Likewise.
30100 (LOAD_REGS_0): Likewise.
30101 (LOAD_REGS_1): Likewise.
30102 (LOAD_REGS_2): Likewise.
30103 (LOAD_REGS_3): Likewise.
30104 (LOAD_REGS_4): Likewise.
30105 (LOAD_REGS_5): Likewise.
30106 (LOAD_REGS_6): Likewise.
30107 (ASM_ARGS_0): Likewise.
30108 (ASM_ARGS_1): Likewise.
30109 (ASM_ARGS_2): Likewise.
30110 (ASM_ARGS_3): Likewise.
30111 (ASM_ARGS_4): Likewise.
30112 (ASM_ARGS_5): Likewise.
30113 (ASM_ARGS_6): Likewise.
30114 (LOAD_ARGS_TYPES_1): Likewise.
30115 (LOAD_ARGS_TYPES_2): Likewise.
30116 (LOAD_ARGS_TYPES_3): Likewise.
30117 (LOAD_ARGS_TYPES_4): Likewise.
30118 (LOAD_ARGS_TYPES_5): Likewise.
30119 (LOAD_ARGS_TYPES_6): Likewise.
30120 (LOAD_REGS_TYPES_1): Likewise.
30121 (LOAD_REGS_TYPES_2): Likewise.
30122 (LOAD_REGS_TYPES_3): Likewise.
30123 (LOAD_REGS_TYPES_4): Likewise.
30124 (LOAD_REGS_TYPES_5): Likewise.
30125 (LOAD_REGS_TYPES_6): Likewise.
30126 (TYPEFY): New define.
30127 (ARGIFY): Likewise.
30128 (internal_syscall0): Likewise.
30129 (internal_syscall1): Likewise.
30130 (internal_syscall2): Likewise.
30131 (internal_syscall3): Likewise.
30132 (internal_syscall4): Likewise.
30133 (internal_syscall5): Likewise.
30134 (internal_syscall6): Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30136 (INTERNAL_SYSCALL_NCS): Remove define.
30137 (internal_syscall1): Add define.
30139 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30141 * math/w_remainder_compat.c: Remove duplicate inclusion of
30142 math-svid-compat.h.
30143 * math/w_remainderf_compat.c: Likewise.
30144 * math/w_remainderl_compat.c: Likewise.
30146 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30150 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30153 * math/tgmath.h (__floating_type): Simplify definitions.
30154 (__real_integer_type): New macro.
30155 (__complex_integer_type): Likewise.
30156 (__expr_is_real): Likewise.
30157 (__tgmath_real_type_sub): Update comment to describe handling of
30159 (__tgmath_complex_type_sub): New macro.
30160 (__tgmath_complex_type): Likewise.
30161 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30162 (__TGMATH_CF128): Use __expr_is_real.
30163 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30165 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30166 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30167 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30170 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30172 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30174 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30176 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30179 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30180 nanosleep_not_cancel with __nanosleep_nocancel.
30181 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30182 (__nanosleep_nocancel): New macro.
30183 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30185 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30187 (__nanosleep_nocancel): New prototype.
30189 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30190 pause_not_cancel with __pause_nocancel.
30191 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30192 (__pause_nocancel): New macro.
30193 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30195 (__pause_nocancel): New prototype.
30196 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30198 2017-08-22 Martin Sebor <msebor@redhat.com>
30200 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30201 to return a pointer to the same type as the target function.
30203 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30207 * include/printf.h (__printf_fphex): Add attribute_hidden.
30208 (__guess_grouping): New prototype.
30209 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30210 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30211 libc_hidden_proto and libc_hidden_def.
30212 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30213 (__vstrfmon_l): Remove the third argument passed to
30216 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30218 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30219 definition for issignaling that does not rely on __MATH_TG,
30220 since __MATH_TG uses __builtin_types_compatible_p, which is only
30221 available in C mode.
30222 (CFLAGS-test-math-issignaling.cc): New variable.
30223 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30224 * math/test-math-issignaling.cc: New test for C++ implementation
30225 of type-generic issignaling.
30226 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30227 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30228 options of test-math-issignaling on powerpc64le.
30230 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30232 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30234 (hidden_proto): Likewise.
30235 (hidden_tls_proto): Likewise.
30236 (__hidden_proto): Likewise.
30238 2017-08-22 Florian Weimer <fweimer@redhat.com>
30240 math: Statically link tests of internal functionality.
30241 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30243 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30244 (gmp-objs): Remove assignment.
30245 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30247 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30250 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30252 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30254 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30257 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30258 variable definitions above inclusion of ../Rules.
30260 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30262 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30263 case calling __builtin_unreachable.
30265 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30267 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30268 __waitpid_nocancel.
30269 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30270 (__waitpid_nocancel): New macro.
30271 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30273 (__waitpid_nocancel): Replace macro with a function.
30274 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30277 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30279 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30280 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30282 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30283 __writev_nocancel_nostatus.
30284 (write_call_graph): Likewise.
30285 (write_bb_counts): Likewise.
30286 * resolv/herror.c (herror): Likewise.
30287 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30289 (__writev_nocancel_nostatus): New macro.
30290 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30292 (__writev_nocancel_nostatus): New function.
30294 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30297 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30299 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30301 (hidden_proto): Likewise.
30302 (hidden_tls_proto): Likewise.
30303 (__hidden_proto): Likewise.
30306 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30307 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30318 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30319 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30320 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30321 GLIBC_2.0 sqrtl symbol.
30323 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30324 [__USE_MISC] (_LIB_VERSION): Likewise.
30325 [__USE_MISC] (struct exception): Likewise.
30326 [__USE_MISC] (matherr): Likewise.
30327 [__USE_MISC] (DOMAIN): Likewise.
30328 [__USE_MISC] (SING): Likewise.
30329 [__USE_MISC] (OVERFLOW): Likewise.
30330 [__USE_MISC] (UNDERFLOW): Likewise.
30331 [__USE_MISC] (TLOSS): Likewise.
30332 [__USE_MISC] (PLOSS): Likewise.
30333 [__USE_MISC] (HUGE): Likewise.
30334 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30335 * math/math-svid-compat.h: New file.
30336 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30338 * include/math.h [!_ISOMAC] (__matherr): Remove.
30339 * manual/arith.texi (FP Exceptions): Do not document matherr.
30340 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30341 (tests-internal): New variable.
30342 (install-lib): Do not add libieee.a.
30343 (non-lib.a): Likewise.
30344 (extra-objs): Do not add libieee.a and ieee-math.o.
30345 (CPPFLAGS-s_lib_version.c): Remove variable.
30346 ($(objpfx)libieee.a): Remove rule.
30347 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30348 * math/ieee-math.c: Remove.
30349 * math/libm-test-support.c (matherr): Remove.
30350 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30351 and license notices. Include <math-svid-compat.h> and
30353 (matherr): Undefine as macro. Use compat_symbol_reference.
30354 (_LIB_VERSION): Likewise.
30355 * math/test-matherr-2.c: New file.
30356 * math/test-matherr-3.c: Likewise.
30357 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30359 (__kernel_standard_f): Likewise.
30360 (__kernel_standard_l): Likewise.
30361 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30362 <math_private.h>. Include <math-svid-compat.h>.
30363 (_LIB_VERSION): Undefine as macro.
30364 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30365 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30366 [LIBM_SVID_COMPAT], use compat_symbol.
30367 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30368 <math_private.h>. Include <math-svid-compat.h>.
30369 (matherr): Undefine as macro.
30370 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30372 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30373 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30374 compat_symbol_reference.
30375 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30376 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30377 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30378 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30379 (MATHERR_D): Remove declaration.
30380 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30381 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30382 [LIBM_BUILD] (pmatherrf): Likewise.
30383 [LIBM_BUILD] (pmatherr): Likewise.
30384 [LIBM_BUILD] (pmatherrl): Likewise.
30385 (DOMAIN): Likewise.
30387 (OVERFLOW): Likewise.
30388 (UNDERFLOW): Likewise.
30391 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30392 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30394 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30395 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30397 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30398 * math/w_acos_compat.c: Likewise.
30399 * math/w_acosf_compat.c: Likewise.
30400 * math/w_acosh_compat.c: Likewise.
30401 * math/w_acoshf_compat.c: Likewise.
30402 * math/w_acoshl_compat.c: Likewise.
30403 * math/w_acosl_compat.c: Likewise.
30404 * math/w_asin_compat.c: Likewise.
30405 * math/w_asinf_compat.c: Likewise.
30406 * math/w_asinl_compat.c: Likewise.
30407 * math/w_atan2_compat.c: Likewise.
30408 * math/w_atan2f_compat.c: Likewise.
30409 * math/w_atan2l_compat.c: Likewise.
30410 * math/w_atanh_compat.c: Likewise.
30411 * math/w_atanhf_compat.c: Likewise.
30412 * math/w_atanhl_compat.c: Likewise.
30413 * math/w_cosh_compat.c: Likewise.
30414 * math/w_coshf_compat.c: Likewise.
30415 * math/w_coshl_compat.c: Likewise.
30416 * math/w_exp10_compat.c: Likewise.
30417 * math/w_exp10f_compat.c: Likewise.
30418 * math/w_exp10l_compat.c: Likewise.
30419 * math/w_exp2_compat.c: Likewise.
30420 * math/w_exp2f_compat.c: Likewise.
30421 * math/w_exp2l_compat.c: Likewise.
30422 * math/w_fmod_compat.c: Likewise.
30423 * math/w_fmodf_compat.c: Likewise.
30424 * math/w_fmodl_compat.c: Likewise.
30425 * math/w_hypot_compat.c: Likewise.
30426 * math/w_hypotf_compat.c: Likewise.
30427 * math/w_hypotl_compat.c: Likewise.
30428 * math/w_j0_compat.c: Likewise.
30429 * math/w_j0f_compat.c: Likewise.
30430 * math/w_j0l_compat.c: Likewise.
30431 * math/w_j1_compat.c: Likewise.
30432 * math/w_j1f_compat.c: Likewise.
30433 * math/w_j1l_compat.c: Likewise.
30434 * math/w_jn_compat.c: Likewise.
30435 * math/w_jnf_compat.c: Likewise.
30436 * math/w_jnl_compat.c: Likewise.
30437 * math/w_lgamma_main.c: Likewise.
30438 * math/w_lgamma_r_compat.c: Likewise.
30439 * math/w_lgammaf_main.c: Likewise.
30440 * math/w_lgammaf_r_compat.c: Likewise.
30441 * math/w_lgammal_main.c: Likewise.
30442 * math/w_lgammal_r_compat.c: Likewise.
30443 * math/w_log10_compat.c: Likewise.
30444 * math/w_log10f_compat.c: Likewise.
30445 * math/w_log10l_compat.c: Likewise.
30446 * math/w_log2_compat.c: Likewise.
30447 * math/w_log2f_compat.c: Likewise.
30448 * math/w_log2l_compat.c: Likewise.
30449 * math/w_log_compat.c: Likewise.
30450 * math/w_logf_compat.c: Likewise.
30451 * math/w_logl_compat.c: Likewise.
30452 * math/w_pow_compat.c: Likewise.
30453 * math/w_powf_compat.c: Likewise.
30454 * math/w_powl_compat.c: Likewise.
30455 * math/w_remainder_compat.c: Likewise.
30456 * math/w_remainderf_compat.c: Likewise.
30457 * math/w_remainderl_compat.c: Likewise.
30458 * math/w_scalb_compat.c: Likewise.
30459 * math/w_scalbf_compat.c: Likewise.
30460 * math/w_scalbl_compat.c: Likewise.
30461 * math/w_sinh_compat.c: Likewise.
30462 * math/w_sinhf_compat.c: Likewise.
30463 * math/w_sinhl_compat.c: Likewise.
30464 * math/w_sqrt_compat.c: Likewise.
30465 * math/w_sqrtf_compat.c: Likewise.
30466 * math/w_sqrtl_compat.c: Likewise.
30467 * math/w_tgamma_compat.c: Likewise.
30468 * math/w_tgammaf_compat.c: Likewise.
30469 * math/w_tgammal_compat.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30471 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30472 * sysdeps/ieee754/k_standard.c: Likewise.
30473 * sysdeps/ieee754/k_standardf.c: Likewise.
30474 * sysdeps/ieee754/k_standardl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30477 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30478 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30479 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30481 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30482 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30483 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30490 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30491 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30493 2017-08-21 Florian Weimer <fweimer@redhat.com>
30496 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30497 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30498 Move before inclusion of ../Rules.
30500 2017-08-21 Florian Weimer <fweimer@redhat.com>
30503 * assert/assert.h (assert): Use static_cast (bool) for C++.
30504 Use the ternary operator in the warning branch for GNU C.
30505 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30506 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30507 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30508 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30509 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30511 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30514 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30515 (__syscall_clock_gettime): Add attribute_hidden.
30516 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30517 (__start_context): Likewise.
30519 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30521 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30523 (hidden_proto): Likewise.
30524 (hidden_tls_proto): Likewise.
30525 (__hidden_proto): Likewise.
30527 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30529 * include/libc-symbols.h (attribute_hidden): Enable hidden
30530 visibility in libc.a compiled with PIE.
30532 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30535 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30536 Add attribute_hidden.
30538 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30541 * Makerules (all-nonlib): Add $(others-extras).
30542 * catgets/Makefile (others-extras): New.
30543 * elf/Makefile (others-extras): Likewise.
30544 * nss/Makefile (others-extras): Likewise.
30546 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30549 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30550 * elf/dl-open.c: Include <libc-internal.h>.
30551 (__libc_multiple_libcs): Removed.
30552 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30554 * include/libc-internal.h (__libc_multiple_libcs): New.
30555 * misc/sbrk.c: Include <libc-internal.h>.
30556 (__libc_multiple_libcs): Removed.
30558 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30561 * grp/initgroups.c (__nss_group_database): Removed.
30562 (__nss_initgroups_database): Likewise.
30563 * nscd/gai.c (__nss_hosts_database): Likewise.
30564 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30565 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30566 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30567 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30568 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30569 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30571 * nss/nsswitch.c (__nss_database_custom): Define only if
30572 USE_NSCD is defined.
30573 (__nss_configure_lookup): Use __nss_database_custom only if
30574 USE_NSCD is defined.
30575 * nss/nsswitch.h (__nss_database_custom): Declare only if
30576 USE_NSCD is defined. Add attribute_hidden.
30577 (__nss_setent): Add attribute_hidden.
30578 (__nss_endent): Likewise.
30579 (__nss_getent_r): Likewise.
30580 (__nss_getent): Likewise.
30581 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30583 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30586 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30587 libc_hidden_proto and libc_hidden_def.
30589 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30592 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30593 Add libc_hidden_proto.
30594 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30595 Add libc_hidden_def.
30597 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30600 * gmon/Makefile (routines): Remove bb_init_func and
30602 (elide-routines.os): Removed.
30603 * gmon/bb_exit_func.c: Likewise.
30604 * gmon/bb_init_func.c: Likewise.
30605 * include/sys/gmon.h (__bb): Likewise.
30606 (__bb_init_func): Likewise.
30607 (__bb_exit_func): Likewise.
30608 * sysdeps/alpha/bb_init_func.S: Likewise.
30610 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30612 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30613 * include/setjmp.h (____longjmp_chk): Here. Add
30616 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30619 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30621 (__strspn_sse2): Likewise.
30623 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30625 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30626 (close_not_cancel_no_status): Likewise.
30627 (__close_nocancel): New macro.
30628 (__close_nocancel_nostatus): Likewise.
30629 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30631 (close_not_cancel): Likewise.
30632 (close_not_cancel_no_status): Likewise.
30633 (__close_nocancel): New prototype.
30634 (__close_nocancel_nostatus): New function.
30635 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30636 * catgets/open_catalog.c (__open_catalog): Replace
30637 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30638 * gmon/gmon.c (write_gmon): Likewise.
30639 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30640 * intl/loadmsgcat.c (close): Likewise.
30641 * io/ftw.c (open_dir_stream): Likewise.
30642 (ftw_startup): Likewise.
30643 * libio/fileops.c (_IO_file_open): Likewise.
30644 (_IO_file_close_mmap): Likewise.
30645 (_IO_file_close): Likewise.
30646 * libio/iopopen.c (_IO_dup2): Likewise.
30647 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30648 * locale/loadlocale.c (_nl_load_locale): Likewise.
30649 * login/utmp_file.c (pututline_file): Likewise.
30650 (endutent_file): Likewise.
30651 * misc/daemon.c (daemon): Likewise.
30652 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30653 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30654 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30655 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30656 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30657 * nscd/nscd_helper.c (open_socket): Likewise.
30658 (__nscd_open_socket): Likewise.
30659 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30660 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30661 (__nscd_innetgr): Likewise.
30662 * nss/nss_db/db-open.c (internal_setent): Likewise.
30663 * resolv/res-close.c (__res_iclose): Likewise.
30664 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30665 * sysdeps/posix/closedir.c (__closedir): Likewise.
30666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30667 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30668 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30669 (opendir_tail): Likewise.
30670 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30671 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30673 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30674 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30675 (gethostid): Likewise.
30676 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30680 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30681 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30682 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30684 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30685 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30686 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30688 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30689 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30691 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30693 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30695 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30698 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30699 (openat_not_cancel_3): Likewise.
30700 (openat64_not_cancel_3): Likewise).
30701 (openat_not_cancel_3): Likewise).
30702 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30704 (openat_not_cancel_3): Likewise.
30705 (openat64_not_cancel): Likewise.
30706 (openat64_not_cancel_3): Likewise.
30707 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30708 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30709 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30710 __open{64}_nocancel.
30711 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30712 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30713 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30715 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30718 * include/argz.h (__argz_create_sep): New function prototype.
30719 (__argz_append): Likewise.
30720 (__argz_add): Likewise.
30721 (__argz_add_sep): Likewise.
30722 (__argz_delete): Likewise.
30723 (__argz_insert): Likewise.
30724 (__argz_replace): Likewise.
30725 * string/argz.h (__argz_create_sep): Removed.
30726 (__argz_append): Likewise.
30727 (__argz_add): Likewise.
30728 (__argz_add_sep): Likewise.
30729 (__argz_delete): Likewise.
30730 (__argz_insert): Likewise.
30731 (__argz_replace): Likewise.
30733 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30735 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30736 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30737 (GNU_PROPERTY_STACK_SIZE): Likewie.
30738 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30739 (GNU_PROPERTY_LOPROC): Likewise.
30740 (GNU_PROPERTY_HIPROC): Likewise.
30741 (GNU_PROPERTY_LOUSER): Likewise.
30742 (GNU_PROPERTY_HIUSER): Likewise.
30743 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30744 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30745 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30746 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30747 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30748 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30749 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30750 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30751 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30752 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30753 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30754 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30755 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30756 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30757 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30758 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30759 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30760 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30761 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30762 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30763 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30764 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30765 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30767 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30769 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30772 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30775 * math/math.h (isinf): Check if in C or C++ mode before using
30776 __builtin_types_compatible_p, since this is a C mode feature.
30778 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30780 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30781 (__write_nocancel): New macro.
30782 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30783 Rewrite as a function prototype.
30784 (write_not_cancel): Remove macro.
30785 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30786 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30787 (write_gmon): Likewise.
30788 * libio/fileops.c (_IO_new_file_write): Likewise.
30789 * login/utmp_file.c (pututline_file): Likewise.
30790 (updwtmp_file): Likewise.
30791 * stdio-common/psiginfo.c (psiginfo): Likewise.
30792 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30793 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30794 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30796 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30799 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30800 (__read_nocancel): New macro.
30801 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30803 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30805 (__read_nocancel): New prototype.
30806 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30807 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30808 with __read_nocancel.
30809 * intl/loadmsgcat.c (read): Likewise.
30810 * libio/fileops.c (_IO_file_read): Likewise.
30811 * locale/loadlocale.c (_nl_load_locale): Likewise.
30812 * login/utmp_file.c (getutent_r_file): Likewise.
30813 (internal_getut_r): Likewise.
30814 (getutline_r_file): Likewise.
30815 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30816 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30817 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30820 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30821 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30822 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30824 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30826 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30828 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30830 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30832 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30835 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30836 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30839 2017-08-17 DJ Delorie <dj@redhat.com>
30841 * bug17079.c: Update to new test harness.
30842 * test-digits-dots.c: Likewise.
30843 * test-netdb.c: Likewise.
30844 * tst-field.c: Likewise.
30845 * tst-nss-getpwent.c: Likewise.
30846 * tst-nss-static.c: Likewise.
30847 * tst-nss-test1.c: Likewise.
30848 * tst-nss-test2.c: Likewise.
30849 * tst-nss-test3.c: Likewise.
30850 * tst-nss-test4.c: Likewise.
30851 * tst-nss-test5.c: Likewise.
30853 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30855 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30856 (open_not_cancel_2): Likewise.
30857 (open_nocancel): New macro.
30858 (open64_nocancel): Likewise.
30859 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30860 (open_not_cancel_2): Likewise.
30861 (__open_nocancel): New prototype.
30862 (__open64_nocancel): Likewise.
30863 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30865 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30866 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30867 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30868 with __open_nocancel.
30869 * csu/check_fds.c (check_one_fd): Likewise.
30870 * gmon/gmon.c (write_gmon): Likewise.
30871 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30872 * intl/loadmsgcat.c (open): Likewise.
30873 * libio/fileops.c (_IO_file_open): Likewise.
30874 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30875 * locale/loadlocale.c (_nl_load_locale): Likewise.
30876 * login/utmp_file.c (setutent_file): Likewise.
30877 * misc/daemon.c (daemon): Likewise.
30878 * nss/nss_db/db-open.c (internal_setent): Likewise.
30879 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30880 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30881 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30882 (__opendir): Likewise.
30883 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30884 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30885 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30886 (gethostid): Likewise.
30887 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30891 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30892 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30893 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30895 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30897 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30899 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30901 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30903 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30905 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30906 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30908 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30910 * benchtests/bench-skeleton.c (main): Add support for
30911 latency benchmarking.
30912 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30914 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30916 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30917 the startup object.
30919 2017-08-17 Florian Weimer <fweimer@redhat.com>
30921 * include/sys/socket.h (__opensock): Remove internal_function.
30922 * socket/opensock.c (__opensock): Likewise.
30923 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30925 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30928 * signal/bits/types/__sigval_t.h: New file.
30929 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30930 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30931 and define sigval_t using __sigval_t.
30932 * include/bits/types/__sigval_t.h: New file.
30933 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30934 instead of <bits/types/__sigval_t.h>.
30935 (struct sigevent): Use __sigval_t instead of sigval_t.
30936 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30937 instead of <bits/types/__sigval_t.h>.
30938 (siginfo_t): Use __sigval_t instead of sigval_t.
30939 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30940 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30941 (struct sigevent): Use __sigval_t instead of sigval_t.
30942 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30943 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30944 (siginfo_t): Use __sigval_t instead of sigval_t.
30945 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30947 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30949 * NEWS: Remove "[Add new features here]" for 2.27.
30951 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30953 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30956 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30958 * NEWS: Mention x86-64 FMA optimization.
30960 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30965 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30966 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30967 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30969 2017-08-16 Andreas Schwab <schwab@suse.de>
30973 * elf/ldd.bash.in: Never run file directly.
30975 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30978 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30979 (L(SP_INF_0)): Likewise.
30981 2017-08-15 Florian Weimer <fweimer@redhat.com>
30983 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30986 2017-08-15 Florian Weimer <fweimer@redhat.com>
30988 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30989 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30990 BROKEN_THREAD_SIGNALS code.
30991 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30992 request_list): Remove caller_pid member used for
30993 BROKEN_THREAD_SIGNALS.
30994 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30995 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30996 Remove BROKEN_THREAD_SIGNALS support.
30997 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30998 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31000 2017-08-15 Florian Weimer <fweimer@redhat.com>
31002 * gmon/Makefile (tests): Add tst-gmon.
31003 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31005 (tests-special): Add tst-gmon-prof.out.
31006 (tst-gmon.out): Depend on clean-tst-gmon-data.
31007 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31008 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31009 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31011 * aclocal.m4 (GPROF): Set and substitute.
31012 * config.amke.in (GPROF): Set.
31013 * configure: Regenerate.
31015 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31017 * elf/elf.h A (NT_PPC_TAR): New macro.
31018 (NT_PPC_PPR): Likewise.
31019 (NT_PPC_DSCR): Likewise.
31020 (NT_PPC_EBB): Likewise.
31021 (NT_PPC_PMU): Likewise.
31022 (NT_PPC_TM_CGPR): Likewise.
31023 (NT_PPC_TM_CFPR): Likewise.
31024 (NT_PPC_TM_CVMX): Likewise.
31025 (NT_PPC_TM_CVSX): Likewise.
31026 (NT_PPC_TM_SPR): Likewise.
31027 (NT_PPC_TM_CTAR): Likewise.
31028 (NT_PPC_TM_CPPR): Likewise.
31029 (NT_PPC_TM_CDSCR): Likewise.
31031 2017-08-15 Florian Weimer <fweimer@redhat.com>
31033 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31034 regparm (2) instead of internal_function.
31035 (_MCOUNT_DECL): Adjust.
31037 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31039 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31040 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31042 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31044 * conform/data/sys/wait.h-data (si_value): Do not expect for
31047 2017-08-14 Florian Weimer <fweimer@redhat.com>
31050 NSS: Create stubs for accidentally exported lookup functions.
31051 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31052 Remove declaration.
31053 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31054 (ether_hostton): Call __nss_ethers_lookup2 instead.
31055 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31056 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31057 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31058 (setup): Call __nss_netgroup_lookup2 instead.
31059 * nss/Makefile (routines): Add compat-lookup.
31060 * nss/Versions (GLIBC_2.27): Add symbol version.
31061 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31062 (DB_COMPAT_FCT): Remove.
31063 * nss/compat-lookup.c: New file.
31064 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31065 from databases.def.
31066 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31067 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31068 (netname2user): Call __nss_publickey_lookup2 instead.
31069 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31070 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31073 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31074 Sergei Trofimovich <slyfox@inbox.ru>
31077 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31078 Rename to MMAP2_PAGE_UNIT.
31079 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31080 __OFF_T_MATCHES_OFF64_T is not defined.
31081 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31083 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31084 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31086 2017-08-14 Florian Weimer <fweimer@redhat.com>
31088 i386: Do not set internal_function.
31089 * config.h.in (USE_REGPARMS, internal_function): Remove.
31090 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31091 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31093 2017-08-14 Florian Weimer <fweimer@redhat.com>
31095 * elf/dl-init.c (_dl_init): Remove internal_function.
31096 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31097 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31099 2017-08-14 Florian Weimer <fweimer@redhat.com>
31101 * elf/rtld.c (_dl_start): Remove internal_function.
31102 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31105 2017-08-14 Florian Weimer <fweimer@redhat.com>
31107 * elf/dl-fini.c (_dl_fini): Remove internal_function
31108 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31110 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31112 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31113 (bit_cpu_SHSTK): Likewise.
31114 (index_cpu_IBT): Likewise.
31115 (index_cpu_SHSTK): Likewise.
31116 (reg_IBT): Likewise.
31117 (reg_SHSTK): Likewise.
31118 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31119 Handle index_cpu_IBT and index_cpu_SHSTK.
31121 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31124 * po/fr.po: Fix spelling mistake.
31126 2017-08-13 Florian Weimer <fweimer@redhat.com>
31128 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31129 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31130 (_dl_catch_error, _dl_receive_error): Likewise.
31131 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31132 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31133 (_dl_deallocate_tls): Likewise.
31134 * include/dlfcn.h (_dl_addr): Likewise.
31135 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31136 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31137 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31140 2017-08-13 Florian Weimer <fweimer@redhat.com>
31142 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31143 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31145 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31147 2017-08-13 Florian Weimer <fweimer@redhat.com>
31149 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31151 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31152 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31153 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31154 internal_function from _dl_make_stack_executable_hook member.
31155 (_dl_make_stack_executable): Remove internal_function.
31156 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31158 * sysdeps/unix/sysv/linux/dl-execstack.c
31159 (_dl_make_stack_executable): Likewise.
31161 2017-08-13 Florian Weimer <fweimer@redhat.com>
31163 * sysdeps/unix/sysv/linux/netlinkaccess.h
31164 (__netlink_assert_response): Remove internal_function.
31165 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31166 (__netlink_assert_response): Likewise.
31168 2017-08-13 Florian Weimer <fweimer@redhat.com>
31170 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31172 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31174 2017-08-13 Florian Weimer <fweimer@redhat.com>
31176 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31178 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31179 * inet/netgroup.h (__internal_setnetgrent)
31180 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31181 * inet/getnetgrent_r.c (__internal_setnetgrent)
31182 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31183 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31184 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31185 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31186 * nss/nsswitch.h (db_lookup_function): Likewise.
31188 2017-08-13 Florian Weimer <fweimer@redhat.com>
31190 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31191 Remove internal_function.
31192 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31193 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31194 message argument on the stack.
31195 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31198 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31200 Adapt test case data to the changes in the thousands
31204 * localedata/tst-langinfo.sh: Adapt test case data.
31205 * stdlib/tst-strfmon_l.c: Likewise.
31206 * stdlib/tst-strtod4.c: Likewise.
31207 * stdlib/tst-strtod5i.c: Likewise.
31209 2017-08-11 Florian Weimer <fweimer@redhat.com>
31212 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31213 Suppress pedantic warning resulting from statement expression.
31214 (__ASSERT_FUNCTION): Add missing __extension__.
31216 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31218 * benchtests/bench-memmove-large.c: Print output in JSON
31220 * benchtests/bench-memmove.c: Likewise.
31222 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31223 * benchtests/bench-memchr.c (do_one_test): Likewise.
31224 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31225 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31226 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31227 * benchtests/bench-memmove.c (do_one_test): Likewise.
31228 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31229 * benchtests/bench-memset.c (do_one_test): Likewise.
31230 * benchtests/bench-string.h (test_init): Remove memsets.
31232 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31235 (Computing the Width of an Integer Data Type): Rename section to
31236 "Width of an Integer Type". Remove inaccurate statement regarding
31237 lack of C language facilities for determining width of integer
31238 types, and reorder content to improve flow and context of
31241 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31243 * lang.texi (va_copy): Change standard from ISO to C99.
31244 (__va_copy): Add standard and header annotation.
31245 Update description for clarity of origins and current use.
31247 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31250 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31251 xssqrtqp requires operands to be in Vector Registers
31252 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31253 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31254 (__ieee754_sqrtf128): Likewise.
31256 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31258 * sysdeps/aarch64/memcmp.S (memcmp):
31259 Rewrite of optimized memcmp.
31261 2017-08-10 Florian Weimer <fweimer@redhat.com>
31263 Introduce ld.so exceptions.
31264 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31265 (_dl_exception_create, _dl_exception_create_format)
31266 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31267 (_dl_catch_exception): Declare.
31268 (_dl_catch_error): Update comment.
31269 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31270 errstring, malloced members with exception member.
31271 (_dl_out_of_memory): Remove.
31272 (fatal_error): New function, extracted from _dl_signal_error.
31273 (_dl_signal_exception, _dl_signal_cexception): New functions.
31274 (_dl_signal_error): Call _dl_exception_create to allocate an
31276 (_dl_catch_exception): New function, based on _dl_catch_error.
31277 (_dl_catch_error): Implement using _dl_catch_exception.
31278 * elf/dl-exception.c: New file.
31279 * elf/Makefile (dl-routines): Add dl-exception.
31280 (elide-routines.os): Likewise.
31281 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31282 _dl_exception_create_format, _dl_exception_free.
31283 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31284 _dl_signal_exception.
31285 * elf/dl-lookup.c (make_string): Remove.
31286 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31287 _dl_signal_cexception, _dl_exception_free.
31288 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31289 _dl_signal_exception.
31290 * elf/dl-sym.c (do_sym): Likewise.
31291 * elf/dl-version.c (make_string): Remove.
31292 (match_symbol): Use _dl_exception_create_format,
31293 _dl_signal_cexception, _dl_exception_free.
31294 (_dl_check_map_versions): Likewise.
31295 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31296 _dl_catch_exception.
31297 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31298 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31299 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31300 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31301 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31302 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31303 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31304 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31306 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31313 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31314 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31317 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31319 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31321 2017-08-10 Florian Weimer <fweimer@redhat.com>
31323 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31324 attribute_hidden, internal_function.
31325 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31328 2017-08-10 Florian Weimer <fweimer@redhat.com>
31330 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31331 function which calls __builtin_unreachable.
31333 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31335 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31336 Indian monetary formatting
31337 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31340 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31342 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31343 Fix typo in comment.
31346 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31347 PTRACE_SEIZE_DEVEL): Remove.
31348 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31349 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31354 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31356 * posix/bits/types.h (__qaddr_t): Remove.
31359 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31360 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31362 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31363 (ucontext_t): Use __ctx with uc_flags.
31364 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31365 (__ctxt): Likewise.
31366 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31368 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31369 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31371 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31372 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31374 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31376 (ucontext_t): Use __ctx with uc_flags.
31377 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31378 (ucontext_t): Use __ctx with uc_flags.
31379 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31380 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31381 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31382 (ucontext_t): Use __ctx with uc_flags.
31383 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31384 undefine further down.
31385 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31387 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31388 undefine further down.
31389 (ucontext_t): Use __ctx with uc_flags.
31390 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31391 undefine further down.
31392 (ucontext_t): Use __ctx with uc_flags.
31393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31394 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31395 Rename uc_pad to __glibc_reserved1.
31396 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31397 undefine further down.
31398 (ucontext_t): Use __ctx with uc_flags.
31399 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31401 (ucontext_t): Use __ctx with uc_flags.
31402 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31403 __ctx with uc_flags.
31404 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31405 (ucontext_t): Use __ctx with uc_flags.
31406 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31407 __ctx with uc_flags.
31409 2017-08-09 Florian Weimer <fweimer@redhat.com>
31412 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31413 before early return.
31415 2017-08-09 Andreas Schwab <schwab@suse.de>
31418 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31422 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31423 tst-compat-forwarder.
31424 (modules-names): Add tst-compat-forwarder-mod.
31425 ($(objpfx)tst-compat-forwarder): Depend on
31426 $(objpfx)tst-compat-forwarder-mod.so.
31427 * nptl/tst-compat-forwarder.c: New file.
31428 * nptl/tst-compat-forwarder-mod.c: New file.
31430 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31432 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31435 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31436 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31438 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31440 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31441 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31442 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31443 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31445 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31448 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31451 * manual/setjmp.texi (getcontex): Document uc_stack value
31452 compatibility differences.
31454 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31456 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31457 (old_malloc_hook): Likewise.
31458 (old_memalign_hook): Likewise.
31459 (old_realloc_hook): Likewise.
31460 (struct hdr): Likewise.
31462 (freehook): Likewise.
31463 (mallochook): Likewise.
31464 (memalignhook): Likewise.
31465 (reallochook): Likewise.
31466 (mprobe): Likewise.
31467 * malloc/mtrace.c (mallwatch): Likewise.
31468 (tr_old_free_hook): Likewise.
31469 (tr_old_malloc_hook): Likewise.
31470 (tr_old_realloc_hook): Likewise.
31471 (tr_old_memalign_hook): Likewise.
31472 (tr_where): Likewise.
31473 (lock_and_info): Likewise.
31474 (tr_freehook): Likewise.
31475 (tr_mallochook): Likewise.
31476 (tr_reallochook): Likewise.
31477 (tr_memalignhook): Likewise.
31478 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31479 * misc/mmap.c (__mmap): Likewise.
31480 * misc/mmap64.c (__mmap64): Likewise.
31481 * misc/mprotect.c (__mprotect): Likewise.
31482 * misc/msync.c (msync): Likewise.
31483 * misc/munmap.c (__munmap): Likewise.
31484 * posix/posix_madvise.c (posix_madvise): Likewise.
31485 * socket/send.c (__send): Likewise.
31486 * socket/sendto.c (__sendto): Likewise.
31487 * socket/setsockopt.c (__setsockopt): Likewise.
31488 * string/memcmp.c (__ptr_t): Remove macro.
31489 (MEMCMP): Use void * instead of ptr_t.
31490 * string/memrchr.c (__ptr_t): Remove macro.
31491 (__memrchr): Use void * instead of ptr_t.
31492 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31493 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31494 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31495 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31496 * sysdeps/mach/msync.c (msync): Likewise.
31497 * sysdeps/mach/munmap.c (__munmap): Likewise.
31498 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31500 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31501 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31502 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31503 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31504 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31505 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31506 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31507 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31509 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31510 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31511 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31512 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31513 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31514 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31515 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31516 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31517 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31519 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31520 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31521 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31522 (MEMCMP): Use void * instead of ptr_t.
31523 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31524 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31526 2017-08-08 Florian Weimer <fweimer@redhat.com>
31528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31531 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31534 * csu/libc-tls.c: Include <startup.h> first.
31535 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31536 * elf/dl-tunables.c: Include <startup.h> first.
31537 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31538 * sysdeps/generic/startup.h: New file.
31539 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31540 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31541 (I386_USE_SYSENTER): New. Defined to 0.
31543 2017-08-08 Andreas Schwab <schwab@suse.de>
31546 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31547 * nptl/pt-system.c (system): Likewise.
31549 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31552 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31554 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31555 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31556 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31557 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31558 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31559 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31560 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31562 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31565 * bits/sigaction.h (struct sigaction): Define sa_handler and
31566 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31568 [__USE_XOPEN_EXTENDED].
31569 (SA_RESTART): Likewise.
31570 (SA_NODEFER): Likewise.
31571 (SA_RESETHAND): Likewise.
31572 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31573 (struct sigaction): Define sa_handler and sa_sigaction using union
31574 also for [__USE_XOPEN_EXTENDED].
31575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31576 [__USE_XOPEN_EXTENDED].
31577 (SA_RESTART): Likewise.
31578 (SA_NODEFER): Likewise.
31579 (SA_RESETHAND): Likewise.
31580 * sysdeps/unix/sysv/linux/bits/sigaction.h
31581 (struct sigaction): Define sa_handler and sa_sigaction using union
31582 also for [__USE_XOPEN_EXTENDED].
31583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31584 [__USE_XOPEN_EXTENDED].
31585 (SA_RESTART): Likewise.
31586 (SA_NODEFER): Likewise.
31587 (SA_RESETHAND): Likewise.
31588 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31589 (struct sigaction): Define sa_handler and sa_sigaction using union
31590 also for [__USE_XOPEN_EXTENDED].
31591 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31592 [__USE_XOPEN_EXTENDED].
31593 (SA_RESTART): Likewise.
31594 (SA_NODEFER): Likewise.
31595 (SA_RESETHAND): Likewise.
31596 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31597 (struct sigaction): Define sa_handler and sa_sigaction using union
31598 also for [__USE_XOPEN_EXTENDED].
31599 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31600 [__USE_XOPEN_EXTENDED].
31601 (SA_RESTART): Likewise.
31602 (SA_NODEFER): Likewise.
31603 (SA_RESETHAND): Likewise.
31604 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31605 (struct sigaction): Define sa_handler and sa_sigaction using union
31606 also for [__USE_XOPEN_EXTENDED].
31607 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31608 [__USE_XOPEN_EXTENDED].
31609 (SA_RESTART): Likewise.
31610 (SA_NODEFER): Likewise.
31611 (SA_RESETHAND): Likewise.
31612 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31613 (struct sigaction): Define sa_handler and sa_sigaction using union
31614 also for [__USE_XOPEN_EXTENDED].
31615 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31616 [__USE_XOPEN_EXTENDED].
31617 (SA_RESTART): Likewise.
31618 (SA_NODEFER): Likewise.
31619 (SA_RESETHAND): Likewise.
31620 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31621 (struct sigaction): Define sa_handler and sa_sigaction using union
31622 also for [__USE_XOPEN_EXTENDED].
31623 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31624 [__USE_XOPEN_EXTENDED].
31625 (SA_RESTART): Likewise.
31626 (SA_NODEFER): Likewise. Define directly rather than as alias.
31627 (SA_RESETHAND): Likewise.
31628 (SA_INTERRUPT): Define only for [__USE_MISC].
31629 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31630 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31632 (SA_STACK): Define only for [__USE_MISC].
31633 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31634 (struct sigaction): Define sa_handler and sa_sigaction using union
31635 also for [__USE_XOPEN_EXTENDED].
31636 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31637 [__USE_XOPEN_EXTENDED].
31638 (SA_RESTART): Likewise.
31639 (SA_NODEFER): Likewise.
31640 (SA_RESETHAND): Likewise.
31641 (SA_NOPTRACE): Define only for [__USE_MISC].
31643 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31644 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31645 (struct catalog_info): Likewise.
31646 * inet/htontest.c (lo): Likewise.
31648 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31649 * inet/inet_net.c (inet_network): Likewise.
31650 * inet/inet_netof.c (inet_netof): Likewise.
31651 * inet/rcmd.c (__ivaliduser): Likewise.
31652 (iruserok): Likewise.
31653 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31654 * locale/programs/locale-spec.c (locale_special): Likewise.
31655 * nis/nis_findserv.c (struct findserv_req): Likewise.
31656 (__nis_findfastest_with_timeout): Likewise.
31657 * nss/test-netdb.c (test_network): Likewise.
31658 * resolv/inet_neta.c (inet_neta): Likewise.
31659 * resolv/ns_date.c (ns_datetosecs): Likewise.
31660 (SECS_PER_DAY): Likewise.
31661 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31663 * resolv/res_comp.c (__putlong): Likewise.
31664 (__putshort): Likewise.
31665 (_getlong): Likewise.
31666 (_getshort): Likewise.
31667 * resolv/res_debug.c (p_time): Likewise.
31668 (precsize_ntoa): Likewise.
31669 (precsize_aton): Likewise.
31670 (latlon2ul): Likewise.
31671 (loc_aton): Likewise.
31672 (loc_ntoa): Likewise.
31673 * resolv/res_hconf.c (struct netaddr): Likewise.
31674 (_res_hconf_reorder_addrs): Likewise.
31675 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31676 (clnttcp_control): Likewise.
31677 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31678 (clntudp_control): Likewise.
31679 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31680 (clntunix_control): Likewise.
31681 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31682 * sunrpc/rpc/auth.h (union des_block): Likewise.
31683 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31684 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31685 (xdrrec_create): Likewise.
31686 (xdrrec_endofrecord): Likewise.
31687 (flush_out): Likewise.
31688 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31689 (xdrstdio_putlong): Likewise.
31690 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31693 * misc/sys/cdefs.h (__long_double_t): Remove.
31694 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31695 instead of __long_double_t,
31696 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31698 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31700 * benchtests/scripts/compare_strings.py: Avoid display error when
31701 running on a text terminal.
31703 * benchtests/scripts/compare_strings.py (main): Add an
31704 optional -base option.
31705 (process_results): New argument base_func.
31707 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31709 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31710 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31712 2017-08-07 Andreas Schwab <schwab@suse.de>
31714 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31715 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31716 * intl/Makefile ($(objpfx)tst-gettext.out)
31717 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31718 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31719 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31721 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31722 * posix/Makefile ($(objpfx)globtest.out)
31723 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31724 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31725 ($(objpfx)tst-printf.out): Likewise.
31726 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31727 ($(objpfx)tst-setcontext3.out): Likewise.
31729 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31732 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31733 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31734 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31735 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31737 (CFLAGS-doasin-fma.c): New.
31738 (CFLAGS-dosincos-fma.c): Likewise.
31739 (CFLAGS-e_asin-fma.c): Likewise.
31740 (CFLAGS-e_atan2-fma.c): Likewise.
31741 (CFLAGS-e_exp-fma.c): Likewise.
31742 (CFLAGS-e_log-fma.c): Likewise.
31743 (CFLAGS-e_pow-fma.c): Likewise.
31744 (CFLAGS-halfulp-fma.c): Likewise.
31745 (CFLAGS-mpa-fma.c): Likewise.
31746 (CFLAGS-mpatan-fma.c): Likewise.
31747 (CFLAGS-mpatan2-fma.c): Likewise.
31748 (CFLAGS-mpexp-fma.c): Likewise.
31749 (CFLAGS-mplog-fma.c): Likewise.
31750 (CFLAGS-mpsqrt-fma.c): Likewise.
31751 (CFLAGS-mptan-fma.c): Likewise.
31752 (CFLAGS-s_atan-fma.c): Likewise.
31753 (CFLAGS-sincos32-fma.c): Likewise.
31754 (CFLAGS-slowexp-fma.c): Likewise.
31755 (CFLAGS-slowpow-fma.c): Likewise.
31756 (CFLAGS-s_sin-fma.c): Likewise.
31757 (CFLAGS-s_tan-fma.c): Likewise.
31758 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31759 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31760 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31761 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31762 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31763 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31764 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31766 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31767 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31768 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31769 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31770 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31771 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31772 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31774 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31775 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31776 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31778 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31779 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31780 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31784 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31785 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31786 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31787 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31788 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31790 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31792 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31793 (min_of_type_f): New macro.
31794 (min_of_type_): Likewise.
31795 (min_of_type_l): Likewise.
31796 (min_of_type_f128): Likewise.
31797 (min_of_type): Define using __MATH_TG and taking an expression
31799 (math_check_force_underflow): Pass expression instead of type to
31801 (math_check_force_underflow_nonneg): Likewise.
31803 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31805 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31806 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31807 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31809 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31812 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31813 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31814 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31815 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31816 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31817 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31818 memmove_chk-nonshared and memset_chk-nonshared
31819 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31820 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31821 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31822 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31823 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31824 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31825 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31826 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31827 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31828 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31829 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31830 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31831 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31832 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31833 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31834 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31835 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31836 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31838 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31839 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31840 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31841 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31842 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31843 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31844 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31845 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31846 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31847 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31848 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31849 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31850 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31851 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31852 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31853 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31854 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31855 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31856 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31857 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31858 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31859 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31860 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31861 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31862 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31863 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31864 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31865 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31866 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31867 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31868 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31869 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31870 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31871 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31872 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31873 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31874 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31875 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31876 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31877 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31878 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31879 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31880 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31881 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31882 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31883 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31884 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31885 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31886 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31887 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31888 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31889 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31890 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31891 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31892 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31893 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31894 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31895 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31896 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31897 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31898 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31899 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31900 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31901 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31902 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31903 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31904 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31906 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31907 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31913 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31914 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31915 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31916 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31917 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31918 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31919 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31920 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31928 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31931 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31932 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31933 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31934 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31935 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31936 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31937 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31938 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31939 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31940 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31941 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31942 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31943 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31944 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31945 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31946 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31947 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31948 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31949 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31950 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31951 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31952 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31953 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31954 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31955 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31956 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31958 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31959 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31960 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31961 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31964 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31965 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31967 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31969 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31970 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31971 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31972 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31974 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31975 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31976 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31977 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31978 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31979 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31980 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31981 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31985 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31986 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31987 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31988 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31991 Don't include <sysdep.h> nor <init-arch.h>.
31992 (_ZGVbN2v_cos): Removed.
31993 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31995 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31996 Don't include <sysdep.h> nor <init-arch.h>.
31997 (_ZGVdN4v_cos): Removed.
31998 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32000 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32001 Don't include <sysdep.h> nor <init-arch.h>.
32002 (_ZGVeN8v_cos): Removed.
32003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32006 Don't include <sysdep.h> nor <init-arch.h>.
32007 (_ZGVbN2v_exp): Removed.
32008 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32010 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32011 Don't include <sysdep.h> nor <init-arch.h>.
32012 (_ZGVdN4v_exp): Removed.
32013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32015 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32016 Don't include <sysdep.h> nor <init-arch.h>.
32017 (_ZGVeN8v_exp): Removed.
32018 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32020 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32021 Don't include <sysdep.h> nor <init-arch.h>.
32022 (_ZGVbN2v_log): Removed.
32023 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32025 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32026 Don't include <sysdep.h> nor <init-arch.h>.
32027 (_ZGVdN4v_log): Removed.
32028 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32030 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32031 Don't include <sysdep.h> nor <init-arch.h>.
32032 (_ZGVeN8v_log): Removed.
32033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32036 Don't include <sysdep.h> nor <init-arch.h>.
32037 (_ZGVbN2vv_pow): Removed.
32038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32041 Don't include <sysdep.h> nor <init-arch.h>.
32042 (_ZGVdN4vv_pow): Removed.
32043 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32046 Don't include <sysdep.h> nor <init-arch.h>.
32047 (_ZGVeN8vv_pow): Removed.
32048 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32051 Don't include <sysdep.h> nor <init-arch.h>.
32052 (_ZGVbN2v_sin): Removed.
32053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32056 Don't include <sysdep.h> nor <init-arch.h>.
32057 (_ZGVbN4v_sin): Removed.
32058 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32060 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32061 Don't include <sysdep.h> nor <init-arch.h>.
32062 (_ZGVbN8v_sin): Removed.
32063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32066 Don't include <sysdep.h> nor <init-arch.h>.
32067 (_ZGVbN2vvv_sincos): Removed.
32068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32071 Don't include <sysdep.h> nor <init-arch.h>.
32072 (_ZGVdN4vvv_sincos): Removed.
32073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32076 Don't include <sysdep.h> nor <init-arch.h>.
32077 (_ZGVeN8vvv_sincos): Removed.
32078 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32081 Don't include <sysdep.h> nor <init-arch.h>.
32082 (_ZGVeN16v_cosf): Removed.
32083 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32085 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32086 Don't include <sysdep.h> nor <init-arch.h>.
32087 (_ZGVbN4v_cosf): Removed.
32088 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32090 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32091 Don't include <sysdep.h> nor <init-arch.h>.
32092 (_ZGVdN8v_cosf): Removed.
32093 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32096 Don't include <sysdep.h> nor <init-arch.h>.
32097 (_ZGVeN16v_expf): Removed.
32098 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32100 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32101 Don't include <sysdep.h> nor <init-arch.h>.
32102 (_ZGVbN4v_expf): Removed.
32103 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32105 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32106 Don't include <sysdep.h> nor <init-arch.h>.
32107 (_ZGVdN8v_expf): Removed.
32108 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32111 Don't include <sysdep.h> nor <init-arch.h>.
32112 (_ZGVeN16v_logf): Removed.
32113 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32115 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32116 Don't include <sysdep.h> nor <init-arch.h>.
32117 (_ZGVbN4v_logf): Removed.
32118 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32120 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32121 Don't include <sysdep.h> nor <init-arch.h>.
32122 (_ZGVdN8v_logf): Removed.
32123 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32125 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32126 Don't include <sysdep.h> nor <init-arch.h>.
32127 (_ZGVeN16vv_powf): Removed.
32128 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32130 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32131 Don't include <sysdep.h> nor <init-arch.h>.
32132 (_ZGVbN4vv_powf): Removed.
32133 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32135 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32136 Don't include <sysdep.h> nor <init-arch.h>.
32137 (_ZGVdN8vv_powf): Removed.
32138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32141 Don't include <sysdep.h> nor <init-arch.h>.
32142 (_ZGVeN16vvv_sincosf): Removed.
32143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32146 Don't include <sysdep.h> nor <init-arch.h>.
32147 (_ZGVbN4vvv_sincosf): Removed.
32148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32151 Don't include <sysdep.h> nor <init-arch.h>.
32152 (_ZGVdN8vvv_sincosf): Removed.
32153 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32155 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32156 Don't include <sysdep.h> nor <init-arch.h>.
32157 (_ZGVeN16v_sinf): Removed.
32158 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32160 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32161 Don't include <sysdep.h> nor <init-arch.h>.
32162 (_ZGVbN4v_sinf): Removed.
32163 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32165 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32166 Don't include <sysdep.h> nor <init-arch.h>.
32167 (_ZGVdN8v_sinf): Removed.
32169 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32172 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32173 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32174 s_rint-sse4_1 and s_rintf-sse4_1.
32175 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32176 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32177 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32178 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32179 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32181 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32182 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32183 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32184 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32185 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32188 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32189 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32191 (__ceilf): Removed.
32192 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32193 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32195 (__floor): Removed.
32196 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32197 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32198 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32199 (__floorf): Removed.
32200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32203 (__nearbyint): Removed.
32204 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32207 (__nearbyintf): Removed.
32208 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32209 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32210 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32212 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32213 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32214 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32215 (__rintf): Removed.
32217 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32219 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32220 SHARED. Avoid dynamic relocation against main in static PIE.
32222 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32225 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32226 (LDFLAGS-tst-prelink): Likewise.
32228 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32231 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32232 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32233 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32234 (INTERNAL_SYSCALL_NCS): Likewise.
32235 (LOADARGS_1): Likewise.
32236 (LOADARGS_5): Likewise.
32237 (RESTOREARGS_1): Likewise.
32238 (RESTOREARGS_5): Likewise.
32240 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32242 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32243 (MEMPCPY_SYMBOL): Likewise.
32244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32245 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32249 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32251 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32252 (__hidden_ver1): Don't use in libc.a.
32253 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32254 (__mempcpy): Don't create a weak alias in libc.a.
32255 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32257 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32258 (__hidden_ver1): Don't use in libc.a.
32260 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32262 * config.make.in (have-insert): New.
32263 * configure.ac (libc_cv_insert): New. Set to yes if linker
32264 supports INSERT in linker script.
32265 (AC_SUBST(libc_cv_insert): New.
32266 * configure: Regenerated.
32267 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32268 if $(have-insert) == yes.
32270 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32272 * elf/Makefile (tests): Add vismain only if
32273 $(have-protected-data) == yes.
32274 (tests-pie): Likewise.
32276 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32279 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32280 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32282 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32285 * sysdeps/i386/i586/memset.S
32286 (__memset_zero_constant_len_parameter): Removed.
32287 * sysdeps/i386/i686/memset.S
32288 (__memset_zero_constant_len_parameter): Likewise.
32289 * sysdeps/i386/i686/multiarch/memset_chk.S
32290 (__memset_zero_constant_len_parameter): Likewise.
32291 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32294 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32296 * stdlib/getentropy.c (getentropy): Change return type to int.
32298 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32300 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32302 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32304 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32306 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32307 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32309 (ieee_float_shape_type): Likewise.
32310 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32311 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32312 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32313 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32314 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32315 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32316 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32317 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32318 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32320 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32321 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32322 (__ieee754_yn): Likewise.
32323 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32324 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32325 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32327 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32328 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32329 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32330 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32331 (__erfc): Likewise.
32332 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32333 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32334 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32335 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32336 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32337 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32339 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32340 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32341 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32342 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32343 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32344 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32345 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32346 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32347 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32348 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32349 (__issignaling): Likewise.
32350 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32351 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32352 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32354 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32355 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32356 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32357 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32359 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32361 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32362 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32363 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32364 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32365 (__erfcf): Likewise.
32366 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32367 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32368 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32369 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32371 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32372 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32374 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32375 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32376 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32377 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32378 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32379 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32380 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32381 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32383 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32385 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32387 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32388 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32390 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32392 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32393 (__ieee754_ynl): Likewise.
32394 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32395 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32397 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32399 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32400 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32401 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32403 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32404 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32405 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32406 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32407 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32408 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32409 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32410 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32412 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32413 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32414 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32416 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32417 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32418 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32419 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32420 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32423 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32425 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32427 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32429 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32430 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32432 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32433 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32434 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32437 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32440 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32443 (__ieee754_remainderl): Likewise.
32444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32453 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32454 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32455 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32456 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32457 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32459 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32460 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32461 (__ieee754_y0l): Likewise.
32464 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32465 (__ieee754_y1l): Likewise.
32468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32469 (__ieee754_ynl): Likewise.
32470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32471 (__ieee754_lgammal_r): Likewise.
32472 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32474 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32475 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32476 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32477 (__erfcl): Likewise.
32478 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32481 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32482 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32483 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32484 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32485 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32486 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32487 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32489 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32490 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32491 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32492 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32493 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32495 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32496 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32498 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32499 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32500 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32501 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32502 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32504 2017-08-03 Florian Weimer <fweimer@redhat.com>
32507 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32508 on memory allocation failure.
32510 2017-08-03 Alan Modra <amodra@gmail.com>
32512 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32513 tst-tlsopt-powerpc.c with function name change and no test harness.
32514 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32515 Call tls_get_addr_opt_test.
32516 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32517 (modules-names): Add mod-tlsopt-powerpc.
32518 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32519 (tst-tlsopt-powerpc): Depend on .so.
32520 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32521 define. Expand use in TLS_GD and TLS_LD.
32523 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32525 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32527 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32529 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32532 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32533 comparing size with that of double.
32534 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32535 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32536 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32537 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32538 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32539 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32540 unsigned __int128 types.
32542 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32544 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32545 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32546 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32547 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32548 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32550 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32552 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32554 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32558 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32564 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32566 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32569 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32570 bit-field expressions passed to sizeof or typeof.
32571 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32572 (__TGMATH_F128): Likewise.
32573 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32574 (__TGMATH_CF128): Likewise.
32575 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32576 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32577 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32578 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32579 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32580 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32581 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32582 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32583 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32584 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32585 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32586 (__TGMATH_UNARY_IMAG): Likewise.
32587 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32588 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32589 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32591 (define_vars_for_type): Handle bit_field type specially.
32592 (Tests.__init__): Declare structure with bit-field element.
32594 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32598 (MEMCPY_CHK): Define only if SHARED is defined.
32599 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32604 See ChangeLog.18 for earlier changes.