1 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6 2019-03-01 Florian Weimer <fweimer@redhat.com>
9 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10 (__netlink_assert_response): Add additional missing newlines.
12 2019-02-28 Joseph Myers <joseph@codesourcery.com>
14 * sysdeps/powerpc/powerpc32/dl-machine.c
15 (__elf_machine_fixup_plt): Use space before '('.
16 (__process_machine_rela): Likewise.
17 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
19 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
21 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
23 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
26 (check_result): Likewise.
27 (check_excepts): Likewise.
30 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
31 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
33 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
36 (__makecontext): Likewise.
37 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
40 2019-02-28 Florian Weimer <fweimer@redhat.com>
43 elf: Add test with a local IFUNC resolver.
44 * elf/ifuncmain9.c: New file.
45 * elf/ifuncmain9pic.c: Likewise.
46 * elf/ifuncmain9picstatic.c: Likewise.
47 * elf/ifuncmain9pie.c: Likewise.
48 * elf/ifuncmain9static.c: Likewise.
49 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
50 ifuncmain9static, ifuncmain9picstatic.
51 * elf/Makefile [multi-arch && build-shared] (tests-internal):
52 Add ifuncmain9, ifuncmain9pic.
53 * elf/Makefile [multi-arch && build-shared && have-fpie]
54 (ifunc-pie-tests): Add ifuncmain9pie.
55 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
56 (CFLAGS-ifuncmain9picstatic.c): Likewise.
57 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
59 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
61 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
62 * configure: Regenerated.
63 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
65 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
67 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
68 symbol as __wcspcy instead of wcscpy.
70 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
72 * include/stdio.h (__renameat2): New hidden prototype.
73 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
74 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
75 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
76 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
78 2019-02-27 Joseph Myers <joseph@codesourcery.com>
80 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
83 * benchtests/bench-strcpy.c (do_test): Use space before '('.
84 * benchtests/bench-string.h (cmdline_process_function): Likewise.
85 * benchtests/bench-strlen.c (do_test): Likewise.
86 (test_main): Likewise.
87 * catgets/gencat.c (read_old): Likewise.
88 * elf/cache.c (load_aux_cache): Likewise.
89 * iconvdata/bug-iconv8.c (do_test): Likewise.
90 * math/test-tgmath-ret.c (do_test): Likewise.
91 * nis/nis_call.c (rec_dirsearch): Likewise.
92 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
93 * nptl/tst-audit-threads.c (do_test): Likewise.
94 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
95 * nss/nss_test1.c (init): Likewise.
96 * nss/test-netdb.c (test_hosts): Likewise.
97 * posix/execvpe.c (maybe_script_execute): Likewise.
98 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
99 * stdio-common/tst-printf.c (do_test): Likewise.
100 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
101 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
102 * stdlib/qsort.c (STACK_SIZE): Likewise.
103 * stdlib/test-canon.c (do_test): Likewise.
104 * stdlib/tst-swapcontext1.c (do_test): Likewise.
105 * string/memcmp.c (OPSIZ): Likewise.
106 * string/test-strcpy.c (do_test): Likewise.
107 (do_random_tests): Likewise.
108 * string/test-strlen.c (do_test): Likewise.
109 (test_main): Likewise.
110 * string/test-strrchr.c (do_test): Likewise.
111 (do_random_tests): Likewise.
112 * string/tester.c (test_memrchr): Likewise.
113 (test_memchr): Likewise.
114 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
115 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
116 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
117 (read_encoded_value_with_base): Likewise.
118 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
119 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
120 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
121 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
122 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
123 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
125 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
127 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
128 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
129 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
131 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
133 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
135 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
137 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
138 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
139 (FP_XSTATE_MAGIC2_SIZE): Likewise.
140 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
141 * time/test_time.c (main): Likewise.
143 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
145 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
147 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
150 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
153 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
155 * include/wchar.h (__wcscpy): New prototype.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
157 (__wcscpy): Route internal symbol to generic implementation.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
159 Add internal __wcscpy alias.
160 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
161 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
162 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
163 * wcsmbs/wcscpy.c (wcscpy): Add
164 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
165 use generic implementation.
166 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
168 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
171 * sysdeps/m68k/wcpcpy.c: Remove file.
172 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
174 2019-02-26 Joseph Myers <joseph@codesourcery.com>
176 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
177 than after operators.
178 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
179 * sysdeps/mach/hurd/getcwd.c
180 (__hurd_canonicalize_directory_name_internal): Likewise.
181 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
182 (pthread_mutex_consistent): Likewise.
183 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
185 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
186 (__pthread_mutex_transfer_np): Likewise.
187 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
188 (__pthread_mutex_unlock): Likewise.
189 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
190 (mtx_owned_p): Likewise.
191 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
192 (pthread_mutexattr_getrobust): Likewise.
193 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
194 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
196 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
197 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
198 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
199 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
200 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
204 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
206 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
207 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
208 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
209 (____longjmp_chk): Likewise.
210 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
213 (INTERNAL_SYSCALL): Likewise.
214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
215 (INTERNAL_SYSCALL): Likewise.
216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
217 (__get_clockfreq_via_cpuinfo): Likewise.
219 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
221 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
222 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
223 (WORD_COPY_BWD): Likewise.
224 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
227 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
228 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
230 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
232 2019-02-25 Joseph Myers <joseph@codesourcery.com>
234 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
235 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
236 rather than after operators.
237 * elf/cache.c (print_cache): Likewise.
238 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
239 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
240 * hurd/hurdinit.c (_hurd_setproc): Likewise.
241 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
242 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
243 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
244 (reauth_proc): Likewise.
245 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
246 (__file_name_split_at): Likewise.
247 (__directory_name_split_at): Likewise.
248 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
249 * hurd/port2fd.c (_hurd_port2fd): Likewise.
250 * iconv/gconv_dl.c (do_print): Likewise.
251 * inet/netinet/in.h (struct sockaddr_in): Likewise.
252 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
253 * locale/setlocale.c (new_composite_name): Likewise.
254 * malloc/memusagestat.c (main): Likewise.
255 * misc/fstab.c (fstab_convert): Likewise.
256 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
258 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
259 (getgrent_next_file): Likewise.
260 (internal_getgrnam_r): Likewise.
261 (internal_getgrgid_r): Likewise.
262 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
264 (internal_getgrent_r): Likewise.
265 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
266 (getpwent_next_nss): Likewise.
267 (getpwent_next_file): Likewise.
268 (internal_getpwnam_r): Likewise.
269 (internal_getpwuid_r): Likewise.
270 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
272 (getspent_next_nss): Likewise.
273 (internal_getspnam_r): Likewise.
274 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
275 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
276 * string/strchr.c (STRCHR): Likewise.
277 * string/strchrnul.c (STRCHRNUL): Likewise.
278 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
279 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
280 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
281 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
282 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
284 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
285 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
286 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
287 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
288 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
289 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
290 (open_file): Likewise.
291 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
292 (pthread_mutexattr_setprotocol): Likewise.
293 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
294 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
295 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
296 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
297 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
299 (elf_machine_rela): Likewise.
300 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
301 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
302 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
303 * sysdeps/posix/rename.c (rename): Likewise.
304 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
305 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
306 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
307 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
308 * sysdeps/unix/grantpt.c (grantpt): Likewise.
309 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
310 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
312 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
314 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
315 * time/tzfile.c (__tzfile_compute): Likewise.
317 2019-02-22 Joseph Myers <joseph@codesourcery.com>
319 * benchtests/bench-memmem.c (simple_memmem): Break lines before
320 rather than after operators.
321 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
322 * crypt/md5.c (md5_finish_ctx): Likewise.
323 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
324 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
325 * elf/cache.c (load_aux_cache): Likewise.
326 * elf/dl-load.c (open_verify): Likewise.
327 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
328 * elf/readelflib.c (process_elf_file): Likewise.
329 * elf/rtld.c (dl_main): Likewise.
330 * elf/sprof.c (generate_call_graph): Likewise.
331 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
332 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
333 * hurd/dtable.c (reauth_dtable): Likewise.
334 * hurd/getdport.c (__getdport): Likewise.
335 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
336 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
337 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
339 * hurd/hurdioctl.c (fioctl): Likewise.
340 * hurd/hurdselect.c (_hurd_select): Likewise.
341 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
342 (STOPSIGS): Likewise.
343 * hurd/hurdstartup.c (_hurd_startup): Likewise.
344 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
345 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
346 * hurd/msgportdemux.c (msgport_server): Likewise.
347 * hurd/setauth.c (_hurd_setauth): Likewise.
348 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
349 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
350 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
351 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
352 * login/tst-utmp.c (do_check): Likewise.
353 (simulate_login): Likewise.
354 * mach/lowlevellock.h (lll_lock): Likewise.
355 (lll_trylock): Likewise.
356 * math/test-fenv.c (ALL_EXC): Likewise.
357 * math/test-fenvinline.c (ALL_EXC): Likewise.
358 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
359 * nis/nis_call.c (__do_niscall3): Likewise.
360 * nis/nis_callback.c (cb_prog_1): Likewise.
361 * nis/nis_defaults.c (searchaccess): Likewise.
362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
363 * nis/nis_ismember.c (internal_ismember): Likewise.
364 * nis/nis_local_names.c (nis_local_principal): Likewise.
365 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
366 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
368 * nis/ypclnt.c (yp_match): Likewise.
369 (yp_first): Likewise.
371 (yp_master): Likewise.
372 (yp_order): Likewise.
373 * nscd/hstcache.c (cache_addhst): Likewise.
374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
375 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
376 (internal_getpwuid_r): Likewise.
377 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
378 * posix/glob.h (__GLOB_FLAGS): Likewise.
379 * posix/regcomp.c (peek_token): Likewise.
380 (peek_token_bracket): Likewise.
381 (parse_expression): Likewise.
382 * posix/regexec.c (sift_states_iter_mb): Likewise.
383 (check_node_accept_bytes): Likewise.
384 * posix/tst-spawn3.c (do_test): Likewise.
385 * posix/wordexp-test.c (testit): Likewise.
386 * posix/wordexp.c (parse_tilde): Likewise.
387 (exec_comm): Likewise.
388 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
389 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
390 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
391 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
392 * stdio-common/tst-fileno.c (do_test): Likewise.
393 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
394 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
395 * stdlib/strtod_l.c (round_and_return): Likewise.
396 (____STRTOF_INTERNAL): Likewise.
397 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
398 * string/strcspn.c (STRCSPN): Likewise.
399 * string/test-memmem.c (simple_memmem): Likewise.
400 * termios/tcsetattr.c (tcsetattr): Likewise.
401 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
402 * time/asctime.c (asctime_internal): Likewise.
403 * time/strptime_l.c (__strptime_internal): Likewise.
404 * time/sys/time.h (timercmp): Likewise.
405 * time/tzfile.c (__tzfile_compute): Likewise.
407 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
410 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
412 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
414 * argp/argp-help.c (__argp_error_internal): New function,
415 renamed from __argp_error, but that takes a 'mode_flags'
416 parameter to control the format of long double parameters.
417 (__argp_error): Converted into a call __argp_error_internal.
418 (__argp_failure_internal): New function, renamed from
419 __argp_failure, but that takes a 'mode_flags' parameter.
420 (__argp_failure): Converted into a call __argp_failure_internal.
421 * misc/err.c (__vwarnx_internal): New function, renamed from
422 vwarnx, but that takes a 'mode_flags' parameter.
423 (vwarnx): Converted into a call to __vwarnx_internal.
424 (__vwarn_internal): New function, renamed from vwarn, but that
425 takes a 'mode_flags' parameter.
426 (vwarn): Converted into a call to __vwarn_internal.
427 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
428 call to __vfxprintf with 'mode_flags'.
429 (__error_internal): New function, renamed from error, but that
430 takes a 'mode_flags' parameter.
431 (error): Converted into a call to __error_internal.
432 (__error_at_line_internal): New function, renamed from
433 error_at_line, but that takes a 'mode_flags' parameter.
434 (error_at_line): Converted into a call to
435 __error_at_line_internal.
436 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
437 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
440 2019-02-20 Martin Liska <mliska@suse.cz>
442 * math/Makefile: Install math-vector-fortran.h.
443 * bits/math-vector-fortran.h: New file.
444 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
446 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
448 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
449 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
451 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
453 * nptl/pthread_mutex_trylock.c: Fix comment.
455 2019-02-19 Carlos O'Donell <carlos@redhat.com>
457 * nptl/pthread_tryjoin.c: Fix comment.
459 2019-02-18 Joseph Myers <joseph@codesourcery.com>
462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
463 after R_SPARC_H34 case.
465 2019-02-18 Florian Weimer <fweimer@redhat.com>
467 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
468 (getanswer): Do not call Dprintf.
469 (res_gethostbyname2_context): Likewise.
470 (res_gethostbyaddr_context): Likewise.
472 2019-02-18 Florian Weimer <fweimer@redhat.com>
474 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
476 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
478 * libio/stdfiles.c: Update comment.
479 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
480 set _IO_stdin, _IO_stdout, _IO_stderr.
481 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
482 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
484 (_IO_deallocate_file): New inline function.
485 * libio/iolibio.h (_IO_vprintf): Remove definition.
486 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
487 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
488 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
490 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
491 __builtin_expect. Use _IO_legacy_file.
493 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
495 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
496 Initialize ctid with a known value and remove update of ctid
498 (wait_tid): Adjust arguments and call futex_wait with ctid_val
499 as assumed current value of ctid_ptr.
501 2019-02-15 Florian Weimer <fweimer@redhat.com>
503 Check that non-sysdeps headers have wrapper headers.
504 * scripts/check-wrapper-headers.py: New file.
505 * Makefile (tests-special): Add check-wrapper-headers.out.
506 (check-wrapper-headers.out): New target.
507 * Rules (tests-special): Add check-wrapper-headers.out.
508 (check-wrapper-headers.out): New target.
510 2019-02-15 Florian Weimer <fweimer@redhat.com>
512 Add missing header wrappers under include/.
513 * include/ar.h: New file.
514 * include/bits/mqueue2.h: Likewise.
515 * include/bits/stdio.h: Likewise.
516 * include/bits/stdio2.h: Likewise.
517 * include/fstab.h: Likewise.
518 * include/fts.h: Likewise.
519 * include/lastlog.h: Likewise.
520 * include/netinet/icmp6.h: Likewise.
521 * include/netinet/igmp.h: Likewise.
522 * include/netinet/ip6.h: Likewise.
523 * include/re_comp.h: Likewise.
524 * include/regexp.h: Likewise.
525 * include/rpcsvc/bootparam.h: Likewise.
526 * include/rpcsvc/yp_prot.h: Likewise.
527 * include/sys/random.h: Likewise.
528 * include/sys/stropts.h: Likewise.
529 * include/sys/ttychars.h: Likewise.
530 * include/sys/vfs.h: Likewise.
531 * include/wait.h: Likewise.
533 2019-02-15 Florian Weimer <fweimer@redhat.com>
535 * nptl_db/proc_service.h: Move to ...
536 * sysdeps/nptl/proc_service.h: ... here.
537 * nptl_db/thread_db.h: Move to ...
538 * sysdeps/nptl/thread_db.h: ... here.
539 * nptl/descr.h: Include <thread_db.h>.
541 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
543 * io/Makefile (tests): Add tst-lockf.
544 * io/lockf.c (lockf): Use __fcntl and only define for
545 !__OFF_T_MATCHES_OFF64_T.
546 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
547 __OFF_T_MATCHES_OFF64_T case.
548 * io/tst-lockf.c: New file.
549 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
550 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
551 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
552 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
553 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
556 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
559 2019-02-15 Florian Weimer <fweimer@redhat.com>
562 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
563 pd->result after the thread descriptor has been freed.
565 2019-02-15 Joseph Myers <joseph@codesourcery.com>
567 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
568 from function return type.
570 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
572 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
574 * scripts/test_printers_common.py: Set TERM to a known harmless
577 2019-02-14 Joseph Myers <joseph@codesourcery.com>
579 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
580 (xdr_u_int): Likewise.
581 (xdr_enum): Likewise.
582 (xdr_bytes): Reword fall-through comment.
583 (xdr_string): Likewise.
585 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
588 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
589 (tests): Add tst-join8 tst-join9.
590 * nptl/lll_timedwait_tid.c: Remove file.
591 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
592 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
593 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
594 * nptl/pthread_join_common.c (timedwait_tid): New function.
595 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
597 * nptl/tst-join5.c (thread_join): New function.
598 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
600 * nptl/tst-join8.c: New file.
601 * nptl/tst-join9.c: Likewise.
602 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
603 lll_futex_timed_wait_cancel): Add generic macros.
604 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
606 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
609 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
611 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
614 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
615 (lll_futex_timed_wait_cancel): New macro.
617 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
619 * benchtests/Makefile: Add malloc-simple benchmark.
620 * benchtests/bench-malloc-simple.c: New benchmark.
622 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
624 * benchtests/bench-memmove.c (do_one_test): Remove unused
627 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
631 2019-01-13 Jim Wilson <jimw@sifive.com>
634 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
635 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
637 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
639 * nptl/Makefile (tests): Add tst-unwind-thread.
640 (CFLAGS-tst-unwind-thread.c): Define.
641 * nptl/tst-unwind-thread.c: New file.
642 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
645 2019-02-13 Joseph Myers <joseph@codesourcery.com>
647 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
649 * nis/nis_call.c (__do_niscall3): Likewise.
651 * catgets/gencat.c (normalize_line): Use braces around empty
653 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
654 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
655 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
656 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
657 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
658 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
659 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
662 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
665 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
667 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
668 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
669 * benchtests/bench-strchr.c (stupid_strchr): Remove.
670 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
671 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
672 * benchtests/bench-strlen.c (builtin_strlen): Remove.
673 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
674 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
675 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
676 * benchtests/bench-strspn.c (stupid_strspn): Remove.
677 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
678 * benchtests/bench-bcopy.c: Delete file.
679 * benchtests/bench-bzero.c: Likewise.
680 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
681 (simple_memccpy): Remove.
682 (generic_memccpy): Add function.
683 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
684 * benchtests/bench-memmove.c (simple_bcopy): Remove.
685 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
686 (generic_mempcpy): Add new function.
687 * benchtests/bench-memset.c (simple_bzero): Remove.
688 (builtin_bzero): Remove.
689 (builtin_memset): Remove.
690 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
691 (generic_rawmemchr): Add new function.
693 2019-02-12 Florian Weimer <fweimer@redhat.com>
695 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
697 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
700 * elf/Makefile (tests): Add tst-audit13.
701 (modules-names): Add tst-audit13mod1.
702 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
704 * elf/tst-audit13.c: New file.
705 * elf/tst-audit13mod1.c: Likewise.
707 2019-02-12 Florian Weimer <fweimer@redhat.com>
710 * elf/rtld.c (unload_audit_module): New function.
711 (report_audit_module_load_error): Likewise.
712 (load_audit_module): Likewise. Extracted from dl_main. Call
713 _dl_close if the laversion symbol cannot be found. Use early
714 returns for error handling. Add malloc error check. Check for a
715 zero return value from la_version. Remove spurious comment about
716 static TLS initialization. Remove useless casts.
717 (notify_audit_modules_of_loaded_object): New function. Extracted
719 (load_audit_module): Likewise.
720 (dl_main): Call load_audit_modules.
722 2019-02-12 Joseph Myers <joseph@codesourcery.com>
724 * elf/dl-exception.c (_dl_exception_create_format): Add
725 fall-through comments.
726 * elf/ldconfig.c (parse_conf_include): Likewise.
727 * elf/rtld.c (print_statistics): Likewise.
728 * locale/programs/charmap.c (parse_charmap): Likewise.
729 * misc/mntent_r.c (__getmntent_r): Likewise.
730 * posix/wordexp.c (parse_arith): Likewise.
731 (parse_backtick): Likewise.
732 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
733 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
736 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
738 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
739 Use float instead of double.
741 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
743 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
745 2019-02-08 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/powerpc/bits/mathinline.h: Remove.
749 2019-02-08 Florian Weimer <fweimer@redhat.com>
751 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
752 * math/bits/math-finite.h: Move to ...
753 * bits/math-finite.h: ... here.
755 2019-02-08 Florian Weimer <fweimer@redhat.com>
757 * sysdeps/generic/bits/unistd_ext.h: Move to ...
758 * bits/unistd_ext.h: here.
760 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
763 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
764 * nss/tst-nss-files-hosts-long.c: New file.
765 * nss/tst-nss-files-hosts-long.root: New directory.
766 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
767 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
769 2019-02-08 Florian Weimer <fweimer@redhat.com>
771 * include/bits/unistd_ext.h: Remove file.
772 * posix/bits/unistd_ext.h: Move to ...
773 * sysdeps/generic/bits/unistd_ext.h: ... here.
775 2019-02-08 Florian Weimer <fweimer@redhat.com>
777 * include/bits/unistd_ext.h: New file.
779 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
781 * time/tst-strftime2.c: Use array_length macros instead of magic
784 2019-02-08 Florian Weimer <fweimer@redhat.com>
787 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
789 * nptl/register-atfork.c (__run_fork_handlers): Only perform
790 locking if the new do_locking argument is true.
791 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
794 2019-02-08 Florian Weimer <fweimer@redhat.com>
797 Linux: Add gettid system call wrapper.
798 * posix/Makefile (headers): Add bits/unistd_ext.h.
799 * posix/bits/unistd_ext.h: New file.
800 * posix/unistd.h: Include it.
801 * manual/process.texi (Process Identification): Document gettid.
802 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
803 tst-gettid, tst-gettid-kill.
804 (tst-gettid): Link with $(shared-thread-library).
805 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
806 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
807 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
808 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
809 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
810 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
812 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
814 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
815 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
817 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
819 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
821 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
823 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
825 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
827 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
829 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
830 (GLIBC_2.30): Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
832 (GLIBC_2.30): Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
834 (GLIBC_2.30): Likewise.
835 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
836 (GLIBC_2.30): Likewise.
837 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
840 (GLIBC_2.30): Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
842 (GLIBC_2.30): Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
844 (GLIBC_2.30): Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
846 (GLIBC_2.30): Likewise.
847 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
849 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
851 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
853 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
854 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
856 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
858 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
860 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
862 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
864 2019-02-07 Florian Weimer <fweimer@redhat.com>
866 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
867 compatibility symbols.
869 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
872 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
873 Add compiler barriers and comments.
875 2019-02-07 Florian Weimer <fweimer@redhat.com>
877 * include/array_length.h (array_length): Do not use a statement
878 expression and _Static_assert, so that array_length can be used at
879 file scope and as a constant expression.
881 2019-02-07 Florian Weimer <fweimer@redhat.com>
883 * support/xdlfcn.h (xdlmopen): Declare.
884 * support/xdlmopen.c: New file.
885 * support/Makefile (libsupport-routines): Add xdlmopen.
887 2019-02-06 Joseph Myers <joseph@codesourcery.com>
889 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
890 before return type, without separate inline.
891 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
892 * elf/dl-tunables.h (tunable_is_name): Likewise.
893 * malloc/malloc.c (do_set_trim_threshold): Likewise.
894 (do_set_top_pad): Likewise.
895 (do_set_mmap_threshold): Likewise.
896 (do_set_mmaps_max): Likewise.
897 (do_set_mallopt_check): Likewise.
898 (do_set_perturb_byte): Likewise.
899 (do_set_arena_test): Likewise.
900 (do_set_arena_max): Likewise.
901 (do_set_tcache_max): Likewise.
902 (do_set_tcache_count): Likewise.
903 (do_set_tcache_unsorted_limit): Likewise.
904 * nis/nis_subr.c (count_dots): Likewise.
905 * nptl/allocatestack.c (advise_stack_range): Likewise.
906 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
908 (reduce_sincos): Likewise.
909 (do_sincos): Likewise.
910 * sysdeps/unix/sysv/linux/x86/elision-conf.c
911 (do_set_elision_enable): Likewise.
912 (TUNABLE_CALLBACK_FNDECL): Likewise.
914 2019-02-06 Florian Weimer <fweimer@redhat.com>
916 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
917 (xdlsym): Use dlerror to detect a NULL symbol.
919 2019-02-06 Florian Weimer <fweimer@redhat.com>
921 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
923 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
925 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
927 * libio/tst-bz24153.c (wide): Use wide char format specifier.
929 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
931 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
932 __wmemcmp and weak alias to wmemcmp.
934 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
937 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
938 TLS_TCB_AT_TP tls variant.
939 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
940 Add alignment checks.
941 * support/Makefile (libsupport-routines): Add xposix_memalign and
943 * support/support.h: Add xposix_memalign.
944 * support/xthread.h: Add xpthread_attr_setstack.
945 * support/xposix_memalign.c: New File.
946 * support/xpthread_attr_setstack.c: Likewise.
948 2019-02-05 Florian Weimer <fweimer@redhat.com>
951 arm: Use "nr" constraint for Systemtap probes, to avoid the
952 compiler using memory operands for constants, due to the "o"
953 alternative in the default "nor" constraint.
954 * include/stap-probe.h [USE_STAP_PROBE]: Include
955 <stap-probe-machine.h>
956 * sysdeps/generic/stap-probe-machine.h: New file.
957 * sysdeps/arm/stap-probe-machine.h: Likewise.
959 2019-02-04 Joseph Myers <joseph@codesourcery.com>
961 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
962 with 0, not tcache->entries[tc_idx].
964 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
967 2019-02-04 Andreas Schwab <schwab@suse.de>
971 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
972 looking up collating elements match against (wide) character
973 sequence instead of name. Correct alignment adjustment.
974 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
975 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
976 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
977 (LOCALES): Add cs_CZ.ISO-8859-2.
978 * posix/tst-fnmatch4.c: New file.
979 * posix/tst-fnmatch5.c: New file.
980 * include/wchar.h (__wmemcmp): Declare.
981 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
982 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
983 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
984 * sysdeps/s390/wmemcmp.c: Likewise.
986 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
990 * NEWS: Updated for CVE-2019-7309.
991 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
992 upper 32 bits of RDX register for x32. Use unsigned Jcc
993 instructions, instead of signed.
994 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
995 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
997 2019-02-04 Florian Weimer <fweimer@redhat.com>
999 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1000 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1001 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1003 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1004 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1005 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1006 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1008 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1010 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1012 (posix_spawn_file_actions_addopen): Likewise.
1013 (posix_spawn_file_actions_addclose): Likewise.
1014 (posix_spawn_file_actions_adddup2): Likewise.
1015 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1017 (posix_spawn_file_actions_addfchdir_np): Likewise.
1019 2019-02-04 David Newall <glibc@davidnewall.com>
1021 elf: Implement --preload option for the dynamic linker.
1022 * elf/rtld.c (preloadarg): New variable.
1023 (handle_preload_list): Pass through “where” argument to
1025 (dl_main): Handle "--preload" and add second call to
1026 handle_preload_list.
1027 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1028 (tst-rtld-preload-OBJS): Set variable.
1029 (tst-rtld-preload.out): New target.
1030 * elf/tst-rtld-preload.sh: New file.
1032 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1034 * Makefile (testrun.sh): Exit in case of incorrect argument.
1036 2019-02-04 Florian Weimer <fweimer@redhat.com>
1038 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1041 2019-02-03 Florian Weimer <fweimer@redhat.com>
1043 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1044 implicit overflow checks.
1046 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1048 * stdlib/isomac.c: Include <unistd.h>.
1050 2019-02-03 Florian Weimer <fweimer@redhat.com>
1052 * include/time.h (__tzfile_default): Use int, not long int, for
1054 * time/tzfile.c (struct ttinfo): Change type of the offset member
1056 (__tzfile_read): Remove useless cast.
1057 (__tzfile_default): Adjust prototype.
1058 * time/tzset.c (tz_rule): Change type of the offset member to int.
1059 (parse_offset): Change the type of the sign variable to int.
1061 2019-02-03 Florian Weimer <fweimer@redhat.com>
1064 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1065 * libio/getchar.c (getchar): Likewise.
1066 * libio/getchar_u.c (getchar_unlocked): Likewise.
1067 * libio/getwchar.c (getwchar): Likewise.
1068 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1069 * libio/iogets.c (_IO_gets): Likewise.
1070 * libio/vscanf.c (_IO_vscanf): Likewise.
1071 * libio/vwscanf.c (__vwscanf): Likewise.
1072 * libio/tst-bz24153.c: New file.
1073 * libio/Makefile (tests): Add it.
1075 2019-02-02 Florian Weimer <fweimer@redhat.com>
1078 * manual/resource.texi (Basic Scheduling Functions): Add
1079 portability note. Change process to task throughout the section.
1080 Remove incorrect comment about sched_yield as it affects
1081 tasks/threads, not entire processes.
1082 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1083 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1085 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1087 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1088 * configure: Regenerated.
1089 * manual/install.texi (Tools for Compilation): Update minimum GCC
1091 * INSTALL: Regenerated.
1093 2019-02-01 Florian Weimer <fweimer@redhat.com>
1095 * support/support_test_compare_string.c
1096 (support_test_compare_string): Use "string" in error message.
1097 * support/tst-test_compare_string.c (do_test): Adjust.
1099 2019-02-01 Florian Weimer <fweimer@redhat.com>
1101 * support/support_format_address_family.c
1102 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1104 2019-02-01 Florian Weimer <fweimer@redhat.com>
1106 * manual/socket.texi (Internet Address Formats): Clarify the byte
1107 order of struct sockaddr_in, struct sockaddr_in6. Document
1108 sin6_flowinfo and sin6_scope_id.
1110 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1112 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1113 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1114 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1115 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1116 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1117 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1119 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1121 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1122 [!MEMCHR](MEMCHR): Set to __memchr.
1123 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1124 Add memchr_generic and memchr_nosimd.
1125 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1126 (__libc_ifunc_impl_list): Add memchr ifuncs.
1127 * sysdeps/aarch64/multiarch/memchr.c: New file.
1128 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1129 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1131 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1133 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1135 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1136 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1137 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1138 Add IS_EMAG check for ifunc dispatch.
1139 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1140 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1142 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1144 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1145 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1147 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1150 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1152 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1154 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1156 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1157 syscall-template file.
1159 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1160 Torvald Riegel <triegel@redhat.com>
1161 Rik Prohaska <prohaska7@gmail.com>
1164 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1165 tst-rwlock-trywrlock-stall.
1166 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1167 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1168 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1169 Set __wrphase_fute to 1 only if we started the write phase.
1170 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1171 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1172 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1173 * support/xpthread_rwlock_destroy.c: New file.
1174 * support/xthread.h: Declare xpthread_rwlock_destroy.
1176 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1178 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1181 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1184 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1185 * libio/fileops.c (_IO_new_file_underflow): Likewise
1186 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1187 * libio/putchar.c (putchar): Likewise.
1188 * libio/putchar_u.c (putchar_unlocked): Likewise.
1189 * libio/putwchar.c (putchar): Likewise.
1190 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1191 * libio/tst-bz24051.c: New test.
1192 * libio/Makefile (tests): Add tst-bz24051
1194 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1196 regex: fix read overrun [BZ #24114]
1197 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1198 https://debbugs.gnu.org/34140
1199 * posix/regexec.c (proceed_next_node):
1200 Do not read past end of input buffer.
1202 2019-01-31 Florian Weimer <fweimer@redhat.com>
1205 * nss/nss_files/files-alias.c (get_next_alias): Handle
1206 continuation line without newline at the end.
1207 * nss/tst-nss-files-alias-truncated.c: New file.
1208 * nss/Makefile [$(build-shared)] (tests): Add
1209 tst-nss-files-alias-truncated.
1210 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1211 * support/namespace.h (struct support_chroot_configuration): Add
1213 (struct support_chroot): Add path_aliases member.
1214 * support/support_chroot.c (support_chroot_create): Handle
1216 (support_chroot_free): Free path_aliases.
1218 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1220 * version.h (RELEASE): Set to "development".
1221 (VERSION): Set to "2.29.9000".
1222 * NEWS: Add section for 2.30.
1224 * version.h (RELEASE): Set to "stable".
1225 (VERSION): Set to "2.29".
1226 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1228 * NEWS: Add the list of bugs fixed in 2.29.
1229 * manual/contrib.texi: Update contributors list with some more
1231 * manual/install.texi: Update latest versions of packages
1233 * INSTALL: Regenerated.
1235 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1237 * po/be.po: Update translations.
1238 * po/bg.po: Likewise.
1239 * po/ca.po: Likewise.
1240 * po/cs.po: Likewise.
1241 * po/da.po: Likewise.
1242 * po/de.po: Likewise.
1243 * po/el.po: Likewise.
1244 * po/eo.po: Likewise.
1245 * po/es.po: Likewise.
1246 * po/fi.po: Likewise.
1247 * po/fr.po: Likewise.
1248 * po/gl.po: Likewise.
1249 * po/hr.po: Likewise.
1250 * po/hu.po: Likewise.
1251 * po/ia.po: Likewise.
1252 * po/id.po: Likewise.
1253 * po/it.po: Likewise.
1254 * po/ja.po: Likewise.
1255 * po/ko.po: Likewise.
1256 * po/lt.po: Likewise.
1257 * po/nb.po: Likewise.
1258 * po/nl.po: Likewise.
1259 * po/pl.po: Likewise.
1260 * po/pt_BR.po: Likewise.
1261 * po/ru.po: Likewise.
1262 * po/rw.po: Likewise.
1263 * po/sk.po: Likewise.
1264 * po/sl.po: Likewise.
1265 * po/sv.po: Likewise.
1266 * po/tr.po: Likewise.
1267 * po/uk.po: Likewise.
1268 * po/vi.po: Likewise.
1269 * po/zh_CN.po: Likewise.
1270 * po/zh_TW.po: Likewise.
1272 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1275 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1276 of $f3 register on $y_is_neg path.
1278 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1281 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1282 sigaltstack.ss_flags.
1284 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1287 * manual/time.texi (strftime): Document "%Ey".
1288 * time/strftime_l.c (__strftime_internal): Set the default width
1289 padding with zero of "%Ey" to 2.
1292 * manual/time.texi (strftime): Document "%EC" and "%EY".
1293 * time/Makefile (tests): Add tst-strftime2.
1294 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1295 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1296 override padding for "%Ey".
1297 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1298 "%Ey" in the subformat as if decorated with that flag.
1299 * time/tst-strftime2.c: New file.
1301 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1303 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1307 * elf/Makefile (tests): Add tst-audit13.
1308 (modules-names): Add tst-audit13mod1.
1309 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1311 * elf/rtld.c (dl_main): Handle invalid audit module version.
1312 * elf/tst-audit13.c: New file.
1313 * elf/tst-audit13mod1.c: Likewise.
1315 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1317 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1318 returned by __hurd_at_flags.
1319 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1320 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1321 directly instead of __hurd_file_name_lookup.
1323 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1325 * scripts/build-many-glibcs.py (Context.checkout): Default
1326 binutils version to 2.32 branch.
1328 2019-01-21 Florian Weimer <fweimer@redhat.com>
1332 resolv: Reject trailing characters in host names
1333 * include/arpa/inet.h (__inet_aton_exact): Declare.
1334 (inet_aton): Remove hidden prototype. No longer used internally.
1335 * nscd/gai.c (__inet_aton): Do not define.
1336 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1337 * nss/digits_dots.c (__inet_aton): Likewise.
1338 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1339 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1340 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1341 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1342 (tst-resolv-trailing): Likewise.
1343 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1345 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1346 Make static. Add endp parameter.
1347 (__inet_aton_exact): New function.
1348 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1349 (__inet_addr): Call inet_aton_end.
1350 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1351 not just IPv6. Call __inet_aton_exact.
1352 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1353 (tests): Make const. Add additional test cases with trailing
1355 (do_test): Use array_length.
1356 * resolv/tst-inet_aton_exact.c: New file.
1357 * resolv/tst-resolv-trailing.c: Likewise.
1358 * resolv/tst-resolv-nondecimal.c: Likewise.
1359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1361 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1365 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1366 Clear the upper 32 bits of RSI register.
1367 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1368 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1369 and tst-size_t-wcsnlen.
1370 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1371 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1373 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1377 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1380 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1381 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1383 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1387 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1389 * sysdeps/x86_64/strcmp.S: Likewise.
1390 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1391 tst-size_t-strncmp and tst-size_t-wcsncmp.
1392 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1393 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1394 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1396 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1400 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1401 RDX_LP for length. Clear the upper 32 bits of RDX register.
1402 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1403 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1404 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1405 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1407 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1411 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1412 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1413 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1414 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1416 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1421 length. Clear the upper 32 bits of RDX register.
1422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1423 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1425 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1427 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1429 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1431 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1435 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1436 length. Clear the upper 32 bits of RDX register.
1437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1438 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1439 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1441 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1442 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1444 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1448 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1449 upper 32 bits of RDX register.
1450 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1451 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1453 * sysdeps/x86_64/x32/test-size_t.h: New file.
1454 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1455 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1457 2019-01-18 Florian Weimer <fweimer@redhat.com>
1460 resolv: Do not send queries for non-host-names in nss_dns.
1461 * resolv/nss_dns/dns-host.c (check_name): New function.
1462 (_nss_dns_gethostbyname2_r): Use it.
1463 (_nss_dns_gethostbyname_r): Likewise.
1464 (_nss_dns_gethostbyname4_r): Likewise.
1466 2019-01-21 Florian Weimer <fweimer@redhat.com>
1468 * resolv/inet_addr.c: Reformat to GNU style.
1469 (__inet_addr, __inet_aton): Update comment.
1471 2019-01-18 Florian Weimer <fweimer@redhat.com>
1473 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1474 ("malloc: Use current (C11-style) atomics for fastbin access").
1475 This commit introduces a substantial performance regression on
1477 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1478 (REMOVE_FB): Define.
1479 (_int_malloc): Use it and reindent.
1480 (_int_free): Use CAS loop with
1481 catomic_compare_and_exchange_val_rel.
1482 (malloc_consolidate): Use atomic_exchange_acq.
1485 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1487 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1489 (LDFLAGS-tst-minsigstksz-2): Likewise.
1490 (LDFLAGS-tst-minsigstksz-3): Likewise.
1491 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1492 (LDFLAGS-tst-minsigstksz-4): Likewise.
1494 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1496 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1499 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1501 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1503 2019-01-16 Zack Weinberg <zackw@panix.com>
1505 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1506 (xget_sigstack_location): New test support functions.
1507 * support/xsigstack.c: New file, implementing them.
1508 * support/tst-xsigstack.c: New test for them.
1509 * support/Makefile: Update.
1511 * signal/tst-minsigstksz-1.c
1512 * signal/tst-minsigstksz-2.c
1513 * signal/tst-minsigstksz-3.c
1514 * signal/tst-minsigstksz-3a.c
1515 * signal/tst-minsigstksz-4.c: New tests.
1516 * signal/Makefile: Run them.
1518 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1520 * po/libc.pot: Regenerate.
1522 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1524 * math/libm-test-fma.inc (fma_test_data): Set
1525 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1527 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1529 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1530 (do_test): Changed __vector __int128_t to __vector unsigned int.
1532 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1535 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1536 stpcpy-avx2 and stpncpy-avx2.
1537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1538 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1539 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1541 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1542 ifunc-strcpy.h}: rename header for a more generic name.
1543 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1544 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1545 AVX unaligned load is fast and vzeroupper is preferred.
1546 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1547 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1548 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1549 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1550 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1551 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1553 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1555 * argp/argp-help.c: Fix typo in comment.
1556 * misc/sys/cdefs.h: Likewise.
1557 * posix/regexec.c (sift_states_iter_mb): Likewise.
1558 * socket/sockatmark.c: Likewise.
1559 * socket/sys/socket.h: Likewise.
1560 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1561 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1562 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1563 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1564 * sysdeps/unix/sockatmark.c: Likewise.
1565 * time/strptime_l.c: Likewise.
1567 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1569 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1570 missing space after the cast of "_NL_CURRENT".
1572 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1574 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1575 ifdef to fix read of VSCR.
1576 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1577 tst-ucontext-ppc64-vscr.c to test list.
1578 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1580 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1582 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1585 2019-01-09 Jim Wilson <jimw@sifive.com>
1587 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1589 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1591 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1592 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1593 __memcpy_falkor for ares.
1594 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1596 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1599 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1602 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1603 4_FP_W_TYPEs are used for IEEE quad precision.
1604 * soft-fp/extendhftf2.c: Likewise.
1605 * soft-fp/extendsftf2.c: Likewise.
1606 * soft-fp/extendxftf2.c: Likewise.
1607 * soft-fp/trunctfdf2.c: Likewise.
1608 * soft-fp/trunctfhf2.c: Likewise.
1609 * soft-fp/trunctfsf2.c: Likewise.
1610 * soft-fp/trunctfxf2.c: Likewise.
1611 * sysdeps/alpha/ots_cvttx.c: Likewise.
1612 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1613 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1614 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1615 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1616 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1617 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1618 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1619 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1620 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1621 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1622 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1623 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1624 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1625 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1626 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1627 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1628 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1630 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1633 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1634 code with -fmath-errno.
1635 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1636 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1637 * string/test-strerror-errno.c: New file.
1639 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1642 * localedata/locales/en_US (date_fmt): Add, set to
1643 "%a %d %b %Y %r %Z".
1645 2019-01-07 Florian Weimer <fweimer@redhat.com>
1648 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1649 instead of @var{errno}.
1650 (Parsing of Integers): Likewise.
1651 (Parsing of Floats): Likewise.
1652 * manual/filesys.texi (Working with Directory Trees): Likewise.
1653 (Temporary Files): Likewise.
1654 * manual/job.texi (Terminal Access Functions): Likewise.
1655 * manual/llio.texi (Synchronizing I/O): Likewise.
1656 * manual/math.texi (SVID Random): Likewise.
1657 * manual/message.texi (The catgets Functions): Likewise.
1658 (Translation with gettext): Likewise.
1659 (Locating gettext catalog): Likewise.
1660 (Charset conversion in gettext): Likewise.
1661 * manual/nss.texi (NSS Module Function Internals): Likewise.
1662 * manual/search.texi (Hash Search Function): Likewise.
1663 * manual/setjmp.texi (System V contexts): Likewise.
1664 * manual/time.texi (Sleeping): Likewise.
1665 * manual/users.texi (Lookup User): Likewise.
1666 (Lookup Group): Likewise.
1668 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1670 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1673 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1676 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1677 __builtin_unreachable for default case in switch.
1678 (__ieee754_yn): Likewise.
1679 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1680 (__ieee754_ynl): Likewise.
1681 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1682 (__ieee754_ynl): Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1684 (__ieee754_ynl): Likewise.
1686 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1688 * manual/maint.texi: Use @{ and @}.
1690 2019-01-04 Florian Weimer <fweimer@redhat.com>
1692 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1694 (do_in_chroot_1): Call it.
1696 Improve error reporting in case it is not possible to create a
1697 collision for the PTY name required by the test.
1699 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1701 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1702 lll_wait_tid with timeout.
1703 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1704 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1705 futex_reltimed_wait_cancelable for cancelabla mode.
1706 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1707 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1709 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1710 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1711 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1712 SYSCALL_CANCEL_NCS): New macro.
1713 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1714 (lll_timedwait_tid): Remove macro.
1715 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1717 (lll_timedwait_tid): Likewise.
1718 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1720 (lll_timedwait_tid): Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1723 (lll_timedwait_tid): Likewise.
1724 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1725 Use INTERNAL_SYSCALL_CANCEL.
1726 * sysdeps/unix/sysv/linux/futex-internal.h
1727 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1728 instead of __pthread_{enable,disable}_asynccancel.
1729 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1730 (lll_futex_wait_cancel): New macro.
1732 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1733 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1735 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1736 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1738 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1739 in backtrace analysis.
1740 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1742 (tf_send): Likewise.
1744 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1745 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1746 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1747 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1748 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1749 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1750 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1751 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1752 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1753 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1754 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1755 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1757 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1758 tst-cancel-wrappers.sh.
1759 (generated): Remove tst-cancel-wrappers.out.
1760 (tst-cancel-wrappers.out): Remove rule.
1761 * nptl/tst-cancel-wrappers.sh: Remove file.
1763 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1765 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1766 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1769 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1772 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1773 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1774 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1775 close-on-exec reset for adddup2 file action.
1776 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1778 2019-01-03 Zack Weinberg <zackw@panix.com>
1780 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1781 parameter. Only use deprecated scanf when __USE_GNU is defined
1782 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1783 than 201103L, whichever is relevant for the language being compiled.
1785 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1786 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1787 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1788 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1789 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1793 * libio/iovswscanf.c
1798 * stdio-common/fscanf.c
1799 * stdio-common/scanf.c
1800 * stdio-common/vfscanf.c
1801 * stdio-common/vfwscanf.c
1802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1803 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1804 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1805 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1806 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1807 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1808 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1809 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1810 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1811 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1812 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1813 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1814 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1815 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1816 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1818 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1819 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1820 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1822 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1823 with a preprocessor macro.
1825 * stdio-common/bug21.c, stdio-common/scanf14.c:
1826 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1827 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1828 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1829 to xscanf, xfscanf, xsscanf.
1831 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1832 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1833 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1834 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1836 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1837 override feature selection macros or provide definitions of u_char etc.
1838 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1839 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1840 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1843 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1846 bits/termios-misc.h.
1847 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1848 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1851 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1852 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1854 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1856 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1857 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1858 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1859 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1861 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1862 (sysdep_headers): Add termios-misc.h.
1864 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1865 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1866 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1870 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1871 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1872 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1873 TCSAFLUSH): Move to termios-tcflow.h.
1874 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1875 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1876 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1881 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1882 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1883 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1884 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1885 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1886 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1887 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1888 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1891 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1893 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1897 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1898 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1900 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1901 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1903 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1904 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1906 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1911 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1912 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1915 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1916 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1917 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1918 __MAX_BAUD): Move to termios-baud.h.
1919 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1920 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1921 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1925 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1927 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1928 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1930 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1931 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1932 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1934 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1935 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1937 [USE_MISC] (XTABS): Likewise.
1938 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1939 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1943 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1945 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1946 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1948 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1949 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1950 IUTF8): Move to termios-c_iflag.h.
1951 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1952 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1956 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1958 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1959 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1960 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1963 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1964 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1965 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1966 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1967 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1971 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1972 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1973 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1977 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1979 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1981 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1987 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1988 _HAVE_C_OSPEED): Define.
1989 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1990 _HAVE_C_OSPEED): Likewise.
1991 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1992 _HAVE_C_OSPEED): Likewise.
1993 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1994 (cfsetospeed): Check for define value instead of existence.
1995 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1996 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1997 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1998 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1999 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2002 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2004 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2005 (TIOCSER_TEMT): Likewise.
2006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2007 (TEOCSER_TEMT): Likewise.
2009 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2012 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2014 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2016 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2018 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2020 * sysdeps/htl/pt-barrierattr-setpshared.c
2021 (pthread_barrierattr_setpshared): Add stub warning.
2022 * sysdeps/htl/pt-condattr-setpshared.c
2023 (pthread_condattr_setpshared): Likewise.
2024 * sysdeps/htl/pt-mutexattr-setpshared.c
2025 (pthread_mutexattr_setpshared): Likewise.
2026 * sysdeps/htl/pt-rwlockattr-setpshared.c
2027 (pthread_rwlockattr_setpshared): Likewise.
2028 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2029 (pthread_mutexattr_setpshared): Likewise.
2031 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2034 constants to match with Linux 4.20.
2036 * sysdeps/mips/mips32/libm-test-ulps: Update.
2037 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2039 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2042 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2043 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2044 than __typeof (...) for the a_ptr variable.
2046 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2048 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2049 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2050 * libio/Makefile (tests): Add tst-sprintf-ub and
2052 (CFLAGS-tst-sprintf-ub.c): New variable.
2053 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2054 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2055 destination buffer and check for overflows in fortified mode.
2056 * libio/libioP.h (PRINTF_CHK): New macro.
2057 * libio/tst-sprintf-chk-ub.c: New file.
2058 * libio/tst-sprintf-ub.c: Likewise.
2060 2019-01-02 Florian Weimer <fweimer@redhat.com>
2063 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2066 2019-01-02 Florian Weimer <fweimer@redhat.com>
2068 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2070 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2072 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2075 * sysdeps/unix/sysv/linux/netpacket/packet.h
2076 (PACKET_IGNORE_OUTGOING): New macro.
2078 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2081 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2083 (riscv_flush_icache): New syscall.
2085 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2086 trailing whitespace removed.
2087 * scripts/config.guess: Update to version 2019-01-01.
2088 * scripts/config.sub: Update to version 2019-01-01.
2089 * scripts/move-if-change: Update from gnulib.
2091 * NEWS: Update copyright dates.
2092 * catgets/gencat.c (print_version): Likewise.
2093 * csu/version.c (banner): Likewise.
2094 * debug/catchsegv.sh: Likewise.
2095 * debug/pcprofiledump.c (print_version): Likewise.
2096 * debug/xtrace.sh (do_version): Likewise.
2097 * elf/ldconfig.c (print_version): Likewise.
2098 * elf/ldd.bash.in: Likewise.
2099 * elf/pldd.c (print_version): Likewise.
2100 * elf/sotruss.sh: Likewise.
2101 * elf/sprof.c (print_version): Likewise.
2102 * iconv/iconv_prog.c (print_version): Likewise.
2103 * iconv/iconvconfig.c (print_version): Likewise.
2104 * locale/programs/locale.c (print_version): Likewise.
2105 * locale/programs/localedef.c (print_version): Likewise.
2106 * login/programs/pt_chown.c (print_version): Likewise.
2107 * malloc/memusage.sh (do_version): Likewise.
2108 * malloc/memusagestat.c (print_version): Likewise.
2109 * malloc/mtrace.pl: Likewise.
2110 * manual/libc.texinfo: Likewise.
2111 * nptl/version.c (banner): Likewise.
2112 * nscd/nscd.c (print_version): Likewise.
2113 * nss/getent.c (print_version): Likewise.
2114 * nss/makedb.c (print_version): Likewise.
2115 * posix/getconf.c (main): Likewise.
2116 * scripts/test-installation.pl: Likewise.
2117 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2119 * All files with FSF copyright notices: Update copyright dates
2120 using scripts/update-copyrights.
2121 * locale/programs/charmap-kw.h: Regenerated.
2122 * locale/programs/locfile-kw.h: Likewise.
2124 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2126 * timezone/zdump.c: Update from tzcode 2018i.
2127 * timezone/zic.c: Likewise.
2129 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2131 regex: improve Gnulib port to AIX
2132 From the glibc point of view, this removes duplicate macro
2133 definitions and is obviously safe.
2134 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2135 * posix/regex_internal.h:
2136 (__attribute__, __attribute_warn_unused_result__):
2137 Remove; already defined elsewhere.
2139 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2142 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2143 copying operation. (ncopies had the wrong type, resulting in an
2144 integer wraparound and too few elements being copied.)
2146 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2149 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2150 <asm/syscalls.h> exists with __has_include__ before including it.
2152 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2154 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2157 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2159 * hurd/lookup-retry: Include <unistd.h>.
2160 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2161 Release it on return. Handle "pid" magical lookup retry.
2163 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2166 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2167 (t_fmt_ampm): Likewise.
2168 * localedata/locales/aa_ER (t_fmt): Likewise.
2169 (t_fmt_ampm): Likewise.
2170 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2171 (t_fmt_ampm): Likewise.
2172 * localedata/locales/aa_ET (t_fmt): Likewise.
2173 (t_fmt_ampm): Likewise.
2174 * localedata/locales/am_ET (t_fmt): Likewise.
2175 (t_fmt_ampm): Likewise.
2176 * localedata/locales/byn_ER (t_fmt): Likewise.
2177 (t_fmt_ampm): Likewise.
2178 * localedata/locales/om_ET (t_fmt): Likewise.
2179 (t_fmt_ampm): Likewise.
2180 * localedata/locales/sid_ET (t_fmt): Likewise.
2181 (t_fmt_ampm): Likewise.
2182 * localedata/locales/so_DJ (t_fmt): Likewise.
2183 (t_fmt_ampm): Likewise.
2184 * localedata/locales/so_ET (t_fmt): Likewise.
2185 (t_fmt_ampm): Likewise.
2186 * localedata/locales/so_SO (t_fmt): Likewise.
2187 (t_fmt_ampm): Likewise.
2188 * localedata/locales/ti_ER (t_fmt): Likewise.
2189 (t_fmt_ampm): Likewise.
2190 * localedata/locales/ti_ET (t_fmt): Likewise.
2191 (t_fmt_ampm): Likewise.
2192 * localedata/locales/tig_ER (t_fmt): Likewise.
2193 (t_fmt_ampm): Likewise.
2194 * localedata/locales/wal_ET (t_fmt): Likewise.
2195 (t_fmt_ampm): Likewise.
2197 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2198 * localedata/locales/ar_IN (t_fmt): Likewise.
2199 * localedata/locales/bhb_IN (t_fmt): Likewise.
2200 * localedata/locales/bho_IN (t_fmt): Likewise.
2201 * localedata/locales/bi_VU (t_fmt): Likewise.
2202 * localedata/locales/bn_BD (t_fmt): Likewise.
2203 * localedata/locales/bn_IN (t_fmt): Likewise.
2204 * localedata/locales/brx_IN (t_fmt): Likewise.
2205 * localedata/locales/doi_IN (t_fmt): Likewise.
2206 * localedata/locales/en_HK (t_fmt): Likewise.
2207 (t_fmt_ampm): Likewise.
2208 * localedata/locales/en_IN (t_fmt): Likewise.
2209 * localedata/locales/en_PH (t_fmt): Likewise.
2210 * localedata/locales/gu_IN (t_fmt): Likewise.
2211 * localedata/locales/hi_IN (t_fmt): Likewise.
2212 * localedata/locales/hif_FJ (t_fmt): Likewise.
2213 * localedata/locales/hne_IN (t_fmt): Likewise.
2214 * localedata/locales/kn_IN (t_fmt): Likewise.
2215 * localedata/locales/kok_IN (t_fmt): Likewise.
2216 * localedata/locales/ks_IN (t_fmt): Likewise.
2217 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2218 * localedata/locales/mag_IN (t_fmt): Likewise.
2219 * localedata/locales/mai_IN (t_fmt): Likewise.
2220 * localedata/locales/mjw_IN (t_fmt): Likewise.
2221 * localedata/locales/ml_IN (t_fmt): Likewise.
2222 * localedata/locales/mni_IN (t_fmt): Likewise.
2223 * localedata/locales/mr_IN (t_fmt): Likewise.
2224 * localedata/locales/ms_MY (t_fmt): Likewise.
2225 * localedata/locales/pa_IN (t_fmt): Likewise.
2226 * localedata/locales/raj_IN (t_fmt): Likewise.
2227 * localedata/locales/sa_IN (t_fmt): Likewise.
2228 * localedata/locales/sat_IN (t_fmt): Likewise.
2229 * localedata/locales/sd_IN (t_fmt): Likewise.
2230 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2231 * localedata/locales/tcy_IN (t_fmt): Likewise.
2232 * localedata/locales/the_NP (t_fmt): Likewise.
2233 * localedata/locales/to_TO (t_fmt): Likewise.
2234 * localedata/locales/ur_IN (t_fmt): Likewise.
2236 * localedata/locales/hif_FJ (d_t_fmt): Set to
2237 "%A %d %b %Y %I:%M:%S %p".
2238 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2240 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2241 * localedata/locales/ar_BH (t_fmt): Likewise.
2242 * localedata/locales/ar_DZ (t_fmt): Likewise.
2243 * localedata/locales/ar_EG (t_fmt): Likewise.
2244 * localedata/locales/ar_IQ (t_fmt): Likewise.
2245 * localedata/locales/ar_JO (t_fmt): Likewise.
2246 * localedata/locales/ar_KW (t_fmt): Likewise.
2247 * localedata/locales/ar_LB (t_fmt): Likewise.
2248 * localedata/locales/ar_LY (t_fmt): Likewise.
2249 * localedata/locales/ar_OM (t_fmt): Likewise.
2250 * localedata/locales/ar_QA (t_fmt): Likewise.
2251 * localedata/locales/ar_SD (t_fmt): Likewise.
2252 * localedata/locales/ar_SS (t_fmt): Likewise.
2253 * localedata/locales/ar_SY (t_fmt): Likewise.
2254 * localedata/locales/ar_TN (t_fmt): Likewise.
2255 * localedata/locales/ar_YE (t_fmt): Likewise.
2257 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2258 (t_fmt_ampm): Likewise.
2259 * localedata/locales/gez_ET (t_fmt): Likewise.
2260 (t_fmt_ampm): Likewise.
2262 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2263 (t_fmt_ampm): Likewise.
2264 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2266 * localedata/locales/zh_HK (t_fmt):
2267 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2269 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2270 because this locale does not use the 12-hour clock.
2271 (t_fmt): Set to "%Z %H:%M:%S".
2272 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2274 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2275 because this locale does not use the 12-hour clock.
2276 (t_fmt): Set to "%H:%M:%S %Z".
2277 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2279 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2280 because this locale does not use the 12-hour clock.
2281 (t_fmt): Set to "%T".
2282 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2283 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2285 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2286 because this locale does not use the 12-hour clock.
2287 (t_fmt): Set to "%H:%M:%S %Z".
2288 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2290 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2291 because this locale does not use the 12-hour clock.
2292 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2293 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2295 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2299 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2300 (t_fmt_ampm): Likewise.
2301 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2302 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2303 (d_fmt): Set to "%-d.%-m.%y".
2305 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2307 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2308 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2309 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2311 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2312 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2313 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2315 * support/blob_repeat.c (check_mul_overflow_size_t,
2316 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2318 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2320 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2322 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2324 regex: simplify Gnulib port
2325 This simplifies the code, by removing stuff intended for porting
2326 to Gnulib but no longer needed there.
2327 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2328 uses of libc_hidden_def, weak_alias.
2329 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2330 _Restrict_ except for public-facing headers.
2331 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2332 Remove; already defined elsewhere.
2333 * posix/regex.c, posix/regex_internal.h:
2334 Use __GNUC_PREREQ instead of rolling our own.
2335 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2337 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2339 * benchtests/bench-strlen.c (generic_strlen): New function.
2340 (memchr_strlen): New function.
2342 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2344 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2345 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2346 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2348 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2350 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2352 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2354 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2355 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2356 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2357 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2358 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2359 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2360 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2362 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2365 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2366 PLT reference in libc.so.
2367 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2368 _Q_lltoq and _Q_qtod PLT references in libc.so.
2370 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2372 * benchtests/bench-memchr.c: Cleanup defines.
2373 * benchtests/bench-memcmp.c: Likewise.
2374 * benchtests/bench-memset.c: Likewise.
2375 * benchtests/bench-memset-large.c: Likewise.
2376 * benchtests/bench-memset-walk.c: Likewise.
2377 * benchtests/bench-stpcpy.c: Likewise.
2378 * benchtests/bench-stpncpy.c: Likewise.
2379 * benchtests/bench-strcat.c: Likewise.
2380 * benchtests/bench-strchr.c: Likewise.
2381 * benchtests/bench-strcmp.c: Likewise.
2382 * benchtests/bench-strcpy.c: Likewise.
2383 * benchtests/bench-strcspn.c: Likewise.
2384 * benchtests/bench-string.h: Likewise.
2385 * benchtests/bench-strlen.c: Likewise.
2386 * benchtests/bench-strncat.c: Likewise.
2387 * benchtests/bench-strncmp.c: Likewise.
2388 * benchtests/bench-strncpy.c: Likewise.
2389 * benchtests/bench-strnlen.c: Likewise.
2390 * benchtests/bench-strpbrk.c: Likewise.
2391 * benchtests/bench-strrchr.c: Likewise.
2392 * benchtests/bench-strspn.c: Likewise.
2394 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2396 * stdlib/longlong.h: Update from GCC.
2399 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2400 * configure: Regenerated.
2401 * manual/install.texi (Tools for Compilation): Update minimum GCC
2403 * INSTALL: Regenerated.
2405 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2407 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2409 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2411 * malloc/malloc.c (mremap_chunk): Additional checks.
2413 2018-12-21 Mao Han <han_mao@c-sky.com>
2415 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2416 * scripts/build-many-glibcs.py: Add C-SKY targets.
2417 * sysdeps/csky/Implies: New file.
2418 * sysdeps/csky/Makefile: Likewise.
2419 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2420 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2421 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2422 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2423 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2424 * sysdeps/csky/abiv2/memmove.S: Likewise.
2425 * sysdeps/csky/abiv2/memset.S: Likewise.
2426 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2427 * sysdeps/csky/abiv2/start.S: Likewise.
2428 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2429 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2430 * sysdeps/csky/abiv2/strlen.S: Likewise.
2431 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2432 * sysdeps/csky/abort-instr.h: Likewise.
2433 * sysdeps/csky/atomic-machine.h: Likewise.
2434 * sysdeps/csky/bits/endian.h: Likewise.
2435 * sysdeps/csky/bits/fenv.h: Likewise.
2436 * sysdeps/csky/bits/link.h: Likewise.
2437 * sysdeps/csky/bits/setjmp.h: Likewise.
2438 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2439 * sysdeps/csky/bsd-setjmp.S: Likewise.
2440 * sysdeps/csky/configure: Likewise.
2441 * sysdeps/csky/configure.ac: Likewise.
2442 * sysdeps/csky/dl-machine.h: Likewise.
2443 * sysdeps/csky/dl-procinfo.c: Likewise.
2444 * sysdeps/csky/dl-procinfo.h: Likewise.
2445 * sysdeps/csky/dl-sysdep.h: Likewise.
2446 * sysdeps/csky/dl-tls.h: Likewise.
2447 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2448 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2449 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2450 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2451 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2452 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2453 * sysdeps/csky/fpu/fegetround.c: Likewise.
2454 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2455 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2456 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2457 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2458 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2459 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2460 * sysdeps/csky/fpu/fesetround.c: Likewise.
2461 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2462 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2463 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2464 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2465 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2466 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2467 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2468 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2469 * sysdeps/csky/fpu_control.h: Likewise.
2470 * sysdeps/csky/gccframe.h: Likewise.
2471 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2472 * sysdeps/csky/ldsodefs.h: Likewise.
2473 * sysdeps/csky/libc-tls.c: Likewise.
2474 * sysdeps/csky/linkmap.h: Likewise.
2475 * sysdeps/csky/machine-gmon.h: Likewise.
2476 * sysdeps/csky/memusage.h: Likewise.
2477 * sysdeps/csky/nofpu/Implies: Likewise.
2478 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2479 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2480 * sysdeps/csky/nptl/Makefile: Likewise.
2481 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2482 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2483 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2484 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2485 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2486 * sysdeps/csky/nptl/tls.h: Likewise.
2487 * sysdeps/csky/preconfigure: Likewise.
2488 * sysdeps/csky/sfp-machine.h: Likewise.
2489 * sysdeps/csky/sotruss-lib.c: Likewise.
2490 * sysdeps/csky/stackinfo.h: Likewise.
2491 * sysdeps/csky/sysdep.h: Likewise.
2492 * sysdeps/csky/tininess.h: Likewise.
2493 * sysdeps/csky/tst-audit.h: Likewise.
2494 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2495 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2496 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2497 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2498 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2499 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2500 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2501 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2502 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2503 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2504 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2505 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2506 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2507 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2508 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2509 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2510 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2511 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2512 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2513 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2515 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2517 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2518 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2520 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2522 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2524 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2525 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2526 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2527 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2528 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2529 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2530 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2531 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2532 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2533 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2534 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2535 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2536 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2537 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2539 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2541 * include/time.h (__difftime64): Add.
2542 * time/difftime.c (subtract): convert to 64-bit time.
2543 * time/difftime.c (__difftime64): Add.
2544 * time/difftime.c (__difftime): Wrap around __difftime64.
2546 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2548 * manual/examples/add.c: Remove redundant "if not".
2549 * manual/examples/argp-ex1.c: Likewise.
2550 * manual/examples/argp-ex2.c: Likewise.
2551 * manual/examples/argp-ex3.c: Likewise.
2552 * manual/examples/argp-ex4.c: Likewise.
2553 * manual/examples/atexit.c: Likewise.
2554 * manual/examples/db.c: Likewise.
2555 * manual/examples/dir.c: Likewise.
2556 * manual/examples/dir2.c: Likewise.
2557 * manual/examples/execinfo.c: Likewise.
2558 * manual/examples/filecli.c: Likewise.
2559 * manual/examples/filesrv.c: Likewise.
2560 * manual/examples/fmtmsgexpl.c: Likewise.
2561 * manual/examples/genpass.c: Likewise.
2562 * manual/examples/inetcli.c: Likewise.
2563 * manual/examples/inetsrv.c: Likewise.
2564 * manual/examples/isockad.c: Likewise.
2565 * manual/examples/longopt.c: Likewise.
2566 * manual/examples/memopen.c: Likewise.
2567 * manual/examples/memstrm.c: Likewise.
2568 * manual/examples/mkdirent.c: Likewise.
2569 * manual/examples/mkfsock.c: Likewise.
2570 * manual/examples/mkisock.c: Likewise.
2571 * manual/examples/mygetpass.c: Likewise.
2572 * manual/examples/pipe.c: Likewise.
2573 * manual/examples/popen.c: Likewise.
2574 * manual/examples/rprintf.c: Likewise.
2575 * manual/examples/search.c: Likewise.
2576 * manual/examples/select.c: Likewise.
2577 * manual/examples/setjmp.c: Likewise.
2578 * manual/examples/sigh1.c: Likewise.
2579 * manual/examples/sigusr.c: Likewise.
2580 * manual/examples/stpcpy.c: Likewise.
2581 * manual/examples/strdupa.c: Likewise.
2582 * manual/examples/strftim.c: Likewise.
2583 * manual/examples/subopt.c: Likewise.
2584 * manual/examples/swapcontext.c: Likewise.
2585 * manual/examples/termios.c: Likewise.
2586 * manual/examples/testopt.c: Likewise.
2587 * manual/examples/testpass.c: Likewise.
2588 * manual/examples/timeval_subtract.c: Likewise.
2590 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2592 * sysdeps/x86/fpu/math_private.h: New file.
2593 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2595 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2600 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2602 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2603 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2604 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2605 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2607 (_dl_show_auxv): Give a special treatment to
2608 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2609 and AT_L3_CACHEGEOMETRY.
2610 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2611 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2612 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2613 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2615 2018-12-19 Andreas Schwab <schwab@suse.de>
2617 * nscd/connections.c (check_use): Don't abort on invalid len.
2619 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2621 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2622 values in the 64bit value cases.
2624 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2630 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2636 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2639 (__gmtime64_r): Add.
2641 (__gmtime64_r): Add.
2642 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2648 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2651 (__localtime64_r): Add.
2653 (__localtime64_r): Add.
2654 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2656 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2658 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2659 kernel_sigction definition.
2661 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2663 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2665 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2666 __syscall_rt_sigaction.
2667 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2668 (kernel_sigaction): Use Linux generic defintion.
2670 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2671 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2672 (__syscall_rt_sigaction): Remove implementation.
2673 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2675 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2676 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2677 INTERNAL_SYSCALL): Remove definitions.
2678 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2679 action and signal set size.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2683 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2684 James Clarke <jrtc27@jrtc27.com>
2687 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2688 Define if SA_RESTORER is defined.
2689 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2690 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2692 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2693 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2695 (HAS_SA_RESTORER): Define.
2696 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2697 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2698 (HAS_SA_RESTORER): Define.
2699 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2700 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2701 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2702 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2705 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2707 * sysdeps/unix/sysv/linux/kernel-features.h
2708 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2709 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2710 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2711 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2712 (__ASSUME_ST_INO_64_BIT): Likewise.
2713 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2714 <kernel-features.h>.
2715 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2716 Remove conditional code.
2717 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2718 <kernel-features.h>.
2719 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2720 Remove conditional code.
2721 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2722 <kernel-features.h>.
2723 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2724 Remove conditional code.
2725 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2726 <kernel-features.h>.
2727 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2728 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2732 * sysdeps/s390/multiarch/ifunc-resolve.h
2733 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2734 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2735 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2736 Delete macro definition.
2737 (s390_libc_ifunc_init): Rename to
2738 s390_libc_ifunc_expr_stfle_init.
2739 * sysdeps/s390/bzero: Use
2740 s390_libc_ifunc_expr_stfle_init instead of
2741 s390_libc_ifunc_init.
2742 * sysdeps/s390/memcmp.c: Likewise.
2743 * sysdeps/s390/memcpy.c: Likewise.
2744 * sysdeps/s390/mempcpy.c: Likewise.
2745 * sysdeps/s390/memset.c: Likewise.
2747 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2749 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2750 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2754 * sysdeps/s390/multiarch/Makefile
2755 (sysdep_routines): Remove wmemcmp variants.
2756 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2757 * sysdeps/s390/multiarch/ifunc-impl-list.c
2758 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2759 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2760 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2761 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2762 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2763 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2764 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2765 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2769 * sysdeps/s390/multiarch/Makefile
2770 (sysdep_routines): Remove wmemset variants.
2771 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2772 * sysdeps/s390/multiarch/ifunc-impl-list.c
2773 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2774 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2775 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2776 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2777 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2778 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2779 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2780 * sysdeps/s390/ifunc-wmemset.h: New file.
2782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2784 * sysdeps/s390/multiarch/Makefile
2785 (sysdep_routines): Remove wmemchr variants.
2786 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2787 * sysdeps/s390/multiarch/ifunc-impl-list.c
2788 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2789 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2790 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2791 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2792 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2793 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2794 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2795 * sysdeps/s390/ifunc-wmemchr.h: New file.
2797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2799 * sysdeps/s390/multiarch/Makefile
2800 (sysdep_routines): Remove wcscspn variants.
2801 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2802 * sysdeps/s390/multiarch/ifunc-impl-list.c
2803 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2804 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2805 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2806 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2807 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2808 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2809 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2810 * sysdeps/s390/ifunc-wcscspn.h: New file.
2812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2814 * sysdeps/s390/multiarch/Makefile
2815 (sysdep_routines): Remove wcspbrk variants.
2816 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2817 * sysdeps/s390/multiarch/ifunc-impl-list.c
2818 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2819 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2820 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2821 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2822 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2823 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2824 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2825 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2829 * sysdeps/s390/multiarch/Makefile
2830 (sysdep_routines): Remove wcsspn variants.
2831 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2832 * sysdeps/s390/multiarch/ifunc-impl-list.c
2833 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2834 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2835 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2836 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2837 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2838 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2839 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2840 * sysdeps/s390/ifunc-wcsspn.h: New file.
2842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2844 * sysdeps/s390/multiarch/Makefile
2845 (sysdep_routines): Remove wcsrchr variants.
2846 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2847 * sysdeps/s390/multiarch/ifunc-impl-list.c
2848 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2849 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2850 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2851 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2852 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2853 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2854 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2855 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2859 * sysdeps/s390/multiarch/Makefile
2860 (sysdep_routines): Remove wcschrnul variants.
2861 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2862 * sysdeps/s390/multiarch/ifunc-impl-list.c
2863 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2864 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2865 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2866 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2867 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2868 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2869 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2870 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2874 * sysdeps/s390/multiarch/Makefile
2875 (sysdep_routines): Remove wcschr variants.
2876 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2877 * sysdeps/s390/multiarch/ifunc-impl-list.c
2878 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2879 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2880 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2881 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2882 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2883 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2884 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2885 * sysdeps/s390/ifunc-wcschr.h: New file.
2887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2889 * sysdeps/s390/multiarch/Makefile
2890 (sysdep_routines): Remove wcsncmp variants.
2891 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2892 * sysdeps/s390/multiarch/ifunc-impl-list.c
2893 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2894 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2895 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2896 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2897 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2898 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2899 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2900 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2904 * sysdeps/s390/multiarch/Makefile
2905 (sysdep_routines): Remove wcscmp variants.
2906 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2907 * sysdeps/s390/multiarch/ifunc-impl-list.c
2908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2909 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2910 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2911 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2912 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2913 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2914 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2915 * sysdeps/s390/ifunc-wcscmp.h: New file.
2917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2919 * sysdeps/s390/multiarch/Makefile
2920 (sysdep_routines): Remove wcsncat variants.
2921 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2922 * sysdeps/s390/multiarch/ifunc-impl-list.c
2923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2924 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2925 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2926 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2927 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2928 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2929 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2930 * sysdeps/s390/ifunc-wcsncat.h: New file.
2932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2934 * sysdeps/s390/multiarch/Makefile
2935 (sysdep_routines): Remove wcscat variants.
2936 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2937 * sysdeps/s390/multiarch/ifunc-impl-list.c
2938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2939 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2940 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2941 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2942 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2943 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2944 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2945 * sysdeps/s390/ifunc-wcscat.h: New file.
2947 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2949 * sysdeps/s390/multiarch/Makefile
2950 (sysdep_routines): Remove wcpncpy variants.
2951 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2952 * sysdeps/s390/multiarch/ifunc-impl-list.c
2953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2954 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2955 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2956 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2957 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2958 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2959 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2960 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2964 * sysdeps/s390/multiarch/Makefile
2965 (sysdep_routines): Remove wcsncpy variants.
2966 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2967 * sysdeps/s390/multiarch/ifunc-impl-list.c
2968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2969 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2970 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2971 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2972 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2973 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2974 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2975 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2979 * sysdeps/s390/multiarch/Makefile
2980 (sysdep_routines): Remove wcpcpy variants.
2981 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2982 * sysdeps/s390/multiarch/ifunc-impl-list.c
2983 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2984 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2985 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2986 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2987 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2988 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2989 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2990 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2994 * sysdeps/s390/multiarch/Makefile
2995 (sysdep_routines): Remove wcscpy variants.
2996 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2997 * sysdeps/s390/multiarch/ifunc-impl-list.c
2998 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2999 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3000 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3001 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3002 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3003 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3004 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3005 * sysdeps/s390/ifunc-wcscpy.h: New file.
3007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3009 * sysdeps/s390/multiarch/Makefile
3010 (sysdep_routines): Remove wcsnlen variants.
3011 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3012 * sysdeps/s390/multiarch/ifunc-impl-list.c
3013 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3014 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3015 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3016 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3017 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3018 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3019 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3020 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3024 * sysdeps/s390/multiarch/Makefile
3025 (sysdep_routines): Remove wcslen variants.
3026 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3027 * sysdeps/s390/multiarch/ifunc-impl-list.c
3028 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3029 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3030 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3031 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3032 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3033 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3034 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3035 * sysdeps/s390/ifunc-wcslen.h: New file.
3037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3039 * sysdeps/s390/multiarch/Makefile
3040 (sysdep_routines): Remove memrchr variants.
3041 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3042 * sysdeps/s390/multiarch/ifunc-impl-list.c
3043 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3044 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3045 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3046 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3047 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3048 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3049 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3050 * sysdeps/s390/ifunc-memrchr.h: New file.
3052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3054 * sysdeps/s390/multiarch/Makefile
3055 (sysdep_routines): Remove memccpy variants.
3056 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3057 * sysdeps/s390/multiarch/ifunc-impl-list.c
3058 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3059 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3060 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3061 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3062 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3063 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3064 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3065 * sysdeps/s390/ifunc-memccpy.h: New file.
3067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3069 * sysdeps/s390/multiarch/Makefile
3070 (sysdep_routines): Remove rawmemchr variants.
3071 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3072 * sysdeps/s390/multiarch/ifunc-impl-list.c
3073 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3074 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3075 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3076 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3077 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3078 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3079 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3080 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3084 * sysdeps/s390/multiarch/Makefile
3085 (sysdep_routines): Remove memchr variants.
3086 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3087 * sysdeps/s390/multiarch/ifunc-impl-list.c
3088 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3089 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3090 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3091 * sysdeps/s390/multiarch/memchr.c: Move to ...
3092 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3093 * sysdeps/s390/ifunc-memchr.h: New file.
3094 * sysdeps/s390/s390-64/memchr.S: Move to ...
3095 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3096 for 31/64bit and ifunc handling.
3097 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3098 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3099 * sysdeps/s390/s390-32/memchr.S: Likewise.
3101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3103 * sysdeps/s390/multiarch/Makefile
3104 (sysdep_routines): Remove strcspn variants.
3105 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3106 * sysdeps/s390/multiarch/ifunc-impl-list.c
3107 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3108 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3109 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3110 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3111 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3112 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3113 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3114 * sysdeps/s390/ifunc-strcspn.h: New file.
3116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3118 * sysdeps/s390/multiarch/Makefile
3119 (sysdep_routines): Remove strpbrk variants.
3120 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3121 * sysdeps/s390/multiarch/ifunc-impl-list.c
3122 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3123 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3124 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3125 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3126 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3127 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3128 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3129 * sysdeps/s390/ifunc-strpbrk.h: New file.
3131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3133 * sysdeps/s390/multiarch/Makefile
3134 (sysdep_routines): Remove strspn variants.
3135 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3136 * sysdeps/s390/multiarch/ifunc-impl-list.c
3137 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3138 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3139 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3140 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3141 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3142 * sysdeps/s390/multiarch/strspn.c: Move to ...
3143 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3144 * sysdeps/s390/ifunc-strspn.h: New file.
3146 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3148 * sysdeps/s390/multiarch/Makefile
3149 (sysdep_routines): Remove strrchr variants.
3150 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3151 * sysdeps/s390/multiarch/ifunc-impl-list.c
3152 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3153 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3154 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3155 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3156 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3157 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3158 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3159 * sysdeps/s390/ifunc-strrchr.h: New file.
3161 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3163 * sysdeps/s390/multiarch/Makefile
3164 (sysdep_routines): Remove strchrnul variants.
3165 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3166 * sysdeps/s390/multiarch/ifunc-impl-list.c
3167 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3168 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3169 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3170 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3171 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3172 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3173 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3174 * sysdeps/s390/ifunc-strchrnul.h: New file.
3176 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3178 * sysdeps/s390/multiarch/Makefile
3179 (sysdep_routines): Remove strchr variants.
3180 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3181 * sysdeps/s390/multiarch/ifunc-impl-list.c
3182 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3183 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3184 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3185 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3186 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3187 * sysdeps/s390/multiarch/strchr.c: Move to ...
3188 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3189 * sysdeps/s390/ifunc-strchr.h: New file.
3191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3193 * sysdeps/s390/multiarch/Makefile
3194 (sysdep_routines): Remove strncmp variants.
3195 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3196 * sysdeps/s390/multiarch/ifunc-impl-list.c
3197 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3198 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3199 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3200 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3201 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3202 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3203 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3204 * sysdeps/s390/ifunc-strncmp.h: New file.
3206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3208 * sysdeps/s390/multiarch/Makefile
3209 (sysdep_routines): Remove strcmp variants.
3210 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3211 * sysdeps/s390/multiarch/ifunc-impl-list.c
3212 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3213 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3214 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3215 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3216 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3217 * sysdeps/s390/ifunc-strcmp.h: New file.
3218 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3219 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3220 for 31/64bit and ifunc handling.
3221 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3222 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3223 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3227 * sysdeps/s390/multiarch/Makefile
3228 (sysdep_routines): Remove strncat variants.
3229 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3230 * sysdeps/s390/multiarch/ifunc-impl-list.c
3231 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3232 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3233 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3234 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3235 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3236 * sysdeps/s390/multiarch/strncat.c: Move to ...
3237 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3238 * sysdeps/s390/ifunc-strncat.h: New file.
3240 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3242 * sysdeps/s390/multiarch/Makefile
3243 (sysdep_routines): Remove strcat variants.
3244 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3245 * sysdeps/s390/multiarch/ifunc-impl-list.c
3246 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3247 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3248 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3249 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3250 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3251 * sysdeps/s390/multiarch/strcat.c: Move to ...
3252 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3253 * sysdeps/s390/ifunc-strcat.h: New file.
3255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3257 * sysdeps/s390/multiarch/Makefile
3258 (sysdep_routines): Remove stpncpy variants.
3259 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3260 * sysdeps/s390/multiarch/ifunc-impl-list.c
3261 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3262 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3263 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3264 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3265 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3266 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3267 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3268 * sysdeps/s390/ifunc-stpncpy.h: New file.
3270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3272 * sysdeps/s390/multiarch/Makefile
3273 (sysdep_routines): Remove strncpy variants.
3274 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3275 * sysdeps/s390/multiarch/ifunc-impl-list.c
3276 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3277 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3278 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3279 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3280 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3281 * sysdeps/s390/ifunc-strncpy.h: New file.
3282 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3283 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3284 and adjust ifunc handling.
3285 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3286 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3287 and adjust ifunc handling.
3288 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3289 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3293 * sysdeps/s390/multiarch/Makefile
3294 (sysdep_routines): Remove stpcpy variants.
3295 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3296 * sysdeps/s390/multiarch/ifunc-impl-list.c
3297 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3298 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3299 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3300 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3301 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3302 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3303 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3304 * sysdeps/s390/ifunc-stpcpy.h: New file.
3306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3308 * sysdeps/s390/multiarch/Makefile
3309 (sysdep_routines): Remove strcpy variants.
3310 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3311 * sysdeps/s390/multiarch/ifunc-impl-list.c
3312 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3313 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3314 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3315 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3316 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3317 * sysdeps/s390/ifunc-strcpy.h: New file.
3318 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3319 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3320 for 31/64bit and ifunc handling.
3321 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3322 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3323 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3327 * sysdeps/s390/multiarch/Makefile
3328 (sysdep_routines): Remove strnlen variants.
3329 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3330 * sysdeps/s390/multiarch/ifunc-impl-list.c
3331 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3332 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3333 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3334 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3335 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3336 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3337 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3338 * sysdeps/s390/ifunc-strnlen.h: New file.
3340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3342 * sysdeps/s390/multiarch/Makefile
3343 (sysdep_routines): Remove strlen variants.
3344 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3345 * sysdeps/s390/multiarch/ifunc-impl-list.c
3346 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3347 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3348 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3349 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3350 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3351 * sysdeps/s390/multiarch/strlen.c: Move to ...
3352 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3353 * sysdeps/s390/ifunc-strlen.h: New file.
3355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3357 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3358 * sysdeps/s390/multiarch/ifunc-impl-list.c
3359 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3360 * sysdeps/s390/ifunc-memmem.h: New file.
3361 * sysdeps/s390/memmem.c: Likewise.
3362 * sysdeps/s390/memmem-c.c: Likewise.
3363 * sysdeps/s390/memmem-vx.c: Likewise.
3365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3367 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3368 * sysdeps/s390/multiarch/ifunc-impl-list.c
3369 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3370 * sysdeps/s390/ifunc-strstr.h: New file.
3371 * sysdeps/s390/strstr.c: Likewise.
3372 * sysdeps/s390/strstr-c.c: Likewise.
3373 * sysdeps/s390/strstr-vx.c: Likewise.
3375 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3377 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3378 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3379 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3380 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3382 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3383 * sysdeps/s390/memmove-c.c: New file.
3384 * sysdeps/s390/memmove.c: Likewise.
3385 * sysdeps/s390/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3390 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3391 * sysdeps/s390/configure.ac: Add check for z13 support.
3392 * sysdeps/s390/configure: Regenerated.
3394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3396 * sysdeps/s390/memcopy.h: New file.
3398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3400 * sysdeps/s390/s390-32/bcopy.S: Remove.
3401 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3405 * sysdeps/s390/ifunc-memcpy.h: New File.
3406 * sysdeps/s390/memcpy.S: Move to ...
3407 * sysdeps/s390/memcpy-z900.S ... here.
3408 Move implementations from memcpy-s390x.s to here.
3409 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3410 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3411 Remove memcpy/mempcpy variants.
3412 * sysdeps/s390/Makefile (sysdep_routines):
3413 Add memcpy/mempcpy variants.
3414 * sysdeps/s390/multiarch/ifunc-impl-list.c
3415 (__libc_ifunc_impl_list): Adjust ifunc variants for
3417 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3419 * sysdeps/s390/memcpy.c: ... here.
3420 Adjust ifunc variants for memcpy.
3421 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3422 * sysdeps/s390/mempcpy.c: ... here.
3423 Adjust ifunc variants for mempcpy.
3424 * sysdeps/s390/mempcpy.S: Delete file.
3426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3428 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3429 * sysdeps/s390/memcpy.S: ... here.
3430 Adjust to be usable for 31/64bit.
3431 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3432 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3433 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3434 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3435 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3436 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3437 Adjust to be usable for 31/64bit.
3438 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3439 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3440 * sysdeps/s390/multiarch/memcpy.c: ... here.
3441 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3445 * sysdeps/s390/ifunc-memcmp.h: New File.
3446 * sysdeps/s390/memcmp.S: Move to ...
3447 * sysdeps/s390/memcmp-z900.S ... here.
3448 Move implementations from memcmp-s390x.s to here.
3449 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3450 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3451 Remove memcmp variants.
3452 * sysdeps/s390/Makefile (sysdep_routines):
3453 Add memcmp variants.
3454 * sysdeps/s390/multiarch/ifunc-impl-list.c
3455 (__libc_ifunc_impl_list): Adjust ifunc variants for
3457 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3459 * sysdeps/s390/memcmp.c: ... here.
3460 Adjust ifunc variants for memcmp.
3462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3464 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3465 * sysdeps/s390/memcmp.S: ... here.
3466 Adjust to be usable for 31/64bit.
3467 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3468 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3469 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3471 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3472 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3473 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3474 Adjust to be usable for 31/64bit.
3475 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3476 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3477 * sysdeps/s390/multiarch/memcmp.c: ... here.
3478 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3482 * sysdeps/s390/s390-32/bzero.S: Delete file.
3483 * sysdeps/s390/s390-64/bzero.S: Likewise.
3484 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3485 * sysdeps/s390/bzero.c: New file.
3486 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3487 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3488 * sysdeps/s390/multiarch/ifunc-impl-list.c
3489 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3493 * sysdeps/s390/ifunc-memset.h: New File.
3494 * sysdeps/s390/memset.S: Move to ...
3495 * sysdeps/s390/memset-z900.S ... here.
3496 Move implementations from memset-s390x.s to here.
3497 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3498 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3499 Remove memset variants.
3500 * sysdeps/s390/Makefile (sysdep_routines):
3501 Add memset variants.
3502 * sysdeps/s390/multiarch/ifunc-impl-list.c
3503 (__libc_ifunc_impl_list): Adjust ifunc variants for
3505 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3507 * sysdeps/s390/memset.c: ... here.
3508 Adjust ifunc variants for memset.
3510 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3512 * sysdeps/s390/s390-64/memset.S: Move to ...
3513 * sysdeps/s390/memset.S: ... here.
3514 Adjust to be usable for 31/64bit.
3515 * sysdeps/s390/s390-32/memset.S: Delete File.
3516 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3517 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3519 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3520 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3521 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3522 Adjust to be usable for 31/64bit.
3523 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3524 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3525 * sysdeps/s390/multiarch/memset.c: ... here.
3526 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3530 * sysdeps/s390/multiarch/ifunc-resolve.h
3531 (s390_libc_ifunc_init, s390_libc_ifunc,
3532 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3534 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3536 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3537 * sysdeps/s390/configure.ac: Add check for z10 support.
3538 * sysdeps/s390/configure: Regenerated.
3540 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/i386/atomic-machine.h: Merged with ...
3543 * sysdeps/x86_64/atomic-machine.h: To ...
3544 * sysdeps/x86/atomic-machine.h: This. New file.
3546 2018-12-18 Florian Weimer <fweimer@redhat.com>
3548 Rewrite locale/gen-translit.pl in Python.
3549 * locale/Makefile (generated): Add C-translit.h.
3550 (before-compile): Add $(objpfx)C-translit.h.
3551 (C-translit.h): Move to $(objpfx). Create target directory.
3552 Build using Python script.
3553 * locale/gen-translit.py: New file.
3554 * locale/gen-translit.pl: Remove file.
3555 * locale/C-translit.h.in: Change comment character to '#' for
3556 easier parsing without a C preprocessor.
3557 * locale/C-translit.h: Remove generated file.
3558 * manual/install.texi (Tools for Compilation): Do not mention
3560 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3561 Remove locale/C-translit.h.
3562 * scripts/update-copyrights: Likewise.
3563 * INSTALL: Regenerate.
3565 2018-12-18 Florian Weimer <fweimer@redhat.com>
3568 * localedata/locales/bi_VU: Remove executable bit from file.
3570 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3573 (__localtime64): Add.
3574 * manual/maint.texi: Document Y2038 symbol handling.
3576 (__localtime64): Add.
3577 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3579 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3584 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3585 to allow extra macros from first or second sources.
3586 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3587 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3588 (tests-special): Add $(objpfx)tst-mman-consts.out.
3589 ($(objpfx)tst-mman-consts.out): New makefile target.
3591 2018-12-17 Mao Han <han_mao@c-sky.com>
3593 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3594 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3595 without stat64 system call support.
3596 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3597 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3598 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3599 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3600 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3601 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3602 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3603 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3604 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3605 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3606 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3608 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3610 regex: fix storage-exhaustion error
3612 * posix/regexec.c (get_subexp):
3613 Do not continue if storage is exhausted.
3615 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3617 regex: fix heap-use-after-free error
3619 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3620 https://debbugs.gnu.org/32592
3621 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3622 call extend_buffers which reallocates the re_string_t internal buffer.
3623 Local variable 'buf' was not updated in such case, resulting in
3625 * posix/regexec.c (get_subexp): Update 'buf' after call to
3628 2018-12-15 Florian Weimer <fweimer@redhat.com>
3630 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3631 (minimum_stride_size): Use it.
3632 (support_blob_repeat_allocate): Likewise.
3634 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3636 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3641 2018-12-14 Florian Weimer <fweimer@redhat.com>
3643 * manual/process.texi (Process Creation Concepts): Remove
3644 documentation of process (ID) lifetime. List more process
3645 creation functions. Reference Process Identification section.
3646 (Process Identification): Add information about process ID
3647 lifetime. Describe Linux thread/task IDs.
3648 * manual/signal.texi (Signaling Another Process): Mention that the
3649 signal is always sent to the process.
3651 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3653 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3654 and tst-ldbl-efgcvt.
3655 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3656 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3657 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3658 (fcvt_tests, output_error, output_r_error, do_test): Use the
3659 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3660 select the type of floating-point variables and arguments; to
3661 produce extra tests for double and conversion specifiers for
3662 printf; and to set the names of called functions.
3663 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3664 in tst-efgcvt-template.c.
3665 * misc/tst-ldbl-efgcvt.c: Likewise.
3667 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3669 * nss/Makefile (tst-nss-test3.out): New rule.
3671 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3676 2018-12-13 fanjinke <fanjinke@hygon.cn>
3678 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3681 2018-12-13 Andreas Schwab <schwab@suse.de>
3684 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3685 (__pthread_rwlock_rdlock_full): Update expected value for
3686 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3687 * nptl/tst-rwlock-pwn.c: New file.
3688 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3690 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3692 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3695 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3697 * benchtests/scripts/compare_bench.py (do_compare): write to
3698 stderr in casestat is not present.
3699 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3700 stderr in case timings field is not present. Also string showing
3701 the output filename goes into the stderr.
3703 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3705 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3706 and ZeroDivisorError exceptions.
3707 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3708 argument to loop through user provided statistics.
3709 * benchtests/scripts/compare_bench.py (main): Include the --stats
3712 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3714 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3717 2018-12-12 Florian Weimer <fweimer@redhat.com>
3719 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3720 clause to copyright header.
3722 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3725 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3726 registers saved in the stack frame.
3727 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3728 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3730 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3732 * include/bits/monetary-ldbl.h: New file.
3733 * include/bits/printf-ldbl.h: Likewise.
3734 * include/bits/stdio-ldbl.h: Likewise.
3735 * include/bits/stdlib-ldbl.h: Likewise.
3736 * include/bits/syslog-ldbl.h: Likewise.
3737 * include/bits/wchar-ldbl.h: Likewise.
3739 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3741 * libio/libio.h: Remove redirection for _IO_vfprintf.
3743 2018-12-11 Andreas Schwab <schwab@suse.de>
3745 * Makerules: Remove all references to abilist-pattern.
3746 (update-all-abi): Simplify find expression.
3748 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3751 * math/auto-libm-test-in: Add new test case.
3752 * math/auto-libm-test-out-pow: Regenerated.
3753 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3755 2018-12-10 DJ Delorie <dj@redhat.com>
3758 * support/test-container.c: Move postclean step to before we
3761 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3763 * scripts/gen-as-const.py (main): Handle --python option.
3764 * scripts/gen-py-const.awk: Remove.
3765 * Makerules (py-const-script): Use gen-as-const.py.
3766 ($(py-const)): Likewise.
3767 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3768 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3769 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3770 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3771 ~PTHREAD_MUTEX_NO_ELISION_NP.
3772 * manual/README.pretty-printers: Update reference to
3775 * scripts/glibcextract.py: New file.
3776 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3777 or tempfile. Import glibcexctract.
3778 (compute_c_consts): Remove. Moved to glibcextract.py.
3779 (gen_test): Update reference to compute_c_consts.
3781 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3782 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3783 * sysdeps/unix/sysv/linux/Makefile
3784 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3785 Redirect stderr as well as stdout.
3787 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3790 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3791 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3792 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3793 ALWAYS_USE_VSYSCALL.
3794 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3795 ALWAYS_USE_VSYSCALL.
3796 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3797 ALWAYS_USE_VSYSCALL.
3799 2018-12-10 Florian Weimer <fweimer@redhat.com>
3802 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3803 offset instead of count for clarity. Fix typo in comment.
3804 (__old_getdents64): Keep track of previous offset. Use it to call
3806 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3807 that d_off is never zero.
3809 2018-12-10 Andreas Schwab <schwab@suse.de>
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3812 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3814 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3815 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3817 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3819 * timezone/private.h: Update from tzcode 2018g.
3820 * timezone/tzfile.h: Likewise.
3821 * timezone/tzselect.ksh: Likewise.
3822 * timezone/zdump.c: Likewise.
3823 * timezone/zic.c: Likewise.
3825 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3828 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3829 (do_test): Adjust buffer size and fix format.
3831 2018-12-07 DJ Delorie <dj@redhat.com>
3834 * malloc/tst-tcfree3.c: New.
3835 * malloc/Makefile: Add it.
3837 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3839 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3841 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3843 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3844 used as a mask for the mode argument of __vfscanf_internal and
3845 __vfwscanf_internal.
3846 * stdio-common/vfscanf-internal.c
3847 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3848 (__strtof128_internal): Define to __wcstof128_internal.
3849 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3850 __strtof128_internal or __wcstof128_internal when the format of
3851 long double is the same as _Float128.
3853 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3855 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3856 * posix/confstr.c (confstr): Rename to __confstr.
3857 (__confstr): Add hidden def.
3858 (confstr): Add weak alias for __confstr.
3859 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3862 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3864 * NEWS: Mention getcpu.
3865 * include/sched.h (__getcpu): New libc_hidden_proto.
3866 * manual/resource.texi: Document getcpu.
3867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3868 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3870 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3871 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3872 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3873 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3874 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3875 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3876 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3882 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3883 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3892 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3893 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3894 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3895 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3897 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3898 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3899 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3900 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3901 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3902 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3905 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3907 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3909 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3911 2018-12-07 Florian Weimer <fweimer@redhat.com>
3914 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3915 * posix/Versions (GLIBC_2.29): Export
3916 posix_spawn_file_actions_addfchdir_np.
3917 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3918 * posix/spawn_faction_destroy.c
3919 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3920 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3921 and the field action.fchdir_action.
3922 * posix/tst-spawn-chdir.c (add_chdir): New function.
3923 (do_test): Add do_fchdir loop. Call add_chdir.
3924 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3925 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3926 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3927 posix_spawn_file_actions_addfchdir_np.
3928 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3930 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3932 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3933 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3935 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3937 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3939 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3941 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3943 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3945 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3946 (GLIBC_2.29): Likewise.
3947 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3948 (GLIBC_2.29): Likewise.
3949 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3950 (GLIBC_2.29): Likewise.
3951 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3952 (GLIBC_2.29): Likewise.
3953 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3956 (GLIBC_2.29): Likewise.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3958 (GLIBC_2.29): Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3960 (GLIBC_2.29): Likewise.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3962 (GLIBC_2.29): Likewise.
3963 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3965 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3967 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3969 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3970 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3972 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3976 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3979 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3981 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3982 trailing whitespace removed.
3983 * scripts/config.guess: Update to version 2018-11-28.
3984 * scripts/config.sub: Update to version 2018-11-28.
3985 * scripts/install-sh: Update to version 2018-03-11.20.
3986 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3987 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3989 2018-12-07 Florian Weimer <fweimer@redhat.com>
3993 * inet/tst-if_index-long.c: New file.
3994 * inet/Makefile (tests): Add tst-if_index-long.
3996 2018-12-07 Florian Weimer <fweimer@redhat.com>
3998 * support/check.h (support_record_failure_is_failed): Declare.
3999 * support/descriptors.h: New file.
4000 * support/support_descriptors.c: Likewise.
4001 * support/tst-support_descriptors.c: Likewise.
4002 * support/support_record_failure.c
4003 (support_record_failure_is_failed): New function.
4004 * support/Makefile (libsupport-routines): Add support_descriptors.
4005 (tests): Add tst-support_descriptors.
4007 2018-12-05 Zack Weinberg <zackw@panix.com>
4008 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4010 * stdio-common/vfprintf-internal.c
4011 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4012 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4013 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4014 and __no_long_double.
4015 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4016 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4018 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4019 and __nldbl_*syslog* functions.
4020 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4021 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4022 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4023 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4024 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4025 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4026 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4027 (__nldbl_vwprintf, __nldbl_wprintf):
4028 Directly call the appropriate __v*printf_internal routine, passing
4029 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4031 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4032 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4033 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4034 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4035 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4036 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4037 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4038 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4039 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4040 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4041 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4042 (__nldbl_syslog, __nldbl_vsyslog):
4043 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4044 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4046 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4049 2018-12-05 Zack Weinberg <zackw@panix.com>
4050 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4053 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4054 Moved here from debug/vsprintf_chk.c.
4055 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4056 and completion logic for the strfile to match exactly what
4057 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4058 _IO_str_init_static_internal instead of maxlen-1.
4059 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4060 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4061 __vsprintf_internal.
4063 * debug/vsprintf_chk.c (__vsprintf_chk)
4064 * debug/sprintf_chk.c (__sprintf_chk):
4065 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4066 'flags' argument is positive, and slen as maxlen. No need to lock
4067 the FILE and/or construct a temporary FILE. Minimize and normalize
4068 header inclusions and variable names. Do not libc_hidden_def anything.
4070 * debug/asprintf_chk.c (__asprintf_chk)
4071 * debug/dprintf_chk.c (__dprintf_chk)
4072 * debug/fprintf_chk.c (__fprintf_chk)
4073 * debug/fwprintf_chk.c (__fwprintf_chk)
4074 * debug/printf_chk.c (__printf_chk)
4075 * debug/snprintf_chk.c (__snprintf_chk)
4076 * debug/swprintf_chk.c (__swprintf_chk)
4077 * debug/vasprintf_chk.c (__vasprintf_chk)
4078 * debug/vdprintf_chk.c (__vdprintf_chk)
4079 * debug/vfprintf_chk.c (__vfprintf_chk)
4080 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4081 * debug/vprintf_chk.c (__vprintf_chk)
4082 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4083 * debug/vswprintf_chk.c (__vswprintf_chk)
4084 * debug/vwprintf_chk.c (__vwprintf_chk)
4085 * debug/wprintf_chk.c (__wprintf_chk):
4086 Directly call the corresponding vxxprintf_internal function, passing
4087 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4088 the FILE and/or construct a temporary FILE. Minimize and normalize
4089 header inclusions and variable names. Do not libc_hidden_def anything.
4091 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4092 __obstack_vprintf_internal.
4093 (__obstack_vprintf_chk): Convert into a wrapper that calls
4094 __obstack_vprintf_internal (these two functions already had the
4095 same code) and move to new file...
4096 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4098 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4099 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4100 * debug/Makefile (routines): Add vobprintf_chk.
4102 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4103 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4104 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4105 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4106 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4107 (__nldbl___obstack_vfprintf_chk):
4108 Directly call the corresponding vxxprintf_internal function,
4109 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4110 duplicate comparison of slen with 0 or maxlen from the corresponding
4111 non-__nldbl function.
4113 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4114 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4115 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4116 Remove libc_hidden_proto.
4118 * stdio-common/vfprintf-internal.c
4119 (__vfprintf_internal, __vfwprintf_internal):
4120 Do not check _IO_FLAGS2_FORTIFY.
4121 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4122 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4123 a comment explaining why it has the maxlen argument.
4124 (_IO_acquire_lock_clear_flags2_fct): Remove.
4125 (_IO_acquire_lock_clear_flags2): Remove.
4126 (_IO_release_lock): Remove conditional statement which will
4128 (_IO_acquire_lock): Remove variable which is now unused.
4129 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4130 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4132 * stdio-common/Makefile (tests): Add tst-bz11319 and
4133 tst-bz11319-fortify2.
4134 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4135 * stdio-common/tst-bz11319-fortify2.c: New file.
4136 * stdio-common/tst-bz11319.c: Likewise.
4138 2018-12-05 Zack Weinberg <zackw@panix.com>
4139 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4141 * misc/syslog.c: Include libioP.h, not iolibio.h.
4142 (__vsyslog_internal): New function with the former body of
4143 __vsyslog_chk; takes mode_flags argument same as
4144 __v*printf_internal. Call __vfprintf_internal directly.
4146 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4147 Remove libc_hidden_def.
4148 (__syslog, __syslog_chk): Use __vsyslog_internal.
4149 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4151 * include/sys/syslog.h: Add multiple inclusion guard.
4152 Add prototype for __vsyslog_internal.
4153 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4156 Use __vsyslog_internal.
4158 2018-12-05 Zack Weinberg <zackw@panix.com>
4159 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4161 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4162 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4163 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4165 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4166 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4168 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4169 Include wctype.h here if COMPILE_WPRINTF is defined.
4170 Define __vfprintf_internal or __vfwprintf_internal, depending
4172 Temporarily, on entry to this function, update mode_flags
4173 according to the environmental settings corresponding to
4174 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4175 Throughout, check mode_flags instead of __ldbl_is_dbl and
4176 _IO_FLAGS2_FORTIFY on the destination FILE.
4177 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4178 Include vfprintf-internal.c. Don't include wctype.h.
4179 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4180 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4182 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4183 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4185 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4187 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4188 and add mode_flags argument; use __vfprintf_internal.
4189 (__vdprintf): New function. Alias vdprintf to this.
4190 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4191 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4192 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4193 (__obstack_printf): Use __obstack_printf_internal.
4194 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4195 public aliases __vsnprintf and vsnprintf.
4196 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4198 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4199 public aliases _IO_vsprintf and vsprintf.
4200 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4201 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4202 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4203 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4204 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4206 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4207 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4208 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4209 * stdio-common/printf.c: Use __vfprintf_internal.
4211 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4212 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4213 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4215 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4216 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4217 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4218 __vfwprintf_internal.
4220 * libio/libio.h: Remove libc_hidden_proto and declaration for
4222 Remove declaration of _IO_vfwprintf.
4223 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4225 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4227 * include/stdio.h: Add prototype for __vasprintf.
4228 (__vsnprintf): Remove declaration, because there are no more
4230 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4231 declaration, because there are no more internal calls.
4233 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4234 __vsnprintf_internal, instead of _IO_vsnprintf.
4235 * argp/argp-help.c (__argp_error, __argp_failure): Use
4236 __vasprintf_internal, instead of _IO_vasprintf.
4237 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4238 redefine, because there are no more internal calls.
4240 2018-12-05 Zack Weinberg <zackw@panix.com>
4241 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4243 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4244 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4245 Include libio/strfile.h instead of libioP.h.
4246 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4247 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4248 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4249 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4250 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4251 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4252 necessary. Do not set __no_long_double. Normalize variable names.
4253 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4254 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4255 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4256 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4257 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4258 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4259 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4260 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4261 Do not set __no_long_double. Normalize variable names.
4263 2018-12-05 Zack Weinberg <zackw@panix.com>
4264 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4266 * stdio-common/isoc99_scanf.c
4267 * stdio-common/isoc99_fscanf.c
4268 * stdio-common/isoc99_sscanf.c
4269 * stdio-common/isoc99_vscanf.c
4270 * stdio-common/isoc99_vfscanf.c
4271 * stdio-common/isoc99_vsscanf.c
4272 * wcsmbs/isoc99_wscanf.c
4273 * wcsmbs/isoc99_fwscanf.c
4274 * wcsmbs/isoc99_swscanf.c
4275 * wcsmbs/isoc99_vwscanf.c
4276 * wcsmbs/isoc99_vfwscanf.c
4277 * wcsmbs/isoc99_vswscanf.c:
4278 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4279 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4280 No need to lock and unlock the FILE passed to that function.
4282 * stdio-common/vfscanf-internal.c
4283 (__vfscanf_internal, __vfwscanf_internal):
4284 Don't look at _IO_FLAGS2_SCANF_STD.
4285 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4286 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4287 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4289 2018-12-05 Zack Weinberg <zackw@panix.com>
4290 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4292 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4293 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4294 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4295 * libio/strfile.h: Add multiple inclusion guard.
4296 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4298 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4299 consistency with the other version of this file.
4300 (ldbl_compat_symbol): New macro.
4301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4304 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4305 Define __vfscanf_internal or __vfwscanf_internal, depending on
4306 COMPILE_WSCANF; don't define any other public symbols.
4307 Remove errval and code to set errp.
4308 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4309 as the mode_flags argument.
4310 (encode_error, conv_error, input_error): Don't set errval.
4311 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4312 Include vfscanf-internal.c.
4313 * stdio-common/vfscanf.c: New file defining the public entry
4314 point vfscanf, which calls __vfscanf_internal.
4315 * stdio-common/vfwscanf.c: New file defining the public entry
4316 point vfwscanf, which calls __vfwscanf_internal.
4318 * stdio-common/iovfscanf.c: New file.
4319 * stdio-common/iovfwscanf.c: Likewise.
4321 * stdio-common/Makefile (routines): Add vfscanf-internal,
4322 vfwscanf-internal, iovfscanf, iovfwscanf.
4323 * stdio-common/Versions: Mention GLIBC_2.29, so that
4324 it can be used in SHLIB_COMPAT expressions.
4325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4326 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4327 Call __vfscanf_internal, instead of _IO_vfscanf.
4328 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4330 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4333 * libio/iovsscanf.c: Clean up includes, when possible. Use
4334 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4335 __vfscanf_internal or __vfwscanf_internal directly.
4336 * libio/iovswscanf.c: Likewise.
4337 * libio/swscanf.c: Likewise.
4338 * libio/vscanf.c: Likewise.
4339 * libio/vwscanf.c: Likewise.
4340 * libio/wscanf.c: Likewise.
4341 * stdio-common/isoc99_fscanf.c: Likewise.
4342 * stdio-common/isoc99_scanf.c: Likewise.
4343 * stdio-common/isoc99_sscanf.c: Likewise.
4344 * stdio-common/isoc99_vfscanf.c: Likewise.
4345 * stdio-common/isoc99_vscanf.c: Likewise.
4346 * stdio-common/isoc99_vsscanf.c: Likewise.
4347 * stdio-common/scanf.c: Likewise.
4348 * stdio-common/sscanf.c: Likewise.
4349 * wcsmbs/isoc99_fwscanf.c: Likewise.
4350 * wcsmbs/isoc99_swscanf.c: Likewise.
4351 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4352 * wcsmbs/isoc99_vswscanf.c: Likewise.
4353 * wcsmbs/isoc99_vwscanf.c: Likewise.
4354 * wcsmbs/isoc99_wscanf.c: Likewise.
4356 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4359 (__tz_compute): Replace time_t with __time64_t.
4360 (__tz_convert): Replace time_t* with __time64_t.
4361 (__offtime): Replace time_t* with __time64_t.
4363 (__gmtime_r): Adjust call to __tz_convert.
4366 (__localtime_r): Likewise.
4367 (localtime): Likewise.
4368 * time/offtime.c: Replace time_t with __time64_t.
4369 * time/tzset.c: Likewise.
4371 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4373 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4374 dynamic linker unless [$(run-built-tests) = yes].
4376 2018-12-03 DJ Delorie <dj@delorie.com>
4378 * support/test-container.c (check_for_unshare_hints): New.
4379 (main): Call it if unshare fails. Add support for "su" scriptlet
4382 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4384 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4385 'START' to indicate that start text should be output.
4386 (gen_test): Likewise.
4387 (main): Generate 'START' for first symbol or '--' line, or at end
4388 of input if not previously generated.
4390 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4393 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4394 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4395 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4396 ALWAYS_USE_VSYSCALL.
4398 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4401 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4404 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4407 * locale/programs/localedef.c: Declare boolean hard_links default true.
4408 (options): Add --no-hard-links option.
4409 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4410 * locale/programs/localedef.h: Declare prototype for hard_links.
4411 * locale/programs/locfile.c (write_locale_data): Don't use hard
4412 links if hard_links is false.
4414 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4416 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4418 (__cache_sysconf): Likewise.
4419 (init_cacheinfo): Likewise.
4420 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4421 populate COMMON_CPUID_INDEX_80000007 and
4422 COMMON_CPUID_INDEX_80000008.
4423 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4424 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4425 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4426 (init_cpu_features): Use _Static_assert on
4427 index_arch_Fast_Unaligned_Load.
4428 __get_cpuid_registers and __get_arch_feature. Updated for
4429 cpu_features_basic. Set stepping in cpu_features.
4430 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4431 (FEATURE_INDEX_2): New.
4432 (FEATURE_INDEX_MAX): Changed to enum.
4433 (COMMON_CPUID_INDEX_D_ECX_1): New.
4434 (COMMON_CPUID_INDEX_80000007): Likewise.
4435 (COMMON_CPUID_INDEX_80000008): Likewise.
4436 (cpuid_registers): Likewise.
4437 (cpu_features_basic): Likewise.
4438 (CPU_FEATURE_USABLE): Likewise.
4439 (bit_arch_XXX_Usable): Likewise.
4440 (cpu_features): Use cpuid_registers and cpu_features_basic.
4441 (bit_arch_XXX): Reweritten.
4442 (bit_cpu_XXX): Likewise.
4443 (index_cpu_XXX): Likewise.
4444 (reg_XXX): Likewise.
4445 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4447 (CHECK_CPU_FEATURE): New.
4448 (CHECK_CPU_FEATURE_USABLE): Likewise.
4449 (cpu_kinds): Likewise.
4450 (do_test): Print vendor, family, model and stepping. Check
4451 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4452 (TEST_FUNCTION): Removed.
4453 Include <support/test-driver.c> instead of
4454 "../../test-skeleton.c".
4455 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4456 Check POPCNT instead of POPCOUNT.
4457 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4459 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4461 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4462 there is no element in `consts'.
4464 2018-12-01 Florian Weimer <fweimer@redhat.com>
4466 * support/support_capture_subprocess.c
4467 (support_capture_subprocess): Check that pipe descriptors have
4468 expected values. Close original pipe descriptors in subprocess.
4470 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4473 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4474 attr with __pthread_default_barrierattr.
4475 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4476 attr with __pthread_default_condattr.
4477 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4478 attr with __pthread_default_mutexattr.
4479 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4480 attr with __pthread_default_rwlockattr.
4482 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4484 * manual/tunables.texi (POSIX Thread Tunables): New node.
4485 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4486 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4487 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4488 __pthread_tunables_init.
4489 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4490 (max_adaptive_count): Define.
4491 * nptl/pthread_mutex_conf.c: New file.
4492 * nptl/pthread_mutex_conf.h: New file.
4493 * sysdeps/generic/adaptive_spin_count.h: New file.
4494 * sysdeps/nptl/dl-tunables.list: New file.
4495 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4496 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4497 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4500 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4503 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4504 * stdlib/on_exit.c (__on_exit): Likewise.
4505 * stdlib/Makefile (tests): Add tst-bz20544.
4506 * stdlib/tst-bz20544.c: New test.
4508 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4511 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4512 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4515 2018-11-30 Florian Weimer <fweimer@redhat.com>
4517 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4518 Extend error logging.
4519 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4522 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4524 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4525 __sigismember instead of sigismember.
4526 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4527 cancel_handler): New definitions.
4528 (do_system): Use posix_spawn instead of fork and execl and remove
4530 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4531 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4532 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4533 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4535 * sysdeps/unix/sysv/linux/system.c: Likewise.
4539 * NEWS: Add new semantic for atfork with popen and system.
4540 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4543 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4546 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4547 modification order when accessing reloc_result->addr.
4548 * include/link.h (reloc_result): Add field init.
4549 * nptl/Makefile (tests): Add tst-audit-threads.
4550 (modules-names): Add tst-audit-threads-mod1 and
4551 tst-audit-threads-mod2.
4552 Add rules to build tst-audit-threads.
4553 * nptl/tst-audit-threads-mod1.c: New file.
4554 * nptl/tst-audit-threads-mod2.c: Likewise.
4555 * nptl/tst-audit-threads.c: Likewise.
4556 * nptl/tst-audit-threads.h: Likewise.
4558 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4560 * scripts/gen-as-const.py: New file.
4561 * scripts/gen-as-const.awk: Remove.
4562 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4564 ($(objpfx)test-as-const-%.c): Likewise.
4566 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4568 * elf/dl-exception.c: Include <_itoa.h>.
4570 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4572 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4573 returned by __f_setlk.
4575 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4576 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4578 * elf/Makefile (tests-internal): Add tst-create_format1.
4579 * elf/dl-exception.c (_dl_exception_create_format): Support
4581 * elf/tst-create_format1.c: New file.
4583 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4585 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4586 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4588 * argp/argp-help.c (__argp_failure): Likewise.
4590 2018-11-29 Mao Han <han_mao@c-sky.com>
4592 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4593 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4594 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4595 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4596 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4597 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4598 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4599 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4600 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4601 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4602 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4603 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4604 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4605 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4606 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4607 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4608 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4609 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4610 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4611 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4612 (R_CKCORE_TLS_TPOFF32): New defines.
4614 2018-11-29 Florian Weimer <fweimer@redhat.com>
4616 * posix/Makefile (before-compile): Remove testcases.h and
4618 (generated): Add testcases.h and ptestcases.h.
4619 (testcases.h, ptestcases.h): Move to $(objpfx).
4620 (runtests.o): Add dependency on testcases.h.
4621 (runptests.o): Add dependency on ptestcases.h.
4622 * posix/testcases.h, posix/ptestcases.h: Remove files.
4623 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4624 not touch posix/testcases.h and posix/ptestcases.h.
4626 2018-11-28 Florian Weimer <fweimer@redhat.com>
4628 support: Add signal support to support_capture_subprocess_check.
4629 * support/capture_subprocess.h (support_capture_subprocess_check):
4630 Adjust comment and rename parameter.
4631 * support/support_capture_subprocess_check.c
4632 (print_actual_status): New function.
4633 (support_capture_subprocess_check): Support negative
4634 status_or_signal. Call print_actual_status.
4635 * support/tst-support_capture_subprocess.c (do_test): Call
4636 support_capture_subprocess_check.
4637 * libio/tst-vtables-common.c (termination_status)
4638 (init_termination_status): Remove.
4639 (check_for_termination): Adjust support_capture_subprocess_check
4641 (do_test): Remove call to init_termination_status.
4643 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4645 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4646 source directory instead of a copy.
4647 (CommandList.create_copy_dir): Remove.
4649 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4651 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4653 2018-11-28 Florian Weimer <fweimer@redhat.com>
4655 * support/support.h (support_quote_string): Do not use str
4658 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4660 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4661 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4663 2018-11-27 Florian Weimer <fweimer@redhat.com>
4665 * support/support.h (support_quote_string): Declare.
4666 * support/support_quote_string.c: New file.
4667 * support/tst-support_quote_string.c: Likewise.
4668 * support/Makefile (libsupport-routines): Add
4669 support_quote_string.
4670 (tests): Add tst-support_quote_string.
4672 2018-11-27 Florian Weimer <fweimer@redhat.com>
4676 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4677 descriptor leak in case of ENODEV error.
4679 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4682 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4683 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4686 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4688 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4689 Error for unknown lines.
4691 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4693 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4694 Touch additional files.
4696 2018-11-26 Florian Weimer <fweimer@redhat.com>
4699 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4702 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4705 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4706 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4707 SHARED. Include sysdep.h.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4709 ALWAYS_USE_VSYSCALL.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4711 ALWAYS_USE_VSYSCALL.
4713 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4716 * nptl/Makefile (tests-static): Add tst-cond11-static.
4718 * nptl/tst-cond11-static.c: New File.
4719 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4720 tst-affinity-static.
4722 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4724 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4725 (USE_VSYSCALL): Likewise.
4726 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4727 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4729 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4734 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4737 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4738 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4741 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4743 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4744 (tst-cet-legacy-1a-ARGS): New.
4745 ($(objpfx)tst-cet-legacy-1a): New target.
4746 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4748 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4750 * conform/conformtest.py (CompileSubTest.__init__): Set
4751 self.run_early to False.
4752 (ExecuteSubTest.__init__): Likewise.
4753 (HeaderTests.run): Try running all non-optional, non-XFAILed
4754 compilation tests in a single execution of the compiler.
4756 * conform/conformtest.py (CompileSubTest): New class.
4757 (ExecuteSubTest): Likewise.
4758 (ElementTest.run): Rename to gen_subtests. Append tests to
4759 self.subtests instead of running them.
4760 (ConstantTest.run): Likewise.
4761 (SymbolTest.run): Likewise.
4762 (TypeTest.run): Likewise.
4763 (TagTest.run): Likewise.
4764 (FunctionTest.run): Likewise.
4765 (VariableTest.run): Likewise.
4766 (MacroFunctionTest.run): Likewise.
4767 (MacroStrTest.run): Likewise.
4768 (HeaderTests.handle_test_line): Generate subtests for tests.
4769 (HeaderTests.run): Run subtests for tests.
4771 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4773 * math/Versions (GLIBC_2.29): Add pow.
4774 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4776 * math/w_pow.c: New file.
4777 * sysdeps/i386/fpu/w_pow.c: New file.
4778 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4780 and add necessary aliases.
4781 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4782 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4783 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4784 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4785 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4786 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4787 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4788 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4790 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4791 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4792 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4793 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4794 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4795 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4805 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4807 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4809 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4810 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4811 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4813 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4815 * math/Versions (GLIBC_2.29): Add log2.
4816 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4818 * math/w_log2.c: New file.
4819 * sysdeps/i386/fpu/w_log2.c: New file.
4820 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4821 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4822 and add necessary aliases.
4823 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4824 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4825 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4842 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4844 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4850 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4852 * math/Versions (GLIBC_2.29): Add log.
4853 * math/w_log_compat.c (__log_compat): Change to versioned compat
4855 * math/w_log.c: New file.
4856 * sysdeps/i386/fpu/w_log.c: New file.
4857 * sysdeps/ia64/fpu/e_log.S: Update.
4858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4859 and add necessary aliases.
4860 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4861 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4862 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4863 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4864 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4865 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4866 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4867 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4868 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4869 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4870 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4871 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4872 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4873 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4874 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4879 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4880 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4881 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4882 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4883 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4884 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4888 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4889 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4890 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4891 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4893 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4895 * math/Versions (GLIBC_2.29): Add exp and exp2.
4896 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4897 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4898 * math/w_exp_compat.c (__exp_compat): Likewise.
4899 * math/w_exp.c: New file.
4900 * math/w_exp2.c: New file.
4901 * sysdeps/i386/fpu/w_exp.c: New file.
4902 * sysdeps/i386/fpu/w_exp2.c: New file.
4903 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4904 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4906 and add necessary aliases.
4907 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4908 and add necessary aliases.
4909 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4910 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4911 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4912 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4913 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4915 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4916 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4917 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4918 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4919 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4920 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4921 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4922 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4923 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4924 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4925 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4930 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4931 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4932 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4933 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4934 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4935 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4936 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4937 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4938 (__ieee754_exp): Rename to __exp.
4939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4940 (__ieee754_exp): Rename to __exp.
4941 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4942 (__ieee754_exp): Rename to __exp.
4943 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4945 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4947 2018-11-20 DJ Delorie <dj@redhat.com>
4949 * malloc/malloc.c (tcache_entry): Add key field.
4950 (tcache_put): Set it.
4951 (tcache_get): Likewise.
4952 (_int_free): Check for double free in tcache.
4953 * malloc/tst-tcfree1.c: New.
4954 * malloc/tst-tcfree2.c: New.
4955 * malloc/Makefile: Run the new tests.
4956 * manual/probes.texi: Document memory_tcache_double_free probe.
4958 * dlfcn/dlerror.c (check_free): Prevent double frees.
4960 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4962 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4964 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4966 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4967 in tests. Use names for format arguments.
4968 (ConstantTest.run): Likewise.
4969 (SymbolTest.run): Likewise.
4970 (TypeTest.run): Likewise.
4971 (TagTest.run): Likewise.
4972 (FunctionTest.run): Likewise.
4973 (VariableTest.run): Likewise.
4974 (MacroFunctionTest.run): Likewise.
4975 (MacroStrTest.run): Likewise.
4976 (HeaderTests.__init__): Set self.num_tests.
4977 (HeaderTests.handle_test_line): Set test.num. Increment
4980 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4982 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4983 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4986 2018-11-19 Mao Han <han_mao@c-sky.com>
4988 * scripts/config.guess: Update to version 2018-08-29.
4989 * scripts/config.sub: Update to version 2018-08-29.
4991 2018-11-19 Florian Weimer <fweimer@redhat.com>
4993 support: Print timestamps in timeout handler.
4994 * support/support_test_main.c (print_timestamp): New function.
4995 (signal_handler): Use it to print the termination time and the
4996 time of the last write to standard output.
4998 2018-11-16 Zack Weinberg <zackw@panix.com>
4999 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5001 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5002 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5004 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5005 and add flags argument. Check flags instead of __ldbl_is_dbl when
5006 deciding whether to set is_long_double.
5007 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5008 passing zero for flags argument.
5009 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5011 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5012 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5013 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5014 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5015 variable names. Remove libc_hidden_def/libc_hidden_proto from
5016 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5017 longer called from within the library.
5018 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5019 for __nldbl___vstrfmon_l, declare it explicitly.
5021 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5023 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5025 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5027 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5028 F_SETLK64, F_SETLKW64, respectively.
5029 * sysdeps/mach/hurd/f_setlk.c: New file.
5030 * sysdeps/mach/hurd/f_setlk.h: New file.
5031 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5033 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5034 (__libc_fcntl): Move non-flock operations to...
5035 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5036 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5038 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5040 mktime: DEBUG_MKTIME cleanup
5041 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5042 And it’s no longer needed now that glibc and Gnulib both have
5043 their own testing mechanisms for mktime.
5044 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5046 mktime: fix non-EOVERFLOW errno handling
5048 mktime was not properly reporting failures when the underlying
5049 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5050 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5051 The problem could happen on non-glibc platforms, with Gnulib.
5052 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5053 (tm_diff): ... this simpler function, which does not change errno.
5054 All callers changed to deal with errno themselves.
5055 (ranged_convert, __mktime_internal): Return failure immediately if
5056 the underlying function reports any failure other than EOVERFLOW.
5057 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5060 mktime: fix bug with Y2038 DST transition
5062 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5063 mishandle a DST transition that jumps over the Y2038 boundary.
5064 No such DST transitions are known so this is only a theoretical
5065 bug, but we might as well do things right.
5067 mktime: make more room for overflow
5069 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5070 This is so that we can add tm_diff results to a previous guess,
5071 which will be useful in a later patch.
5073 mktime: simplify offset guess
5075 * time/mktime.c (__mktime_internal): Omit excess precision.
5077 mktime: new test for mktime failure
5079 Based on a test suggested by Albert Aribaud in:
5080 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5081 * time/Makefile (tests): Add bug-mktime4.
5082 * time/bug-mktime4.c: New file.
5084 mktime: fix EOVERFLOW bug
5086 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5087 Include libc-config.h, not config.h, for __set_errno.
5088 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5090 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5092 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5093 __attribute_copy__ to copy attributes from name. Drop static qualifier
5094 to avoid warnings about leaf attribute not having effect on static
5097 2018-11-13 Florian Weimer <fweimer@redhat.com>
5099 * malloc/malloc.c (fastbin_push_entry): New function.
5100 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5101 (REMOVE_FB): Remove macro.
5102 (_int_malloc): Use fastbin_pop_entry and reindent.
5103 (_int_free): Use fastbin_push_entry.
5104 (malloc_consolidate): Use atomic_exchange_acquire.
5106 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5108 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5109 alias attribute, not with strong_alias.
5111 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5112 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5113 with additional parameter thread.
5114 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5115 in terms of __hidden_ver2.
5116 (hidden_tls_def): New macro.
5117 (libc_hidden_tls_def): Likewise.
5118 (rtld_hidden_tls_def): Likewise.
5119 (libm_hidden_tls_def): Likewise.
5120 (libmvec_hidden_tls_def): Likewise.
5121 (libresolv_hidden_tls_def): Likewise.
5122 (librt_hidden_tls_def): Likewise.
5123 (libdl_hidden_tls_def): Likewise.
5124 (libnss_files_hidden_tls_def): Likewise.
5125 (libnsl_hidden_tls_def): Likewise.
5126 (libnss_nisplus_hidden_tls_def): Likewise.
5127 (libutil_hidden_tls_def): Likewise.
5128 (libutil_hidden_tls_def): Likweise.
5129 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5130 libc_hidden_tls_def.
5131 (__sim_disabled_exceptions_thread): Likewise.
5132 (__sim_round_mode_thread): Likewise.
5134 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5135 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5136 copy attributes from name.
5138 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5141 Use __attribute_copy__ to copy attributes from name.
5143 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5144 with __hidden_ver1 call.
5145 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5146 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5147 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5148 (__cosf): Do not declare here.
5149 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5150 (__sincosf): Do not declare here.
5151 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5152 (__sinf): Do not declare here.
5154 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5155 (__BIG_ENDIAN): Likewise.
5156 (__BYTE_ORDER): Likewise.
5157 (strong_alias): Likewise.
5158 (_strong_alias): Likewise.
5160 2018-11-12 Florian Weimer <fweimer@redhat.com>
5162 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5163 function. Move after the definition of in_smallbin_range. Do not
5164 use __builtin_expect for paths that lead to a noreturn function.
5165 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5166 because it is unclear whether this is in fact an unlikely
5168 (_int_malloc, _int_free): Adjust.
5169 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5171 * malloc/arena.c (heap_trim): Likewise.
5173 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5175 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5176 it, free it if needed.
5177 (reauthenticate): Test and use ccwdir.
5178 (child_init_port): In non-resetids case, test and use ccwdir.
5179 (child_chdir): New nested function to set ccwdir.
5180 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5181 * hurd/hurd/port.h (_hurd_port_move): New function.
5182 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5183 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5184 * hurd/Versions (_hurd_port_move): Export function.
5185 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5187 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5188 of dtablesize for allocating dtable_cloexec.
5190 2018-11-09 Martin Sebor <msebor@redhat.com>
5192 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5193 it's already defined.
5194 (_strong_alias): Use __attribute_copy__.
5195 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5196 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5197 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5198 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5199 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5200 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5201 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5202 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5203 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5204 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5205 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5206 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5207 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5208 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5209 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5210 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5211 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5212 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5213 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5215 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5217 * misc/tst-efgcvt.c: Include support/check.h and
5218 support/test-driver.c. Do not include test-skeleton.c.
5219 (error_count): Remove.
5220 (output_error): Replace increments to error_count with calls to
5221 support_record_failure.
5222 (output_r_error): Likewise.
5223 (special): Likewise.
5224 (do_test): Unconditionally return zero.
5225 (TEST_FUNCTION): Remove.
5227 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5229 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5231 ($(linknamespace-header-tests)): Likewise.
5233 * conform/conformtest.py: New file.
5234 * conform/conformtest.pl: Remove.
5235 * conform/GlibcConform.pm: Likewise.
5236 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5237 (KEYWORDS_C99): Likewise.
5238 (KEYWORDS): Likewise.
5239 * conform/Makefile ($(conformtest-header-tests)): Use
5240 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5241 option. Use --header instead of --headers.
5242 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5244 * conform/data/spawn.h-data: Likewise.
5245 * conform/data/fcntl.h-data (openat): Add space after function
5247 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5248 (wcscasecmp_l): Likewise.
5249 * conform/data/termios.h-data (c_cc): Add space after element
5252 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5254 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5255 instead of manually comparing and reporting mismatching strings.
5256 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5257 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5259 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5261 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5262 __ASSUME_SOCKETCALL.
5263 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5264 (__ASSUME_SOCKETCALL): Remove.
5265 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5266 (__ASSUME_SOCKETCALL): Likewise.
5267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5268 (__ASSUME_SOCKETCALL): Likewise.
5269 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5270 (__ASSUME_SOCKETCALL): Likewise.
5271 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5272 (__ASSUME_SOCKETCALL): Likewise.
5273 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5274 (__ASSUME_SOCKETCALL): Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5276 (__ASSUME_SOCKETCALL): Likewise.
5278 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5281 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5282 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5283 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5284 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5285 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5288 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5291 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5293 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5297 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5299 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5301 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5303 * support/support_test_compare_string.c
5304 (support_test_compare_string): Fix printf format.
5306 2018-11-07 Florian Weimer <fweimer@redhat.com>
5308 Implement TEST_COMPARE_STRING.
5309 * support/check.h (TEST_COMPARE_STRING): Define.
5310 (support_test_compare_string): Declare.
5311 * support/Makefile (libsupport-routines): Add
5312 support_test_compare_string.
5313 (tests): Add tst-test_compare_string.
5314 * support/support_test_compare_string.c: New file.
5315 * support/tst-test_compare_string.c: Likewise.
5317 2018-11-07 Andreas Schwab <schwab@suse.de>
5320 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5321 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5324 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5327 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5328 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5329 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5330 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5333 2018-11-06 Florian Weimer <fweimer@redhat.com>
5336 * posix/Makefile (routines): Add spawn_faction_addchdir.
5337 (tests): Add tst-spawn-chdir.
5338 * posix/Versions (GLIBC_2.29): Add
5339 posix_spawn_file_actions_addchdir_np.
5340 * posix/spawn_faction_addchdir.c: New file.
5341 * posix/spawn_faction_destroy.c
5342 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5343 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5344 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5346 * posix/tst-spawn-chdir.c: New file.
5347 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5348 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5349 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5350 posix_spawn_file_actions_addchdir_np.
5351 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5353 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5355 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5356 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5358 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5360 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5362 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5364 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5366 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5368 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5369 (GLIBC_2.29): Likewise.
5370 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5371 (GLIBC_2.29): Likewise.
5372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5373 (GLIBC_2.29): Likewise.
5374 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5375 (GLIBC_2.29): Likewise.
5376 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5379 (GLIBC_2.29): Likewise.
5380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5381 (GLIBC_2.29): Likewise.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5383 (GLIBC_2.29): Likewise.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5385 (GLIBC_2.29): Likewise.
5386 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5388 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5390 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5392 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5393 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5395 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5397 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5399 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5402 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5404 * misc/Makefile (tests): Add tst-ldbl-error.
5405 * misc/tst-ldbl-error.c: New file.
5407 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5409 * misc/Makefile (tests): Add tst-ldbl-warn.
5410 * misc/tst-ldbl-warn.c: New file.
5412 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5414 * argp/Makefile (tests): Add tst-ldbl-argp.
5415 * argp/tst-ldbl-argp.c: New file.
5417 2018-11-05 Arjun Shankar <arjun@redhat.com>
5419 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5420 __gconv_path_elem and call __gconv_get_path unconditionally.
5422 2018-11-05 Andreas Schwab <schwab@suse.de>
5425 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5426 creating the first helper thread failed.
5428 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5430 * sysdeps/mach/hurd/msync.c: New file.
5432 2018-11-02 Florian Weimer <fweimer@redhat.com>
5434 * support/shell-container.c (copy_func): Call
5435 support_copy_file_range instead of copy_file_range to support
5436 cross-device copies.
5438 2018-11-02 Florian Weimer <fweimer@redhat.com>
5440 * support/test-container.c: Include <libc-pointer-arith.h> for
5443 2018-11-01 Zong Li <zong@andestech.com>
5445 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5446 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5447 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5448 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5450 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5451 variable to avoid overlap arguments.
5453 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5455 * posix/bug-regex22.c (main): Use puts with distinct error
5456 messages for unexpected success of re_compile_pattern, not printf
5457 with NULL argument to %s.
5459 * stdio-common/bug22.c: Include <libc-diag.h>.
5460 (do_test): Disable -Wformat-overflow= warnings around fprintf
5461 calls outputting more than INT_MAX characters.
5462 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5463 around printf call with NULL %s argument.
5466 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5467 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5469 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5470 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5471 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5472 (__ASSUME_SENDTO_SYSCALL): Likewise.
5473 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5474 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5476 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5477 (__ASSUME_CONNECT_SYSCALL): Likewise.
5478 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5479 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5480 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5482 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5484 [__LINUX_KERNEL_VERSION >= 0x040400]
5485 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5489 (setsockopt): Likewise.
5491 2018-11-01 Fredrik Noring <noring@nocrew.org>
5493 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5494 with the ISA override.
5496 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5498 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5501 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5503 * manual/errno.texi (EIEIO): Document how translators should
5504 translate the error message.
5505 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5506 printing trailing whitespaces refused by git.
5507 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5508 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5509 * hurd/Makefile (user-interfaces): Add pci.
5511 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5513 * conform/linknamespace.py: New file.
5514 * conform/linknamespace.pl: Remove file.
5515 * conform/Makefile ($(linknamespace-header-tests)): Use
5516 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5519 2018-10-30 Florian Weimer <fweimer@redhat.com>
5521 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5524 2018-10-30 Florian Weimer <fweimer@redhat.com>
5526 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5528 2018-10-30 Florian Weimer <fweimer@redhat.com>
5530 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5531 support_blob_repeat.
5533 2018-10-30 Florian Weimer <fweimer@redhat.com>
5535 Avoid spurious test failures in stdlib/test-bz22786.
5536 * support/Makefile (libsupport-routines): Add blob_repeat.
5537 (tests): Add tst-support_blob_repeat.
5538 * support/blob_repeat.h: New file.
5539 * support/blob_repeat.c: Likewise.
5540 * support/tst-support_blob_repeat.c: Likewise.
5541 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5542 support_blob_repeat_allocate.
5544 2018-10-30 Andreas Schwab <schwab@suse.de>
5547 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5548 Don't use tail call.
5549 * elf/tst-unwind-main.c: New file.
5550 * elf/Makefile (tests): Add tst-unwind-main.
5551 (CFLAGS-tst-unwind-main.c): Define.
5553 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5556 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5558 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5560 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5562 * conform/glibcconform.py: Do not import shutil.
5563 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5566 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5567 critic_missing for versions before 3.4.
5568 * configure: Regenerated.
5569 * manual/install.texi (Tools for Compilation): Document
5570 requirement for Python to build glibc.
5571 * INSTALL: Regenerated.
5572 * Rules [PYTHON]: Make code unconditional.
5573 * benchtests/Makefile [PYTHON]: Likewise.
5574 * conform/Makefile [PYTHON]: Likewise.
5575 * manual/Makefile [PYTHON]: Likewise.
5576 * math/Makefile [PYTHON]: Likewise.
5578 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5580 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5581 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5582 answer to interrupt_operation, return EIEIO instead of EINTR.
5583 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5584 _hurd_intr_rpc_msg_about_to global point to start of controlled
5585 assembly snippet. Make it check canceled flag.
5586 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5587 the _hurd_intr_rpc_msg_about_to point.
5588 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5589 issue, remove cancel flag check.
5591 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5593 * scripts/build-many-glibcs.py: Remove compatibility for missing
5594 os.cpu_count and re.fullmatch.
5596 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5599 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5600 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5601 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5603 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5605 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5608 2018-10-25 Florian Weimer <fweimer@redhat.com>
5612 XFAIL siginfo_t si_band conform test on sparc64.
5613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5614 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5615 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5616 (conformtest-xfail-conds): Add sparc64-linux.
5617 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5619 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5621 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5623 * elf/elf.h (NT_MIPS_DSP): New macro.
5624 (NT_MIPS_FP_MODE): Likewise.
5626 2018-10-25 Zong Li <zong@andestech.com>
5628 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5629 name by adding the file extension (.so).
5631 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5633 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5634 (test-xfail-ISO11/threads.h/linknamespace,
5635 test-xfail-ISO11/threads.h/conform): Add.
5637 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5639 * math/gen-libm-test.py: Import os.
5640 (ALL_FLOATS_MANUAL): New constant.
5641 (ALL_FLOATS_SUFFIX): Likewise.
5642 (Ulps.all_functions): New function.
5643 (real_all_ulps): Likewise.
5644 (generate_err_table_sub): Likewise.
5645 (generate_err_table): Likewise.
5646 (main): Handle -s and -m options.
5647 * manual/libm-err-tab.pl: Remove.
5648 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5649 instead of libm-err-tab.pl.
5650 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5652 * manual/install.texi (Tools for Compilation): Document
5653 requirement for Python to build manual.
5654 * INSTALL: Regenerated.
5656 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5658 * bits/time64.h: New file.
5659 * include/time.h: Replace internal_time_t with __time64_t.
5660 * posix/bits/types (__time64_t): Add.
5661 * stdlib/Makefile: Add bits/time64.h to includes.
5662 * time/tzfile.c: Replace internal_time_t with __time64_t.
5664 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5666 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5667 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5668 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5669 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5670 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5672 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5673 * posix/spawn_faction_addclose.c
5674 (__posix_spawn_file_actions_addclose): Add hidden definition.
5675 * posix/spawn_faction_adddup2.c
5676 (__posix_spawn_file_actions_adddup2): Likewise.
5677 * posix/spawn_faction_destroy.c
5678 (__posix_spawn_file_actions_destroy): Likewise.
5679 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5681 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5682 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5683 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5685 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5686 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5689 2018-10-24 Andreas Schwab <schwab@suse.de>
5692 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5694 * elf/cache.c (print_cache): Likewise.
5696 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5698 * bits/timesize.h: New file.
5699 * stdlib/Makefile (headers): Add bits/timesize.h.
5700 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5701 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5702 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5703 (__SEM_PAD_AFTER_TIME): Likewise.
5704 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5705 (__SHM_PAD_AFTER_TIME): Likewise.
5706 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5707 (__MSQ_PAD_BEFORE_TIME): Likewise.
5708 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5709 (__SEM_PAD_BEFORE_TIME): Likewise.
5710 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5711 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5712 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5713 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5715 (__MSQ_PAD_BEFORE_TIME): Likewise.
5716 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5717 (__SEM_PAD_BEFORE_TIME): Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5719 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5721 (__MSQ_PAD_BEFORE_TIME): Likewise.
5722 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5723 (__SEM_PAD_BEFORE_TIME): Likewise.
5724 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5725 (__SHM_PAD_BEFORE_TIME): Likewise.
5726 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5727 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5728 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5730 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5732 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5733 USE_RDTSCP is defined.
5734 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5735 USE_RDTSCP is defined.
5737 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5739 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5743 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5744 independently of other flags.
5746 2018-10-23 Florian Weimer <fweimer@redhat.com>
5748 * time/tst-mktime2.c (N_STRINGS): Remove.
5749 (set_timezone): New function.
5750 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5751 (mktime_test1): Report localtime failure and check errno value.
5753 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5754 (do_test): Remove alarm call. Use set_timezone and array_length.
5756 2018-10-23 Andreas Schwab <schwab@suse.de>
5758 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5759 (__start_context): Use END instead of PSEUDO_END.
5761 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5766 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5770 * wcsmbs/c32rtomb.c: New file.
5771 * wcsmbs/mbrtoc32.c: Likewise.
5772 * wcsmbs/tst-c32-state.c: Likewise.
5773 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5774 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5775 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5776 (tests): Add tst-c32-state.
5777 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5780 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5782 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5783 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5785 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5788 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5789 pair and return 0 in that case, and use saved character to
5790 interpret following character.
5791 * wcsmbs/tst-c16-surrogate.c: New file.
5792 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5793 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5794 Depend on $(gen-locales)
5796 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5799 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5800 (struct siginfo_t): Use correct type for si_band.
5802 2018-10-19 Florian Weimer <fweimer@redhat.com>
5805 * resource/bits/types/struct_rusage.h (struct rusage): Update
5806 comment on struct. Remove extraneous field comment.
5808 2018-10-18 David S. Miller <davem@davemloft.net>
5810 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5811 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5812 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5813 sysdep_routines in subdir elf.
5814 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5815 version for __vdso_clock_gettime.
5816 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5818 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5819 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5821 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5823 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5825 * sysdeps/i386/init-arch.h: Removed.
5826 * sysdeps/i386/i586/init-arch.h: Likewise.
5827 * sysdeps/i386/i686/init-arch.h: Likewise.
5828 * sysdeps/i386/i686/hp-timing.h: Likewise.
5829 * sysdeps/x86_64/hp-timing.h: Likewise.
5830 * sysdeps/i386/isa.h: New file.
5831 * sysdeps/i386/i586/isa.h: Likewise.
5832 * sysdeps/i386/i686/isa.h: Likewise.
5833 * sysdeps/x86_64/isa.h: Likewise.
5834 * sysdeps/x86/hp-timing.h: New file.
5835 * sysdeps/x86/init-arch.h: Include <isa.h>.
5837 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5839 * math/libm-test-pow.inc (pow_test_data): Do not allow
5840 divide-by-zero exception for pow(+/- 0, -Inf).
5842 2018-10-17 Zack Weinberg <zackw@panix.com>
5844 * manual/job.texi (Job Control is Optional): Remove node, as
5845 job control has not been optional in quite some time.
5846 (Job Control): Mention briefly that systems older than
5847 POSIX.1-2001 might not support job control.
5848 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5849 defined on systems conforming to POSIX.1-2001.
5851 2018-10-17 Arjun Shankar <arjun@redhat.com>
5854 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5856 * (__gconv_read_conf): Mark function static.
5857 * (once): New static variable.
5858 * (__gconv_load_conf): New function.
5859 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5860 * iconv/gconv_db.c (once): Remove static variable.
5861 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5863 * (__gconv_find_transform): Likewise.
5864 * iconv/tst-iconv-mt.c: New test.
5865 * iconv/Makefile: Add tst-iconv_mt.
5867 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5871 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5872 (shmatt_t): Define as __syscall_ulong_t.
5873 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5874 and [__SHM_PAD_AFTER_TIME].
5875 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5876 Define shm_segsz and associated padding based on
5877 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5878 Use __syscall_ulong_t instead of unsigned long int.
5879 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5881 [__USE_MISC] (struct shm_info): Likewise.
5882 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5883 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5884 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5886 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5887 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5888 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5889 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5896 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5897 (SHMLBA): Remove macro.
5898 (__getpagesize): Remove function declaration.
5899 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5901 (SHMLBA): Remove macro.
5902 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5904 (SHMLBA): Remove macro.
5905 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5907 (SHMLBA): Remove macro.
5908 (__getpagesize): Remove function declaration.
5909 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5911 (SHMLBA): Remove macro.
5912 (__getshmlba): Remove function declaration.
5913 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5914 (SHMLBA): Remove macro.
5915 (__getpagesize): Remove function declaration.
5916 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5917 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5919 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5920 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5921 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5922 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5923 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5924 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5925 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5927 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5930 * nptl/tst-mutex10.c: New File.
5931 * nptl/Makefile (tests): Add tst-mutex10.
5932 (tst-mutex10-ENV): New variable.
5933 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5934 Ensure that elision path is used if elision is available.
5935 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5937 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5939 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5940 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5941 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5942 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5944 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5945 (__pthread_mutex_cond_lock_adjust): Likewise.
5946 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5948 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5949 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5950 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5951 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5953 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5954 Use atomic_load_relaxed and atomic_store_relaxed.
5955 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5956 Use atomic_store_relaxed.
5958 2018-10-17 Andreas Schwab <schwab@suse.de>
5960 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5961 * crypt/badsalttest.c (TIMEOUT): Likewise.
5962 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5963 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5964 * io/test-lfs.c (TIMEOUT): Likewise.
5965 * libio/tst-atime.c (TIMEOUT): Likewise.
5966 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5967 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5968 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5969 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5970 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5971 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5972 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5973 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5974 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5975 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5976 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5977 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5978 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5979 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5980 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5981 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5982 * nptl/tst-once2.c (TIMEOUT): Likewise.
5983 * nptl/tst-once3.c (TIMEOUT): Likewise.
5984 * nptl/tst-once4.c (TIMEOUT): Likewise.
5985 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5986 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5987 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5988 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5989 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5990 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5991 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5992 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5993 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5994 * posix/tst-chmod.c (TIMEOUT): Likewise.
5995 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5996 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5997 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5998 * posix/tst-regex2.c (TIMEOUT): Likewise.
5999 * posix/tst-waitid.c (TIMEOUT): Likewise.
6000 * rt/tst-aio.c (TIMEOUT): Likewise.
6001 * rt/tst-aio10.c (TIMEOUT): Likewise.
6002 * rt/tst-aio4.c (TIMEOUT): Likewise.
6003 * rt/tst-aio5.c (TIMEOUT): Likewise.
6004 * rt/tst-aio6.c (TIMEOUT): Likewise.
6005 * rt/tst-aio64.c (TIMEOUT): Likewise.
6006 * rt/tst-aio7.c (TIMEOUT): Likewise.
6007 * rt/tst-aio9.c (TIMEOUT): Likewise.
6008 * rt/tst-clock.c (TIMEOUT): Likewise.
6009 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6010 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6011 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6012 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6013 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6014 * rt/tst-timer4.c (TIMEOUT): Likewise.
6015 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6016 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6017 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6018 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6019 * time/tst-ftime.c (TIMEOUT): Likewise.
6020 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6022 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6024 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6025 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6028 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6032 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6033 instead of <bits/wordsize.h>.
6034 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6035 and [__SEM_PAD_AFTER_TIME].
6036 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6037 __syscall_ulong_t instead of unsigned long int.
6038 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6039 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6040 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6041 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6043 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6044 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6045 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6048 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6050 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6052 regex: simplify by using intprops.h
6054 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6055 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6056 intprops.h defines them.
6058 regex: __builtin_expect → __glibc_unlikely
6060 This refactoring was prompted by a problem when the regex code is
6061 used as part of Gnulib and when the builder’s compiler does not grok
6062 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6063 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6064 Although this refactoring does not fix the problem directly,
6065 we might as well have Gawk use the now-preferred glibc style for when
6066 __builtin_expect is unavailable.
6067 * posix/regex_internal.h (BE): Remove.
6068 All uses replaced by __glibc_unlikely or __glibc_likely.
6070 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6074 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6075 instead of <bits/wordsize.h>.
6076 (msgqnum_t): Define as __syscall_ulong_t.
6077 (msglen_t): Likewise.
6078 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6079 and [__MSQ_PAD_AFTER_TIME].
6080 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6081 __syscall_ulong_t instead of unsigned long int.
6082 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6083 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6084 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6087 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6088 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6089 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6091 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6092 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6094 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6096 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6097 (struct shmid_ds): Condition padding after time fields on
6099 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6100 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6101 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6103 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6104 (struct semid_ds): Condition padding after time fields on
6106 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6107 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6108 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6109 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6111 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6112 (struct msqid_ds): Condition padding after time fields on
6114 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6115 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6116 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6119 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6121 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6123 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6125 * libio/tst-readline.c (TIMEOUT): Define.
6127 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6129 mktime fix for Gnulib + coreutils
6131 This fix affects only Gnulib. Problem discovered when
6132 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6134 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6135 Do not define since it is not used. Defining an unused static
6136 function prompts a warning from GCC when Coreutils is configured
6137 with --enable-gcc-warnings.
6139 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6141 * benchtests/scripts/compare_bench.py (main): set float type on
6144 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6147 * localedata/locales/kl_GL (mon): Update, the relative case.
6148 (alt_mon): Add, fill with month names in the nominative case.
6149 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6150 (d_fmt): Set to "%b %d %Y".
6152 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6154 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6155 <bits/mman-linux.h>.
6156 (PROT_READ): Don't define here.
6157 (PROT_WRITE): Likewise.
6158 (PROT_EXEC): Likewise.
6159 (PROT_NONE): Likewise.
6160 (PROT_GROWSDOWN): Likewise.
6161 (PROT_GROWSUP): Likewise.
6162 (MAP_SHARED): Likewise.
6163 (MAP_PRIVATE): Likewise.
6164 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6165 [__USE_MISC] (MAP_FILE): Likewise.
6166 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6167 [__USE_MISC] (MAP_ANON): Likewise.
6168 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6169 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6170 (MCL_CURRENT): Likewise.
6171 (MCL_FUTURE): Likewise.
6172 (MCL_ONFAULT): Likewise.
6173 [__USE_MISC] (MADV_NORMAL): Likewise.
6174 [__USE_MISC] (MADV_RANDOM): Likewise.
6175 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6176 [__USE_MISC] (MADV_WILLNEED): Likewise.
6177 [__USE_MISC] (MADV_DONTNEED): Likewise.
6178 [__USE_MISC] (MADV_FREE): Likewise.
6179 [__USE_MISC] (MADV_REMOVE): Likewise.
6180 [__USE_MISC] (MADV_DONTFORK): Likewise.
6181 [__USE_MISC] (MADV_DOFORK): Likewise.
6182 [__USE_MISC] (MADV_HWPOISON): Likewise.
6183 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6184 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6185 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6186 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6187 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6188 (__MAP_ANONYMOUS): New macro.
6189 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6190 <bits/mman-linux.h> inclusion.
6191 (MAP_FIXED): Likewise.
6192 (MS_SYNC): Likewise.
6193 (MS_ASYNC): Likewise.
6194 (MS_INVALIDATE): Likewise.
6195 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6196 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6197 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6198 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6199 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6200 [__USE_MISC] (MADV_DODUMP): Likewise.
6201 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6202 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6205 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6207 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6208 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6209 Add test-nldbl-redirect.
6210 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6211 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6212 $(objpfx)libnldbl_nonshared.a.
6214 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6216 * support/support.h (support_objdir_elf_ldso): New variable.
6217 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6218 * support/Makefile (CFLAGS-support_paths.c): Add definition
6219 for OBJDIR_ELF_LDSO_PATH.
6220 * support/test-container.c (main): Search for the ld.so
6221 which is also used by the testsuite.
6223 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6226 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6227 should be "sap" rather than "sab".
6228 (day): Fix spelling of Sunday, should be "sapaat" rather than
6231 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6233 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6235 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6238 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6239 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6240 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6242 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6244 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6246 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6248 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6250 (CFLAGS-elision-unlock.c): Likewise.
6251 (CFLAGS-elision-timed.c): Likewise.
6252 (CFLAGS-elision-trylock.c): Likewise.
6253 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6255 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6258 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6259 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6260 new fd_to_filename interface.
6261 * libio/freopen64.c (freopen64): Likewise.
6262 * libio/tst-memstream.h: New file.
6263 * libio/tst-memstream4.c: Likewise.
6264 * libio/tst-wmemstream4.c: Likewise.
6265 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6266 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6267 and remove internal dynamic allocation.
6269 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6272 (MREMAP_MAYMOVE): Do not define here.
6273 [__USE_GNU] (MREMAP_FIXED): Likewise.
6274 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6275 (MREMAP_MAYMOVE): Define here instead.
6276 [__USE_GNU] (MREMAP_FIXED): Likewise.
6277 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6278 (MREMAP_MAYMOVE): Remove.
6279 [__USE_GNU] (MREMAP_FIXED): Likewise.
6281 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6283 * math/fromfp.h: Do not include <math_private.h>.
6284 * math/s_cacosh_template.c: Likewise.
6285 * math/s_casin_template.c: Likewise.
6286 * math/s_casinh_template.c: Likewise.
6287 * math/s_ccos_template.c: Likewise.
6288 * math/s_cproj_template.c: Likewise.
6289 * math/s_fdim_template.c: Likewise.
6290 * math/s_fmaxmag_template.c: Likewise.
6291 * math/s_fminmag_template.c: Likewise.
6292 * math/s_iseqsig_template.c: Likewise.
6293 * math/s_ldexp_template.c: Likewise.
6294 * math/s_nextdown_template.c: Likewise.
6295 * math/w_log1p_template.c: Likewise.
6296 * math/w_scalbln_template.c: Likewise.
6297 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6298 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6299 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6300 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6301 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6302 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6303 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6304 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6305 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6306 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6307 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6308 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6309 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6310 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6311 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6312 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6313 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6318 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6319 * sysdeps/ieee754/k_standardf.c: Likewise.
6320 * sysdeps/ieee754/k_standardl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6323 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6330 * sysdeps/ieee754/s_signgam.c: Likewise.
6331 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6332 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6333 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6334 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6335 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6336 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6337 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6338 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6339 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6340 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6341 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6342 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6343 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6344 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6345 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6346 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6347 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6348 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6349 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6350 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6351 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6352 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6353 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6354 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6355 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6356 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6357 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6358 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6359 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6360 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6361 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6362 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6363 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6364 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6365 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6366 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6367 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6369 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6371 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6374 * sysdeps/i386/dl-cet.c: Removed.
6375 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6377 (_dl_runtime_profile_shstk): Likewise.
6378 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6379 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6381 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6384 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6385 do_test_with_invalid_iov): New tests.
6386 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6387 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6388 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6390 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6391 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6392 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6394 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6396 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6397 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6398 (MATH_REDIRECT_BINARY_ARGS): New macro.
6399 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6400 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6401 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6403 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6405 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6416 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6417 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6422 * sysdeps/generic/math_private_calls.h
6423 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6424 Do not declare and define as an inline function.
6425 * math/divtc3.c (__divtc3): Use copysign functions instead of
6426 __copysign variants.
6427 * math/multc3.c (__multc3): Likewise.
6428 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6429 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6430 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6431 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6433 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6434 (__ieee754_yn): Likewise.
6435 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6436 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6439 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6441 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6448 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6449 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6451 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6452 (__ieee754_ynf): Likewise.
6453 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6454 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6459 (__ieee754_ynl): Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6465 (__ieee754_ynl): Likewise.
6466 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6471 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6475 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6476 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6477 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6479 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6480 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6481 using MATH_REDIRECT.
6482 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6484 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6487 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6495 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6496 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6498 (round): Redirect to __round.
6499 (__roundl): Call round instead of __round.
6500 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6502 [_ARCH_PWR5X] (__roundf): Likewise.
6503 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6504 functions instead of __round variants.
6505 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6506 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6512 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6515 (__ieee754_expl): Call roundl instead of __roundl.
6517 2018-09-27 Andreas Schwab <schwab@suse.de>
6520 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6521 (do_test): Make st1 static.
6523 2018-09-26 Andreas Schwab <schwab@suse.de>
6526 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6527 * elf/Makefile (tests): Add tst-unwind-ctor.
6528 (modules-names): Add tst-unwind-ctor-lib.
6529 ($(objpfx)tst-unwind-ctor): Depend on
6530 $(objpfx)tst-unwind-ctor-lib.so.
6532 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6535 file. Most contents moved from ....
6536 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6537 and include <bits/mman-map-flags-generic.h>.
6538 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6539 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6540 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6541 <bits/mman-map-flags-generic.h>.
6542 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6543 macros defined in <bits/mman-map-flags-generic.h>.
6544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6545 <bits/mman-map-flags-generic.h>.
6546 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6547 defined in <bits/mman-map-flags-generic.h>.
6549 2018-09-26 Andreas Schwab <schwab@suse.de>
6551 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6554 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6555 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6556 Fangrui Song <maskray@google.com>
6559 * config.make.in (have-textrel_ifunc): New define.
6560 * configure.ac: Add check if linker supports textrel relocation with
6562 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6564 (CFLAGS-tst-ifunc-textrel.c): New rule.
6565 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6566 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6567 * elf/tst-ifunc-textrel.c: New file.
6569 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6571 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6572 <bits/procfs-prregset.h>.
6573 (prgregset_t): Define using __prgregset_t.
6574 (prfpregset_t): Define using __prfpregset_t.
6575 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6576 (sysdep_headers): Add bits/procfs-prregset.h.
6577 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6578 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6579 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6580 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6582 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6583 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6584 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6586 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6587 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6588 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6589 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6590 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6591 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6592 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6593 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6594 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6595 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6596 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6597 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6598 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6599 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6600 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6601 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6602 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6603 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6604 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6605 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6606 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6607 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6608 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6609 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6611 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6612 AArch64 version. Include <bits/procfs.h>.
6613 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6614 (sysdep_headers): Add bits/procfs.h.
6615 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6616 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6617 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6618 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6619 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6620 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6621 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6623 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6624 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6625 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6626 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6627 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6628 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6629 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6631 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6633 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6635 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6638 2018-09-25 Arjun Shankar <arjun@redhat.com>
6640 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6641 (__gconv_max_path_elem_len): Likewise.
6642 (__gconv_nmodules): Likewise.
6643 (__gconv_get_path): Likewise.
6644 (path_elem): Move to ...
6645 * iconv/gconv_conf.c: ... here.
6646 (__gconv_get_path): Mark function static.
6647 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6648 * iconv/gconv_open.c: ... here.
6650 2018-09-24 Andreas Schwab <schwab@suse.de>
6652 * scripts/haveversions.awk: New file.
6653 * Makerules ($(common-objpfx)Versions.def)
6654 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6655 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6657 * Makeconfig ($(common-objpfx)Versions.def)
6658 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6659 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6661 ($(common-objpfx)Versions.mk): New rule. Include it.
6662 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6663 Emit error if build-obsolete-nsl = yes.
6664 * manual/install.texi (Configuring and compiling): Describe
6665 --enable-obsolete-nsl as unavaiable after version 2.28.
6666 * INSTALL: Regenerate.
6668 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6670 * NEWS: Add note about new TLE support on powerpc64le.
6671 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6672 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6674 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6675 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6676 * sysdeps/powerpc/powerpc32/sysdep.h,
6677 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6678 ABORT_TRANSACTION): Remove macros.
6679 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6681 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6683 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6684 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6686 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6688 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6691 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6692 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6693 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6694 which is the same as in it_IT.
6695 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6696 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6698 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6700 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6701 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6702 using MATH_REDIRECT.
6703 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6705 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6707 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6709 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6715 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6716 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6717 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6718 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6719 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6720 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6721 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6723 (ceil): Redirect to __ceil.
6724 (floor): Redirect to __floor.
6725 (trunc): Redirect to __trunc.
6726 (__truncl): Call trunc instead of __trunc.
6727 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6729 [_ARCH_PWR5X] (__truncf): Likewise.
6730 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6731 trunc functions instead of __trunc variants.
6732 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6734 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6738 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6741 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6742 [__i586__ || __pentium__].
6743 [__i486__]: Handle explicitly.
6744 (HAS_CPUID): Define to 1 if above macros are undefined.
6745 (HAS_I586): Likewise.
6746 (HAS_I686): Likewise.
6748 2018-09-20 Florian Weimer <fweimer@redhat.com>
6750 * misc/tst-gethostid.c: New file.
6751 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6752 (tst-gethostid): Link with -ldl.
6754 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6756 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6757 value from gethostbyname_r.
6759 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6761 * stdlib/tst-setcontext9.c (f1): Rename to...
6763 (f1b): New function implementing lower half of f1 in alternate stack.
6765 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6767 Fix mktime localtime offset confusion
6769 * include/time.h (__mktime_internal): The localtime offset is now
6770 of type long int instead of time_t. This is the longstanding type
6771 in glibc, and it is more than enough to represent difference
6772 between localtime and gmtime even if it is 32 bits and time_t is
6773 64. Changing it now will let us avoid an unnecessary change when
6774 time_t is widened to 64 bits on 32-bit platforms.
6775 * time/mktime-internal.h (mktime_offset_t): Now long int.
6777 Merge mktime, timegm from upstream Gnulib
6778 [BZ #23603][BZ #16346]
6779 This fixes some obscure problems with integer overflow.
6780 Although it looks scary, it is almost all a byte-for-byte copy
6781 from Gnulib, and the Gnulib code has been tested reasonably well.
6782 * include/intprops.h: New file, copied from Gnulib.
6783 * include/verify.h, time/mktime-internal.h:
6784 New tiny files, simplified from Gnulib.
6785 * time/mktime.c: Copy from Gnulib. This has the following changes:
6786 Do not include config.h if DEBUG_MKTIME is nonzero.
6787 Include stdbool.h, intprops.h, verify.h.
6788 Include string.h only if needed.
6789 Include stdlib.h on MS-Windows.
6790 Include mktime-internal.h.
6791 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6792 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6793 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6794 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6795 simplify later conditionals; default the others to zero. Use
6796 these conditionals to express only the code needed on the current
6797 platform. In uses of these conditionals, explicitly spell out how
6798 _LIBC affects things, so it’s easier to review from a glibc
6800 (WRAPV): Remove; no longer needed now that we have
6801 systematic overflow checking.
6802 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6803 compartmentalize tzset issues. Move system-dependent tzsettish
6804 code here from mktime.
6805 (verify): Remove; now done by verify.h. All uses changed.
6806 (long_int): Use a more-conservative definition, to avoid
6808 (SHR): Remove, replacing with ...
6809 (shr): New function, which means we needn’t worry about side
6810 effects in args, and conversion analysis is simpler.
6811 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6812 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6813 (time_t_avg, time_t_add_ok): Remove.
6814 (mktime_min, mktime_max): New constants.
6815 (leapyear, isdst_differ): Use bool for booleans.
6816 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6817 Use long_int, not time_t, for mktime differences.
6818 (long_int_avg): New function, replacing time_t_avg.
6819 INT_ADD_WRAPV replaces time_t_add_ok.
6820 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6822 (convert_time): New function.
6823 (ranged_convert): Use it.
6824 (__mktime_internal): Last arg now points to mktime_offset_t, not
6825 time_t. All uses changed. This is a no-op on glibc, where
6826 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6827 offset guess. Directly check for integer overflow instead of
6828 using a heuristic that works only 99.9...% of the time.
6829 Access *OFFSET only once, to avoid an unlikely race if the
6830 compiler delays a load and if this cascades into a signed integer
6832 (mktime): Move tzsettish code to my_tzset, and move
6833 localtime_offset to within mktime so that it doesn’t
6834 need a separate ifdef.
6835 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6836 instead of localtime.
6837 * time/timegm.c: Copy from Gnulib. This has the following changes:
6838 Include mktime-internal.h.
6839 [!_LIBC]: Include config.h and time.h. Do not include
6840 timegm.h or time_r.h. Make __mktime_internal a macro,
6841 and include mktime-internal.h to get its declaration.
6842 (timegm): Temporary is now mktime_offset_t, not time_t.
6843 This affects only Gnulib.
6845 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6848 * string/test-strstr.c (pr23637): New function.
6849 (test_main): Add tests with longer needles.
6850 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6851 * string/strstr.c (AVAILABLE): Likewise.
6853 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6855 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6857 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6859 * NEWS: Mention pow improvements.
6860 * math/Makefile (type-double-routines): Add e_pow_log_data.
6861 * sysdeps/generic/math_private.h (__exp1): Remove.
6862 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6863 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6864 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6866 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6867 (exp_inline): Remove.
6868 (__ieee754_exp): Only single double input is handled.
6869 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6870 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6871 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6872 (__pow_log_data): Define.
6873 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6874 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6875 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6878 (CFLAGS-e_pow-fma4.c): Likewise.
6880 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6882 Simplify tzfile fstat failure code
6884 * time/tzfile.c (__tzfile_read): Simplify slightly.
6886 Fix tzfile low-memory assertion failure
6888 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6889 when registering time zone abbreviations.
6891 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6893 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6894 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6895 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6896 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6897 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6898 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6899 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6900 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6905 (__ceill): Call ceil instead of __ceil.
6906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6908 (__floorl): Call floor instead of __floor.
6910 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6912 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6913 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6914 using MATH_REDIRECT.
6915 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6917 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6920 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6921 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6924 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6929 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6930 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6933 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6934 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6935 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6937 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6938 functions instead of __ceil variants.
6939 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6940 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6944 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6947 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6948 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6951 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6953 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6954 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6955 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6956 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6957 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6958 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6959 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6960 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6961 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6962 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6963 (ILL_BADIADDR): Remove constant.
6964 (TRAP_BRANCH): Likewise.
6965 (TRAP_HWBKPT): Likewise.
6967 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6970 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6971 Remove [_MIPS_SIM = _ABIN32] conditional case.
6972 (struct elf_prpsinfo): Likewise.
6975 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6976 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6977 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6979 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6980 elf_prpsinfo): Likewise.
6981 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6982 elf_prpsinfo): Likewise.
6983 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6986 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6987 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6988 using MATH_REDIRECT.
6989 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6991 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6992 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6993 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6994 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6997 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6998 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7001 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7002 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7003 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7004 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7005 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7006 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7007 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7008 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7009 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7014 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7015 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7016 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7017 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7019 * math/e_scalbf.c (invalid_fn): Likewise.
7020 * math/e_scalbl.c (invalid_fn): Likewise.
7021 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7023 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7025 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7026 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7027 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7033 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7034 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7036 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7037 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7039 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7040 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7041 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7042 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7043 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7044 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7045 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7046 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7047 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7048 && !NO_MATH_REDIRECT] (floor): Likewise.
7049 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7051 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7054 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7055 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7058 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7063 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7064 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7067 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7068 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7069 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7071 [_ARCH_PWR5X] (__floorf): Likewise.
7072 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7074 [__SSE4_1__] (__floorf): Likewise.
7075 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7076 instead of __floor variants.
7077 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7078 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7079 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7080 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7081 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7082 * math/w_tgamma_compat.c (__tgamma): Likewise.
7083 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7084 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7085 * math/w_tgammal_compat.c (__tgammal): Likewise.
7086 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7089 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7091 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7094 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7095 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7097 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7100 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7103 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7105 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7106 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7107 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7108 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7110 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7112 * elf/Makefile (modules-names-tests): New variable.
7114 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7116 * NEWS: Mention log2 improvements.
7117 * math/Makefile (type-double-routines): Add e_log2_data.
7118 * sysdeps/i386/fpu/e_log2_data.c: New file.
7119 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7120 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7121 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7122 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7123 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7124 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7126 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7128 * NEWS: Mention log improvement.
7129 * math/Makefile (type-double-routines): Add e_log_data.
7130 * sysdeps/i386/fpu/e_log_data.c: New file.
7131 * sysdeps/ia64/fpu/e_log_data.c: New file.
7132 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7133 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7134 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7135 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7136 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7137 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7139 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7140 Xuepeng Guo <xuepeng.guo@intel.com>
7143 * sysdeps/i386/start.S: Include <sysdep.h>
7144 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7145 enabled. Add cfi_undefined (eip).
7147 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7149 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7151 (EXTRACT_WORDS64): Likewise.
7152 (INSERT_WORDS64): Likewise.
7153 (GET_FLOAT_WORD): Likewise.
7154 (SET_FLOAT_WORD): Likewise.
7156 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7158 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7159 build, but not for second build if --full-gcc. Use
7160 --enable-languages=all for second build if --full-gcc.
7161 (get_parser): Add --full-gcc option.
7162 (main): Update call to Context.
7164 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7167 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7168 Single Quotation Mark).
7169 (thousands_sep): Likewise.
7170 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7171 * localedata/locales/it_IT (thousands_sep): Use ".".
7172 (grouping): Use "3;3".
7174 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7176 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7177 x86_64 and i686 configs using --enable-obsolete-rpc
7178 --enable-obsolete-nsl.
7180 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7182 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7184 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7186 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7187 Increment size of new_argv by one.
7189 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7192 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7193 * localedata/locales/ar_IN (d_fmt): Likewise.
7194 * localedata/locales/bhb_IN (d_fmt): Likewise.
7195 * localedata/locales/bho_IN (d_fmt): Likewise.
7196 * localedata/locales/bn_BD (d_fmt): Likewise.
7197 * localedata/locales/bn_IN (d_fmt): Likewise.
7198 * localedata/locales/doi_IN (d_fmt): Likewise.
7199 * localedata/locales/gu_IN (d_fmt): Likewise.
7200 * localedata/locales/hi_IN (d_fmt): Likewise.
7201 * localedata/locales/hne_IN (d_fmt): Likewise.
7202 * localedata/locales/kn_IN (d_fmt): Likewise.
7203 * localedata/locales/mag_IN (d_fmt): Likewise.
7204 * localedata/locales/mai_IN (d_fmt): Likewise.
7205 * localedata/locales/mjw_IN (d_fmt): Likewise.
7206 * localedata/locales/ml_IN (d_fmt): Likewise.
7207 * localedata/locales/mni_IN (d_fmt): Likewise.
7208 * localedata/locales/mr_IN (d_fmt): Likewise.
7209 * localedata/locales/pa_IN (d_fmt): Likewise.
7210 * localedata/locales/raj_IN (d_fmt): Likewise.
7211 * localedata/locales/sat_IN (d_fmt): Likewise.
7212 * localedata/locales/sd_IN (d_fmt): Likewise.
7213 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7214 * localedata/locales/ta_IN (d_fmt): Likewise.
7215 * localedata/locales/ta_LK (d_fmt): Likewise.
7216 * localedata/locales/tcy_IN (d_fmt): Likewise.
7217 * localedata/locales/ur_IN (d_fmt): Likewise.
7219 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7220 * localedata/locales/ks_IN (d_fmt): Likewise.
7221 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7223 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7224 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7225 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7226 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7228 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7230 * NEWS: Mention exp and exp2 improvements.
7231 * math/Makefile (libm-support): Remove t_exp.
7232 (type-double-routines): Add math_err and e_exp_data.
7233 * sysdeps/aarch64/libm-test-ulps: Update.
7234 * sysdeps/arm/libm-test-ulps: Update.
7235 * sysdeps/i386/fpu/e_exp_data.c: New file.
7236 * sysdeps/i386/fpu/math_err.c: New file.
7237 * sysdeps/i386/fpu/t_exp.c: Remove.
7238 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7239 * sysdeps/ia64/fpu/math_err.c: New file.
7240 * sysdeps/ia64/fpu/t_exp.c: Remove.
7241 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7242 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7243 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7245 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7246 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7247 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7248 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7249 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7250 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7251 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7252 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7253 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7254 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7258 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7260 * sysdeps/alpha/fpu/math_private.h: Remove.
7262 * sysdeps/generic/math_private.h
7263 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7264 Move this inline function ....
7265 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7266 * include/math.h [!_ISOMAC]: To here....
7268 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7270 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7272 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7273 * include/fenv.h [!_ISOMAC]: ... to here.
7274 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7275 (feraiseexcept): Likewise.
7276 * math/fromfp.h: Do not include <fenv_private.h>.
7277 * math/s_cexp_template.c: Likewise.
7278 * math/s_csin_template.c: Likewise.
7279 * math/s_csinh_template.c: Likewise.
7280 * math/s_ctan_template.c: Likewise.
7281 * math/s_ctanh_template.c: Likewise.
7282 * math/s_iseqsig_template.c: Likewise.
7283 * math/w_acos_compat.c: Likewise.
7284 * math/w_acosf_compat.c: Likewise.
7285 * math/w_acosl_compat.c: Likewise.
7286 * math/w_asin_compat.c: Likewise.
7287 * math/w_asinf_compat.c: Likewise.
7288 * math/w_asinl_compat.c: Likewise.
7289 * math/w_j0_compat.c: Likewise.
7290 * math/w_j0f_compat.c: Likewise.
7291 * math/w_j0l_compat.c: Likewise.
7292 * math/w_j1_compat.c: Likewise.
7293 * math/w_j1f_compat.c: Likewise.
7294 * math/w_j1l_compat.c: Likewise.
7295 * math/w_jn_compat.c: Likewise.
7296 * math/w_jnf_compat.c: Likewise.
7297 * math/w_log10_compat.c: Likewise.
7298 * math/w_log10f_compat.c: Likewise.
7299 * math/w_log10l_compat.c: Likewise.
7300 * math/w_log2_compat.c: Likewise.
7301 * math/w_log2f_compat.c: Likewise.
7302 * math/w_log2l_compat.c: Likewise.
7303 * math/w_log_compat.c: Likewise.
7304 * math/w_logf_compat.c: Likewise.
7305 * math/w_logl_compat.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7311 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7312 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7314 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7315 * sysdeps/ieee754/k_standardl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7333 * math/w_ilogb_template.c: Include <fenv.h> instead of
7335 * math/w_llogb_template.c: Likewise.
7336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7339 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7341 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7342 * math/fromfp.h: Include <fenv_private.h>.
7343 * math/math-narrow.h: Likewise.
7344 * math/s_cexp_template.c: Likewise.
7345 * math/s_csin_template.c: Likewise.
7346 * math/s_csinh_template.c: Likewise.
7347 * math/s_ctan_template.c: Likewise.
7348 * math/s_ctanh_template.c: Likewise.
7349 * math/s_iseqsig_template.c: Likewise.
7350 * math/w_acos_compat.c: Likewise.
7351 * math/w_acosf_compat.c: Likewise.
7352 * math/w_acosl_compat.c: Likewise.
7353 * math/w_asin_compat.c: Likewise.
7354 * math/w_asinf_compat.c: Likewise.
7355 * math/w_asinl_compat.c: Likewise.
7356 * math/w_ilogb_template.c: Likewise.
7357 * math/w_j0_compat.c: Likewise.
7358 * math/w_j0f_compat.c: Likewise.
7359 * math/w_j0l_compat.c: Likewise.
7360 * math/w_j1_compat.c: Likewise.
7361 * math/w_j1f_compat.c: Likewise.
7362 * math/w_j1l_compat.c: Likewise.
7363 * math/w_jn_compat.c: Likewise.
7364 * math/w_jnf_compat.c: Likewise.
7365 * math/w_llogb_template.c: Likewise.
7366 * math/w_log10_compat.c: Likewise.
7367 * math/w_log10f_compat.c: Likewise.
7368 * math/w_log10l_compat.c: Likewise.
7369 * math/w_log2_compat.c: Likewise.
7370 * math/w_log2f_compat.c: Likewise.
7371 * math/w_log2l_compat.c: Likewise.
7372 * math/w_log_compat.c: Likewise.
7373 * math/w_logf_compat.c: Likewise.
7374 * math/w_logl_compat.c: Likewise.
7375 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7376 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7377 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7378 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7403 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7405 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7407 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7408 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7409 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7410 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7411 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7412 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7413 * sysdeps/ieee754/k_standardl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7439 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7444 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7450 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7451 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7452 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7453 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7454 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7455 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7456 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7457 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7458 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7459 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7460 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7461 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7462 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7463 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7464 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7465 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7466 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7467 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7468 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7469 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7470 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7471 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7472 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7473 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7474 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7475 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7476 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7477 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7478 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7479 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7480 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7481 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7482 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7483 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7484 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7486 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7489 * include/stdio.h (__libc_fatal): Mention newline in comment.
7490 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7491 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7493 * nss/nsswitch.c (__nss_next2): Likewise.
7494 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7495 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7496 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7497 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7498 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7499 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7500 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7501 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7502 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7503 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7504 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7505 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7506 (__netlink_assert_response): Likewise.
7508 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7510 * conform/glibcconform.py: New file.
7511 * conform/list-header-symbols.py: Likewise.
7512 * conform/list-header-symbols.pl: Remove.
7513 * conform/Makefile (tests-special): Only add linknamespace tests
7515 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7517 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7520 * support/Makefile (libsupport-routines): Add
7521 support_copy_file_range and xcopy_file_range.
7522 * support/support.h: Include <sys/types.h>.
7523 (support_copy_file_range): New prototype.
7524 * support/support_copy_file_range.c: New file. Copied and
7525 modified from io/copy_file_range-compat.c.
7526 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7527 instead of copy_file_range.
7528 * support/xcopy_file_range.c: New file.
7529 * support/xunistd.h (xcopy_file_range): New prototype.
7531 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7533 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7534 xpthread_create and xpthread_join.
7536 2018-08-30 Florian Weimer <fweimer@redhat.com>
7538 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7540 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7542 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7545 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7547 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7548 and minus_oflow as non-finite.
7550 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7552 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7553 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7554 moved to fenv_private.h except for ...
7555 (TOINT_INTRINSICS): Kept in math_private.h.
7556 (roundtoint): Likewise.
7557 (converttoint): Likewise.
7558 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7559 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7560 * sysdeps/arm/math_private.h: Remove.
7561 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7563 * sysdeps/generic/math_private.h: ... this file. Include
7564 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7565 Include <fenv_private.h>. Remove functions and macros moved to
7567 * sysdeps/i386/fpu/math_private.h: Remove.
7568 * sysdeps/mips/math_private.h: Move to ....
7569 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7570 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7571 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7572 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7573 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7574 * sysdeps/powerpc/fpu/math_private.h: Do not include
7576 * sysdeps/riscv/rvf/math_private.h: Move to ....
7577 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7578 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7580 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7581 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7582 * sysdeps/sparc/fpu/math_private.h: Remove.
7583 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7584 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7585 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7587 * sysdeps/x86_64/fpu/math_private.h: Do not include
7588 <sysdeps/i386/fpu/fenv_private.h>.
7590 2018-08-28 Florian Weimer <fweimer@redhat.com>
7593 * posix/tst-regcomp-truncated.c: New file.
7594 * posix/Makefile (tests): Add it.
7595 (tst-regcomp-truncated.out): Depend on generated locales.
7597 2018-08-28 Florian Weimer <fweimer@redhat.com>
7599 * support/test-container.c (main): Treat unshare failure with
7600 EPERM as an unsupported test.
7602 2018-08-28 Florian Weimer <fweimer@redhat.com>
7605 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7606 * nscd/netgroupcache.c
7607 (addgetnetgrentX): Add tofreep parameter. Do not free
7608 heap-allocated buffer.
7609 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7610 (addgetnetgrentX_ignore): New function.
7611 (addgetnetgrent): Call it.
7612 (readdgetnetgrent): Likewise.
7614 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7616 * string/memmem.c: Use memcmp for first match.
7618 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7621 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7623 2018-08-27 DJ Delorie <dj@redhat.com>
7625 * support/Makefile (others): Don't list programs explicitly as a
7626 dependency of "others".
7628 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7630 * sysdeps/generic/math-tests-trap-force.h: New file.
7631 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7632 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7633 * sysdeps/powerpc/math-tests.h: Remove file.
7634 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7636 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7637 Torvald Riegel <triegel@redhat.com>
7640 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7641 Update r to include the set wake-request flag if waiters are
7642 remaining after spinning.
7644 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7646 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7648 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7651 regex: fix uninitialized memory access
7652 I introduced this bug into gnulib in commit
7653 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7654 eventually it was merged into glibc. The bug was found by
7655 project-repo <bugs@feusi.co> and reported here:
7656 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7657 Diagnosis and draft fix reported by Assaf Gordon here:
7658 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7659 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7660 * posix/regex_internal.c (build_wcs_upper_buffer):
7661 Fix bug when mbrtowc returns 0.
7663 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7665 * po/be.po: Update translation.
7667 2018-08-24 DJ Delorie <dj@delorie.com>
7669 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7672 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7675 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7676 create temporary files in source tree.
7678 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/generic/math-tests-trap.h: New file.
7681 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7682 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7683 * sysdeps/aarch64/math-tests.h: Remove file.
7684 * sysdeps/arm/math-tests.h: Likewise.
7685 * sysdeps/riscv/math-tests.h: Likewise.
7686 * sysdeps/aarch64/math-tests-trap.h: New file.
7687 * sysdeps/arm/math-tests-trap.h: Likewise.
7688 * sysdeps/riscv/math-tests-trap.h: Likewise.
7690 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7692 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7693 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7694 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7695 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7696 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7697 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7701 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7705 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7706 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7707 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7708 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7709 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7711 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7713 * sysdeps/generic/math-tests-exceptions.h: New file.
7714 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7715 (EXCEPTION_TESTS_float): Do not define here.
7716 (EXCEPTION_TESTS_double): Likewise.
7717 (EXCEPTION_TESTS_long_double): Likewise.
7718 (EXCEPTION_TESTS_float128): Likewise.
7719 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7721 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7722 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7723 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7724 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7725 * sysdeps/mips/math-tests.h: Likewise.
7726 * sysdeps/nios2/math-tests.h: Likewise.
7727 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7728 (EXCEPTION_TESTS_float): Do not define here.
7729 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7730 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7731 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7733 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7735 * NEWS: Move optimized sinf entry to 2.29.
7737 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7739 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7741 2018-08-22 DJ Delorie <dj@redhat.com>
7743 * Makefile (testroot.pristine): New rules to initialize the
7744 test-in-container "testroot".
7745 * Makerules (all-testsuite): Add tests-container.
7746 * Rules (tests-expected): Add tests-container.
7747 (binaries-all-tests): Likewise.
7748 (tests-container): New, run these tests in the testroot container.
7749 * support/Makefile (others): Add *-container, support_paths.c,
7750 xmkdirp, and links-dso-program.
7751 * support/links-dso-program-c.c: New.
7752 * support/links-dso-program.cc: New.
7753 * support/test-container.c: New.
7754 * support/shell-container.c: New.
7755 * support/echo-container.c: New.
7756 * support/true-container.c: New.
7757 * support/xmkdirp.c: New.
7758 * support/xsymlink.c: New.
7759 * support/support_paths.c: New.
7760 * support/support.h: Add support paths prototypes.
7761 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7763 * nss/tst-nss-test3.c: Convert to test-in-container.
7764 * nss/tst-nss-test3.root/: New.
7766 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7768 regex: port Gnulib code to z/OS POSIX environment
7769 Problem reported by Arnold Robbins in:
7770 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7771 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7774 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7776 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7777 (ROUNDING_TESTS_double): Remove.
7778 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7779 (ROUNDING_TESTS_double): Remove.
7780 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7781 (ROUNDING_TESTS_double): Remove.
7782 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7783 (ROUNDING_TESTS_float): Remove.
7784 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7785 (ROUNDING_TESTS_float): Remove.
7786 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7787 (ROUNDING_TESTS_float): Remove.
7788 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7790 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7791 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7793 * sysdeps/generic/math-tests-rounding.h: New file.
7794 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7795 (ROUNDING_TESTS_float): Do not define here.
7796 (ROUNDING_TESTS_double): Likewise.
7797 (ROUNDING_TESTS_long_double): Likewise.
7798 (ROUNDING_TESTS_float128): Likewise.
7799 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7800 (ROUNDING_TESTS_double): Undefine before defining.
7801 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7802 (ROUNDING_TESTS_double): Undefine before defining.
7803 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7804 (ROUNDING_TESTS_double): Undefine before defining.
7805 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7806 (ROUNDING_TESTS_float): Undefine before defining.
7807 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7808 (ROUNDING_TESTS_float): Undefine before defining.
7809 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7810 (ROUNDING_TESTS_float): Undefine before defining.
7811 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7812 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7814 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7815 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7816 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7817 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7818 (ROUNDING_TESTS_float): Do not define here.
7819 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7820 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7821 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7822 (ROUNDING_TESTS_float): Likewise.
7823 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7824 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7825 * sysdeps/mips/math-tests.h [__mips_soft_float]
7826 (ROUNDING_TESTS_float): Likewise.
7827 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7828 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7829 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7830 (ROUNDING_TESTS_double): Likewise.
7831 (ROUNDING_TESTS_long_double): Likewise.
7833 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7835 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7836 (PF_XDP): New macro.
7837 (AF_XDP): New macro.
7838 (SOL_XDP): New macro.
7840 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7843 (TCP_INQ): Likewise.
7844 (TCP_CM_INQ): Likewise.
7845 (TCP_REPAIR_ON): Likewise.
7846 (TCP_REPAIR_OFF): Likewise.
7847 (TCP_REPAIR_OFF_NO_WP): Likewise.
7848 (struct tcp_zerocopy_receive): New type.
7850 2018-08-21 Florian Weimer <fweimer@redhat.com>
7852 * support/support.h (support_descriptor_supports_holes): Declare.
7853 * support/Makefile (libsupport-routines): Add
7854 support_descriptor_supports_holes.
7855 * support/support_descriptor_supports_holes.c: New file.
7856 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7857 and stop testing if holes are not supported.
7858 * io/test-lfs.c (do_prepare): Likewise.
7859 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7861 * timezone/tst-tzset.c (create_tz_file): Likewise.
7862 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7864 (do_prepare): Set it.
7865 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7867 2018-08-21 Florian Weimer <fweimer@redhat.com>
7870 * Makeconfig (+cflags): Do not sort (and deduplicate).
7872 2018-08-21 Florian Weimer <fweimer@redhat.com>
7874 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7875 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7877 2018-08-20 Florian Weimer <fweimer@redhat.com>
7879 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7880 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7882 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7884 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7885 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7886 and ssi_arch members.
7888 * elf/elf.c (NT_VMCOREDD): New macro.
7889 (AT_MINSIGSTKSZ): Likewise.
7891 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7894 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7895 s_cosf-ppc64 and s_cosf-power8.
7896 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7897 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7899 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7906 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7907 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7909 2018-08-17 Florian Weimer <fweimer@redhat.com>
7911 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7913 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7915 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7917 2018-08-16 Florian Weimer <fweimer@redhat.com>
7919 * configure.ac: Add --with-nonshared-cflags option.
7920 * config.make.in (extra-nonshared-cflags): Set variable.
7921 * Makeconfig (CFLAGS-.oS): Use it.
7922 * manual/install.texi (Configuring and compiling): Document
7923 --with-nonshared-cflags.
7924 * configure: Regenerate.
7925 * INSTALL: Likewise.
7927 2018-08-16 Florian Weimer <fweimer@redhat.com>
7929 * Makeconfig (ASFLAGS): Always append required assembler flags.
7931 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7933 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7934 (malloc_consolidate): Likewise.
7936 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7938 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7940 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7942 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7945 * benchtests/bench-strlen.c: Print performance numbers in json.
7947 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7949 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7950 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7951 only for little endian.
7952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7953 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7954 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7955 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7956 Add check for little endian.
7957 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7958 (__strcmp_power9): Add check for little endian.
7959 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7960 Add check for little endian.
7961 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7962 (__strncmp_power9): Add check for little endian.
7963 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7964 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7965 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7967 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7969 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7971 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7972 [!STRLEN](STRLEN): Set to __strlen.
7973 * sysdeps/aarch64/multiarch/strlen.c: New file.
7974 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7975 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7976 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7977 (__libc_ifunc_impl_list): Add strlen.
7978 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7979 strlen_generic and strlen_asimd.
7981 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7983 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7984 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7985 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7987 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7989 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7991 2018-08-14 Florian Weimer <fweimer@redhat.com>
7994 * include/stdio.h (__vfxprintf): Declare.
7995 * stdio-common/fxprintf.c (__vfxprintf): New function.
7996 (__fxprintf): Call it.
7997 * misc/err.c (convert_and_print): Remove function.
7998 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7999 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8000 * misc/Makefile (tests): Add tst-warn-wide.
8001 * misc/tst-warn-wide.c: New file.
8003 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8004 Szabolcs Nagy <szabolcs.nagy@arm.com>
8006 * NEWS: Mention sinf, cosf, sincosf.
8007 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8009 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8010 constants rather than including generic sincosf.h.
8011 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8012 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8013 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8014 (reduced_cos): Remove.
8015 (sinf_poly): New function.
8016 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8018 2018-08-14 Florian Weimer <fweimer@redhat.com>
8022 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8023 processing, bail out if no room, and close the stream before
8025 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8026 (tst-nss-files-alias-leak): Link with libdl.
8027 (tst-nss-files-alias-leak.out): Depend on nss_files.
8029 * nss/tst-nss-files-alias-leak.c: New file.
8031 2018-08-14 Florian Weimer <fweimer@redhat.com>
8033 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8034 server_user, stat_user.
8036 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8038 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8040 (io_pgetevents): New syscall.
8043 * manual/install.texi (Configuring and compiling): Do not list
8044 tools used for testing pretty printers here.
8045 (Tools for Compilation): List Python, PExpect and GDB here.
8046 Update descriptions of uses of Perl and Python.
8047 * INSTALL: Regenerate.
8049 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8052 2018-08-13 Florian Weimer <fweimer@redhat.com>
8054 * misc/error.c (error): Add missing va_end call.
8055 (error_at_line): Likewise.
8057 2018-08-13 Florian Weimer <fweimer@redhat.com>
8059 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8061 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8063 * benchtests/scripts/benchout.schema.json (properties): Add
8066 * benchtests/bench-skeleton.c (main): Add duration and
8067 iterations attributes.
8069 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8071 regex: Gnulib unibyte RRI uses bytes not chars
8072 Adjust the non-glibc code to agree with what Gawk needs for
8073 rational range interpretation (RRI) for regular expression ranges.
8074 In unibyte locales, Gawk wants ranges to use the underlying byte
8075 rather than the character code point. This change does not affect
8077 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8078 In unibyte locales, use the byte value rather than
8079 running it through btowc.
8081 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8083 * sysdeps/generic/math-tests-snan.h: New file.
8084 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8085 (SNAN_TESTS_float): Do not define here.
8086 (SNAN_TESTS_double): Likewise.
8087 (SNAN_TESTS_long_double): Likewise.
8088 (SNAN_TESTS_float128): Likewise.
8089 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8090 * sysdeps/i386/fpu/math-tests.h: Remove file.
8091 * sysdeps/ia64/math-tests-snan.h: New file.
8092 * sysdeps/ia64/math-tests.h: Remove file.
8093 * sysdeps/x86/math-tests.h: Likewise.
8094 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8096 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8097 Szabolcs Nagy <szabolcs.nagy@arm.com>
8099 * math/Makefile: Add s_sincosf_data.c.
8100 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8101 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8102 (sincosf_poly): Likewise.
8103 (reduce_small): Likewise.
8104 (reduce_large): Likewise.
8105 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8106 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8107 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8108 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8110 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8111 Szabolcs Nagy <szabolcs.nagy@arm.com>
8113 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8114 (converttoint): Use lround.
8115 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8116 document the semantics when TOINT_INTRINSICS is set.
8117 (converttoint): Likewise.
8118 (TOINT_RINT): Remove.
8119 (TOINT_SHIFT): Remove.
8120 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8123 2018-08-10 Florian Weimer <fweimer@redhat.com>
8126 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8128 (__old_getdents64): Use getdents64. Convert entries without
8130 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8131 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8132 tst-readdir64-compat.
8134 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8136 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8139 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8141 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8142 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8143 code to s390x-mcount.h and #include it.
8144 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8148 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8150 * stdlib/Versions: Remove __fentry__.
8151 * sysdeps/i386/Versions: Add __fentry__.
8152 * sysdeps/x86_64/Versions: Add __fentry__.
8154 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8156 * sysdeps/s390/Makefile: Register the new tests.
8157 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8158 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8159 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8160 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8161 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8162 * sysdeps/s390/tst-dl-runtime.c: New file.
8164 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8166 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8169 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8171 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8174 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8176 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8179 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8181 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8184 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8186 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8187 Use symbolic offsets for stack variables.
8189 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8191 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8192 Use symbolic offsets for stack variables.
8194 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8196 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8197 Use symbolic offsets for stack variables.
8199 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8201 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8202 Use symbolic offsets for stack variables.
8204 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8206 * math/gen-libm-test.py: New file.
8207 * math/gen-libm-test.pl: Remove.
8208 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8209 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8211 ($(libm-test-c-noauto-obj)): Likewise.
8212 ($(libm-test-c-auto-obj)): Likewise.
8213 ($(libm-test-c-narrow-obj)): Likewise.
8214 (regen-ulps): Likewise.
8215 * math/README.libm-test: Update references to gen-libm-test.pl.
8216 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8217 referencing gen-libm-test.pl.
8218 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8219 * math/libm-test-support.c: Likewise.
8220 * math/libm-test-support.h: Likewise.
8221 * sysdeps/generic/libm-test-ulps: Likewise.
8223 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8225 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8228 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8230 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8231 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8233 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8235 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8237 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8238 __pthread_setspecific): Add hidden proto.
8239 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8240 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8242 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8244 * benchtests/bench-string.h (buf1_size, buf2_size): New
8246 (init_sizes): New function.
8247 (test_init): Use it.
8248 (alloc_buf, exit_error): New functions.
8249 (alloc_bufs): Use ALLOC_BUF.
8250 (realloc_bufs): Remove.
8251 * benchtests/bench-memcmp.c (do_test): Adjust.
8252 * benchtests/bench-memset-large.c (do_test): Likewise.
8253 * benchtests/bench-memset-walk.c (do_test): Likewise.
8254 * benchtests/bench-memset.c (do_test): Likewise.
8255 * benchtests/bench-strncmp.c (do_test): Likewise.
8257 2018-08-06 Andreas Schwab <schwab@suse.de>
8259 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8260 of CONST_THREAD_AREA.
8262 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8264 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8265 (STATE_SAVE_MASK): Likewise.
8266 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8267 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8268 (STATE_SAVE_MASK): Likewise.
8269 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8270 instead of <cpu-features.h>.
8272 2018-08-03 DJ Delorie <dj@redhat.com>
8274 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8275 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8277 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8279 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8281 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8283 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8284 * math/libm-test-logb.inc (logb_test_data): Likewise.
8286 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8288 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8289 * string/strstr.c (AVAILABLE): Likewise.
8291 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8293 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8296 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8297 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8299 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8301 * po/be.po: Update translation.
8303 * po/be.po: Update translation.
8305 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8307 * sysdeps/x86/cpu-features-offsets.sym
8308 (rtld_global_ro_offsetof): Removed.
8309 (CPU_FEATURES_SIZE): Likewise.
8310 (CPUID_OFFSET): Likewise.
8311 (CPUID_SIZE): Likewise.
8312 (CPUID_EAX_OFFSET): Likewise.
8313 (CPUID_EBX_OFFSET): Likewise.
8314 (CPUID_ECX_OFFSET): Likewise.
8315 (CPUID_EDX_OFFSET): Likewise.
8316 (FAMILY_OFFSET): Likewise.
8317 (MODEL_OFFSET): Likewise.
8318 (FEATURE_OFFSET): Likewise.
8319 (FEATURE_SIZ): Likewise.
8320 (COMMON_CPUID_INDEX_1): Likewise.
8321 (COMMON_CPUID_INDEX_7): Likewise.
8322 (FEATURE_INDEX_1): Likewise.
8323 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8325 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8327 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8328 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8329 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8330 (install-locales): Depend on install-locale-archive.
8331 (install-locale-archive): Define.
8332 (install-locale-files): Define.
8333 (build-one-locale): Define macro.
8334 * manual/install.texi (Running make install): Document.
8335 * manual/INSTALL: Regenerate.
8337 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8339 * benchtests/scripts/compare_strings.py: Import traceback.
8340 (parse_file): Pretty-print error.
8342 * NEWS: Mention the change.
8343 * elf/dl-tunables.list: Rename tune namespace to cpu.
8344 * sysdeps/powerpc/dl-tunables.list: Likewise.
8345 * sysdeps/x86/dl-tunables.list: Likewise.
8346 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8348 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8349 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8350 * manual/README.tunables: Likewise.
8351 * manual/tunables.texi: Likewise.
8352 * sysdeps/powerpc/cpu-features.c: Likewise.
8353 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8354 (init_cpu_features): Likewise.
8355 * sysdeps/x86/cpu-features.c: Likewise.
8356 * sysdeps/x86/cpu-features.h: Likewise.
8357 * sysdeps/x86/cpu-tunables.c: Likewise.
8358 * sysdeps/x86_64/Makefile: Likewise.
8359 * sysdeps/x86/dl-cet.c: Likewise.
8361 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8364 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8365 [__mips_hard_float].
8366 (FE_UNDERFLOW): Likewise.
8367 (FE_OVERFLOW): Likewise.
8368 (FE_DIVBYZERO): Likewise.
8369 (FE_INVALID): Likewise.
8370 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8371 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8372 (FE_UPWARD): Likewise.
8373 (FE_DOWNWARD): Likewise.
8374 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8375 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8376 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8377 [__mips_hard_float].
8378 (FP_ROUNDMODE): Likewise.
8379 (FP_RND_NEAREST): Likewise.
8380 (FP_RND_ZERO): Likewise.
8381 (FP_RND_PINF): Likewise.
8382 (FP_RND_MINF): Likewise.
8383 (FP_EX_INVALID): Likewise.
8384 (FP_EX_OVERFLOW): Likewise.
8385 (FP_EX_UNDERFLOW): Likewise.
8386 (FP_EX_DIVZERO): Likewise.
8387 (FP_EX_INEXACT): Likewise.
8388 (FP_INIT_ROUNDMODE): Likewise.
8389 * sysdeps/mips/nofpu/fesetenv.c: New file.
8390 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8392 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8394 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8395 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8396 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8397 conditional on [FE_UPWARD].
8399 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8401 regex: fix memory leak in Gnulib
8402 Problem and fix reported by Assaf Gordon in:
8403 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8404 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8405 range_ends members too, as they are defined in 'struct
8406 re_charset_t' even if not _LIBC. This affects only Gnulib.
8408 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8410 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8412 (get_common_indices): This.
8413 (init_cpu_features): Updated.
8415 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8417 * sysdeps/generic/math-tests-snan-payload.h: New file.
8418 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8419 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8420 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8421 * sysdeps/generic/math-tests.h: Include
8422 <math-tests-snan-payload.h>.
8423 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8424 * sysdeps/hppa/math-tests.h: Remove file.
8425 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8426 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8427 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8430 * sysdeps/generic/math-tests-snan-cast.h: New file.
8431 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8432 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8433 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8434 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8436 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8438 * version.h (RELEASE): Set to "development".
8439 (VERSION): Set to "2.28.9000".
8440 * NEWS (2.29): New section.
8442 * version.h (RELEASE): Set to "stable".
8443 (VERSION): Set to "2.28".
8444 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8445 * NEWS: Add the list of bugs fixed in 2.28.
8447 * po/ca.po: Update to latest version.
8448 * po/cs.po: Likewise
8449 * po/da.po: Likewise
8450 * po/el.po: Likewise
8451 * po/eo.po: Likewise
8452 * po/es.po: Likewise
8453 * po/fi.po: Likewise
8454 * po/fr.po: Likewise
8455 * po/gl.po: Likewise
8456 * po/hu.po: Likewise
8457 * po/ia.po: Likewise
8458 * po/id.po: Likewise
8459 * po/it.po: Likewise
8460 * po/ja.po: Likewise
8461 * po/ko.po: Likewise
8462 * po/lt.po: Likewise
8463 * po/nb.po: Likewise
8464 * po/nl.po: Likewise
8465 * po/pt_BR.po: Likewise
8466 * po/ru.po: Likewise
8467 * po/rw.po: Likewise
8468 * po/sk.po: Likewise
8469 * po/sl.po: Likewise
8470 * po/tr.po: Likewise
8471 * po/zh_CN.po: Likewise
8472 * po/zh_TW.po: Likewise
8474 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8476 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8478 (init): ... before initializing libpthread.
8480 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8481 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8482 (__mach_setup_tls): ... new function.
8483 (mach_setup_tls): New alias.
8484 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8485 __mach_setup_thread.
8486 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8487 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8488 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8489 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8491 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8493 * manual/install.texi: Update versions.
8494 * INSTALL: Regenerate.
8496 * manual/contrib.texi (Contributors): Update contributions.
8498 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8500 * po/be.po: Update translations.
8502 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8504 * sysdeps/sh/libm-test-ulps: Update.
8506 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8508 * po/bg.po: Update translations.
8509 * po/de.po: Likewise.
8510 * po/hr.po: Likewise.
8511 * po/pt_BR.po: Likewise.
8512 * po/sv.po: Likewise.
8513 * po/vi.po: Likewise.
8515 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8518 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8519 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8520 (CFLAGS-tst-cet-property-1.o): New.
8521 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8522 ($(objpfx)tst-cet-property-2): Likewise.
8523 ($(objpfx)tst-cet-property-2.out): Likewise.
8524 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8525 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8526 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8527 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8528 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8530 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8533 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8535 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8537 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8538 __sbrk): Do not set attribute_hidden.
8539 * sysdeps/mach/hurd/not-errno.h: New file.
8540 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8541 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8543 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8545 * po/uk.po: Update translations.
8546 * po/cs.po: Likewise.
8547 * po/pl.po: Likewise.
8549 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8551 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8552 parse beyond the note end.
8554 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8556 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8557 kernel does not support OFD locks.
8558 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8560 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8562 * sysdeps/mach/hurd/Versions (libc): Make __access and
8563 __access_noerrno external so they can override the ld symbols.
8564 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8565 __writev, __open64, __access_noerrno extern so they can be overrided.
8566 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8567 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8569 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8571 * po/libc.pot: Regenerate.
8573 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8575 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8577 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8580 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8582 (init_cpu_features): Call get_extended_indices for both Intel
8584 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8585 Remove "for AMD" comment.
8587 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8590 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8591 COMMON_CPUID_INDEX_80000001.
8593 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8595 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8596 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8598 2018-07-26 Florian Weimer <fweimer@redhat.com>
8600 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8601 aliases for symbols not in the implementation namespace.
8603 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8606 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8607 lowercase in LATIN script.
8608 * localedata/Makefile (test-input): Add en_US.UTF-8.
8609 * localedata/en_US.UTF-8.in: New file.
8610 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8611 and restore old tests.
8612 * posix/tst-regexloc.c (do_test): Add back range expression test.
8614 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8616 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8618 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8620 * nptl/threads.h: Move to ...
8621 * sysdeps/nptl/threads.h: ... here.
8622 * sysdeps/hurd/stdc-predef.h: New file.
8624 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8626 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8627 tst-cet-setcontext-1 if CET is enabled.
8628 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8629 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8631 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8633 * include/threads.h: Move to ...
8634 * sysdeps/nptl/threads.h: ... here.
8635 * sysdeps/htl/threads.h: New file.
8636 * conform/Makefile (linknamespace-libs-ISO11): Use
8637 static-thread-library instead of linking libpthread.
8638 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8640 2018-07-25 Florian Weimer <fweimer@redhat.com>
8642 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8643 nanoseconds into seconds.
8644 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8645 (do_test): Likewise.
8646 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8647 (do_test): Likewise. Avoid nanosecond overflow and spurious
8648 timeouts due to system load.
8649 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8650 (child_wait): Increment it.
8651 (do_test): Wait as long as necessary until all expected threads
8654 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8655 H.J. Lu <hongjiu.lu@intel.com>
8657 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8659 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8660 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8661 (__push___start_context): New.
8662 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8664 (__getcontext): Record the current shadow stack base. Save the
8665 caller's shadow stack pointer and base.
8666 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8667 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8668 (__push___start_context): New prototype.
8669 (__makecontext): Call __push___start_context to allocate a new
8670 shadow stack, push __start_context onto the new stack as well
8671 as the new shadow stack.
8672 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8674 (__setcontext): Restore the target shadow stack.
8675 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8677 (__swapcontext): Record the current shadow stack base. Save
8678 the caller's shadow stack pointer and base. Restore the target
8680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8681 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8682 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8684 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8686 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8687 tst-setcontext8 and tst-setcontext9.
8688 * stdlib/tst-setcontext6.c: New file.
8689 * stdlib/tst-setcontext7.c: Likewise.
8690 * stdlib/tst-setcontext8.c: Likewise.
8691 * stdlib/tst-setcontext9.c: Likewise.
8693 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8695 * stdlib/Makefile ((tests): Add tst-setcontext5.
8696 * stdlib/tst-setcontext5.c: New file.
8698 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8700 * stdlib/Makefile (tests): Add tst-setcontext4.
8701 * stdlib/tst-setcontext4.c: New file.
8703 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8705 * stdlib/Makefile (tests): Add tst-swapcontext1.
8706 * stdlib/tst-swapcontext1.c: New test.
8708 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8710 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8711 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8712 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8713 and tst-cet-legacy-4c.
8714 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8715 and tst-cet-legacy-mod-4.
8716 (CFLAGS-tst-cet-legacy-2.c): New.
8717 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8718 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8719 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8720 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8721 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8722 ($(objpfx)tst-cet-legacy-1): Likewise.
8723 ($(objpfx)tst-cet-legacy-2): Likewise.
8724 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8725 ($(objpfx)tst-cet-legacy-2a): Likewise.
8726 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8727 ($(objpfx)tst-cet-legacy-4): Likewise.
8728 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8729 ($(objpfx)tst-cet-legacy-4a): Likewise.
8730 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8731 (tst-cet-legacy-4a-ENV): Likewise.
8732 ($(objpfx)tst-cet-legacy-4b): Likewise.
8733 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8734 (tst-cet-legacy-4b-ENV): Likewise.
8735 ($(objpfx)tst-cet-legacy-4c): Likewise.
8736 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8737 (tst-cet-legacy-4c-ENV): Likewise.
8738 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8739 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8740 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8741 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8742 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8743 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8744 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8745 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8746 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8747 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8748 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8750 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8752 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8753 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8755 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8756 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8759 2018-07-25 Andreas Schwab <schwab@suse.de>
8762 * locale/weightwc.h (findidx): Handle the case where usrc is a
8763 prefix of cp but one character too short.
8765 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8767 * NEWS: Add ISO C threads addition.
8769 2018-07-24 Florian Weimer <fweimer@redhat.com>
8771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8772 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8773 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8776 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8778 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8779 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8780 <sys/prctl.h> and <asm/prctl.h>.
8781 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8782 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8784 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8785 ARCH_CET_LEGACY_BITMAP.
8786 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8787 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8788 * sysdeps/x86/libc-start.c: Include <startup.h>.
8790 2018-07-24 Florian Weimer <fweimer@redhat.com>
8792 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8793 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8795 2018-07-24 Rical Jasan <rj@2c3t.io>
8796 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8797 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8800 * manual/debug.texi: Update adjacent chapter name.
8801 * manual/probes.texi: Likewise.
8802 * manual/threads.texi (ISO C Threads): New section.
8803 (POSIX Threads): Convert to a section.
8805 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8806 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8809 * nptl/Makefile (tests): Add new test files.
8810 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8811 * nptl/tst-cnd-basic.c: Likewise.
8812 * nptl/tst-cnd-broadcast.c: Likewise.
8813 * nptl/tst-cnd-timedwait.c: Likewise.
8814 * nptl/tst-mtx-basic.c: Likewise.
8815 * nptl/tst-mtx-recursive.c: Likewise.
8816 * nptl/tst-mtx-timedlock.c: Likewise.
8817 * nptl/tst-mtx-trylock.c: Likewise.
8818 * nptl/tst-thrd-basic.c: Likewise.
8819 * nptl/tst-thrd-detach.c: Likewise.
8820 * nptl/tst-thrd-sleep.c: Likewise.
8821 * nptl/tst-tss-basic.c: Likewise.
8823 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8826 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8827 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8829 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8830 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8831 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8832 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8833 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8834 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8835 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8836 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8837 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8839 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8840 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8848 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8849 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8850 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8851 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8853 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8855 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8856 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8857 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8858 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8859 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8860 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8862 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8863 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8864 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8865 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8866 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8867 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8868 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8869 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8870 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8871 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8872 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8873 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8880 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8883 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8886 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8890 * conform/data/threads.h-data (thread_local): New macro.
8891 (TSS_DTOR_ITERATIONS): Likewise.
8893 (tss_dtor_t): Likewise.
8894 (tss_create): New function.
8895 (tss_get): Likewise.
8896 (tss_set): Likewise.
8897 (tss_delete): Likewise.
8898 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8899 tss_get, and tss_set objects.
8900 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8901 * nptl/tss_create.c: New file.
8902 * nptl/tss_delete.c: Likewise.
8903 * nptl/tss_get.c: Likewise.
8904 * nptl/tss_set.c: Likewise.
8905 * sysdeps/nptl/threads.h (thread_local): New define.
8906 (TSS_DTOR_ITERATIONS): Likewise.
8907 (tss_t): New typedef.
8908 (tss_dtor_t): Likewise.
8909 (tss_create): New prototype.
8910 (tss_get): Likewise.
8911 (tss_set): Likewise.
8912 (tss_delete): Likewise.
8915 * conform/data/threads.h-data (cnd_t): New type.
8916 (cnd_init): New function.
8917 (cnd_signal): Likewise.
8918 (cnd_broadcast): Likewise.
8919 (cnd_wait): Likewise.
8920 (cnd_timedwait): Likewise.
8921 (cnd_destroy): Likewise.
8922 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8923 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8925 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8926 * nptl/cnd_broadcast.c: New file.
8927 * nptl/cnd_destroy.c: Likewise.
8928 * nptl/cnd_init.c: Likewise.
8929 * nptl/cnd_signal.c: Likewise.
8930 * nptl/cnd_timedwait.c: Likewise.
8931 * nptl/cnd_wait.c: Likewise.
8932 * sysdeps/nptl/threads.h (cnd_t): New type.
8933 (cnd_init): New prototype.
8934 (cnd_signa): Likewise.
8935 (cnd_broadcast): Likewise.
8936 (cnd_wait): Likewise.
8937 (cnd_timedwait): Likewise.
8938 (cnd_destroy): Likewise.
8941 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8942 (once_flag): New type.
8943 (call_once): New function.
8944 * nptl/Makefile (libpthread-routines): Add call_once object.
8945 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8946 * nptl/call_once.c: New file.
8947 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8948 (once_flag): New type.
8949 (call_once): New prototype.
8952 * conform/data/threads.h-data (mtx_plain): New constant.
8953 (mtx_recursive): Likewise.
8954 (mtx_timed): Likewise.
8956 (mtx_init): New function.
8957 (mtx_lock): Likewise.
8958 (mtx_timedlock): Likewise.
8959 (mtx_trylock): Likewise.
8960 (mtx_unlock): Likewise.
8961 (mtx_destroy): Likewise.
8962 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8963 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8964 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8965 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8966 * nptl/mtx_destroy.c: New file.
8967 * nptl/mtx_init.c: Likewise.
8968 * nptl/mtx_lock.c: Likewise.
8969 * nptl/mtx_timedlock.c: Likewise.
8970 * nptl/mtx_trylock.c: Likewise.
8971 * nptl/mtx_unlock.c: Likewise.
8972 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8973 (mtx_recursive): Likewise.
8974 (mtx_timed): Likewise.
8976 (mtx_init): New prototype.
8977 (mtx_lock): Likewise.
8978 (mtx_timedlock): Likewise.
8979 (mtx_trylock): Likewise.
8980 (mtx_unlock): Likewise.
8981 (mtx_destroy): Likewise.
8984 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8985 (linknamespace-libs-ISO11): Add libpthread.a.
8986 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8988 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8989 * nptl/Makefile (headers): Add threads.h.
8990 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8991 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8993 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8994 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8995 thrd_join, thrd_sleep, and thrd_yield symbols.
8996 * nptl/descr.h (struct pthread): Add c11 field.
8997 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8998 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8999 routine with expected function prototype.
9000 (__pthread_create_2_1): Add C11 threads check based on attribute
9002 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9003 * nptl/thrd_create.c: New file.
9004 * nptl/thrd_current.c: Likewise.
9005 * nptl/thrd_detach.c: Likewise.
9006 * nptl/thrd_equal.c: Likewise.
9007 * nptl/thrd_exit.c: Likewise.
9008 * nptl/thrd_join.c: Likewise.
9009 * nptl/thrd_priv.h: Likewise.
9010 * nptl/thrd_sleep.c: Likewise.
9011 * nptl/thrd_yield.c: Likewise.
9012 * include/threads.h: Likewise.
9014 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9016 * bits/indirect-return.h: New file.
9017 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9018 * sysdeps/x86/bits/indirect-return.h: Likewise.
9019 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9020 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9021 (swapcontext): Add __INDIRECT_RETURN.
9022 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9023 (prepare_test_buffer): Use it.
9025 2018-07-24 Andreas Schwab <schwab@suse.de>
9028 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9029 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9031 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9033 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9034 Redefine if shadow stack is enabled.
9035 (SYSCALL_ERROR_LABEL): Likewise.
9036 (__vfork): Pop shadow stack and jump back to to caller directly
9037 when shadow stack is in use.
9038 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9039 Redefine if shadow stack is enabled.
9040 (SYSCALL_ERROR_LABEL): Likewise.
9041 (__vfork): Pop shadow stack and jump back to to caller directly
9042 when shadow stack is in use.
9044 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9046 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9049 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9052 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9054 * scripts/build-many-glibcs.py (Context.checkout): Default
9055 binutils version to 2.31 branch.
9057 2018-07-20 Zong Li <zong@andestech.com>
9059 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9060 URL of gcc's tarball.
9062 2018-07-20 Florian Weimer <fweimer@redhat.com>
9065 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9066 not compare an extra byte after the end of the weights.
9068 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9070 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9072 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9074 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9075 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9076 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9077 list of libraries whose stack executability is expected.
9078 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9079 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9081 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9082 libc.so libpthread.so.
9084 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9086 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9088 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9090 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9092 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9094 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9096 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9097 library to improve command line parsing.
9098 (__main__): make schema file as optional parameter (--schema),
9099 defaulting to benchtests/scripts/benchout.schema.json.
9100 (main): move out of the parsing stuff to __main_ and leave it
9101 only as caller of main comparison functions.
9103 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9105 * NEWS: Add a note for Intel CET status.
9106 * manual/install.texi: Likewise.
9107 * INSTALL: Regenerated.
9109 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9112 * localedata/locales/oc_FR (mon): Rename to...
9113 (alt_mon): This, then update October (typo fix).
9114 (mon): New content (genitive case, month names preceded by
9118 * localedata/locales/oc_FR (abday): Update all items.
9119 (day): Update Wednesday and Saturday (typo fixes).
9120 (abmon): Update all items, except May.
9121 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9122 (LC_IDENTIFICATION): Bump the revision number and date.
9123 Keep the "category" entries in alphabetic order.
9124 (LC_ADDRESS): Remove no longer needed comment.
9125 (LC_COLLATE): Use “copy "ca_ES"”.
9126 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9129 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9131 * grp/tst_fgetgrent.c: Include <unistd.h>.
9132 (main): Use mkstemp instead of tmpnam.
9133 * io/test-utime.c (main): Likewise.
9134 * posix/annexc.c (macrofile): Change to modifiable array.
9135 (main): Remove macrofile here.
9136 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9138 (check_header): Do not remove macrofile here.
9139 * posix/bug-getopt1.c: Include <stdlib.h>.
9140 (do_test): Use mkstemp instead of tmpnam.
9141 * posix/bug-getopt2.c: Include <stdlib.h>.
9142 (do_test): Use mkstemp instead of tmpnam.
9143 * posix/bug-getopt3.c: Include <stdlib.h>.
9144 (do_test): Use mkstemp instead of tmpnam.
9145 * posix/bug-getopt4.c: Include <stdlib.h>.
9146 (do_test): Use mkstemp instead of tmpnam.
9147 * posix/bug-getopt5.c: Include <stdlib.h>.
9148 (do_test): Use mkstemp instead of tmpnam.
9149 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9150 (main): Use mkstemp instead of tmpnam.
9151 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9152 (main): Use mkstemp instead of tmpnam.
9153 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9154 (main): use mkstemp instead of tmpnam.
9155 * stdlib/isomac.c (macrofile): Change to modifiable array.
9156 (main): Remove macrofile here.
9157 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9159 (check_header): Do not remove macrofile here.
9161 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9163 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9164 glibc.tune.x86_shstk.
9166 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9168 * NEWS: Mention --enable-cet.
9169 * manual/install.texi: Document --enable-cet.
9170 * INSTALL: Regenerated.
9172 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9174 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9175 Add _CET_NOTRACK before indirect jump to jump table.
9177 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9180 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9183 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9185 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9186 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9189 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9192 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9195 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9198 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9201 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9203 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9204 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9206 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9208 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9210 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9211 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9214 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9216 * sysdeps/i386/i686/multiarch/memset-sse2.S
9217 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9220 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9222 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9223 indirect jump to jump table.
9225 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9228 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9232 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9235 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9239 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9242 _CET_NOTRACK before indirect jump to jump table.
9244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9250 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9252 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9253 indirect jump to jump table.
9255 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9258 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9259 (LOCALES): Likewise.
9260 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9261 * localedata/locales/sah_RU: New file.
9262 * localedata/sah_RU.UTF-8.in: New file.
9264 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9266 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9268 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9269 _CET_ENDBR to indirect jump targets and adjust jump destination
9271 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9273 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9274 _CET_ENDBR to indirect jump targets and adjust jump destination
9276 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9278 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9279 _CET_ENDBR to indirect jump targets and adjust jump destination
9282 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9284 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9287 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9289 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9291 (_dl_tlsdesc_undefweak): Likewise.
9292 (_dl_tlsdesc_dynamic): Likewise.
9293 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9294 (_dl_tlsdesc_resolve_rel): Likewise.
9295 (_dl_tlsdesc_resolve_rela): Likewise.
9296 (_dl_tlsdesc_resolve_hold): Likewise.
9297 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9298 (_dl_tlsdesc_undefweak): Likewise.
9299 (_dl_tlsdesc_dynamic): Likewise.
9300 (_dl_tlsdesc_resolve_rela): Likewise.
9301 (_dl_tlsdesc_resolve_hold): Likewise.
9303 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9305 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9307 * sysdeps/x86_64/crti.S (_init): Likewise.
9310 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9313 * localedata/locales/os_RU (mon): Rename to...
9315 (mon): Import from CLDR (genitive case).
9317 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9319 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9320 cet-tunables.h> when CET is enabled.
9322 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9325 * configure.ac: Add --enable-cet.
9326 * configure: Regenerated.
9327 * elf/Makefille (all-built-dso): Add a comment.
9328 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9329 Include <dl-prop.h>.
9330 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9332 * elf/dl-open.c: Include <dl-prop.h>.
9333 (dl_open_worker): Call _dl_open_check.
9334 * elf/rtld.c: Include <dl-prop.h>.
9335 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9337 * sysdeps/generic/dl-prop.h: New file.
9338 * sysdeps/i386/dl-cet.c: Likewise.
9339 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9340 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9341 * sysdeps/x86/cet-tunables.h: Likewise.
9342 * sysdeps/x86/check-cet.awk: Likewise.
9343 * sysdeps/x86/configure: Likewise.
9344 * sysdeps/x86/configure.ac: Likewise.
9345 * sysdeps/x86/dl-cet.c: Likewise.
9346 * sysdeps/x86/dl-procruntime.c: Likewise.
9347 * sysdeps/x86/dl-prop.h: Likewise.
9348 * sysdeps/x86/libc-start.h: Likewise.
9349 * sysdeps/x86/link_map.h: Likewise.
9350 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9352 (_dl_runtime_profile): Likewise.
9353 (_dl_runtime_resolve_shstk): New.
9354 (_dl_runtime_profile_shstk): Likewise.
9355 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9357 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9358 (CFLAGS-.os): Likewise.
9359 (CFLAGS-.op): Likewise.
9360 (CFLAGS-.oS): Likewise.
9361 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9363 (tests-special): Add $(objpfx)check-cet.out.
9364 (cet-built-dso): New.
9365 (+$(cet-built-dso:=.note)): Likewise.
9366 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9367 ($(objpfx)check-cet.out): New.
9368 (generated): Add check-cet.out.
9369 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9371 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9372 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9373 (init_cpu_features): Call get_cet_status to check CET status
9374 and update dl_x86_feature_1 with CET status. Call
9375 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9376 (set_x86_shstk). Disable and lock CET in libc.a.
9377 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9378 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9379 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9380 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9381 (_CET_ENDBR): Define if not defined.
9382 (ENTRY): Add _CET_ENDBR.
9383 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9385 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9387 (_dl_runtime_profile): Likewise.
9389 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9392 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9393 restore r2 on longjmp.
9394 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9396 Added rules to build test tst-setjmp-bug21895-static.
9397 Added module setjmp-bug21895 and rules to build a shared object from it.
9398 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9399 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9401 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9403 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9404 * benchtests/bench-strstr.c: Likewise.
9405 * string/memmem.c (FASTSEARCH): Define.
9406 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9407 Add support for FASTSEARCH.
9408 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9409 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9410 (FASTSEARCH): Define.
9411 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9412 * string/test-strstr.c: Likewise.
9414 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9417 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9419 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9420 H.J. Lu <hongjiu.lu@intel.com>
9422 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9423 (__longjmp): Restore shadow stack pointer if shadow stack is
9424 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9425 isn't defined for __longjmp_cancel.
9426 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9427 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9428 and SHADOW_STACK_POINTER_OFFSET is defined.
9429 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9430 (setjmp): Save shadow stack pointer if shadow stack is enabled
9431 and SHADOW_STACK_POINTER_OFFSET is defined.
9432 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9433 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9434 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9437 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9438 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9439 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9440 Remove jmp_buf-ssp.sym.
9441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9443 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9444 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9445 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9447 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9448 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9449 (__longjmp): Restore shadow stack pointer if shadow stack is
9450 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9451 isn't defined for __longjmp_cancel.
9452 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9453 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9454 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9456 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9459 * nptl/pthread_create.c: Include <tls-setup.h>.
9460 (__pthread_create_2_1): Call tls_setup_tcbhead.
9461 * sysdeps/generic/tls-setup.h: New file.
9462 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9463 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9464 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9466 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9468 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9469 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9470 (X86_FEATURE_1_SHSTK): Likewise.
9471 (CET_ENABLED): Likewise.
9472 (IBT_ENABLED): Likewise.
9473 (SHSTK_ENABLED): Likewise.
9475 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9478 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9479 (LOCALES): Likewise.
9480 * localedata/dsb_DE.UTF-8.in: New file.
9481 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9483 2018-07-12 Florian Weimer <fweimer@redhat.com>
9485 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9486 __mprotect, not mprotect.
9488 2018-07-11 Florian Weimer <fweimer@redhat.com>
9490 * io/Makefile (headers): Add bits/statx.h.
9492 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9494 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9495 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9497 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9498 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9501 2018-07-10 Florian Weimer <fweimer@redhat.com>
9503 * io/Makefile (routines): Add statx.
9504 (tests-internal): Add tst-statx.
9505 * io/Versions (GLIBC_2.28): Export statx.
9506 * io/bits/statx.h: New file.
9507 * io/sys/stat.h [__USE_GNU]: Include it.
9508 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9509 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9511 * io/statx.c: New file.
9512 * io/statx_generic.: Likewise.
9513 * io/tst-statx.: Likewise.
9514 * include/bits/statx.h: Likewise.
9515 * sysdeps/unix/sysv/linux/kernel-features.h
9516 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9517 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9518 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9519 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9522 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9523 * sysdeps/unix/sysv/linux/statx.c: New file.
9524 * manual/filesys.texi: Note that statx is undocumented.
9525 * sysdeps/**/libc*.abilist: Update.
9527 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9529 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9530 a kernel issue which lead to test failure in some cases.
9532 2018-07-10 Florian Weimer <fweimer@redhat.com>
9535 * posix/regexec.c (check_node_accept_bytes): When comparing
9536 weights, do not compare an extra byte after the end of the
9539 2018-07-10 Florian Weimer <fweimer@redhat.com>
9541 * libio/readline.c: Fix copyright year.
9542 * libio/tst-readline.c Likewise.
9543 * nss/tst-nss-files-hosts-getent.c: Likewise.
9545 2018-07-06 Florian Weimer <fweimer@redhat.com>
9548 * nss/nss_files/files-XXX.c (internal_getent): Use
9549 __libc_readline_unlocked. Seek back to the start of the line if
9550 parsing failes with ERANGE.
9551 (get_contents_ret, get_contents): Remove.
9552 * nss/tst-nss-files-hosts-getent.c: New file.
9553 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9554 (tst-nss-files-hosts-getent): Link with -ldl.
9556 2018-07-06 Florian Weimer <fweimer@redhat.com>
9558 * include/stdio.h (__libc_readline_unlocked): Declare.
9559 (__ftello64, __fseeko64): Declare aliases.
9560 * libio/readline.c: New file.
9561 * libio/tst-readline.c: Likewise.
9562 (routines): Add readline.
9563 (tests-internal): Add tst-readlime.
9564 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9565 __libc_readline_unlocked.
9566 * libio/fseeko.c (__fseeko): Rename from fseeko.
9567 (fseeko): Add alias.
9568 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9569 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9570 (fseeko64): Add alias.
9571 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9572 * libio/ftello64.c (__ftello64): Rename from ftello64.
9573 (ftello64): Add alias.
9575 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9577 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9580 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9582 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9583 Use dl_hwcap without masking.
9584 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9587 2018-07-06 Florian Weimer <fweimer@redhat.com>
9589 * conform/conformtest.pl (checknamespace): Escape literal braces
9590 in regular expressions.
9592 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9594 * sysdeps/x86/cpu-features.c (get_common_indeces):
9595 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9596 * sysdeps/x86/cpu-features.c (init_cpu_features):
9597 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9599 2018-07-05 Florian Weimer <fweimer@redhat.com>
9601 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9603 (CFLAGS-elf-init.oS): Likewise.
9605 2018-07-05 Florian Weimer <fweimer@redhat.com>
9606 Carlos O'Donell <carlos@redhat.com>
9608 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9609 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9610 with stack protector enabled because there is no risk of infinite
9613 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9617 * libc-abis (ABSOLUTE): New ABI.
9618 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9619 * NEWS: Mention the new ABI.
9621 2018-07-05 Florian Weimer <fweimer@redhat.com>
9624 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9625 (RENAME_WHITEOUT): Define.
9626 [__USE_GNU] (renameat2): Declare.
9627 * stdio-common/Makefile (routines): Add renameat2.
9628 (tests): Add tst-renameat2.
9629 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9630 * stdio-common/renameat2.c: New file.
9631 * stdio-common/tst-renameat2.c: Likewise.
9632 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9633 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9635 * sysdeps/unix/sysv/linux/kernel-features.h
9636 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9637 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9638 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9639 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9640 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9641 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9642 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9643 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9644 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9645 * include/stdio.h (__renameat): Add alias for renameat.
9646 * stdio-common/renameat.c (__renameat): Rename from renameat.
9647 Add hidden definition and alias.
9648 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9649 * sysdeps/mach/hurd/renameat.c: Likewise.
9650 * sysdeps/**/libc*.abilist: Add renameat2.
9652 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9654 * posix/bug-regex33.c: Fix build after regex sync.
9656 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9659 * localedata/tst-langinfo-setlocale.c: New file.
9660 * localedata/tst-langinfo-setlocale-static.c: New file.
9661 * localedata/tst-langinfo-newlocale.c: New file.
9662 * localedata/tst-langinfo-newlocale-static.c: New file.
9663 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9664 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9665 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9666 (tests-static): Remove tst-langinfo-static. Add
9667 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9668 (tests-special): Remove $(objpfx)tst-langinfo.out,
9669 $(objpfx)tst-langinfo-static.out. Add
9670 $(objpfx)tst-langinfo-setlocale.out,
9671 $(objpfx)tst-langinfo-newlocale.out,
9672 $(objpfx)tst-langinfo-setlocale-static.out,
9673 $(objpfx)tst-langinfo-newlocale-static.out.
9674 ($(objpfx)tst-langinfo.out): Remove.
9675 ($(objpfx)tst-langinfo-static.out): Remove.
9676 ($(objpfx)tst-langinfo-newlocale.out): New target.
9677 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9678 (test-xfail-tst-langinfo-newlocale-static): Add.
9679 ($(objpfx)tst-langinfo-setlocale.out): New target.
9680 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9681 * localedata/tst-langinfo.c: Call test_locale.
9682 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9685 2018-07-04 Florian Weimer <fweimer@redhat.com>
9687 testrun.sh: Implement --tool=strace, --tool=valgrind
9688 * Makefile (testrun-script): Define variable.
9689 (testrun.sh): Use variable.
9690 * manual/install.texi (Tools for Compilation): make 4.0 or later
9692 * configure.ac: Check for make 4.0 or later.
9693 * INSTALL: Regenerate.
9694 * configure: Likewise.
9696 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9702 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9703 * posix/PCRE.tests: Remove invalid test.
9704 * posix/bug-regex28.c: Fix expected values for used syntax.
9705 * posix/bug-regex37.c: New file.
9706 * posix/bug-regex38.c: Likewise.
9707 * posix/regcomp.c: Sync with gnulib.
9708 * posix/regex.c: Likewise.
9709 * posix/regex.h: Likewise.
9710 * posix/regex_internal.c: Likewise.
9711 * posix/regex_internal.h: Likewise.
9712 * posix/regexec.c: Likewise.
9714 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9717 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9718 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9719 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9720 * localedata/unicode-gen/PropList.txt: likewise.
9721 * localedata/unicode-gen/UnicodeData.txt: likewise.
9722 * localedata/charmaps/UTF-8: Regenerate.
9723 * localedata/locales/i18n_ctype: likewise.
9724 * localedata/locales/tr_TR: likewise.
9725 * localedata/locales/translit_circle: likewise.
9726 * localedata/locales/translit_cjk_compat: likewise.
9727 * localedata/locales/translit_combining: likewise.
9728 * localedata/locales/translit_compat: likewise.
9729 * localedata/locales/translit_font: likewise.
9730 * localedata/locales/translit_fraction: likewise.
9732 2018-07-03 Florian Weimer <fweimer@redhat.com>
9735 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9736 * stdio-common/tst-printf.sh: Adjust expected output.
9739 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9741 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9744 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9746 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9747 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9748 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9749 * stdio-common/tst-printfsz-islongdouble.c: New file.
9750 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9752 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9753 [subdir == stdio-common] (tests-internal): Add
9754 test-printf-size-ieee128, and test-printf-size-ibm128.
9755 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9756 (CFLAGS-test-printf-size-ibm128.c): New variables.
9757 [subdir == stdio-common] (tests-special): Add
9758 $(objpfx)test-printf-size-ieee128.out and
9759 $(objpfx)test-printf-size-ibm128.out.
9760 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9761 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9762 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9763 __printf_sizeieee128.
9764 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9766 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9768 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9771 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9773 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9774 (exp2f_inline): Likewise.
9775 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9776 (__math_uflowf): Likewise.
9777 (__math_may_uflowf): Likewise.
9778 (__math_divzerof): Likewise.
9779 (__math_invalidf): Likewise.
9780 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9781 (__math_oflowf): Likewise.
9782 (__math_uflowf): Likewise.
9783 (__math_may_uflowf): Likewise.
9784 (__math_divzerof): Likewise.
9785 (__math_invalidf): Likewise.
9787 2018-06-29 DJ Delorie <dj@redhat.com>
9788 Carlos O'Donell <carlos@redhat.com>
9791 * include/libc-symbols.h: Comment the freeres framework.
9792 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9793 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9794 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9795 * dlfcn/dlerror.c: Include libc-symbols.h
9796 (__dlerror_main_freeres): New function.
9797 * dlfcn/dlfreeres.c: New file.
9798 * dlfcn/sdlfreeres.c: New file.
9799 * include/dlfcn.h: Declare __dlerror_main_freeres.
9800 * malloc/set-freeres.c: Declare __libdl_freeres, and
9801 __libpthread_freeres.
9802 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9803 the releavant libraries are loaded.
9804 * malloc/thread-freeres.c: Add comments.
9805 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9806 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9807 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9808 (__free_stacks): Rename to...
9809 (free_stacks): ...this. Mark static.
9810 (queue_stack): Call free_stacks.
9811 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9812 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9813 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9814 ptr_freeres element from struct.
9815 (pthread_functions): Remove .ptr_freeres from struct initializer.
9816 [SHARED] (nptl_freeres): Remove.
9817 * nptl/nptlfreeres.c: New file.
9819 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9820 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9822 (__free_stacks): Rename to...
9823 (__nptl_stacks_freeres): ...this.
9824 (__shm_directory_freeres): Declare.
9825 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9826 (__nptl_unwind_freeres): ...this.
9827 * resolv/res-close.c: Add comment.
9828 * resolv/resolv_conf.c: Include libc-symbols.h.
9829 * string/strerror_l.c: Include libc-symbols.h.
9830 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9831 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9832 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9833 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9835 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9837 * stdlib/tst-strfmon_l.c: Add tests for long double.
9839 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9842 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9843 * localedata/locales/dsb_DE: New file.
9845 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9848 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9850 (alt_mon): New entry, import from CLDR (nominative case).
9852 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9855 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9857 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9859 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9860 Use vector registers.
9862 * sysdeps/aarch64/multiarch/memmove_falkor.S
9863 (__memcpy_falkor): Use vector registers.
9865 2018-06-29 Martin Sebor <msebor@redhat.com>
9867 * manual/stdio.texi (Customizing Printf): Mention interaction
9870 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9873 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9874 `st_value' is 0 if `st_shndx' is SHN_ABS.
9875 * elf/tst-absolute-zero.c: New file.
9876 * elf/tst-absolute-zero-lib.c: New file.
9877 * elf/tst-absolute-zero-lib.lds: New file.
9878 * elf/Makefile (tests): Add `tst-absolute-zero'.
9879 (modules-names): Add `tst-absolute-zero-lib'.
9880 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9881 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9882 ($(objpfx)tst-absolute-zero: New dependency.
9884 2018-06-29 Zack Weinberg <zackw@panix.com>
9886 * configure.ac: New command-line option --disable-crypt.
9887 Force --disable-nss-crypt when --disable-crypt is given, with a
9888 warning if it was explicitly enabled.
9889 * configure: Regenerate.
9890 * config.make.in: New boolean substitution variable $(build-crypt).
9891 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9892 when $(build-crypt).
9893 * manual/install.texi: Document --disable-crypt.
9894 * INSTALL: Regenerate.
9896 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9898 * conform/Makefile: Only include libcrypt.a in
9899 linknamespace-libs-xsi and linknamespace-libs-XPG4
9900 when $(build-crypt).
9901 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9902 USE_CRYPT to 1 when $(build-crypt).
9903 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9904 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9905 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9907 2018-06-29 Zack Weinberg <zackw@panix.com>
9909 * crypt/crypt.h, posix/unistd.h: Update comments and
9910 prototypes for crypt and crypt_r.
9912 * manual/crypt.texi (Cryptographic Functions): New initial
9914 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9915 (Unpredictable Bytes): Improve initial exposition. Clarify error
9916 behavior of getentropy and getrandom.
9917 * manual/examples/genpass.c: Generate a salt using getentropy
9918 instead of the current time. Use hash $5$ (SHA-2-256).
9919 * manual/examples/testpass.c: Demonstrate validation against
9920 hashes generated with three different one-way functions.
9922 * manual/intro.texi: crypt.texi does not need an overview
9925 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9926 * manual/terminal.texi: Consistently refer to "passphrases"
9927 * instead of "passwords", and to the "user database" instead
9928 * of the "password database".
9929 * manual/users.texi: Similarly. Add notes about how actual
9930 passphrase hashes are now stored in the shadow database.
9931 Remove 20-year-old junk todo note.
9933 2018-06-29 Zack Weinberg <zackw@panix.com>
9935 * manual/crypt.texi: Use a normal top-level @node declaration.
9936 Move most of the introductory text to the 'crypt' section.
9937 Move the example programs below the @deftypefun for 'crypt_r'.
9938 Move the 'getpass' section...
9939 * manual/terminal.texi: ...here.
9941 2018-06-29 Zack Weinberg <zackw@panix.com>
9942 Florian Weimer <fweimer@redhat.com>
9944 * posix/unistd.h: Do not declare encrypt.
9945 (_XOPEN_CRYPT): Remove macro definition.
9946 (crypt): Declare only for _USE_MISC.
9947 * stdlib/stdlib.h: Do not declare setkey.
9948 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9949 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9951 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9952 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9953 into compat symbols. Don't define initial_perm if it's not
9955 * crypt/cert.c: Link explicitly with the expected versions for
9956 setkey and encrypt. If they are not available at all, mark
9957 the test as unsupported.
9959 * sunrpc/des_crypt.c: Unconditionally block linkage with
9960 cbc_crypt and ecb_crypt for new binaries.
9961 * sunrpc/des_soft.c: Unconditionally block linkage with
9962 des_setparity for new binaries.
9964 * manual/crypt.texi: Remove the entire "DES Encryption"
9965 section. Also remove the paragraph talking about FIPS 140-2
9966 from the introduction.
9967 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9968 of libgcrypt for "real" encryption, not DES.
9969 * manual/conf.texi (Constants for Sysconf): Mention that
9970 _XOPEN_CRYPT is no longer impelemented.
9972 * conform/data/unistd.h-data: Remove crypt function declaration.
9974 2018-06-29 Florian Weimer <fweimer@redhat.com>
9977 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9978 (disallow_malloc_check): Remove variable.
9979 (__malloc_check_init): Adjust.
9980 (malloc_set_state): Update comment.
9981 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9984 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9987 * localedata/locales/ast_ES (mon): Rename to...
9989 (mon): Import from CLDR (genitive case).
9991 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9992 Jakub Sitnicki <jkbs@redhat.com>
9995 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9998 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10000 * manual/llio.texi: Remove spurious space.
10002 2018-06-28 Florian Weimer <fweimer@redhat.com>
10005 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10008 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10010 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10011 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10012 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10013 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10014 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10015 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10016 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10018 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10021 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10022 Copy and null-terminate entries that are not terminated, in
10023 addition to empty ones.
10025 2018-06-27 Florian Weimer <fweimer@redhat.com>
10028 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10029 (extend_alloca_account): Remove.
10030 * manual/stdio.texi (Variable Arguments Output): Update comment.
10032 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10034 * nptl/sockperf.c: Remove file.
10036 2018-06-27 Florian Weimer <fweimer@redhat.com>
10039 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10040 scratch_buffer instead of extend_alloca.
10042 2018-06-27 Florian Weimer <fweimer@redhat.com>
10045 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10046 scratch_buffer instead of extend_alloca. Update comments.
10048 2018-06-27 Florian Weimer <fweimer@redhat.com>
10051 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10052 instead of extend_alloca.
10054 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10057 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10058 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10060 * scripts/test-installation.pl: Put temporary files in build
10061 directory, not /tmp.
10062 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10063 (CFLAGS-bug4.c): Likewise.
10064 (CFLAGS-bug5.c): Likewise.
10065 (CFLAGS-test-fseek.c): Likewise.
10066 (CFLAGS-test-popen.c): Likewise.
10067 (CFLAGS-test_rdwr.c): Likewise.
10068 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10070 * stdio-common/bug4.c (main): Likewise.
10071 * stdio-common/bug5.c (main): Likewise.
10072 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10073 * stdio-common/test-popen.c (do_test): Likewise.
10074 * stdio-common/test_rdwr.c (main): Likewise.
10076 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10078 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10079 (sem_open): Set sem.newsem.pad to zero for valgrind.
10081 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10084 * NEWS: Mention fcntl64 addition.
10085 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10086 * login/utmp_file.c: Likewise.
10087 * sysdeps/posix/fdopendir.c: Likewise.
10088 * sysdeps/posix/opendir.c: Likewise.
10089 * sysdeps/unix/pt-fcntl.c: Likewise.
10090 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10091 __fcntl64_nocancel_adjusted): New prototype.
10092 (__fcntl_nocancel_adjusted): Remove prototype.
10093 * io/Makefile (routines): Add fcntl64.
10094 (CFLAGS-fcntl64.c): New rule.
10095 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10096 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10097 * io/fcntl.h (fcntl64): Add prototype and redirect if
10098 __USE_FILE_OFFSET64 is defined.
10099 * io/fcntl64.c: New file.
10100 * manual/llio.text: Add a note for which commands fcntl acts a
10101 cancellation point.
10102 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10103 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10104 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10106 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10107 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10109 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10110 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10111 to __fcntl64_nocancel.
10112 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10113 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10114 to __fcntl64_nocancel.
10115 * sysdeps/generic/not-cancel.h: Likewise.
10116 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10117 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10118 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10119 (fcntl64): New symbol.
10120 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10129 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10131 fcntl64): Likewise.
10132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10134 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10139 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10140 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10146 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10147 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10149 2018-06-26 Florian Weimer <fweimer@redhat.com>
10151 Run thread shutdown functions in an explicit order.
10152 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10154 (__libc_thread_freeres): Call thread shutdown functions
10156 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10157 * include/string.h (__strerror_thread_freeres): Declare.
10158 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10159 arena_thread_freeres. No longer static. Remove thread shutdown
10161 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10163 * resolv/res-close.c (__res_thread_freeres): Renamed from
10164 res_thread_freeres. No longer static. Remove thread shutdown
10166 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10167 * resolv/resolv_conf.c (freeres): Remove incorrect section
10168 attribute and use libc_freeres_fn.
10169 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10170 strerror_thread_freeres. No longer static. Remove thread
10171 shutdown hook registration.
10172 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10173 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10174 shutdown hook registration.
10175 * Makerules (shlib.lds): Do not provide section boundary symbols
10176 for __libc_thread_subfreeres.
10177 * manual/memory.texi (Basic Allocation): Update comment.
10179 2018-06-26 Florian Weimer <fweimer@redhat.com>
10181 Remove always-defined _RPC_THREAD_SAFE_ macro.
10182 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10183 Do not define _RPC_THREAD_SAFE_.
10184 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10186 * sunrpc/clnt_perr.c: Likewise.
10187 * sunrpc/clnt_raw.c: Likewise.
10188 * sunrpc/clnt_simp.c: Likewise.
10189 * sunrpc/key_call.c: Likewise.
10190 * sunrpc/rpc_common.c: Likewise.
10191 * sunrpc/rpc_main.c: Likewise.
10192 * sunrpc/rpc_thread.c: Likewise.
10193 * sunrpc/svc.c: Likewise.
10194 * sunrpc/svc_raw.c: Likewise.
10195 * sunrpc/svc_simple.c: Likewise.
10196 * sumrpc/svcauth_des.c: Likewise.
10198 2018-06-26 Florian Weimer <fweimer@redhat.com>
10200 * libio/Makefile (tests-internal): Add tst-vtables,
10201 tst-vtables-interposed.
10202 * libio/tst-vtables.c: New file.
10203 * libio/tst-vtables-common.c: Likewise.
10204 * libio/tst-vtables-interposed.c: Likewise.
10206 2018-06-26 Florian Weimer <fweimer@redhat.com>
10208 * support/support_test_main.c (support_test_main): Only call
10209 setvbuf if not disables.
10210 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10211 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10213 2018-06-26 Florian Weimer <fweimer@redhat.com>
10216 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10218 2018-06-25 Florian Weimer <fweimer@redhat.com>
10221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10222 Use struct scratch_buffer instead of extend_alloca.
10224 2018-06-25 Florian Weimer <fweimer@redhat.com>
10227 * nss/getent.c (initgroups_keys): Use dynarray instead of
10230 2018-06-25 Florian Weimer <fweimer@redhat.com>
10233 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10234 Use struct scratch_buffer instead of extend_alloca.
10236 2018-06-25 Florian Weimer <fweimer@redhat.com>
10239 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10240 back to malloc directly, without stack allocations.
10242 2018-06-25 Florian Weimer <fweimer@redhat.com>
10245 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10248 2018-06-25 Florian Weimer <fweimer@redhat.com>
10251 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10253 * nscd/hstcache.c (addhstbyX): Likewise.
10254 * nscd/pwdcache.c (addpwbyX): Likewise.
10255 * nscd/servicescache.c (addservbyX): Likewise.
10257 2018-06-25 Florian Weimer <fweimer@redhat.com>
10260 * nscd/connections.c (read_cmdline): New function.
10261 (restart): Use it. Update comment.
10263 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10266 * localedata/locales/csb_PL (mon): Rename to...
10268 (abmon): Rename to...
10269 (ab_alt_mon): This.
10270 (mon): Add with proper genitive forms, copy from Wikipedia.
10273 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10276 * localedata/locales/csb_PL (mon): Fix typos:
10277 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10278 (yesstr): Add, value is "jo".
10279 (nostr): Add, value is "nié".
10281 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10283 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10284 all log1p and significand functions on m680x0.
10285 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10286 of s_significand.c..
10287 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10288 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10289 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10290 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10291 s_log1p.c and include it..
10293 2018-06-21 Vincent Chen <vincentc@andestech.com>
10295 * elf/elf.h (R_NDS32_NONE): New define.
10296 (R_NDS32_32_RELA): Likewise.
10297 (R_NDS32_COPY): Likewise.
10298 (R_NDS32_GLOB_DAT): Likewise.
10299 (R_NDS32_JUMP_SLOT): Likewise.
10300 (R_NDS32_RELATIVE): Likewise.
10301 (R_NDS32_TLS_TPOFF): Likewise.
10302 (R_NDS32_TLS_DESC): Likewise.
10304 2018-06-21 Mark Wielaard <mark@klomp.org>
10306 * elf/elf.h (R_BPF_MAP_FD): Removed.
10307 (R_BPF_64_64, R_BPF_64_32): New.
10309 2018-06-21 Florian Weimer <fweimer@redhat.com>
10312 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10313 Renamed from libc_feholdsetround_ctx.
10314 (default_libc_feresetround_ctx): Renamed from
10315 libc_feresetround_ctx.
10316 (default_libc_feholdsetround_noex_ctx): Renamed from
10317 libc_feholdsetround_noex_ctx.
10318 (default_libc_feresetround_noex_ctx): Renamed from
10319 libc_feresetround_noex_ctx.
10320 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10321 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10322 forwardning to the old implementations under the new names.
10323 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10324 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10325 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10326 (libc_feresetround_ctx): Forward to default implements for i386
10327 and MATH_SET_BOTH_ROUNDING_MODES.
10328 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10329 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10331 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10333 * string/tst-cmp.c: Include <libc-diag.h>.
10334 (strncmp_max): Disable -Wstringop-overflow= around call to
10336 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10339 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10340 (main): Disable -Wunused-value around call to strpbrk.
10341 * string/bug-strspn1.c: Include <libc-diag.h>.
10342 (main): Disable -Wunused-value around call to strspn.
10344 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10345 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10347 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10348 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10350 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10352 * math/Makefile (libm-calls): Move s_significandF to...
10353 (gen-libm-calls): ... here.
10354 * math/s_significand_template.c: New file.
10355 * math/s_significand.c: Removed.
10356 * math/s_significandf.c: Removed.
10357 * math/s_significandl.c: Removed.
10358 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10359 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10361 * math/e_exp2_template.c (declare_mgen_finite_alias,
10362 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10363 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10364 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10366 2018-06-20 Florian Weimer <fweimer@redhat.com>
10368 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10370 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10373 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10374 floating-point number to strtod functions rather than possibly
10375 negating result of those functions.
10376 * stdio-common/tst-scanf-round.c: New file.
10377 * stdio-common/Makefile (tests): Add tst-scanf-round.
10378 ($(objpfx)tst-scanf-round): Depend on $(libm).
10380 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10382 * sysdeps/mach/hurd/localplt.data: Move to...
10383 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10384 R_386_GLOB_DAT like on Linux i386.
10386 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10388 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10389 (SHM_STAT_ANY): New macro.
10390 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10391 (SHM_STAT_ANY): Likewise.
10392 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10393 (SHM_STAT_ANY): Likewise.
10394 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10395 (SHM_STAT_ANY): Likewise.
10396 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10397 (SHM_STAT_ANY): Likewise.
10398 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10399 (SHM_STAT_ANY): Likewise.
10400 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10401 (SHM_STAT_ANY): Likewise.
10402 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10403 (SHM_STAT_ANY): Likewise.
10404 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10405 (SHM_STAT_ANY): Likewise.
10406 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10407 (SHM_STAT_ANY): Likewise.
10408 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10409 (SHM_STAT_ANY): Likewise.
10410 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10411 (SHM_STAT_ANY): Likewise.
10413 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10414 (SEM_STAT_ANY): New macro.
10415 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10416 (SEM_STAT_ANY): Likewise.
10417 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10418 (SEM_STAT_ANY): Likewise.
10419 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10420 (SEM_STAT_ANY): Likewise.
10421 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10422 (SEM_STAT_ANY): Likewise.
10423 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10424 (SEM_STAT_ANY): Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10426 (SEM_STAT_ANY): Likewise.
10427 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10428 (SEM_STAT_ANY): Likewise.
10429 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10430 (SEM_STAT_ANY): Likewise.
10431 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10432 (SEM_STAT_ANY): Likewise.
10434 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10435 (MSG_STAT_ANY): New macro.
10436 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10437 (MSG_STAT_ANY): Likewise.
10438 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10439 (MSG_STAT_ANY): Likewise.
10440 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10441 (MSG_STAT_ANY): Likewise.
10442 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10443 (MSG_STAT_ANY): Likewise.
10444 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10445 (MSG_STAT_ANY): Likewise.
10446 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10447 (MSG_STAT_ANY): Likewise.
10448 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10449 (MSG_STAT_ANY): Likewise.
10450 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10451 (MSG_STAT_ANY): Likewise.
10452 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10453 (MSG_STAT_ANY): Likewise.
10455 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10456 (MAP_TYPE): Change value to 0x2b.
10458 2018-06-18 Florian Weimer <fweimer@redhat.com>
10461 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10462 socket with SOCK_CLOEXEC.
10464 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/powerpc/powerpc64/le/Makefile
10468 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10469 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10470 (gnulib-tests): Also add $(f128-loader-link) for
10471 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10473 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10475 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10476 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10478 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10479 (sendfile64): New strong alias.
10480 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10481 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10482 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10483 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10485 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10486 ___pthread_get_cleanup_stack.
10487 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10488 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10489 * mach/shortcut.awk: Make syscall stubs include
10490 <mach-shortcuts-hidden.h> and add hidden definition.
10491 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10492 (__mach_msg): Add hidden prototype.
10493 * mach/msg.c: Include <mach.h>.
10494 (__mach_msg): Add hidden definition.
10495 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10496 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10497 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10498 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10499 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10500 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10501 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10502 prototype and definition.
10503 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10504 hidden target for _hurd_self_sigstate.
10506 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10509 * stdlib/tst-strtod-nan-sign-main.c: New file.
10510 * stdlib/tst-strtod-nan-sign.c: Likewise.
10511 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10512 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10513 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10514 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10515 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10517 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10523 2018-06-14 Florian Weimer <fweimer@redhat.com>
10526 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10527 that the result stays within the ISO-8859-1 range.
10528 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10529 characters are defined in IBM273.
10531 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10533 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10534 __mach_task_self): Remove attribute_hidden.
10536 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10538 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10539 ignore -Wrestrict for one test.
10541 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10542 Szabolcs Nagy <szabolcs.nagy@arm.com>
10544 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10546 2018-06-14 Florian Weimer <fweimer@redhat.com>
10548 * scripts/update-abilist.sh: Accept empty list of files to patch.
10550 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10552 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10553 test-xfail-check-abi-libmachuser): Add.
10554 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10555 __libc_read and __libc_write to __read and __write.
10556 * sysdeps/hurd/include/hurd/port.h: New file.
10557 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10558 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10559 __thread_switch, __evc_wait): Move declarations to...
10560 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10562 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10563 use PLT to call _hurd_self_sigstate.
10565 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10568 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10569 MAX_EXP as overflowing.
10570 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10572 (round_str): Output also whether result overflows in each rounding
10574 * stdlib/tst-strtod-round-data: Add more tests.
10575 * stdlib/tst-strtod-round-data.h: Regenerated.
10576 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10577 (TEST): Handle extra arguments for overflow flags.
10578 (struct test_overflow): New type.
10579 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10580 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10581 (test_in_one_mode): Take argument with overflow information.
10582 (do_test): Update calls to test_in_one_mode.
10584 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10586 * elf/dl-load (_dl_dst_substitute): Correct comment.
10587 (_dl_dst_count): Likewise.
10589 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10590 lll_futex_timed_wait.
10592 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10595 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10597 * math/test-nan-const.c: New file.
10598 * math/Makefile (tests): Add test-nan-const.
10599 (CFLAGS-test-nan-const.c): New variable.
10601 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10603 * benchtests/scripts/compare_strings.py (process_results): Add
10604 funcs argument. Compare only functions which are selected.
10605 (main): Check if base function is among selected functions.
10606 Pass selected functions to process_results.
10607 (__main__): Add -f/--functions argument.
10609 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10610 Hongbo Zhang <hongbo.zhang@linaro.org>
10612 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10613 __memcpy_falkor for phecda core.
10614 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10615 __memmove_falkor for phecda core.
10616 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10617 __memset_falkor for phecda core.
10618 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10620 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10621 macro to identify phecda core.
10623 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10624 Andreas Schwab <schwab@suse.de>
10625 Dmitry V. Levin <ldv@altlinux.org>
10626 Florian Weimer <fweimer@redhat.com>
10633 * elf/dl-dst.h: Remove DL_DST_COUNT.
10634 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10635 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10636 (is_dst): Comment. Support ELF gABI.
10637 (_dl_dst_count): Comment. Simplify and count DSTs.
10638 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10639 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10642 2018-06-12 Zack Weinberg <zackw@panix.com>
10644 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10645 * sysdeps/unix/sysv/linux/dl-sysdep.c
10646 Include not-cancel.h. Use __close_nocancel instead of __close,
10647 __open64_nocancel instead of __open, __read_nocancel instead of
10648 __libc_read, and __write_nocancel instead of __libc_write.
10650 * csu/check_fds.c (check_one_fd)
10651 * sysdeps/posix/fdopendir.c (__fdopendir)
10652 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10653 instead of __fcntl and/or __libc_fcntl.
10655 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10656 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10657 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10658 Use __open64_nocancel instead of __open_nocancel.
10660 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10661 hidden_proto declarations to the end and issue them if either
10662 IS_IN(libc) or IS_IN(rtld).
10663 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10664 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10665 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10666 read_nocancel, waitpid_nocancel, write_nocancel.
10668 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10669 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10670 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10672 * nptl/pt-fcntl.c: New file.
10673 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10674 (libpthread-routines): Add pt-fcntl.
10675 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10676 (__libc_fcntl): Remove attribute_hidden.
10677 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10678 __fcntl_nocancel_adjusted, not fcntl_common.
10679 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10680 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10681 to fcntl_nocancel.c.
10682 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10685 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10687 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10688 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10689 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10690 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10691 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10692 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10693 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10694 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10695 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10696 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10697 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10698 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10699 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10700 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10701 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10702 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10703 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10704 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10705 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10706 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10708 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10709 libpthread-routines.
10710 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10713 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10714 __libc_read, and __write instead of __libc_write. Define
10715 __open64 in addition to __open.
10717 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10721 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10722 to _private_tm[3] and add __glibc_reserved2.
10723 Add _Static_assert of offset of __private_ss == 0x30.
10724 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10725 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10727 2018-06-12 Florian Weimer <fweimer@redhat.com>
10729 x86: Make strncmp usable from rtld.
10730 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10731 __strncmp_ia32 if in libc (and not in rtld).
10732 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10733 strncmp if not in libc (and not to __strncmp_sse2).
10735 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10738 * localedata/locales/gd_GB (mon): Rename to...
10740 (mon): Import from CLDR (genitive case).
10741 * localedata/locales/hsb_DE (mon): Rename to...
10743 (mon): Import from CLDR (genitive case).
10744 * localedata/locales/wa_BE (mon): Rename to...
10746 (mon): Add, fill with the proper genitive forms, but CLDR data
10747 is incomplete; completed according to the comments in this file.
10748 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10750 * localedata/locales/wa_BE (country_name): Reword
10751 "Beljike" -> "Beldjike".
10753 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10756 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10757 cases of non-finite arguments.
10758 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10760 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10763 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10765 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10768 * include/unistd.h (__execvpex): New prototype.
10769 * posix/Makefile (tests): Add tst-spawn4.
10770 (tests-internal): Add tst-spawn4-compat.
10771 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10772 * posix/tst-spawn4-compat.c: New file.
10773 * posix/tst-spawn4.c: Likewise.
10774 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10775 binaries as shell scripts.
10776 * sysdeps/posix/spawni.c (__spawni): Likewise.
10778 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10781 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10782 ($(all-built-dso:=.dynsym): New target.
10783 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10784 ($(objpfx)check-initfini.out): New target.
10785 (generated): Add check-initfini.out.
10786 * scripts/check-initfini.awk: New file.
10787 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10789 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10791 * sysdeps/arm/crti.S (_init): Mark as hidden.
10793 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10795 * sysdeps/i386/crti.S (_init): Mark as hidden.
10797 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10799 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10801 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10803 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10805 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10807 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10809 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10811 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10813 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10815 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10817 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10819 * sysdeps/sh/crti.S (_init): Mark as hidden.
10821 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10823 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10826 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10828 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10829 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10830 and TF redirection to KFtype and KF only when the default
10831 long double type is not the IEEE 128-bit floating point type.
10833 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10835 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10837 (HWCAP_USCAT): Likewise.
10838 (HWCAP_ILRCPC): Likewise.
10839 (HWCAP_FLAGM): Likewise.
10840 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10842 (_dl_aarch64_cap_flags): Add new flag names.
10844 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10845 (MAP_FIXED_NOREPLACE): New macro.
10846 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10847 (MAP_FIXED_NOREPLACE): Likewise.
10848 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10849 (MAP_FIXED_NOREPLACE): Likewise.
10850 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10851 (MAP_FIXED_NOREPLACE): Likewise.
10852 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10853 (MAP_FIXED_NOREPLACE): Likewise.
10854 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10855 (MAP_FIXED_NOREPLACE): Likewise.
10856 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10857 (MAP_FIXED_NOREPLACE): Likewise.
10858 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10859 (MAP_FIXED_NOREPLACE): Likewise.
10860 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10861 (MAP_FIXED_NOREPLACE): Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10863 (MAP_FIXED_NOREPLACE): Likewise.
10864 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10865 (MAP_FIXED_NOREPLACE): Likewise.
10866 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10867 (MAP_FIXED_NOREPLACE): Likewise.
10868 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10869 (MAP_FIXED_NOREPLACE): Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10871 (MAP_FIXED_NOREPLACE): Likewise.
10872 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10873 (MAP_FIXED_NOREPLACE): Likewise.
10875 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10878 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10880 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10883 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10885 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10887 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10889 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10891 * benchtests/scripts/compare_string.py: (process_results) Catch
10892 exception in non-existent base_func and catch exception in
10893 non-existent attribute.
10894 (parse_file) Catch exception if input file does not exist.
10896 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10898 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10899 options to avoid diff calculation and omit header, respectively.
10900 (main): process --no-diff and --no-header
10902 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10903 H.J. Lu <hongjiu.lu@intel.com>
10905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10906 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10909 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10910 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10911 and __wcsncmp_sse2.
10912 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10913 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10914 AVX unaligned load is fast and vzeroupper is preferred.
10915 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10916 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10917 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10918 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10919 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10920 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10921 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10922 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10923 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10924 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10927 2018-06-01 Florian Weimer <fweimer@redhat.com>
10929 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10930 configuring with --disable-multi-arch, building with
10931 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10934 2018-06-01 Florian Weimer <fweimer@redhat.com>
10936 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10937 results from building with “-march=x86-64 -mtune=generic
10938 -mfpmath=sse” and running on a Haswell-era CPU.
10940 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10943 * soft-fp/sqrttf2.c: Remove file.
10944 * soft-fp/sqrtdf2.c: Move to ....
10945 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10947 (__sqrtdf2): Make conditional on
10948 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10950 * soft-fp/sqrtsf2.c: Move to ....
10951 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10953 (__sqrtsf2): Make conditional on
10954 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10956 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10957 (gcc-double-routines): Remove sqrtdf2.
10958 (gcc-quad-routines): Remove sqrttf2.
10959 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10960 Do not filter out sqrtsf2 and sqrtdf2.
10961 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10962 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10964 2018-06-01 Florian Weimer <fweimer@redhat.com>
10966 * sysdeps/generic/libcidn.abilist: Remove file.
10968 2018-06-01 Florian Weimer <fweimer@redhat.com>
10971 * libio/strfile.h (struct _IO_str_fields): Rename members to
10972 discourage their use and add comment.
10973 (_IO_STR_DYNAMIC): Remove unused macro.
10974 * libio/strops.c (_IO_str_init_static_internal): Do not use
10975 callback pointers. Call malloc and free.
10976 (_IO_str_overflow): Do not use callback pointers. Call malloc
10978 (enlarge_userbuf): Likewise.
10979 (_IO_str_finish): Call free.
10980 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10981 _allocate_buffer_unused.
10982 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10984 (enlarge_userbuf): Likewise.
10985 (_IO_wstr_finish): Call free.
10986 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10987 _allocate_buffer_unused, _free_buffer_unused.
10988 * libio/memstream.c (__open_memstream): Likewise.
10989 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10990 * libio/wmemstream.c (open_wmemstream): Likewise.
10992 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10994 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10997 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10999 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11000 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11001 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11003 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11005 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11007 2018-05-29 Florian Weimer <fweimer@redhat.com>
11009 * support/Makefile (libsupport-routines): Add
11010 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11011 xpthread_barrierattr_setpshared.
11012 * support/xpthread_barrierattr_destroy.c: New file.
11013 * support/xpthread_barrierattr_init.c: Likewise.
11014 * support/xpthread_barrierattr_setpshared.c: Likewise.
11016 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11019 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11020 _r_debug and update DT_DEBUG for debugger.
11022 2018-05-29 Florian Weimer <fweimer@redhat.com>
11024 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11025 (tst-strtod5i.out): Likewise.
11027 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11030 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11031 (sparc64-quad-routines): New variable. Moved from ....
11032 [$(subdir) = soft-fp] (sysdep_routines): Add
11033 $(sparc64-quad-routines). Moved from ....
11034 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11035 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11036 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11038 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11039 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11040 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11041 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11042 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11043 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11044 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11045 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11046 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11047 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11048 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11049 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11050 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11051 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11052 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11053 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11054 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11055 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11056 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11057 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11058 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11059 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11060 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11061 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11062 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11063 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11064 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11065 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11066 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11067 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11068 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11069 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11070 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11071 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11072 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11073 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11074 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11075 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11076 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11077 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11078 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11079 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11080 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11081 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11082 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11083 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11084 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11085 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11086 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11087 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11088 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11089 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11090 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11091 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11092 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11093 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11094 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11095 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11097 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11098 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11099 (sparc32-quad-routines): New variable. Moved from ....
11100 [$(subdir) = soft-fp] (sysdep_routines): Add
11101 $(sparc32-quad-routines). Moved from ....
11102 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11103 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11105 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11106 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11107 * sysdeps/sparc/sparc32/q_add.c: ... here.
11108 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11109 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11110 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11111 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11112 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11113 * sysdeps/sparc/sparc32/q_div.c: ... here.
11114 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11115 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11116 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11117 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11118 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11119 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11120 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11121 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11122 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11123 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11124 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11125 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11126 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11127 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11128 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11129 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11130 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11131 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11132 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11133 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11134 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11135 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11136 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11137 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11138 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11139 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11140 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11141 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11142 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11143 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11144 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11145 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11146 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11147 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11148 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11149 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11150 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11151 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11152 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11153 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11154 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11155 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11156 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11157 * sysdeps/sparc/sparc32/q_util.c: ... here.
11158 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11159 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11161 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11163 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11164 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11166 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11167 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11168 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11169 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11171 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11177 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11178 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11180 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11183 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11186 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11188 * sysdeps/sh/Implies: Remove sh/soft-fp.
11189 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11190 * sysdeps/sh/sfp-machine.h: ... here.
11192 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11194 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11195 (__mempcpy_erms): Skip zero length.
11196 (__memmove_erms): Likewise.
11197 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11198 (__memset_erms): Likewise.
11200 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11202 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11203 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11204 Add functions moved from ....
11205 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11206 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11207 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11209 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11210 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11211 * sysdeps/alpha/e_sqrtl.c: ... here.
11212 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11213 * sysdeps/alpha/local-soft-fp.h: ... here.
11214 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11215 * sysdeps/alpha/ots_add.c: ... here.
11216 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11217 * sysdeps/alpha/ots_cmp.c: ... here.
11218 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11219 * sysdeps/alpha/ots_cmpe.c: ... here.
11220 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11221 * sysdeps/alpha/ots_cvtqux.c: ... here.
11222 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11223 * sysdeps/alpha/ots_cvtqx.c: ... here.
11224 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11225 * sysdeps/alpha/ots_cvttx.c: ... here.
11226 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11227 * sysdeps/alpha/ots_cvtxq.c: ... here.
11228 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11229 * sysdeps/alpha/ots_cvtxt.c: ... here.
11230 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11231 * sysdeps/alpha/ots_div.c: ... here.
11232 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11233 * sysdeps/alpha/ots_mul.c: ... here.
11234 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11235 * sysdeps/alpha/ots_nintxq.c: ... here.
11236 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11237 * sysdeps/alpha/ots_sub.c: ... here.
11238 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11239 * sysdeps/alpha/sfp-machine.h: ... here.
11241 2018-05-23 Florian Weimer <fweimer@redhat.com>
11249 Switch to extern IDNA implementation (libidn2).
11250 * libidn: Remove subdirectory.
11251 * LICENSES: Do not mention licensing conditions for the removed
11253 * config.h.in (HAVE_LIBIDN): Remove.
11254 * include/dlfcn.h (__libc_dlopen): Update comment.
11255 * include/idna.h: Remove file.
11256 * inet/Makefile (routines): Add idna.
11257 (tests-static, tests-internal): Add tst-idna_name_classify.
11258 (LOCALES): Generate locales for tests.
11259 (tst-idna_name_classify.out): Depend on generated locales.
11260 * inet/idna_name_classify.c: New file.
11261 * inet/tst-idna_name_classify.c: Likewise.
11262 * inet/net-internal.h (__idna_to_dns_encoding)
11263 (__idna_from_dns_encoding): Declare.
11264 * inet/net-internal.h (enum idna_name_classification): Define.
11265 (__idna_name_classify): Declare.
11266 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11267 __idna_from_dns_encoding.
11268 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11269 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11270 name as a fallback in case of encoding errors.
11271 (getnameinfo): Use DEPRECATED_NI_IDN.
11272 * inet/idna.c: New file.
11273 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11274 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11275 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11276 (modules-names): Add tst-no-libidn2.
11277 (extra-test-objs): Add tst-no-libidn2.os.
11278 (LDFLAGS-tst-no-libidn2.so): Set soname.
11279 (LOCALES): Set, and generate locales.
11280 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11281 (tst-resolv-ai_idn-latin1): Likewise.
11282 (tst-resolv-ai_idn-nolibidn2): Likewise.
11283 (tst-resolv-ai_idn.out): Depend on locales.
11284 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11285 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11287 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11288 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11289 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11290 * resolv/tst-resolv-ai_idn.c: New file.
11291 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11292 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11293 * resolv/tst-no-libidn2.c: Likewise.
11294 * support/support_format_addrinfo.c (format_ai_flags): Do not
11295 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11296 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11297 (gaih_inet): Call __idna_to_dns_encoding and
11298 __idna_from_dns_encoding, and use the original (punycode) name if
11299 __idna_from_dns_encoding fails due to an encoding error.
11300 (getaddrinfo): Use DEPRECATED_AI_IDN.
11301 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11302 * sysdeps/unix/inet/configure: Remove file.
11303 * sysdeps/unix/inet/configure.ac: Likewise.
11305 2018-05-23 Florian Weimer <fweimer@redhat.com>
11307 Implement allocate_once.
11308 * include/allocate_once.h: New file.
11309 * misc/allocate_once.c: Likewise.
11310 * misc/tst-allocate_once.c: Likewise.
11311 * misc/Makefile (routines): Add allocate_once.
11312 (tests-internal): Add tst-allocate_once.
11313 (generated): Add tst-allocate_once.mtrace,
11314 tst-allocate_once-mem.out.
11315 (tests-special): Add tst-allocate_once-mem.out.
11316 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11317 (tst-allocate_once-mem.out): Call mtrace.
11318 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11320 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11323 * string/test-memcpy.c (do_test1): New function.
11324 (test_main): Call it.
11326 2018-05-23 Andreas Schwab <schwab@suse.de>
11330 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11331 (L(preloop_large)): Save initial destination pointer in %r11 and
11332 use it instead of %rax after the loop.
11333 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11335 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11337 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11338 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11339 -I../soft-fp. Moved from ....
11340 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11341 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11342 * sysdeps/aarch64/e_sqrtl.c: ... here.
11343 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11344 * sysdeps/aarch64/sfp-machine.h: ... here.
11346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11347 -Wmaybe-uninitialized around access to fq[0].
11348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11352 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11353 aliases for non-libc case of versioned symbols.
11354 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11355 (llseek): Define as compat symbol if
11356 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11358 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11359 Make into a compat symbol, disabled for minimum symbol version
11360 GLIBC_2.28 and later.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11363 2018-05-22 Florian Weimer <fweimer@redhat.com>
11365 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11366 not add -mpreferred-stack-boundary=4.
11367 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11368 (stack-align-test-flags): Likewise.
11369 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11371 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11372 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11373 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11374 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11375 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11376 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11377 (CFLAGS-tst-align2.c): Likewise.
11379 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11381 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11382 (index_arch_Prefer_FSRM): Likewise.
11383 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11384 Also check Prefer_FSRM.
11385 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11386 Also return OPTIMIZE (erms) for Prefer_FSRM.
11388 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11390 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11391 (index_cpu_FSRM): Likewise.
11392 (reg_FSRM): Likewise.
11394 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11396 * math/gen-tgmath-tests.py: Import sys.
11397 (Tests.__init__): Initialize macros_seen.
11398 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11399 if requested to do so for this macro.
11400 (Tests.add_all_tests): Take argument for macro for which to
11402 (Tests.check_macro_list): New function.
11403 (main): Handle check-list argument and argument specifying macro
11404 for which to generate tests.
11405 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11406 [PYTHON] (tgmath3-macro-tests): Likewise.
11407 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11408 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11409 not test-tgmath3.c.
11410 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11411 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11413 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11414 [PYTHON] ($(foreach
11415 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11417 [PYTHON] (tests-special): Add
11418 $(objpfx)test-tgmath3-macro-list.out.
11419 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11421 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11422 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11426 * time/tzset.c (SECSPERDAY): Cast to time_t.
11427 * time/tst-y2039.c: New file.
11428 * time/Makefile (tests): Add tst-y2039.
11430 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11432 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11433 (PREFETCH_ONE_SET): Remove duplicate line.
11435 2018-05-17 Florian Weimer <fweimer@redhat.com>
11437 * sysdeps/generic/math-type-macros-double.h: Include
11438 <math-nan-payload-double.h> after <libm-alias-double.h>.
11439 * sysdeps/generic/math-type-macros-float.h: Include
11440 <math-nan-payload-float.h> after <libm-alias-float.h>.
11441 * sysdeps/generic/math-type-macros-float128.h: Include
11442 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11443 * sysdeps/generic/math-type-macros-ldouble.h: Include
11444 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11446 2018-05-17 Andreas Schwab <schwab@suse.de>
11448 * resolv/res_send.c (__res_context_send): Don't set errno when
11449 returing error after malloc failure.
11451 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11453 * nptl/allocatestack.c (allocate_stack): Remove the
11454 !__ASSUME_PRIVATE_FUTEX paths.
11455 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11456 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11458 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11459 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11460 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11461 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11462 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11463 !__ASSUME_PRIVATE_FUTEX path.
11464 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11465 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11466 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11467 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11468 !__ASSUME_PRIVATE_FUTEX macros.
11469 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11471 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11472 * sysdeps/unix/sysv/linux/kernel-features.h
11473 (__ASSUME_PRIVATE_FUTEX): Removed.
11475 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11477 * math/Makefile (libm-narrow-fns): Add div.
11478 (libm-test-funcs-narrow): Likewise.
11479 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11480 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11481 * math/gen-auto-libm-tests.c (test_functions): Add div.
11482 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11483 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11484 (NARROW_DIV_TRIVIAL): Likewise.
11485 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11487 (__ddivl): Likewise.
11488 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11490 (CFLAGS-nldbl-ddiv.c): New variable.
11491 (CFLAGS-nldbl-fdiv.c): Likewise.
11492 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11494 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11496 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11497 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11498 * math/auto-libm-test-in: Add tests of div.
11499 * math/auto-libm-test-out-narrow-div: New generated file.
11500 * math/libm-test-narrow-div.inc: New file.
11501 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11504 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11505 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11506 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11515 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11516 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11517 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11518 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11520 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11546 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11549 * nscd/nscd-client.h (sendfileall): Remove prototype.
11550 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11551 (handle_request): Use writeall instead of sendfileall.
11552 * nscd/aicache.c (addhstaiX): Likewise.
11553 * nscd/grpcache.c (cache_addgr): Likewise.
11554 * nscd/hstcache.c (cache_addhst): Likewise.
11555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11556 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11557 * nscd/pwdcache.c (cache_addpw): Likewise.
11558 * nscd/servicescache.c (cache_addserv): Likewise.
11559 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11560 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11564 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11566 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11567 Include <string/strncat.c>.
11568 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11570 (__GI___strncat): New hidden alias.
11572 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11574 * sysdeps/mips/mips32/libm-test-ulps: Update.
11575 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11577 2018-05-16 Florian Weimer <fweimer@redhat.com>
11579 * support/Makefile (libsupport-routines): Add support_quote_blob,
11580 support_test_compare_blob.
11581 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11582 * support/check.h (TEST_COMPARE_BLOB): Define.
11583 (support_test_compare_blob): Declare.
11584 * support/support.h (support_quote_blob): Declare.
11585 * support/support_quote_blob.c: New file.
11586 * support/support_test_compare_blob.c: Likewise.
11587 * support/tst-support_quote_blob.c: Likewise.
11588 * support/tst-test_compare_blob.c: Likewise.
11590 2018-05-16 Florian Weimer <fweimer@redhat.com>
11592 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11593 of <strtod_nan_double.h>.
11594 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11595 instead of SET_MANTISSA.
11596 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11597 of include <strtod_nan_float.h>.
11598 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11599 instead of <strtod_nan_ldouble.h>.
11600 * stdlib/strtod_nan_double.h: Move to ...
11601 * sysdeps/generic/math-nan-payload-double.h: ... here.
11602 (FLOAT): Remove definition.
11603 (SET_MANTISSA): Rename to ...
11604 (SET_NAN_PAYLOAD): ... this.
11605 * stdlib/strtod_nan_float.h: Move to ...
11606 * sysdeps/generic/math-nan-payload-float.h: ... here.
11607 (FLOAT): Remove definition.
11608 (SET_MANTISSA): Rename to ...
11609 (SET_NAN_PAYLOAD): ... this.
11610 * sysdeps/generic/math-type-macros-double.h: Include
11611 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11612 instead of <math-svid-compat.h>.
11613 * sysdeps/generic/math-type-macros-float.h: Include
11614 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11615 instead of <math-svid-compat.h>.
11616 * sysdeps/generic/math-type-macros-float128.h: Include
11617 <math-nan-payload-float128.h>.
11618 * sysdeps/generic/math-type-macros-ldouble.h: Include
11619 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11620 instead of <math-svid-compat.h>.
11621 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11622 check for definition.
11623 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11624 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11625 Include <ieee754_float128.h>.
11626 (FLOAT): Remove definition.
11627 (SET_MANTISSA): Rename to ...
11628 (SET_NAN_PAYLOAD): ... this.
11629 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11630 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11631 Do not include <float128_private.h>.
11632 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11634 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11635 (FLOAT): Remove definition.
11636 (SET_MANTISSA): Rename to ...
11637 (SET_NAN_PAYLOAD): ... this.
11638 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11639 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11640 (FLOAT): Remove definition.
11641 (SET_MANTISSA): Rename to ...
11642 (SET_NAN_PAYLOAD): ... this.
11643 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11644 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11645 (FLOAT): Remove definition.
11646 (SET_MANTISSA): Rename to ...
11647 (SET_NAN_PAYLOAD): ... this.
11648 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11649 of "../stdlib/strtod_nan_double.h".
11650 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11651 of "../stdlib/strtod_nan_float.h".
11652 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11653 instead of "../stdlib/strtod_nan_ldouble.h".
11654 * manual/arith.texi (Parsing of Floats): Adjust comment.
11656 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11658 * math/Makefile (libm-narrow-fns): Add mul.
11659 (libm-test-funcs-narrow): Likewise.
11660 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11661 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11662 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11663 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11664 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11665 (NARROW_MUL_TRIVIAL): Likewise.
11666 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11667 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11669 (__dmull): Likewise.
11670 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11672 (CFLAGS-nldbl-dmul.c): New variable.
11673 (CFLAGS-nldbl-fmul.c): Likewise.
11674 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11676 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11678 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11679 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11680 * math/auto-libm-test-in: Add tests of mul.
11681 * math/auto-libm-test-out-narrow-mul: New generated file.
11682 * math/libm-test-narrow-mul.inc: New file.
11683 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11686 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11687 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11688 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11694 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11695 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11696 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11697 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11698 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11699 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11700 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11702 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11728 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11730 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11731 with *%eax in call.
11733 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11735 * sysdeps/i386/ldsodefs.h: Removed.
11736 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11737 * sysdeps/x86/ldsodefs.h: This.
11738 (La_i86_regs): New.
11739 (La_i86_retval): Likewise.
11740 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11741 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11743 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11745 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11748 2018-05-13 Alan Modra <amodra@gmail.com>
11750 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11751 R_PARISC_TLS_DTPOFF32 reloc addend.
11753 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11755 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11756 * math/math.h: Restrict the prototype definition for the functions
11757 issignaling(_Float128) and iszero(_Float128); and template
11758 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11759 __HAVE_FLOAT128_UNLIKE_LDBL.
11760 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11761 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11762 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11763 __f128() constants; define the type _Float128 as long double;
11764 and reuse long double in __CFLOAT128.
11766 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11768 * sysdeps/generic/math_private.h: Do not include
11770 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11772 * math/fromfp.h: Include <math-barriers.h>.
11773 * math/math-narrow.h: Likewise.
11774 * math/s_nextafter.c: Likewise.
11775 * math/s_nexttowardf.c: Likewise.
11776 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11777 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11778 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11779 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11780 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11781 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11782 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11784 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11798 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11801 * sysdeps/ieee754/k_standardl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11822 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11823 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11825 2018-05-11 Florian Weimer <fweimer@redhat.com>
11827 Use 64-bit epoch values in the time zone file parser.
11828 * include/time.h (internal_time_t): Define.
11829 (__tzfile_compute): Use it.
11830 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11832 (transitions): Switch to internal_time_t.
11833 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11835 (__tzfile_compute): Use internal_time_t for timer argument. Check
11836 for truncation before calling __offtime.
11838 2018-05-11 Florian Weimer <fweimer@redhat.com>
11841 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11842 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11844 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11845 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11846 export without --enable-obsolete-rpc.
11847 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11848 symbol. This should not have been exported, ever.
11850 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11853 * localedata/locales/gd_GB (abmon): Fix typo in May:
11854 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11856 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11858 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11859 Use multiple registers to copy data in loop tail.
11861 * sysdeps/aarch64/multiarch/memmove_falkor.S
11862 (__memmove_falkor): Use multiple registers to move data in
11865 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11867 * math/math-underflow.h: New file.
11868 * sysdeps/generic/math_private.h: Do not include <float.h>.
11869 (fabs_tg): Remove macro. Moved to math-underflow.h.
11870 (min_of_type_f): Likewise.
11871 (min_of_type_): Likewise.
11872 (min_of_type_l): Likewise.
11873 (min_of_type_f128): Likewise.
11874 (min_of_type): Likewise.
11875 (math_check_force_underflow): Likewise.
11876 (math_check_force_underflow_nonneg): Likewise.
11877 (math_check_force_underflow_complex): Likewise.
11878 * math/e_exp2_template.c: Include <math-underflow.h>.
11879 * math/k_casinh_template.c: Likewise.
11880 * math/s_catan_template.c: Likewise.
11881 * math/s_catanh_template.c: Likewise.
11882 * math/s_ccosh_template.c: Likewise.
11883 * math/s_cexp_template.c: Likewise.
11884 * math/s_clog10_template.c: Likewise.
11885 * math/s_clog_template.c: Likewise.
11886 * math/s_csin_template.c: Likewise.
11887 * math/s_csinh_template.c: Likewise.
11888 * math/s_csqrt_template.c: Likewise.
11889 * math/s_ctan_template.c: Likewise.
11890 * math/s_ctanh_template.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11895 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11905 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11909 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11911 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11915 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11916 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11917 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11918 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11919 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11920 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11921 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11959 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11969 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11971 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11976 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11978 * sysdeps/generic/math-barriers.h: New file.
11979 * sysdeps/generic/math_private.h [!math_opt_barrier]
11980 (math_opt_barrier): Move to math-barriers.h.
11981 [!math_opt_barrier] (math_force_eval): Likewise.
11982 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11983 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11985 (math_force_eval): Likewise.
11986 * sysdeps/alpha/fpu/math-barriers.h: New file.
11987 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11989 (math_force_eval): Likewise.
11990 * sysdeps/x86/fpu/math-barriers.h: New file.
11991 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11993 (math_force_eval): Likewise.
11994 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11995 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11996 multiple-include guard for rename.
11997 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11998 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12000 (math_force_eval): Likewise.
12002 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12006 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12008 * stdlib/Makefile (test-bz22786): New test.
12009 * stdlib/test-bz22786.c: New test.
12011 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12013 * include/math-narrow-eval.h: New file. Contents moved from ....
12014 * sysdeps/generic/math_private.h: ... here.
12015 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12016 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12017 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12018 * stdlib/strtod_l.c: Likewise.
12019 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12020 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12021 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12034 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12035 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12036 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12038 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12039 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12041 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12043 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12045 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12046 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12047 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12049 2018-05-08 Andreas Schwab <schwab@suse.de>
12051 * sysdeps/nptl/internaltypes.h: Fix comment.
12053 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12055 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12056 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12059 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12061 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12062 of I into loop header.
12063 * benchtests/bench-memmove-walk.c
12064 (test_main): Likewise.
12066 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12069 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12070 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12072 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12075 * elf/dl-load.c (open_verify): Fix stack overflow.
12076 * elf/Makefile (tst-big-note): New test.
12077 * elf/tst-big-note-lib.S: New.
12078 * elf/tst-big-note.c: New.
12080 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12082 * scripts/abilist.awk: Ignore absolute symbols.
12083 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12084 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12085 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12086 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12087 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12088 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12089 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12090 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12091 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12092 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12093 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12094 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12176 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12190 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12218 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12239 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12329 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12357 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12383 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12397 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12436 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12439 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12440 Use atomic_load_acquire to load __tid.
12442 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12445 Restore the pointer into %rdx, after syscall and use %rdx,
12446 instead of %rsi, to restore context.
12448 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12450 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12451 Pop the pointer into %rdx after syscall and use %rdx, instead
12452 of %rsi, to restore context.
12454 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12456 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12457 handlers after setjmp.
12458 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12460 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12461 <libc-pointer-arith.h>.
12462 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12463 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12464 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12465 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12466 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12467 * sysdeps/x86/__longjmp_cancel.S: New file.
12468 * sysdeps/x86/longjmp.c: Likewise.
12469 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12471 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12473 * NEWS: Add ustat.h deprecation entry.
12474 * bits/ustat.h: Remove file.
12475 * misc/sys/ustat.h: Likewise.
12476 * misc/ustat.h: Likewise.
12477 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12478 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12479 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12480 compatibility mode.
12481 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12482 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12483 generic Linux implementation.
12485 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12487 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12488 * math/w_expl_compat.c: Likewise.
12489 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12491 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12493 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12495 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12497 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12498 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12499 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12501 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12504 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12505 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12508 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12510 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12512 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12513 * math/w_asin_template.c: Likewise.
12514 * math/w_atanh_template.c: Likewise.
12516 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12518 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12519 to powerpc/powerpc64/be for big-endian.
12520 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12523 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12524 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12525 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12526 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12527 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12528 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12529 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12530 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12531 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12532 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12533 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12534 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12535 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12536 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12537 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12538 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12539 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12540 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12541 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12542 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12543 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12544 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12545 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12546 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12547 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12548 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12549 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12550 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12551 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12552 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12553 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12554 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12556 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12557 adjusted to imply powerpc64 and older processors on powerpc64/be.
12558 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12559 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12560 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12561 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12562 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12563 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12564 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12565 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12566 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12567 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12568 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12569 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12570 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12572 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12573 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12574 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12575 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12576 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12577 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12578 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12579 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12580 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12581 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12582 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12583 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12584 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12585 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12586 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12587 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12588 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12590 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12591 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12592 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12593 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12595 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12596 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12597 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12598 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12600 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12601 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12602 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12603 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12604 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12605 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12606 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12607 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12608 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12609 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12610 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12612 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12613 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12614 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12615 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12616 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12617 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12618 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12619 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12620 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12621 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12622 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12624 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12625 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12626 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12627 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12628 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12629 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12630 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12631 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12632 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12633 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12634 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12635 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12637 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12638 and adjusted to imply olders processors.
12639 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12640 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12641 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12642 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12643 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12644 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12645 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12646 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12647 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12648 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12649 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12668 powerpc64 and adjusted.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12674 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12676 * sysdeps/tile: Remove.
12677 * sysdeps/unix/sysv/linux/tile: Likewise.
12678 * README (tilegx-*-linux-gnu): Remove from list of supported
12680 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12681 contribution of support for generic Linux kernel syscall
12683 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12684 tilegx configurations.
12685 (Config.install_linux_headers): Do not handle tile.
12686 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12688 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12689 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12690 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12691 conditional undefine and redefine.
12692 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12694 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12695 conditional undefine and redefine.
12697 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12699 * signal/tst-sigaction.c: New file to test BZ #23069.
12700 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12702 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12705 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12706 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12707 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12708 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12710 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12712 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12713 _DIRENT_MATCHES_DIRENT64 is not defined.
12714 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12715 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12717 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12718 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12720 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12722 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12723 version to GCC 8 branch.
12725 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12727 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12728 (check_no_hidden): Use type of original function when declaring
12731 * sysdeps/unix/sysv/linux/sys/ptrace.h
12732 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12733 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12734 (struct __ptrace_seccomp_metadata): New type.
12735 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12736 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12737 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12738 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12740 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12742 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12744 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12746 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12747 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12748 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12749 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12750 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12752 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12754 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12756 * dirent/versionsort.c (versionsort): Likewise.
12757 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12758 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12759 * dirent/versionsort64.c (versionsort64): Likewise.
12760 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12761 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12762 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12763 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12764 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12765 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12766 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12767 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12768 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12769 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12772 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12775 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12777 * elf/elf.h (NT_PPC_PKEY): New macro.
12779 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12782 * localedata/locales/hr_HR: fix thousands_sep and
12785 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12787 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12788 (XTABS): Define to TAB3.
12790 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12792 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12794 * dirent/scandir-tail-common.c: New file.
12795 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12796 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12797 * dirent/scandir.c: Use scandir-tail-common.c.
12798 * dirent/scandirat.c: Likewise.
12799 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12800 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12801 if _DIRENT_MATCHES_DIRENT64 is defined.
12802 * dirent/scandirat64.c (scandirat64): Likewise.
12803 * include/dirent.h (__scandir_tail): Only define iff
12804 _DIRENT_MATCHES_DIRENT64 is not defined.
12805 (__scandir64_tail): Define regardless.
12806 (__scandirat, scandirat64): Remove libc_hidden_proto.
12807 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12808 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12813 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12815 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12817 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12821 (_dl_aarch64_cap_flags): Add asimdfhm.
12823 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12825 * sysdeps/nios2/libm-test-ulps: Update.
12827 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12829 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12830 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12832 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12834 (_DIRENT_MATCHES_DIRENT64): Undef
12835 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12836 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12837 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12838 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12839 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12840 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12841 use getdents64 syscalls as base.
12842 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12843 symbol if required.
12844 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12845 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12846 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12848 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12849 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12850 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12851 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12853 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12854 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12856 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12858 * scripts/test_printers_common.py (init_test): Disable lock elision.
12860 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12862 * math/test-tgmath.c (count_double, count_float,
12863 count_ldouble, count_cdouble, count_cfloat,
12864 count_cldouble): Use volatile int.
12866 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12868 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12869 (conformtest-xfail-conds): Add i386-gnu.
12870 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12872 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12873 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12874 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12875 msqid_ds.msg_lrpid): Likewise.
12876 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12878 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12879 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12880 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12881 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12883 (struct statvfs64): Likewise.
12884 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12886 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12887 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12888 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12889 instead of wait_queue.
12890 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12891 instead of vm_area_struct.
12892 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12893 struct sched_param definition to it.
12894 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12895 * bits/types/struct_sched_param.h: New file.
12896 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12897 <bits/types/struct_sched_param.h> instead of <sched.h>.
12898 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12899 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12900 generic version but include <bits/pthreadtypes.h> to make struct
12901 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12902 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12904 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12905 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12906 [__USE_XOPEN] (OFDEL): New macro.
12907 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12908 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12909 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12911 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12912 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12913 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12915 * sysdeps/i386/sys/ucontext.h: Likewise.
12916 * sysdeps/m68k/sys/ucontext.h: Likewise.
12917 * sysdeps/mips/sys/ucontext.h: Likewise.
12918 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12919 * sysdeps/mach/hurd/i386/Makefile
12920 (test-xfail-POSIX/fcntl.h/conform): Add.
12921 (test-xfail-POSIX/signal.h/conform): Add.
12922 (test-xfail-POSIX/semaphore.h/conform): Add.
12923 (test-xfail-POSIX/regex.h/conform): Add.
12924 (test-xfail-POSIX/aio.h/conform): Add.
12925 (test-xfail-POSIX/mqueue.h/conform): Add.
12926 (test-xfail-POSIX/sys/types.h/conform): Add.
12927 (test-xfail-UNIX98/fcntl.h/conform): Add.
12928 (test-xfail-UNIX98/netdb.h/conform): Add.
12929 (test-xfail-UNIX98/signal.h/conform): Add.
12930 (test-xfail-UNIX98/semaphore.h/conform): Add.
12931 (test-xfail-UNIX98/regex.h/conform): Add.
12932 (test-xfail-UNIX98/aio.h/conform): Add.
12933 (test-xfail-UNIX98/ftw.h/conform): Add.
12934 (test-xfail-UNIX98/mqueue.h/conform): Add.
12935 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12936 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12937 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12938 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12939 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12940 (test-xfail-UNIX98/sys/types.h/conform): Add.
12941 (test-xfail-UNIX98/stdlib.h/conform): Add.
12942 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12943 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12944 (test-xfail-POSIX2008/netdb.h/conform): Add.
12945 (test-xfail-POSIX2008/signal.h/conform): Add.
12946 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12947 (test-xfail-POSIX2008/regex.h/conform): Add.
12948 (test-xfail-POSIX2008/aio.h/conform): Add.
12949 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12950 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12951 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12952 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12953 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12954 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12955 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12956 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12957 (test-xfail-XOPEN2K/signal.h/conform): Add.
12958 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12959 (test-xfail-XOPEN2K/regex.h/conform): Add.
12960 (test-xfail-XOPEN2K/aio.h/conform): Add.
12961 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12962 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12963 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12964 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12965 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12966 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12967 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12968 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12969 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12970 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12971 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12972 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12973 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12974 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12975 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12976 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12977 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12978 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12979 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12980 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12981 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12982 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12983 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12984 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12985 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12986 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12987 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12989 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12990 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12992 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12994 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12995 --enable-obsolete for powerpc-linux-gnuspe.
12997 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12999 * conform/data/sys/un.h-data: Allow sun_ prefix.
13000 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13002 * sysdeps/mach/include/mach.h: Likewise.
13003 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13004 * sysdeps/mach/include/mach_error.h: Likewise.
13006 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13008 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13009 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13010 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13011 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13013 2018-04-16 Andreas Schwab <schwab@suse.de>
13016 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13018 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13020 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13021 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13023 2018-04-12 DJ Delorie <dj@redhat.com>
13025 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13028 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13030 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13031 (struct kernel_sigaction): Use the same definition on 31bit as is used
13034 2018-04-09 Florian Weimer <fweimer@redhat.com>
13037 * resolv/res_send.c (send_dg): Use designated initializers instead
13038 of assignment to zero-initialize other fields of struct mmsghdr.
13040 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13042 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13043 __READDIR_ALIAS): Undefine after usage.
13044 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13045 __READDIR_R_ALIAS): Likewise.
13046 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13047 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13048 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13049 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13051 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13052 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13053 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13054 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13055 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13056 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13057 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13058 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13059 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13060 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13061 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13062 * sysdeps/unix/sysv/linux/readdir.c: New file.
13063 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13064 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13065 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13067 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13069 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13071 * manual/charset.texi (Converting a Character): Fix typo.
13073 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13077 * sysdeps/arm/libm-test-ulps: Update.
13079 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13080 as base implementation.
13081 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13082 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13083 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13086 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13087 remove unrequired definitions and update comments.
13088 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13089 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13090 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13091 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13092 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13093 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13094 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13095 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13096 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13097 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13098 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13099 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13100 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13101 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13102 and RESET_SA_RESTORER hooks.
13104 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13106 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13108 2018-04-05 Florian Weimer <fweimer@redhat.com>
13110 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13111 integer overflow, memory leak on error, and indeterminate errno
13112 value. Add a null wide character to terminate the result string.
13113 * manual/charset.texi (Converting a Character): Mention embedded
13114 null bytes in the mbrtowc input string. Explain what happens in
13115 the -2 result case. Do not claim that mbrtowc is simple or
13116 obvious to use. Adjust the description of the code example. Use
13117 @code, not @var, for concrete variables.
13119 2018-04-05 Florian Weimer <fweimer@redhat.com>
13121 * manual/examples/mbstouwcs.c: New file.
13122 * manual/charset.texi (Converting a Character): Include it.
13124 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13126 * include/dirent.h (dirfd): Add hidden proto.
13127 * dirent/dirfd.c (dirfd): Add hidden def.
13128 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13129 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13131 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13133 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13134 sin, cos and sincos to 1 ULP.
13136 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13139 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13141 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13142 * elf/tst-absolute-sym.c: New file.
13143 * elf/tst-absolute-sym-lib.c: New file.
13144 * elf/tst-absolute-sym-lib.lds: New file.
13145 * elf/Makefile (tests): Add `tst-absolute-sym'.
13146 (modules-names): Add `tst-absolute-sym-lib'.
13147 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13148 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13149 ($(objpfx)tst-absolute-sym): New dependency.
13152 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13154 (SYMBOL_ADDRESS): New macro.
13155 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13156 SYMBOL_ADDRESS for symbol address calculation.
13157 * elf/dl-runtime.c (_dl_fixup): Likewise.
13158 (_dl_profile_fixup): Likewise.
13159 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13160 * elf/rtld.c (dl_main): Likewise.
13161 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13162 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13163 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13164 (elf_machine_rela): Likewise.
13165 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13166 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13168 (elf_machine_rela): Likewise.
13169 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13170 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13171 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13172 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13174 (elf_machine_reloc): Likewise.
13175 (elf_machine_got_rel): Likewise.
13176 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13177 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13178 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13182 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13192 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13195 2018-04-04 Zack Weinberg <zackw@panix.com>
13197 * sysdeps/generic/internal-signals.h: Include signal.h,
13198 sigsetops.h, and stdbool.h.
13199 (__libc_signal_block_all): Actually block all signals.
13200 (__libc_signal_block_app): Likewise.
13201 (__libc_signal_restore_set): Actually restore the signal mask.
13203 2018-04-04 Florian Weimer <fweimer@redhat.com>
13205 inet: Actually build and run tst-deadline.
13206 * inet/Makefile (tests-internal): Add tst-deadline and do not
13207 overwrite the variable.
13208 (tests-static-internal): Remove variable.
13210 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13213 * bits/uio-ext.h (RWF_APPEND): New.
13214 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13215 * manual/llio.texi: Document RWF_APPEND.
13216 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13217 (RWF_SUPPORTED): Add RWF_APPEND.
13219 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13222 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13223 check for internal nptl signals.
13224 * nptl/sigaction.c (__sigaction): Likewise.
13225 * signal/sigaddset.c (sigaddset): Likewise.
13226 * signal/sigdelset.c (sigdelset): Likewise.
13227 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13228 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13230 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13231 to filter out internal nptl signals.
13232 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13233 also check realtime signals using standard macros.
13234 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13235 __is_internal_signal, __libc_signal_block_all,
13236 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13237 * sysdeps/nptl/sigfillset.c: Remove file.
13238 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13239 Change return to bool.
13240 (__clear_internal_signals): Remove SIGTIMER clean since it is
13241 equal to SIGCANEL on Linux.
13242 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13243 signal set was constructed using standard functions.
13245 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13247 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13248 ifname is too long.
13249 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13250 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13251 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13253 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13254 * signal/sigaddset.c: Include <sigsetopts.h>.
13255 * signal/sigdelset.c: Likewise.
13257 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13261 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13262 logic as sin and cos.
13264 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13266 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13267 inputs. Return correct sign.
13268 (do_sincos): Remove small input check before do_sin, let do_sin set
13273 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13275 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13276 (do_cos_slow): Likewise.
13277 (do_sin_slow): Likewise.
13278 (reduce_and_compute): Likewise.
13283 (sloww1): Likewise.
13284 (sloww2): Likewise.
13286 (bslow1): Likewise.
13287 (bslow2): Likewise.
13288 (cslow2): Likewise.
13290 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13292 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13293 (do_cos): Remove corp parameter and calculations.
13294 (do_sin): Likewise.
13295 (do_sincos): Remove cor variable.
13296 (__sin): Use do_sincos for huge inputs.
13298 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13299 (reduce_and_compute_sincos): Remove unused function.
13301 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13303 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13304 reduce_sincos, improve accuracy to 136 bits.
13305 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13306 (__sin): Use improved reduction and simplified do_sincos calculation.
13308 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13310 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13312 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13313 (do_sincos_2): Likewise.
13314 (__sin): Remove middle range reduction case.
13316 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13319 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13321 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13327 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13329 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13332 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13334 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13335 Remove definitions.
13336 (opendir_oflags): Use O_DIRECTORY regardless.
13337 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13338 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13340 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13342 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13343 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13345 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13346 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13347 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13348 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13349 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13350 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13352 * htl/Makefile: Bump licence to LGPL 2.1+.
13353 * htl/alloca_cutoff.c: Likewise.
13354 * htl/cthreads-compat.c: Likewise.
13355 * htl/lockfile.c: Likewise.
13356 * htl/pt-alloc.c: Likewise.
13357 * htl/pt-cancel.c: Likewise.
13358 * htl/pt-cleanup.c: Likewise.
13359 * htl/pt-create.c: Likewise.
13360 * htl/pt-dealloc.c: Likewise.
13361 * htl/pt-detach.c: Likewise.
13362 * htl/pt-exit.c: Likewise.
13363 * htl/pt-getattr.c: Likewise.
13364 * htl/pt-initialize.c: Likewise.
13365 * htl/pt-internal.h: Likewise.
13366 * htl/pt-join.c: Likewise.
13367 * htl/pt-self.c: Likewise.
13368 * htl/pt-setcancelstate.c: Likewise.
13369 * htl/pt-setcanceltype.c: Likewise.
13370 * htl/pt-sigmask.c: Likewise.
13371 * htl/pt-spin-inlines.c: Likewise.
13372 * htl/pt-testcancel.c: Likewise.
13373 * htl/pt-yield.c: Likewise.
13374 * htl/tests/test-1.c: Likewise.
13375 * htl/tests/test-10.c: Likewise.
13376 * htl/tests/test-11.c: Likewise.
13377 * htl/tests/test-12.c: Likewise.
13378 * htl/tests/test-13.c: Likewise.
13379 * htl/tests/test-14.c: Likewise.
13380 * htl/tests/test-15.c: Likewise.
13381 * htl/tests/test-16.c: Likewise.
13382 * htl/tests/test-17.c: Likewise.
13383 * htl/tests/test-2.c: Likewise.
13384 * htl/tests/test-3.c: Likewise.
13385 * htl/tests/test-4.c: Likewise.
13386 * htl/tests/test-5.c: Likewise.
13387 * htl/tests/test-6.c: Likewise.
13388 * htl/tests/test-7.c: Likewise.
13389 * htl/tests/test-8.c: Likewise.
13390 * htl/tests/test-9.c: Likewise.
13391 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13392 * sysdeps/htl/bits/cancelation.h: Likewise.
13393 * sysdeps/htl/bits/pthread-np.h: Likewise.
13394 * sysdeps/htl/bits/pthread.h: Likewise.
13395 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13396 * sysdeps/htl/bits/semaphore.h: Likewise.
13397 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13398 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13399 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13400 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13401 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13402 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13403 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13404 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13405 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13406 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13407 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13408 * sysdeps/htl/old_pt-atfork.c: Likewise.
13409 * sysdeps/htl/pt-atfork.c: Likewise.
13410 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13411 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13412 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13413 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13414 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13415 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13416 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13417 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13418 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13419 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13420 * sysdeps/htl/pt-attr-init.c: Likewise.
13421 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13422 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13423 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13424 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13425 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13426 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13427 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13428 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13429 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13430 * sysdeps/htl/pt-attr.c: Likewise.
13431 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13432 * sysdeps/htl/pt-barrier-init.c: Likewise.
13433 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13434 * sysdeps/htl/pt-barrier.c: Likewise.
13435 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13436 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13437 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13438 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13439 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13440 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13441 * sysdeps/htl/pt-cond-init.c: Likewise.
13442 * sysdeps/htl/pt-cond-signal.c: Likewise.
13443 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13444 * sysdeps/htl/pt-cond-wait.c: Likewise.
13445 * sysdeps/htl/pt-cond.c: Likewise.
13446 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13447 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13448 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13449 * sysdeps/htl/pt-condattr-init.c: Likewise.
13450 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13451 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13452 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13453 * sysdeps/htl/pt-equal.c: Likewise.
13454 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13455 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13456 * sysdeps/htl/pt-getschedparam.c: Likewise.
13457 * sysdeps/htl/pt-getspecific.c: Likewise.
13458 * sysdeps/htl/pt-init-specific.c: Likewise.
13459 * sysdeps/htl/pt-key-create.c: Likewise.
13460 * sysdeps/htl/pt-key-delete.c: Likewise.
13461 * sysdeps/htl/pt-key.h: Likewise.
13462 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13463 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13464 * sysdeps/htl/pt-mutex-init.c: Likewise.
13465 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13466 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13467 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13468 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13469 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13470 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13471 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13472 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13473 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13474 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13475 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13476 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13477 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13478 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13479 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13480 * sysdeps/htl/pt-mutexattr.c: Likewise.
13481 * sysdeps/htl/pt-once.c: Likewise.
13482 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13483 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13484 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13485 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13486 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13487 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13488 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13489 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13490 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13491 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13492 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13493 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13494 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13495 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13496 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13497 * sysdeps/htl/pt-setschedparam.c: Likewise.
13498 * sysdeps/htl/pt-setschedprio.c: Likewise.
13499 * sysdeps/htl/pt-setspecific.c: Likewise.
13500 * sysdeps/htl/pt-spin.c: Likewise.
13501 * sysdeps/htl/pt-startup.c: Likewise.
13502 * sysdeps/htl/pthread.h: Likewise.
13503 * sysdeps/htl/sem-close.c: Likewise.
13504 * sysdeps/htl/sem-destroy.c: Likewise.
13505 * sysdeps/htl/sem-getvalue.c: Likewise.
13506 * sysdeps/htl/sem-init.c: Likewise.
13507 * sysdeps/htl/sem-open.c: Likewise.
13508 * sysdeps/htl/sem-post.c: Likewise.
13509 * sysdeps/htl/sem-timedwait.c: Likewise.
13510 * sysdeps/htl/sem-trywait.c: Likewise.
13511 * sysdeps/htl/sem-unlink.c: Likewise.
13512 * sysdeps/htl/sem-wait.c: Likewise.
13513 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13514 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13515 * sysdeps/mach/htl/pt-block.c: Likewise.
13516 * sysdeps/mach/htl/pt-spin.c: Likewise.
13517 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13518 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13519 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13520 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13521 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13522 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13523 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13524 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13525 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13526 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13527 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13528 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13529 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13530 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13531 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13532 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13533 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13534 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13535 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13536 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13537 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13538 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13539 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13540 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13541 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13542 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13543 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13544 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13545 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13546 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13547 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13548 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13549 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13550 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13551 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13552 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13553 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13554 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13555 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13556 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13557 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13558 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13559 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13561 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13562 * README: Remove the mention of out-of-tree patches needed for
13565 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13566 (UTIME_NOW, UTIME_OMIT): Define macros.
13568 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13569 instead of pthread_detach.
13570 (__cthread_fork): Call __pthread_create instead of pthread_create.
13571 (__cthread_keycreate): Call __pthread_key_create instead of
13572 pthread_key_create.
13573 (__cthread_getspecific): Call __pthread_getspecific instead of
13574 pthread_getspecific.
13575 (__cthread_setspecific): Call __pthread_setspecific instead of
13576 pthread_setspecific.
13577 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13578 __pthread_mutex_unlock instead of pthread_mutex_lock and
13579 pthread_mutex_unlock.
13580 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13581 ___pthread_get_cleanup_stack.
13582 (__pthread_get_cleanup_stack): New strong alias.
13583 * htl/pt-create.c: Include <pthreadP.h>.
13584 (entry_point): Call __pthread_exit instead of pthread_exit.
13585 (pthread_create): Rename to __pthread_create.
13586 (pthread_create): New strong alias.
13587 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13588 (pthread_detach): New strong alias.
13589 (__pthread_detach): Call __pthread_cond_broadcast instead of
13590 pthread_cond_broadcast.
13591 * htl/pt-exit.c: Include <pthreadP.h>.
13592 (__pthread_exit): Call __pthread_setcancelstate and
13593 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13594 __pthread_get_cleanup_stack.
13595 * htl/pt-testcancel.c: Include <pthreadP.h>.
13596 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13597 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13598 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13599 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13600 pthread_attr_getstacksize.
13601 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13602 Rename to __pthread_attr_getstackaddr.
13603 (pthread_attr_getstackaddr): New strong alias.
13604 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13605 Rename to __pthread_attr_getstacksize.
13606 (pthread_attr_getstacksize): New strong alias.
13607 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13608 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13609 (pthread_attr_setstack): New strong alias.
13610 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13611 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13612 pthread_attr_getstacksize, pthread_attr_setstacksize and
13613 pthread_attr_setstackaddr.
13614 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13615 Rename to __pthread_attr_setstackaddr.
13616 (pthread_attr_setstackaddr): New strong alias.
13617 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13618 Rename to __pthread_attr_setstacksize.
13619 (pthread_attr_setstacksize): New strong alias.
13620 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13621 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13623 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13624 (__pthread_key_create): New hidden def.
13625 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13626 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13627 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13628 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13629 __pthread_setspecific, __pthread_setcancelstate,
13630 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13631 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13632 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13634 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13635 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13636 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13637 (pthread_attr_setstackaddr): New strong alias.
13638 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13639 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13640 (pthread_attr_setstacksize): New strong alias.
13641 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13642 (call_exit): Call __pthread_exit instead of pthread_exit.
13643 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13644 (_pthread_mutex_init): New hidden definition.
13645 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13646 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13647 instead of pthread_attr_init and pthread_attr_setstack.
13649 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13650 __vm_deallocate instead of vm_allocate and vm_deallocate.
13651 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13653 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13655 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13657 * hurd/siginfo.c: Include <libioP.h>.
13658 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13659 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13661 * mach/devstream.c: Include <libioP.h>.
13662 (dealloc_ref): Call __mach_port_deallocate instead of
13663 mach_port_deallocate.
13664 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13665 Call __mach_port_deallocate instead of mach_port_deallocate.
13666 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13668 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13670 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13671 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13672 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13674 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13676 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13677 instead of sysconf.
13678 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13679 __clock_gettime instead of clock_gettime.
13680 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13681 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13682 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13683 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13684 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13686 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13687 __clock_gettime and __nanosleep instead of clock_gettime and
13689 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13690 __hurd_catch_signal.
13691 (hurd_catch_signal): New strong alias.
13692 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13693 __hurd_catch_signal instead of hurd_catch_signal.
13694 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13695 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13696 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13697 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13698 (_hurd_thread_sigstate): Add hidden def.
13699 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13701 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13702 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13703 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13704 __hurd_file_name_path_lookup.
13705 (hurd_file_name_path_lookup): New strong alias.
13706 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13707 hurd_file_name_path_lookup.
13708 * mach/errstring.c (mach_error_type): Add hidden def.
13709 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13710 * mach/mutex-init.c (__mutex_init): Add hidden def.
13711 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13712 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13713 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13714 * sysdeps/mach/hurd/getcwd.c
13715 (_hurd_canonicalize_directory_name_internal): Rename to
13716 __hurd_canonicalize_directory_name_internal.
13717 (_hurd_canonicalize_directory_name_internal): New strong alias.
13718 (__canonicalize_directory_name_internal, __getcwd): Call
13719 __hurd_canonicalize_directory_name_internal instead of
13720 _hurd_canonicalize_directory_name_internal.
13721 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13722 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13724 * sysdeps/hurd/include/hurd.h: New file.
13725 * sysdeps/hurd/include/hurd/fd.h: New file.
13726 * sysdeps/hurd/include/hurd/signal.h: New file.
13727 * sysdeps/mach/include/lock-intern.h: New file.
13728 * sysdeps/mach/include/mach.h: New file.
13729 * sysdeps/mach/include/mach/mig_support.h: New file.
13730 * sysdeps/mach/include/mach_error.h: New file.
13731 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13733 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13734 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13735 _HEADER_H_HIDDEN_DEF macro.
13736 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13737 _hurd_fd_error_signal): Add hidden prototype.
13738 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13740 * libio/iolibio.h (_IO_puts): New hidden prototype.
13741 * libio/ioputs.c (_IO_puts): New hidden def.
13742 * sysdeps/mach/hurd/localplt.data: New file.
13744 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13745 Amos Jeffries <squid3@treenet.co.nz>
13746 David Michael <fedora.dm0@gmail.com>
13747 Marco Gerards <marco@gnu.org>
13748 Marcus Brinkmann <marcus@gnu.org>
13749 Neal H. Walfield <neal@gnu.org>
13750 Pino Toscano <toscano.pino@tiscali.it>
13751 Richard Braun <rbraun@sceen.net>
13752 Roland McGrath <roland@gnu.org>
13753 Samuel Thibault <samuel.thibault@ens-lyon.org>
13754 Thomas DiModica <ricinwich@yahoo.com>
13755 Thomas Schwinge <tschwinge@gnu.org>
13757 * htl: New directory.
13758 * sysdeps/htl: New directory.
13759 * sysdeps/hurd/htl: New directory.
13760 * sysdeps/i386/htl: New directory.
13761 * sysdeps/mach/htl: New directory.
13762 * sysdeps/mach/hurd/htl: New directory.
13763 * sysdeps/mach/hurd/i386/htl: New directory.
13764 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13765 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13766 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13768 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13770 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13771 signals in thread created for runing timers.
13773 2018-04-01 Florian Weimer <fweimer@redhat.com>
13775 * support/support_format_addrinfo.c (support_format_addrinfo):
13776 Include unknown error number in formatted result.
13778 2018-03-29 Florian Weimer <fweimer@redhat.com>
13780 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13783 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13785 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13786 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13787 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13788 (__ASSUME_CLONE_BACKWARDS): Define.
13790 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13794 early when linux sentinel value is set.
13796 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13800 2018-03-27 Andreas Schwab <schwab@suse.de>
13803 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13804 allocation of private copy of nsaddr_list fails.
13806 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13809 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13810 * sysdeps/unix/sysv/linux/umount.c: ... here.
13811 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13812 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13814 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13816 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13819 2018-03-26 Andreas Schwab <schwab@suse.de>
13821 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13822 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13823 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13824 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13825 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13826 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13827 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13828 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13829 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13830 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13831 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13832 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13833 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13834 (R_RISCV_NUM): Define.
13836 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13838 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13839 TLS declaration of errno.
13840 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13842 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13843 (ARCH_SETUP_TLS): Likewise.
13844 * sysdeps/mach/hurd/libc-start.h: New file copied from
13845 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13846 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13847 instead of __libc_setup_tls.
13848 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13849 __libc_setup_tls before initializing libpthread and running _hurd_init
13850 which starts the signal thread.
13851 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13853 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13855 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13858 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13859 after it is defined.
13861 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13862 Max Horn <max@quendi.de>
13866 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13868 * string/test-memmove.c (do_test2): New testcase.
13870 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13872 * sysdeps/generic/frame.h: Remove file.
13873 * sysdeps/arm/frame.h: Likewise.
13874 * sysdeps/hppa/frame.h: Likewise.
13875 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13877 (GET_FRAME): Likewise.
13878 (GET_STACK): Likewise.
13879 (CALL_SIGHANDLER): Likewise.
13880 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13882 (GET_FRAME): Likewise.
13883 (GET_STACK): Likewise.
13884 (CALL_SIGHANDLER): Likewise.
13885 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13886 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13887 (GET_FRAME): Likewise.
13888 (GET_STACK): Likewise.
13889 (CALL_SIGHANDLER): Likewise.
13890 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13891 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13892 (GET_FRAME): Likewise.
13893 (GET_STACK): Likewise.
13894 (ADVANCE_STACK_FRAME): Likewise.
13895 (CALL_SIGHANDLER): Likewise.
13896 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13897 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13898 (GET_FRAME): Likewise.
13899 (GET_STACK): Likewise.
13900 (CALL_SIGHANDLER): Likewise.
13901 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13902 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13903 (GET_FRAME): Likewise.
13904 (GET_STACK): Likewise.
13905 (CALL_SIGHANDLER): Likewise.
13906 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13907 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13908 (GET_FRAME): Likewise.
13909 (GET_STACK): Likewise.
13910 (CALL_SIGHANDLER): Likewise.
13911 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13912 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13913 (GET_FRAME): Likewise.
13914 (GET_STACK): Likewise.
13915 (CALL_SIGHANDLER): Likewise.
13916 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13917 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13918 (GET_FRAME): Likewise.
13919 (GET_STACK): Likewise.
13920 (CALL_SIGHANDLER): Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13922 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13923 (GET_FRAME): Likewise.
13924 (GET_STACK): Likewise.
13925 (CALL_SIGHANDLER): Likewise.
13926 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13928 (GET_FRAME): Likewise.
13929 (GET_STACK): Likewise.
13930 (CALL_SIGHANDLER): Likewise.
13931 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13933 (GET_FRAME): Likewise.
13934 (GET_STACK): Likewise.
13935 (CALL_SIGHANDLER): Likewise.
13936 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13938 (GET_FRAME): Likewise.
13939 (GET_STACK): Likewise.
13940 (CALL_SIGHANDLER): Likewise.
13941 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13942 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13943 (FIRST_FRAME_POINTER): Likewise.
13944 (ADVANCE_STACK_FRAME): Likewise.
13945 (GET_STACK): Likewise.
13946 (GET_FRAME): Likewise.
13947 (CALL_SIGHANDLER): Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13949 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13950 (ADVANCE_STACK_FRAME): Likewise.
13951 (GET_STACK): Likewise.
13952 (GET_FRAME): Likewise.
13953 (CALL_SIGHANDLER): Likewise.
13954 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13956 (GET_FRAME): Likewise.
13957 (GET_STACK): Likewise.
13958 (CALL_SIGHANDLER): Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13960 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13961 (GET_FRAME): Likewise.
13962 (GET_STACK): Likewise.
13963 (CALL_SIGHANDLER): Likewise.
13965 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/x86_64/backtrace.c: Move to ....
13968 * debug/backtrace.c: ... here.
13969 * sysdeps/aarch64/backtrace.c: Remove file.
13970 * sysdeps/alpha/backtrace.c: Likewise.
13971 * sysdeps/hppa/backtrace.c: Likewise.
13972 * sysdeps/ia64/backtrace.c: Likewise.
13973 * sysdeps/mips/backtrace.c: Likewise.
13974 * sysdeps/nios2/backtrace.c: Likewise.
13975 * sysdeps/riscv/backtrace.c: Likewise.
13976 * sysdeps/sh/backtrace.c: Likewise.
13977 * sysdeps/tile/backtrace.c: Likewise.
13979 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13982 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13985 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13988 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13989 possibly overflowing computations.
13991 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13994 values from Linux-specific section now that it is in the GNU section.
13995 * sysdeps/gnu/errlist.c: Regenerate.
13997 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13999 * math/Makefile (libm-narrow-fns): Add sub.
14000 (libm-test-funcs-narrow): Likewise.
14001 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14002 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14003 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14004 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14005 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14006 (NARROW_SUB_TRIVIAL): Likewise.
14007 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14009 (__dsubl): Likewise.
14010 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14012 (CFLAGS-nldbl-dsub.c): New variable.
14013 (CFLAGS-nldbl-fsub.c): Likewise.
14014 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14016 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14018 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14019 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14020 * math/auto-libm-test-in: Add tests of sub.
14021 * math/auto-libm-test-out-narrow-sub: New generated file.
14022 * math/libm-test-narrow-sub.inc: New file.
14023 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14026 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14027 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14028 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14037 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14038 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14039 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14040 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14042 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14070 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14073 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14075 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14077 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14079 2018-03-18 Richard Braun <rbraun@sceen.net>
14081 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14084 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14086 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14087 (__libc_cleanup_fct): Define function.
14088 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14089 __libc_cleanup_end): Rewrite implementation using
14090 __attribute__ ((__cleanup__)).
14091 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14092 * hurd/Makefile (routines): Add hurdlock.
14093 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14095 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14096 * hurd/hurdpid.c: Include <lowlevellock.h>
14097 (_S_msg_proc_newids): Use lll_wait to synchronize.
14098 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14099 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14100 * mach/Makefile (lock-headers): Remove machine-lock.h.
14101 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14103 (__spin_lock_t): New type.
14104 (__SPIN_LOCK_INITIALIZER): New macro.
14105 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14106 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14107 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14108 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14109 (__mutex_init): Initialize with lll.
14110 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14111 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14113 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14114 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14115 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14116 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14117 (__setpgid): Use lll for synchronization.
14118 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14119 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14120 instead of <cthreads.h>.
14121 (_IO_lock_inexpensive): New macro
14122 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14123 (__libc_lock_self0): New declaration.
14124 (__libc_lock_owner_self): New macro.
14125 (__libc_key_t): Remove type.
14126 (_LIBC_LOCK_INITIALIZER): New macro.
14127 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14128 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14129 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14130 __libc_lock_define_initialized_recursive,
14131 __rtld_lock_define_initialized_recursive,
14132 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14133 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14134 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14135 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14136 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14137 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14138 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14140 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14141 * hurd/hurdlock.c: New file.
14142 * hurd/hurdlock.h: New file.
14143 * mach/lowlevellock.h: New file
14145 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14147 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14149 when opening a symlink with O_NOFOLLOW.
14150 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14151 path when flags contains O_NOFOLLOW.
14152 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14153 if flags contains O_DIRECTORY and the result is a directory.
14154 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14155 oneself when the pointer given in D is nul (as set by ext2fs).
14156 * sysdeps/mach/hurd/mlockall.c: New file.
14157 * sysdeps/mach/hurd/munlockall.c: New file.
14159 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14161 * hurd/hurdsig.c: Include <pthread.h>.
14162 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14163 get the signal thread stack layout.
14164 * hurd/Makefile (headers): Remove threadvar.h.
14165 (inline-headers): Remove threadvar.h.
14166 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14167 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14168 __hurd_threadvar_max, __hurd_errno_location.
14169 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14170 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14171 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14172 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14173 unless TLS is not initialized yet, in which case we do not need a
14174 critical section yet anyway.
14175 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14177 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14179 (__hurd_threadvar_index): Remove enum.
14180 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14181 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14183 (__hurd_reply_port0): New variable declaration.
14184 (__hurd_local_reply_port): New macro.
14185 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14186 (interrupted_reply_port_location): Add thread_t parameter. Use it
14187 with THREAD_TCB to access thread-local variables.
14188 (_hurdsig_abort_rpcs): Pass ss->thread to
14189 interrupted_reply_port_location.
14190 (_hurd_internal_post_signal): Likewise.
14191 (_hurdsig_init): Use presence of cthread_fork instead of
14192 __hurd_threadvar_stack_mask to start signal thread by hand.
14193 Remove signal thread threadvar initialization.
14194 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14195 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14196 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14198 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14200 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14201 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14202 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14203 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14204 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14205 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14206 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14208 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14209 <hurd/threadvar.h>.
14210 [IS_IN(rtld)] (rtld_errno): New variable.
14211 [IS_IN(rtld)] (__errno_location): New weak function.
14212 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14213 * sysdeps/mach/hurd/errno.c: Remove file.
14214 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14215 (__fork): Remove THREADVAR_SPACE macro and its use.
14216 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14218 (init): Do not initialize threadvar.
14219 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14221 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14222 __hurd_local_reply_port instead of threadvar.
14223 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14224 _hurd_sigstate fields.
14225 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14226 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14227 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14228 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14229 instead of threadvar.
14230 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14231 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14232 (use_threadvar, global_reply_port): Remove variables.
14233 (__hurd_reply_port0): New variable.
14234 (__mig_get_reply_port): Use __hurd_local_reply_port and
14235 __hurd_reply_port0 instead of threadvar.
14236 (__mig_dealloc_reply_port): Likewise.
14237 (__mig_init): Do not initialize threadvar.
14238 * sysdeps/mach/hurd/profil.c: Fix comment.
14239 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14240 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14241 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14242 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14243 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14244 __cthread_setspecific.
14245 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14246 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14247 __cthread_t instead of cthread_fork, cthread_detach,
14248 pthread_getattr_np, pthread_attr_getstack.
14249 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14250 __cthread_keycreate.
14251 (cthread_getspecific): Rename to __cthread_getspecific.
14252 (cthread_setspecific): Rename to __cthread_setspecific.
14253 (__libc_getspecific): Use __cthread_getspecific instead of
14254 cthread_getspecific.
14255 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14256 __cthread_keycreate instead of cthread_keycreate.
14257 (__libc_setspecific): Use __cthread_setspecific instead of
14258 cthread_setspecific.
14259 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14262 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14263 testing whether it is defined.
14265 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14267 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14269 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14270 * sysdeps/mach/i386/thread_state.h
14271 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14273 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14275 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14277 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14278 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14280 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14282 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14283 descriptor instead of creating a new one.
14284 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14286 * mach/setup-thread.c: Include <ldsodefs.h>.
14287 (__mach_setup_thread): Call _dl_allocate_tls, pass
14288 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14289 MACHINE_THREAD_STATE_FLAVOR, before getting
14290 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14291 MACHINE_THREAD_STATE_FLAVOR with the result.
14292 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14293 MACHINE_THREAD_STATE_FIX_NEW.
14294 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14295 too. Add original thread parameter.
14297 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14299 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14300 Remove inline function.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14305 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14307 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14310 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14312 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14313 (__sincos_code): Remove define and undefine.
14314 [__FAST_MATH__] (__sincos): Remove inline function.
14315 [__FAST_MATH__] (__sincosf): Remove inline function.
14316 [__FAST_MATH__] (__sincosl): Remove inline function.
14317 (__atan2l): Remove inline functions.
14318 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14319 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14321 (floor): Remove inline function.
14323 [__FAST_MATH__] (__ldexp_code): Remove macro.
14324 [__FAST_MATH__] (ldexp): Remove inline function.
14325 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14326 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14327 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14328 [__USE_ISOC99] (__lrint_code): Remove macro.
14329 [__USE_ISOC99] (__llrint_code): Likewise.
14330 [__USE_ISOC99] (lrintf): Remove inline function.
14331 [__USE_ISOC99] (lrint): Likewise.
14332 [__USE_ISOC99] (lrintl): Likewise.
14333 [__USE_ISOC99] (llrint): Likewise.
14334 [__USE_ISOC99] (llrintf): Likewise.
14335 [__USE_ISOC99] (llrintl): Likewise.
14337 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14339 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14340 (__ieee754_sqrtf): Remove.
14341 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14342 (__ieee754_sqrtf): Remove.
14343 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14344 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14345 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14346 (__ieee754_sqrtf): Remove.
14347 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14348 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14351 (__ieee754_sqrt): Remove.
14352 (__ieee754_sqrtf): Remove.
14353 (__ieee754_sqrtl): Remove.
14354 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14355 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14356 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14357 (__ieee754_sqrtf): Remove.
14358 (__ieee754_sqrtl): Remove.
14360 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14362 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14363 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14364 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14365 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14366 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14367 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14368 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14369 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14371 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14372 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14373 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14374 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14375 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14376 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14377 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14378 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14379 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14380 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14381 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14382 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14383 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14384 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14385 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14386 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14387 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14388 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14389 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14400 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14401 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14403 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14404 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14405 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14407 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14408 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14409 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14410 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14412 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14414 * include/math.h (sqrt): Declare with asm redirect.
14417 (sqrtf128): Likewise.
14418 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14419 nonlib and libnldbl with -fmath-errno.
14420 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14421 * math/w_sqrt_template.c: Likewise.
14422 * math/w_sqrtf_compat.c: Likewise.
14423 * math/w_sqrtl_compat.c: Likewise.
14424 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14425 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14426 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14429 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14431 * benchtests/Makefile: Define _ISOMAC.
14432 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14433 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14434 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14435 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14436 * benchtests/bench-timing.h: Define attribute_hidden.
14438 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14440 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14443 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14446 * localedata/locales/cs_CZ (mon): Rename to...
14448 (mon): Import from CLDR (genitive case).
14450 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14453 * localedata/locales/el_CY (abmon): Rename to...
14454 (ab_alt_mon): This.
14455 (abmon): Import from CLDR (abbreviated genitive case).
14456 * localedata/locales/el_GR (abmon): Rename to...
14457 (ab_alt_mon): This.
14458 (abmon): Import from CLDR (abbreviated genitive case).
14460 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14463 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14465 2018-03-15 Robert Buj <robert.buj@gmail.com>
14468 * localedata/locales/ca_ES (abmon): Rename to...
14469 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14470 (mon): Rename to...
14472 (abmon): Import from CLDR (genitive case, month names preceded by
14475 (abday): Synchronize with CLDR.
14476 (d_t_fmt): Likewise.
14480 (LC_TIME): Improve indentation.
14481 (LC_TELEPHONE): Likewise.
14482 (LC_NAME): Likewise.
14483 (LC_ADDRESS): Likewise.
14485 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14487 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14488 (lrintf): Remove definitions used only with old GCC.
14489 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14490 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14491 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14492 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14493 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14494 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14495 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14496 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14497 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14498 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14499 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14500 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14501 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14502 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14503 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14504 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14505 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14506 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14507 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14508 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14509 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14510 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14511 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14512 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14513 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14514 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14515 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14516 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14518 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14520 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14521 instruction to unbreak builds with binutils 2.26 and older.
14523 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14525 * sysdeps/aarch64/strncmp.S (count): New macro.
14526 (strncmp): Store misaligned length in SRC1 in COUNT.
14527 (mutual_align): Adjust.
14528 (misaligned8): Load dword at a time when it is safe.
14530 2018-03-12 Zack Weinberg <zackw@panix.com>
14534 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14535 if the _IO_EOF_SEEN bit is already set; update commentary.
14536 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14537 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14539 * support/support_openpty.c, support/tty.h: New files.
14540 * support/Makefile (libsupport-routines): Add support_openpty.
14542 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14544 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14545 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14547 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14549 * po/pt_BR.po: Update translations.
14551 2018-03-12 David Michael <fedora.dm0@gmail.com>
14553 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14554 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14555 get a port to the startup server.
14557 2018-03-11 Zack Weinberg <zackw@panix.com>
14559 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14560 before nldbl-compat.h.
14562 2018-03-10 Zack Weinberg <zackw@panix.com>
14564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14565 math.h or math_private.h.
14567 * sysdeps/alpha/fpu/s_isnan.c
14568 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14569 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14570 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14571 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14574 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14575 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14579 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14580 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14581 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14582 Include math_private.h.
14584 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14585 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14586 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14587 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14588 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14589 * sysdeps/powerpc/power7/fpu/s_logb.c:
14590 Include math.h and math_private.h.
14592 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14593 uses of $at in .set noat / .set at.
14595 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14597 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14598 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14599 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14600 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14603 2018-03-09 Florian Weimer <fweimer@redhat.com>
14605 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14608 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14611 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14612 Add nop before __startcontext, add explaining comments.
14614 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14617 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14619 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14620 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14621 Do not build hardware transactional code for __SPE__.
14622 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14623 (__lll_trylock_elision): Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14625 (__lll_unlock_elision): Likewise.
14627 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14628 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14629 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14630 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14631 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14632 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14633 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14634 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14635 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14636 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14637 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14638 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14639 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14640 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14641 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14642 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14643 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14645 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14646 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14647 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14649 (__ASSUME_CLONE_BACKWARDS): Define.
14650 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14651 __clone2 if __NR_clone2 is defined.
14652 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14653 (__ASSUME_CLONE_BACKWARDS): Likewise.
14654 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14655 (__ASSUME_CLONE_BACKWARDS): Likewise.
14656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14657 (__ASSUME_CLONE2): Likewise.
14658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14659 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14660 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14661 variants and the define architecture can use.
14662 (__ASSUME_CLONE_DEFAULT): Define as default.
14663 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14664 (__ASSUME_CLONE_BACKWARDS): Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14666 (__ASSUME_CLONE_BACKWARDS): Likewise.
14667 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14668 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14670 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14672 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14674 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14677 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14678 (do_test_limit): Likewise.
14680 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14681 for every implementation.
14682 (do_test): Likewise.
14684 * benchtests/bench-strncmp.c: Convert output to json.
14686 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14688 * io/futimens.c: Add missing start-of-file descriptive comment.
14689 * io/utime.c: Likewise.
14690 * misc/futimesat.c: Likewise.
14691 * misc/utimes.c: Likewise.
14692 * sysdeps/mach/hurd/futimesat.c: Likewise.
14693 * sysdeps/mach/hurd/utimes.c: Likewise.
14694 * sysdeps/posix/utime.c: Likewise.
14695 * sysdeps/posix/utimes.c: Likewise.
14696 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14697 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14698 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14699 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14701 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14703 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14705 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14706 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14707 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14708 (__futimens): Move implementation to...
14709 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14710 utime_tvalue_from_tspec): ... new helper functions.
14711 (hurd_futimens): New function.
14712 * sysdeps/mach/hurd/futimesat.c: New file.
14713 * sysdeps/mach/hurd/utimensat.c: New file.
14715 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14717 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14718 UTIME_OMIT): New macros.
14719 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14720 before reverting to converting time spec to time value and calling
14722 * sysdeps/mach/hurd/utime-helper.c: New file.
14723 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14724 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14725 reverting to utime_tvalue_from_tval and __file_utimes.
14726 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14727 (__lutimes): Just call hurd_futimens after lookup.
14728 * sysdeps/mach/hurd/utimes.c: Likewise.
14730 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14732 * bits/sigaction.h: Add include guard.
14733 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14734 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14735 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14736 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14737 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14739 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14740 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14741 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14743 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14745 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14746 -Wmaybe-uninitialized for -Os.
14747 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14750 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14752 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14753 __INO_T_MATCHES_INO64_T is defined.
14754 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14755 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14757 * dirent/alphasort64.c: Likewise.
14758 * dirent/scandir.c: Likewise.
14759 * dirent/scandir64-tail.c: Likewise.
14760 * dirent/scandir64.c: Likewise.
14761 * dirent/scandirat.c: Likewise.
14762 * dirent/scandirat64.c: Likewise.
14763 * dirent/versionsort.c: Likewise.
14764 * dirent/versionsort64.c: Likewise.
14765 * include/dirent.h: Likewise.
14767 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14768 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14769 for socketpair endpoint.
14770 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14771 WRITE_BUFFER_SIZE as buffer size for sending socket.
14772 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14773 issue on system where send is implemented with sendto syscall.
14774 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14775 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14776 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14777 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14780 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14781 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14782 sa_restorer for vDSO case.
14783 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14785 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14787 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14788 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14789 * hurd/hurd/ioctl.h: Include <mach/port.h>
14790 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14791 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14792 <mach/mach_types.h> and <mach/message.h>.
14793 (headers): Move mach/param.h to bits/mach/param.h.
14794 * sysdeps/mach/i386/mach/param.h: Move file to ...
14795 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14796 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14798 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14799 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14800 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14801 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14802 trivial, for C++ conformity.
14803 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14804 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14805 Process mig output through $(migheadersed).
14806 * hurd/Makefile (migheadersed): Define variable.
14807 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14808 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14810 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14811 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14812 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14813 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14814 <bits/types/sigset_t.h>.
14815 [!defined __USE_GNU]: Do not #error out.
14816 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14817 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14818 Include <stddef.h> and <bits/types/sigset_t.h>
14819 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14820 instead of sighandler_t.
14821 * stdlib/errno.h (error_t): Move definition to...
14822 * bits/types/error_t.h: ... new header.
14823 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14824 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14825 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14826 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14827 * hurd/hurd.h: Include <bits/types/error_t.h>
14828 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14829 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14830 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14831 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14832 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14833 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14834 * sysdeps/mach/hurd/futimens.c: New file.
14836 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14839 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14840 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14841 * nscd/gai.c (__nss_hosts_database): Readd definition.
14842 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14843 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14844 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14846 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14848 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14849 (ifunc_one): Likewise.
14851 2018-03-01 DJ Delorie <dj@delorie.com>
14854 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14857 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14859 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14860 `match_pid' parameter.
14861 (td_ta_thr_iter): Update accordingly.
14863 2018-03-01 Florian Weimer <fweimer@redhat.com>
14865 * nptl/Makefile (install-lib-ldscripts): Remove.
14866 (install): Remove rule.
14867 ($(inst_libdir)/libpthread.so): Likewise.
14869 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14872 * localedata/locales/an_ES: update month and day names,
14873 improve d_fmt, improve postal_fmt, add country_post,
14876 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14878 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14879 Ukrainian instead of Bulgarian.
14881 2018-03-01 Florian Weimer <fweimer@redhat.com>
14883 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14886 2018-03-01 Florian Weimer <fweimer@redhat.com>
14888 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14889 * nptl/Makefile (routines): Add pthread_atfork.
14890 (static-only-routines): Set to pthread_atfork.
14891 (libpthread-routines): Remove pthread_atfork.
14892 (libpthread-static-only-routines): Remove.
14893 (install): Update comment.
14894 (libpthread.so): Do not install libpthread_nonshared.a.
14895 (tests): Do not link with libpthread_nonshared.a.
14896 (generated): Remove libpthread_nonshared.a.
14897 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14898 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14899 with libpthread_nonshared.a.
14901 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14904 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14905 (libc_feholdexcept_setroundf128): New macro.
14906 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14909 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14911 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14912 * include/inttypes.h: New file.
14914 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14916 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14917 -Os in two more places.
14919 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14921 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14922 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14923 be sorted correctly at the moment because of a bug.
14925 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14927 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14928 treat ñ as a primary different character, sync the collation
14929 for Spanish with CLDR.
14930 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14931 * localedata/Makefile: Add new test files.
14932 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14933 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14935 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14936 * localedata/am_ET.UTF-8.in: New test file.
14937 * localedata/az_AZ.UTF-8.in: Likewise.
14938 * localedata/be_BY.UTF-8.in: Likewise.
14939 * localedata/ber_DZ.UTF-8.in: Likewise.
14940 * localedata/ber_MA.UTF-8.in: Likewise.
14941 * localedata/bg_BG.UTF-8.in: Likewise.
14942 * localedata/br_FR.UTF-8.in: Likewise.
14943 * localedata/cmn_TW.UTF-8.in: Likewise.
14944 * localedata/crh_UA.UTF-8.in: Likewise.
14945 * localedata/csb_PL.UTF-8.in: Likewise.
14946 * localedata/cv_RU.UTF-8.in: Likewise.
14947 * localedata/cy_GB.UTF-8.in: Likewise.
14948 * localedata/dz_BT.UTF-8.in: Likewise.
14949 * localedata/eo.UTF-8.in: Likewise.
14950 * localedata/es_ES.UTF-8.in: Likewise.
14951 * localedata/fa_IR.UTF-8.in: Likewise.
14952 * localedata/fi_FI.UTF-8.in: Likewise.
14953 * localedata/fil_PH.UTF-8.in: Likewise.
14954 * localedata/fur_IT.UTF-8.in: Likewise.
14955 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14956 * localedata/ha_NG.UTF-8.in: Likewise.
14957 * localedata/ig_NG.UTF-8.in: Likewise.
14958 * localedata/ik_CA.UTF-8.in: Likewise.
14959 * localedata/kk_KZ.UTF-8.in: Likewise.
14960 * localedata/ku_TR.UTF-8.in: Likewise.
14961 * localedata/ky_KG.UTF-8.in: Likewise.
14962 * localedata/ln_CD.UTF-8.in: Likewise.
14963 * localedata/mi_NZ.UTF-8.in: Likewise.
14964 * localedata/ml_IN.UTF-8.in: Likewise.
14965 * localedata/mn_MN.UTF-8.in: Likewise.
14966 * localedata/mr_IN.UTF-8.in: Likewise.
14967 * localedata/mt_MT.UTF-8.in: Likewise.
14968 * localedata/nb_NO.UTF-8.in: Likewise.
14969 * localedata/om_KE.UTF-8.in: Likewise.
14970 * localedata/os_RU.UTF-8.in: Likewise.
14971 * localedata/ps_AF.UTF-8.in: Likewise.
14972 * localedata/ro_RO.UTF-8.in: Likewise.
14973 * localedata/ru_RU.UTF-8.in: Likewise.
14974 * localedata/sc_IT.UTF-8.in: Likewise.
14975 * localedata/se_NO.UTF-8.in: Likewise.
14976 * localedata/sq_AL.UTF-8.in: Likewise.
14977 * localedata/sv_SE.UTF-8.in: Likewise.
14978 * localedata/szl_PL.UTF-8.in: Likewise.
14979 * localedata/tg_TJ.UTF-8.in: Likewise.
14980 * localedata/tk_TM.UTF-8.in: Likewise.
14981 * localedata/tt_RU.UTF-8.in: Likewise.
14982 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14983 * localedata/ug_CN.UTF-8.in: Likewise.
14984 * localedata/uz_UZ.UTF-8.in: Likewise.
14985 * localedata/vi_VN.UTF-8.in: Likewise.
14986 * localedata/yi_US.UTF-8.in: Likewise.
14987 * localedata/yo_NG.UTF-8.in: Likewise.
14988 * localedata/zh_CN.UTF-8.in: Likewise.
14989 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14990 file and fix bugs in the collation.
14991 * localedata/locales/az_AZ: Likewise.
14992 * localedata/locales/be_BY: Likewise.
14993 * localedata/locales/ber_DZ: Likewise.
14994 * localedata/locales/ber_MA: Likewise.
14995 * localedata/locales/bg_BG: Likewise.
14996 * localedata/locales/br_FR: Likewise.
14997 * localedata/locales/br_FR@euro: Likewise.
14998 * localedata/locales/ca_ES: Likewise.
14999 * localedata/locales/cns11643_stroke: Likewise.
15000 * localedata/locales/crh_UA: Likewise.
15001 * localedata/locales/cs_CZ: Likewise.
15002 * localedata/locales/csb_PL: Likewise.
15003 * localedata/locales/cv_RU: Likewise.
15004 * localedata/locales/cy_GB: Likewise.
15005 * localedata/locales/da_DK: Likewise.
15006 * localedata/locales/dz_BT: Likewise.
15007 * localedata/locales/en_CA: Likewise.
15008 * localedata/locales/eo: Likewise.
15009 * localedata/locales/es_CU: Likewise.
15010 * localedata/locales/es_EC: Likewise.
15011 * localedata/locales/es_ES: Likewise.
15012 * localedata/locales/es_US: Likewise.
15013 * localedata/locales/et_EE: Likewise.
15014 * localedata/locales/fa_IR: Likewise.
15015 * localedata/locales/fi_FI: Likewise.
15016 * localedata/locales/fil_PH: Likewise.
15017 * localedata/locales/fur_IT: Likewise.
15018 * localedata/locales/gez_ER@abegede: Likewise.
15019 * localedata/locales/ha_NG: Likewise.
15020 * localedata/locales/hr_HR: Likewise.
15021 * localedata/locales/hsb_DE: Likewise.
15022 * localedata/locales/hu_HU: Likewise.
15023 * localedata/locales/ig_NG: Likewise.
15024 * localedata/locales/ik_CA: Likewise.
15025 * localedata/locales/is_IS: Likewise.
15026 * localedata/locales/iso14651_t1_pinyin: Likewise.
15027 * localedata/locales/kk_KZ: Likewise.
15028 * localedata/locales/ku_TR: Likewise.
15029 * localedata/locales/ky_KG: Likewise.
15030 * localedata/locales/ln_CD: Likewise.
15031 * localedata/locales/lt_LT: Likewise.
15032 * localedata/locales/lv_LV: Likewise.
15033 * localedata/locales/mi_NZ: Likewise.
15034 * localedata/locales/ml_IN: Likewise.
15035 * localedata/locales/mn_MN: Likewise.
15036 * localedata/locales/mr_IN: Likewise.
15037 * localedata/locales/mt_MT: Likewise.
15038 * localedata/locales/nb_NO: Likewise.
15039 * localedata/locales/om_KE: Likewise.
15040 * localedata/locales/os_RU: Likewise.
15041 * localedata/locales/pl_PL: Likewise.
15042 * localedata/locales/ps_AF: Likewise.
15043 * localedata/locales/ro_RO: Likewise.
15044 * localedata/locales/ru_RU: Likewise.
15045 * localedata/locales/ru_UA: Likewise.
15046 * localedata/locales/sc_IT: Likewise.
15047 * localedata/locales/se_NO: Likewise.
15048 * localedata/locales/si_LK: Likewise.
15049 * localedata/locales/sq_AL: Likewise.
15050 * localedata/locales/sv_FI: Likewise.
15051 * localedata/locales/sv_FI@euro: Likewise.
15052 * localedata/locales/sv_SE: Likewise.
15053 * localedata/locales/szl_PL: Likewise.
15054 * localedata/locales/tg_TJ: Likewise.
15055 * localedata/locales/ti_ER: Likewise.
15056 * localedata/locales/tk_TM: Likewise.
15057 * localedata/locales/tl_PH: Likewise.
15058 * localedata/locales/tr_TR: Likewise.
15059 * localedata/locales/tt_RU: Likewise.
15060 * localedata/locales/tt_RU@iqtelif: Likewise.
15061 * localedata/locales/ug_CN: Likewise.
15062 * localedata/locales/uk_UA: Likewise.
15063 * localedata/locales/uz_UZ: Likewise.
15064 * localedata/locales/uz_UZ@cyrillic: Likewise.
15065 * localedata/locales/vi_VN: Likewise.
15066 * localedata/locales/yi_US: Likewise.
15067 * localedata/locales/yo_NG: Likewise.
15069 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15071 * gen-locales.mk: Make test files which contain @ modifiers in their
15073 * localedata/gen-locale.sh: Likewise.
15075 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15077 * posix/tst-fnmatch.input: Fix results for range expressions
15079 * posix/tst-regexloc.c: Do not use a range expression for
15080 de_DE.ISO-8859-1 locale.
15082 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15084 * posix/bug-regex5.c: Fix test case because with the new
15085 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15086 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15089 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15091 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15092 downloaded from ISO, the collation order of @-. and space has changed.
15093 Therefore, this test file needed to be adapted.
15094 * localedata/fr_CA.UTF-8.in: Likewise.
15095 * localedata/fr_FR.UTF-8.in: Likewise.
15096 * localedata/uk_UA.UTF-8.in: Likewise.
15098 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15100 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15101 order of ȥ in the new iso14651_t1_common file.
15102 * localedata/pl_PL.UTF-8.in: Likewise.
15104 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15106 * localedata/locales/iso14651_t1_common: Add sections for various
15107 scripts to the iso14651_t1_common file.
15109 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15111 * localedata/locales/iso14651_t1_common: Use the code point of a
15112 character in the fourth collation level instead of IGNORE for all
15113 entries which have IGNORE on all 4 levels.
15115 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15117 * localedata/locales/iso14651_t1_common: Add some convenient collation
15118 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15119 rules similar to those in CLDR.
15121 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15123 * localedata/locales/iso14651_t1_common: The new version of this
15124 file downloaded from ISO contained several syntax errors which
15125 are fixed by this patch.
15127 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15129 * localedata/locales/iso14651_t1_common: replace all <U.....>
15130 with <U000.....> because glibc understands only 4 digit or 8 digit
15132 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15134 * localedata/locales/iso14651_t1_common: Necessary changes
15135 to make the file downloaded from ISO usable by glibc.
15137 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15140 * localedata/locales/iso14651_t1_common: Update file to
15141 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15143 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15145 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15146 of <nptl/pthreadP.h>
15147 (thread_attr_compare): Move function to...
15148 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15149 * sysdeps/nptl/timer_routines.h: ... new header.
15150 * sysdeps/mach/hurd/gai_misc.h: New file.
15152 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15154 * string/strcoll_l.c: Include <libc-diag.h>.
15155 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15156 declarations of seq1 and seq2.
15159 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15160 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15162 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15167 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15168 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15169 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15170 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15171 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15173 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15176 macros used in __ptrace_request.
15178 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15181 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15184 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15185 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15188 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15191 * ctype/ctype.c (tolower): Use libc_hidden_def.
15192 (toupper): Likewise.
15193 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15194 [!_ISOMAC] (toupper): Likewise.
15196 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15198 * localedata/Makefile: Remove --quiet argument when
15201 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15204 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15206 * localedata/locales/pt_PT (LC_TIME): likewise
15208 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15211 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15212 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15213 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15215 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15219 * nptl/Makefile (routines): Remove unregister-atfork.
15220 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15221 (fork_handler_alloc): Remove function.
15222 (fork_handlers, fork_handler_init): New variables.
15223 (__fork_lock): Rename to atfork_lock.
15224 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15225 to use a dynamic array to add/remove atfork handlers.
15226 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15227 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15228 Remove declaration.
15229 (fork_handler): Remove next, refcntr, and need_signal member.
15230 (__run_fork_handler_type): New enum.
15231 (__run_fork_handlers): New prototype.
15232 * nptl/register-atfork.c: Remove file.
15233 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15235 * sysdeps/nptl/nptl-signals.h: Move to ...
15236 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15238 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15239 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15240 unnecessary check for SIGTIMER.
15241 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15242 remove unnecessary removal of SIGTIMER.
15243 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15244 include-signals.h rename.
15245 * nptl/pthreadP.h: Likewise.
15246 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15247 __is_internal_signal instead of __nptl_is_internal_signal.
15249 2018-02-22 Andrew Waterman <andrew@sifive.com>
15252 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15253 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15254 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15255 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15257 2018-02-22 DJ Delorie <dj@delorie.com>
15259 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15261 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15263 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15264 do_misaligned, not misaligned8.
15266 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15268 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15269 Add memcpy_thunderx2.
15270 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15272 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15273 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15274 and IS_THUNDERX2PA checks.
15275 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15276 Use macro to set name appropriately.
15277 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15278 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15279 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15281 (IS_THUNDERX2): New macro.
15283 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15285 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15287 2018-02-21 Zack Weinberg <zackw@panix.com>
15289 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15290 Define here, unconditionally.
15291 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15292 * libio/libioP.h: Remove #if 0 blocks.
15293 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15294 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15295 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15297 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15298 Assume weak_alias is always defined.
15300 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15301 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15302 Remove #if 0 and #ifdef TODO blocks.
15303 Assume text_set_element is always defined.
15305 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15306 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15307 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15309 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15310 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15311 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15312 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15313 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15314 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15315 Reformat bit flags for _flags field to make occupancy clearer.
15317 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15318 Keep definitions consistent with those in libio/libio.h.
15320 * libio/libio.h (_IO_file_flags): Remove macro.
15321 All uses changed to _flags.
15323 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15324 (__HAVE_COLUMN, _IO_BE): Don't define.
15325 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15326 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15327 * libio/libioP.h (EOF): Don't define.
15328 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15329 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15330 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15331 testing _IO_UNIFIED_JUMPTABLES.
15333 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15334 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15335 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15336 (_IO_size_t): Delete; all uses changed to size_t.
15337 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15338 (_IO_off_t): Delete; all uses changed to off_t.
15339 (_IO_off64_t): Delete; all uses changed to off64_t.
15340 (_IO_pid_t): Delete; all uses changed to pid_t.
15341 (_IO_uid_t): Delete; all uses changed to uid_t.
15342 (_IO_wint_t): Delete; all uses changed to wint_t.
15343 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15344 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15345 (_IO_cookie_io_functions_t): Delete; all uses changed to
15346 cookie_io_functions_t.
15347 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15348 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15349 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15350 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15352 * libio/iofopncook.c: Remove unnecessary forward declarations.
15353 * libio/iolibio.h: Correct outdated commentary.
15354 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15355 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15356 Remove unnecessary casts.
15357 * stdio-common/getline.c: Use _IO_getdelim directly.
15358 Don't redefine ssize_t.
15359 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15360 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15361 Remove outdated comments.
15362 * stdio-common/vfscanf.c: Don't redefine va_list.
15364 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15365 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15366 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15367 which are always true, and __cplusplus, which is always false.
15369 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15373 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15374 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15375 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15376 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15378 [!_ISOMAC] (putc_unlocked): Likewise.
15379 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15380 define inline if [__USE_EXTERN_INLINES].
15381 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15386 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15387 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15388 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15389 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15390 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15392 * time/tzfile.c (__tzfile_read): Likewise.
15394 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15397 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15399 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15401 * io/fcntl.h: Fix a typo in a comment.
15403 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15406 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15407 define _DEFAULT_SOURCE.
15408 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15410 2018-02-21 Florian Weimer <fweimer@redhat.com>
15413 * elf/cache.c (save_cache): Call fsync on temporary file before
15415 (save_aux_cache): Call fdatasync on temporary file before renaming
15418 2018-02-21 Florian Weimer <fweimer@redhat.com>
15421 * include/caller.h: Remove file.
15422 * elf/dl-caller.c: Likewise.
15423 * elf/Makefile (dl-routines): Remove dl-caller.
15424 (shared-only-routines): Do not add dl-caller.
15425 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15427 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15429 (dl_open_worker): Do not call __check_caller.
15430 (_dl_open): Do not set caller_dl_open member.
15431 * elf/rtld.c (_rtld_global_ro): Do not initialize
15432 _dl_check_caller member.
15433 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15434 _dl_check_caller member.
15435 (_dl_check_caller): Remove declaration.
15436 * sysdeps/unix/sysv/linux/dl-execstack.c
15437 (_dl_make_stack_executable): Do not call __check_caller.
15439 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15441 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15442 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15444 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15446 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15449 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15452 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15453 of 199606L, 200112L, and 200809L.
15454 (_XOPEN_SOURCE): Document special values of 600 and 700.
15455 (_ISOC11_SOURCE): Document macro.
15456 (_ATFILE_SOURCE): Likewise.
15457 (_FORTIFY_SOURCE): Likewise.
15459 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15463 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15464 and define as weak alias of __ferror_unlocked. Use
15466 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15468 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15469 function if [__USE_EXTERN_INLINES].
15470 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15473 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15476 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15478 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15481 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15482 the GLIBC_2.1 version.
15484 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15487 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15488 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15489 intl/tst-gettext-de.po from po/de.po by removing the
15490 POT-Creation-Date line.
15491 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15493 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15496 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15498 * mach/Makefile (headers): Add mach/param.h.
15499 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15500 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15501 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15502 (__ptsname_r): Move implementation to...
15503 (__ptsname_internal): ... new function. Add filling the STP
15506 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15508 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15511 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15513 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15516 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15518 * nptl/Makefile (tst-mutex8-ENV): Delete.
15519 * nptl/tst-mutex8.c (check_type):
15520 Add runtime check if mutex will be elided.
15522 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15526 * manual/install.texi (Configuring and compiling): Describe
15527 passing CC and CFLAGS on configure command line, not as
15528 environment variables. Use @code markup on those variables.
15529 Specify what options go in CC and what go in CFLAGS. Note the
15530 requirement to compile with optimization.
15531 * INSTALL: Regenerated.
15534 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15535 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15536 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15537 __sigprocmask instead of sigprocmask.
15538 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15540 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15541 __sigsetjmp and sigprocmask.
15544 * include/argz.h (argz_next): Use libc_hidden_proto.
15545 (__argz_next): Likewise.
15546 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15547 (argz_next): Use libc_hidden_weak.
15550 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15552 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15556 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15558 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15562 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15563 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15564 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15565 (__feof_unlocked): New declaration, and inline function if
15566 [__USE_EXTERN_INLINES].
15567 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15568 instead of feof_unlocked.
15569 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15570 * nss/nsswitch.c (nss_parse_file): Likewise.
15571 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15573 * time/getdate.c (__getdate_r): Likewise.
15574 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15575 Define as macro to call __feof_unlocked.
15577 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15579 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15581 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15583 * math/Makefile: Remove mpexp.c and mplog.c
15584 * sysdeps/i386/fpu/mpexp.c: Delete file.
15585 * sysdeps/i386/fpu/mplog.c: Likewise.
15586 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15587 * sysdeps/ia64/fpu/mplog.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15589 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15590 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15591 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15592 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15593 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15594 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15595 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15596 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15598 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15599 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15600 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15601 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15602 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15603 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15605 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15607 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15609 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15611 * sysdeps/sh/libm-test-ulps: Update.
15613 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15615 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15618 2018-02-12 Zack Weinberg <zackw@panix.com>
15621 * posix/sys/types.h: Don't include sys/sysmacros.h.
15622 * misc/sys/sysmacros.h: Remove the conditional deprecation
15623 warnings for the macros defined by this header.
15625 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15627 * manual/probes.texi: Remove slowexp probes.
15628 * math/Makefile: Remove slowexp.
15629 * sysdeps/generic/math_private.h (__slowexp): Remove.
15630 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15631 document error bounds.
15632 * sysdeps/i386/fpu/slowexp.c: Remove.
15633 * sysdeps/ia64/fpu/slowexp.c: Remove.
15634 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15635 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15636 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15637 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15638 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15639 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15640 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15641 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15642 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15646 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15649 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15650 * benchtests/pow-inputs: Update comment for slow path cases.
15651 * manual/probes.texi (slowpow_p10): Delete removed probe.
15652 (slowpow_p10): Likewise.
15653 * math/Makefile: Remove halfulp.c and slowpow.c.
15654 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15655 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15656 (__halfulp): Remove.
15657 (__slowpow): Remove.
15658 * sysdeps/i386/fpu/halfulp.c: Delete file.
15659 * sysdeps/i386/fpu/slowpow.c: Likewise.
15660 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15661 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15663 improve comments and add error analysis.
15664 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15665 (power1): Remove function:
15666 (log1): Remove error argument, add error analysis.
15667 (my_log2): Remove function.
15668 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15669 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15670 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15671 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15672 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15673 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15674 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15675 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15676 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15677 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15678 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15679 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15680 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15681 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15683 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15685 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15686 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15688 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15691 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15692 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15693 and PTRACE_SETHBPREGS.
15695 2018-02-10 Zack Weinberg <zackw@panix.com>
15698 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15700 * malloc/tst-malloc-stats-cancellation.c: New test case.
15701 * malloc/Makefile: Add new test case.
15703 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15705 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15707 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15709 * math/Makefile (libm-narrow-fns): Add add.
15710 (libm-test-funcs-narrow): Likewise.
15711 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15712 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15713 * math/gen-auto-libm-tests.c (test_functions): Add add.
15714 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15715 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15716 (NARROW_ADD_TRIVIAL): Likewise.
15717 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15719 (__daddl): Likewise.
15720 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15722 (CFLAGS-nldbl-dadd.c): New variable.
15723 (CFLAGS-nldbl-fadd.c): Likewise.
15724 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15728 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15729 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15730 * math/auto-libm-test-in: Add tests of add.
15731 * math/auto-libm-test-out-narrow-add: New generated file.
15732 * math/libm-test-narrow-add.inc: New file.
15733 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15736 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15737 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15738 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15747 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15748 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15749 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15750 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15752 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15757 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15772 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15775 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15776 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15777 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15778 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15780 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15781 (f128-pairs): New variable.
15782 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15783 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15785 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15786 Also make tests add $(f128-loader-link) to gnulib-tests.
15788 2018-02-09 DJ Delorie <dj@redhat.com>
15791 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15792 64-bit ELF type for 64-bit ELF objects.
15794 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15796 * math/libm-test-driver.c (snan_tests_arg): New variable.
15797 * math/libm-test-support.h (snan_tests_arg): New declaration.
15798 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15800 * math/Makefile (test-type-pairs): New variable.
15801 (test-type-pairs-f64xf128-yes): Likewise.
15802 (tests): Add test-narrow-macros.
15803 (libm-test-funcs-narrow): New variable.
15804 (libm-test-c-narrow): Likewise.
15805 (generated): Add $(libm-test-c-narrow).
15806 (libm-tests-base-narrow): New variable.
15807 (libm-tests-narrow): Likewise.
15808 (libm-tests): Add $(libm-tests-narrow).
15809 (libm-tests-for-type): Handle $(libm-tests-narrow).
15810 (libm-test-c-narrow-obj): New variable.
15811 ($(libm-test-c-narrow-obj)): New rule.
15812 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15813 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15814 $(o-iterator) to set dependencies and CFLAGS.
15815 * math/gen-auto-libm-tests.c: Document use for narrowing
15817 (output_for_one_input_case): Take argument NARROW.
15818 (generate_output): Likewise. Update call to
15819 output_for_one_input_case.
15820 (main): Take --narrow option. Update call to generate_output.
15821 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15822 (apply_lit): Update call to _apply_lit.
15823 (apply_arglit): New function.
15824 (parse_args): Handle "a" arguments.
15825 (parse_auto_input): Handle format names using ":".
15826 * math/README.libm-test: Document "a" parameter type.
15827 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15828 (ARG_TYPE_TRUE_MIN): Likewise.
15829 (ARG_TYPE_MAX): Likwise.
15830 (ARG_MIN_EXP): Likewise.
15831 (ARG_MAX_EXP): Likewise.
15832 (ARG_MANT_DIG): Likewise.
15833 (TEST_COND_arg_ibm128): Likewise.
15834 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15835 (TEST_COND_arg_fmt): New macro.
15836 (init_max_error): Update prototype.
15837 * math/libm-test-support.c (test_ibm128): New variable.
15838 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15839 instead of using [TEST_COND_ibm128] conditional.
15840 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15841 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15842 [TEST_NARROW] (TEST_MSG): New definition.
15843 (arg_plus_zero): New macro.
15844 (arg_minus_zero): Likewise.
15845 (arg_plus_infty): Likewise.
15846 (arg_minus_infty): Likewise.
15847 (arg_qnan_value_pl): Likewise.
15848 (arg_qnan_value): Likewise.
15849 (arg_snan_value_pl): Likewise.
15850 (arg_snan_value): Likewise.
15851 (arg_max_value): Likewise.
15852 (arg_min_value): Likewise.
15853 (arg_min_subnorm_value): Likewise.
15854 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15855 (RUN_TEST_LOOP_aa_f): New macro.
15856 (TEST_SUFF): New macro.
15857 (TEST_SUFF_STR): Likewise.
15858 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15859 (TEST_COND_any_ibm128): New macro.
15860 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15861 this_func. Update call to init_max_error.
15862 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15863 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15864 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15865 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15866 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15867 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15868 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15869 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15870 * math/test-math-vector.h (TEST_NARROW): Likewise.
15871 * math/test-arg-double.h: New file.
15872 * math/test-arg-float128.h: Likewise.
15873 * math/test-arg-float32x.h: Likewise.
15874 * math/test-arg-float64.h: Likewise.
15875 * math/test-arg-float64x.h: Likewise.
15876 * math/test-arg-ldouble.h: Likewise.
15877 * math/test-math-narrow.h: Likewise.
15878 * math/test-narrow-macros.c: Likewise.
15879 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15880 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15881 test-narrow-macros-ldbl-64.
15882 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15884 * math/bits/mathcalls-narrow.h: New file.
15885 * include/bits/mathcalls-narrow.h: Likewise.
15886 * math/math-narrow.h: Likewise.
15887 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15888 (__MATHCALL_NARROW_ARGS_2): Likewise.
15889 (__MATHCALL_NARROW_ARGS_3): Likewise.
15890 (__MATHCALL_NARROW_NORMAL): Likewise.
15891 (__MATHCALL_NARROW_REDIR): Likewise.
15892 (__MATHCALL_NARROW): Likewise.
15893 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15894 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15896 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15897 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15898 (libm-narrow-fns): New variable.
15899 (libm-narrow-types-basic): Likewise.
15900 (libm-narrow-types-ldouble-yes): Likewise.
15901 (libm-narrow-types-float128-yes): Likewise.
15902 (libm-narrow-types-float128-alias-yes): Likewise.
15903 (libm-narrow-types): Likewise.
15904 (libm-routines): Add narrowing functions.
15905 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15906 (libc_feholdexcept_setroundf128): New macro.
15907 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15908 * sysdeps/ieee754/float128/float128_private.h: Include
15909 <math/math-narrow.h>.
15910 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15911 Undefine and redefine.
15912 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15913 (libm_alias_float_ldouble): Undefine and redefine.
15914 (libm_alias_double_ldouble): Likewise.
15916 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15918 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15920 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15923 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15925 * manual/creature.texi: Convert references to gcc.info to gcc.
15926 * manual/stdio.texi: Likewise.
15927 * manual/string.texi: Likewise.
15929 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15932 * posix/bits/types.h (__int_least8_t): New typedef.
15933 (__uint_least8_t): Likewise.
15934 (__int_least16_t): Likewise.
15935 (__uint_least16_t): Likewise.
15936 (__int_least32_t): Likewise.
15937 (__uint_least32_t): Likewise.
15938 (__int_least64_t): Likewise.
15939 (__uint_least64_t): Likewise.
15940 * sysdeps/generic/stdint.h (int_least8_t): Define using
15942 (int_least16_t): Define using __int_least16_t.
15943 (int_least32_t): Define using __int_least32_t.
15944 (int_least64_t): Define using __int_least64_t.
15945 (uint_least8_t): Define using __uint_least8_t.
15946 (uint_least16_t): Define using __uint_least16_t.
15947 (uint_least32_t): Define using __uint_least32_t.
15948 (uint_least64_t): Define using __uint_least64_t.
15949 * wcsmbs/uchar.h: Include <bits/types.h>.
15950 (char16_t): Define using __uint_least16_t conditional only on
15952 (char32_t): Define using __uint_least32_t conditional only on
15954 * wcsmbs/test-char-types.c: New file.
15955 * wcsmbs/Makefile (tests): Add test-char-types.
15957 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15960 2018-02-07 Zack Weinberg <zackw@panix.com>
15962 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15963 Delete all contents except for definitions of _G_HAVE_MMAP and
15964 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15965 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15966 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15969 * libio/libio.h: Don't include bits/_G_config.h here.
15970 Include stddef.h with __need_wchar_t defined. Include
15971 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15972 Define _IO_iconv_t here, directly.
15973 Don't define _IO_HAVE_ST_BLKSIZE.
15974 * libio/libioP.h: Include _G_config.h here. Move include of
15975 shlib-compat.h up with rest of includes. Simplify conditionals
15976 controlling definition of _IO_JUMPS_OFFSET.
15978 * csu/init.c: Remove always-true #if around entire file.
15979 Don't include stdio.h. Set _IO_stdin_used to hardwired
15980 constant 0x20001, and update commentary.
15981 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15982 Replace all uses of _G_va_list with __gnuc_va_list.
15983 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15984 instead of #if _IO_HAVE_ST_BLKSIZE.
15985 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15986 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15989 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15990 multiple-include guard to match.
15991 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15993 Remove preprocessor conditionals that are always true and/or
15994 redundant to other preprocessor conditionals in the same nest.
15995 Include shlib-compat.h unconditionally.
15996 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15997 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15998 defined after including stdio.h.
15999 Use __BEGIN_DECLS/__END_DECLS.
16001 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16002 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16003 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16005 2018-02-07 Zack Weinberg <zackw@panix.com>
16007 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16008 New single-type headers split from _G_config.h.
16009 * libio/bits/types/cookie_io_functions_t.h
16010 * libio/bits/types/struct_FILE.h
16011 New single-type headers split from libio.h.
16013 * libio/Makefile: Install the above new headers. Don't install
16014 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16016 * libio/_G_config.h, libio/libio.h: Delete file.
16018 * libio/bits/libio.h: Remove improper-inclusion guard.
16019 Include stdio.h and don't repeat anything that it does.
16020 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16021 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16022 __io_read_fn as cookie_read_function_t,
16023 __io_write_fn as cookie_write_function_t,
16024 __io_seek_fn as cookie_seek_function_t,
16025 __io_close_fn as cookie_close_function_t,
16026 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16027 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16028 here, in the "compatibility defines" section. Remove an #if 0
16029 block. Use the "body" macros from bits/types/struct_FILE.h to
16030 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16031 and _IO_ferror_unlocked.
16032 Move prototypes of __uflow and __overflow...
16034 * libio/stdio.h: ...here. Don't include bits/libio.h.
16035 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16036 directly from stdarg.h. Include bits/types/__fpos_t.h,
16037 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16038 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16039 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16040 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16041 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16042 __ssize_t, not _IO_ssize_t. Unconditionally define
16043 BUFSIZ as 8192 and EOF as (-1).
16045 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16046 macros from bits/types/struct_FILE.h instead of _IO_* macros
16047 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16048 instead of _IO_ssize_t.
16049 * libio/bits/stdio2.h: Similarly.
16051 * libio/iolibio.h: Add multiple-include guard.
16052 Include bits/libio.h after stdio.h.
16053 * libio/libioP.h: Add multiple-include guard.
16054 Include stdio.h and bits/libio.h before iolibio.h.
16056 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16057 * include/bits/types/cookie_io_functions_t.h
16058 * include/bits/types/struct_FILE.h: New wrappers.
16060 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16061 Get definitions of _G_fpos_t and _G_fpos64_t from
16062 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16063 respectively. Remove improper-inclusion guards.
16065 * conform/data/stdio.h-data: Update expectations of va_list.
16066 * scripts/check-installed-headers.sh: Remove special case for
16067 libio.h and _G_config.h.
16069 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16073 * include/sys/sysmacros.h [!_ISOMAC]
16074 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16075 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16076 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16077 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16079 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16080 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16082 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16083 Undefine and redefine to add use __gnu_dev_ prefix.
16084 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16086 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16087 and define as hidden inline function.
16088 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16090 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16092 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16093 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16094 (gnu_dev_minor): Likewise.
16095 (gnu_dev_makedev): Likewise.
16096 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16098 * posix/wordexp.c (exec_comm_child): Likewise.
16099 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16100 instead of minor and __gnu_dev_major instead of major.
16101 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16102 __gnu_dev_major instead of major.
16103 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16104 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16105 instead of gnu_dev_minor.
16106 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16107 (SLAVE_P): Likewise.
16108 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16109 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16113 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16115 * locale/weightwc.h (findidx): Likewise.
16117 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16119 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16120 (slowlog_inexact): Likewise
16121 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16122 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16124 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16127 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16128 missing second underscore to parameter name.
16130 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16136 * bits/byteswap.h: Update file comment. Do not include
16137 <bits/byteswap-16.h>.
16138 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16140 (__bswap_16): Define as inline function.
16141 (__bswap_constant_32): Reformat definition.
16142 (__bswap_32): Always define as inline function, not macro, using
16143 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16144 otherwise __bswap_constant_32.
16145 (__bswap_constant_64): Reformat definition. Do not use
16146 __extension__ here.
16147 (__bswap_64): Always define as inline function, not macro. Use
16148 __extension__ on function definition. Use __builtin_bswap64 if
16149 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16150 * string/test-endian-file-scope.c: New file.
16151 * string/test-endian-sign-conversion.c: Likewise.
16152 * string/Makefile (headers): Remove bits/byteswap-16.h.
16153 (tests): Add test-endian-file-scope and
16154 test-endian-sign-conversion.
16155 (CFLAGS-test-endian-sign-conversion.c): New variable.
16156 * bits/byteswap-16.h: Remove file.
16157 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16158 * sysdeps/ia64/bits/byteswap.h: Likewise.
16159 * sysdeps/m68k/bits/byteswap.h: Likewise.
16160 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16161 * sysdeps/s390/bits/byteswap.h: Likewise.
16162 * sysdeps/tile/bits/byteswap.h: Likewise.
16163 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16164 * sysdeps/x86/bits/byteswap.h: Likewise.
16167 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16168 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16169 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16170 199901L] (__restrict): Define to restrict.
16173 * string/testcopy.c: Include <support/support.h>. Do not include
16174 <malloc.h>. Use <support/test-driver.c>.
16175 (main): Rename to do_test. Make static. Use xmalloc instead of
16179 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16180 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16181 (SSIZE_MAX): Define to INT_MAX.
16182 * posix/test-ssize-max.c: New file.
16183 * posix/Makefile (tests): Add test-ssize-max.
16186 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16187 <support/support.h>. Do not include <malloc.h>.
16188 (query_auxv): Use xmalloc instead of malloc.
16191 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16192 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16195 2018-02-06 Florian Weimer <fweimer@redhat.com>
16198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16199 Use scratch_buffer instead of extend_alloca.
16201 2018-02-06 Zack Weinberg <zackw@panix.com>
16203 * libio/stdio.h: Don't define getc or putc as macros.
16204 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16205 not _IO_getc and _IO_putc.
16207 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16208 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16210 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16212 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16213 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16215 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16218 * elf/elf.h (NT_PRFPREG): New macro.
16219 (NT_S390_VXRS_LOW): Likewise.
16220 (NT_S390_VXRS_HIGH): Likewise.
16221 (NT_S390_GS_CB): Likewise.
16222 (NT_S390_GS_BC): Likewise.
16223 (NT_S390_RI_CB): Likewise.
16225 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16226 (MAP_SYNC): New macro.
16227 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16229 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16230 (MAP_SYNC): Likewise.
16231 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16232 (MAP_SYNC): Likewise.
16233 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16234 (MAP_SYNC): Likewise.
16235 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16236 (MAP_SYNC): Likewise.
16237 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16238 (MAP_SYNC): Likewise.
16239 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16240 (MAP_SYNC): Likewise.
16241 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16243 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16246 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16247 (MAP_SHARED_VALIDATE): New macro.
16248 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16249 (MAP_SHARED_VALIDATE): Likewise.
16251 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16253 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16254 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16255 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16257 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16259 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16260 (DT_NUM): Updated to 35.
16262 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16264 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16265 __builtin_expect with __glibc_likely and __glibc_unlikely.
16266 (elf_machine_rela): Likewise.
16267 (elf_machine_lazy_rel): Likewise.
16269 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16272 __builtin_expect with __glibc_likely and __glibc_unlikely.
16273 (elf_machine_lazy_rel): Likewise.
16275 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16278 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16280 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16282 2018-02-05 Andreas Schwab <schwab@suse.de>
16285 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16288 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16290 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16291 not check against PTHREAD_STACK_MIN.
16293 2018-02-02 Sean McKean <smckean83@gmail.com>
16296 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16298 2018-02-02 Florian Weimer <fweimer@redhat.com>
16301 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16302 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16303 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16304 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16305 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16306 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16307 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16308 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16309 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16310 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16311 * misc/tst-preadvwritev2.c (do_test): Call it.
16312 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16314 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16316 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16318 * benchtests/bench-memcmp.c: Print json instead of plain text.
16320 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16323 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16325 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16327 (s390_sthyi): New syscall.
16329 * sysdeps/generic/ldbl-classify-compat.h: New file.
16330 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16331 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16332 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16333 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16334 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16335 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16336 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16337 <ldbl-classify-compat.h>.
16338 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16339 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16340 <ldbl-classify-compat.h>.
16341 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16342 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16343 <ldbl-classify-compat.h>.
16344 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16345 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16346 <ldbl-classify-compat.h>.
16347 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16349 <ldbl-classify-compat.h>.
16350 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16352 <ldbl-classify-compat.h>.
16353 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16354 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16355 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16356 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16357 * sysdeps/microblaze/math_private.h: Likewise.
16358 * sysdeps/nios2/math_private.h: Likewise.
16359 * sysdeps/sh/math_private.h: Likewise.
16361 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16362 * sysdeps/m68k/coldfire/math_private.h: ... here.
16363 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16364 * sysdeps/tile/math_private.h: Likewise.
16365 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16367 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16370 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16372 (libc_fetestexcept): Likewise.
16373 (libc_feupdateenv_test): Likewise.
16374 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16375 (libc_fetestexcept): Likewise.
16376 (libc_feupdateenv_test): Likewise.
16377 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16378 (libc_fetestexcept): Likewise.
16379 (libc_feupdateenv_test): Likewise.
16380 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16381 (libc_fetestexcept): Likewise.
16382 (libc_feupdateenv_test): Likewise.
16384 * sysdeps/generic/math_private.h
16385 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16386 New inline function.
16387 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16390 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16391 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16392 * sysdeps/generic/math_private.h
16393 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16395 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16397 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16399 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16401 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16403 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16405 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16406 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16407 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16408 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16409 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16410 (__fegetenv): Likewise.
16411 (fesetenv): Likewise.
16412 (__fesetenv): Likewise.
16413 (feupdateenv): Likewise.
16414 (__feupdateenv): Likewise.
16415 (fegetround): Likewise.
16416 (__fegetround): Likewise.
16417 (fesetround): Likewise.
16418 (__fesetround): Likewise.
16420 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16421 (feraiseexcept): New macro.
16422 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16423 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16425 (__feraiseexcept): Likewise.
16426 (feclearexcept): Likewise.
16427 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16428 (__feraiseexcept): Likewise.
16429 (feclearexcept): Likewise.
16430 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16431 (__feraiseexcept): Likewise.
16432 (feclearexcept): Likewise.
16433 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16434 (__feraiseexcept): Likewise.
16435 (feclearexcept): Likewise.
16436 (fetestexcept): Likewise.
16438 * sysdeps/m68k/coldfire/math-tests.h: New file.
16440 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16441 * sysdeps/m68k/bits/fenv.h: ... here.
16442 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16444 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16446 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16448 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16450 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16452 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16454 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16455 (__FE_UNDEFINED): New enum constant.
16456 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16458 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16460 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16462 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16463 to match generic bits/fenv.h.
16464 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16467 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16469 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16470 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16471 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16472 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16474 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16475 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16476 Joseph Myers <joseph@codesourcery.com>
16479 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16480 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16481 computation using c.
16482 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16483 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16484 computation using c.
16486 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16488 * version.h (RELEASE): Set to "development".
16489 (VERSION): Set to "2.27.9000".
16490 * NEWS (2.28): New section.
16492 * version.h (RELEASE): Set to "stable".
16493 (VERSION): Set to "2.27".
16494 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16496 * NEWS: Add the list of bugs fixed in 2.27.
16498 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16500 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16501 against PTHREAD_STACK_MIN.
16503 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16505 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16507 (Rafal Luzynski, Andreas Schwab): Update.
16509 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16512 * NEWS: List the languages which actually use the alternative
16513 months feature in this release. Also explain that "alt_mon" and
16514 "ab_alt_mon" are optional.
16516 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16519 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16521 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16523 * manual/install.texi (Tools for Compilation): Update the newest
16524 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16525 * INSTALL: Regenerated.
16527 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16529 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16530 instead of __builtin_expect.
16532 2018-01-30 Florian Weimer <fweimer@redhat.com>
16534 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16536 * nss/tst-nss-getpwent.c (do_test): Likewise.
16538 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16541 * localedata/locales/hr_HR (mon): Rename to...
16543 (mon): Import from CLDR (genitive case).
16544 (d_t_fmt): Update the comment.
16546 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16548 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16549 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16550 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16552 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16554 * mach/Versions: Fix version when __mach_host_self_ was added.
16555 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16556 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16557 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16558 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16559 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16560 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16561 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16562 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16563 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16564 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16565 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16566 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16567 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16568 || to respect codestyle.
16569 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16570 (do_test_bz20181): Rename accordingly.
16571 * malloc/malloc.c: Include <assert.h>.
16572 (assert): Do not define.
16573 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16574 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16575 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16576 * sysdeps/mach/hurd/hp-timing.h: New file.
16577 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16579 2018-01-29 Darius Rad <darius@bluespec.com>
16581 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16583 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16585 * sysdeps/init_array/crti.S (.section .init_array): Add
16586 PREINIT_FUNCTION when defined.
16587 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16588 * config.h.in: Regenerate.
16589 * manual/platform.texi: Add RISC-V documenation for
16590 __riscv_flush_icache.
16591 * sysdeps/riscv/__longjmp.S: New file.
16592 * sysdeps/riscv/backtrace.c: Likewise.
16593 * sysdeps/riscv/bits/endian.h: Likewise.
16594 * sysdeps/riscv/bits/setjmp.h: Likewise.
16595 * sysdeps/riscv/bits/wordsize.h: Likewise.
16596 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16597 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16598 * sysdeps/riscv/dl-trampoline.S: Likewise.
16599 * sysdeps/riscv/gccframe.h: Likewise.
16600 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16601 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16602 * sysdeps/riscv/machine-gmon.h: Likewise.
16603 * sysdeps/riscv/memusage.h: Likewise.
16604 * sysdeps/riscv/setjmp.S: Likewise.
16605 * sysdeps/riscv/sys/asm.h: Likewise.
16606 * sysdeps/riscv/tls-macros.h: Likewise.
16607 * sysdeps/riscv/dl-tls.h: New file.
16608 * sysdeps/riscv/libc-tls.c: Likewise.
16609 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16610 * sysdeps/riscv/nptl/tls.h: Likewise.
16611 * sysdeps/riscv/stackinfo.h: Likewise.
16612 * sysdeps/riscv/bits/fenv.h: New file.
16613 * sysdeps/riscv/e_sqrtl.c: Likewise.
16614 * sysdeps/riscv/fpu_control.h: Likewise.
16615 * sysdeps/riscv/math-tests.h: Likewise.
16616 * sysdeps/riscv/nofpu/Implies: Likewise.
16617 * sysdeps/riscv/sfp-machine.h: Likewise.
16618 * sysdeps/riscv/tininess.h: Likewise.
16619 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16620 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16621 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16622 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16623 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16624 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16625 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16626 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16627 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16628 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16629 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16630 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16631 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16632 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16633 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16634 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16635 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16636 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16637 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16638 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16639 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16640 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16641 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16642 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16643 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16644 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16645 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16646 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16647 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16648 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16649 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16650 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16651 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16652 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16653 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16654 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16655 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16656 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16657 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16658 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16659 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16660 * sysdeps/riscv/rvf/math_private.h: Likewise.
16661 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16662 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16663 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16664 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16665 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16666 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16667 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16668 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16669 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16670 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16671 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16672 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16673 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16674 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16675 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16676 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16677 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16678 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16679 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16680 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16681 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16682 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16683 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16684 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16685 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16686 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16687 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16688 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16689 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16690 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16691 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16692 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16693 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16694 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16695 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16696 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16697 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16698 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16699 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16700 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16701 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16702 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16703 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16704 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16705 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16706 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16707 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16708 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16709 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16710 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16711 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16712 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16713 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16714 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16715 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16716 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16717 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16718 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16719 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16720 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16721 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16726 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16727 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16728 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16729 * sysdeps/riscv/Implies: New file.
16730 * sysdeps/riscv/Makefile: Likewise.
16731 * sysdeps/riscv/configure: Likewise.
16732 * sysdeps/riscv/configure.ac: Likewise.
16733 * sysdeps/riscv/nptl/Makefile: Likewise.
16734 * sysdeps/riscv/preconfigure: Likewise.
16735 * sysdeps/riscv/rv64/Implies-after: Likewise.
16736 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16737 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16738 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16739 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16740 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16741 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16742 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16743 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16744 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16745 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16746 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16747 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16748 (Config): Likewise.
16750 2018-01-29 Florian Weimer <fweimer@redhat.com>
16753 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16754 libnsl_hidden_proto.
16755 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16756 libnsl_hidden_proto.
16757 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16758 * nis/Makefile (libnsl-routines): Add nss-default only for
16759 build-obsolete-nsl.
16760 * nis/nis_defaults.c (__nis_default_ttl): Add
16761 libnsl_hidden_nolink_def.
16762 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16764 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16765 * nis/ypclnt.c (yp_maplist): Likewise.
16767 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16770 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16772 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16774 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16775 clean -dxfq for git updates when replacing sources.
16777 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16778 --disable-libcilkrts unconditionally, not just for the final GCC
16781 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16784 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16787 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16790 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16793 * localedata/locales/be_BY (mon): Rename to...
16794 (alt_mon): This, then synchronize with CLDR (nominative case).
16795 (abmon): Rename to...
16796 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16797 (mon): Import from CLDR (genitive case).
16799 * localedata/locales/be_BY@latin (mon): Rename to...
16801 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16803 * localedata/locales/be_BY@latin (lang_name): Reworded to
16804 "biełaruskaja mova".
16806 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16809 * localedata/locales/el_CY (mon): Renamed to...
16811 (mon): Import from CLDR (genitive case).
16812 * localedata/locales/el_GR: Likewise.
16814 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16817 * localedata/locales/ru_RU (mon): Rename to...
16819 (abmon): Rename to...
16820 (ab_alt_mon): This.
16821 (mon): Import from CLDR (genitive case).
16822 (abmon): Copy from the old content except the 5th month which is
16823 now in the genitive case, even when abbreviated.
16824 * localedata/locales/ru_UA: Likewise.
16825 * time/tst-strptime.c (day_tests): Add an actual example of
16826 a difference between %b and %Ob in Russian.
16828 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16830 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16831 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16833 * resolv/res-close.c: Include <stdlib.h>.
16834 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16835 <sys/wait.h>, <time.h>, <sys/uio.h>.
16836 (NOT_CANCEL_H): Add inclusion guard.
16837 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16838 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16839 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16841 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16842 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16843 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16845 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16846 timer_ptr2id to cast struct timer_node * to void *.
16847 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16848 --disable-libcilkrts to gcc configure.
16849 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16850 and make them the default for now.
16851 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16852 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16853 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16854 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16855 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16857 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16858 __task_terminate would ever return successfully.
16859 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16861 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16862 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16863 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16864 critical section to make code simpler and avoid warning.
16865 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16866 critical section to make code simpler and avoid warning.
16867 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16868 const char * instead of char *.
16869 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16870 __hurd_file_name_split, hurd_file_name_split,
16871 __hurd_directory_name_split, hurd_directory_name_split,
16872 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16873 hurd_file_name_path_lookup): Make lookup function parameter take a
16874 const char *name instead of char *name.
16875 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16876 __hurd_directory_name_split): Likewise.
16877 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16878 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16879 * sysdeps/mach/hurd/check_native.c: New file.
16880 * sysdeps/mach/hurd/check_pf.c: New file.
16881 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16882 (__freeifaddrs): Define macro to freeifaddrs.
16883 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16884 * sysdeps/mach/libmachuser.abilist: New file.
16885 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16886 (do_test_bz20181): Rename accordingly.
16887 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16888 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16890 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16891 version only if __USE_EXTERN_INLINES is defined.
16892 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16893 __hurd_sockfail): Likewise.
16894 (_hurd_fd_get): Always declare functions, and provide inline versions
16895 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16896 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16897 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16898 _hurd_port_set): Always declare functions, and provide inline versions
16899 only if __USE_EXTERN_INLINES and _LIBC are defined and
16901 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16902 _hurd_critical_section_unlock): Likewise.
16903 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16904 * __hurd_threadvar_location): Likewise.
16905 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16906 _hurd_userlink_clear): Likewise.
16907 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16908 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16909 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16910 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16911 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16912 __spin_lock_locked): Likewise.
16913 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16914 __spin_lock_locked): Likewise.
16915 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16916 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16917 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16918 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16919 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16920 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16921 _POSIX_NO_TRUNC): Define to 0.
16922 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16923 check size against PTHREAD_STACK_MIN.
16924 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16925 IS_IN(libpthread)]: Include <sigsetops.h>.
16926 * mach/Makefile (user-interfaces): Add mach/gnumach.
16927 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16928 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16929 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16930 instead of invalid -1.
16931 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16932 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16933 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16936 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16938 * hurd/fcntl-internal.h: New file.
16940 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16942 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16944 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16946 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16949 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16950 Build only shared objects.
16952 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16954 * README: Update for hppa.
16956 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16958 * sysdeps/sparc/fpu/libm-test-ulps: Update
16959 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16961 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16965 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16968 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16969 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16970 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16971 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16974 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16977 * bits/types/__cancel_jmp_buf_tag.h: New file.
16978 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16979 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16980 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16981 * nptl/Makefile (headers): Add
16982 bits/types/__cancel_jmp_buf_tag.h.
16983 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16984 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16985 * sysdeps/nptl/pthread.h: Include
16986 <bits/types/__cancel_jmp_buf_tag.h>.
16987 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16989 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16991 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16994 * localedata/locales/uk_UA (mon): Renamed to...
16996 (alt_digits): "0" removed and then renamed to...
16998 (date_fmt): Definition changed not to use the alternative
17001 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17003 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17004 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17005 * elf/elf.h (EF_RISCV_RVC): New define.
17006 (EF_RISCV_FLOAT_ABI): Likewise.
17007 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17008 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17009 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17010 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17011 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17013 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17015 2018-01-25 Andreas Schwab <schwab@suse.de>
17017 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17019 * sysdeps/gnu/configure: Regenerate.
17020 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17021 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17023 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17024 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17025 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17026 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17027 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17029 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17031 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17032 URL, and run autoconf, make it the default for now.
17034 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17036 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17037 soft-float ColdFire configuration.
17039 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17040 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17041 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17043 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17046 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17048 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17050 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17053 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17054 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17055 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17058 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17061 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17062 Rename to __reserved and add comment.
17063 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17064 Rename to __reserved.
17066 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17068 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17069 i686-gnu configurations.
17070 (Context.run_builds): Include mig, gnumach and hurd in components
17072 (Context.checkout): Add mig, gnumach and hurd to components.
17073 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17075 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17076 (Config.build): Install gnumach headers, build mig and install
17077 hurd headers for 'gnu' OS.
17078 (Config.install_gnumach_headers): New function.
17079 (Config.install_hurd_headers): Likewise.
17080 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17081 when building for 'gnu' OS.
17083 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17085 * manual/tunables.texi (Hardware Capability Tunables): Fix
17088 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17090 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17091 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17092 (ALTMON_11, ALTMON_12): Improve documentation.
17093 * manual/time.texi (strftime): Likewise.
17095 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17098 * localedata/locales/pl_PL: Alternative month names added,
17099 primary month names are genitive now.
17100 * time/tst-strptime.c (day_tests): Actually use a genitive case
17101 of a month name in Polish language.
17103 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17106 * manual/locale.texi: Document ALTMON_1..12 constants for
17107 nl_langinfo. Specify when to use ALTMON instead of MON.
17108 * manual/time.texi (strftime, strptime): Document GNU extension
17109 permitting O modifier with %B and %b. Specify when to use
17112 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17115 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17116 names, define them as the same as abbreviated month names explicitly.
17117 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17118 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17119 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17120 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17121 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17122 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17123 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17124 _NL_WABALTMON_12): New enum constants.
17125 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17126 wab_alt_mon, and ab_alt_mon_defined members.
17127 (time_output): Output ab_alt_mon and wab_alt_mon members.
17128 (time_read): Read them, initialize them as copies of abmon and wabmon
17129 respectively if they are missing, initialize ab_alt_mon_defined.
17130 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17131 * locale/programs/locfile-kw.h: Regenerate.
17132 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17133 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17135 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17136 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17137 (__strftime_internal): Handle %Ob and %Oh formats.
17138 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17139 (__strptime_internal): Handle %Ob and %Oh formats.
17140 * time/tst-strptime.c (day_tests): Add more tests to parse different
17141 forms of month names including the new %Ob format specifier.
17143 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17146 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17147 define them as the same as primary full month names explicitly.
17148 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17149 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17150 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17151 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17152 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17153 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17154 _NL_WALTMON_12): New enum constants.
17155 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17156 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17158 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17159 walt_mon, and alt_mon_defined members.
17160 (time_output): Output alt_mon and walt_mon members.
17161 (time_read): Read them, initialize them as copies of mon and wmon
17162 respectively if they are missing, initialize alt_mon_defined.
17163 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17164 * locale/programs/locfile-kw.h: Regenerate.
17165 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17166 * localedata/tst-langinfo.c (map): Add tests for the new constants
17167 ALTMON_1 .. ALTMON_12.
17168 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17170 * time/strftime_l.c (f_altmonth): New macro.
17171 (__strftime_internal): Handle %OB format.
17172 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17173 (__strptime_internal): Handle %OB format.
17174 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17175 of month names including the new %OB format specifier.
17177 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17180 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17181 from ABORT_TRANSACTION.
17182 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17183 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17184 ABORT_TRANSACTION_IMPL): Likewise.
17185 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17186 Linux code, but remove the code that aborts transactions.
17188 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17190 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17192 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17194 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17195 in date: "2004-14-09" should be "2004-09-14".
17196 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17197 "2003-15-09" should be "2003-09-15".
17199 2018-01-18 Arjun Shankar <arjun@redhat.com>
17205 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17207 (_int_memalign): check for integer overflow before calling
17209 * malloc/tst-malloc-too-large.c: New test.
17210 * malloc/Makefile: Add tst-malloc-too-large.
17212 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17214 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17215 in date: "2017-24-07" should be "2017-07-24".
17216 * localedata/locales/mai_IN: Likewise.
17217 * localedata/locales/mai_NP: Likewise.
17219 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17221 * po/ru.po: Update translations.
17223 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17226 * sysdeps/hppa/backtrace.c: New file.
17228 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17231 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17232 align La_x86_64_retval to VEC_SIZE.
17234 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17236 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17237 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17239 2018-01-16 Florian Weimer <fweimer@redhat.com>
17241 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17242 Move tst-thread-exit-clobber ...
17243 [$(CXX)] (tests-unsupported): ... to here.
17245 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17247 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17248 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17249 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17250 (_dl_aarch64_cap_flags): Update.
17251 (_DL_HWCAP_COUNT): Update.
17253 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17255 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17256 (_DL_HWCAP_LAST): Remove.
17257 (_DL_HWCAP_COUNT): Move to ...
17258 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17259 (_DL_HWCAP_COUNT): ... here.
17261 2018-01-16 Florian Weimer <fweimer@redhat.com>
17263 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17264 mode with GNU extensions.
17266 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17268 * elf/elf.h (NT_ARM_SVE): Define.
17270 2018-01-15 Florian Weimer <fweimer@redhat.com>
17273 * nptl/tst-minstack-throw.cc: New file.
17274 * nptl/Makefile (tests): Add tst-minstack-throw.
17275 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17276 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17278 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17280 * scripts/build-many-glibcs.py (Context.checkout): Default
17281 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17284 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17287 * elf/elf.h (DF_1_STUB): Define.
17288 (DF_1_PIE): Define.
17290 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17294 Do not add 0.5 to integer or out-of-range arguments.
17296 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17298 * po/bg.po: Update translations.
17299 * po/cs.po: Likewise.
17300 * po/de.po: Likewise.
17301 * po/ko.po: Likewise.
17302 * po/pl.po: Likewise.
17303 * po/sv.po: Likewise.
17304 * po/uk.po: Likewise.
17305 * po/vi.po: Likewise.
17307 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17309 * aarch64/start.S (_start): Use __wrap_main.
17310 (__wrap_main): New local symbol.
17312 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17316 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17317 generic_getcwd if the path returned by getcwd syscall is not absolute.
17318 * io/tst-getcwd-abspath.c: New test.
17319 * io/Makefile (tests): Add tst-getcwd-abspath.
17321 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17323 * malloc/malloc.c (malloc_consolidate): Add size check.
17325 2018-01-12 Florian Weimer <fweimer@redhat.com>
17327 * support/write_message.c (write_message): Preserve errno.
17328 * support/check.c (print_failure): Likewise.
17329 * support/support_test_verify_impl.c (support_test_verify_impl):
17331 * support/support_test_compare_failure.c
17332 (support_test_compare_failure): Likewise.
17334 2018-01-12 Florian Weimer <fweimer@redhat.com>
17337 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17338 Prevent installation of libnsl.so.
17339 (libnsl-inhibit-o): Do not build (or install) static libraries.
17341 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17344 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17345 before the day number which may produce a double space.
17346 (date_fmt): Likewise.
17348 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17350 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17351 instead of fegetenv.
17353 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17357 comment to say exceptions are discarded.
17358 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17360 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17363 2018-01-11 Florian Weimer <fweimer@redhat.com>
17365 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17368 2018-01-11 Florian Weimer <fweimer@redhat.com>
17371 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17372 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17374 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17378 negative arguments in test for NaN or infinity argument.
17380 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17382 * po/libc.pot: Regenerate.
17384 2018-01-10 Florian Weimer <fweimer@redhat.com>
17387 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17388 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17390 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17392 * hurd/hurd/fd.h: Include <fcntl.h>
17393 (__hurd_at_flags): New function.
17394 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17395 with call to __hurd_at_flags.
17396 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17397 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17399 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17400 (__access_noerrno): Use __faccessat_common instead of access_common.
17401 (__access): Likewise.
17402 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17403 with a call to __faccessat.
17404 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17405 (__faccessat_common): ... this. Move implementation of __access into it when
17406 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17407 reauthenticate_cwdir_at helper to implement AT mechanism.
17408 (__faccessat_noerrno): New function, just calls __faccessat_common.
17409 (__faccessat): New function, just calls __faccessat_common.
17410 (faccessat): Define weak alias.
17412 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17415 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17416 (CFLAGS-s_fmaxmagl.c): New variable.
17417 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17421 long int for arguments of possibly overflowing addition or
17423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17425 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17428 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17429 (CFLAGS-e_remainderl.c): New variable.
17432 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17434 (CFLAGS-s_cacoshl.c): Likewise.
17435 (CFLAGS-s_casinhl.c): Likewise.
17436 (CFLAGS-s_catanl.c): Likewise.
17437 (CFLAGS-s_catanhl.c): Likewise.
17438 (CFLAGS-s_cexpl.c): Likewise.
17439 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17440 (CFLAGS-s_csinhl.c): Likewise.
17441 (CFLAGS-s_clogl.c): Likewise.
17442 (CFLAGS-s_clog10l.c): Likewise.
17443 (CFLAGS-s_csinl.c): Likewise.
17444 (CFLAGS-s_csqrtl.c): Likewise.
17446 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17447 2017-01-09 Svante Signell <svante.signell@gmail.com>
17449 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17450 (_hurd_exec_paths): New function.
17451 * hurd/hurd.h (_hurd_exec): Deprecate function.
17452 (_hurd_exec_paths): Declare function.
17453 * hurd/Versions: Export _hurd_exec_paths.
17454 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17455 (__execve): Use __getcwd to build absolute path, and use
17456 _hurd_exec_paths instead of _hurd_exec.
17457 * sysdeps/mach/hurd/spawni.c: Likewise.
17458 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17461 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17463 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17464 test instead of failing in case of ENOENT returned by posix_openpt.
17466 2018-01-08 Florian Weimer <fweimer@redhat.com>
17468 resolv: Support binary labels in test framework.
17469 * support/resolv_test.c (struct to_be_freed): Remove.
17470 (struct compressed_name): New.
17471 (allocate_compressed_name, ascii_tolower)
17472 (compare_compressed_name): New functions.
17473 (struct resolv_response_builder): Update type of
17474 compression_offsets for use with tsearch. Rempve to_be_freed.
17475 (response_push_pointer_to_free): Remove function.
17476 (resolv_response_add_name): Rewrite using struct compressed_name
17477 and tsearch instead of hsearch_r.
17478 (response_builder_allocate): Remove initialization of
17479 compression_offsets.
17480 (response_builder_free): Update for removal of to_be_freed. Use
17481 tdestroy instead of hdestroy_r.
17482 * resolv/Makefile (tests): Add tst-resolv-binary.
17483 (tst-resolv-binary): Link with -lresolv -lpthread.
17485 2018-01-08 Florian Weimer <fweimer@redhat.com>
17487 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17488 time. Pass positive flag instead of negative flag to
17489 support_test_compare_failure.
17490 (support_test_compare_failure): Change negative parameter to
17492 * support/support_test_compare_failure.c (report)
17493 (support_test_compare_failure): Likewise.
17494 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17495 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17497 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17500 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17501 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17502 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17504 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17506 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17509 Add s_sincosf-sse2 and s_sincosf-fma.
17510 (CFLAGS-s_sincosf-fma.c): New.
17511 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17512 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17513 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17514 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17515 __sincosf is defined.
17517 2018-01-08 Florian Weimer <fweimer@redhat.com>
17519 * nptl/tst-thread-exit-clobber.cc: New file.
17520 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17522 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17523 (tests): Add tst-thread-exit-clobber.
17524 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17526 2018-01-08 Florian Weimer <fweimer@redhat.com>
17528 * support/check.h (support_static_assert): Define.
17529 (TEST_COMPARE): Use it.
17531 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17533 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17534 [!__RLIM_T_MATCHES_RLIM64_T]
17535 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17536 __getrlimit64. Add libc_hidden_weak.
17538 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17540 * elf/elf.h (R_RISCV_NONE): New define.
17541 (R_RISCV_32): Likewise.
17542 (R_RISCV_64): Likewise.
17543 (R_RISCV_RELATIVE): Likewise.
17544 (R_RISCV_COPY): Likewise.
17545 (R_RISCV_JUMP_SLOT): Likewise.
17546 (R_RISCV_TLS_DTPMOD32): Likewise.
17547 (R_RISCV_TLS_DTPMOD64): Likewise.
17548 (R_RISCV_TLS_DTPREL32): Likewise.
17549 (R_RISCV_TLS_DTPREL64): Likewise.
17550 (R_RISCV_TLS_TPREL32): Likewise.
17551 (R_RISCV_TLS_TPREL64): Likewise.
17552 * Makerules (make-link-multidir): Make directories before linking into
17554 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17556 (VDSO_HASH_LINUX_4_15): Likewise.
17557 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17558 in subdirectories of lib.
17559 * nptl/Makefile (/librt.so): Always depend on
17560 "$(shared-thread-library)".
17562 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17564 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17565 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17566 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17568 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17569 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17571 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17572 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17573 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17574 * sysdeps/gnu/glob-lstat-compat.c: New file.
17575 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17576 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17578 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17580 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17581 Reserve 16 chars to reloc_addr before calling _itoa_word.
17583 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17586 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17587 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17589 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17590 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17592 * resource/tst-getrlimit.c: Add copyright header.
17594 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17595 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17597 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17598 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17599 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17600 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17602 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17603 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17604 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17605 RLIM64_INFINITY): Fix values to match the kernel ones.
17606 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17607 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17608 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17609 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17610 getrlimit64@@GLIBC_2_27.
17611 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17613 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17614 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17615 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17616 setrlimit, getrlimit64 and setrlimit64.
17618 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17621 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17622 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17624 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17626 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17627 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17628 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17630 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17634 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17635 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17639 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17640 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17641 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17642 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17644 2018-01-04 Florian Weimer <fweimer@redhat.com>
17647 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17648 Align the stack before calling exit.
17649 * stdlib/tst-makecontext-align.c: New file.
17650 * stdlib/Makefile (tests): Add tst-makecontext-align.
17652 2018-01-04 Florian Weimer <fweimer@redhat.com>
17654 Add support for calling dlvsym from libc.so.
17655 * include/dlfcn.h (__libc_dlvsym): Declare.
17656 * elf/Makefile (tests-static-internal): Add
17657 tst-libc_dlvsym-static.
17658 (tests-internal): Add tst-libc_dlvsym.
17659 (modules-names): Add tst-libc_dlvsym-dso.
17660 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17661 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17662 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17663 object tst-libc_dlvsym-dso.so needs to be built before running
17665 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17666 * elf/Versions: Export __libc_dlvsym.
17667 * elf/dl-libc.c (struct do_dlvsym_args): New.
17668 (do_dlvsym, __libc_dlvsym): New functions.
17669 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17670 (_dl_open_hook2): New variable.
17671 (__libc_register_dl_open_hook): Set it.
17672 * elf/tst-libc_dlvsym-dso.c: New file.
17673 * elf/tst-libc_dlvsym-static.c: Likewise.
17674 * elf/tst-libc_dlvsym.c: Likewise.
17675 * elf/tst-libc_dlvsym.h: Likewise.
17677 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17679 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17680 include <sys/mount.h>.
17682 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17684 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17685 Add __NO_MATH_ERRNO__ check.
17687 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/mips/mips32/libm-test-ulps: Update.
17690 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17692 2018-01-02 Florian Weimer <fweimer@redhat.com>
17694 * misc/tst-pselect.c: Add copyright header.
17696 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17698 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17700 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17702 (settrlimit): Rename into setrlimit.
17703 (__sttrlimit): Rename into __setrlimit.
17705 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17706 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17707 never defined in that case.
17709 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17711 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17713 * sysdeps/arm/libm-test-ulps: Update.
17715 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17716 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17718 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17720 * NEWS: Add cosf and sincosf to list of optimized functions.
17722 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17725 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17726 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17727 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17728 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17730 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17733 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17735 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17736 making a copy of it.
17738 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17740 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17741 trailing whitespace removed.
17742 * scripts/config.guess: Update to version 2018-01-01.
17743 * scripts/config.sub: Update to version 2018-01-01.
17744 * scripts/move-if-change: Update from gnulib.
17746 * NEWS: Update copyright dates.
17747 * catgets/gencat.c (print_version): Likewise.
17748 * csu/version.c (banner): Likewise.
17749 * debug/catchsegv.sh: Likewise.
17750 * debug/pcprofiledump.c (print_version): Likewise.
17751 * debug/xtrace.sh (do_version): Likewise.
17752 * elf/ldconfig.c (print_version): Likewise.
17753 * elf/ldd.bash.in: Likewise.
17754 * elf/pldd.c (print_version): Likewise.
17755 * elf/sotruss.sh: Likewise.
17756 * elf/sprof.c (print_version): Likewise.
17757 * iconv/iconv_prog.c (print_version): Likewise.
17758 * iconv/iconvconfig.c (print_version): Likewise.
17759 * locale/programs/locale.c (print_version): Likewise.
17760 * locale/programs/localedef.c (print_version): Likewise.
17761 * login/programs/pt_chown.c (print_version): Likewise.
17762 * malloc/memusage.sh (do_version): Likewise.
17763 * malloc/memusagestat.c (print_version): Likewise.
17764 * malloc/mtrace.pl: Likewise.
17765 * manual/libc.texinfo: Likewise.
17766 * nptl/version.c (banner): Likewise.
17767 * nscd/nscd.c (print_version): Likewise.
17768 * nss/getent.c (print_version): Likewise.
17769 * nss/makedb.c (print_version): Likewise.
17770 * posix/getconf.c (main): Likewise.
17771 * scripts/test-installation.pl: Likewise.
17772 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17774 * All files with FSF copyright notices: Update copyright dates
17775 using scripts/update-copyrights.
17776 * locale/programs/charmap-kw.h: Regenerated.
17777 * locale/programs/locfile-kw.h: Likewise.
17779 2017-12-31 Zack Weinberg <zackw@panix.com>
17781 * libio/bits/libio-ldbl.h: Correct check for improper
17782 inclusion. Add own multiple include guard.
17784 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17785 Dmitry V. Levin <ldv@altlinux.org>
17789 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17790 string token expansion. Check for NULL pointer or empty string possibly
17791 returned by expand_dynamic_string_token.
17792 (decompose_rpath): Check for empty path after dynamic string
17795 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17798 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17800 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17801 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17802 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17803 and PTRACE_SYSCALL.
17804 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17808 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17809 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17811 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17812 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17813 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17814 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17816 bits/ptrace-shared.h.
17817 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17818 <bits/ptrace-shared.h>.
17819 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17820 __ptrace_peeksiginfo_flags, ptrace): Remove.
17821 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17825 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17827 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17830 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17831 end of the loop. Improve comments.
17833 2017-12-29 Zack Weinberg <zackw@panix.com>
17836 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17837 might be set on success.
17839 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17842 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17843 is unchanged on success.
17845 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17847 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17849 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17850 expand_dynamic_string_token): Likewise.
17851 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17854 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17857 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17858 is set and name contains ':', and all code depending on these checks.
17860 2017-12-24 Zack Weinberg <zackw@panix.com>
17862 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17863 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17865 * libio/libio.h: Rename the original version of this file to
17866 libio/bits/libio.h. Error out if not included by stdio.h or the
17868 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17869 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17870 if not included by bits/libio.h or the stub _G_config.h.
17871 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17872 sysdeps/unix/sysv/linux/bits. Error out if not included by
17873 bits/libio.h or the stub _G_config.h.
17874 * libio/stdio.h: Include bits/libio.h, not libio.h.
17875 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17876 well as libio.h and _G_config.h.
17878 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17879 * libio/strfile.h, stdio-common/vfscanf.c
17880 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17881 Include stdio.h, not _G_config.h nor libio.h.
17882 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17883 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17885 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17887 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17890 * stdlib/getrandom.c (getrandom): Fix comment.
17891 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17893 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17896 * manual/arith.texi (strtoul): Fix a typo.
17899 * manual/arith.texi (finite): Fix the description of the return
17902 2017-12-22 Eric Blake <ebb9@byu.net>
17904 Avoid gcc warnings on cygwin
17905 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17906 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17907 Avoid unused variable.
17909 2017-12-22 Florian Weimer <fweimer@redhat.com>
17911 * io/Makefile (routines): Add copy_file_range.
17912 (tests): Add tst-copy_file_range.
17913 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17914 * io/Versions (GLIBC_2.27): Export copy_file_range.
17915 * io/copy_file_range-compat.c: New file.
17916 * io/copy_file_range.c: Likewise.
17917 * io/tst-copy_file_range-compat.c: Likewise.
17918 * io/tst-copy_file_range.c: Likewise.
17919 * manual/llio.texi (Copying File Data): New section.
17920 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17921 * support/Makefile (libsupport-routines): Add support-xfstat,
17922 xftruncate, xlseek.
17923 * support/support-xfstat.c: New file.
17924 * support/xftruncate.c: Likewise.
17925 * support/xlseek.c: Likewise.
17926 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17927 * sysdeps/unix/sysv/linux/**.abilist: Update.
17928 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17930 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17932 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17933 disable-multi-arch variant to aarch64-linux-gnu.
17935 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17937 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17938 trailing whitespace removed.
17939 * scripts/config.guess: Update to version 2017-12-17.
17940 * scripts/config.sub: Update to version 2017-11-23.
17941 * scripts/install-sh: Update to version 2017-09-23.17.
17942 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17944 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17946 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17947 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17948 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17949 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17950 * sysdeps/tile/crtn.S: Likewise.
17951 * sysdeps/tile/dl-start.S (_start): Likewise.
17952 * sysdeps/tile/dl-trampoline.S: Likewise.
17953 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17954 * sysdeps/tile/start.S (_start): Likewise.
17955 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17956 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17957 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17958 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17959 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17960 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17961 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17963 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17965 * sysdeps/tile/preconfigure: Remove tilegx folder.
17966 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17967 * sysdeps/tile/Implies: ... here.
17968 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17969 * sysdeps/tile/Makefile: ... here.
17970 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17971 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17972 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17973 * sysdeps/tile/bits/wordsize.h: ... here.
17974 * sysdeps/tile/tilegx/*: Move to ...
17975 * sysdeps/tile/*: ... here.
17976 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17977 * sysdeps/tile/tilegx32/Implies: ... here.
17978 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17979 * sysdeps/tile/tilegx64/Implies: ... here.
17980 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17982 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17983 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17984 * sysdeps/unix/sysv/linux/tile/*: ... here.
17985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17986 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17988 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17990 * README: Remove tilepro-*-linux-gnu from supported architecture.
17991 * scripts/build-many-glibcs.py: Likewise.
17992 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17993 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17994 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17995 elf_machine_matches_host, elf_machine_dynamic,
17996 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17997 howto, elf_machine_rela): Likewise.
17998 * sysdeps/tile/dl-start.S (_start): Likewise.
17999 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18000 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18001 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18002 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18003 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18004 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18006 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18007 * sysdeps/tile/preconfigure: Likewise.
18008 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18009 POINTER_CHK_GUARD): Likewise.
18010 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18011 * sysdeps/tile/start.S (_start): Likewise.
18012 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18014 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18015 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18017 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18018 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18019 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18021 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18022 * sysdeps/tile/tilepro/Implies: Remove file.
18023 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18024 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18025 * sysdeps/tile/tilepro/memchr.c: Likewise.
18026 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18027 * sysdeps/tile/tilepro/memset.c: Likewise.
18028 * sysdeps/tile/tilepro/memusage.h: Likewise.
18029 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18030 * sysdeps/tile/tilepro/strchr.c: Likewise.
18031 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18032 * sysdeps/tile/tilepro/strlen.c: Likewise.
18033 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18034 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18035 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18036 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18037 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18039 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18041 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18053 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18054 tilepro mention in comment.
18056 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18057 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18058 * nptl/pthread_join_common.c: New file: common function used on
18059 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18060 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18061 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18062 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18063 (cleanup): Move definition to pthread_join_common.c.
18064 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18065 Remove superflous checks.
18066 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18069 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18071 * sysdeps/aarch64/libm-test-ulps: Update.
18073 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18075 * sysdeps/aarch64/memset.S (MEMSET): Define.
18077 2017-12-20 Florian Weimer <fweimer@redhat.com>
18080 nptl: Provide full implementation of pthread_self in libc.so.
18081 * nptl/Makefile (routines): Add pthread_self.
18082 (libpthread-routines): Replace pthread_self with
18083 compat-pthread_self.
18084 * nptl/forward.c (pthread_self): Remove.
18085 * nptl/nptl-init.c (pthread_functions): Do not initialize
18087 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18088 * nptl/compat-pthread_self.c: New file.
18089 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18090 Remove ptr_pthread_self.
18092 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18094 * posix/regcomp.c: Fix spelling in comments.
18095 * posix/regex.h: Likewise.
18096 * posix/regex_internal.c: Likewise.
18097 * posix/regexec.c: Likewise.
18099 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18102 * math/Makefile [C++] (tests): Add test for iseqsig.
18103 * math/math.h [C++] (iseqsig): New implementation, which does
18104 not rely on __MATH_TG/__builtin_types_compatible_p.
18105 * math/test-math-iseqsig.cc: New file.
18106 * sysdeps/powerpc/powerpc64le/Makefile
18107 (CFLAGS-test-math-iseqsig.cc): New variable.
18109 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18111 * elf/dl-load.c (is_trusted_path): Remove.
18112 (fillin_rpath): Remove check_trusted argument and its use,
18113 all callers changed.
18115 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18118 * Makeconfig (link-pie-before-libc): Replace -pie with
18119 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18120 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18121 (tst-dlopen-aout-no-pie): New.
18122 (LDFLAGS-tst-prelink): Removed.
18123 (tst-prelink-no-pie): New.
18124 (LDFLAGS-tst-main1): Removed.
18125 (tst-main1-no-pie): New.
18126 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18127 (tst-gmon-no-pie): New.
18129 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18131 * manual/install.texi: Document that --enable-static-pie
18133 * INSTALL: Regenerated.
18135 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18138 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18141 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18145 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18149 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18151 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18152 <errno.h>. Include "eexp.tbl".
18153 (half): New constant.
18155 (__ieee754_exp): Rewrite.
18156 (__slowexp): Remove prototype.
18157 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18158 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18159 * sysdeps/i386/fpu/slowexp.c: Likewise.
18160 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18161 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18162 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18163 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18164 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18165 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18166 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18168 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18169 (CPPFLAGS-slowexp.c): Remove variable.
18170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18171 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18172 (CFLAGS-slowexp-fma.c): Remove variable.
18173 (CFLAGS-slowexp-fma4.c): Likewise.
18174 (CFLAGS-slowexp-avx.c): Likewise.
18175 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18178 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18179 * math/Makefile (type-double-routines): Remove slowexp.
18180 * manual/probes.texi (slowexp_p6): Remove.
18181 (slowexp_p32): Likewise.
18183 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18185 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18188 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18190 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18194 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18196 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18197 <errno.h>. Include "eexp.tbl".
18198 (half): New constant.
18200 (__ieee754_exp): Rewrite.
18201 (__slowexp): Remove prototype.
18202 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18203 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18204 * sysdeps/i386/fpu/slowexp.c: Likewise.
18205 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18206 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18207 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18209 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18210 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18211 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18213 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18214 (CPPFLAGS-slowexp.c): Remove variable.
18215 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18216 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18217 (CFLAGS-slowexp-fma.c): Remove variable.
18218 (CFLAGS-slowexp-fma4.c): Likewise.
18219 (CFLAGS-slowexp-avx.c): Likewise.
18220 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18222 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18223 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18224 * math/Makefile (type-double-routines): Remove slowexp.
18225 * manual/probes.texi (slowexp_p6): Remove.
18226 (slowexp_p32): Likewise.
18228 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18229 James Clarke <jrtc27@jrtc27.com>
18232 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18235 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18238 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18241 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18244 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18245 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18246 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18247 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18250 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18253 * bits/types/__cancel_jmp_buf_tag.h: New file.
18254 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18255 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18256 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18257 * nptl/Makefile (headers): Add
18258 bits/types/__cancel_jmp_buf_tag.h.
18259 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18260 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18261 * sysdeps/nptl/pthread.h: Include
18262 <bits/types/__cancel_jmp_buf_tag.h>.
18263 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18265 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18267 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18269 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18270 --enable-static-pie variants to x86_64, x32 and i686.
18272 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18275 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18276 argument for attrubutes. All callers changed.
18277 (__inline_mathop1): Likewise. All callers changed.
18278 (__inline_mathop): Likewise. All callers changed.
18279 [__USE_MISC] (scalbn): Use __inline_forward instead of
18280 __inline_forward_c.
18281 [__USE_ISOC99] (scalbln): Likewise.
18282 [__USE_ISOC99] (nearbyint): Likewise.
18283 [__USE_ISOC99] (lrint): Likewise.
18284 [__USE_MISC] (scalbnf): Likewise.
18285 [__USE_ISOC99] (scalblnf): Likewise.
18286 [__USE_ISOC99] (nearbyintf): Likewise.
18287 [__USE_ISOC99] (lrintf): Likewise.
18288 [__USE_MISC] (scalbnl): Likewise.
18289 [__USE_ISOC99] (scalblnl): Likewise.
18290 [__USE_ISOC99] (nearbyintl): Likewise.
18291 [__USE_ISOC99] (lrintl): Likewise.
18292 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18293 __inline_mathop and __m81_defun changed.
18295 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18296 CPU or FPU for ARM hard-float configurations.
18298 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18300 * nptl/tst-attr3.c: Include <libc-diag.h>.
18301 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18303 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18305 * string/tester.c (test_strncat): Also disable -Warray-bounds
18306 warnings for two tests.
18308 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18311 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18312 $(cc-pie-default) == yes.
18313 * config.make.in (cc-pie-default): New.
18314 * configure.ac (libc_cv_pie_default): Renamed to ...
18315 (libc_cv_cc_pie_default): This.
18316 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18317 * configure: Regenerated.
18319 2017-12-18 Florian Weimer <fweimer@redhat.com>
18322 ld.so: Harden dl-libc/libdl hooks.
18323 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18324 (rtld_active): New function.
18325 * dlfcn/dladdr.c (__dladdr): Call it.
18326 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18327 * dlfcn/dlclose.c (__dlcose): Likewise.
18328 * dlfcn/dlerror.c (__dlerror): Likewise.
18329 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18330 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18331 * dlfcn/dlopen.c (__dlopen): Likewise.
18332 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18333 * dlfcn/dlsym.c (__dlsym): Likewise.
18334 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18335 * libio/vtables.c (_IO_vtable_check): Likewise.
18336 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18337 (__libc_dlclose): Likewise.
18338 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18341 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18344 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18345 buffers for readlink input and output.
18347 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18350 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18351 inhibit_stack_protector.
18354 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18355 inhibit_stack_protector.
18357 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18360 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18361 code and invocation.
18363 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18365 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18367 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18370 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18372 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18374 * sysdeps/s390/fpu/libm-test-ulps: Update.
18376 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18380 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18382 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18383 constants to s_sincosf.h file.
18384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18385 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18387 * sysdeps/ieee754/flt-32/s_sincosf.h:
18390 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18393 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18396 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18399 * INSTALL: Regenerated.
18400 * Makeconfig (real-static-start-installed-name): New.
18401 (pic-default): Updated for --enable-static-pie.
18402 (pie-default): New for --enable-static-pie.
18403 (default-pie-ldflag): Likewise.
18404 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18405 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18406 Replace $(static-start-installed-name) with
18407 $(real-static-start-installed-name).
18408 (+prectorT): Updated for --enable-static-pie.
18409 (+postctorT): Likewise.
18410 (CFLAGS-.o): Add $(pie-default).
18411 (CFLAGS-.op): Likewise.
18412 * NEWS: Mention --enable-static-pie.
18413 * config.h.in (ENABLE_STATIC_PIE): New.
18414 * configure.ac (--enable-static-pie): New configure option.
18415 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18416 (have-static-pie): Likewise.
18417 Enable static PIE if linker supports --no-dynamic-linker.
18418 (ENABLE_STATIC_PIE): New AC_DEFINE.
18419 (enable-static-pie): New LIBC_CONFIG_VAR.
18420 * configure: Regenerated.
18421 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18422 gr$(start-installed-name) for --enable-static-pie.
18423 (extra-objs): Likewise.
18424 (install-lib): Likewise.
18425 (extra-objs): Add static-reloc.o and static-reloc.os
18426 ($(objpfx)$(start-installed-name)): Also depend on
18427 $(objpfx)static-reloc.o.
18428 ($(objpfx)r$(start-installed-name)): New.
18429 ($(objpfx)g$(start-installed-name)): Also depend on
18430 $(objpfx)static-reloc.os.
18431 ($(objpfx)gr$(start-installed-name)): New.
18432 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18434 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18436 * csu/static-reloc.c: New file.
18437 * elf/Makefile (routines): Add dl-reloc-static-pie.
18438 (elide-routines.os): Likewise.
18439 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18440 (tst-tls1-static-non-pie-no-pie): New.
18441 * elf/dl-reloc-static-pie.c: New file.
18442 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18443 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18444 STATIC_PIE_BOOTSTRAP.
18445 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18446 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18447 (tests-static): Likewise.
18448 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18449 (tst-gmon-static-no-pie): New.
18450 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18451 (CRT-tst-gmon-static-pie): Likewise.
18452 (tst-gmon-static-pie-ENV): Likewise.
18453 (tests-special): Likewise.
18454 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18455 (clean-tst-gmon-static-pie-data): Likewise.
18456 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18457 * gmon/tst-gmon-static-pie.c: New file.
18458 * manual/install.texi: Document --enable-static-pie.
18459 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18460 (_dl_get_dl_main_map): Likewise.
18461 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18462 * sysdeps/x86_64/configure.ac: Likewise.
18463 * sysdeps/i386/configure: Regenerated.
18464 * sysdeps/x86_64/configure: Likewise.
18465 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18466 (ASFLAGS-.op): Likewise.
18468 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18470 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18471 * posix/tst-mmap-offset.c (fname): Use /tmp.
18472 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18474 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18476 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18478 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18480 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18483 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18485 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18486 --with-float=hard for arm-linux-gnueabihf configurations.
18489 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18490 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18491 ($(mo-installed)): Use $(objpfx)%.mo.
18492 (realclean): Remove rule.
18494 * po/Makefile (linguas): Remove rule and dependencies.
18495 (linguas.mo): Likewise.
18496 (.PHONY): Do not depend on linguas and linguas.mo.
18497 (podir): Remove variable.
18498 (pofiles): Likewise.
18499 [$(pofiles)] (%.po): Remove rule.
18501 * sysdeps/sparc/sparc32/Makefile
18502 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18503 start-of-line whitespace in argument of echo.
18504 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18505 with whitespace. Generate __wrap_.udiv alias.
18506 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18507 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18508 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18509 * sysdeps/sparc/sparc32/urem.S: Likewise.
18511 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18513 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18514 for aligned inputs.
18516 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18518 * benchtests/bench-strcmp.c: Print output in JSON format.
18520 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18522 2017-12-14 Florian Weimer <fweimer@redhat.com>
18526 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18527 the expanded path string.
18529 2017-12-14 Florian Weimer <fweimer@redhat.com>
18533 * elf/dl-load.c (system_dirs): Update comment.
18534 (nsystem_dirs_len): Use array_length.
18535 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18537 2017-12-14 Florian Weimer <fweimer@redhat.com>
18539 Simplify compiling most of support/ outside of glibc.
18540 * support/check_addrinfo.c: Include <string.h>.
18541 * support/check_dns_packet.c: Likewise.
18542 * support/check_hostent.c: Likewise.
18543 * support/support_can_chroot.c: Include <support/xunistd.h>.
18544 * support/support_format_addrinfo.c: Include <stdlib.h>
18545 * support/support_format_dns_packet.c: Include <stdbool.h>.
18546 * support/support_format_hostent.c: Include <stdlib.h>.
18547 * support/support_format_netent.c: Likewise.
18548 * support/support_write_string.c: Include <support/xunistd.h>.
18549 * support/xdlfcn.c: Include <stddef.h>.
18551 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18553 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18555 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18556 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18558 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18559 (sysdeps_routines): Add memset-niagara7.
18560 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18562 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18564 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18565 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18566 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18567 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18568 Add niagara7 option.
18569 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18572 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18573 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18574 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18576 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18578 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18579 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18580 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18581 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18582 and __memmove_niagara7.
18583 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18584 Add niagara7 option.
18585 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18586 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18587 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18588 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18589 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18591 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18593 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18594 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18595 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18596 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18598 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18599 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18600 _dl_sparc_cap_flags array.
18601 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18603 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18605 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18606 time whenever possible.
18608 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18610 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18611 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18613 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18615 * soft-fp/fmadf4.c: Move to ....
18616 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18617 * soft-fp/fmasf4.c: Move to ....
18618 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18619 * soft-fp/fmatf4.c: Move to ....
18620 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18621 * sysdeps/ieee754/soft-fp/Makefile: New file.
18622 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18623 * sysdeps/arm/preconfigure: Regenerated.
18624 * sysdeps/arm/nofpu/Implies: New file.
18625 * sysdeps/arm/s_fma.c: Remove file.
18626 * sysdeps/arm/s_fmaf.c: Likewise.
18627 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18628 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18629 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18630 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18631 * sysdeps/microblaze/s_fma.c: Remove file.
18632 * sysdeps/microblaze/s_fmaf.c: Likewise.
18633 * sysdeps/mips/mips32/nofpu/Implies: New file.
18634 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18635 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18636 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18637 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18638 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18639 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18640 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18642 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18643 * sysdeps/nios2/s_fma.c: Remove file.
18644 * sysdeps/nios2/s_fmaf.c: Likewise.
18645 * sysdeps/sh/nofpu/Implies: New file.
18646 * sysdeps/sh/s_fma.c: Remove file.
18647 * sysdeps/sh/s_fmaf.c: Likewise.
18648 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18649 * sysdeps/tile/s_fma.c: Remove file.
18650 * sysdeps/tile/s_fmaf.c: Likewise.
18652 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18654 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18655 Add s_cosf-sse2 and s_cosf-fma.
18656 (CFLAGS-s_cosf-fma.c): New.
18657 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18658 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18661 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18663 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18665 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18667 * libio/Makefile (tests): Add tst-bz22415.
18668 (tst-bz22415-ENV): New rule.
18669 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18670 (tests-special): Add tst-bz22415-mem.out.
18671 ($(objpfx)tst-bz22415-mem.out): New rule.
18672 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18673 in case of a successful seek operation.
18674 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18675 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18676 buffer is required.
18677 * libio/tst-bz22415.c: New test.
18679 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18681 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18683 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18684 __IPC_64 to 0 to avoid IPC_64 being set.
18686 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18689 * math/bits/mathcalls.h (nextafter): Remove const.
18690 (nexttoward): Likewise.
18692 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18694 * configure.ac (--with-fp): Remove configure option.
18695 (with_fp_cond): New variable.
18696 (libc_cv_with_fp): New configure test. Use this variable instead
18698 * configure: Regenerated.
18699 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18700 * manual/install.texi (Configuring and compiling): Remove
18702 * INSTALL: Regenerated.
18703 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18704 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18705 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18706 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18707 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18708 use --without-fp to configure glibc.
18710 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18712 * manual/locale.texi (nl_langinfo): Fix a typo.
18714 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18717 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18719 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18721 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18722 (CFLAGS-argp-parse.c): Likewise.
18723 (CFLAGS-argp-fmtstream.c): Likewise.
18724 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18725 (CPPFLAGS-sha512-crypt.c): Likewise.
18726 (CPPFLAGS-md5-crypt.c): Likewise.
18727 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18728 (CFLAGS-stack_chk_fail_local.c): Likewise.
18729 (CFLAGS-backtrace.c): Likewise.
18730 (CFLAGS-sprintf_chk.c): Likewise.
18731 (CFLAGS-snprintf_chk.c): Likewise.
18732 (CFLAGS-vsprintf_chk.c): Likewise.
18733 (CFLAGS-vsnprintf_chk.c): Likewise.
18734 (CFLAGS-asprintf_chk.c): Likewise.
18735 (CFLAGS-vasprintf_chk.c): Likewise.
18736 (CFLAGS-obprintf_chk.c): Likewise.
18737 (CFLAGS-dprintf_chk.c): Likewise.
18738 (CFLAGS-vdprintf_chk.c): Likewise.
18739 (CFLAGS-printf_chk.c): Likewise.
18740 (CFLAGS-fprintf_chk.c): Likewise.
18741 (CFLAGS-vprintf_chk.c): Likewise.
18742 (CFLAGS-vfprintf_chk.c): Likewise.
18743 (CFLAGS-gets_chk.c): Likewise.
18744 (CFLAGS-fgets_chk.c): Likewise.
18745 (CFLAGS-fgets_u_chk.c): Likewise.
18746 (CFLAGS-fread_chk.c): Likewise.
18747 (CFLAGS-fread_u_chk.c): Likewise.
18748 (CFLAGS-swprintf_chk.c): Likewise.
18749 (CFLAGS-vswprintf_chk.c): Likewise.
18750 (CFLAGS-wprintf_chk.c): Likewise.
18751 (CFLAGS-fwprintf_chk.c): Likewise.
18752 (CFLAGS-vwprintf_chk.c): Likewise.
18753 (CFLAGS-vfwprintf_chk.c): Likewise.
18754 (CFLAGS-fgetws_chk.c): Likewise.
18755 (CFLAGS-fgetws_u_chk.c): Likewise.
18756 (CFLAGS-read_chk.c): Likewise.
18757 (CFLAGS-pread_chk.c): Likewise.
18758 (CFLAGS-pread64_chk.c): Likewise.
18759 (CFLAGS-recv_chk.c): Likewise.
18760 (CFLAGS-recvfrom_chk.c): Likewise.
18761 (CFLAGS-tst-longjmp_chk.c): Likewise.
18762 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18763 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18764 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18765 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18766 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18767 (CFLAGS-tst-chk1.c): Likewise.
18768 (CFLAGS-tst-chk2.c): Likewise.
18769 (CFLAGS-tst-chk3.c): Likewise.
18770 (CFLAGS-tst-chk4.cc): Likewise.
18771 (CFLAGS-tst-chk5.cc): Likewise.
18772 (CFLAGS-tst-chk6.cc): Likewise.
18773 (CFLAGS-tst-lfschk1.c): Likewise.
18774 (CFLAGS-tst-lfschk2.c): Likewise.
18775 (CFLAGS-tst-lfschk3.c): Likewise.
18776 (CFLAGS-tst-lfschk4.cc): Likewise.
18777 (CFLAGS-tst-lfschk5.cc): Likewise.
18778 (CFLAGS-tst-lfschk6.cc): Likewise.
18779 (CFLAGS-tst-ssp-1.c): Likewise.
18780 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18781 (CFLAGS-scandir64.c): Likewise.
18782 (CFLAGS-scandir-tail.c): Likewise.
18783 (CFLAGS-scandir64-tail.c): Likewise.
18784 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18785 (CFLAGS-dl-tunables.c): Likewise.
18786 (CFLAGS-dl-runtime.c): Likewise.
18787 (CFLAGS-dl-lookup.c): Likewise.
18788 (CFLAGS-dl-iterate-phdr.c): Likewise.
18789 (CFLAGS-vismain.c): Likewise.
18790 (CFLAGS-tst-linkall-static.c): Likewise.
18791 (CFLAGS-tst-linkall-static.c): Likewise.
18792 (CPPFLAGS-dl-load.c): Likewise.
18793 (CFLAGS-ldconfig.c): Likewise.
18794 (CFLAGS-dl-cache.c): Likewise.
18795 (CFLAGS-cache.c): Likewise.
18796 (CFLAGS-rtld.c): Likewise.
18797 (CFLAGS-multiload.c): Likewise.
18798 (CFLAGS-filtmod1.c): Likewise.
18799 (CFLAGS-tst-align.c): Likewise.
18800 (CFLAGS-tst-align2.c): Likewise.
18801 (CFLAGS-tst-alignmod.c): Likewise.
18802 (CFLAGS-tst-alignmod2.c): Likewise.
18803 (CPPFLAGS-tst-execstack.c): Likewise.
18804 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18805 (CFLAGS-tst-latepthreadmod.c): Likewise.
18806 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18807 (CFLAGS-getgrnam_r.c): Likewise.
18808 (CFLAGS-getgrent_r.c): Likewise.
18809 (CFLAGS-getgrent.c): Likewise.
18810 (CFLAGS-fgetgrent.c): Likewise.
18811 (CFLAGS-fgetgrent_r.c): Likewise.
18812 (CFLAGS-putgrent.c): Likewise.
18813 (CFLAGS-initgroups.c): Likewise.
18814 (CFLAGS-getgrgid.c): Likewise.
18815 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18816 (CFLAGS-getsgent.c): Likewise.
18817 (CFLAGS-fgetsgent.c): Likewise.
18818 (CFLAGS-fgetsgent_r.c): Likewise.
18819 (CFLAGS-putsgent.c): Likewise.
18820 (CFLAGS-getsgnam.c): Likewise.
18821 (CFLAGS-getsgnam_r.c): Likewise.
18822 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18823 (CFLAGS-iconv_charmap.c): Likewise.
18824 (CFLAGS-dummy-repertoire.c): Likewise.
18825 (CFLAGS-charmap.c): Likewise.
18826 (CFLAGS-linereader.c): Likewise.
18827 (CFLAGS-simple-hash.c): Likewise.
18828 (CFLAGS-gconv_conf.c): Likewise.
18829 (CFLAGS-iconvconfig.c): Likewise.
18830 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18831 (CFLAGS-gethstbyad.c): Likewise.
18832 (CFLAGS-gethstbynm_r.c): Likewise.
18833 (CFLAGS-gethstbynm.c): Likewise.
18834 (CFLAGS-gethstbynm2_r.c): Likewise.
18835 (CFLAGS-gethstbynm2.c): Likewise.
18836 (CFLAGS-gethstent_r.c): Likewise.
18837 (CFLAGS-gethstent.c): Likewise.
18838 (CFLAGS-rcmd.c): Likewise.
18839 (CFLAGS-getnetbynm_r.c): Likewise.
18840 (CFLAGS-getnetbynm.c): Likewise.
18841 (CFLAGS-getnetbyad_r.c): Likewise.
18842 (CFLAGS-getnetbyad.c): Likewise.
18843 (CFLAGS-getnetent_r.c): Likewise.
18844 (CFLAGS-getnetent.c): Likewise.
18845 (CFLAGS-getaliasent_r.c): Likewise.
18846 (CFLAGS-getaliasent.c): Likewise.
18847 (CFLAGS-getrpcent_r.c): Likewise.
18848 (CFLAGS-getrpcent.c): Likewise.
18849 (CFLAGS-getservent_r.c): Likewise.
18850 (CFLAGS-getservent.c): Likewise.
18851 (CFLAGS-getprtent_r.c): Likewise.
18852 (CFLAGS-getprtent.c): Likewise.
18853 (CFLAGS-either_ntoh.c): Likewise.
18854 (CFLAGS-either_hton.c): Likewise.
18855 (CFLAGS-getnetgrent.c): Likewise.
18856 (CFLAGS-getnetgrent_r.c): Likewise.
18857 (CFLAGS-tst-checks-posix.c): Likewise.
18858 (CFLAGS-tst-sockaddr.c): Likewise.
18859 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18860 (CFLAGS-tst-translit.c): Likewise.
18861 (CFLAGS-tst-gettext2.c): Likewise.
18862 (CFLAGS-tst-codeset.c): Likewise.
18863 (CFLAGS-tst-gettext3.c): Likewise.
18864 (CFLAGS-tst-gettext4.c): Likewise.
18865 (CFLAGS-tst-gettext5.c): Likewise.
18866 (CFLAGS-tst-gettext6.c): Likewise.
18867 * io/Makefile (CFLAGS-open.c): Likewise.
18868 (CFLAGS-open64.c): Likewise.
18869 (CFLAGS-creat.c): Likewise.
18870 (CFLAGS-creat64.c): Likewise.
18871 (CFLAGS-fcntl.c): Likewise.
18872 (CFLAGS-poll.c): Likewise.
18873 (CFLAGS-ppoll.c): Likewise.
18874 (CFLAGS-lockf.c): Likewise.
18875 (CFLAGS-statfs.c): Likewise.
18876 (CFLAGS-fstatfs.c): Likewise.
18877 (CFLAGS-statvfs.c): Likewise.
18878 (CFLAGS-fstatvfs.c): Likewise.
18879 (CFLAGS-fts.c): Likewise.
18880 (CFLAGS-fts64.c): Likewise.
18881 (CFLAGS-ftw.c): Likewise.
18882 (CFLAGS-ftw64.c): Likewise.
18883 (CFLAGS-lockf.c): Likewise.
18884 (CFLAGS-posix_fallocate.c): Likewise.
18885 (CFLAGS-posix_fallocate64.c): Likewise.
18886 (CFLAGS-fallocate.c): Likewise.
18887 (CFLAGS-fallocate64.c): Likewise.
18888 (CFLAGS-read.c): Likewise.
18889 (CFLAGS-write.c): Likewise.
18890 (CFLAGS-test-stat.c): Likewise.
18891 (CFLAGS-test-lfs.c): Likewise.
18892 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18893 (CFLAGS-fputc.c): Likewise.
18894 (CFLAGS-fputwc.c): Likewise.
18895 (CFLAGS-freopen64.c): Likewise.
18896 (CFLAGS-freopen.c): Likewise.
18897 (CFLAGS-fseek.c): Likewise.
18898 (CFLAGS-fseeko64.c): Likewise.
18899 (CFLAGS-fseeko.c): Likewise.
18900 (CFLAGS-ftello64.c): Likewise.
18901 (CFLAGS-ftello.c): Likewise.
18902 (CFLAGS-fwide.c): Likewise.
18903 (CFLAGS-genops.c): Likewise.
18904 (CFLAGS-getc.c): Likewise.
18905 (CFLAGS-getchar.c): Likewise.
18906 (CFLAGS-getwc.c): Likewise.
18907 (CFLAGS-getwchar.c): Likewise.
18908 (CFLAGS-iofclose.c): Likewise.
18909 (CFLAGS-iofflush.c): Likewise.
18910 (CFLAGS-iofgetpos64.c): Likewise.
18911 (CFLAGS-iofgetpos.c): Likewise.
18912 (CFLAGS-iofgets.c): Likewise.
18913 (CFLAGS-iofgetws.c): Likewise.
18914 (CFLAGS-iofputs.c): Likewise.
18915 (CFLAGS-iofputws.c): Likewise.
18916 (CFLAGS-iofread.c): Likewise.
18917 (CFLAGS-iofsetpos64.c): Likewise.
18918 (CFLAGS-iofsetpos.c): Likewise.
18919 (CFLAGS-ioftell.c): Likewise.
18920 (CFLAGS-iofwrite.c): Likewise.
18921 (CFLAGS-iogetdelim.c): Likewise.
18922 (CFLAGS-iogetline.c): Likewise.
18923 (CFLAGS-iogets.c): Likewise.
18924 (CFLAGS-iogetwline.c): Likewise.
18925 (CFLAGS-ioputs.c): Likewise.
18926 (CFLAGS-ioseekoff.c): Likewise.
18927 (CFLAGS-ioseekpos.c): Likewise.
18928 (CFLAGS-iosetbuffer.c): Likewise.
18929 (CFLAGS-iosetvbuf.c): Likewise.
18930 (CFLAGS-ioungetc.c): Likewise.
18931 (CFLAGS-ioungetwc.c): Likewise.
18932 (CFLAGS-oldfileops.c): Likewise.
18933 (CFLAGS-oldiofclose.c): Likewise.
18934 (CFLAGS-oldiofgetpos64.c): Likewise.
18935 (CFLAGS-oldiofgetpos.c): Likewise.
18936 (CFLAGS-oldiofsetpos64.c): Likewise.
18937 (CFLAGS-oldiofsetpos.c): Likewise.
18938 (CFLAGS-peekc.c): Likewise.
18939 (CFLAGS-putc.c): Likewise.
18940 (CFLAGS-putchar.c): Likewise.
18941 (CFLAGS-putwc.c): Likewise.
18942 (CFLAGS-putwchar.c): Likewise.
18943 (CFLAGS-rewind.c): Likewise.
18944 (CFLAGS-wfileops.c): Likewise.
18945 (CFLAGS-wgenops.c): Likewise.
18946 (CFLAGS-oldiofopen.c): Likewise.
18947 (CFLAGS-iofopen.c): Likewise.
18948 (CFLAGS-iofopen64.c): Likewise.
18949 (CFLAGS-oldtmpfile.c): Likewise.
18950 (CFLAGS-tst_putwc.c): Likewise.
18951 * locale/Makefile (CFLAGS-md5.c): Likewise.
18952 (CFLAGS-charmap.c): Likewise.
18953 (CFLAGS-locfile.c): Likewise.
18954 (CFLAGS-charmap-dir.c): Likewise.
18955 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18956 (CFLAGS-getpt.c): Likewise.
18957 (CFLAGS-pt_chown.c): Likewise.
18958 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18959 (CFLAGS-obstack.c): Likewise.
18960 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18961 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18962 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18963 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18964 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18965 (CFLAGS-test-tgmath.c): Likewise.
18966 (CFLAGS-test-tgmath2.c): Likewise.
18967 (CFLAGS-test-tgmath-ret.c): Likewise.
18968 (CFLAGS-test-powl.c): Likewise.
18969 (CFLAGS-test-snan.c): Likewise.
18970 (CFLAGS-test-signgam-finite.c): Likewise.
18971 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18972 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18973 (CFLAGS-test-signgam-uchar.c): Likewise.
18974 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18975 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18976 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18977 (CFLAGS-test-signgam-uint.c): Likewise.
18978 (CFLAGS-test-signgam-uint-init.c): Likewise.
18979 (CFLAGS-test-signgam-uint-static.c): Likewise.
18980 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18981 (CFLAGS-test-signgam-ullong.c): Likewise.
18982 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18983 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18984 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18985 (CFLAGS-test-math-cxx11.cc): Likewise.
18986 (CFLAGS-test-math-isinff.cc): Likewise.
18987 (CFLAGS-test-math-iszero.cc): Likewise.
18988 (CFLAGS-test-math-issignaling.cc): Likewise.
18989 (CFLAGS-test-math-iscanonical.cc): Likewise.
18990 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18991 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18992 (CFLAGS-test-flt-eval-method.c): Likewise.
18993 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18994 (CFLAGS-test-finite-macros.c): Likewise.
18995 * misc/Makefile (CFLAGS-select.c): Likewise.
18996 (CFLAGS-tsearch.c): Likewise.
18997 (CFLAGS-lsearch.c): Likewise.
18998 (CFLAGS-pselect.c): Likewise.
18999 (CFLAGS-readv.c): Likewise.
19000 (CFLAGS-writev.c): Likewise.
19001 (CFLAGS-preadv.c): Likewise.
19002 (CFLAGS-preadv64.c): Likewise.
19003 (CFLAGS-pwritev.c): Likewise.
19004 (CFLAGS-pwritev64.c): Likewise.
19005 (CFLAGS-preadv2.c): Likewise.
19006 (CFLAGS-preadv64v2.c): Likewise.
19007 (CFLAGS-pwritev2.c): Likewise.
19008 (CFLAGS-pwritev64v2.c): Likewise.
19009 (CFLAGS-usleep.c): Likewise.
19010 (CFLAGS-syslog.c): Likewise.
19011 (CFLAGS-error.c): Likewise.
19012 (CFLAGS-getpass.c): Likewise.
19013 (CFLAGS-mkstemp.c): Likewise.
19014 (CFLAGS-mkstemp64.c): Likewise.
19015 (CFLAGS-getsysstats.c): Likewise.
19016 (CFLAGS-getusershell.c): Likewise.
19017 (CFLAGS-err.c): Likewise.
19018 (CFLAGS-tst-tsearch.c): Likewise.
19019 (CFLAGS-msync.c): Likewise.
19020 (CFLAGS-fdatasync.c): Likewise.
19021 (CFLAGS-fsync.c): Likewise.
19022 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19023 (CFLAGS-unwind.c): Likewise.
19024 (CFLAGS-unwind-forcedunwind.c): Likewise.
19025 (CFLAGS-pthread_cancel.c): Likewise.
19026 (CFLAGS-pthread_setcancelstate.c): Likewise.
19027 (CFLAGS-pthread_setcanceltype.c): Likewise.
19028 (CFLAGS-cancellation.c): Likewise.
19029 (CFLAGS-libc-cancellation.c): Likewise.
19030 (CFLAGS-pthread_exit.c): Likewise.
19031 (CFLAGS-forward.c): Likewise.
19032 (CFLAGS-pthread_testcancel.c): Likewise.
19033 (CFLAGS-pthread_join.c): Likewise.
19034 (CFLAGS-pthread_timedjoin.c): Likewise.
19035 (CFLAGS-pthread_once.c): Likewise.
19036 (CFLAGS-pthread_cond_wait.c): Likewise.
19037 (CFLAGS-sem_wait.c): Likewise.
19038 (CFLAGS-sem_timedwait.c): Likewise.
19039 (CFLAGS-fcntl.c): Likewise.
19040 (CFLAGS-lockf.c): Likewise.
19041 (CFLAGS-pread.c): Likewise.
19042 (CFLAGS-pread64.c): Likewise.
19043 (CFLAGS-pwrite.c): Likewise.
19044 (CFLAGS-pwrite64.c): Likewise.
19045 (CFLAGS-wait.c): Likewise.
19046 (CFLAGS-waitpid.c): Likewise.
19047 (CFLAGS-sigwait.c): Likewise.
19048 (CFLAGS-msgrcv.c): Likewise.
19049 (CFLAGS-msgsnd.c): Likewise.
19050 (CFLAGS-tcdrain.c): Likewise.
19051 (CFLAGS-open.c): Likewise.
19052 (CFLAGS-open64.c): Likewise.
19053 (CFLAGS-pause.c): Likewise.
19054 (CFLAGS-recv.c): Likewise.
19055 (CFLAGS-send.c): Likewise.
19056 (CFLAGS-accept.c): Likewise.
19057 (CFLAGS-sendto.c): Likewise.
19058 (CFLAGS-connect.c): Likewise.
19059 (CFLAGS-recvfrom.c): Likewise.
19060 (CFLAGS-recvmsg.c): Likewise.
19061 (CFLAGS-sendmsg.c): Likewise.
19062 (CFLAGS-close.c): Likewise.
19063 (CFLAGS-read.c): Likewise.
19064 (CFLAGS-write.c): Likewise.
19065 (CFLAGS-nanosleep.c): Likewise.
19066 (CFLAGS-sigsuspend.c): Likewise.
19067 (CFLAGS-msync.c): Likewise.
19068 (CFLAGS-fdatasync.c): Likewise.
19069 (CFLAGS-fsync.c): Likewise.
19070 (CFLAGS-pt-system.c): Likewise.
19071 (CFLAGS-tst-cleanup2.c): Likewise.
19072 (CFLAGS-tst-cleanupx2.c): Likewise.
19073 (CFLAGS-flockfile.c): Likewise.
19074 (CFLAGS-ftrylockfile.c): Likewise.
19075 (CFLAGS-funlockfile.c): Likewise.
19076 (CFLAGS-tst-initializers1.c): Likewise.
19077 (CFLAGS-tst-initializers1-c89.c): Likewise.
19078 (CFLAGS-tst-initializers1-c99.c): Likewise.
19079 (CFLAGS-tst-initializers1-c11.c): Likewise.
19080 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19081 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19082 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19083 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19084 (CFLAGS-nscd_getgr_r.c): Likewise.
19085 (CFLAGS-nscd_gethst_r.c): Likewise.
19086 (CFLAGS-nscd_getai.c): Likewise.
19087 (CFLAGS-nscd_initgroups.c): Likewise.
19088 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19089 (CFLAGS-pause.c): Likewise.
19090 (CFLAGS-pread.c): Likewise.
19091 (CFLAGS-pread64.c): Likewise.
19092 (CFLAGS-pwrite.c): Likewise.
19093 (CFLAGS-pwrite64.c): Likewise.
19094 (CFLAGS-sleep.c): Likewise.
19095 (CFLAGS-wait.c): Likewise.
19096 (CFLAGS-waitid.c): Likewise.
19097 (CFLAGS-waitpid.c): Likewise.
19098 (CFLAGS-getopt.c): Likewise.
19099 (CFLAGS-wordexp.c): Likewise.
19100 (CFLAGS-sysconf.c): Likewise.
19101 (CFLAGS-pathconf.c): Likewise.
19102 (CFLAGS-fpathconf.c): Likewise.
19103 (CFLAGS-spawn.c): Likewise.
19104 (CFLAGS-spawnp.c): Likewise.
19105 (CFLAGS-spawni.c): Likewise.
19106 (CFLAGS-glob.c): Likewise.
19107 (CFLAGS-glob64.c): Likewise.
19108 (CFLAGS-getconf.c): Likewise.
19109 (CFLAGS-nanosleep.c): Likewise.
19110 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19111 (CFLAGS-getpwent.c): Likewise.
19112 (CFLAGS-getpw.c): Likewise.
19113 (CFLAGS-fgetpwent_r.c): Likewise.
19114 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19115 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19116 (CFLAGS-mq_timedreceive.c): Likewise.
19117 (CFLAGS-mq_timedsend.c): Likewise.
19118 (CFLAGS-clock_nanosleep.c): Likewise.
19119 (CFLAGS-librt-cancellation.c): Likewise.
19120 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19121 (CFLAGS-getspent.c): Likewise.
19122 (CFLAGS-fgetspent.c): Likewise.
19123 (CFLAGS-fgetspent_r.c): Likewise.
19124 (CFLAGS-putspent.c): Likewise.
19125 (CFLAGS-getspnam.c): Likewise.
19126 (CFLAGS-getspnam_r.c): Likewise.
19127 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19128 (CFLAGS-sigsuspend.c): Likewise.
19129 (CFLAGS-sigtimedwait.c): Likewise.
19130 (CFLAGS-sigwait.c): Likewise.
19131 (CFLAGS-sigwaitinfo.c): Likewise.
19132 (CFLAGS-sigreturn.c): Likewise.
19133 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19134 (CFLAGS-vfwprintf.c): Likewise.
19135 (CFLAGS-tmpfile.c): Likewise.
19136 (CFLAGS-tmpfile64.c): Likewise.
19137 (CFLAGS-tempname.c): Likewise.
19138 (CFLAGS-psignal.c): Likewise.
19139 (CFLAGS-vprintf.c): Likewise.
19140 (CFLAGS-cuserid.c): Likewise.
19141 (CFLAGS-errlist.c): Likewise.
19142 (CFLAGS-siglist.c): Likewise.
19143 (CFLAGS-scanf15.c): Likewise.
19144 (CFLAGS-scanf17.c): Likewise.
19145 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19146 (CFLAGS-msort.c): Likewise.
19147 (CFLAGS-qsort.c): Likewise.
19148 (CFLAGS-system.c): Likewise.
19149 (CFLAGS-fmtmsg.c): Likewise.
19150 (CFLAGS-strfmon.c): Likewise.
19151 (CFLAGS-strfmon_l.c): Likewise.
19152 (CFLAGS-strfromd.c): Likewise.
19153 (CFLAGS-strfromf.c): Likewise.
19154 (CFLAGS-strfroml.c): Likewise.
19155 (CFLAGS-tst-bsearch.c): Likewise.
19156 (CFLAGS-tst-qsort.c): Likewise.
19157 (CFLAGS-tst-makecontext2.c): Likewise.
19158 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19159 (CFLAGS-xnlm_prot.c): Likewise.
19160 (CFLAGS-xrstat.c): Likewise.
19161 (CFLAGS-xyppasswd.c): Likewise.
19162 (CFLAGS-xklm_prot.c): Likewise.
19163 (CFLAGS-xrex.c): Likewise.
19164 (CFLAGS-xsm_inter.c): Likewise.
19165 (CFLAGS-xmount.c): Likewise.
19166 (CFLAGS-xrusers.c): Likewise.
19167 (CFLAGS-xspray.c): Likewise.
19168 (CFLAGS-xnfs_prot.c): Likewise.
19169 (CFLAGS-xrquota.c): Likewise.
19170 (CFLAGS-xkey_prot.c): Likewise.
19171 (CFLAGS-auth_unix.c): Likewise.
19172 (CFLAGS-key_call.c): Likewise.
19173 (CFLAGS-pmap_rmt.c): Likewise.
19174 (CFLAGS-clnt_perr.c): Likewise.
19175 (CFLAGS-openchild.c): Likewise.
19176 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19177 (CFLAGS-msgsnd.c): Likewise.
19178 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19179 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19180 (CFLAGS-tzset.c): Likewise.
19181 (CFLAGS-getdate.c): Likewise.
19182 (CFLAGS-test_time.c): Likewise.
19183 (CPPFLAGS-tst-tzname.c): Likewise.
19184 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19185 (CFLAGS-zic.c): Likewise.
19186 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19187 (CFLAGS-wcswidth.c): Likewise.
19188 (CFLAGS-wcstol.c): Likewise.
19189 (CFLAGS-wcstoul.c): Likewise.
19190 (CFLAGS-wcstoll.c): Likewise.
19191 (CFLAGS-wcstoull.c): Likewise.
19192 (CFLAGS-wcstod.c): Likewise.
19193 (CFLAGS-wcstold.c): Likewise.
19194 (CFLAGS-wcstof128.c): Likewise.
19195 (CFLAGS-wcstof.c): Likewise.
19196 (CFLAGS-wcstol_l.c): Likewise.
19197 (CFLAGS-wcstoul_l.c): Likewise.
19198 (CFLAGS-wcstoll_l.c): Likewise.
19199 (CFLAGS-wcstoull_l.c): Likewise.
19200 (CFLAGS-wcstod_l.c): Likewise.
19201 (CFLAGS-wcstold_l.c): Likewise.
19202 (CFLAGS-wcstof128_l.c): Likewise.
19203 (CFLAGS-wcstof_l.c): Likewise.
19204 (CPPFLAGS-tst-wchar-h.c): Likewise.
19205 (CPPFLAGS-wcstold_l.c): Likewise.
19207 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19209 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19211 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19212 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19214 * manual/tunables.texi (Hardware Capability Tunables): Document
19215 glibc.tune.cached_memopt.
19216 * sysdeps/powerpc/cpu-features.c: New file.
19217 * sysdeps/powerpc/cpu-features.h: New file.
19218 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19219 _dl_powerpc_cpu_features.
19220 * sysdeps/powerpc/dl-tunables.list: New file.
19221 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19222 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19223 (INIT_ARCH): Initialize use_aligned_memopt.
19224 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19225 IS_IN(rtld))]: Restrict dl_platform_init availability and
19226 initialize CPU features used by tunables.
19227 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19228 Add memcpy-power8-cached.
19229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19230 __memcpy_power8_cached.
19231 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19235 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19237 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19238 (CFLAGS-noinl-tester.c): Likewise.
19239 (CFLAGS-tst-strlen.c): Likewise.
19240 (CFLAGS-stratcliff.c): Likewise.
19241 (CFLAGS-test-ffs.c): Likewise.
19242 (CFLAGS-tst-inlcall.c): Likewise.
19243 (CFLAGS-tst-xbzero-opt.c): Likewise.
19244 (CFLAGS-memcpy.c): Likewise.
19245 (CFLAGS-wordcopy.c): Likewise.
19247 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19249 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19250 Store r15 on stack and add cfi rule.
19251 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19254 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19257 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19260 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19262 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19263 Add s_sinf-sse2 and s_sinf-fma.
19264 (CFLAGS-s_sinf-fma.c): New.
19265 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19267 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19269 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19271 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19273 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19276 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19277 part of result to imaginary part of argument if it is zero and the
19278 real part of the argument is not finite.
19279 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19280 of result to real part of argument if it is zero and the imaginary
19281 part of the argument is not finite.
19283 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19286 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19287 and to the list of locales to be built for testing.
19288 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19289 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19290 and build the collation rules upon that.
19292 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19294 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19295 * manual/math.texi (Mathematics): Document support for _Float32.
19296 * math/Makefile (test-types): Add float32.
19297 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19298 * stdlib/Versions (GLIBC_2.27): Likewise.
19299 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19300 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19301 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19302 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19304 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19306 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19307 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19308 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19309 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19310 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19311 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19312 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19313 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19314 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19315 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19316 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19317 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19318 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19319 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19320 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19322 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19347 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19350 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19351 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19352 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19353 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19362 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19363 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19364 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19365 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19366 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19367 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19368 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19369 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19371 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19373 * stdlib/strtof.c: Include <bits/floatn.h>
19374 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19375 and later undefine as macro. Define as weak alias if
19377 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19378 and later undefine as macro. Define as weak alias if
19380 * stdlib/strtof_l.c: Include <bits/floatn.h>
19381 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19382 and later undefine as macro. Define as weak alias if
19384 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19385 and later undefine as macro. Define as weak alias if
19388 * stdlib/strfromf.c: Include <bits/floatn.h>.
19389 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19390 and later undefine as macro and define as weak alias.
19392 * math/test-float32.h: New file.
19394 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19395 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19396 (libm_alias_float_other_r): Create f32 alias.
19397 (libm_alias_float_r): Use semicolon before call to
19398 libm_alias_float_other_r.
19400 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19401 second argument to libm_alias_float_other.
19402 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19403 second argument to libm_alias_float_other.
19404 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19405 argument to libm_alias_float_other.
19408 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19409 real part of result for argument 0 + i * NaN.
19410 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19411 results for tests of 0 + i * NaN.
19413 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19415 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19417 2017-12-06 David S. Miller <davem@davemloft.net>
19419 * sysdeps/sparc/fpu/libm-test-ulps: Update
19420 exp_{downward,towardzero,upward} ulps.
19422 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19427 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19429 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19436 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19439 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19440 and to the list of locales to be built for testing.
19441 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19442 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19443 and build the collation rules upon that.
19445 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19447 * NEWS: Add sinf to list of optimized functions.
19449 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19451 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19452 (__HAVE_FLOAT32X): Likewise.
19453 * manual/math.texi (Mathematics): Document support for _Float64
19455 * math/Makefile (test-types): Add float64 and float32x.
19456 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19458 * stdlib/Versions (GLIBC_2.27): Likewise.
19459 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19460 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19461 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19462 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19463 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19464 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19470 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19471 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19474 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19475 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19476 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19477 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19479 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19480 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19482 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19483 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19503 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19504 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19511 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19512 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19521 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19527 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19528 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19530 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19532 * bits/floatn-common.h: Include <bits/long-double.h>.
19533 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19534 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19535 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19536 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19537 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19538 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19539 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19540 (__builtin_huge_valf64): Use __builtin_huge_vall.
19541 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19542 (__builtin_inff64): Use __builtin_infl.
19543 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19544 (__builtin_nanf64): Use __builtin_nanl.
19545 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19546 (__builtin_nansf64): Use __builtin_nansl.
19548 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19549 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19550 Carlos O'Donnell <carlos@redhat.com>
19552 * elf/dl-tunables.list: Add elision parameters.
19553 * manual/tunables.texi: Add entries about elision tunable.
19554 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19555 Add callback functions to dynamically enable/disable elision.
19556 Add multiple callbacks functions to set elision parameters.
19557 Deleted __libc_enable_secure check.
19558 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19559 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19560 * configure: Regenerated.
19561 * configure.ac: Option enable_lock_elision was deleted.
19562 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19563 * config.make.in: Remove references to enable_lock_elision.
19564 * manual/install.texi: Elision configure option was removed.
19565 * INSTALL: Regenerated to remove enable_lock_elision.
19567 Disable elision so it can verify error case for destroying a mutex.
19568 * sysdeps/powerpc/nptl/elide.h:
19569 Cleanup ENABLE_LOCK_ELISION check.
19570 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19571 * sysdeps/s390/configure: Regenerated.
19572 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19573 * nptl/tst-mutex8.c:
19574 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19575 * sysdeps/powerpc/powerpc32/sysdep.h:
19576 Deleted all ENABLE_LOCK_ELISION checks.
19577 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19578 * sysdeps/powerpc/sysdep.h: Likewise.
19579 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19580 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19581 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19582 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19584 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19585 enable-lock-elision.
19587 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19589 * stdlib/strtod.c: Include <bits/floatn.h>.
19590 (BUILD_DOUBLE): New macro.
19591 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19592 (strtof64): Define and later undefine as macro. Define as weak
19593 alias if [!USE_WIDE_CHAR].
19594 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19595 (wcstof64): Define and later undefine as macro. Define as weak
19596 alias if [USE_WIDE_CHAR].
19597 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19598 (strtof32x): Define and later undefine as macro. Define as weak
19599 alias if [!USE_WIDE_CHAR].
19600 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19601 (wcstof32x): Define and later undefine as macro. Define as weak
19602 alias if [USE_WIDE_CHAR].
19603 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19604 (BUILD_DOUBLE): New macro.
19605 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19606 (strtof64_l): Define and later undefine as macro. Define as weak
19607 alias if [!USE_WIDE_CHAR].
19608 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19609 (wcstof64_l): Define and later undefine as macro. Define as weak
19610 alias if [USE_WIDE_CHAR].
19611 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19612 (strtof32x_l): Define and later undefine as macro. Define as weak
19613 alias if [!USE_WIDE_CHAR].
19614 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19615 (wcstof32x_l): Define and later undefine as macro. Define as weak
19616 alias if [USE_WIDE_CHAR].
19618 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19620 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19621 (reduced): Use ones as double instead of integer.
19623 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19625 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19627 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19629 * stdlib/strfromd.c: Include <bits/floatn.h>.
19630 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19631 and later undefine as macro and define as weak alias.
19632 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19635 * math/test-float32x.h: New file.
19636 * math/test-float64.h: Likewise.
19638 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19639 (libm_alias_double_other_r_f64): New macro.
19640 (libm_alias_double_other_r_f32x): Likewise.
19641 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19642 libm_alias_double_other_r_f32x.
19643 (libm_alias_double_r): Use semicolon before call to
19644 libm_alias_double_other_r.
19645 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19647 (libm_alias_double_other_r_f64): New macro.
19648 (libm_alias_double_other_r_f32x): Likewise.
19649 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19650 libm_alias_double_other_r_f32x.
19652 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19654 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19656 (SINF_FUNC): Likewise. Replace floor with simple casts.
19658 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19661 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19662 and to the list of locales to be built for testing.
19663 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19664 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19665 and build the collation rules upon that.
19667 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19669 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19670 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19671 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19672 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19673 instead of __insn__xxx.
19674 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19675 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19676 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19677 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19678 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19679 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19681 2017-12-05 Florian Weimer <fweimer@redhat.com>
19683 Linux: Implement interfaces for memory protection keys
19684 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19686 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19687 * support/xunistd.h (xsysconf): Declare.
19688 * support/xraise.c: New file.
19689 * support/xsigaction.c: Likewise.
19690 * support/xsignal.c: Likewise.
19691 * support/xsysconf.c: Likewise.
19692 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19693 pkey_set, pkey_get, pkey_mprotect.
19694 [misc] (tests): Add tst-pkey.
19695 (tst-pkey): Link with -lpthread.
19696 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19697 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19698 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19699 (PKEY_DISABLE_WRITE): Define.
19700 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19702 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19703 (SEGV_PKUERR): Add.
19704 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19705 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19706 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19707 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19709 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19710 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19711 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19712 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19713 * sysdeps/unix/sysv/linux/**.abilist: Update.
19715 2017-12-05 Florian Weimer <fweimer@redhat.com>
19717 * support/tst-test_compare.c (subprocess): Use long long instead
19718 of long argument for consistent type width across 32-bit and
19719 64-bit architectures.
19720 (do_test): Adjust expected output.
19722 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19724 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19725 (cosf): Define using libm_alias_float.
19726 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19727 (fabsf): Define using libm_alias_float.
19728 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19729 (fmaf): Define using libm_alias_float.
19730 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19731 (rintf): Define using libm_alias_float.
19732 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19733 (sinf): Define using libm_alias_float.
19734 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19735 <libm-alias-float.h>.
19736 (modff): Define using libm_alias_float.
19737 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19738 <libm-alias-float.h>.
19739 (logbf): Define using libm_alias_float.
19740 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19741 <libm-alias-float.h>.
19742 (ceilf): Define using libm_alias_float.
19743 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19744 <libm-alias-float.h>.
19745 (copysignf): Define using libm_alias_float.
19746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19747 <libm-alias-float.h>.
19748 (floorf): Define using libm_alias_float.
19749 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19750 <libm-alias-float.h>.
19751 (llrintf): Define using libm_alias_float.
19752 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19753 <libm-alias-float.h>.
19754 (llroundf): Define using libm_alias_float.
19755 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19756 <libm-alias-float.h>.
19757 (lrintf): Define using libm_alias_float.
19758 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19759 <libm-alias-float.h>.
19760 (lroundf): Define using libm_alias_float.
19761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19762 <libm-alias-float.h>.
19763 (nearbyintf): Define using libm_alias_float.
19764 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19765 <libm-alias-float.h>.
19766 (rintf): Define using libm_alias_float.
19767 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19768 <libm-alias-float.h>.
19769 (roundf): Define using libm_alias_float.
19770 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19771 <libm-alias-float.h>.
19772 (truncf): Define using libm_alias_float.
19773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19774 Include <libm-alias-float.h>.
19775 (ceilf): Define using libm_alias_float.
19776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19777 Include <libm-alias-float.h>.
19778 (copysignf): Define using libm_alias_float.
19779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19780 Include <libm-alias-float.h>.
19781 (floorf): Define using libm_alias_float.
19782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19783 Include <libm-alias-float.h>.
19784 (llrintf): Define using libm_alias_float.
19785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19786 Include <libm-alias-float.h>.
19787 (llroundf): Define using libm_alias_float.
19788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19789 Include <libm-alias-float.h>.
19790 (logbf): Define using libm_alias_float.
19791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19792 Include <libm-alias-float.h>.
19793 (lrintf): Define using libm_alias_float.
19794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19795 Include <libm-alias-float.h>.
19796 (lroundf): Define using libm_alias_float.
19797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19798 Include <libm-alias-float.h>.
19799 (modff): Define using libm_alias_float.
19800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19801 Include <libm-alias-float.h>.
19802 (roundf): Define using libm_alias_float.
19803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19804 Include <libm-alias-float.h>.
19805 (truncf): Define using libm_alias_float.
19806 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19807 <libm-alias-float.h>.
19808 (llrintf): Define using libm_alias_float.
19809 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19810 <libm-alias-float.h>.
19811 (llroundf): Define using libm_alias_float.
19812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19813 <libm-alias-float.h>.
19814 (ceilf): Define using libm_alias_float.
19815 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19816 <libm-alias-float.h>.
19817 (floorf): Define using libm_alias_float.
19818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19819 <libm-alias-float.h>.
19820 (llroundf): Define using libm_alias_float.
19821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19822 <libm-alias-float.h>.
19823 (lroundf): Define using libm_alias_float.
19824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19825 <libm-alias-float.h>.
19826 (roundf): Define using libm_alias_float.
19827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19828 <libm-alias-float.h>.
19829 (truncf): Define using libm_alias_float.
19830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19831 <libm-alias-float.h>.
19832 (copysignf): Define using libm_alias_float.
19833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19834 <libm-alias-float.h>.
19835 (llrintf): Define using libm_alias_float.
19836 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19837 <libm-alias-float.h>.
19838 (llroundf): Define using libm_alias_float.
19839 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19840 <libm-alias-float.h>.
19841 (lrintf): Define using libm_alias_float.
19842 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19843 <libm-alias-float.h>.
19844 (lroundf): Define using libm_alias_float.
19845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19846 <libm-alias-float.h>.
19847 (ceilf): Define using libm_alias_float.
19848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19849 <libm-alias-float.h>.
19850 (copysignf): Define using libm_alias_float.
19851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19852 <libm-alias-float.h>.
19853 (cosf): Define using libm_alias_float.
19854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19855 <libm-alias-float.h>.
19856 (floorf): Define using libm_alias_float.
19857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19858 <libm-alias-float.h>.
19859 (llrintf): Define using libm_alias_float.
19860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19861 <libm-alias-float.h>.
19862 (llroundf): Define using libm_alias_float.
19863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19864 <libm-alias-float.h>.
19865 (logbf): Define using libm_alias_float.
19866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19867 <libm-alias-float.h>.
19868 (modff): Define using libm_alias_float.
19869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19870 <libm-alias-float.h>.
19871 (roundf): Define using libm_alias_float.
19872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19873 <libm-alias-float.h>.
19874 (sinf): Define using libm_alias_float.
19875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19876 <libm-alias-float.h>.
19877 (truncf): Define using libm_alias_float.
19878 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19879 <libm-alias-float.h>.
19880 (ceilf): Define using libm_alias_float.
19881 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19882 <libm-alias-float.h>.
19883 (copysignf): Define using libm_alias_float.
19884 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19885 <libm-alias-float.h>.
19886 (floorf): Define using libm_alias_float.
19887 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19888 <libm-alias-float.h>.
19889 (llrintf): Define using libm_alias_float.
19890 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19891 <libm-alias-float.h>.
19892 (llroundf): Define using libm_alias_float.
19893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19894 <libm-alias-float.h>.
19895 (nearbyintf): Define using libm_alias_float.
19896 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19897 <libm-alias-float.h>.
19898 (rintf): Define using libm_alias_float.
19899 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19900 <libm-alias-float.h>.
19901 (roundf): Define using libm_alias_float.
19902 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19903 <libm-alias-float.h>.
19904 (truncf): Define using libm_alias_float.
19905 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19906 <libm-alias-float.h>.
19907 (ceilf): Define using libm_alias_float.
19908 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19909 <libm-alias-float.h>.
19910 (floorf): Define using libm_alias_float.
19911 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19912 <libm-alias-float.h>.
19913 (llroundf): Define using libm_alias_float.
19914 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19915 <libm-alias-float.h>.
19916 (roundf): Define using libm_alias_float.
19917 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19918 <libm-alias-float.h>.
19919 (truncf): Define using libm_alias_float.
19920 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19921 <libm-alias-float.h>.
19922 (copysignf): Define using libm_alias_float.
19923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19924 <libm-alias-float.h>.
19925 (llrintf): Define using libm_alias_float.
19926 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19927 <libm-alias-float.h>.
19928 (llroundf): Define using libm_alias_float.
19929 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19930 <libm-alias-float.h>.
19931 (cosf): Define using libm_alias_float.
19932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19933 <libm-alias-float.h>.
19934 (llrintf): Define using libm_alias_float.
19935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19936 <libm-alias-float.h>.
19937 (llroundf): Define using libm_alias_float.
19938 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19939 <libm-alias-float.h>.
19940 (sinf): Define using libm_alias_float.
19942 2017-12-04 Florian Weimer <fweimer@redhat.com>
19944 * support/check.h (TEST_COMPARE): Define.
19945 (support_test_compare_failure): Declare.
19946 * support/Makefile (libsupport-routines): Add
19947 support_test_compare_failure.
19948 (tests): Add tst-test_compare.
19949 * support /support_test_compare_failure.c: New file.
19950 * support/tst-test_compare.c: Likewise.
19952 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19955 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19956 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19957 available, this rewrite of the collation rules does reproduce
19958 the test file in the same order.
19960 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19963 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19964 digraphs in the month and day names. Using single code points for
19965 digraphs is deprecated. While there are dedicated Unicode
19966 codepoints, for the digraphs, these are included for backwards
19967 compatibility and modern texts use a sequence of Basic Latin
19968 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19969 This makes the month and day names agree exactly with CLDR now,
19970 CLDR does not use the single code points for the digraphs either.
19972 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19974 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19976 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19981 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19983 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19984 Define only for libc.so.
19986 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19989 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19990 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19991 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19994 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19997 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19999 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20002 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20003 PREINIT_FUNCTION_WEAK is nonzero.
20004 (gmon_initializer): New function. Put procedure label for it in
20005 .init_array section.
20006 (_init): Don't call PREINIT_FUNCTION.
20007 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20008 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20009 value when map argument is null.
20011 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20012 depi instruction from PIC pc-relative sequence.
20013 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20014 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20015 (elf_machine_load_address): Likewise.
20016 (elf_machine_runtime_setup): Likewise.
20018 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20020 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20021 <libm-alias-double.h>.
20022 (logb): Define using libm_alias_double.
20023 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20024 <libm-alias-double.h>.
20025 (copysign): Define using libm_alias_double.
20026 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20027 <libm-alias-double.h>.
20028 (llrint): Define using libm_alias_double.
20029 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20030 <libm-alias-double.h>.
20031 (llround): Define using libm_alias_double.
20032 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20033 <libm-alias-double.h>.
20034 (lrint): Define using libm_alias_double.
20035 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20036 <libm-alias-double.h>.
20037 (lround): Define using libm_alias_double.
20038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20039 Include <libm-alias-double.h>.
20040 (copysign): Define using libm_alias_double.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20042 Include <libm-alias-double.h>.
20043 (llrint): Define using libm_alias_double.
20044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20045 Include <libm-alias-double.h>.
20046 (llround): Define using libm_alias_double.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20048 <libm-alias-double.h>.
20049 (logb): Define using libm_alias_double.
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20051 Include <libm-alias-double.h>.
20052 (lrint): Define using libm_alias_double.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20054 Include <libm-alias-double.h>.
20055 (lround): Define using libm_alias_double.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20057 <libm-alias-double.h>.
20058 (llrint): Define using libm_alias_double.
20059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20060 <libm-alias-double.h>.
20061 (llround): Define using libm_alias_double.
20062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20063 <libm-alias-double.h>.
20064 (llround): Define using libm_alias_double.
20065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20066 <libm-alias-double.h>.
20067 (lround): Define using libm_alias_double.
20068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20069 <libm-alias-double.h>.
20070 (copysign): Define using libm_alias_double.
20071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20072 <libm-alias-double.h>.
20073 (llrint): Define using libm_alias_double.
20074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20075 <libm-alias-double.h>.
20076 (llround): Define using libm_alias_double.
20077 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20078 <libm-alias-double.h>.
20079 (lrint): Define using libm_alias_double.
20080 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20081 <libm-alias-double.h>.
20082 (lround): Define using libm_alias_double.
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20084 <libm-alias-double.h>.
20085 (copysign): Define using libm_alias_double.
20086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20087 <libm-alias-double.h>.
20088 (llrint): Define using libm_alias_double.
20090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20091 <libm-alias-double.h>.
20092 (llround): Define using libm_alias_double.
20093 (lround): Likewise.
20094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20095 <libm-alias-double.h>.
20096 (logb): Define using libm_alias_double.
20097 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20098 <libm-alias-double.h>.
20099 (copysign): Define using libm_alias_double.
20100 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20101 <libm-alias-double.h>.
20102 (llrint): Define using libm_alias_double.
20104 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20105 <libm-alias-double.h>.
20106 (llround): Define using libm_alias_double.
20107 (lround): Likewise.
20108 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20109 <libm-alias-double.h>.
20110 (llround): Define using libm_alias_double.
20111 (lround): Likewise.
20112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20113 <libm-alias-double.h>.
20114 (copysign): Define using libm_alias_double.
20115 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20116 <libm-alias-double.h>.
20117 (llrint): Define using libm_alias_double.
20119 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20120 <libm-alias-double.h>.
20121 (llround): Define using libm_alias_double.
20122 (lround): Likewise.
20123 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20124 <libm-alias-double.h>.
20125 (llrint): Define using libm_alias_double.
20127 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20128 <libm-alias-double.h>.
20129 (llround): Define using libm_alias_double.
20130 (lround): Likewise.
20132 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20135 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20136 compat symbol based on llround.
20138 * sysdeps/powerpc/power7/fpu/s_logb.c
20139 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20140 symbol based on __logb, not on logb.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20142 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20144 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20146 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20147 (rint): Define using libm_alias_double.
20148 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20149 <libm-alias-double.h>.
20150 (modf): Define using libm_alias_double.
20151 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20152 <libm-alias-double.h>.
20153 (ceil): Define using libm_alias_double.
20154 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20155 <libm-alias-double.h>.
20156 (floor): Define using libm_alias_double.
20157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20158 <libm-alias-double.h>.
20159 (nearbyint): Define using libm_alias_double.
20160 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20161 <libm-alias-double.h>.
20162 (rint): Define using libm_alias_double.
20163 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20164 <libm-alias-double.h>.
20165 (round): Define using libm_alias_double.
20166 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20167 <libm-alias-double.h>.
20168 (trunc): Define using libm_alias_double.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20170 <libm-alias-double.h>.
20171 (ceil): Define using libm_alias_double.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20173 Include <libm-alias-double.h>.
20174 (floor): Define using libm_alias_double.
20175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20176 <libm-alias-double.h>.
20177 (modf): Define using libm_alias_double.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20179 Include <libm-alias-double.h>.
20180 (round): Define using libm_alias_double.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20182 Include <libm-alias-double.h>.
20183 (trunc): Define using libm_alias_double.
20184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20185 <libm-alias-double.h>.
20186 (ceil): Define using libm_alias_double.
20187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20188 <libm-alias-double.h>.
20189 (floor): Define using libm_alias_double.
20190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20191 <libm-alias-double.h>.
20192 (round): Define using libm_alias_double.
20193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20194 <libm-alias-double.h>.
20195 (trunc): Define using libm_alias_double.
20196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20197 <libm-alias-double.h>.
20198 (ceil): Define using libm_alias_double.
20199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20200 <libm-alias-double.h>.
20201 (floor): Define using libm_alias_double.
20202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20203 <libm-alias-double.h>.
20204 (modf): Define using libm_alias_double.
20205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20206 <libm-alias-double.h>.
20207 (round): Define using libm_alias_double.
20208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20209 <libm-alias-double.h>.
20210 (trunc): Define using libm_alias_double.
20211 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20212 <libm-alias-double.h>.
20213 (ceil): Define using libm_alias_double.
20214 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20215 <libm-alias-double.h>.
20216 (floor): Define using libm_alias_double.
20217 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20218 <libm-alias-double.h>.
20219 (nearbyint): Define using libm_alias_double.
20220 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20221 <libm-alias-double.h>.
20222 (rint): Define using libm_alias_double.
20223 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20224 <libm-alias-double.h>.
20225 (round): Define using libm_alias_double.
20226 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20227 <libm-alias-double.h>.
20228 (trunc): Define using libm_alias_double.
20229 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20230 <libm-alias-double.h>.
20231 (ceil): Define using libm_alias_double.
20232 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20233 <libm-alias-double.h>.
20234 (floor): Define using libm_alias_double.
20235 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20236 <libm-alias-double.h>.
20237 (round): Define using libm_alias_double.
20238 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20239 <libm-alias-double.h>.
20240 (trunc): Define using libm_alias_double.
20242 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20243 (fabs): Define using libm_alias_double.
20244 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20245 (fma): Define using libm_alias_double.
20246 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20247 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20248 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20249 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20251 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20253 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20255 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20256 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20257 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20260 due redirect macro.
20262 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20264 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20266 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20268 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20269 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20270 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20271 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20274 (libm-sysdep_routines): Add s_nearbyintf-generic and
20275 s_nearbyint-generic.
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20289 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20300 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20311 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20322 (sysdep_calls): New rule.
20323 (sysdep_routines): Use sysdep_calls as base.
20324 (libm-sysdep_routines): Add generic rule for symbols shared with
20325 libc. Add s_copysign-generic and s_copysign-generic objects.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20335 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20338 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20339 the list of locales to be built for testing.
20340 * localedata/is_IS.UTF-8.in: New file.
20341 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20344 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20346 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20347 <libm-alias-float.h>.
20348 (fabsf): Define using libm_alias_float.
20350 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20352 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20354 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20356 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20357 <libm-alias-float.h>.
20358 (fabsf): Define using libm_alias_float.
20359 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20360 <libm-alias-float.h>.
20361 (lrintf): Define using libm_alias_float.
20362 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20363 <libm-alias-float.h>.
20364 (rintf): Define using libm_alias_float.
20366 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20367 <libm-alias-double.h>.
20368 (fabs): Define using libm_alias_double.
20369 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20370 <libm-alias-double.h>.
20371 (lrint): Define using libm_alias_double.
20372 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20373 <libm-alias-double.h>.
20374 (rint): Define using libm_alias_double.
20376 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20377 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20378 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20379 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20380 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20381 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20382 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20383 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20384 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20385 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20386 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20387 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20388 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20389 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20390 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20391 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20392 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20393 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20395 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20396 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20397 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20399 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20400 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20401 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20403 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20404 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20405 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20406 s_expm1_template.c.
20407 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20408 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20409 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20411 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20412 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20413 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20414 s_floor_template.c.
20415 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20416 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20417 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20418 s_frexp_template.c.
20419 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20420 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20421 s_lrint_template.c.
20422 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20423 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20424 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20426 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20427 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20428 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20429 s_nearbyint_template.c.
20430 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20431 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20432 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20433 s_remquo_template.c.
20434 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20435 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20436 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20438 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20439 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20440 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20442 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20443 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20444 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20445 s_sincos_template.c.
20446 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20447 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20448 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20450 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20451 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20452 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20454 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20455 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20456 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20457 s_trunc_template.c.
20458 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20459 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20460 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20461 s_atan.c instead of including s_atan.c.
20462 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20463 s_atanf.c instead of including s_atanf.c.
20464 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20465 s_atanl.c instead of including s_atanl.c.
20466 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20467 instead of s_atan.c.
20468 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20469 instead of s_atanf.c.
20470 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20471 instead of s_atanl.c.
20473 * scripts/update-copyrights: Do not handle intl/plural.c
20476 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20479 * configure.ac (BISON): Require to be present.
20480 * configure: Regenerated.
20481 * intl/Makefile (generated): Add plural.c.
20482 [$(BISON) != no]: Make code unconditional.
20483 (plural.c): Change rule to $(objpfx)plural.c.
20484 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20485 * intl/plural.c: Remove.
20486 * manual/install.texi (Tools for Compilation): Document bison as
20488 * INSTALL: Regenerated.
20490 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20492 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20493 <libm-alias-double.h>.
20494 (llrint): Define using libm_alias_double.
20495 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20496 <libm-alias-float.h>.
20497 (llrintf): Define using libm_alias_float.
20498 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20499 <libm-alias-ldouble.h>.
20500 (llrintl): Define using libm_alias_ldouble.
20502 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20503 declare_mgen_alias instead of weak_alias.
20504 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20505 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20506 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20508 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20510 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20512 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20513 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20514 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20516 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20517 Add submul_1-generic.
20518 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20519 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20520 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20522 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20523 Add addmul_1-generic.
20524 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20525 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20526 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20528 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20530 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20531 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20532 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20534 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20536 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20537 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20538 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20540 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20542 According to CLDR, collation rules for Serbian and Bosnian
20543 should be the same as for Croatian.
20546 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20547 and to the list of locales to be built for testing.
20548 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20549 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20550 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20551 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20553 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20555 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20556 to make test case pass.
20557 * localedata/hr_HR.UTF-8.in: Add more test strings.
20559 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20561 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20563 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20565 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20566 the list of locales to built for testing.
20567 * localedata/hr_HR.UTF-8.in: New file.
20569 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20572 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20574 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20575 CLDR (except use ligatures for the digraphs, CLDR does not use
20576 the ligatures), add first_workday, some fixes in the date and time
20578 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20580 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20581 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20582 Add int_p_cs_precedes and int_n_cs_precedes.
20583 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20584 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20586 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20587 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20589 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20590 and lang_lib. Change postal_fmt.
20592 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20594 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20596 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20597 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20598 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20599 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20600 * sysdeps/generic/setjmpP.h: New file.
20601 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20602 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20603 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20604 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20605 Add jmp_buf-ssp.sym.
20606 (tests): Add tst-saved_mask-1.
20608 2017-11-30 Arjun Shankar <arjun@redhat.com>
20612 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20613 instead of request2size.
20615 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20618 (__lllrint): Remove alias.
20619 (lllrint): Likewise.
20620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20621 (__lllrintf): Likewise.
20622 (lllrintf): Likewise.
20624 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20625 <libm-alias-float.h>.
20626 (copysignf): Define using libm_alias_float.
20627 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20628 <libm-alias-float.h>.
20629 (fabsf): Define using libm_alias_float.
20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20631 Include <libm-alias-float.h>.
20632 (copysignf): Define using libm_alias_float.
20633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20634 <libm-alias-float.h>.
20635 (fabsf): Define using libm_alias_float.
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20637 <libm-alias-float.h>.
20638 (fdimf): Define using libm_alias_float.
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20640 <libm-alias-float.h>.
20641 (fmaf): Define using libm_alias_float.
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20643 <libm-alias-float.h>.
20644 (llrintf): Define using libm_alias_float.
20645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20646 Include <libm-alias-float.h>.
20647 (nearbyintf): Define using libm_alias_float.
20648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20649 <libm-alias-float.h>.
20650 (rintf): Define using libm_alias_float.
20651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20652 <libm-alias-float.h>.
20653 (llrintf): Define using libm_alias_float.
20654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20655 <libm-alias-float.h>.
20656 (lrintf): Define using libm_alias_float.
20657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20658 <libm-alias-float.h>.
20659 (nearbyintf): Define using libm_alias_float.
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20661 <libm-alias-float.h>.
20662 (rintf): Define using libm_alias_float.
20663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20664 <libm-alias-float.h>.
20665 (ceilf): Define using libm_alias_float.
20666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20667 <libm-alias-float.h>.
20668 (floorf): Define using libm_alias_float.
20669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20670 <libm-alias-float.h>.
20671 (fmaf): Define using libm_alias_float.
20672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20673 <libm-alias-float.h>.
20674 (lrintf): Define using libm_alias_float.
20675 (llrintf): Likewise.
20676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20677 <libm-alias-float.h>.
20678 (nearbyintf): Define using libm_alias_float.
20679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20680 <libm-alias-float.h>.
20681 (rintf): Define using libm_alias_float.
20682 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20683 <libm-alias-float.h>.
20684 (truncf): Define using libm_alias_float.
20685 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20686 <libm-alias-float.h>.
20687 (copysignf): Define using libm_alias_float.
20688 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20689 <libm-alias-float.h>.
20690 (fabsf): Define using libm_alias_float.
20691 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20692 <libm-alias-float.h>.
20693 (lrintf): Define using libm_alias_float.
20694 (llrintf): Likewise.
20695 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20696 <libm-alias-float.h>.
20697 (nearbyintf): Define using libm_alias_float.
20698 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20699 <libm-alias-float.h>.
20700 (rintf): Define using libm_alias_float.
20702 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20704 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20705 <libm-alias-double.h>.
20706 (copysign): Define using libm_alias_double.
20707 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20708 <libm-alias-double.h>.
20709 (fabs): Define using libm_alias_double.
20710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20711 Include <libm-alias-double.h>.
20712 (copysign): Define using libm_alias_double.
20713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20714 <libm-alias-double.h>.
20715 (fabs): Define using libm_alias_double.
20716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20717 <libm-alias-double.h>.
20718 (fdim): Define using libm_alias_double.
20719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20720 <libm-alias-double.h>.
20721 (fma): Define using libm_alias_double.
20722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20723 <libm-alias-double.h>.
20724 (llrint): Define using libm_alias_double.
20725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20726 Include <libm-alias-double.h>.
20727 (nearbyint): Define using libm_alias_double.
20728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20729 <libm-alias-double.h>.
20730 (rint): Define using libm_alias_double.
20731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20732 <libm-alias-double.h>.
20733 (fabs): Define using libm_alias_double.
20734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20735 <libm-alias-double.h>.
20736 (llrint): Define using libm_alias_double.
20737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20738 <libm-alias-double.h>.
20739 (nearbyint): Define using libm_alias_double.
20740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20741 <libm-alias-double.h>.
20742 (rint): Define using libm_alias_double.
20743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20744 <libm-alias-double.h>.
20745 (ceil): Define using libm_alias_double.
20746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20747 <libm-alias-double.h>.
20748 (floor): Define using libm_alias_double.
20749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20750 <libm-alias-double.h>.
20751 (fma): Define using libm_alias_double.
20752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20753 <libm-alias-double.h>.
20754 (lrint): Define using libm_alias_double.
20755 (llrint): Likewise.
20756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20757 <libm-alias-double.h>.
20758 (nearbyint): Define using libm_alias_double.
20759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20760 <libm-alias-double.h>.
20761 (rint): Define using libm_alias_double.
20762 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20763 <libm-alias-double.h>.
20764 (trunc): Define using libm_alias_double.
20765 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20766 <libm-alias-double.h>.
20767 (copysign): Define using libm_alias_double.
20768 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20769 <libm-alias-double.h>.
20770 (fabs): Define using libm_alias_double.
20771 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20772 <libm-alias-double.h>.
20773 (lrint): Define using libm_alias_double.
20774 (llrint): Likewise.
20775 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20776 <libm-alias-double.h>.
20777 (nearbyint): Define using libm_alias_double.
20778 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20779 <libm-alias-double.h>.
20780 (rint): Define using libm_alias_double.
20783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20785 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20787 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20788 SPARC --disable-multi-arch glibc variants.
20790 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20791 <libm-alias-float.h>.
20792 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20794 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20795 <libm-alias-float.h>.
20796 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20798 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20799 <libm-alias-float.h>.
20800 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20802 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20803 <libm-alias-float.h>.
20804 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20806 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20807 <libm-alias-float.h>.
20808 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20810 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20811 <libm-alias-float.h>.
20812 (ceilf): Define using libm_alias_float.
20813 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20814 <libm-alias-float.h>.
20815 (floorf): Define using libm_alias_float.
20816 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20817 <libm-alias-float.h>.
20818 (fmaf): Define using libm_alias_float.
20819 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20820 <libm-alias-float.h>.
20821 (nearbyintf): Define using libm_alias_float.
20822 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20823 <libm-alias-float.h>.
20824 (rintf): Define using libm_alias_float.
20825 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20826 <libm-alias-float.h>.
20827 (truncf): Define using libm_alias_float.
20828 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20829 (copysignf): Define using libm_alias_float.
20830 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20831 (cosf): Define using libm_alias_float.
20832 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20833 (fabsf): Define using libm_alias_float.
20834 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20835 (fmaxf): Define using libm_alias_float.
20836 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20837 (fminf): Define using libm_alias_float.
20838 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20839 (llrintf): Define using libm_alias_float.
20840 [!__ILP32__] (lrintf): Likewise.
20841 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20842 (sincosf): Define using libm_alias_float.
20843 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20844 (sinf): Define using libm_alias_float.
20845 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20846 (lrintf): Define using libm_alias_float.
20848 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20849 <libm-alias-double.h>.
20850 (atan): Define using libm_alias_double.
20851 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20852 <libm-alias-double.h>.
20853 (ceil): Define using libm_alias_double.
20854 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20855 <libm-alias-double.h>.
20856 (floor): Define using libm_alias_double.
20857 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20858 <libm-alias-double.h>.
20859 (fma): Define using libm_alias_double.
20860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20861 <libm-alias-double.h>.
20862 (nearbyint): Define using libm_alias_double.
20863 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20864 <libm-alias-double.h>.
20865 (rint): Define using libm_alias_double.
20866 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20867 <libm-alias-double.h>.
20868 (sin): Define using libm_alias_double.
20870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20871 <libm-alias-double.h>.
20872 (tan): Define using libm_alias_double.
20873 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20874 <libm-alias-double.h>.
20875 (trunc): Define using libm_alias_double.
20876 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20877 (copysign): Define using libm_alias_double.
20878 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20879 (fabs): Define using libm_alias_double.
20880 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20881 (fmax): Define using libm_alias_double.
20882 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20883 (fmin): Define using libm_alias_double.
20884 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20885 (llrint): Define using libm_alias_double.
20886 [!__ILP32__] (lrint): Likewise.
20887 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20888 (lrint): Define using libm_alias_double.
20890 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20893 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20903 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20913 (libm-sysdep_routines): Add s_nearbyint-generic and
20914 s_nearbyintf-generic objects.
20915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20923 Add s_finitef-generic and s_finite-generic objects.
20924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20932 Add s_isinff-generic and s_isinf-generic objects.
20933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20941 Add s_isnanf-generic and s_isnan-generic objects.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20949 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20953 (sysdep_routines): Use sysdep_calls as base.
20954 (libm-sysdep_routines): Add generic rule for symbols shared with
20955 libc. Add s_signbit-generic and s_signbitf-generic objects.
20956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20963 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20965 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20966 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20967 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20968 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20969 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20970 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20971 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20972 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20973 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20974 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20975 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20976 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20977 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20978 libm_alias_float_r.
20979 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20980 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20982 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20983 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20984 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20985 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20986 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20987 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20988 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20989 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20990 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20991 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20993 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20995 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20996 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20997 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20998 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20999 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21000 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21001 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21002 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21003 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21004 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21005 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21006 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21007 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21008 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21009 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21010 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21011 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21012 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21013 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21015 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21016 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21017 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21018 * sysdeps/ia64/fpu/w_lgammaf_main.c
21019 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21020 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21022 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21023 Alexandre Oliva <aoliva@redhat.com>
21026 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21027 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21029 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21031 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21032 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21033 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21034 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21035 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21036 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21037 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21038 instead of “ifdef DIACRIT_BACKWARD”.
21040 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21042 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21043 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21044 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21045 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21046 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21047 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21054 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21056 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21057 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21058 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21059 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21061 ($(have-as-vis3) == yes): Remove conditional.
21062 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21078 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21079 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21081 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21083 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21084 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21085 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21086 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21087 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21088 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21089 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21090 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21091 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21092 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21093 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21094 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21095 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21096 libm_alias_double_r.
21097 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21099 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21100 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21101 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21102 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21103 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21104 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21105 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21106 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21107 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21108 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21109 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21111 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21113 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21114 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21115 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21116 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21117 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21118 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21119 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21120 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21121 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21122 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21123 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21124 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21125 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21126 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21127 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21128 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21129 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21130 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21132 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21133 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21134 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21135 * sysdeps/ia64/fpu/w_lgamma_main.c
21136 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21137 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21139 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21141 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21142 address of $global$ into %dp register earlier. Use pc-relative
21143 instruction sequence for PIC case.
21145 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21147 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21148 (asinhf): Define using libm_alias_float.
21149 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21150 (atanf): Define using libm_alias_float.
21151 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21152 (cbrtf): Define using libm_alias_float.
21153 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21154 (ceilf): Define using libm_alias_float.
21155 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21156 (copysignf): Define using libm_alias_float.
21157 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21158 (expm1f): Define using libm_alias_float.
21159 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21160 (fabsf): Define using libm_alias_float.
21161 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21162 (floorf): Define using libm_alias_float.
21163 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21164 (fmaxf): Define using libm_alias_float.
21165 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21166 (fminf): Define using libm_alias_float.
21167 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21168 (frexpf): Define using libm_alias_float.
21169 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21170 (llrintf): Define using libm_alias_float.
21171 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21172 (logbf): Define using libm_alias_float.
21173 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21174 (lrintf): Define using libm_alias_float.
21175 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21176 (nearbyintf): Define using libm_alias_float.
21177 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21178 (remquof): Define using libm_alias_float.
21179 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21180 (rintf): Define using libm_alias_float.
21181 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21182 (truncf): Define using libm_alias_float.
21183 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21184 <libm-alias-float.h>.
21185 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21187 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21188 <libm-alias-float.h>.
21189 (expf): Define using libm_alias_float, or libm_alias_float_other
21191 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21192 <libm-alias-float.h>.
21193 (log2f): Define using libm_alias_float, or libm_alias_float_other
21195 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21196 <libm-alias-float.h>.
21197 (logf): Define using libm_alias_float, or libm_alias_float_other
21199 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21200 <libm-alias-float.h>.
21201 (powf): Define using libm_alias_float, or libm_alias_float_other
21203 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21204 <libm-alias-float.h>.
21205 (cosf): Define using libm_alias_float.
21206 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21207 <libm-alias-float.h>.
21208 (sincosf): Define using libm_alias_float.
21209 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21210 <libm-alias-float.h>.
21211 (sinf): Define using libm_alias_float.
21212 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21213 (fmaxf): Define using libm_alias_float.
21214 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21215 (fminf): Define using libm_alias_float.
21216 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21217 <libm-alias-float.h>.
21218 (fmaf): Define using libm_alias_float.
21220 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21221 (asinh): Define using libm_alias_double.
21222 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21223 (atan): Define using libm_alias_double.
21224 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21225 (cbrt): Define using libm_alias_double.
21226 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21227 (ceil): Define using libm_alias_double.
21228 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21229 (copysign): Define using libm_alias_double.
21230 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21231 (expm1): Define using libm_alias_double.
21232 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21233 (fabs): Define using libm_alias_double.
21234 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21235 (fdim): Define using libm_alias_double.
21236 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21237 (floor): Define using libm_alias_double.
21238 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21239 (fmax): Define using libm_alias_double.
21240 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21241 (fmin): Define using libm_alias_double.
21242 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21243 (frexp): Define using libm_alias_double.
21244 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21245 (llrint): Define using libm_alias_double.
21246 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21247 (logb): Define using libm_alias_double.
21248 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21249 (lrint): Define using libm_alias_double.
21250 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21251 (nearbyint): Define using libm_alias_double.
21252 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21253 (remquo): Define using libm_alias_double.
21254 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21255 (rint): Define using libm_alias_double.
21256 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21257 (trunc): Define using libm_alias_double.
21258 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21259 (fmax): Define using libm_alias_double.
21260 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21261 (fmin): Define using libm_alias_double.
21262 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21263 (fma): Define using libm_alias_double.
21265 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21268 * elf/dl-hwcaps.c (ROUND): Removed.
21269 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21270 and ELF_NOTE_NEXT_OFFSET.
21271 * elf/dl-load.c (ROUND): Removed.
21272 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21273 * elf/readelflib.c (ROUND): Removed.
21274 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21275 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21276 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21277 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21279 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21281 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21282 [!__fmaf] (fmaf): Define using libm_alias_float.
21284 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21285 [!__fma] (fma): Define using libm_alias_double.
21286 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21288 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21291 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21292 and implement the collation rules for cs from CLDR on top of that.
21293 * Makefile: Add cs_CZ.UTF-8 to test-input.
21294 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21296 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21298 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21300 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21301 Icarus Sparry <icarus.w.sparry@intel.com>
21303 * benchtests/Makefile:Add BENCHSET to allow subsets of
21304 benchmarks to be run.
21305 * benchtests/README: Add documentation for: Running subsets of
21308 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21310 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21311 range of tests names.
21313 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21314 result from property and remove "max", min" and "mean" from
21315 required properties based on benchtests/bench-skeleton.c.
21317 2017-11-28 Florian Weimer <fweimer@redhat.com>
21320 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21321 due to Internet requirement.
21322 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21324 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21326 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21328 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21329 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21330 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21331 (sysdep_routines): Add memset-ultra1.
21332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21335 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21336 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21337 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21338 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21339 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21340 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21341 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21346 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21347 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21348 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21349 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21350 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21351 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21354 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21355 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21356 (sysdep_routines): Add memcpy-ultra1.
21357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21358 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21360 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21362 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21363 (cfloat_versions): Take function argument without trailing 'f'.
21364 Call libm_alias_float_other.
21365 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21366 * sysdeps/alpha/fpu/cargf.c: Likewise.
21367 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21368 * sysdeps/alpha/fpu/conjf.c: Likewise.
21369 * sysdeps/alpha/fpu/crealf.c: Likewise.
21370 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21371 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21372 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21373 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21374 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21375 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21376 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21377 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21378 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21379 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21380 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21381 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21382 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21383 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21384 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21385 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21386 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21387 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21388 (clog10f): Use libm_alias_float_other.
21389 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21390 (ceilf): Define using libm_alias_float.
21391 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21392 (copysignf): Define using libm_alias_float.
21393 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21394 (fabsf): Define using libm_alias_float.
21395 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21396 (floorf): Define using libm_alias_float.
21397 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21398 (fmaxf): Define using libm_alias_float.
21399 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21400 (fminf): Define using libm_alias_float.
21401 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21402 (lrintf): Define using libm_alias_float.
21403 (llrintf): Likewise.
21404 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21405 (lroundf): Define using libm_alias_float.
21406 (llroundf): Likewise.
21407 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21408 (rintf): Define using libm_alias_float.
21409 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21410 (truncf): Define using libm_alias_float.
21412 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21413 (ceilf): Define using libm_alias_float.
21414 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21415 (floorf): Define using libm_alias_float.
21416 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21417 (fmaf): Define using libm_alias_float.
21418 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21419 (fmaxf): Define using libm_alias_float.
21420 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21421 (fminf): Define using libm_alias_float.
21422 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21423 (llrintf): Define using libm_alias_float.
21424 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21425 (llroundf): Define using libm_alias_float.
21426 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21427 (lrintf): Define using libm_alias_float.
21428 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21429 (lroundf): Define using libm_alias_float.
21430 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21431 <libm-alias-float.h>.
21432 (nearbyintf): Define using libm_alias_float.
21433 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21434 (rintf): Define using libm_alias_float.
21435 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21436 (roundf): Define using libm_alias_float.
21437 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21438 (truncf): Define using libm_alias_float.
21440 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21441 (ceil): Define using libm_alias_double.
21442 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21443 (copysign): Define using libm_alias_double.
21444 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21445 (fabs): Define using libm_alias_double.
21446 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21447 (floor): Define using libm_alias_double.
21448 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21449 (fmax): Define using libm_alias_double.
21450 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21451 (fmin): Define using libm_alias_double.
21452 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21453 (lrint): Define using libm_alias_double.
21454 (llrint): Likewise.
21455 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21456 (lround): Define using libm_alias_double.
21457 (llround): Likewise.
21458 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21459 (rint): Define using libm_alias_double.
21460 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21461 (trunc): Define using libm_alias_double.
21463 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21464 (libm_alias_double_r): Add semicolon after weak_alias call.
21466 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21468 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21469 (ceil): Define using libm_alias_double.
21470 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21471 (floor): Define using libm_alias_double.
21472 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21473 (fma): Define using libm_alias_double.
21474 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21475 (fmax): Define using libm_alias_double.
21476 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21477 (fmin): Define using libm_alias_double.
21478 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21479 (llrint): Define using libm_alias_double.
21480 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21481 (llround): Define using libm_alias_double.
21482 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21483 (lrint): Define using libm_alias_double.
21484 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21485 (lround): Define using libm_alias_double.
21486 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21487 (nearbyint): Define using libm_alias_double.
21488 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21489 (rint): Define using libm_alias_double.
21490 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21491 (round): Define using libm_alias_double.
21492 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21493 (trunc): Define using libm_alias_double.
21495 2017-11-27 Florian Weimer <fweimer@redhat.com>
21497 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21498 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21499 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21500 (tests): Add tst-mlock2.
21501 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21503 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21504 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21505 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21506 for mlock. Document mlock2.
21508 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21510 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21511 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21513 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21515 * sysdeps/x86/Makeconfig: New file.
21516 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21517 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21518 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21519 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21520 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21521 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21522 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21524 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21525 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21526 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21527 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21528 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21529 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21530 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21531 * manual/math.texi (Mathematics): Document support for _Float64x.
21532 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21533 * stdlib/Versions (GLIBC_2.27): Likewise.
21534 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21535 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21550 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21559 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21562 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21563 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21565 2017-11-27 Andreas Schwab <schwab@suse.de>
21567 * elf/Makefile (dl-routines): Add dl-sort-maps.
21568 * elf/dl-sort-maps.c: New file.
21569 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21570 (_dl_sort_maps): Declare.
21571 * elf/dl-fini.c (_dl_sort_fini): Remove.
21572 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21573 * elf/dl-close.c (_dl_close_worker): Likewise.
21574 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21576 * elf/dl-open.c (dl_open_worker): Likewise.
21578 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21580 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21581 using libm_alias_float128.
21582 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21584 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21586 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21587 (setpayloadsigf128): Likewise.
21588 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21590 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21593 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21594 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21595 -mfloat128 to CFLAGS.
21597 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21599 (CFLAGS-libm-test-support-float64x.c): New variable.
21600 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21601 $(f128-loader-link) to gnulib-tests.
21603 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21604 (libm_alias_float128_other_r): If
21605 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21607 (libm_alias_float128_r): Add semicolon after weak_alias call.
21608 * sysdeps/generic/libm-alias-ldouble.h
21609 (libm_alias_ldouble_other_r_f128): New macro.
21610 (libm_alias_ldouble_other_r_f64x): Likewise.
21611 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21612 and libm_alias_ldouble_other_r_f64x.
21613 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21614 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21615 (libm_alias_ldouble_other_r_f128): New macro.
21616 (libm_alias_ldouble_other_r_f64x): Likewise.
21617 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21618 and libm_alias_ldouble_other_r_f64x.
21620 * stdlib/strfroml.c: Always include <stdlib.h>.
21621 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21622 undefine as macro and define as weak alias.
21623 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21624 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21626 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21627 Define and later undefine as macro and define as weak alias.
21629 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21630 Define and later undefine as macro. Define as weak alias if
21632 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21633 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21634 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21635 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21636 Define and later undefine as macro. Define as weak alias if
21638 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21639 Define and later undefine as macro. Define as weak alias if
21641 * sysdeps/ieee754/float128/strtof128_l.c
21642 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21643 Define and later undefine as macro. Define as weak alias if
21645 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21646 Define and later undefine as macro. Define as weak alias if
21648 * sysdeps/ieee754/ldbl-128/strtold_l.c
21649 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21650 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21651 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21652 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21653 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21654 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21655 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21656 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21657 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21658 * sysdeps/ieee754/ldbl-96/strtold_l.c
21659 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21660 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21661 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21662 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21664 * math/test-float64x.h: New file.
21665 * math/Makefile (type-float64x-yes): New variable.
21666 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21668 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21669 function-like macro.
21670 (min_of_type_): Likewise.
21671 (min_of_type_l): Likewise.
21672 (min_of_type_f128): Likewise.
21673 (min_of_type): Pass () as last argument of __MATH_TG.
21675 * stdlib/tst-strtod-round-skeleton.c
21676 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21679 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21680 for combinations of long double with _Float64 and _Float64x.
21682 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21683 (__DECL_SIMD_cosf32): Likewise.
21684 (__DECL_SIMD_cosf64): Likewise.
21685 (__DECL_SIMD_cosf32x): Likewise.
21686 (__DECL_SIMD_cosf64x): Likewise.
21687 (__DECL_SIMD_cosf128x): Likewise.
21688 (__DECL_SIMD_sinf16): Likewise.
21689 (__DECL_SIMD_sinf32): Likewise.
21690 (__DECL_SIMD_sinf64): Likewise.
21691 (__DECL_SIMD_sinf32x): Likewise.
21692 (__DECL_SIMD_sinf64x): Likewise.
21693 (__DECL_SIMD_sinf128x): Likewise.
21694 (__DECL_SIMD_sincosf16): Likewise.
21695 (__DECL_SIMD_sincosf32): Likewise.
21696 (__DECL_SIMD_sincosf64): Likewise.
21697 (__DECL_SIMD_sincosf32x): Likewise.
21698 (__DECL_SIMD_sincosf64x): Likewise.
21699 (__DECL_SIMD_sincosf128x): Likewise.
21700 (__DECL_SIMD_logf16): Likewise.
21701 (__DECL_SIMD_logf32): Likewise.
21702 (__DECL_SIMD_logf64): Likewise.
21703 (__DECL_SIMD_logf32x): Likewise.
21704 (__DECL_SIMD_logf64x): Likewise.
21705 (__DECL_SIMD_logf128x): Likewise.
21706 (__DECL_SIMD_expf16): Likewise.
21707 (__DECL_SIMD_expf32): Likewise.
21708 (__DECL_SIMD_expf64): Likewise.
21709 (__DECL_SIMD_expf32x): Likewise.
21710 (__DECL_SIMD_expf64x): Likewise.
21711 (__DECL_SIMD_expf128x): Likewise.
21712 (__DECL_SIMD_powf16): Likewise.
21713 (__DECL_SIMD_powf32): Likewise.
21714 (__DECL_SIMD_powf64): Likewise.
21715 (__DECL_SIMD_powf32x): Likewise.
21716 (__DECL_SIMD_powf64x): Likewise.
21717 (__DECL_SIMD_powf128x): Likewise.
21719 * stdlib/Versions (libc): Move entries for wcstof128 and
21720 wcstof128_l to ....
21721 * wcsmbs/Versions (libc): ... here.
21722 Include <float128-abi.h>.
21724 2017-11-24 Florian Weimer <fweimer@redhat.com>
21726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21727 bits/mman-shared.h.
21728 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21729 <bits/mman-shared.h>.
21730 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21732 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21733 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21734 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21735 <bits/mman-shared.h>.
21737 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21740 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21741 posix_memalign/free.
21742 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21744 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21747 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21748 and implement the collation rules for pl from CLDR on top of that.
21749 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21750 of locales to be built for testing.
21751 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21753 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21755 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21756 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21757 libm_alias_ldouble_other.
21758 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21759 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21760 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21761 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21762 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21763 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21764 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21765 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21766 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21767 libm_alias_ldouble_r.
21768 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21769 libm_alias_ldouble_other.
21770 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21771 (log10l): Likewise.
21772 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21773 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21774 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21775 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21776 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21777 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21778 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21779 (atan2l): Likewise.
21780 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21781 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21782 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21783 libm_alias_ldouble.
21784 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21786 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21787 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21788 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21790 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21791 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21792 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21793 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21794 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21795 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21796 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21797 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21798 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21799 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21800 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21801 libm_alias_ldouble.
21802 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21803 libm_alias_ldouble_other.
21804 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21805 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21806 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21807 libm_alias_ldouble.
21808 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21809 libm_alias_ldouble_other.
21810 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21811 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21812 * sysdeps/ia64/fpu/w_lgammal_main.c
21813 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21814 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21816 2017-11-23 Florian Weimer <fweimer@redhat.com>
21818 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21819 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21820 alike. Remove freeres marker.
21821 * malloc/arena.c (arena_thread_freeres): Call
21822 tcache_thread_shutdown.
21824 2017-11-23 Florian Weimer <fweimer@redhat.com>
21827 Export nscd hash function as __nss_hash.
21828 * include/nss.h (__nss_hash): Declare.
21829 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21831 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21832 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21834 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21835 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21836 * nss/Makefiles (routines): Add nss_hash.
21837 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21838 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21839 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21840 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21842 2017-11-23 Florian Weimer <fweimer@redhat.com>
21845 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21846 Return error code, not -1.
21847 * signal/tst-sigwait-eintr.c: New file.
21848 * signal/Makefile (tests): Add tst-sigwait-eintr.
21850 2017-11-23 Florian Weimer <fweimer@redhat.com>
21852 Linux: Add memfd_create system call wrapper
21853 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21855 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21856 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21857 [__USE_GNU] (memfd_create): Declare.
21858 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21859 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21860 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21861 * sysdeps/unix/sysv/linux/**.abilist: Update.
21862 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21864 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21866 * localedata/gen-locale.sh: Fix typo in variable name.
21868 * resolv/res_debug.c (p_secstodate): Condition definition on
21869 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21870 directly as __p_secstodate, and as a compat symbol. Do not use
21871 libresolv_hidden_def.
21872 * resolv/resolv.h (p_secstodate): Remove macro and function
21874 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21875 using p_secstodate.
21876 * include/resolv.h (__p_secstodate): Do not use
21877 libresolv_hidden_proto.
21878 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21879 (tests-internal): ... here.
21880 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21881 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21882 and declare and use __p_secstodate and use compat_symbol_reference
21884 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21885 implementation returning 77.
21888 * resolv/res_debug.c: Include <libc-diag.h>.
21889 (p_secstodate): Assert time_t at least as wide as u_long. On
21890 overflow, use integer seconds since the epoch as output, or use
21891 "<overflow>" as output and set errno to EOVERFLOW if integer
21892 seconds since the epoch would be 14 or more characters.
21893 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21895 * resolv/tst-p_secstodate.c: New file.
21896 * resolv/Makefile (tests): Add tst-p_secstodate.
21897 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21899 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21900 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21901 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21903 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21905 * posix/regcomp.c (init_word_char): Add comments.
21907 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21910 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21911 strlen to compute length of ut_user and set trailing NUL byte of
21914 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21917 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21918 using “copy "iso14651_t1"” and then implementing the
21919 collation rules for lv from CLDR on top of that.
21920 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21921 of locales to be built for testing.
21922 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21925 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21927 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21928 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21929 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21930 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21931 [__USE_MISC] (MADV_HWPOISON): New macro.
21932 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21934 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21936 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21937 -Wmissing-braces on GCC 4.9.
21939 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21941 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21942 * sysdeps/s390/s390-32/start.S (_start): Likewise
21943 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21944 (thread_start): Likewise.
21945 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21946 (thread_start): Likewise.
21947 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21948 (__makecontext_ret): Likewise.
21949 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21950 (__makecontext_ret): Likewise.
21952 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21954 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21955 __wcschrnul): Remove attribute_hidden.
21957 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21959 regex: don't assume uint64_t or uint32_t
21960 This avoids -Werror=overflow errors for 32-bit systems in
21961 the 64-bit case. Problem reported by Joseph Myers in:
21962 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21963 Also, when this code is used in Gnulib it ports to platforms
21964 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21965 them, and on some 32-bit compilers there is no uint64_t.
21966 Problem reported by Gianluigi Tiesi in:
21967 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21968 * posix/regcomp.c (init_word_char): Don't assume that the types
21969 uint64_t and uint32_t exist. Adapted from Gnulib patch
21970 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21971 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21973 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21975 * sysdeps/aarch64/memset-reg.h: New file.
21976 * sysdeps/aarch64/memset.S: Use it.
21977 (__memset): Rename to MEMSET macro.
21978 [ZVA_MACRO]: Use zva_macro.
21979 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21980 Add memset_generic and memset_falkor.
21981 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21982 (__libc_ifunc_impl_list): Add memset ifuncs.
21983 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21984 local variable zva_size.
21985 * sysdeps/aarch64/multiarch/memset.c: New file.
21986 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21987 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21988 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21990 (DCZID_DZP_MASK): New macro.
21991 (DCZID_BS_MASK): Likewise.
21992 (init_cpu_features): Read and set zva_size.
21993 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21994 (struct cpu_features): New member zva_size.
21996 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21997 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21998 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22000 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22001 backwards. Fix timing computation.
22002 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22003 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22004 on memset by N at a time. Fix timing computation.
22006 2017-11-20 Florian Weimer <fweimer@redhat.com>
22008 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22009 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22011 2017-11-19 Florian Weimer <fweimer@redhat.com>
22013 manual: Document mprotect
22014 * manual/memory.texi (Memory Protection): New section.
22015 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22016 documentation of PROT_* flags and reference the Memory Protection
22019 2017-11-19 Florian Weimer <fweimer@redhat.com>
22021 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22022 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22023 (Scatter-Gather): ... to here. Remove misleading comment.
22025 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22027 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22030 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22031 when /proc/<pid>/setgroups does not exist.
22033 2017-11-18 Florian Weimer <fweimer@redhat.com>
22035 * sysdeps/unix/sysv/linux/tst-ttyname.c
22036 (become_root_in_mount_ns): Remove.
22037 (do_in_chroot_1): Call support_enter_mount_namespace.
22038 (do_in_chroot_2): Likewise.
22039 (do_test): Call support_become_root early.
22041 2017-11-18 Florian Weimer <fweimer@redhat.com>
22043 * support/namespace.h (support_enter_mount_namespace): Declare.
22044 * support/support_enter_mount_namespace.c: New file.
22045 * support/Makefile (libsupport-routines): Add
22046 support_enter_mount_namespace.
22048 2017-11-18 Florian Weimer <fweimer@redhat.com>
22050 * support/temp_file.c (support_create_temp_directory): Use
22051 test_dir and do not rely on the presence of the XXXXXX suffix.
22052 * support/temp_file.h (support_create_temp_directory): Update
22054 * support/tst-xreadlink.c (do_test): Adjust.
22055 * support/support_chroot.c (support_chroot_create): Likewise.
22057 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22059 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22064 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22066 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22067 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22068 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22069 (ceill): Define using libm_alias_ldouble.
22070 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22071 <libm-alias-ldouble.h>.
22072 (copysignl): Define using libm_alias_ldouble.
22073 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22074 (fabsl): Define using libm_alias_ldouble.
22075 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22076 (floorl): Define using libm_alias_ldouble.
22077 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22078 (fmaxl): Define using libm_alias_ldouble.
22079 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22080 (fminl): Define using libm_alias_ldouble.
22081 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22082 (llrintl): Define using libm_alias_ldouble.
22083 (lrintl): Likewise.
22084 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22085 <libm-alias-ldouble.h>.
22086 (nearbyintl): Define using libm_alias_ldouble.
22087 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22088 (truncl): Define using libm_alias_ldouble.
22089 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22090 <libm-alias-ldouble.h>.
22091 (lrintl): Define using libm_alias_ldouble.
22093 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22094 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22095 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22096 (asinhl): Define using libm_alias_ldouble.
22097 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22098 (atanl): Define using libm_alias_ldouble.
22099 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22100 (cbrtl): Define using libm_alias_ldouble.
22101 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22102 (ceill): Define using libm_alias_ldouble.
22103 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22104 (copysignl): Define using libm_alias_ldouble.
22105 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22106 (fabsl): Define using libm_alias_ldouble.
22107 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22108 (floorl): Define using libm_alias_ldouble.
22109 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22110 (fmaxl): Define using libm_alias_ldouble.
22111 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22112 (fminl): Define using libm_alias_ldouble.
22113 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22114 (frexpl): Define using libm_alias_ldouble.
22115 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22116 (llrintl): Define using libm_alias_ldouble.
22117 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22118 (logbl): Define using libm_alias_ldouble.
22119 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22120 (lrintl): Define using libm_alias_ldouble.
22121 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22122 (nearbyintl): Define using libm_alias_ldouble.
22123 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22124 (nextafterl): Define using libm_alias_ldouble.
22125 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22126 (remquol): Define using libm_alias_ldouble.
22127 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22128 (rintl): Define using libm_alias_ldouble.
22129 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22130 (truncl): Define using libm_alias_ldouble.
22131 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22132 (fmaxl): Define using libm_alias_ldouble.
22133 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22134 (fminl): Define using libm_alias_ldouble.
22136 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22137 to C syntax instead of availability and properties of types.
22138 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22139 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22140 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22141 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22142 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22143 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22145 2017-11-17 Florian Weimer <fweimer@redhat.com>
22147 support_become_root: Enable file creation in namespaces.
22148 * support/support_become_root.c (setup_mapping): New function.
22149 (support_become_root): Call it.
22151 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22153 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22156 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22158 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22159 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22161 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22163 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22165 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22168 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22170 * INSTALL: Fix botched up regeneration.
22172 * NEWS: Update sourceare link to https.
22173 * configure.ac: Likewise.
22174 * crypt/md5test-giant.c: Likewise.
22175 * dlfcn/bug-atexit1.c: Likewise.
22176 * dlfcn/bug-atexit2.c: Likewise.
22177 * localedata/README: Likewise.
22178 * malloc/tst-mallocfork.c: Likewise.
22179 * manual/install.texi: Likewise.
22180 * nptl/tst-pthread-getattr.c: Likewise.
22181 * stdio-common/tst-fgets.c: Likewise.
22182 * stdio-common/tst-fwrite.c: Likewise.
22183 * sunrpc/Makefile: Likewise.
22184 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22185 * wcsmbs/tst-mbrtowc2.c: Likewise.
22186 * configure: Regenerate.
22187 * INSTALL: Regenerate.
22189 2017-11-15 Martin Sebor <msebor@redhat.com>
22191 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22192 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22193 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22195 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22198 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22199 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22202 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22203 Defer is_pty check until end of the function.
22204 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22207 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22208 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22209 (ttyname): Likewise.
22210 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22211 (__ttyname_r): Likewise.
22213 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22216 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22218 * manual/terminal.texi (Is It a Terminal):
22219 Mention ENODEV for ttyname and ttyname_r.
22221 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22223 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22224 constant and macro.
22226 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22227 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22228 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22229 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22230 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22231 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22233 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22235 * signal/sigrelse.c (sigrelse): Optimize implementation.
22237 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22238 (__sigpause): Rely on __sigsuspend to implement single thread
22239 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22241 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22243 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22244 kernel version to 4.14.
22246 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22249 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22250 Check if ifname is too long.
22252 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22254 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22256 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22258 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22259 was accidentally lost.
22261 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22263 * localedata/locales/az_IR: Add standard copyright header.
22265 2017-11-15 Florian Weimer <fweimer@redhat.com>
22268 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22269 not just the top one. Output a new "subheaps" statistic.
22271 2017-11-15 Florian Weimer <fweimer@redhat.com>
22274 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22275 under the per-arena lock.
22276 * malloc/Makefile (tests): Add tst-malloc_info.
22277 (tst-malloc_info): Link with libpthread.
22278 * malloc/tst-malloc_info.c: New file.
22280 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22283 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22284 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22285 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22286 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22287 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22288 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22289 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22290 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22293 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22294 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22295 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22297 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22299 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22300 (__floating_type): Likewise.
22301 (__real_integer_type): Likewise.
22302 (__complex_integer_type): Likewise.
22303 (__expr_is_real): Likewise.
22304 (__tgmath_real_type_sub): Likewise.
22305 (__tgmath_real_type): Likewise.
22306 (__tgmath_complex_type_sub): Likewise.
22307 (__tgmath_complex_type): Likewise.
22308 (__TGMATH_F128): Likewise.
22309 (__TGMATH_CF128): Likewise.
22310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22312 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22313 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22315 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22318 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22330 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22331 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22335 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22337 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22338 for stpncpy calls for GCC 8.
22339 (test_strncat): Disable -Wstringop-truncation warning for strncat
22340 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22341 strncat call for GCC 7.
22342 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22344 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22347 * string/bug-strncat1.c: Include <libc-diag.h>.
22348 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22350 2017-11-13 Claude Paroz <claude@2xlibre.net>
22353 * localedata/locales/aa_DJ: Improved readibility by replacing
22354 <Uxxxx> sequences in the ASCII printable range by their ASCII
22355 character equivalents.
22356 * localedata/locales/aa_ER: Likewise.
22357 * localedata/locales/aa_ER@saaho: Likewise.
22358 * localedata/locales/aa_ET: Likewise.
22359 * localedata/locales/af_ZA: Likewise.
22360 * localedata/locales/agr_PE: Likewise.
22361 * localedata/locales/ak_GH: Likewise.
22362 * localedata/locales/am_ET: Likewise.
22363 * localedata/locales/anp_IN: Likewise.
22364 * localedata/locales/ar_AE: Likewise.
22365 * localedata/locales/ar_BH: Likewise.
22366 * localedata/locales/ar_DZ: Likewise.
22367 * localedata/locales/ar_EG: Likewise.
22368 * localedata/locales/ar_IN: Likewise.
22369 * localedata/locales/ar_IQ: Likewise.
22370 * localedata/locales/ar_JO: Likewise.
22371 * localedata/locales/ar_KW: Likewise.
22372 * localedata/locales/ar_LB: Likewise.
22373 * localedata/locales/ar_LY: Likewise.
22374 * localedata/locales/ar_MA: Likewise.
22375 * localedata/locales/ar_OM: Likewise.
22376 * localedata/locales/ar_QA: Likewise.
22377 * localedata/locales/ar_SA: Likewise.
22378 * localedata/locales/ar_SD: Likewise.
22379 * localedata/locales/ar_SS: Likewise.
22380 * localedata/locales/ar_SY: Likewise.
22381 * localedata/locales/ar_TN: Likewise.
22382 * localedata/locales/ar_YE: Likewise.
22383 * localedata/locales/as_IN: Likewise.
22384 * localedata/locales/ast_ES: Likewise.
22385 * localedata/locales/ayc_PE: Likewise.
22386 * localedata/locales/az_AZ: Likewise.
22387 * localedata/locales/az_IR: Likewise.
22388 * localedata/locales/be_BY: Likewise.
22389 * localedata/locales/be_BY@latin: Likewise.
22390 * localedata/locales/bem_ZM: Likewise.
22391 * localedata/locales/ber_DZ: Likewise.
22392 * localedata/locales/ber_MA: Likewise.
22393 * localedata/locales/bg_BG: Likewise.
22394 * localedata/locales/bhb_IN: Likewise.
22395 * localedata/locales/bho_IN: Likewise.
22396 * localedata/locales/bi_VU: Likewise.
22397 * localedata/locales/bn_BD: Likewise.
22398 * localedata/locales/bn_IN: Likewise.
22399 * localedata/locales/bo_CN: Likewise.
22400 * localedata/locales/bo_IN: Likewise.
22401 * localedata/locales/br_FR: Likewise.
22402 * localedata/locales/brx_IN: Likewise.
22403 * localedata/locales/bs_BA: Likewise.
22404 * localedata/locales/byn_ER: Likewise.
22405 * localedata/locales/ca_AD: Likewise.
22406 * localedata/locales/ca_ES: Likewise.
22407 * localedata/locales/ca_FR: Likewise.
22408 * localedata/locales/ca_IT: Likewise.
22409 * localedata/locales/ce_RU: Likewise.
22410 * localedata/locales/chr_US: Likewise.
22411 * localedata/locales/cmn_TW: Likewise.
22412 * localedata/locales/crh_UA: Likewise.
22413 * localedata/locales/cs_CZ: Likewise.
22414 * localedata/locales/csb_PL: Likewise.
22415 * localedata/locales/cv_RU: Likewise.
22416 * localedata/locales/cy_GB: Likewise.
22417 * localedata/locales/da_DK: Likewise.
22418 * localedata/locales/de_AT: Likewise.
22419 * localedata/locales/de_BE: Likewise.
22420 * localedata/locales/de_CH: Likewise.
22421 * localedata/locales/de_DE: Likewise.
22422 * localedata/locales/de_IT: Likewise.
22423 * localedata/locales/de_LI: Likewise.
22424 * localedata/locales/de_LU: Likewise.
22425 * localedata/locales/doi_IN: Likewise.
22426 * localedata/locales/dv_MV: Likewise.
22427 * localedata/locales/dz_BT: Likewise.
22428 * localedata/locales/el_CY: Likewise.
22429 * localedata/locales/el_GR: Likewise.
22430 * localedata/locales/en_AG: Likewise.
22431 * localedata/locales/en_AU: Likewise.
22432 * localedata/locales/en_BW: Likewise.
22433 * localedata/locales/en_CA: Likewise.
22434 * localedata/locales/en_DK: Likewise.
22435 * localedata/locales/en_GB: Likewise.
22436 * localedata/locales/en_HK: Likewise.
22437 * localedata/locales/en_IE: Likewise.
22438 * localedata/locales/en_IL: Likewise.
22439 * localedata/locales/en_IN: Likewise.
22440 * localedata/locales/en_NG: Likewise.
22441 * localedata/locales/en_NZ: Likewise.
22442 * localedata/locales/en_PH: Likewise.
22443 * localedata/locales/en_SG: Likewise.
22444 * localedata/locales/en_US: Likewise.
22445 * localedata/locales/en_ZA: Likewise.
22446 * localedata/locales/en_ZM: Likewise.
22447 * localedata/locales/en_ZW: Likewise.
22448 * localedata/locales/eo: Likewise.
22449 * localedata/locales/es_AR: Likewise.
22450 * localedata/locales/es_BO: Likewise.
22451 * localedata/locales/es_CL: Likewise.
22452 * localedata/locales/es_CO: Likewise.
22453 * localedata/locales/es_CR: Likewise.
22454 * localedata/locales/es_CU: Likewise.
22455 * localedata/locales/es_DO: Likewise.
22456 * localedata/locales/es_EC: Likewise.
22457 * localedata/locales/es_ES: Likewise.
22458 * localedata/locales/es_GT: Likewise.
22459 * localedata/locales/es_HN: Likewise.
22460 * localedata/locales/es_MX: Likewise.
22461 * localedata/locales/es_NI: Likewise.
22462 * localedata/locales/es_PA: Likewise.
22463 * localedata/locales/es_PE: Likewise.
22464 * localedata/locales/es_PR: Likewise.
22465 * localedata/locales/es_PY: Likewise.
22466 * localedata/locales/es_SV: Likewise.
22467 * localedata/locales/es_US: Likewise.
22468 * localedata/locales/es_UY: Likewise.
22469 * localedata/locales/es_VE: Likewise.
22470 * localedata/locales/et_EE: Likewise.
22471 * localedata/locales/eu_ES: Likewise.
22472 * localedata/locales/eu_ES@euro: Likewise.
22473 * localedata/locales/fa_IR: Likewise.
22474 * localedata/locales/ff_SN: Likewise.
22475 * localedata/locales/fi_FI: Likewise.
22476 * localedata/locales/fil_PH: Likewise.
22477 * localedata/locales/fo_FO: Likewise.
22478 * localedata/locales/fr_BE: Likewise.
22479 * localedata/locales/fr_CA: Likewise.
22480 * localedata/locales/fr_CH: Likewise.
22481 * localedata/locales/fr_FR: Likewise.
22482 * localedata/locales/fr_LU: Likewise.
22483 * localedata/locales/fur_IT: Likewise.
22484 * localedata/locales/fy_DE: Likewise.
22485 * localedata/locales/fy_NL: Likewise.
22486 * localedata/locales/ga_IE: Likewise.
22487 * localedata/locales/gd_GB: Likewise.
22488 * localedata/locales/gez_ER: Likewise.
22489 * localedata/locales/gez_ET: Likewise.
22490 * localedata/locales/gl_ES: Likewise.
22491 * localedata/locales/gu_IN: Likewise.
22492 * localedata/locales/gv_GB: Likewise.
22493 * localedata/locales/ha_NG: Likewise.
22494 * localedata/locales/hak_TW: Likewise.
22495 * localedata/locales/he_IL: Likewise.
22496 * localedata/locales/hi_IN: Likewise.
22497 * localedata/locales/hif_FJ: Likewise.
22498 * localedata/locales/hne_IN: Likewise.
22499 * localedata/locales/hr_HR: Likewise.
22500 * localedata/locales/hsb_DE: Likewise.
22501 * localedata/locales/ht_HT: Likewise.
22502 * localedata/locales/hu_HU: Likewise.
22503 * localedata/locales/hy_AM: Likewise.
22504 * localedata/locales/i18n: Likewise.
22505 * localedata/locales/ia_FR: Likewise.
22506 * localedata/locales/id_ID: Likewise.
22507 * localedata/locales/ig_NG: Likewise.
22508 * localedata/locales/ik_CA: Likewise.
22509 * localedata/locales/is_IS: Likewise.
22510 * localedata/locales/it_CH: Likewise.
22511 * localedata/locales/it_IT: Likewise.
22512 * localedata/locales/iu_CA: Likewise.
22513 * localedata/locales/ja_JP: Likewise.
22514 * localedata/locales/ka_GE: Likewise.
22515 * localedata/locales/kk_KZ: Likewise.
22516 * localedata/locales/kl_GL: Likewise.
22517 * localedata/locales/kn_IN: Likewise.
22518 * localedata/locales/ko_KR: Likewise.
22519 * localedata/locales/kok_IN: Likewise.
22520 * localedata/locales/ks_IN: Likewise.
22521 * localedata/locales/ks_IN@devanagari: Likewise.
22522 * localedata/locales/ku_TR: Likewise.
22523 * localedata/locales/kw_GB: Likewise.
22524 * localedata/locales/ky_KG: Likewise.
22525 * localedata/locales/lb_LU: Likewise.
22526 * localedata/locales/lg_UG: Likewise.
22527 * localedata/locales/li_BE: Likewise.
22528 * localedata/locales/li_NL: Likewise.
22529 * localedata/locales/lij_IT: Likewise.
22530 * localedata/locales/ln_CD: Likewise.
22531 * localedata/locales/lo_LA: Likewise.
22532 * localedata/locales/lt_LT: Likewise.
22533 * localedata/locales/lv_LV: Likewise.
22534 * localedata/locales/lzh_TW: Likewise.
22535 * localedata/locales/mag_IN: Likewise.
22536 * localedata/locales/mai_IN: Likewise.
22537 * localedata/locales/mg_MG: Likewise.
22538 * localedata/locales/mhr_RU: Likewise.
22539 * localedata/locales/mi_NZ: Likewise.
22540 * localedata/locales/mk_MK: Likewise.
22541 * localedata/locales/ml_IN: Likewise.
22542 * localedata/locales/mn_MN: Likewise.
22543 * localedata/locales/mni_IN: Likewise.
22544 * localedata/locales/mr_IN: Likewise.
22545 * localedata/locales/ms_MY: Likewise.
22546 * localedata/locales/mt_MT: Likewise.
22547 * localedata/locales/my_MM: Likewise.
22548 * localedata/locales/nan_TW: Likewise.
22549 * localedata/locales/nan_TW@latin: Likewise.
22550 * localedata/locales/nb_NO: Likewise.
22551 * localedata/locales/nds_DE: Likewise.
22552 * localedata/locales/nds_NL: Likewise.
22553 * localedata/locales/ne_NP: Likewise.
22554 * localedata/locales/nhn_MX: Likewise.
22555 * localedata/locales/niu_NU: Likewise.
22556 * localedata/locales/niu_NZ: Likewise.
22557 * localedata/locales/nl_AW: Likewise.
22558 * localedata/locales/nl_BE: Likewise.
22559 * localedata/locales/nl_NL: Likewise.
22560 * localedata/locales/nn_NO: Likewise.
22561 * localedata/locales/nr_ZA: Likewise.
22562 * localedata/locales/nso_ZA: Likewise.
22563 * localedata/locales/oc_FR: Likewise.
22564 * localedata/locales/om_ET: Likewise.
22565 * localedata/locales/om_KE: Likewise.
22566 * localedata/locales/or_IN: Likewise.
22567 * localedata/locales/os_RU: Likewise.
22568 * localedata/locales/pa_IN: Likewise.
22569 * localedata/locales/pa_PK: Likewise.
22570 * localedata/locales/pap_AW: Likewise.
22571 * localedata/locales/pap_CW: Likewise.
22572 * localedata/locales/pl_PL: Likewise.
22573 * localedata/locales/ps_AF: Likewise.
22574 * localedata/locales/pt_BR: Likewise.
22575 * localedata/locales/pt_PT: Likewise.
22576 * localedata/locales/quz_PE: Likewise.
22577 * localedata/locales/raj_IN: Likewise.
22578 * localedata/locales/ro_RO: Likewise.
22579 * localedata/locales/ru_RU: Likewise.
22580 * localedata/locales/ru_UA: Likewise.
22581 * localedata/locales/rw_RW: Likewise.
22582 * localedata/locales/sa_IN: Likewise.
22583 * localedata/locales/sat_IN: Likewise.
22584 * localedata/locales/sc_IT: Likewise.
22585 * localedata/locales/sd_IN: Likewise.
22586 * localedata/locales/sd_IN@devanagari: Likewise.
22587 * localedata/locales/se_NO: Likewise.
22588 * localedata/locales/sgs_LT: Likewise.
22589 * localedata/locales/shs_CA: Likewise.
22590 * localedata/locales/si_LK: Likewise.
22591 * localedata/locales/sid_ET: Likewise.
22592 * localedata/locales/sk_SK: Likewise.
22593 * localedata/locales/sl_SI: Likewise.
22594 * localedata/locales/sm_WS: Likewise.
22595 * localedata/locales/so_DJ: Likewise.
22596 * localedata/locales/so_ET: Likewise.
22597 * localedata/locales/so_KE: Likewise.
22598 * localedata/locales/so_SO: Likewise.
22599 * localedata/locales/sq_AL: Likewise.
22600 * localedata/locales/sq_MK: Likewise.
22601 * localedata/locales/sr_ME: Likewise.
22602 * localedata/locales/sr_RS: Likewise.
22603 * localedata/locales/sr_RS@latin: Likewise.
22604 * localedata/locales/ss_ZA: Likewise.
22605 * localedata/locales/st_ZA: Likewise.
22606 * localedata/locales/sv_FI: Likewise.
22607 * localedata/locales/sv_SE: Likewise.
22608 * localedata/locales/sw_KE: Likewise.
22609 * localedata/locales/sw_TZ: Likewise.
22610 * localedata/locales/szl_PL: Likewise.
22611 * localedata/locales/ta_IN: Likewise.
22612 * localedata/locales/ta_LK: Likewise.
22613 * localedata/locales/tcy_IN: Likewise.
22614 * localedata/locales/te_IN: Likewise.
22615 * localedata/locales/tg_TJ: Likewise.
22616 * localedata/locales/th_TH: Likewise.
22617 * localedata/locales/the_NP: Likewise.
22618 * localedata/locales/ti_ER: Likewise.
22619 * localedata/locales/ti_ET: Likewise.
22620 * localedata/locales/tig_ER: Likewise.
22621 * localedata/locales/tk_TM: Likewise.
22622 * localedata/locales/tl_PH: Likewise.
22623 * localedata/locales/tn_ZA: Likewise.
22624 * localedata/locales/to_TO: Likewise.
22625 * localedata/locales/tpi_PG: Likewise.
22626 * localedata/locales/tr_CY: Likewise.
22627 * localedata/locales/tr_TR: Likewise.
22628 * localedata/locales/ts_ZA: Likewise.
22629 * localedata/locales/tt_RU: Likewise.
22630 * localedata/locales/tt_RU@iqtelif: Likewise.
22631 * localedata/locales/ug_CN: Likewise.
22632 * localedata/locales/uk_UA: Likewise.
22633 * localedata/locales/unm_US: Likewise.
22634 * localedata/locales/ur_IN: Likewise.
22635 * localedata/locales/ur_PK: Likewise.
22636 * localedata/locales/uz_UZ: Likewise.
22637 * localedata/locales/uz_UZ@cyrillic: Likewise.
22638 * localedata/locales/ve_ZA: Likewise.
22639 * localedata/locales/vi_VN: Likewise.
22640 * localedata/locales/wa_BE: Likewise.
22641 * localedata/locales/wae_CH: Likewise.
22642 * localedata/locales/wal_ET: Likewise.
22643 * localedata/locales/wo_SN: Likewise.
22644 * localedata/locales/xh_ZA: Likewise.
22645 * localedata/locales/yi_US: Likewise.
22646 * localedata/locales/yo_NG: Likewise.
22647 * localedata/locales/yue_HK: Likewise.
22648 * localedata/locales/yuw_PG: Likewise.
22649 * localedata/locales/zh_CN: Likewise.
22650 * localedata/locales/zh_HK: Likewise.
22651 * localedata/locales/zh_SG: Likewise.
22652 * localedata/locales/zh_TW: Likewise.
22653 * localedata/locales/zu_ZA: Likewise.
22655 2017-11-13 Florian Weimer <fweimer@redhat.com>
22657 * support/next_to_fault.h, support/next_to_fault.c: New files.
22658 * support/Makefile (libsupport-routines): Add next_to_fault.
22659 * resolv/tst-inet_pton.c (struct next_to_fault)
22660 (next_to_fault_allocate, next_to_fault_free): Remove.
22661 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22663 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22665 * elf/dl-support.c: Include <dl-procruntime.c>.
22666 * include/link.h: Include <link_map.h>.
22667 * sysdeps/generic/dl-procruntime.c: New file.
22668 * sysdeps/generic/link_map.h: Likewise.
22669 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22670 the writable ld.so namespace.
22672 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22674 timezone: pacify GCC -Wstringop-truncation
22675 Problem reported by Martin Sebor in:
22676 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22677 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22679 2017-11-12 Florian Weimer <fweimer@redhat.com>
22681 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22683 (tests): Add tst-xreadlink.
22684 * support/support.h (xstrndup): Declare.
22685 * support/xunistd.h (xunlink, xreadlink): Declare.
22686 * support/temp_file.h (support_create_temp_directory): Declare.
22687 * support/temp_file.c (support_create_temp_directory): New function.
22688 * support/support_chroot.c (support_chroot_create): Use it.
22689 * support/xreadlink.c: New file.
22690 * support/xstrndup.c: Likewise.
22691 * support/xunlink.c: Likewise.
22692 * support/tst-xreadlink.c: Likewise.
22694 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22696 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22698 2017-11-11 Florian Weimer <fweimer@redhat.com>
22702 * resolv/res_comp.c (printable_string, binary_hnok)
22703 (binary_leading_dash): New functions.
22704 (res_hnok): Reimplement using these functions and ns_name_pton.
22705 (res_ownok): Likewise.
22706 (res_mailok): Reimplement using printable_string, ns_name_pton and
22708 (res_dnok): Reimplement using printable_string and ns_name_pton.
22709 * resolv/tst-res_hnok.c (tests): Add additional tests.
22710 (LETTERDIGITS, PRINTABLE): Define.
22711 (do_test): Adjust one_char results.
22713 2017-11-11 Florian Weimer <fweimer@redhat.com>
22716 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22717 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22719 2017-11-11 Florian Weimer <fweimer@redhat.com>
22721 * resolv/tst-ns_name_pton.c: New file.
22722 * resolv/Makefile (tests): Add tst-ns_name_pton.
22723 (tst-ns_name_pton): Link against libresolv.
22725 2017-11-11 Florian Weimer <fweimer@redhat.com>
22727 * resolv/tst-res_hnok.c: New file.
22728 * resolv/Makefile (tests): Add tst-res_hnok.
22729 (tst-res_hnok): Link against libresolv.
22731 2017-11-11 Florian Weimer <fweimer@redhat.com>
22733 * resolv/tst-resolv-network.c: Use test framework instead explicit
22736 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22738 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22739 <jmp_buf-macros.h>.
22740 [!_ISOMAC] (STR_HELPER): New.
22741 [!_ISOMAC] (STR): Likewise.
22742 [!_ISOMAC] (TEST_SIZE): Likewise.
22743 [!_ISOMAC] (TEST_ALIGN): Likewise.
22744 [!_ISOMAC] (TEST_OFFSET): Likewise.
22745 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22746 field offsets of jmp_buf as well as sigjmp_buf.
22747 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22748 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22749 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22750 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22751 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22752 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22753 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22754 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22755 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22756 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22758 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22760 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22765 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22766 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22767 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22768 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22769 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22774 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22776 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22778 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22782 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22784 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22786 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22788 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22790 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22792 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22794 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22796 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22798 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22800 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22802 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22804 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22806 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22808 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22810 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22812 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22814 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22816 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22818 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22820 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22822 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22824 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22826 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22828 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22830 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22832 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22834 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22836 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22838 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22840 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22842 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22844 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22846 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22848 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22850 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22852 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22854 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22856 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22858 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22860 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22862 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22864 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22866 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22868 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22870 * stdlib/tst-strtod.h (F16): New macro.
22876 (IF_FLOAT16): Likewise.
22877 (IF_FLOAT32): Likewise.
22878 (IF_FLOAT64): Likewise.
22879 (IF_FLOAT32X): Likewise.
22880 (IF_FLOAT64X): Likewise.
22881 (IF_FLOAT128X): Likewise.
22882 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22883 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22884 (STRTOD_TEST_FOREACH): Likewise.
22885 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22886 (CHOOSE_f64): Likewise.
22887 (CHOOSE_f32x): Likewise.
22888 (CHOOSE_f64x): Likewise.
22890 2017-11-07 Andreas Schwab <schwab@suse.de>
22892 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22894 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22897 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22899 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22902 2017-11-07 Claude Paroz <claude@2xlibre.net>
22905 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22907 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22909 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22912 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22915 * nptl/allocatestack.c (allocate_stack): Check if
22916 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22917 __PTHREAD_MUTEX_HAVE_PREV is defined.
22918 * nptl/descr.h (pthread): Likewise.
22919 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22921 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22922 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22923 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22924 * sysdeps/nptl/bits/thread-shared-types.h
22925 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22927 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22928 of __WORDSIZE for internal layout.
22929 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22930 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22931 instead of __WORDSIZE whether to use an union for __spins and __list
22933 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22935 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22936 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22938 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22939 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22941 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22942 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22944 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22945 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22947 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22948 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22950 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22953 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22956 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22959 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22960 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22962 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22963 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22965 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22968 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22971 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22974 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22977 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22981 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22983 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22984 checks for expected input type size.
22985 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22986 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22988 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22989 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22990 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22991 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22992 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22993 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22994 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22995 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22996 superflous runtime assert check.
22997 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22999 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23001 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23003 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23005 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23007 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23009 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23010 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23011 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23013 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23015 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23017 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23019 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23021 * nptl/pthread_attr_setinheritsched.c
23022 (__pthread_attr_setinheritsched): Likewise.
23023 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23025 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23027 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23028 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23029 __old_pthread_attr_setstack): Likewise.
23030 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23032 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23034 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23036 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23037 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23039 * nptl/tst-typesizes.c: Remove file.
23041 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23042 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23043 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23044 checks for internal pthread_mutex_t offsets.
23045 * sysdeps/aarch64/nptl/pthread-offsets.h
23046 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23047 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23048 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23049 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23050 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23051 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23052 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23053 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23054 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23055 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23056 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23057 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23058 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23059 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23060 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23061 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23062 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23063 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23065 2017-11-07 Florian Weimer <fweimer@redhat.com>
23067 * bits/mman-linux.h: Move ...
23068 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23070 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23073 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23075 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23076 Redefine STRNLEN as __strnlen_power8.
23078 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23080 * signal/sighold.c (sighold): Optimize implementation.
23082 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23083 __NR_rt_sigqueueinfo.
23085 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23087 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23088 assume __NR_rt_sigtimedwait.
23089 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23090 and add LIBC_CANCEL_HANDLED for cancellation marking.
23091 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23093 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23094 (sysdeps_routines): Add memchr_noneon.
23095 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23096 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23097 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23098 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23099 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23100 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23101 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23103 * sysdeps/arm/arm-ifunc.h: New file.
23104 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23105 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23106 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23107 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23108 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23109 (__memcpy_neon): Avoid create hidden alias.
23110 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23111 (__memcpy_vfp): Likewise.
23112 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23113 (sysdep_routines): Add memcpy_arm.
23114 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23116 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23119 * Makerules (make-link-multidir): New.
23120 * config.make.in (multidir): New.
23121 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23122 * configure: Regenerated.
23123 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23124 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23125 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23128 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23131 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23132 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23134 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23136 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23139 2017-11-04 Florian Weimer <fweimer@redhat.com>
23141 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23143 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23145 * math/math.h [__HAVE_DISTINCT_FLOAT16
23146 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23147 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23148 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23149 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23150 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23151 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23152 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23153 (__MATH_TG_F32): New macro.
23154 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23155 (__MATH_TG_F64X): Likewise.
23156 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23157 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23159 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23161 * po/de.po: Update translations.
23162 * po/ru.po: Likewise.
23164 2017-11-03 Florian Weimer <fweimer@redhat.com>
23166 * manual/filesys.texi (Hard Links): Document linkat.
23168 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23170 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23171 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23172 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23173 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23174 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23175 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23176 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23177 the same as _Float128.
23178 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23179 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23180 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23183 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23185 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23187 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23189 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23190 (strtof32x): Likewise.
23191 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23192 (strtof64x): Likewise.
23193 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23194 (strtof128x): Likewise.
23195 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23196 (strfromf16): Likewise.
23197 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23198 (strfromf32): Likewise.
23199 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23200 (strfromf64): Likewise.
23201 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23202 (strfromf32x): Likewise.
23203 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23204 (strfromf64x): Likewise.
23205 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23206 (strfromf128x): Likewise.
23207 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23208 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23209 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23210 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23211 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23212 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23214 2017-11-03 Richard Henderson <rth@twiddle.net>
23216 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23218 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23220 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23222 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23224 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23225 DT_TLSDESC_GOT initialization.
23226 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23227 (_dl_tlsdesc_resolve_hold): Likewise.
23228 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23229 (_dl_tlsdesc_resolve_hold): Likewise.
23230 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23231 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23233 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23235 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23237 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23240 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23241 non-lazily for R_ARM_TLS_DESC.
23243 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23246 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23247 R_ARM_TLS_DESC case.
23248 (elf_machine_lazy_rel): Remove the prelink check.
23250 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23252 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23253 DT_TLSDESC_GOT initialization.
23254 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23255 (_dl_tlsdesc_resolve_rela): Likewise.
23256 (_dl_tlsdesc_resolve_hold): Likewise.
23257 (_dl_tlsdesc_undefweak): Remove ldar.
23258 (_dl_tlsdesc_dynamic): Likewise.
23259 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23260 (_dl_tlsdesc_resolve_rela): Likewise.
23261 (_dl_tlsdesc_resolve_hold): Likewise.
23262 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23263 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23264 (_dl_tlsdesc_resolve_rela): Likewise.
23265 (_dl_tlsdesc_resolve_hold): Likewise.
23267 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23269 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23270 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23272 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23274 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23275 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23277 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23279 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23281 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23282 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23283 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23284 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23285 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23286 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23287 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23288 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23289 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23290 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23291 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23293 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23296 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23297 * localedata/locales/tpi_PG: Add standard header.
23299 2017-11-02 Florian Weimer <fweimer@redhat.com>
23301 test-errno-linux: quotactl can fail with EPERM in containers.
23302 * sysdeps/unix/sysv/linux/test-errno-linux.c
23303 (LIST, LIST_FORWARD): New macros.
23304 (check_error_in_list): New function.
23305 (test_wrp_rv): Accept list of permitted error codes.
23306 (test_wrp_rv2): Remove.
23307 (test_wrp): Call test_wrp_rv with list of error codes.
23308 (test_wrp2): Accept list of error codes.
23309 (do_test): Adjust. Allow EPERM for quotactl.
23311 2017-11-02 Florian Weimer <fweimer@redhat.com>
23313 * stdio-common/bug16.c (do_test): Use array_length.
23314 * stdio-common/errlist.c (_sys_nerr): Likewise.
23315 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23316 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23317 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23318 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23319 (do_test): Use array_length.
23320 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23321 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23322 * stdio-common/tst-printf-round.c (do_test): Likewise.
23323 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23324 (CHECK): Use array_length.
23325 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23326 * stdio-common/tstscanf.c (main): Likewise.
23327 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23329 2017-11-02 Florian Weimer <fweimer@redhat.com>
23331 Add array_length and array_end macros.
23332 * include/array_length.h: New file.
23334 2017-11-02 Florian Weimer <fweimer@redhat.com>
23337 * posix/tst-glob-tilde.c (do_noescape): New variable.
23338 (one_test): Process it.
23339 (do_test): Set do_noescape. Add unescaping test case.
23341 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23344 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23345 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23346 with appropriate macros defined and undefined.
23347 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23348 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23349 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23350 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23351 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23352 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23353 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23354 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23355 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23356 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23359 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23360 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23361 that for long double. Do not condition define and undefine of
23362 _Mdouble_complex_ on [__CFLOAT128].
23364 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23366 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23367 of <sysdeps/generic/sysdep.h>.
23368 (ALIGNARG): Removed.
23369 (ASM_SIZE_DIRECTIVE): Likewise.
23372 (ENTRY_CHK): Likewise.
23373 (END_CHK): Likewise.
23374 (syscall_error): Likewise.
23375 (mcount): Likewise.
23376 (PSEUDO_END): Likewise.
23378 (atom_text_section): Likewise.
23379 * sysdeps/x86/sysdep.h: New file.
23380 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23381 of <sysdeps/generic/sysdep.h>.
23382 (ALIGNARG): Removed.
23383 (ASM_SIZE_DIRECTIVE): Likewise.
23386 (ENTRY_CHK): Likewise.
23387 (END_CHK): Likewise.
23388 (syscall_error): Likewise.
23389 (mcount): Likewise.
23390 (PSEUDO_END): Likewise.
23392 (atom_text_section): Likewise.
23394 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23396 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23397 category of LC_CTYPE set to "i18n:2012".
23398 * localedata/locales/i18n_ctype: Regenerate.
23400 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23402 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23403 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23404 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23405 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23407 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23408 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23409 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23412 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23415 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23417 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23419 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23421 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23422 (CMPLXF32X): Likewise.
23423 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23424 (CMPLXF64X): Likewise.
23425 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23426 (CMPLXF128X): Likewise.
23429 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23430 (__MATH_EVAL_FMT2): Define to add 0.0f.
23432 2017-10-31 Alan Modra <amodra@gmail.com>
23434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23450 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23451 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23452 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23453 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23462 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23464 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23465 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23466 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23467 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23468 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23469 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23471 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23472 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23474 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23476 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23477 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23478 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23479 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23483 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23488 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23491 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23499 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23500 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23502 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23503 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23507 include sysdep.h and math_ldbl_opt.h.
23509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23510 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23536 2017-10-31 Alan Modra <amodra@gmail.com>
23538 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23539 string/strncase_l.c, not string/strncase.c.
23540 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23541 (libc_hidden_def): Redefine.
23543 2017-10-31 Alan Modra <amodra@gmail.com>
23545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23546 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23547 (__strcasecmp): Don't define.
23549 2017-10-31 Alan Modra <amodra@gmail.com>
23551 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23553 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23555 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23557 2017-10-31 Alan Modra <amodra@gmail.com>
23559 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23562 2017-10-31 Alan Modra <amodra@gmail.com>
23564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23565 Redefine only when SHARED.
23567 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23569 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23570 Include <bits/math-finite.h> with appropriate macros defined and
23572 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23573 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23574 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23575 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23576 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23578 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23579 [!_Mlong_double_] (_Mlong_double_): Likewise.
23580 [!_Mfloat16_] (_Mfloat16_): Likewise.
23581 [!_Mfloat32_] (_Mfloat32_): Likewise.
23582 [!_Mfloat64_] (_Mfloat64_): Likewise.
23583 [!_Mfloat128_] (_Mfloat128_): Likewise.
23584 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23585 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23586 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23587 (_Mdouble_): Define without indirection through those macros.
23588 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23589 [!_Mfloat128_] (_Mfloat128_): Likewise.
23590 [_Mlong_double_] (_Mlong_double_): Likewise.
23591 (_Mdouble_): Define without indirection through those macros.
23592 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23593 not add -D_Mlong_double_=double.
23594 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23595 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23597 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23599 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23601 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23603 * sysdeps/x86/libc-start.c: Reformat.
23605 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23608 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23609 (1): Renamed to ...
23612 (L(Src2)): Likewise.
23613 (L(1)): Renamed to ...
23616 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23618 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23619 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23620 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23621 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23622 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23623 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23624 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23625 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23626 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23627 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23628 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23629 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23630 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23631 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23632 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23633 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23634 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23635 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23636 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23637 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23638 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23639 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23640 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23641 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23642 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23643 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23644 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23645 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23646 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23647 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23648 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23649 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23650 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23651 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23652 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23653 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23654 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23655 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23656 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23657 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23658 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23659 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23660 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23661 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23662 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23663 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23664 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23665 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23666 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23667 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23668 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23669 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23670 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23671 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23672 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23673 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23674 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23675 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23676 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23677 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23678 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23679 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23680 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23681 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23682 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23683 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23685 2017-10-30 Florian Weimer <fweimer@redhat.com>
23687 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23689 * io/tst-mkdirat.c (do_test): Likewise.
23690 * io/tst-mkfifoat.c (do_test): Likewise.
23691 * io/tst-mknodat.c (do_test): Likewise.
23692 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23693 * locale/programs/locale.c (select_dirs): Likewise.
23694 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23695 * posix/bug-glob2.c (my_readdir): Likewise.
23696 * posix/tst-dir.c (main): Likewise.
23697 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23698 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23700 2017-10-30 Florian Weimer <fweimer@redhat.com>
23702 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23705 2017-10-30 Florian Weimer <fweimer@redhat.com>
23707 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23708 Convert to support/test-driver.c.
23709 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23710 New macro parameters.
23711 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23712 * posix/tst-gnuglob.c: New file.
23713 * posix/tst-gnuglob64.c: Likewise.
23714 * posix/Makefile (tests): Add tst-gnuglob64.
23716 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23719 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23720 and use a better translation for March in “mon”.
23721 * localedata/locales/csb_PL: Use more ASCII to improve the
23722 readability of the source.
23724 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23727 * localedata/locales/km_KH: Use ASCII as much
23728 as possible for better readability of the source and
23729 remove useless comments.
23730 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23731 was commented out and apparently wrong anyway because it was
23732 using Lao characters. If Buddhist era should be used
23733 for km_KH, a native speaker should write the correct formaat
23735 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23736 (According to CLDR, the first weekday for Cambodia is Sunday).
23737 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23738 (These were using Lao characters which must be wrong. If we get
23739 the correct data from a native speaker, we could add it back, until
23740 then it is better not to have name_mr and name_mrs at all than
23743 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23745 * locale/loadlocale.c: Correct size of
23746 _nl_value_type_LC_<category> arrays.
23748 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23750 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23751 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23752 with appropriate macros defined and undefined.
23753 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23754 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23755 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23756 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23757 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23759 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23761 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23764 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23766 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23767 with lowercase letters to make it agree with CLDR.
23769 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23772 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23773 first letters of yesstr and nostr in yesexpr and noexpr,
23774 not for the full words.
23775 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23776 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23777 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23778 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23779 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23780 first letters of yesstr and nostr in yesexpr and noexpr,
23781 until now only English was matched in yesexpr and noexpr.
23782 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23783 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23784 fil but not for tl. As tl and fil are very similar, using fil
23785 is probably better than using English.
23787 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23790 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23791 in yesstr and nostr.
23793 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23795 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23796 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23797 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23799 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23801 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23803 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23805 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23806 (SNANF128X): Likewise.
23808 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23809 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23810 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23811 (HUGE_VAL_F32): Likewise.
23812 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23813 (HUGE_VAL_F64): Likewise.
23814 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23815 (HUGE_VAL_F32X): Likewise.
23816 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23817 (HUGE_VAL_F64X): Likewise.
23818 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23819 (HUGE_VAL_F128X): Likewise.
23821 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23823 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23824 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23825 for the br_FR locale.
23827 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23830 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23832 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23834 * locale/programs/record-status.h: Define globals, and function
23835 prototypes. Move function bodies...
23836 * locale/programs/record-status.c: ... to here. New file.
23837 * iconv/Makefile (iconv_prog-modules): Add record-status.
23838 * locale/Makefile (lib-modules): Likewise.
23839 * iconv/iconv_prog.c: Remove verbose.
23840 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23841 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23842 record a warning about ASCII compatibility.
23843 * locale/programs/ld-monetary.c (monetary_finish): If
23844 warn_int_curr_symbol is true then record a warning about the symbol
23845 not being in our ISO 4217 list.
23846 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23847 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23848 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23849 (OPT_NO_WARN): Define.
23850 (OPT_WARN): Define.
23851 (options): Add entry for --no-warnings, and --warnings.
23852 (set_warnings): New function to enable/disable warnings.
23853 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23854 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23855 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23856 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23857 Pass flags to generate_locale.
23858 (generate_locale): Accept new flag argument and pass it to localedef
23860 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23861 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23863 * localedata/Makefile (test-input-data): Use full file name.
23864 * localedata/da_DK.in: Rename to...
23865 * localedata/da_DK.ISO-8859-1.in: ...this.
23866 * localedata/de_DE.in: Rename to...
23867 * localedata/de_DE.ISO-8859-1.in: ...this.
23868 * localedata/en_US.in: Rename to...
23869 * localedata/en_US.ISO-8859-1.in: ...this.
23870 * localedata/fr_FR.in: Rename to...
23871 * localedata/fr_FR.UTF-8.in: ... this.
23872 * localedata/hr_HR.in: Rename to...
23873 * localedata/hr_HR.ISO-8859-2.in: ...this.
23874 * localedata/hu_HU.in: Rename to...
23875 * localedata/hu_HU.UTF-8.in: ...this.
23876 * localedata/si_LK.in: Rename to...
23877 * localedata/si_LK.UTF-8.in: ...this.
23878 * localedata/sv_SE.in: Rename to...
23879 * localedata/sv_SE.ISO-8859-1.in: ...this.
23880 * localedata/tr_TR.in: Rename to...
23881 * localedata/tr_TR.UTF-8.in: ...this.
23882 * localedata/uk_UA.in: Rename to...
23883 * localedata/uk_UA.UTF-8.in: ...this.
23884 * localedata/sort-test.sh: Test file is locale name with the
23887 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23888 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23890 * localedata/locales/i18n_ctype: Regenerate.
23891 * localedata/locales/tr_TR: Likewise.
23892 * localedata/locales/translit_circle: Likewise.
23893 * localedata/locales/translit_cjk_compat: Likewise.
23894 * localedata/locales/translit_combining: Likewise.
23895 * localedata/locales/translit_compat: Likewise.
23896 * localedata/locales/translit_font: Likewise.
23897 * localedata/locales/translit_fraction: Likewise.
23899 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23902 lxvd2x/stxvd2x with lvx/stvx.
23903 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23905 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23907 * include/alloc_buffer.h: Replace "if if " with "if " in
23909 * sysdeps/mips/memcpy.S: Likkewise.
23910 * sysdeps/mips/memset.S: Likewise.
23911 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23913 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23915 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23918 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23921 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23922 yesexpr and noexpr.
23923 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23924 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23925 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23926 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23927 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23928 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23929 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23933 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23934 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23935 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23936 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23937 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23938 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23939 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23940 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23941 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23942 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23943 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23944 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23946 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23948 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23949 as possible for better readability of the source.
23950 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23951 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23952 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23953 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23954 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23955 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23956 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23957 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23958 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23959 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23960 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23961 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23962 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23963 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23964 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23965 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23966 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23967 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23968 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23969 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23970 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23971 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23972 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23973 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23974 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23975 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23976 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23977 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23978 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23979 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23980 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23981 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23982 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23983 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23984 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23985 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23986 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23987 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23988 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23989 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23990 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23991 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23992 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23993 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23994 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23995 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23996 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23997 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23998 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23999 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24000 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24001 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24002 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24003 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24004 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24005 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24006 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24007 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24008 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24009 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24010 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24011 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24012 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24013 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24014 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24015 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24016 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24017 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24018 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24019 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24020 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24021 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24022 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24023 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24024 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24025 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24026 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24027 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24028 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24029 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24030 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24031 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24032 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24033 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24034 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24035 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24036 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24037 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24038 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24039 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24040 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24041 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24042 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24043 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24044 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24045 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24046 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24047 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24048 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24049 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24050 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24051 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24052 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24053 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24054 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24055 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24056 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24057 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24058 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24059 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24060 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24061 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24062 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24063 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24064 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24065 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24066 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24067 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24068 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24069 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24070 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24071 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24072 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24073 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24074 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24075 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24076 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24077 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24078 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24079 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24080 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24081 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24082 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24083 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24084 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24085 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24086 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24087 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24088 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24089 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24090 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24091 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24092 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24093 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24094 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24095 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24096 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24097 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24098 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24099 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24100 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24101 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24102 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24103 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24104 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24105 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24106 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24107 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24108 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24109 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24110 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24111 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24112 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24113 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24114 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24115 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24116 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24117 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24118 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24119 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24120 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24121 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24122 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24123 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24125 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24127 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24128 (Use first letters of yesstr and nostr correctly instead of using
24131 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24133 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24134 (Use first letters of yesstr and nostr correctly).
24136 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24138 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24139 also check for the first characters of yesstr and nostr.
24140 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24141 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24143 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24145 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24146 also check for Chinese characters.
24148 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24150 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24151 match also for the contents of yesstr and nostr. As the first letter
24152 of yesstr and nostr is equal, checking only for the first letter
24155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24157 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24158 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24160 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24162 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24163 of main contributor.
24165 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24167 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24168 instead of using English.
24170 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24172 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24173 by including the first letters of nostr and yesexpr in the regexp.
24174 Also make it more readable by using ASCII where possible.
24176 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24178 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24179 the first letter of nostr in the regexp. It agrees with CLDR now.
24180 Also make it more readable by using ASCII where possible.
24182 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24184 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24185 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24186 these strings contain a U+17D6 (which somewhat looks like a colon)
24187 instead of a real colon to separate the full words for “yes”
24188 and “no” from the single letter responses.
24190 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24192 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24193 it agree with CLDR (include the first letter of yesstr).
24194 Also make it more readable by using ASCII where possible.
24196 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24198 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24199 and improve yesexpr and noexpr. The yesstr and nostr apparently
24200 came from CLDR. And CLDR has a bug there: these strings contain
24201 a U+0903 (which looks like a colon) instead of a real colon
24202 to separate the full words for “yes” and “no” from the single
24205 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24207 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24208 letters of the full yesstr and nostr in yesexpr and noexpr.
24210 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24212 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24213 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24214 * localedata/locales/an_ES: Make source more readable by using ASCII
24217 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24220 * localedata/locales/yuw_PG: New file.
24221 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24222 * locale/iso-639.def: Add Yau (Uruwa).
24224 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24226 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24228 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24230 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24231 (__libc_realloc): Likewise.
24232 (_mid_memalign): Likewise.
24233 (__libc_calloc): Likewise.
24235 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24237 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24238 by adding the generic +1 and -0 as in all other locales.
24239 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24240 day names and make it more readable by using ASCII where possible.
24242 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24244 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24245 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24247 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24249 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24250 WNOHANG in waitpid call.
24252 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24254 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24255 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24257 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24258 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24259 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24260 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24261 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24262 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24263 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24264 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24267 2017-10-23 Michael Collison <michael.collison@arm.com>
24269 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24270 with __builtin_sqrt.
24271 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24272 with __builtin_sqrtf.
24273 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24274 with __builtin_ceil.
24275 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24276 with __builtin_ceilf.
24277 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24278 with __builtin_floor.
24279 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24280 with __builtin_floorf.
24281 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24282 with __builtin_fma.
24283 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24284 with __builtin_fmaf.
24285 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24286 with __builtin_fmax.
24287 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24288 with __builtin_fmaxf.
24289 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24290 with __builtin_fmin.
24291 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24292 with __builtin_fminf.
24293 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24294 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24295 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24296 with builtin_rint and conversion to int.
24297 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24298 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24299 with builtin_llround.
24300 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24301 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24302 with builtin_rint and conversion to long int.
24303 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24304 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24305 with builtin_lround.
24306 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24307 with builtin_lroundf.
24308 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24309 statements with __builtin_nearbyint.
24310 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24311 statements with __builtin_nearbyintf.
24312 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24313 with __builtin_rint.
24314 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24315 with __builtin_rintf.
24316 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24317 with __builtin_round.
24318 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24319 with __builtin_roundf.
24320 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24321 with __builtin_trunc.
24322 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24323 with __builtin_truncf.
24324 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24325 and s_l[l]round[f].c too.
24327 2017-10-23 Alan Modra <amodra@gmail.com>
24329 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24330 Adjust stack after restoring regs. Add missing LR cfi_restore.
24332 2017-10-23 Alan Modra <amodra@gmail.com>
24334 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24335 Move LR save and frame setup/teardown and LR restore to
24336 immediately around memset call. Provide cfi.
24338 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24340 * sysdeps/i386/fpu/e_powf.S: Removed.
24341 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24342 * sysdeps/i386/fpu/w_powf.c: Likewise.
24343 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24344 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24345 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24347 (CFLAGS-e_powf-sse2.c): New.
24348 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24349 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24351 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24353 * sysdeps/i386/fpu/e_log2f.S: Removed.
24354 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24355 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24356 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24357 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24358 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24360 (CFLAGS-e_log2f-sse2.c): New.
24361 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24362 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24364 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24366 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24368 (CFLAGS-e_powf-fma.c): New.
24369 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24370 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24372 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24374 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24376 (CFLAGS-e_log2f-fma.c): New.
24377 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24378 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24380 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24382 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24384 (CFLAGS-e_logf-fma.c): New.
24385 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24386 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24388 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/i386/fpu/e_logf.S: Removed.
24391 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24392 * sysdeps/i386/fpu/w_logf.c: Likewise.
24393 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24394 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24395 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24396 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24398 (CFLAGS-e_logf-sse2.c): New.
24399 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24400 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24402 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24404 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24405 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24406 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24407 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24408 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24410 (CFLAGS-e_exp2f-sse2.c): New.
24411 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24412 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24414 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24416 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24418 (CFLAGS-e_exp2f-fma.c): New.
24419 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24420 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24422 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24424 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24425 * sysdeps/i386/fpu/e_expf.S: Likewise.
24426 * sysdeps/i386/fpu/math_errf.c: Likewise.
24427 * sysdeps/i386/fpu/w_expf.c: Likewise.
24428 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24430 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24431 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24432 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24433 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24434 Remove e_expf-ia32.
24435 (CFLAGS-e_expf-sse2.c): New.
24436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24437 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24439 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24441 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24442 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24443 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24444 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24446 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24448 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24449 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24451 (__redirect_expf): This.
24452 (SYMBOL_NAME): Changed to expf.
24453 (__ieee754_expf): Renamed to ...
24455 (__GI___expf): This.
24456 (__ieee754_expf): Add strong_alias.
24457 (__expf_finite): Likewise.
24459 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24461 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24464 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24467 2017-10-21 Florian Weimer <fweimer@redhat.com>
24469 * posix/Makefile (tests): Add tst-glob-tilde.
24470 (tests-special): Add tst-glob-tilde-mem.out
24471 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24472 (tst-glob-tilde-mem.out): Add mtrace check.
24473 * posix/tst-glob-tilde.c: New file.
24475 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24477 * bits/floatn-common.h: New file.
24478 * math/Makefile (headers): Add bits/floatn-common.h.
24479 * bits/floatn.h: Include <bits/floatn-common.h>.
24480 * sysdeps/ia64/bits/floatn.h: Likewise.
24481 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24482 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24483 * sysdeps/powerpc/bits/floatn.h: Likewise.
24484 * sysdeps/x86/bits/floatn.h: Likewise.
24486 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24488 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24489 indicates whether compiler emits an warning for alias for
24490 functions with incompatible types.
24493 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24494 the auxiliary process is terminated by a signal before calling _exit
24497 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24500 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24502 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24503 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24504 and bit_arch_XSAVEC_Usable if needed.
24505 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24506 and bit_arch_Use_dl_runtime_resolve_opt.
24507 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24509 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24510 (bit_arch_Prefer_No_AVX512): Updated.
24511 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24512 (bit_arch_XSAVEC_Usable): New.
24513 (STATE_SAVE_OFFSET): Likewise.
24514 (STATE_SAVE_MASK): Likewise.
24515 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24516 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24517 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24518 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24519 (index_arch_XSAVEC_Usable): New.
24520 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24521 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24522 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24524 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24525 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24526 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24527 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24528 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24529 _dl_runtime_resolve_xsavec.
24530 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24532 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24533 instead of VEC_SIZE.
24534 (REGISTER_SAVE_BND0): Removed.
24535 (REGISTER_SAVE_BND1): Likewise.
24536 (REGISTER_SAVE_BND3): Likewise.
24537 (REGISTER_SAVE_RAX): Always defined to 0.
24539 (_dl_runtime_resolve_avx): Likewise.
24540 (_dl_runtime_resolve_avx_slow): Likewise.
24541 (_dl_runtime_resolve_avx_opt): Likewise.
24542 (_dl_runtime_resolve_avx512): Likewise.
24543 (_dl_runtime_resolve_avx512_opt): Likewise.
24544 (_dl_runtime_resolve_sse): Likewise.
24545 (_dl_runtime_resolve_sse_vex): Likewise.
24547 (_dl_runtime_resolve_fxsave): Likewise.
24548 (USE_XSAVE): Likewise.
24549 (_dl_runtime_resolve_xsave): Likewise.
24550 (USE_XSAVEC): Likewise.
24551 (_dl_runtime_resolve_xsavec): Likewise.
24552 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24554 (_dl_runtime_resolve_avx512_opt): Likewise.
24555 (_dl_runtime_resolve_avx): Likewise.
24556 (_dl_runtime_resolve_avx_opt): Likewise.
24557 (_dl_runtime_resolve_sse): Likewise.
24558 (_dl_runtime_resolve_sse_vex): Likewise.
24559 (_dl_runtime_resolve_fxsave): New.
24560 (_dl_runtime_resolve_xsave): Likewise.
24561 (_dl_runtime_resolve_xsavec): Likewise.
24563 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24567 * posix/glob.c (__glob): Fix one-byte overflow.
24569 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24571 * malloc/malloc.c (sysdep-cancel.h): Add include.
24573 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24575 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24577 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24579 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24580 (tests): Remove $(objpfx)ga_test depdendency.
24581 * resolv/ga_test.c: Remove file.
24583 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24586 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24587 * localedata/locales/kab_DZ: New file.
24589 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24591 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24592 _dl_relocate_static_pie instead of _dl_start to compute load
24593 address in static PIE.
24595 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24597 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24599 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24602 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24603 * localedata/locales/shn_MM: New file.
24605 2017-10-20 Florian Weimer <fweimer@redhat.com>
24608 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24609 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24610 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24611 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24612 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24613 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24615 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24617 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24619 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24624 * sysdeps/mips/bits/long-double.h: Move to ....
24625 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24627 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24629 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24631 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24632 H.J. Lu <hongjiu.lu@intel.com>
24635 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24636 GLRO(dl_platform) to NULL.
24637 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24638 (modules-names): Add tst-platformmod-1 and
24639 x86_64/tst-platformmod-2.
24640 (CFLAGS-tst-platform-1.c): New.
24641 (CFLAGS-tst-platformmod-1.c): Likewise.
24642 (CFLAGS-tst-platformmod-2.c): Likewise.
24643 (LDFLAGS-tst-platformmod-2.so): Likewise.
24644 ($(objpfx)tst-platform-1): Likewise.
24645 ($(objpfx)tst-platform-1.out): Likewise.
24646 (tst-platform-1-ENV): Likewise.
24647 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24648 * sysdeps/x86_64/tst-platform-1.c: New file.
24649 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24650 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24652 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24655 * locale/iso-639.def: Add Karbi.
24656 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24657 * localedata/locales/mjw_IN: New file.
24659 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24661 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24662 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24663 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24664 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24665 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24666 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24667 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24669 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24670 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24671 * manual/math.texi (Mathematics): Document additional architecture
24672 support for _Float128.
24673 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24674 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24678 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24679 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24684 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24685 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24686 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24687 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24689 2017-10-18 Renlin Li <renlin.li@arm.com>
24691 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24692 _DYNAMIC symbol to calculate load address.
24694 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24696 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24697 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24699 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24700 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24702 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24705 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24706 and improve readability by using more ASCII.
24707 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24708 and improve readability by using more ASCII.
24710 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24712 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24713 not all targets support atomics on bool.
24715 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24717 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24718 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24720 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24721 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24722 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24723 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24724 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24725 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24727 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24729 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24732 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24735 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24736 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24737 (do_check_remalloced_chunk): Fix build bug.
24738 (do_check_malloc_state): Add assert that checks arena->top.
24739 (malloc_consolidate): Remove initialization.
24740 (int_mallinfo): Remove call to malloc_consolidate.
24741 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24743 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24745 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24746 (have_fastchunks): Remove.
24747 (clear_fastchunks): Remove.
24748 (set_fastchunks): Remove.
24749 (malloc_state): Add have_fastchunks.
24750 (malloc_init_state): Use have_fastchunks.
24751 (do_check_malloc_state): Remove incorrect invariant checks.
24752 (_int_malloc): Use have_fastchunks.
24753 (_int_free): Likewise.
24754 (malloc_consolidate): Likewise.
24756 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24758 * malloc/malloc.c (tcache_put): Inline.
24759 (tcache_get): Inline.
24761 2017-10-17 Jordi Mallach <jordi@gnu.org>
24763 Aurelien Jarno <aurelien@aurel32.net>
24765 * localedata/locales/ca_ES@valencia: New file.
24766 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24768 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24771 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24774 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24776 * scripts/build-many-glibcs.py (Context.add_all_configs):
24777 Add arm-linux-gnueabihf multiarch extra_glibcs.
24779 * sysdeps/generic/ifunc-init.h: New file.
24780 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24782 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24785 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24786 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24787 * stdlib/tst-strfmon_l.c: adapt test case.
24789 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/generic/float128-abi.h: New file.
24792 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24793 non-__prefixed symbols to ....
24794 * math/Versions: ... here. Include <float128-abi.h>.
24795 * stdlib/Versions ... and here. Include <float128-abi.h>
24797 2017-10-16 Florian Weimer <fweimer@redhat.com>
24799 * version.h (VERSION): Switch to ".9000" as the development
24802 2017-10-16 Florian Weimer <fweimer@redhat.com>
24805 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24806 compat_symbol_reference to access non-default version.
24808 2017-10-16 Florian Weimer <fweimer@redhat.com>
24810 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24812 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24814 * include/shlib-compat.h (compat_symbol_reference): Update
24817 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24819 * math/Makefile (test-types): Add
24820 $(type-float128-$(float128-alias-fcts)).
24821 * math/test-float128.h (TYPE_STR): Define conditional on
24822 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24823 (ULP_IDX): Likewise.
24824 (ULP_I_IDX): Likewise.
24826 * stdlib/strtold.c: Include <bits/floatn.h>
24827 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24828 and later undefine as macro. Define as weak alias if
24830 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24831 and later undefine as macro. Define as weak alias if
24833 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24834 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24835 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24836 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24837 Define and later undefine as macro. Define as weak alias if
24839 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24841 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24842 Define and later undefine as macro. Define as weak alias if
24844 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24845 Define and later undefine as macro. Define as weak alias if
24848 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24850 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24851 record_verbose messages.
24853 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24856 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24857 to silence -O3 -Wall warning with GCC 7.
24859 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24861 * Makeconfig (+link-static-before-libc): Use the first of
24862 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24863 * gmon/Makefile (tests): Add tst-gmon-static.
24864 (tests-static): Likewise.
24865 (CFLAGS-tst-gmon-static.c): New.
24866 (CRT-tst-gmon-static): Likewise.
24867 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24868 (tst-gmon-static-ENV): Likewise.
24869 (tests-special): Likewise.
24870 ($(objpfx)tst-gmon-static.out): Likewise.
24871 (clean-tst-gmon-static-data): Likewise.
24872 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24873 * gmon/tst-gmon-static-gprof.sh: New file.
24874 * gmon/tst-gmon-static.c: Likewise.
24876 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24879 * locale/programs/linereader.c (get_string): Don't warn on
24880 non-symbolic character.
24883 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24887 * locale/programs/record-status.h: New file
24888 * locale/programs/locale.c: Add comment.
24889 * locale/programs/charmap-dir.c: Don't include error.h.
24890 (charmap_opendir): Use record_error.
24891 * locale/programs/charmap.c: Don't include error.h.
24892 (charmap_read): Use record_error, and record_warning.
24893 (parse_charmap): Likewise.
24894 * locale/programs/ld-address.c: Don't include error.h.
24895 (address_finish): Use record_error, and record_warning.
24896 * locale/programs/ld-collate.c: Don't include error.h.
24897 (collate_finish): Use record_error, and record_error_at_line.
24898 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24899 (ctype_class_new): Likewise.
24900 (ctype_map_new): Likewise.
24901 (set_one_default): Likewise.
24902 (set_class_defaults): Likewise.
24903 (translit_flatten): Likewise.
24904 (allocate_arrays): Use record_error, and record_verbose.
24905 * locale/programs/ld-identification.c: Don't include error.h.
24906 (indentation_finish): Use record_error and record_warning.
24907 * locale/programs/ld-measurement.c: Don't include error.h.
24908 (measurement_finish): Use record_error.
24909 * locale/programs/ld-messages.c
24910 (message_finish): Likewise.
24911 * locale/programs/ld-monetary.c
24912 (monetary_finish): Likewise.
24913 * locale/programs/ld-name.c (name_finish): Use record_error
24914 and record_warning.
24915 * locale/programs/ld-numeric.c
24916 (numeric_finish): Use record_error.
24917 * locale/programs/ld-paper.c: Don't include error.h.
24918 (paper_finish): Use record_error.
24919 * locale/programs/ld-telephone.c: Don't include error.h.
24920 (telephone_finish): Use record_error.
24921 * locale/programs/ld-time.c (time_finish): Likewise.
24922 * locale/programs/linereader.h (lr_error): Make inline func.
24923 * locale/programs/localedef.c: Define recorded_warning_count,
24924 and recorded_error_count.
24925 (main): Use record_error. Use recorded_error_count and
24926 recorded_warning_count to issue correct error returns.
24927 (add_to_readlist): Use record_error.
24928 (find_locale): Likewise.
24929 (load_locale): Likewise.
24930 * locale/programs/localedef.h: Remove be_quiet
24931 and WITH_CUR_LOCALE.
24932 * locale/programs/locarchive.c (compare_from_file): Use
24934 * locale/programs/locfile.c (write_locale_data): Use
24936 * locale/programs/repertoire.c: Dont include error.h.
24937 (repertoire_complain): Use record_error.
24938 * localedata/tst-fmon.sh: Expect failures from localedef.
24939 * localedata/tst-locale.sh: Likewise.
24940 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24942 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24943 (REPORTS): Likewise.
24945 (i18n): Rename to...
24946 (i18n_ctype): ...this.
24947 (i18n-report): Rename to...
24948 (i18n_ctype-report): ...this.
24949 * localedata/locales/i18n_ctype: Regenerate.
24950 * localedata/locales/i18n: copy i18n_ctype.
24952 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24954 * stdlib/strfroml.c: Include <bits/floatn.h>.
24955 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24956 Define before include of <stdlib.h> and undefine afterwards, then
24957 define as weak alias.
24959 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24960 Undefine and restore default definition. Use
24961 libm_alias_ldouble_other.
24963 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24966 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24969 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24972 Assign sym_map to be map for local symbols, as TLS relocations
24973 use sym_map to determine whether the symbol is defined and to
24974 extract the TLS information.
24975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24978 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24981 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24982 (math_force_eval): Add powerpc version.
24985 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24987 (do_test): Likewise.
24988 * stdio-common/tst-printf.sh: Likewise.
24989 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24990 ifdef clause in order to set the carry bit right. Replace r0 by
24991 0 without changing the behavior.
24993 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24995 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24996 <libm-alias-ldouble.h>.
24997 (fabsl): Define using libm_alias_ldouble.
24998 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24999 <libm-alias-ldouble.h>.
25000 (fabsl): Define using libm_alias_ldouble.
25002 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25003 Remove conditional code.
25005 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25006 Rename to __clog10_internal_l.
25007 (__clog10_internal_l): Define aliases using
25008 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25011 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25013 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25014 * benchtests/sincosf-inputs: New file.
25015 * benchtests/cosf-inputs: New file.
25016 * benchtests/sinf-inputs: New file.
25018 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25020 * posix/tst-spawn.c (do_test): Wait for both children.
25022 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25025 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25026 tests-pie): Add tst-gmon-pie.
25027 (CFLAGS-tst-gmon-pie.c): New.
25028 (CRT-tst-gmon-pie): Likewise.
25029 (tst-gmon-pie-ENV): Likewise.
25030 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25031 ($(objpfx)tst-gmon-pie.out): Likewise.
25032 (clean-tst-gmon-pie-data): Likewise.
25033 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25034 * gmon/gmon.c [PIC]: Include <link.h>.
25035 [PIC] (callback): New function.
25036 (write_hist): Add an argument for load address. Subtract load
25038 (write_call_graph): Likewise.
25039 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25040 it to write_hist and write_call_graph.
25041 * gmon/tst-gmon-pie.c: New file.
25043 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25045 * math/Makefile (test-types-basic): New variable.
25046 (test-types): Likewise.
25047 (libm-test-support): Use $(test-types) instead of $(types).
25048 (libm-tests-base-normal): Likewise.
25049 (libm-tests-base-finite): Likewise.
25050 (libm-tests-base-inline): Likewise.
25051 (generated): Likewise.
25052 ($(objpfx)libm-test-support-$(t).c): Likewise.
25053 (libm-tests-for-type iterator): Likewise.
25054 (libm-test-support iterator): Likewise.
25055 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25056 (ulp_idx): Use ULP_IDX.
25057 * math/test-ldouble.h: Include <float.h>.
25058 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25059 (ULP_IDX): New macro.
25060 (ULP_I_IDX): Likewise.
25061 * math/test-double.h (ULP_IDX): Likewise.
25062 (ULP_I_IDX): Likewise.
25063 * math/test-float.h (ULP_IDX): Likewise.
25064 (ULP_I_IDX): Likewise.
25065 * math/test-float128.h (ULP_IDX): Likewise.
25066 (ULP_I_IDX): Likewise.
25068 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25070 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25071 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25072 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25073 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25074 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25075 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25077 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25079 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25081 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25084 (SINGLE_THREAD_BY_GLOBAL): Define.
25085 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25087 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25089 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25091 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25093 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25094 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25098 2017-10-11 Andreas Schwab <schwab@suse.de>
25100 * nis/Makefile (aux): Remove.
25101 * nscd/Makefile (aux): Add nscd_hash.
25102 (nscd-modules): Likewise.
25103 ($(objpfx)nscd): Don't depend on libnsl.
25104 * nscd/nscd_hash.c: New file.
25105 * nscd/nscd_hash.h: Likewise.
25106 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25107 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25108 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25109 instead of <nis/rpcsvc/nis.h>.
25110 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25112 2017-10-11 Florian Weimer <fweimer@redhat.com>
25115 Avoid large NSS buffers with many addresses, aliases.
25116 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25117 using dynarrays and struct alloc_buffer.
25118 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25119 (tst-nss-files-hosts-multi): Link with -ldl.
25120 * nss/tst-nss-files-hosts-multi.c: New file.
25122 2017-10-11 Florian Weimer <fweimer@redhat.com>
25125 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25126 scratch_buffer. Eliminate gotos.
25128 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25130 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25131 libm_alias_ldouble_other.
25132 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25133 undefine and redefine.
25134 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25135 (exp10l): Do not define here.
25136 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25137 (weak_alias): Undefine and redefine.
25138 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25139 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25140 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25141 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25143 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25144 [!__fma] (fma): Define using libm_alias_double.
25145 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25146 [!__fmaf] (fmaf): Define using libm_alias_float.
25147 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25148 (fmal): Define using libm_alias_ldouble.
25150 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25152 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25154 (libm_alias_double_other): Likewise.
25155 (libm_alias_double_r): Use libm_alias_double_other_r.
25156 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25158 (libm_alias_float_other): Likewise.
25159 (libm_alias_float_r): Use libm_alias_float_other_r.
25160 * sysdeps/generic/libm-alias-float128.h
25161 (libm_alias_float128_other_r): New macro.
25162 (libm_alias_float128_other): Likewise.
25163 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25164 * sysdeps/generic/libm-alias-ldouble.h
25165 (libm_alias_ldouble_other_r): New macro.
25166 (libm_alias_ldouble_other): Likewise.
25167 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25168 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25169 (libm_alias_double_other_r): New macro.
25170 (libm_alias_double_other): Likewise.
25171 (libm_alias_double_r): Use libm_alias_double_other_r.
25172 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25173 (libm_alias_ldouble_other_r): New macro.
25174 (libm_alias_ldouble_other): Likewise.
25175 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25176 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25177 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25178 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25179 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25180 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25181 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25182 * math/w_exp2f.c: Use libm_alias_float_other.
25183 * math/w_expf.c: Likewise.
25184 * math/w_log2f.c: Likewise.
25185 * math/w_logf.c: Likewise.
25186 * math/w_powf.c: Likewise.
25187 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25188 [!__exp2f]: Use libm_alias_float_other.
25189 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25190 [!__expf]: Use libm_alias_float_other.
25191 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25192 [!__log2f]: Use libm_alias_float_other.
25193 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25194 [!__logf]: Use libm_alias_float_other.
25195 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25196 [!__powf]: Use libm_alias_float_other.
25198 2017-10-10 Florian Weimer <fweimer@redhat.com>
25200 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25202 (_nss_files_gethostbyname3_r): Call it.
25204 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25206 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25207 error. Remove default definition of declare_mgen_alias.
25208 [!declare_mgen_alias_r]: Likewise.
25209 * sysdeps/generic/math-type-macros-double.h
25210 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25211 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25212 (declare_mgen_alias_r): Likewise.
25213 * sysdeps/generic/math-type-macros-float128.h
25214 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25215 * sysdeps/generic/math-type-macros-ldouble.h
25216 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25217 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25219 (declare_mgen_alias_r_s): Likewise.
25220 (declare_mgen_alias_r): Likewise.
25221 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25222 (lgamma_r): Define using libm_alias_double_r.
25223 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25224 (lgammaf_r): Define using libm_alias_float_r.
25225 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25226 (lgammal_r): Define using libm_alias_ldouble_r.
25227 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25228 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25230 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25232 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25233 extern declaration.
25235 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25237 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25239 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25242 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25243 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25244 * math/Makefile (test-math-cxx11): New test.
25245 * math/test-math-cxx11.cc: New file.
25247 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25249 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25251 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25252 call to allocate the slave pty file descriptor.
25254 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25256 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25257 [!__fma] (fma): Define using libm_alias_double.
25258 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25259 [!__fma] (fma): Define using libm_alias_double.
25261 * sysdeps/ieee754/float128/float128_private.h: Include
25262 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25263 (libm_alias_ldouble_r): Undefine and redefine.
25264 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25265 <libm-alias-ldouble.h>.
25266 (asinhl): Define using libm_alias_ldouble.
25267 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25268 <libm-alias-ldouble.h>.
25269 (atanl): Define using libm_alias_ldouble.
25270 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25271 <libm-alias-ldouble.h>.
25272 (cbrtl): Define using libm_alias_ldouble.
25273 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25274 <libm-alias-ldouble.h>.
25275 (ceill): Define using libm_alias_ldouble.
25276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25277 <libm-alias-ldouble.h>.
25278 (copysignl): Define using libm_alias_ldouble.
25279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25280 <libm-alias-ldouble.h>.
25281 (cosl): Define using libm_alias_ldouble.
25282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25283 <libm-alias-ldouble.h>.
25284 (erfl): Define using libm_alias_ldouble.
25286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25287 <libm-alias-ldouble.h>.
25288 (expm1l): Define using libm_alias_ldouble.
25289 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25290 <libm-alias-ldouble.h>.
25291 (fabsl): Define using libm_alias_ldouble.
25292 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25293 <libm-alias-ldouble.h>.
25294 (floorl): Define using libm_alias_ldouble.
25295 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25296 <libm-alias-ldouble.h>.
25297 (fmal): Define using libm_alias_ldouble.
25298 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25299 <libm-alias-ldouble.h>.
25300 (frexpl): Define using libm_alias_ldouble.
25301 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25302 libm_alias_ldouble.
25303 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25304 <libm-alias-ldouble.h>.
25305 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25306 libm_alias_ldouble.
25307 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25308 <libm-alias-ldouble.h>.
25309 (getpayloadl): Define using libm_alias_ldouble.
25310 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25311 <libm-alias-ldouble.h>.
25312 (llrintl): Define using libm_alias_ldouble.
25313 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25314 <libm-alias-ldouble.h>.
25315 (llroundl): Define using libm_alias_ldouble.
25316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25317 <libm-alias-ldouble.h>.
25318 (logbl): Define using libm_alias_ldouble.
25319 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25320 <libm-alias-ldouble.h>.
25321 (lrintl): Define using libm_alias_ldouble.
25322 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25323 <libm-alias-ldouble.h>.
25324 (lroundl): Define using libm_alias_ldouble.
25325 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25326 <libm-alias-ldouble.h>.
25327 (modfl): Define using libm_alias_ldouble.
25328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25329 <libm-alias-ldouble.h>.
25330 (nearbyintl): Define using libm_alias_ldouble.
25331 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25332 <libm-alias-ldouble.h>.
25333 (nextafterl): Define using libm_alias_ldouble.
25334 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25335 <libm-alias-ldouble.h>.
25336 (nextupl): Define using libm_alias_ldouble.
25337 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25338 <libm-alias-ldouble.h>.
25339 (remquol): Define using libm_alias_ldouble.
25340 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25341 <libm-alias-ldouble.h>.
25342 (rintl): Define using libm_alias_ldouble.
25343 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25344 <libm-alias-ldouble.h>.
25345 (roundevenl): Define using libm_alias_ldouble.
25346 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25347 <libm-alias-ldouble.h>.
25348 (roundl): Define using libm_alias_ldouble.
25349 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25350 using libm_alias_ldouble.
25351 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25352 <libm-alias-ldouble.h>.
25353 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25354 Define using libm_alias_ldouble.
25355 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25356 <libm-alias-ldouble.h>.
25357 (sincosl): Define using libm_alias_ldouble.
25358 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25359 <libm-alias-ldouble.h>.
25360 (sinl): Define using libm_alias_ldouble.
25361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25362 <libm-alias-ldouble.h>.
25363 (tanhl): Define using libm_alias_ldouble.
25364 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25365 <libm-alias-ldouble.h>.
25366 (tanl): Define using libm_alias_ldouble.
25367 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25368 <libm-alias-ldouble.h>.
25369 (totalorderl): Define using libm_alias_ldouble.
25370 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25371 <libm-alias-ldouble.h>.
25372 (totalordermagl): Define using libm_alias_ldouble.
25373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25374 <libm-alias-ldouble.h>.
25375 (truncl): Define using libm_alias_ldouble.
25376 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25377 libm_alias_ldouble.
25378 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25379 libm_alias_ldouble.
25380 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25381 <libm-alias-ldouble.h>.
25382 (weak_alias): Do not undefine and redefine.
25383 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25384 (copysignl): Define with long_double_symbol only if [IS_IN
25386 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25387 <libm-alias-ldouble.h>.
25388 (weak_alias): Do not undefine and redefine.
25389 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25390 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25391 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25392 <libm-alias-ldouble.h>.
25393 (weak_alias): Do not undefine and redefine.
25394 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25395 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25396 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25397 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25400 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25403 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25406 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25413 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25421 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25424 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25425 (tcache_thread_freeres): Set tcache_shutting_down before
25426 freeing the tcache.
25427 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25428 * malloc/tst-malloc-tcache-leak.c: New file.
25430 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25433 back to powerpc32 file.
25434 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25435 (memrchr): Add __memrchr_power8 to ifunc list.
25436 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25437 extra bytes for unaligned inputs.
25439 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25441 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25442 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25447 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25449 * sysdeps/arm/libm-test-ulps: Update.
25451 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25452 <libm-alias-ldouble.h>.
25453 (asinhl): Define using libm_alias_ldouble.
25454 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25455 <libm-alias-ldouble.h>.
25456 (cbrtl): Define using libm_alias_ldouble.
25457 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25458 <libm-alias-ldouble.h>.
25459 (copysignl): Define using libm_alias_ldouble.
25460 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25461 <libm-alias-ldouble.h>.
25462 (cosl): Define using libm_alias_ldouble.
25463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25464 <libm-alias-ldouble.h>.
25465 (erfl): Define using libm_alias_ldouble.
25467 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25468 <libm-alias-ldouble.h>.
25469 (fmal): Define using libm_alias_ldouble.
25470 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25471 <libm-alias-ldouble.h>.
25472 (frexpl): Define using libm_alias_ldouble.
25473 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25474 libm_alias_ldouble.
25475 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25476 <libm-alias-ldouble.h>.
25477 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25478 libm_alias_ldouble.
25479 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25480 <libm-alias-ldouble.h>.
25481 (getpayloadl): Define using libm_alias_ldouble.
25482 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25483 <libm-alias-ldouble.h>.
25484 (llrintl): Define using libm_alias_ldouble.
25485 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25486 <libm-alias-ldouble.h>.
25487 (llroundl): Define using libm_alias_ldouble.
25488 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25489 <libm-alias-ldouble.h>.
25490 (lrintl): Define using libm_alias_ldouble.
25491 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25492 <libm-alias-ldouble.h>.
25493 (lroundl): Define using libm_alias_ldouble.
25494 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25495 <libm-alias-ldouble.h>.
25496 (modfl): Define using libm_alias_ldouble.
25497 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25498 <libm-alias-ldouble.h>.
25499 (nextupl): Define using libm_alias_ldouble.
25500 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25501 <libm-alias-ldouble.h>.
25502 (remquol): Define using libm_alias_ldouble.
25503 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25504 <libm-alias-ldouble.h>.
25505 (roundevenl): Define using libm_alias_ldouble.
25506 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25507 <libm-alias-ldouble.h>.
25508 (roundl): Define using libm_alias_ldouble.
25509 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25510 using libm_alias_ldouble.
25511 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25512 <libm-alias-ldouble.h>.
25513 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25514 <libm-alias-ldouble.h>.
25515 (setpayloadsigl): Define using libm_alias_ldouble.
25516 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25517 <libm-alias-ldouble.h>.
25518 (sincosl): Define using libm_alias_ldouble.
25519 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25520 <libm-alias-ldouble.h>.
25521 (sinl): Define using libm_alias_ldouble.
25522 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25523 <libm-alias-ldouble.h>.
25524 (tanhl): Define using libm_alias_ldouble.
25525 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25526 <libm-alias-ldouble.h>.
25527 (tanl): Define using libm_alias_ldouble.
25528 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25529 <libm-alias-ldouble.h>.
25530 (totalorderl): Define using libm_alias_ldouble.
25531 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25532 <libm-alias-ldouble.h>.
25533 (totalordermagl): Define using libm_alias_ldouble.
25534 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25535 libm_alias_ldouble.
25536 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25537 libm_alias_ldouble.
25539 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25541 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25543 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25544 (__libc_ifunc_impl_list): Likewise.
25545 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25546 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25548 * benchtests/bench-memmove-walk.c: New file.
25549 * benchtests/Makefile (string-benchset): Add it.
25551 * benchtests/bench-memset-walk.c: New file.
25552 * benchtests/Makefile (string-benchset): Add it.
25554 * benchtests/bench-memcpy-walk.c: New file.
25555 * benchtests/Makefile (string-benchset): Add it.
25557 2017-10-05 Florian Weimer <fweimer@redhat.com>
25559 nscd: Eliminate compilation time dependency in the build output.
25560 * nscd/nscd_stat.c (STATDATA_VERSION)
25561 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25562 (STATDATA_VERSION_FULL): New macro definitions.
25563 (compilation): Remove.
25564 (struct statdata): Adjust version member.
25565 (send_stats): Set version from STATDATA_VERSION_FULL.
25566 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25568 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25570 * configure.ac (--enable-add-ons): Remove option.
25571 (machine): Do not mention add-ons in comment.
25572 (LIBC_PRECONFIGURE): Likewise.
25573 (add_ons): Remove variable and sanity checks and logic to locate
25575 (add_ons_automatic): Remove variable.
25576 (configured_add_ons): Likewise.
25577 (add_ons_sfx): Likewise.
25578 (add_ons_pfx): Likewise.
25579 (add_on_subdirs): Likewise.
25580 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25581 consideration of add-ons in Implies handling.
25582 (sysdeps_add_ons): Likewise.
25583 * configure: Regenerated.
25584 * libidn/configure.ac: Remove.
25585 * libidn/configure: Likewise.
25586 * sysdeps/unix/inet/configure.ac: New file.
25587 * sysdeps/unix/inet/configure: New generated file.
25588 * sysdeps/unix/inet/Subdirs: Add libidn.
25589 * Makeconfig (sysdeps-srcdirs): Remove variable.
25590 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25591 ($(common-objpfx)config.status): Do not depend on add-on files.
25592 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25594 (all-subdirs): Do not include $(add-on-subdirs).
25595 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25596 * config.make.in (add-ons): Remove variable.
25597 (add-on-subdirs): Likewise.
25598 (sysdeps-add-ons): Likewise.
25599 * manual/Makefile (add-chapters): Remove.
25600 ($(objpfx)texis): Do not depend on $(add-chapters).
25601 (nonexamples): Do not handle $(add-chapters).
25602 (examples): Do not handle $(add-ons).
25603 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25605 * manual/install.texi (Installation): Do not mention add-ons.
25606 (--enable-add-ons): Do not document configure option.
25607 * INSTALL: Regenerated.
25608 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25609 * manual/maint.texi (Hierarchy Conventions): Do not mention
25611 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25613 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25615 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25616 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25618 2017-10-05 Andreas Schwab <schwab@suse.de>
25621 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25622 (_IO_flush_all_lockp): Always lock list_all_lock.
25623 (_IO_flush_all_linebuffered): Likewise.
25624 (_IO_unbuffer_all): Likewise.
25626 2017-10-05 Florian Weimer <fweimer@redhat.com>
25629 Do not flush stdio streams on abort.
25630 * stdlib/abort.c (fflush): Remove macro definition.
25631 (abort): Remove stages related to stdio flushing.
25633 2017-10-05 Florian Weimer <fweimer@redhat.com>
25635 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25637 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25639 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25641 2017-10-05 Florian Weimer <fweimer@redhat.com>
25643 * support/support_format_hostent.c (support_format_hostent): Add
25644 more error information for NETDB_INTERNAL.
25646 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25648 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25649 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25650 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25651 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25652 AC_DEFINE if multi-arch is enabled.
25653 * sysdeps/i386/configure: Regenerated.
25655 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25657 * Makeconfig (+link-static-before-libc): Use
25658 $(DEFAULT-LDFLAGS-$(@F)).
25659 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25660 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25661 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25663 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25665 * elf/Makefile (tests): Add tst-main1.
25666 (modules-names): Add tst-main1mod.
25667 ($(objpfx)tst-main1): New.
25668 (CRT-tst-main1): Likewise.
25669 (LDFLAGS-tst-main1): Likewise.
25670 (LDLIBS-tst-main1): Likewise.
25671 (tst-main1mod.so-no-z-defs): Likewise.
25672 * elf/tst-main1.c: New file.
25673 * elf/tst-main1mod.c: Likewise.
25675 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25677 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25679 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25681 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25682 (fma): Define using libm_alias_double.
25683 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25684 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25686 (fmal): Do not define as compat symbol here.
25687 * sysdeps/alpha/fpu/s_fma.c: New file.
25689 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25691 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25693 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25696 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25698 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25700 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25701 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25702 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25703 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25705 Include <math_ldbl_opt.h>
25706 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25708 (compat_symbol): Undefine and redefine.
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25711 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25712 (compat_symbol): Undefine and redefine.
25713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25714 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25715 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25716 GLIBC_2_1 for libm.
25717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25718 GLIBC_2.0 copysignl symbol.
25719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25720 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25722 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25724 2017-10-04 Florian Weimer <fweimer@redhat.com>
25726 * scripts/check-local-headers.sh: Ignore nspr4 header file
25727 directory in addition to nspr.
25729 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25732 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25733 * configure: Regenerate.
25734 * crypt/Makefile (nss-cpp-flags): New variable.
25735 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25736 (CPPFLAGS-md5-crypt.c): Use it.
25737 * scripts/check-local-headers.sh: Ignore nspr header file
25740 2017-10-04 Andreas Schwab <schwab@suse.de>
25742 * nis/Makefile (services): Remove compat.
25743 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25744 ($(objpfx)libnss_compat.so): Remove rule.
25745 * nis/Versions (libnss_compat): Remove.
25746 * nss/Makefile (services): Add compat.
25747 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25748 * nss/Versions (libnss_compat): Define.
25749 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25750 Don't include <rpc/types.h>. Replace bool_t by bool.
25751 * nss/nss_compat/compat-initgroups.c: Likewise.
25752 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25753 instead of <rpcsrv/ypclnt.h>.
25754 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25755 yp_get_default_domain.
25756 * nss/nss_compat/compat-pwd.c: Likewise.
25757 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25758 yp_get_default_domain.
25759 * nss/nss_compat/nisdomain.c: New file.
25760 * nss/nss_compat/nisdomain.h: Likewise.
25762 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25765 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25766 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25768 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25772 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25774 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25776 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25777 "movl main@GOTOFF(%ebx), %eax".
25779 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25781 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25782 allow undefined _DYNAMIC in PIE libc.a.
25783 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25786 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25788 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25791 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25793 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25796 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25798 * math/test-math-iscanonical.cc (error): Replace bool with int.
25800 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25802 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25803 (modf): Define using libm_alias_double, only if [!__modf].
25804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25805 <libm-alias-double.h>.
25806 (modf): Define using libm_alias_double, only if [!__modf].
25807 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25808 compat symbol here.
25809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25810 (weak_alias): Do not undefine and redefine.
25811 (strong_alias): Likewise.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25813 (weak_alias): Likewise.
25814 (strong_alias): Likewise.
25816 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25817 (logb): Define using libm_alias_double, only if [!__logb].
25818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25819 <libm-alias-double.h>.
25820 (logb): Define using libm_alias_double, only if [!__logb].
25821 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25823 (weak_alias): Do not undefine and redefine.
25824 (strong_alias): Likewise.
25825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25826 (weak_alias): Likewise.
25827 (strong_alias): Likewise.
25829 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25831 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25832 Check SHARED instead PIC.
25834 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25836 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25837 [!__fmaf] (fmaf): Define using libm_alias_float.
25839 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25840 (frexp): Define using libm_alias_double.
25841 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25842 <libm-alias-double.h>.
25843 (frexp): Define using libm_alias_double.
25844 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25845 compat symbol here.
25847 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25850 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25851 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25852 (CFLAGS-test-math-iscanonical.cc): New variable.
25853 * math/test-math-iscanonical.cc: New file.
25854 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25855 Provide a C++ implementation based on function overloading,
25856 rather than using __MATH_TG, which uses C-only builtins.
25857 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25859 * sysdeps/powerpc/powerpc64le/Makefile
25860 (CFLAGS-test-math-iscanonical.cc): New variable.
25862 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25864 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25865 (ceil): Define using libm_alias_double.
25866 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25867 (floor): Define using libm_alias_double.
25868 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25869 <libm-alias-double.h>.
25870 (llround): Define using libm_alias_double.
25871 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25872 <libm-alias-double.h>.
25873 (lround): Define using libm_alias_double.
25874 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25875 <libm-alias-double.h>.
25876 (nearbyint): Define using libm_alias_double.
25877 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25878 <libm-alias-double.h>.
25879 (remquo): Define using libm_alias_double.
25880 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25881 (rint): Define using libm_alias_double.
25882 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25883 (round): Define using libm_alias_double.
25884 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25885 (trunc): Define using libm_alias_double.
25886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25887 <libm-alias-double.h>.
25888 (ceil): Define using libm_alias_double.
25889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25890 <libm-alias-double.h>.
25891 (floor): Define using libm_alias_double.
25892 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25893 <libm-alias-double.h>.
25894 (llround): Define using libm_alias_double.
25895 [_LP64] (lround): Likewise.
25896 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25897 <libm-alias-double.h>.
25898 [!_LP64] (lround): Define using libm_alias_double.
25899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25900 <libm-alias-double.h>.
25901 (nearbyint): Define using libm_alias_double.
25902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25903 <libm-alias-double.h>.
25904 (remquo): Define using libm_alias_double.
25905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25906 <libm-alias-double.h>.
25907 (rint): Define using libm_alias_double.
25908 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25909 <libm-alias-double.h>.
25910 (round): Define using libm_alias_double.
25911 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25912 <libm-alias-double.h>.
25913 (trunc): Define using libm_alias_double.
25914 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25915 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25916 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25917 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25918 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25919 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25920 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25921 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25922 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25924 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25926 * math/w_remainder.c: New file.
25927 * math/w_remainderf.c: New file.
25928 * math/w_remainderl.c: New file.
25930 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25932 * elf/rtld.c (BOOTSTRAP_MAP): New.
25933 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25934 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25936 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25938 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25941 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25943 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25944 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25945 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25946 rtld_hidden_data_ver): Define to empty.
25947 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25948 __assert_perror_fail): Likewise.
25949 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25950 (__rewinddir): Likewise.
25951 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25952 (__profile_frequency): Likewise.
25953 * include/setjmp.h (__sigsetjmp): Likewise.
25954 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25955 __libc_sigaction): Likewise.
25956 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25957 not set hidden attribute.
25958 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25959 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25960 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25961 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25962 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25963 __fxstatat64): Likewise.
25964 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25965 (__uname): Likewise.
25966 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25967 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25968 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25969 (NO_RTLD_HIDDEN): Set.
25970 * sysdeps/mach/hurd/configure: Refresh.
25971 * config.h.in: Refresh.
25973 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25975 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25976 (atan): Define using libm_alias_double.
25977 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25978 (tan): Define using libm_alias_double.
25979 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25980 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25983 define as weak alias of __atan. Do not define any aliases if
25985 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25986 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25987 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25988 as weak alias of __tan. Do not define any aliases if [__tan].
25989 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25990 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25991 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25994 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25995 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25996 and define as weak alias of __atan.
25997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26001 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26002 define as weak alias of __tan.
26004 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26006 * math/w_lgamma.c: New file.
26007 * math/w_lgammaf.c: New file.
26008 * math/w_lgammal.c: New file.
26010 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26012 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26013 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26014 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26015 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26016 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26017 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26018 * sysdeps/i386/fpu/w_log2f.c: New file.
26019 * sysdeps/i386/fpu/w_logf.c: New file.
26020 * sysdeps/i386/fpu/w_powf.c: New file.
26021 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26022 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26023 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26025 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26026 H.J. Lu <hongjiu.lu@intel.com>
26028 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26029 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26030 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26031 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26032 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26034 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26035 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26036 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26037 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26038 * sysdeps/i386/fpu/w_exp2f.c: New file.
26039 * sysdeps/i386/fpu/w_expf.c: New file.
26040 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26041 * sysdeps/x86_64/fpu/w_expf.c: New file.
26043 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26045 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26048 * math/w_log2f.c: New file.
26049 * math/w_logf.c: New file.
26050 * math/w_powf.c: New file.
26051 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26052 * math/w_logf_compat.c (__logf_compat): Likewise.
26053 * math/w_powf_compat.c (__powf_compat): Likewise.
26054 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26055 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26056 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26057 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26058 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26059 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26061 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26065 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26068 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26086 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26087 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26088 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26090 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26092 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26093 (sysdep_routines): Add memrchr_power8.
26094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26095 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26096 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26098 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26099 (memrchr): Add __memrchr_power8 to ifunc list.
26100 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26105 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26106 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26108 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26109 (__posix_fallocate64_l64): Likewise.
26111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26114 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26115 (__sched_setaffinity_new): Add libc_hidden_proto and
26118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26121 * include/glob.h (__glob64): Add libc_hidden_proto.
26122 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26128 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26134 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26139 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26145 * csu/version.c (__libc_print_version): Add attribute_hidden.
26147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26150 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26155 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26160 * nscd/nscd_helper.c (__nis_hash): New prototype.
26162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26165 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26166 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26168 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26169 * termios/tcgetattr.c (__tcgetattr): Likewise.
26171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26174 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26175 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26176 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26177 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26178 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26183 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26188 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26189 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26194 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26199 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26200 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26205 * include/ifreq.h: New file.
26206 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26207 (__ifreq): Likewise.
26208 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26209 (__ifreq): Likewise.
26211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26214 * include/idna.h: New file.
26215 * inet/getnameinfo.c: Include <idna.h> instead of
26217 (__idna_to_unicode_lzlz): Removed.
26218 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26220 (__idna_to_ascii_lz): Removed.
26221 (__idna_to_unicode_lzlz): Likewise.
26223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26226 * include/plural-exp.h: New file.
26227 * intl/plural-exp.c: Include <plural-exp.h> instead of
26230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26233 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26234 "getsourcefilter.h".
26235 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26236 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26237 "getsourcefilter.h".
26238 (__get_sol): Removed.
26240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26243 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26245 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26250 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26256 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26261 * include/search.h (__tdestroy): Add libc_hidden_proto.
26262 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26267 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26272 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26278 * include/signal.h (__kill): Add libc_hidden_proto.
26279 (__sigblock): Likewise.
26280 (__sigprocmask): Likewise.
26281 (__sigaltstack): Likewise.
26282 * signal/kill.c (__kill): Add libc_hidden_def.
26283 * signal/sigblock.c (__sigblock): Likewise.
26284 * signal/sigprocmask.c (__sigprocmask): Likewise.
26285 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26286 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26287 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26288 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26289 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26291 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26293 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26294 (__sigprocmask): Likewise.
26295 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26297 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26298 (__sigprocmask): Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26302 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26305 * include/string.h (__strsep): Add libc_hidden_proto.
26306 * string/strsep.c (__strsep): Add libc_hidden_def.
26308 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26311 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26313 (__spawni): Likewise.
26315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26318 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26319 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26325 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26330 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26331 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26332 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26333 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26334 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26336 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26337 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26342 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26343 (__dcigettext): Likewise.
26345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26348 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26350 (__get_nprocs): Likewise.
26351 (__get_phys_pages): Likewise.
26352 (__get_avphys_pages): Likewise.
26353 (__get_child_max): Add attribute_hidden.
26354 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26355 (__get_nprocs): Likewise.
26356 (__get_phys_pages): Likewise.
26357 (__get_avphys_pages): Likewise.
26358 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26360 (__get_nprocs): Likewise.
26361 (__get_phys_pages): Likewise.
26362 (__get_avphys_pages): Likewise.
26363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26365 (__get_nprocs_conf): Likewise.
26366 (__get_phys_pages): Likewise.
26367 (__get_avphys_pages): Likewise.
26369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26372 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26374 (__netlink_close): Likewise.
26375 (__netlink_free_handle): Likewise.
26376 (__netlink_request): Likewise.
26378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26381 * include/rpc/rpc.h (__rpc_thread_variables): Add
26383 (__rpc_thread_svc_cleanup): Likewise.
26384 (__rpc_thread_clnt_cleanup): Likewise.
26385 (__rpc_thread_key_cleanup): Likewise.
26387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26390 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26391 (__writev): Likewise.
26392 * misc/readv.c (__readv): Add libc_hidden_def.
26393 * misc/writev.c (__writev): Likewise.
26394 * sysdeps/posix/readv.c (__readv): Likewise.
26395 * sysdeps/posix/writev.c (__writev): Likewise.
26396 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26397 (__readv): Likewise.
26398 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26399 (__writev): Likewise.
26401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26404 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26405 (__regcomp): Add libc_hidden_proto.
26406 (__regexec): Likewise.
26407 (__regfree): Likewise.
26408 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26409 (__regfree): Likewise.
26410 * posix/regexec.c (__regexec): Likewise.
26412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26415 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26416 (__getutent): Likewise.
26417 (__getutid): Likewise.
26418 (__getutline): Likewise.
26419 (__pututline): Likewise.
26420 (__getutent_r): Likewise.
26421 (__getutid_r): Likewise.
26422 (__getutline_r): Likewise.
26423 (__utmpname): Add attribute_hidden.
26424 (__setutent): Likewise.
26425 (__endutent): Likewise.
26426 * login/getutent.c (__getutent): Add libc_hidden_def.
26427 * login/getutent_r.c (__getutent_r): Likewise.
26428 (__pututline): Likewise.
26429 * login/getutid.c (__getutid): Likewise.
26430 * login/getutid_r.c (__getutid_r): Likewise.
26431 * login/getutline.c (__getutline): Likewise.
26432 * login/getutline_r.c (__getutline_r): Likewise.
26433 * login/updwtmp.c (__updwtmp): Likewise.
26435 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26438 * include/dirent.h (__opendir): Always add attribute_hidden.
26439 (__fdopendir): Likewise.
26440 (__closedir): Likewise.
26441 (__readdir): Likewise.
26442 (__readdir64): Add libc_hidden_proto.
26443 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26444 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26445 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26446 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26452 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26453 * include/netdb.h (__gethostbyaddr_r): Likewise.
26454 (__gethostbyname_r): Likewise.
26455 (__gethostbyname2_r): Likewise.
26456 (__getnetbyaddr_r): Likewise.
26457 (__getnetbyname_r): Likewise.
26458 (__getservbyname_r): Likewise.
26459 (__getservbyport_r): Likewise.
26460 (__getprotobyname_r): Likewise.
26461 (__getprotobynumber_r): Likewise.
26462 (__getnetgrent_r): Likewise.
26463 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26464 (__getrpcbynumber_r): Likewise.
26465 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26470 * include/stdio.h (__fcloseall): Add attribute_hidden.
26471 (__getline): Likewise.
26472 (__path_search): Likewise.
26473 (__gen_tempname): Likewise.
26474 (__libc_message): Likewise.
26475 (__flockfile): Likewise.
26476 (__funlockfile): Likewise.
26477 (__fxprintf): Likewise.
26478 (__fxprintf_nocancel): Likewise.
26480 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26483 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26484 (__sgetsgent_r): Likewise.
26486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26489 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26490 (__statfs64): Likewise.
26491 (__fstatfs64): Likewise.
26492 * include/sys/statvfs.h (__statvfs64): Likewise.
26493 (__fstatvfs64): Likewise.
26494 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26495 (__statfs_filesize_max): Likewise.
26496 (__statfs_symlinks): Likewise.
26497 (__statfs_chown_restricted): Likewise.
26499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26502 * include/time.h (__tzstring): Add attribute_hidden.
26503 (__tzfile_read): Likewise.
26504 (__tzfile_compute): Likewise.
26505 (__tzfile_default): Likewise.
26506 (__tzset_parse_tz): Likewise.
26507 (__offtime): Likewise.
26508 (__asctime_r): Likewise.
26509 (__tzset): Likewise.
26510 (__tz_convert): Likewise.
26511 (__getdate_r): Likewise.
26512 (__getclktck): Likewise.
26514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26517 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26518 (__nscd_unmap): Likewise.
26519 (__nscd_cache_search): Likewise.
26520 (__nscd_get_nl_timestamp): Likewise.
26521 (__nscd_getpwnam_r): Likewise.
26522 (__nscd_getpwuid_r): Likewise.
26523 (__nscd_getgrnam_r): Likewise.
26524 (__nscd_getgrgid_r): Likewise.
26525 (__nscd_gethostbyname_r): Likewise.
26526 (__nscd_gethostbyname2_r): Likewise.
26527 (__nscd_gethostbyaddr_r): Likewise.
26528 (__nscd_getai): Likewise.
26529 (__nscd_getgrouplist): Likewise.
26530 (__nscd_getservbyname_r): Likewise.
26531 (__nscd_getservbyport_r): Likewise.
26532 (__nscd_innetgr): Likewise.
26533 (__nscd_setnetgrent): Likewise.
26535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26538 * include/gmp.h: Declare internal functions only if _ISOMAC is
26540 (__mpn_extract_double): Add attribute_hidden.
26541 (__mpn_extract_long_double): Likewise.
26542 (__mpn_extract_float128): Likewise.
26543 (__mpn_construct_float): Likewise.
26544 (__mpn_construct_double): Likewise.
26545 (__mpn_construct_long_double): Likewise.
26546 (__mpn_construct_float128): Likewise.
26547 (mpn_add_1): Likewise.
26548 (mpn_addmul_1): Likewise.
26549 (mpn_add_n): Likewise.
26550 (mpn_cmp): Likewise.
26551 (mpn_divrem): Likewise.
26552 (mpn_lshift): Likewise.
26553 (mpn_mul): Likewise.
26554 (mpn_mul_1): Likewise.
26555 (mpn_rshift): Likewise.
26556 (mpn_sub_1): Likewise.
26557 (mpn_submul_1): Likewise.
26558 (mpn_sub_n): Likewise.
26560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26563 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26564 (__wcscat): Likewise.
26565 (__btowc): Likewise.
26566 (__wcrtomb): Likewise.
26567 (__mbsrtowcs): Likewise.
26568 (__wcsrtombs): Likewise.
26569 (__mbsnrtowcs): Likewise.
26570 (__wcsnrtombs): Likewise.
26571 (__wcsncpy): Likewise.
26572 (__wcpncpy): Likewise.
26573 (__wmemcpy): Likewise.
26574 (__wmempcpy): Likewise.
26575 (__wmemmove): Likewise.
26576 (__wcschrnul): Likewise.
26577 (__vfwscanf): Likewise.
26578 (__vswprintf): Likewise.
26579 (__fwprintf): Likewise.
26580 (__vfwprintf): Likewise.
26582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26585 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26586 (__getgrgid_r): Likewise.
26587 (__getgrnam_r): Likewise.
26588 * include/pwd.h (__getpwuid_r): Likewise.
26589 (__getpwnam_r): Likewise.
26590 (__fgetpwent_r): Likewise.
26591 * include/shadow.h (__getspnam_r): Likewise.
26592 (__sgetspent_r): Likewise.
26593 (__fgetspent_r): Likewise.
26595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26598 * include/unistd.h (__access): Add attribute_hidden.
26599 (__lseek64): Likewise.
26600 (__libc_pread64): Likewise.
26601 (__pipe2): Likewise.
26602 (__sleep): Likewise.
26603 (__chdir): Likewise.
26604 (__fchdir): Likewise.
26605 (__getcwd): Likewise.
26606 (__rmdir): Likewise.
26607 (__execvpe): Likewise.
26608 (__execve): Likewise.
26609 (__setsid): Likewise.
26610 (__getuid): Likewise.
26611 (__geteuid): Likewise.
26612 (__getgid): Likewise.
26613 (__getegid): Likewise.
26614 (__getgroups): Likewise.
26615 (__group_member): Likewise.
26616 (__ttyname_r): Likewise.
26617 (__isatty): Likewise.
26618 (__readlink): Likewise.
26619 (__unlink): Likewise.
26620 (__gethostname): Likewise.
26621 (__profil): Likewise.
26622 (__getdtablesize): Likewise.
26624 (__ftruncate): Likewise.
26625 (__ftruncate64): Likewise.
26627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26630 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26631 * argp/argp-fs-xinl.c: Likewise.
26632 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26633 * argp/argp-parse.c: Include <argp.h>.
26634 * argp/argp-xinl.c: Likewise.
26635 * include/argp-fmtstream.h: New file.
26636 * include/argp.h (__argp_error): Add attribute_hidden.
26637 (__argp_failure): Likewise.
26638 (__argp_input): Likewise.
26639 (__argp_state_help): Likewise.
26641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26644 * include/wchar.h (____wcstof_l_internal): New prototype.
26645 (____wcstod_l_internal): Likewise.
26646 (____wcstold_l_internal): Likewise.
26647 (____wcstol_l_internal): Likewise.
26648 (____wcstoul_l_internal): Likewise.
26649 (____wcstoll_l_internal): Likewise.
26650 (____wcstoull_l_internal): Likewise.
26651 (____wcstof128_l_internal): Likewise.
26652 * sysdeps/ieee754/float128/wcstof128.c
26653 (____wcstof128_l_internal): Removed.
26654 * sysdeps/ieee754/float128/wcstof128_l.c
26655 (____wcstof128_l_internal): Likewise.
26656 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26657 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26658 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26659 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26660 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26661 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26662 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26663 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26664 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26665 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26667 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26670 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26671 instead of <sys/statvfs.h>.
26672 (__internal_statvfs): Removed.
26673 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26674 instead of <sys/statvfs.h>.
26675 (__internal_statvfs64): Removed.
26676 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26677 "internal_statvfs.h" instead of <sys/statvfs.h>.
26678 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26679 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26680 instead of <sys/statvfs.h>.
26681 (__internal_statvfs): Removed.
26682 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26683 instead of <sys/statvfs.h>.
26684 (__internal_statvfs64): Removed.
26686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26689 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26690 (__gconv_close): Likewise.
26691 (__gconv): Likewise.
26692 (__gconv_find_transform): Likewise.
26693 (__gconv_lookup_cache): Likewise.
26694 (__gconv_compare_alias_cache): Likewise.
26695 (__gconv_load_cache): Likewise.
26696 (__gconv_get_path): Likewise.
26697 (__gconv_close_transform): Likewise.
26698 (__gconv_release_cache): Likewise.
26699 (__gconv_find_shlib): Likewise.
26700 (__gconv_release_shlib): Likewise.
26701 (__gconv_get_builtin_trans): Likewise.
26702 (__gconv_compare_alias): Likewise.
26703 * include/dlfcn.h (_dlerror_run): Likewise.
26704 * include/stdio.h (__fortify_fail_abort): Likewise.
26705 * include/time.h (__tz_compute): Likewise.
26706 (__strptime_internal): Likewise.
26707 * intl/gettextP.h (_nl_find_domain): Likewise.
26708 (_nl_load_domain): Likewise.
26709 (_nl_find_msg): Likewise.
26710 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26711 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26712 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26713 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26714 (__gai_find_request): Likewise.
26715 (__gai_remove_request): Likewise.
26716 (__gai_notify): Likewise.
26717 (__gai_notify_only): Likewise.
26718 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26719 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26720 (_dl_non_dynamic_init): Likewise.
26721 (_dl_aux_init): Likewise.
26722 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26723 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26725 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26726 (__wcsmbs_clone_conv): Likewise.
26727 (__wcsmbs_named_conv): Likewise.
26729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26732 * include/stdlib.h (__random): Add attribute_hidden.
26733 (__random_r): Likewise.
26734 (__srandom_r): Likewise.
26735 (__initstate_r): Likewise.
26736 (__setstate_r): Likewise.
26737 (__erand48_r): Likewise.
26738 (__nrand48_r): Likewise.
26739 (__jrand48_r): Likewise.
26740 (__srand48_r): Likewise.
26741 (__seed48_r): Likewise.
26742 (__lcong48_r): Likewise.
26743 (__drand48_iterate): Likewise.
26744 (__setenv): Likewise.
26745 (__unsetenv): Likewise.
26746 (__clearenv): Likewise.
26747 (__ptsname_r): Likewise.
26748 (__posix_openpt): Likewise.
26749 (__add_to_environ): Likewise.
26750 (__realpath): Add libc_hidden_proto.
26751 (__ecvt_r): Likewise.
26752 (__fcvt_r): Likewise.
26753 (__qecvt_r): Likewise.
26754 (__qfcvt_r): Likewise.
26755 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26756 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26761 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26762 * include/time.h (__mktime_internal): Likewise.
26763 * libio/iolibio.h (__fopen_internal): Likewise.
26765 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26767 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26769 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26770 Correct offset used to restore PIC register.
26772 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26775 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26776 code to load address of __getcontext_ret when generating PIC code.
26778 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26780 * elf/Makefile (tests-static-internal): Add
26781 tst-tls1-static-non-pie.
26782 (LDFLAGS-tst-tls1-static-non-pie): New.
26783 * elf/tst-tls1-static-non-pie.c: New file.
26785 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26787 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26788 (asinh): Define using libm_alias_double.
26789 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26790 (cbrt): Define using libm_alias_double.
26791 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26792 <libm-alias-double.h>.
26793 (copysign): Define using libm_alias_double.
26794 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26795 (erf): Define using libm_alias_double.
26797 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26798 (expm1): Define using libm_alias_double.
26799 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26800 (fabs): Define using libm_alias_double.
26801 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26803 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26804 <libm-alias-double.h>.
26805 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26807 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26808 <libm-alias-double.h>.
26809 (getpayload): Define using libm_alias_double.
26810 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26811 <libm-alias-double.h>.
26812 (llrint): Define using libm_alias_double.
26813 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26814 (lrint): Define using libm_alias_double.
26815 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26816 <libm-alias-double.h>.
26817 (nextup): Define using libm_alias_double.
26818 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26819 <libm-alias-double.h>.
26820 (roundeven): Define using libm_alias_double.
26821 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26823 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26824 <libm-alias-double.h>.
26825 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26826 using libm_alias_double.
26827 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26828 (cos): Define using libm_alias_double.
26830 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26831 <libm-alias-double.h>.
26832 (sincos): Define using libm_alias_double.
26833 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26834 (tanh): Define using libm_alias_double.
26835 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26836 <libm-alias-double.h>.
26837 (totalorder): Define using libm_alias_double.
26838 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26839 <libm-alias-double.h>.
26840 (totalordermag): Define using libm_alias_double.
26841 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26843 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26845 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26846 <libm-alias-double.h>.
26847 (getpayload): Define using libm_alias_double.
26848 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26849 <libm-alias-double.h>.
26850 (roundeven): Define using libm_alias_double.
26851 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26852 <libm-alias-double.h>.
26853 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26854 <libm-alias-double.h>.
26855 (totalorder): Define using libm_alias_double.
26856 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26857 <libm-alias-double.h>.
26858 (totalordermag): Define using libm_alias_double.
26859 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26860 libc compat symbol here.
26861 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26862 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26863 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26864 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26865 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26866 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26867 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26868 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26869 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26870 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26872 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26874 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26875 _dl_relocate_static_pie instead of _dl_start to compute load
26876 address in static PIE. Return 0 if _DYNAMIC is undefined for
26879 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26881 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26882 _DYNAMIC is undefined for static executable.
26884 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26886 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26888 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26892 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26894 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26895 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26896 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26897 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26899 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26900 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26901 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26903 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26904 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26905 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26907 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26908 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26909 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26910 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26912 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26914 * math/bits/cmathcalls.h (cimag): Remove inline.
26915 (creal): Remove inline.
26916 (conj): Remove inline.
26918 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26920 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26921 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26922 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26923 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26924 (issignalingf_inline): Likewise.
26925 (POWF_LOG2_TABLE_BITS): Likewise.
26926 (POWF_LOG2_POLY_ORDER): Likewise.
26927 (POWF_SCALE_BITS): Likewise.
26928 (POWF_SCALE): Likewise.
26929 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26930 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26931 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26933 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26935 * math/Makefile (type-float-routines): Add e_log2f_data.
26936 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26937 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26938 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26939 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26940 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26941 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26942 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26944 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26946 * math/Makefile (type-float-routines): Add e_logf_data.
26947 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26948 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26949 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26950 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26951 * sysdeps/i386/fpu/e_logf_data.c: New file.
26952 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26953 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26955 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26957 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26958 undefined _DYNAMIC in PIE libc.a.
26959 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26962 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26964 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26965 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26966 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26967 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26968 (__signbit): Remove.
26969 (__signbitl): Remove.
26970 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26971 (__signbit): Remove.
26972 (__signbitl): Remove.
26973 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26974 (__signbit): Remove.
26975 (__signbitl): Remove.
26976 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26977 (__signbit): Remove.
26978 (__signbitl): Remove.
26979 * sysdeps/tile/bits/mathinline.h: Delete file.
26980 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26981 (__signbit): Remove.
26982 (__signbitl): Remove.
26984 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26986 * math/math.h: Improve handling of C99 isgreater macros.
26987 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26988 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26989 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26990 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26991 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26993 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26995 * sysdeps/aarch64/libm-test-ulps: Update.
26997 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27001 math_opt_barrier on argument when doing arithmetic on it.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27003 Likewise. Use math_force_eval not math_opt_barrier after
27005 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27006 math_opt_barrier on argument when doing arithmetic on it.
27007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27010 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27012 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27014 (__freeifaddrs): Likewise.
27016 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27018 * include/dirent.h (__dirfd): New declaration.
27019 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27021 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27022 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27023 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27024 * include/unistd.h (__revoke): New declaration.
27025 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27027 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27028 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27030 * include/dirent.h (__seekdir): New declaration.
27031 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27032 redefine as weak alias.
27033 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27035 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27036 and use libc_hidden_def on them.
27037 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27039 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27040 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27041 instead of getifaddrs and freeifaddrs.
27043 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27046 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27047 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27048 (__dso_handle): Remove declaration.
27049 * dlfcn/tstatexit.c (__dso_handle): Removed.
27050 (main): Don't check __dso_handle.
27051 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27052 (main): Don't check __dso_handle.
27053 * include/dso_handle.h: New file.
27054 * malloc/mtrace.c: Include <dso_handle.h>.
27055 (mtrace): Pass __dso_handle directly.
27056 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27057 (__dso_handle): Remove declaration.
27058 (__pthread_atfork): Pass __dso_handle directly.
27059 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27060 (__dso_handle): Removed.
27061 * posix/wordexp-test.c: Include <dso_handle.h>.
27062 (__dso_handle): Remove declaration.
27063 (__app_register_atfork): Pass __dso_handle directly.
27064 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27065 (__dso_handle): Remove declaration.
27066 (at_quick_exit): Pass __dso_handle directly.
27067 * stdlib/atexit.c: Include <dso_handle.h>.
27068 (__dso_handle): Remove declaration.
27069 (atexit): Pass __dso_handle directly.
27070 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27071 (__dso_handle): Removed.
27073 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27075 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27078 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27080 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27081 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27082 values to correct default value for given type.
27084 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27087 * elf/Makefile (tests): Add tst-debug1.
27088 ($(objpfx)tst-debug1): New.
27089 ($(objpfx)tst-debug1.out): Likewise.
27090 ($(objpfx)tst-debug1mod1.so): Likewise.
27091 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27092 with p_filesz == 0.
27093 * elf/tst-debug1.c: New file.
27095 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27097 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27098 Define using __ifunc.
27100 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27102 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27105 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27108 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27110 2017-09-26 Florian Weimer <fweimer@redhat.com>
27112 * resolv/Makefile (tests-internal): Fix typo in comment.
27114 2017-09-26 Florian Weimer <fweimer@redhat.com>
27116 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27118 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27120 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27121 Use an union instead of a max_align_t array for __space,
27122 so that __space is the same size on all platforms.
27123 * malloc/scratch_buffer_grow_preserve.c
27124 (__libc_scratch_buffer_grow_preserve): Likewise.
27127 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27129 * posix/Makefile (routines): Add glob-lstat-compat and
27130 glob64-lstat-compat.
27131 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27132 * posix/glob-lstat-compat.c: New file.
27133 * posix/glob64-lstat-compat.c: Likewise.
27134 * posix/tst-glob_lstat_compat.c: Likewise.
27135 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27136 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27137 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27138 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27140 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27141 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27142 * posix/glob.c (glob_lstat): New function.
27143 (glob): Rename to __glob and add versioned symbol to 2.27.
27144 (glob_in_dir): Use glob_lstat.
27145 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27146 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27147 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27149 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27150 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27151 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27152 gl_lstat on glob call.
27153 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27154 and glob64 symbols.
27155 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27156 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27157 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27158 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27159 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27161 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27162 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27163 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27165 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27166 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27169 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27172 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27173 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27174 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27175 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27178 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27179 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27180 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27182 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27184 * configure.ac (AS): Require binutils 2.25 or later.
27185 * configure: Regenerated.
27187 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27190 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27193 2017-09-25 DJ Delorie <dj@redhat.com>
27196 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27199 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27201 * sysdeps/ieee754/dbl-64/sincos32.h
27202 [SINCCOS32_H]: Remove define.
27203 [SINCOS32_H]: Define.
27205 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27207 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27209 * math/w_exp2f.c: New file.
27210 * math/w_expf.c: New file.
27211 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27212 * math/w_expf_compat.c (__expf_compat): Likewise.
27213 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27214 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27215 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27216 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27217 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27218 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27219 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27220 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27221 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27222 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27223 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27224 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27226 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27235 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27236 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27237 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27238 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27239 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27244 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27245 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27248 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27250 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27251 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27252 (roundtoint, converttoint): Likewise.
27253 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27254 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27255 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27256 * sysdeps/ieee754/flt-32/math_config.h: New file.
27257 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27258 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27259 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27260 * sysdeps/i386/fpu/math_errf.c: New file.
27261 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27262 * sysdeps/ia64/fpu/math_errf.c: New file.
27263 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27264 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27266 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27268 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27269 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27270 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27271 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27272 to make sure that these symbols are defined.
27273 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27275 (__need_NULL): Do not define.
27276 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27278 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27279 CMGROUP_MAX, cmsgcred): Do not define.
27280 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27282 * bits/socket.h: Likewise.
27283 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27284 __gettimeofday instead of gettimeofday.
27285 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27286 instead of settimeofday.
27288 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27290 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27291 (asinhf): Define using libm_alias_float.
27292 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27293 (atanf): Define using libm_alias_float.
27294 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27295 (cbrtf): Define using libm_alias_float.
27296 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27297 (ceilf): Define using libm_alias_float.
27298 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27299 <libm-alias-float.h>.
27300 (copysignf): Define using libm_alias_float.
27301 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27302 (cosf): Define using libm_alias_float.
27303 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27304 (erff): Define using libm_alias_float.
27306 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27307 (expm1f): Define using libm_alias_float.
27308 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27309 (fabsf): Define using libm_alias_float.
27310 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27311 (floorf): Define using libm_alias_float.
27312 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27313 (frexpf): Define using libm_alias_float.
27314 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27316 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27317 <libm-alias-float.h>.
27318 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27320 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27321 <libm-alias-float.h>.
27322 (getpayloadf): Define using libm_alias_float.
27323 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27324 <libm-alias-float.h>.
27325 (llrintf): Define using libm_alias_float.
27326 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27327 <libm-alias-float.h>.
27328 (llroundf): Define using libm_alias_float.
27329 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27330 (logbf): Define using libm_alias_float.
27331 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27332 (lrintf): Define using libm_alias_float.
27333 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27334 (lroundf): Define using libm_alias_float.
27335 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27336 (modff): Define using libm_alias_float.
27337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27338 <libm-alias-float.h>.
27339 (nearbyintf): Define using libm_alias_float.
27340 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27341 <libm-alias-float.h>.
27342 (nextafterf): Define using libm_alias_float.
27343 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27344 <libm-alias-float.h>.
27345 (nextupf): Define using libm_alias_float.
27346 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27347 <libm-alias-float.h>.
27348 (remquof): Define using libm_alias_float.
27349 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27350 (rintf): Define using libm_alias_float.
27351 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27352 <libm-alias-float.h>.
27353 (roundevenf): Define using libm_alias_float.
27354 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27355 (roundf): Define using libm_alias_float.
27356 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27357 using libm_alias_float.
27358 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27359 <libm-alias-float.h>.
27360 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27361 Define using libm_alias_float.
27362 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27363 <libm-alias-float.h>.
27364 (sincosf): Define using libm_alias_float.
27365 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27366 (sinf): Define using libm_alias_float.
27367 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27368 (tanf): Define using libm_alias_float.
27369 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27370 (tanhf): Define using libm_alias_float.
27371 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27372 <libm-alias-float.h>.
27373 (totalorderf): Define using libm_alias_float.
27374 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27375 <libm-alias-float.h>.
27376 (totalordermagf): Define using libm_alias_float.
27377 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27378 (truncf): Define using libm_alias_float.
27379 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27381 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27384 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27387 math/math.h: Let fpclassify use the builtin in C++ mode, even
27388 when optimazing for size.
27390 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27392 * csu/Makefile (generated): Do not add version-info.h.
27393 (before-compile): Likewise.
27394 (all-Banner-files): Remove variable.
27395 ($(objpfx)version-info.h): Remove rule.
27396 * csu/version.c (banner): Do not include "version-info.h".
27397 * libidn/Banner: Remove.
27398 * manual/contrib.texi (Simon Josefsson): New entry.
27400 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27402 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27403 Remove conditionals on LDBL_MANT_DIG.
27404 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27405 (__ieee754_lgammal_r): Likewise.
27407 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27411 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27412 _Float128 and L(). Replace _Float128 with long double and L(x)
27413 with xL, throughout the file.
27414 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27419 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27422 sysdeps/ieee754/ldbl-128ibm.
27423 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27424 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27425 of including it. Keep _Float128 and L() intact. These will be
27426 reviewed by a separate patch.
27427 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27432 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27435 (__finitef128): Define to __redirect___finitef128.
27436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27437 (__isinff128): Define to __redirect___isinff128.
27438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27439 (__isnanf128): Define to __redirect___isnanf128.
27441 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27443 * sysdeps/powerpc/powerpc64le/Makefile
27444 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27445 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27447 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27448 Carlos O'Donell <carlos@redhat.com>
27451 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27452 * stdlib/test-dlclose-exit-race.c: New file.
27453 * stdlib/test-dlclose-exit-race-helper.c: New file.
27454 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27456 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27458 * crypt/Banner: Remove file.
27459 * nptl/Banner: Likewise.
27460 * resolv/Banner: Likewise.
27461 * soft-fp/Banner: Likewise.
27462 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27463 ($(objpfx)version.d): Remove dependency on banner.h.
27464 ($(objpfx)version.os): Likewise.
27465 * nptl/version.c (banner): Do not include banner.h.
27466 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27467 Jelinek and BIND code.
27469 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27470 Carlos O'Donell <carlos@redhat.com>
27472 * support/xdlfcn.h: New file.
27473 * support/xdlfcn.c: New file.
27474 * support/Makefile (libsupport-routines): Add xdlfcn.
27475 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27477 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27480 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27481 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27482 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27483 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27484 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27485 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27486 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27487 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27489 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27490 Ricky Zhou <rickyz@google.com>
27491 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27494 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27496 (__new_exitfn): Fail registration when we finished at_exit processing.
27497 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27498 * stdlib/on_exit.c (__on_exit): Likewise.
27499 * stdlib/exit.c (__exit_funcs_done): New variable.
27500 (__run_exit_handlers): Use __exit_funcs_lock.
27501 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27503 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27504 (test-cxa_atexit-race, test-on_exit-race): New tests.
27505 * stdlib/test-atexit-race-common.c: New file.
27506 * stdlib/test-atexit-race.c: New file.
27507 * stdlib/test-at_quick_exit-race.c: New file.
27508 * stdlib/test-cxa_atexit-race.c: New file.
27509 * stdlib/test-on_exit-race.c: New file.
27511 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27513 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27514 * benchtests/exp2f-inputs: Copy of expf-inputs.
27515 * benchtests/log2f-inputs: Copy of logf-inputs.
27517 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27519 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27520 Explicitly take address of first element of array arguments in
27521 call to INLINE_SYSCALL.
27523 2017-09-19 Andreas Schwab <schwab@suse.de>
27526 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27528 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27531 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27532 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27533 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27534 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27535 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27536 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27537 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27538 * posix/Makefile (tests): Add tst-fexecve.
27539 * posix/tst-fexecve.c: New file.
27541 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27543 * benchtests/Makefile: Add logf benchmark.
27544 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27546 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27548 * benchtests/Makefile: Add expf benchmark.
27549 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27551 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27553 * csu/Makefile: Add -funwind-tables to libc-start.c.
27554 * debug/Makefile: Add -funwind-tables to backtrace.c.
27555 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27556 * sysdeps/arm/Makefile: Likewise.
27557 * sysdeps/i386/Makefile: Likewise.
27558 * sysdeps/m68k/Makefile: Likewise.
27559 * sysdeps/mips/Makefile: Likewise.
27560 * sysdeps/nios2/Makefile: Likewise.
27561 * sysdeps/sh/Makefile: Likewise.
27562 * sysdeps/sparc/Makefile: Likewise.
27564 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27566 * benchtests/Makefile (bench-math): Add trunc and truncf.
27567 (CFLAGS-bench-trunc.c): New variable.
27568 (CFLAGS-bench-truncf.c): Likewise.
27569 * benchtests/trunc-inputs: New file.
27570 * benchtests/truncf-inputs: Likewise.
27572 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27574 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27576 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27578 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27579 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27581 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27582 (exp10l): Define as weak alias.
27583 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27584 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27586 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27587 (remainderl): Define as weak alias.
27589 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27590 (fmal): Define using libm_alias_ldouble.
27591 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27592 (acoshl): Define using libm_alias_ldouble.
27593 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27594 (acosl): Define using libm_alias_ldouble.
27595 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27596 (asinl): Define using libm_alias_ldouble.
27597 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27598 (atan2l): Define using libm_alias_ldouble.
27599 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27600 (atanhl): Define using libm_alias_ldouble.
27601 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27602 (coshl): Define using libm_alias_ldouble.
27603 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27604 (exp10l): Define using libm_alias_ldouble.
27605 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27606 (exp2l): Define using libm_alias_ldouble.
27607 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27608 (expl): Define using libm_alias_ldouble.
27609 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27610 (fmodl): Define using libm_alias_ldouble.
27611 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27612 (hypotl): Define using libm_alias_ldouble.
27613 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27614 (j0l): Define using libm_alias_ldouble.
27616 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27617 (j1l): Define using libm_alias_ldouble.
27619 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27620 (jnl): Define using libm_alias_ldouble.
27622 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27623 (log10l): Define using libm_alias_ldouble.
27624 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27625 (log2l): Define using libm_alias_ldouble.
27626 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27627 (logl): Define using libm_alias_ldouble.
27628 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27629 (powl): Define using libm_alias_ldouble.
27630 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27631 (remainderl): Define using libm_alias_ldouble.
27632 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27633 (sinhl): Define using libm_alias_ldouble.
27634 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27635 (sqrtl): Define using libm_alias_ldouble.
27636 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27637 (tgammal): Define using libm_alias_ldouble.
27638 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27639 (exp10l): Do not use long_double_symbol here.
27640 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27641 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27642 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27643 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27644 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27645 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27646 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27647 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27648 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27649 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27650 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27651 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27652 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27653 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27654 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27655 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27656 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27657 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27658 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27659 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27660 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27661 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27663 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27665 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27666 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27668 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27670 * io/read.c (read): Add libc_hidden_weak.
27671 * sysdeps/mach/hurd/read.c (read): Likewise.
27672 * io/write.c (write): Likewise.
27673 * sysdeps/mach/hurd/write.c (write): Likewise.
27674 * io/pread64.c (__pread64): Likewise.
27675 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27676 * posix/pread64.c (__pread64): Add libc_hidden_def.
27678 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27680 * benchtests/scripts/compare_strings.py: New option -g.
27681 (draw_graph): Print a message that a graph is being generated.
27682 (process_results): Generate graph only if -g is passed.
27683 (main): Process option -g.
27685 * benchtests/scripts/compare_strings.py (process_results):
27686 Better spacing for output.
27688 * benchtests/scripts/compare_strings.py: Use argparse.
27689 * benchtests/README: Document existence of compare_strings.py.
27691 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27693 * math/s_fma.c: Include <libm-alias-double.h>.
27694 (fma): Define using libm_alias_double.
27695 * math/s_nextafter.c: Include <libm-alias-double.h>.
27696 (nextafter): Define using libm_alias_double.
27697 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27698 (acos): Define using libm_alias_double.
27699 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27700 (aocsh): Define using libm_alias_double.
27701 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27702 (asin): Define using libm_alias_double.
27703 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27704 (atan2): Define using libm_alias_double.
27705 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27706 (atanh): Define using libm_alias_double.
27707 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27708 (cosh): Define using libm_alias_double.
27709 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27710 (exp10): Define using libm_alias_double.
27711 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27712 (exp2): Define using libm_alias_double.
27713 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27714 (exp): Define using libm_alias_double.
27715 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27716 (fmod): Define using libm_alias_double.
27717 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27718 (hypot): Define using libm_alias_double.
27719 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27720 (j0): Define using libm_alias_double.
27722 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27723 (j1): Define using libm_alias_double.
27725 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27726 (jn): Define using libm_alias_double.
27728 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27729 (log10): Define using libm_alias_double.
27730 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27731 (log2): Define using libm_alias_double.
27732 * math/w_log_compat.c: Include <libm-alias-double.h>.
27733 (log): Define using libm_alias_double.
27734 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27735 (pow): Define using libm_alias_double.
27736 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27737 (remainder): Define using libm_alias_double.
27738 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27739 (sinh): Define using libm_alias_double.
27740 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27741 (sqrt): Define using libm_alias_double.
27742 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27743 (tgamma): Define using libm_alias_double.
27744 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27745 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27746 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27747 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27748 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27749 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27750 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27751 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27752 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27753 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27754 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27755 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27756 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27757 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27758 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27759 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27760 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27761 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27762 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27763 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27764 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27765 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27766 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27767 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27768 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27770 * math/e_acoshl.c: Remove.
27771 * math/e_acosl.c: Likewise.
27772 * math/e_asinl.c: Likewise.
27773 * math/e_atan2l.c: Likewise.
27774 * math/e_atanhl.c: Likewise.
27775 * math/e_coshl.c: Likewise.
27776 * math/e_expl.c: Likewise.
27777 * math/e_fmodl.c: Likewise.
27778 * math/e_gammal_r.c: Likewise.
27779 * math/e_hypotl.c: Likewise.
27780 * math/e_j0l.c: Likewise.
27781 * math/e_j1l.c: Likewise.
27782 * math/e_jnl.c: Likewise.
27783 * math/e_lgammal_r.c: Likewise.
27784 * math/e_log10l.c: Likewise.
27785 * math/e_log2l.c: Likewise.
27786 * math/e_logl.c: Likewise.
27787 * math/e_powl.c: Likewise.
27788 * math/e_rem_pio2l.c: Likewise.
27789 * math/e_sinhl.c: Likewise.
27790 * math/e_sqrtf128.c: Likewise.
27791 * math/e_sqrtl.c: Likewise.
27792 * math/k_cosl.c: Likewise.
27793 * math/k_sinl.c: Likewise.
27794 * math/k_tanl.c: Likewise.
27795 * math/s_asinhl.c: Likewise.
27796 * math/s_atanl.c: Likewise.
27797 * math/s_cbrtl.c: Likewise.
27798 * math/s_erfl.c: Likewise.
27799 * math/s_expm1l.c: Likewise.
27800 * math/s_log1pl.c: Likewise.
27801 * math/s_tanhl.c: Likewise.
27803 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27807 [$(subdir) = math] (sysdep_calls): New variable. Has the
27808 previous contents of sysdep_routines, but re-sorted..
27809 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27811 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27812 defined in sysdep_calls and replace by the respective m_* names.
27813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27814 (compat_symbol): Undefine to avoid duplicated compat symbols in
27817 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27819 * math/s_fmaf.c: Include <libm-alias-float.h>.
27820 (fmaf): Define using libm_alias_float.
27821 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27822 (acosf): Define using libm_alias_float.
27823 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27824 (acoshf): Define using libm_alias_float.
27825 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27826 (asinf): Define using libm_alias_float.
27827 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27828 (atan2f): Define using libm_alias_float.
27829 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27830 (atanhf): Define using libm_alias_float.
27831 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27832 (coshf): Define using libm_alias_float.
27833 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27834 (exp10f): Define using libm_alias_float.
27835 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27836 (fmodf): Define using libm_alias_float.
27837 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27838 (hypotf): Define using libm_alias_float.
27839 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27840 (j0f): Define using libm_alias_float.
27842 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27843 (j1f): Define using libm_alias_float.
27845 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27846 (jnf): Define using libm_alias_float.
27848 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27849 (log10f): Define using libm_alias_float.
27850 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27851 (log2f): Define using libm_alias_float.
27852 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27853 (logf): Define using libm_alias_float.
27854 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27855 (powf): Define using libm_alias_float.
27856 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27857 (remainderf): Define using libm_alias_float.
27858 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27859 (sinhf): Define using libm_alias_float.
27860 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27861 (sqrtf): Define using libm_alias_float.
27862 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27863 (tgammaf): Define using libm_alias_float.
27865 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27867 * include/math.h (roundeven): Change hidden_proto call to
27869 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27871 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27872 (y0): Rename to __y0 and define as weak alias.
27873 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27874 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27876 (y0f): Rename to __y0f and define as weak alias.
27877 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27879 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27880 (y1): Rename to __y1 and define as weak alias.
27881 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27882 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27884 (y1f): Rename to __y1f and define as weak alias.
27885 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27887 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27888 (yn): Rename to __yn and define as weak alias.
27889 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27890 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27892 (ynf): Rename to __ynf and define as weak alias.
27893 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27894 (fromfp): Define as weak alias.
27895 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27896 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27897 (fromfpx): Define as weak alias.
27898 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27899 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27900 __getpayload and define as weak alias.
27901 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27902 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27903 __roundeven and define as weak alias.
27904 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27905 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27907 (setpayload): Define as weak alias.
27908 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27909 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27911 (setpayloadsig): Define as weak alias.
27912 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27913 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27914 __totalorder and define as weak alias.
27915 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27916 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27917 to __totalordermag and define as weak alias.
27918 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27919 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27920 (ufromfp): Define as weak alias.
27921 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27922 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27924 (ufromfpx): Define as weak alias.
27925 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27927 Rename to __getpayload and define as weak alias.
27928 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27929 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27930 Rename to __roundeven and define as weak alias.
27931 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27932 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27933 Rename to __totalorder and define as weak alias.
27934 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27935 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27936 (totalordermag): Rename to __totalordermag and define as weak
27938 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27939 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27941 (__roundevenl): Likewise.
27942 (__totalorderl): Likewise.
27943 (__totalordermagl): Likewise
27944 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27946 (fromfpf128): Define as weak alias.
27947 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27949 (fromfpxf128): Define as weak alias.
27950 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27952 (setpayloadf128): Define as weak alias.
27953 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27954 __setpayloadsigf128.
27955 (setpayloadsigf128): Define as weak alias.
27956 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27958 (ufromfpf128): Define as weak alias.
27959 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27961 (ufromfpxf128): Define as weak alias.
27962 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27963 (fromfpf): Define as weak alias.
27964 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27966 (fromfpxf): Define as weak alias.
27967 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27968 __getpayloadf and define as weak alias.
27969 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27970 __roundevenf and define as weak alias.
27971 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27973 (setpayloadf): Define as weak alias.
27974 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27976 (setpayloadsigf): Define as weak alias.
27977 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27978 __totalorderf and define as weak alias.
27979 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27980 Rename to __totalordermagf and define as weak alias.
27981 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27983 (ufromfpf): Define as weak alias.
27984 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27986 (ufromfpxf): Define as weak alias.
27987 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27989 (fromfpl): Define as weak alias.
27990 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27992 (fromfpxl): Define as weak alias.
27993 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27994 to __getpayloadl and define as weak alias.
27995 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27996 __roundevenl and define as weak alias.
27997 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27999 (setpayloadl): Define as weak alias.
28000 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28002 (setpayloadsigl): Define as weak alias.
28003 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28004 to __totalorderl and define as weak alias.
28005 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28006 Rename to __totalordermagl and define as weak alias.
28007 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28009 (ufromfpl): Define as weak alias.
28010 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28012 (ufromfpxl): Define as weak alias.
28013 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28015 (fromfpl): Define as weak alias.
28016 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28018 (fromfpxl): Define as weak alias.
28019 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28020 Rename to __getpayloadl and define as weak alias.
28021 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28022 to __roundevenl and define as weak alias. Call __roundeven
28023 instead of roundeven.
28024 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28026 (setpayloadl): Define as weak alias.
28027 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28029 (setpayloadsigl): Define as weak alias.
28030 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28031 Rename to __totalorderl and define as weak alias.
28032 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28033 Rename to __totalordermagl and define as weak alias.
28034 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28036 (ufromfpl): Define as weak alias.
28037 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28039 (ufromfpxl): Define as weak alias.
28040 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28042 (fromfpl): Define as weak alias.
28043 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28045 (fromfpxl): Define as weak alias.
28046 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28047 __getpayloadl and define as weak alias.
28048 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28049 __roundevenl and define as weak alias.
28050 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28052 (setpayloadl): Define as weak alias.
28053 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28055 (setpayloadsigl): Define as weak alias.
28056 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28057 __totalorderl and define as weak alias.
28058 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28059 Rename to __totalordermagl and define as weak alias.
28060 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28062 (ufromfpl): Define as weak alias.
28063 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28065 (ufromfpxl): Define as weak alias.
28067 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28069 * benchtests/bench-string.h (realloc_bufs): New function.
28070 (test_init): Call it.
28071 * benchtests/bench-memset-large.c (do_test): Likewise.
28072 * benchtests/bench-memset.c (do_test): Likewise.
28074 * benchtests/bench-memset-large.c: Print output in JSON
28076 * benchtests/bench-memset.c: Likewise.
28078 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28081 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28082 * iconvdata/Makefile: Add IBM858.
28083 * iconvdata/gconv-modules: Likewise.
28084 * iconvdata/tst-tables.sh: Likewise.
28085 * iconvdata/ibm858.c: New file.
28086 * localedata/charmaps/IBM858: Likewise.
28088 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28091 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28092 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28094 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28097 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28098 and add tel_int_fmt.
28100 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28102 * sysdeps/generic/libm-alias-float128.h: New file.
28103 * sysdeps/generic/math-type-macros-float128.h: Include
28104 <libm-alias-float128.h>.
28105 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28107 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28109 * sysdeps/generic/libm-alias-ldouble.h: New file.
28110 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28111 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28112 * sysdeps/generic/math-type-macros-ldouble.h: Include
28113 <libm-alias-ldouble.h>.
28114 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28115 libm_alias_ldouble.
28117 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28119 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28120 * math/w_exp_compat.c: ... here.
28121 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28122 * math/w_expf_compat.c: ... here.
28123 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28124 * math/w_expl_compat.c: ... here.
28125 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28126 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28127 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28128 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28130 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28132 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28134 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28136 (ldexpl): Only define as compat symbol for libc, not libm.
28137 (scalbnl): Define as compat symbol for libc here.
28138 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28139 define for [IS_IN (libc)].
28140 (__ldexpl_2): Remove alias.
28141 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28142 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28143 name in long_double_symbol call.
28144 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28145 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28146 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28147 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28148 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28150 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28151 Define as compat symbol.
28153 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28155 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28156 * sysdeps/unix/sysv/linux/alpha/Makefile
28157 [$(subdir) = csu] (sysdep_routines): Remove rule.
28159 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28161 * sysdeps/generic/libm-alias-double.h: New file.
28162 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28163 * sysdeps/generic/math-type-macros-double.h: Include
28164 <libm-alias-double.h>.
28165 [declare_mgen_alias] (declare_mgen_alias): Define to use
28167 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28168 (M_LIBM_NEED_COMPAT): Remove macro.
28169 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28170 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28171 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28173 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28174 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28175 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28176 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28177 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28178 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28179 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28180 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28181 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28182 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28183 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28184 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28185 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28186 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28187 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28188 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28189 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28190 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28191 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28192 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28193 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28194 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28195 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28196 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28197 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28198 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28199 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28200 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28201 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28203 (declare_mgen_alias): New macro.
28204 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28205 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28207 (M_LIBM_NEED_COMPAT): Remove macro.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28209 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28210 <first-versions.h>.
28211 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28212 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28214 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28216 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28217 (declare_mgen_alias_2): Remove.
28218 * sysdeps/generic/math-type-macros-double.h
28219 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28221 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28223 (ldexp): Define with declare_mgen_alias.
28224 (scalbn): Likewise.
28226 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28228 * grp/initgroups.c: Include config.h.
28229 (DEFAULT_CONFIG): New macro.
28230 (internal_getgrouplist): Use DEFAULT_CONFIG.
28231 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28232 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28233 (DEFAULT_DEFCONFIG): New macro.
28234 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28235 * nss/grp-lookup.c: Include config.h
28236 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28237 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28238 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28239 * manual/nss.texi: Update default values section.
28241 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28244 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28246 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28247 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28248 Handle MathVec_Prefer_No_AVX512.
28249 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28250 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28253 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28255 * posix/sched_primax.c (__sched_get_priority_max): Add
28257 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28258 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28259 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28260 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28261 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28262 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28263 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28264 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28267 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28269 * sysdeps/generic/libm-alias-float.h: New file.
28270 * sysdeps/generic/math-type-macros-float.h: Include
28271 <libm-alias-float.h>.
28272 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28274 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28277 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28278 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28279 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28280 (HWCAP_IMPORTANT): Likewise.
28281 (HWCAP_X86_64): New enum.
28282 (HWCAP_X86_AVX512_1): Updated.
28283 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28284 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28285 (modules-names): Add x86_64/tst-x86_64mod-1.
28286 (LDFLAGS-tst-x86_64mod-1.so): New.
28287 ($(objpfx)tst-x86_64-1): Likewise.
28288 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28289 (tst-x86_64-1-clean): Likewise.
28290 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28291 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28293 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28295 * po/sv.po: Update translations.
28296 * po/fr.po: Likewise.
28298 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28300 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28302 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28304 * elf/rtld-Rules: Fix $(error) use.
28306 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28309 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28310 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28311 * localedata/locales/bn_BD: “Bengali” was still used in some
28312 comments. Change it to “Bangla”.
28314 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28316 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28318 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28320 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28321 thunderx2t99p1 to list of cpu names.
28322 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28323 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28325 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28327 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28328 Use strcmp instead of tunable_is_name.
28330 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28333 (F_GET_RW_HINT): New macro.
28334 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28335 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28336 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28337 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28338 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28339 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28340 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28341 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28342 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28345 (F_ADD_SEALS): New macro.
28346 [__USE_GNU] (F_GET_SEALS): Likewise.
28347 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28348 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28349 [__USE_GNU] (F_SEAL_GROW): Likewise.
28350 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28352 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28354 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28355 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28356 * posix/glob_internal.h (__glob_pattern_type):
28357 * posix/glob.c (glob):
28358 * posix/glob_pattern_p.c (__glob_pattern_p):
28361 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28362 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28363 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28364 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28365 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28367 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28368 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28369 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28370 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28371 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28372 * sysdeps/wordsize-64/glob.c: Likewise.
28373 * sysdeps/wordsize-64/glob64.c: Likewise.
28374 * sysdeps/wordsize-64/globfree.c: Likewise.
28375 * sysdeps/wordsize-64/globfree64.c: Likewise.
28376 * sysdeps/unix/sysv/linux/glob.c: New file.
28377 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28378 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28379 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28380 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28381 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28382 adds !GLOB_NO_OLD_VERSION as an extra condition.
28383 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28384 using relative path instead of absolute one.
28385 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28386 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28387 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28388 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28389 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28390 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28393 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28394 (glob): Use the same scratch buffer for both getlogin_r and
28395 getpwnam_r. Don’t require preallocation of the login name. This
28396 simplifies storage allocation, and corrects the handling of
28400 * posix/glob.c (glob): Port recent patches to platforms
28401 lacking getpwnam_r.
28402 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28403 returns an error number rather than setting errno.
28405 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28406 instead of GCC extension.
28407 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28408 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28409 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28413 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28414 * posix/bug-glob1.c: Remove file.
28415 * posix/tst-glob_symlinks.c: New file.
28416 * posix/glob.c (__lstat64): New macro.
28417 (is_dir): New function.
28418 (glob, glob_in_dir): Match symlinks even if they are dangling.
28419 (link_stat, link_exists_p): Remove. All uses removed.
28423 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28424 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28429 * posix/Makefile (routines): Add globfree, globfree64, and
28431 * posix/flexmember.h: New file.
28432 * posix/glob_internal.h: Likewise.
28433 * posix/glob_pattern_p.c: Likewise.
28434 * posix/globfree.c: Likewise.
28435 * posix/globfree64.c: Likewise.
28436 * sysdeps/gnu/globfree64.c: Likewise.
28437 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28438 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28439 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28440 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28441 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28442 * sysdeps/wordsize-64/globfree.c: Likewise.
28443 * sysdeps/wordsize-64/globfree64.c: Likewise.
28444 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28445 [NDEBUG): Remove comments.
28446 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28447 (dirent_type): New type. Use uint_fast8_t not
28448 uint8_t, as C99 does not require uint8_t.
28449 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28450 (struct readdir_result): Use dirent_type. Do not define skip_entry
28451 unless it is needed; this saves a byte on platforms lacking d_ino.
28452 (readdir_result_type, readdir_result_skip_entry):
28453 New functions, replacing ...
28454 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28455 these functions, which were removed. This makes the callers
28456 easier to read. All callers changed.
28457 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28458 (size_add_wrapv, glob_use_alloca): New static functions.
28459 (glob, glob_in_dir): Check for size_t overflow in several places,
28460 and fix some size_t checks that were not quite right.
28461 Remove old code using SHELL since Bash no longer
28463 (glob, prefix_array): Separate MS code better.
28464 (glob_in_dir): Remove old Amiga and VMS code.
28465 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28467 (glob_in_dir): Do not rely on undefined behavior in accessing
28468 struct members beyond their bounds. Use a flexible array member
28470 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28471 0/1. Caller changed.
28472 (glob): Fix memory leaks.
28473 * posix/glob64 (globfree64): Move to separate file.
28474 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28475 (globfree64): Remove hidden alias.
28476 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28478 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28480 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28482 Move compat code to separate file.
28483 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28486 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28488 * resolv/tst-resolv-qtypes.c (domain): Changed to
28489 "const char domain[] =".
28491 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28493 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28496 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28497 (TCP_MD5SIG_EXT): Likewise.
28498 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28499 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28500 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28502 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28504 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28506 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28508 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28511 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28513 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28515 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28516 before assuming that the file is empty. Avoid testing buffer content
28519 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28522 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28524 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28526 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28528 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28530 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28532 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28534 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28537 2017-09-06 Florian Weimer <fweimer@redhat.com>
28539 * malloc/dynarray_emplace_enlarge.c
28540 (__libc_dynarray_emplace_enlarge): Add missing else.
28542 2017-09-06 Florian Weimer <fweimer@redhat.com>
28545 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28546 case of failure to obtain the global conf object.
28548 2017-09-06 Florian Weimer <fweimer@redhat.com>
28551 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28552 dynarray allocation failure.
28554 2017-09-06 Florian Weimer <fweimer@redhat.com>
28556 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28557 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28558 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28560 (response): Call them. Add 'p', '6' flag processing.
28561 (test_reverse): New function.
28562 (test_get2_any): Call it.
28563 (test_no_inet6): Add 'p' test.
28564 (test_inet6): Likewise.
28566 2017-09-06 Florian Weimer <fweimer@redhat.com>
28568 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28569 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28571 (test_gai): Adjust query names. Add additional tests.
28572 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28573 test_get2. Adjust query names. Add additional tests.
28574 (test_no_inet6): New function, extracted from threadfunc.
28575 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28576 Add additional tests.
28578 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28581 * localedata/unicode-gen/utf8_gen.py: Set the width for
28582 characters with Prepended_Concatenation_Mark property to 1
28583 * localedata/charmaps/UTF-8: Updated using the improved script.
28585 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28588 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28589 use the range notation for all ranges of neighbouring characters
28590 with the same width.
28592 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28594 * sysdeps/generic/math-type-macros-double.h: Include
28595 <math-svid-compat.h>.
28596 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28597 * sysdeps/generic/math-type-macros-float.h: Include
28598 <math-svid-compat.h>.
28599 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28600 * sysdeps/generic/math-type-macros-ldouble.h: Include
28601 <math-svid-compat.h>.
28602 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28603 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28605 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28606 * math/w_acosf_compat.c: Likewise.
28607 * math/w_acosh_compat.c: Likewise.
28608 * math/w_acoshf_compat.c: Likewise.
28609 * math/w_acoshl_compat.c: Likewise.
28610 * math/w_acosl_compat.c: Likewise.
28611 * math/w_asin_compat.c: Likewise.
28612 * math/w_asinf_compat.c: Likewise.
28613 * math/w_asinl_compat.c: Likewise.
28614 * math/w_atan2_compat.c: Likewise.
28615 * math/w_atan2f_compat.c: Likewise.
28616 * math/w_atan2l_compat.c: Likewise.
28617 * math/w_atanh_compat.c: Likewise.
28618 * math/w_atanhf_compat.c: Likewise.
28619 * math/w_atanhl_compat.c: Likewise.
28620 * math/w_cosh_compat.c: Likewise.
28621 * math/w_coshf_compat.c: Likewise.
28622 * math/w_coshl_compat.c: Likewise.
28623 * math/w_exp10_compat.c: Likewise.
28624 * math/w_exp10f_compat.c: Likewise.
28625 * math/w_exp10l_compat.c: Likewise.
28626 * math/w_exp2_compat.c: Likewise.
28627 * math/w_exp2f_compat.c: Likewise.
28628 * math/w_exp2l_compat.c: Likewise.
28629 * math/w_fmod_compat.c: Likewise.
28630 * math/w_fmodf_compat.c: Likewise.
28631 * math/w_fmodl_compat.c: Likewise.
28632 * math/w_hypot_compat.c: Likewise.
28633 * math/w_hypotf_compat.c: Likewise.
28634 * math/w_hypotl_compat.c: Likewise.
28635 * math/w_j0_compat.c: Likewise.
28636 * math/w_j0f_compat.c: Likewise.
28637 * math/w_j0l_compat.c: Likewise.
28638 * math/w_j1_compat.c: Likewise.
28639 * math/w_j1f_compat.c: Likewise.
28640 * math/w_j1l_compat.c: Likewise.
28641 * math/w_jn_compat.c: Likewise.
28642 * math/w_jnf_compat.c: Likewise.
28643 * math/w_jnl_compat.c: Likewise.
28644 * math/w_lgamma_r_compat.c: Likewise.
28645 * math/w_lgammaf_r_compat.c: Likewise.
28646 * math/w_lgammal_r_compat.c: Likewise.
28647 * math/w_log10_compat.c: Likewise.
28648 * math/w_log10f_compat.c: Likewise.
28649 * math/w_log10l_compat.c: Likewise.
28650 * math/w_log2_compat.c: Likewise.
28651 * math/w_log2f_compat.c: Likewise.
28652 * math/w_log2l_compat.c: Likewise.
28653 * math/w_log_compat.c: Likewise.
28654 * math/w_logf_compat.c: Likewise.
28655 * math/w_logl_compat.c: Likewise.
28656 * math/w_pow_compat.c: Likewise.
28657 * math/w_powf_compat.c: Likewise.
28658 * math/w_powl_compat.c: Likewise.
28659 * math/w_remainder_compat.c: Likewise.
28660 * math/w_remainderf_compat.c: Likewise.
28661 * math/w_remainderl_compat.c: Likewise.
28662 * math/w_sinh_compat.c: Likewise.
28663 * math/w_sinhf_compat.c: Likewise.
28664 * math/w_sinhl_compat.c: Likewise.
28665 * math/w_sqrt_compat.c: Likewise.
28666 * math/w_sqrtf_compat.c: Likewise.
28667 * math/w_sqrtl_compat.c: Likewise.
28668 * math/w_tgamma_compat.c: Likewise.
28669 * math/w_tgammaf_compat.c: Likewise.
28670 * math/w_tgammal_compat.c: Likewise.
28671 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28672 [LIBM_SVID_COMPAT].
28673 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28674 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28675 [LIBM_SVID_COMPAT].
28676 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28677 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28678 [LIBM_SVID_COMPAT].
28679 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28680 * sysdeps/i386/fpu/w_sqrt.c: New file.
28681 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28682 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28683 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28684 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28685 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28686 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28687 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28688 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28689 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28690 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28691 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28692 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28693 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28694 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28695 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28696 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28697 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28698 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28699 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28700 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28701 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28702 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28703 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28704 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28705 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28706 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28707 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28708 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28709 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28710 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28711 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28712 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28713 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28714 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28715 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28716 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28717 * sysdeps/ia64/fpu/w_log.c: Likewise.
28718 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28719 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28720 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28721 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28722 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28723 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28724 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28725 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28726 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28727 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28728 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28729 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28730 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28731 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28732 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28733 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28734 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28735 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28736 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28737 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28738 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28739 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28740 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28742 [LIBM_SVID_COMPAT].
28743 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28744 * sysdeps/ieee754/k_standard.c: Likewise.
28745 * sysdeps/ieee754/k_standardf.c: Likewise.
28746 * sysdeps/ieee754/k_standardl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28749 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28750 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28751 long_double_symbol call on [LIBM_SVID_COMPAT].
28752 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28753 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28754 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28755 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28756 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28757 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28758 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28759 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28760 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28761 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28762 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28763 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28764 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28765 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28766 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28767 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28768 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28769 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28770 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28771 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28772 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28773 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28775 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28777 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28778 * malloc/tst-mallocstate.c: Convert from test-skeleton
28779 to test-driver. Ifdef code using TEST_COMPAT macro.
28780 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28781 * math/test-matherr.c: Likewise.
28783 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28786 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28787 comparing word with byte-swapped constant.
28789 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28792 * locale/iso-639.def: add Miskito.
28793 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28794 * localedata/locales/miq_NI: New file.
28796 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28799 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28800 (__mkdir): Likewise.
28801 * io/chmod.c (__chmod): Add libc_hidden_def.
28802 * io/mkdir.c (__mkdir): Likewise.
28803 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28804 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28805 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28806 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28808 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28810 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28814 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28815 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28817 2017-09-04 Florian Weimer <fweimer@redhat.com>
28819 * math/math.h: Issue warning if log is defined.
28821 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28823 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28824 kernel version to 4.13.
28826 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28828 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28829 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28831 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28832 just <bits/types.h>.
28833 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28834 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28835 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28836 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28837 * misc/preadv2.c: Include <errno.h>.
28838 * misc/preadv64v2.c: Include <errno.h>.
28839 * misc/pwritev2.c: Include <errno.h>.
28840 * misc/pwritev64v2.c: Include <errno.h>.
28841 * sysdeps/posix/preadv2.c: Include <errno.h>.
28842 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28843 Fix <unistd.h> inclusion.
28844 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28845 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28846 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28847 __strtoul_internal): New functions.
28848 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28849 * sysdeps/posix/system.c: Include <sigsetops.h>.
28850 * sysdeps/mach/hurd/i386/Makefile
28851 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28852 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28853 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28854 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28855 __feraiseexcept_renamed to feraiseexcept instead of
28856 __GI_feraiseexcept.
28857 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28858 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28859 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28860 RWF_NOWAIT): Define to 0 if undefined already.
28861 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28863 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28864 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28866 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28868 * manual/math.texi (pow10): Do not document.
28869 (pow10f): Likewise.
28870 (pow10l): Likewise.
28871 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28872 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28873 * math/libm-test-exp10.inc (pow10_test): Remove.
28874 (do_test): Do not call pow10.
28875 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28876 [NO_LONG_DOUBLE] (pow10l): Likewise.
28877 * math/w_exp10f_compat.c (pow10f): Likewise.
28878 * math/w_exp10l_compat.c (pow10l): Likewise.
28879 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28880 (pow10): Make into compat symbol.
28881 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28882 (pow10f): Make into compat symbol.
28883 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28884 (pow10l): Make into compat symbol.
28885 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28887 (CFLAGS-nldbl-pow10.c): Remove variable..
28888 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28889 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28890 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28891 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28892 Undefine and redefine.
28893 (pow10l): Make into compat symbol.
28894 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28895 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28896 * sysdeps/arm/libm-test-ulps: Likewise.
28897 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28898 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28899 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28900 * sysdeps/microblaze/libm-test-ulps: Likewise.
28901 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28902 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28903 * sysdeps/nios2/libm-test-ulps: Likewise.
28904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28905 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28907 * sysdeps/sh/libm-test-ulps: Likewise.
28908 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28909 * sysdeps/tile/libm-test-ulps: Likewise.
28910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28912 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28914 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28916 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28918 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28919 "../ChangeLog.old/ChangeLog.8".
28920 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28921 "../ChangeLog.old/ChangeLog.14".
28923 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28925 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28928 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28930 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28932 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28934 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28935 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28937 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28939 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28940 32 atexit handlers.
28942 2017-09-01 Zack Weinberg <zackw@panix.com>
28944 * math/math.h (HUGE_VAL): Improve commentary.
28946 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28947 Andreas Schwab <schwab@suse.de>
28950 * include/stdio.h (__gen_tempfd): New function.
28951 * stdio-common/Makefile (routines): Add gentempfd.
28952 * stdio-common/gentempfd.c: New file.
28953 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28954 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28955 unnamed file first.
28957 2017-09-01 Florian Weimer <fweimer@redhat.com>
28961 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28962 result to determine success or failure, not the errno value.
28963 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28964 (tst-nss-files-hosts-erange): Link with -ldl.
28965 * nss/tst-nss-files-hosts-erange.c: New file.
28966 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28967 (do_test): Add NO_DATA tests.
28968 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28969 (do_test): Call it.
28971 2017-09-01 Florian Weimer <fweimer@redhat.com>
28974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28975 coming from gethostbyname2_r.
28977 2017-09-01 Florian Weimer <fweimer@redhat.com>
28979 * support/namespace.h (struct support_chroot_configuration): Add
28981 (struct support_chroot): Add path_hosts, path_host_conf.
28982 * support/support_chroot.c (write_file): New function.
28983 (support_chroot_create): Call it to process /etc/resolv.conf,
28984 /etc/hosts, /etc/host.conf.
28985 (support_chroot_free): Update.
28987 2017-09-01 Florian Weimer <fweimer@redhat.com>
28989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28990 status indicates it is set.
28992 2017-09-01 Florian Weimer <fweimer@redhat.com>
28995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28996 function lookup failures more reliable.
28998 2017-09-01 Florian Weimer <fweimer@redhat.com>
29000 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29001 (getcanonname): Likewise.
29002 (gaih_inet): Likewise.
29004 2017-09-01 Florian Weimer <fweimer@redhat.com>
29006 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29007 (getcanonname): Likewise.
29008 (gaih_inet): Likewise.
29010 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29011 Richard Henderson <rth@twiddle.net>
29013 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29014 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29015 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29016 (IREG_SIZE, OREG_SIZE): New macros.
29017 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29018 (IREG_SIZE, OREG_SIZE): New macros.
29019 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29020 (IREG_SIZE): New macro.
29021 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29022 (IREG_SIZE): New macro.
29023 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29025 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29026 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29027 (__CONCATX): Handle exceptions correctly on large values that may
29029 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29030 Initialize if not already set.
29031 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29033 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29035 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29036 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29038 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29040 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29042 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29044 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29046 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29048 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29050 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29051 (NO_CANCELLATION): Likewise.
29052 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29054 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29056 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29059 (NO_CANCELLATION): Likewise.
29060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29061 (NO_CANCELLATION): Likewise.
29062 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29064 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29066 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29068 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29070 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29072 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29073 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29075 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29077 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29080 2017-08-31 Florian Weimer <fweimer@redhat.com>
29082 * include/libc-symbols.h (internal_function): Remove.
29084 2017-08-31 Florian Weimer <fweimer@redhat.com>
29086 * stdlib/fmtmsg.c (internal_addseverity): Remove
29089 2017-08-31 Florian Weimer <fweimer@redhat.com>
29091 * stdio-common/printf_fp.c (group_number): Remove
29093 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29095 2017-08-31 Florian Weimer <fweimer@redhat.com>
29097 * posix/fnmatch.c (internal_function): Remove definition.
29098 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29099 * posix/regcomp.c (peek_token, init_word_char)
29100 (duplicate_node_closure, fetch_token, peek_token)
29101 (peek_token_bracket, build_range_exp, build_collating_symbol):
29103 * posix/regex_internal.c (re_string_construct_common)
29104 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29105 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29106 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29107 (re_string_translate_buffer, re_string_reconstruct)
29108 (re_string_peek_byte_case, re_string_fetch_byte_case)
29109 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29110 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29111 (re_node_set_add_intersect, re_node_set_init_union)
29112 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29113 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29114 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29115 (re_acquire_state_context): Likewise.
29116 * posix/regex_internal.h (internal_function): Remove definition.
29117 (re_string_realloc_buffers, build_wcs_buffer)
29118 (build_wcs_upper_buffer, build_upper_buffer)
29119 (re_string_translate_buffer, re_string_context_at)
29120 (re_string_char_size_at, re_string_wchar_at)
29121 (re_string_elem_size_at): Likewise.
29122 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29123 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29124 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29125 (re_search_internal, re_search_2_stub, re_search_stub)
29126 (re_copy_regs, prune_impossible_nodes, check_matching)
29127 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29128 (free_fail_stack_return, sift_states_iter_mb)
29129 (sift_states_backward, build_sifted_states)
29130 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29131 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29132 (check_subexp_limits, sift_states_bkref, merge_state_array)
29133 (find_recover_state, transit_state, merge_state_with_log)
29134 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29135 (transit_state_mb, transit_state_bkref, get_subexp)
29136 (get_subexp_sub, find_subexp_node, check_arrival)
29137 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29138 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29139 (check_node_accept_bytes, find_collation_sequence_value)
29140 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29141 (acquire_init_state_context, check_halt_node_context)
29142 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29143 (sub_epsilon_src_nodes): Likewise.
29144 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29145 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29146 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29147 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29148 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29149 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29150 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29151 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29152 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29153 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29154 (PREADV): Likewise.
29155 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29156 (PREADV): Likewise.
29157 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29158 (PWRITEV): Likewise.
29159 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29160 (PWRITEV): Likewise.
29161 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29162 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29164 2017-08-31 Florian Weimer <fweimer@redhat.com>
29166 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29167 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29168 Remove internal_function.
29169 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29170 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29171 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29172 (__deallocate_stack, __libc_pthread_init)
29173 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29174 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29175 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29177 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29178 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29179 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29181 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29182 (__pthread_mutex_unlock_usercnt): Likewise.
29184 2017-08-31 Florian Weimer <fweimer@redhat.com>
29186 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29187 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29188 (fts_safe_changedir): Remove internal_function.
29189 * io/ftw.c (internal_function): Remove definition.
29190 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29192 2017-08-31 Florian Weimer <fweimer@redhat.com>
29194 * inet/deadline.c (__deadline_current_time)
29195 (__deadline_from_timeval, __deadline_to_ms): Remove
29197 * inet/getnameinfo.c (nrl_domainname): Likewise.
29198 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29199 * inet/inet6_option.c (add_pad): Likewise.
29200 * inet/net-internal.h (__deadline_current_time)
29201 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29202 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29203 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29204 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29206 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29208 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29209 include <bits/nan.h>.
29210 * math/Makefile (headers): Remove bits/nan.h.
29211 * bits/nan.h: Remove.
29212 * sysdeps/ieee754/bits/nan.h: Likewise.
29213 * sysdeps/mips/bits/nan.h: Likewise.
29215 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29216 not include <bits/inf.h>.
29217 * math/Makefile (headers): Remove bits/inf.h.
29218 * bits/inf.h: Remove.
29219 * sysdeps/ieee754/bits/inf.h: Likewise.
29221 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29222 bits/huge_vall.h or bits/huge_val_flt128.h.
29223 (HUGE_VAL): Define directly here.
29224 [__USE_ISOC99] (HUGE_VALF): Likewise.
29225 [__USE_ISOC99] (HUGE_VALL): Likewise.
29226 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29227 (HUGE_VAL_F128): Likewise.
29228 * math/Makefile (headers): Remove bits/huge_val.h,
29229 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29230 * bits/huge_val.h: Remove.
29231 * bits/huge_val_flt128.h: Likewise.
29232 * bits/huge_valf.h: Likewise.
29233 * bits/huge_vall.h: Likewise.
29234 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29235 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29236 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29237 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29238 * sysdeps/sh/bits/huge_val.h: Likewise.
29239 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29240 * sysdeps/x86/bits/huge_vall.h: Likewise.
29242 2017-08-31 Florian Weimer <fweimer@redhat.com>
29244 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29246 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29248 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29249 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29250 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29251 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29253 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29254 * elf/dl-libc.c (dlerror_run): Likewise.
29255 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29256 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29257 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29258 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29260 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29261 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29262 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29263 * elf/dl-profile.c (_dl_start_profile): Likewise.
29264 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29265 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29267 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29268 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29269 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29270 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29271 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29272 (_dl_allocate_tls_storage): Likewise.
29273 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29274 (_dl_check_all_versions): Likewise.
29275 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29276 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29277 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29278 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29279 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29280 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29281 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29282 internal_function from __dl_start.
29283 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29284 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29285 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29286 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29287 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29288 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29289 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29290 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29291 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29292 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29293 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29294 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29295 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29296 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29297 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29299 (struct rtld_global_ro): Remove internal_function from the
29300 _dl_lookup_symbol_x member.
29301 (_dl_symbol_value): Remove. No longer defined anywhere.
29302 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29304 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29305 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29306 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29307 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29308 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29309 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29310 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29311 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29312 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29313 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29314 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29315 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29317 2017-08-31 Florian Weimer <fweimer@redhat.com>
29319 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29320 Remove internal_function.
29321 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29323 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29326 2017-08-31 Florian Weimer <fweimer@redhat.com>
29328 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29329 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29330 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29332 2017-08-31 Florian Weimer <fweimer@redhat.com>
29334 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29335 (__gai_enqueue_request): Remove internal_function.
29336 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29337 (__gai_remove_request, __gai_notify, __gai_notify_only)
29338 (__gai_sigqueue): Likewise.
29339 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29340 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29341 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29342 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29345 2017-08-31 Florian Weimer <fweimer@redhat.com>
29347 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29348 * include/dirent.h (__opendirat, __getdents, __getdents64)
29349 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29350 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29351 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29352 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29356 2017-08-31 Florian Weimer <fweimer@redhat.com>
29358 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29360 (GETCWD_RETURN_TYPE): Likewise.
29362 2017-08-31 Florian Weimer <fweimer@redhat.com>
29364 * include/time.h (__tz_compute, __strptime_internal): Remove
29366 * time/strptime_l.c (__strptime_internal): Likewise.
29367 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29369 2017-08-31 Florian Weimer <fweimer@redhat.com>
29371 * iconv/gconv.c (__gconv): Remove internal_function.
29372 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29373 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29374 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29375 (__gconv_release_cache): Likewise.
29376 * iconv/gconv_close.c (__gconv_close): Likewise.
29377 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29378 (read_conf_file, __gconv_get_path): Likewise.
29379 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29380 (__gconv_release_step, gen_steps, increment_counter)
29381 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29382 (__gconv_close_transform, free_modules_db): Likewise.
29383 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29385 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29386 (__gconv_find_transform, __gconv_lookup_cache)
29387 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29388 (__gconv_close_transform, __gconv_release_cache)
29389 (__gconv_loaded_object, __gconv_release_shlib)
29390 (__gconv_compare_alias): Likewise.
29391 * iconv/gconv_open.c (__gconv_open): Likewise.
29392 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29393 * iconv/iconvconfig.c (add_module): Likewise.
29394 * intl/dcigettext.c (plural_lookup, guess_category_value)
29395 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29396 * intl/eval-plural.h (plural_eval): Likewise.
29397 * intl/finddomain.c (_nl_find_domain): Likewise.
29398 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29399 (_nl_load_domain, _nl_find_msg): Likewise.
29400 (internal_function): Remove definition.
29401 * intl/loadinfo.h (internal_function): Likewise.
29402 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29404 * intl/localealias.c (internal_function): Remove definition.
29405 (read_alias_file): Remove internal_function.
29406 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29407 * intl/plural-exp.h (internal_function): Remove definition.
29408 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29410 * intl/plural.c: Regenerate.
29411 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29412 * locale/coll-lookup.c (__collidx_table_lookup)
29413 (__collseq_table_lookup): Likewise.
29414 * locale/coll-lookup.h (__collidx_table_lookup)
29415 (__collseq_table_lookup): Likewise.
29416 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29417 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29418 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29419 (_nl_unload_locale): Likewise.
29420 * locale/localeinfo.h (struct __locale_data): Remove
29421 internal_function from cleanup member.
29422 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29423 (_nl_remove_locale, _nl_load_locale_from_archive)
29424 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29425 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29426 (_nl_cleanup_time): Remove internal_function.
29427 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29428 (_nl_parse_alt_digit): Likewise.
29429 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29430 (_nl_select_era_entry): Likewise.
29431 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29432 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29433 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29434 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29435 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29437 2017-08-31 Florian Weimer <fweimer@redhat.com>
29439 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29440 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29441 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29442 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29444 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29445 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29446 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29447 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29449 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29451 2017-08-31 Florian Weimer <fweimer@redhat.com>
29453 * misc/getttyent.c (skip, value): Remove internal_function.
29454 * misc/syslog.c (openlog_internal): Likewise.
29455 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29457 2017-08-31 Florian Weimer <fweimer@redhat.com>
29459 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29460 (__nss_rewrite_field): Remove internal_function.
29461 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29462 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29463 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29464 * nss/nsswitch.c (nss_parse_file, nss_getline)
29465 (nss_parse_service_list, nss_new_service): Likewise.
29466 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29467 * nss/valid_field.c (__nss_valid_field): Likewise.
29468 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29470 2017-08-31 Florian Weimer <fweimer@redhat.com>
29472 * malloc/arena.c (__malloc_fork_lock_parent)
29473 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29474 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29475 internal_function from defintions.
29476 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29477 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29478 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29479 internal_function from declarations.
29480 * malloc/malloc.c (internal_function): Do not define.
29481 (mem2mem_check): Remove internal_function from declaration.
29482 (munmap_chunk, mremap_chunk): Remove internal_function.
29483 * malloc/mtrace.c (tr_where): Likewise.
29485 2017-08-31 Florian Weimer <fweimer@redhat.com>
29487 * include/rpc/pmap_clnt.h (__get_socket): Remove
29489 * sunrpc/auth_des.c (synchronize): Likewise.
29490 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29491 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29492 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29493 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29494 (key_call): Likewise.
29495 * sunrpc/pm_getport.c (__get_socket): Likewise.
29496 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29497 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29498 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29499 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29500 (invalidate): Likewise.
29501 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29502 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29503 (set_input_fragment, get_input_bytes): Likewise.
29505 2017-08-31 Florian Weimer <fweimer@redhat.com>
29507 * malloc/malloc.c (_int_free): Remove locked variable and related
29510 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29513 * Makerules (build-module-helper-objlist): Filter out
29514 $(elf-objpfx)sofini.os.
29515 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29518 2017-08-31 Florian Weimer <fweimer@redhat.com>
29520 * libio/fcloseall.c: Assume weak_alias is defined.
29521 * libio/feof.c: Likewise.
29522 * libio/fileno.c: Likewise.
29523 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29524 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29526 (_IO_file_open): Call __open directly.
29527 (_IO_new_file_sync): Assume ESPIPE is defined.
29528 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29529 (_IO_new_file_write): Call __write directly.
29530 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29531 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29532 * libio/genops.c: Assume _LIBC is defined.
29533 (save_for_backup): Remove internal_function.
29534 * libio/getc.c: Assume weak_alias is defined.
29535 * libio/getwc.c: Likewise.
29536 * libio/iofclose.c: Assume _LIBC is defined.
29537 * libio/iofdopen.c: Likewise.
29538 (_IO_fcntl): Remove macro definition.
29539 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29540 Call __fcntl directly.
29541 * libio/iofflush.c: Assume weak_alias is defined.
29542 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29544 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29545 * libio/iofgets.c: Likewise.
29546 * libio/iofopen.c: Assume _LIBC is defined.
29547 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29548 * libio/iofputs.c: Assume weak_alias is defined.
29549 * libio/iofread.c: Likewise.
29550 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29551 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29552 * libio/ioftell.c: Assume weak_alias is defined.
29553 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29554 * libio/iofwide.c: Assume _LIBC is defined.
29555 (_IO_fwide): Drop SHARED conditional because it is implied by
29557 * libio/iofwrite.c: Assume weak_alias is defined.
29558 * libio/iogetdelim.c: Likewise.
29559 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29560 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29561 (_IO_getwline): Call __wmemcpy directly.
29562 * libio/iopopen.c: Assume _LIBC is defined.
29563 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29564 (_IO_close): Remove macro definitions.
29565 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29567 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29569 * libio/ioputs.c: Assume weak_alias is defined.
29570 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29571 * libio/iosetbuffer.c: Assume weak_alias is defined.
29572 * libio/iosetvbuf.c: Likewise.
29573 * libio/ioungetc.c: Likewise.
29574 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29575 libc_hidden_def, libc_hidden_weak, NULL are defined.
29576 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29577 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29579 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29581 (_IO_old_file_init_internal): Drop SHARED conditional because it
29582 is implied by SHLIB_COMPAT.
29583 (_IO_old_file_fopen): Call __open directly.
29584 (_IO_old_file_sync): Assume ESPIPE is defined.
29585 (_IO_old_file_write): Call __write directly.
29586 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29587 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29588 Call __fcntl directly.
29589 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29590 (_IO_old_fgetpos): Assume EIO is defined.
29591 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29592 (_IO_old_fgetpos64): Assume EIO is defined.
29593 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29594 (_IO_old_fsetpos): Assume EIO is defined.
29595 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29596 (_IO_old_fsetpos64): Assume EIO is defined.
29597 * libio/oldiopopen.c: Assume _LIBC is defined.
29598 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29599 (_IO_close): Remove macro definitions.
29600 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29602 (_IO_old_proc_close): Call __close, __waitpid directly.
29603 * libio/put.c: Assume weak_alias is defined.
29604 * libio/stdfiles.c: Assume _LIBC is defined.
29605 * libio/stdio.c: Likewise.
29606 * libio/wfileops.c: Likewise.
29607 (_IO_wfile_sync): Assume ESPIPE is defined.
29608 * libio/wgenops.c: Assume _LIBC is defined.
29609 (save_for_wbackup): Remove internal_function.
29611 2017-08-31 Florian Weimer <fweimer@redhat.com>
29613 * malloc/malloc.c (top_check): Change return type to void. Remove
29615 * malloc/hooks.c (top_check): Likewise.
29616 (malloc_check, realloc_check, memalign_check): Adjust.
29618 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29621 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29622 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29623 sigcontext and namespace requirements.
29624 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29625 * sysdeps/m68k/sys/ucontext.h: Likewise.
29626 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29627 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29628 <bits/sigcontext.h>.
29629 (__ctx): Define earlier.
29630 (mcontext_t): Define structure contents rather than using struct
29632 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29633 __glibc_reserved1 instead of __reserved.
29634 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29635 <bits/sigcontext.h>.
29636 (__ctx): Define earlier.
29637 (mcontext_t): Define structure contents rather than using struct
29639 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29640 mcontext_t instead of struct sigcontext.
29641 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29642 <bits/sigcontext.h>.
29643 (__ctx): Define earlier.
29644 (mcontext_t): Define structure contents rather than using struct
29646 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29647 <bits/sigcontext.h>.
29648 (__ctx): Define earlier.
29649 (mcontext_t): Define structure contents rather than using struct
29651 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29652 mcontext_t instead of struct sigcontext.
29653 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29654 mcontext_t instead of struct sigcontext.
29655 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29656 <bits/sigcontext.h>.
29657 (__ctx): New macro.
29658 (struct __ia64_fpreg_mcontext): New type.
29659 (mcontext_t): Define structure contents rather than using struct
29661 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29662 (uc_sigmask): Define using __ctx.
29663 (uc_stack): Likewise.
29664 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29665 <bits/sigcontext.h>.
29666 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29667 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29668 <bits/sigcontext.h>.
29669 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29670 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29671 <bits/sigcontext.h>.
29672 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29673 <bits/sigcontext.h>.
29674 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29675 <bits/sigcontext.h>.
29676 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29677 <bits/sigcontext.h>.
29678 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29679 <bits/sigcontext.h>.
29680 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29681 <bits/sigcontext.h>.
29682 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29683 <bits/sigcontext.h>.
29684 (__ctx): Define earlier.
29685 (mcontext_t): Define structure contents rather than using struct
29687 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29688 <bits/sigcontext.h>. Include <bits/types.h>.
29689 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29690 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29691 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29692 (test-xfail-UNIX98/signal.h/conform): Likewise.
29693 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29694 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29695 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29696 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29697 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29698 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29699 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29700 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29701 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29703 2017-08-30 Florian Weimer <fweimer@redhat.com>
29705 * malloc/dynarray_emplace_enlarge.c
29706 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29707 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29708 * malloc/tst-dynarray.c (test_long_overflow): New function.
29709 (do_test): Call it.
29711 2017-08-30 Florian Weimer <fweimer@redhat.com>
29713 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29714 (set_arena_corrupt): Remove definitions.
29715 (mtrim): Do not check for corrupt arena.
29716 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29719 2017-08-30 Florian Weimer <fweimer@redhat.com>
29722 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29724 (ptmalloc_init): Do not set or use check_action.
29725 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29726 call to malloc_printerr. Remove return statement.
29727 (free_check): Likewise. Remove arena unlock.
29728 (top_check): Update comment. Adjust call to malloc_printerr.
29729 Remove heap repair code.
29730 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29731 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29732 (sysmalloc): Adjust call to malloc_printerr.
29733 (munmap_chunk, __libc_realloc): Likewise. Remove return
29735 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29736 Remove errout label and corresponding gotos.
29737 (_int_free): Likewise. Remove arena unlock.
29738 (do_set_mallopt_check): Do not set check_action.
29739 (malloc_printerr): Adjust parameter list. Do not mark arena as
29741 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29743 * manual/probes.texi (Memory Allocation Probes): Remove
29744 memory_mallopt_check_action.
29746 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29748 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29749 Use pointer to uint64_t instead of long int for sp.
29751 2017-08-30 Florian Weimer <fweimer@redhat.com>
29754 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29755 without printing a backtrace. Do not leak any information in the
29757 * manual/memory.texi (Heap Consistency Checking): Update.
29758 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29760 2017-08-30 Florian Weimer <fweimer@redhat.com>
29762 Do not scale NPTL tests with available number of CPUs.
29763 * nptl/tst-cond16.c (count): Set to constant value of 8.
29764 * nptl/tst-cond18.c (count): Likewise.
29766 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29769 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29770 Define to take a second argument that is a macro that
29771 concatentates a suffix, not the suffix itself.
29772 (__CONCAT_d): New macro.
29773 (__CONCAT_f): Likewise.
29774 (__CONCAT_l): Likewise.
29776 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29778 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29781 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29782 Aurelien Jarno <aurelien@aurel32.net>
29783 Maciej W. Rozycki <macro@imgtec.com>
29786 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29787 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29788 `mips16-syscall6' and `mips16-syscall7'.
29789 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29790 (CFLAGS-mips16-syscall7.c): Remove.
29791 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29792 Remove `__mips16_syscall5', `__mips16_syscall6' and
29793 `__mips16_syscall7'.
29794 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29795 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29796 `__mips_syscall_return'.
29797 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29798 (__mips16_syscall1): Likewise.
29799 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29800 (__mips16_syscall2): Likewise.
29801 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29802 (__mips16_syscall3): Likewise.
29803 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29804 (__mips16_syscall4): Likewise.
29805 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29807 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29809 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29811 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29812 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29813 `__mips16_syscall5'. Remove prototype.
29814 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29815 `__mips16_syscall6'. Remove prototype.
29816 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29817 `__mips16_syscall7'. Remove prototype.
29818 (__nomips16, __mips16_syscall_return): Move to...
29819 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29820 (__nomips16, __mips_syscall_return): ... here.
29821 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29822 `__mips16_syscall_return' to `__mips_syscall_return'.
29823 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29824 `internal_syscall##nr'.
29825 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29826 `internal_syscall##nr'.
29827 (FORCE_FRAME_POINTER): Remove.
29828 (__mips_syscall5): New prototype.
29829 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29830 (__mips_syscall6): New prototype.
29831 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29832 (__mips_syscall7): New prototype.
29833 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29834 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29835 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29836 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29837 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29838 (sysdep_routines): Add libc-do-syscall.
29839 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29840 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29842 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29845 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29846 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29847 (advise_stack_range): New function.
29848 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29849 stack non required to advise_stack_range at allocatestack.c
29851 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29853 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29855 2017-08-29 Florian Weimer <fweimer@redhat.com>
29858 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29859 __end_fct. Mangle __end_fct after setting it to NULL.
29860 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29861 (modules-names, modules-names-tests): Add
29862 tst-gconv-init-failure-mod.
29863 (gconv-modules): New target.
29864 (tst-gconv-init-failure-mod.so): Link against libsupport.
29865 (tst-gconv-init-failure): Depend on gconv-modules,
29866 tst-gconv-init-failure-mod.so.
29867 * iconv/tst-gconv-init-failure-mod.c: New file.
29868 * iconv/tst-gconv-init-failure.c: Likewise.
29869 * iconv/test-gconv-modules: Likewise.
29871 2017-08-29 Florian Weimer <fweimer@redhat.com>
29874 * iconv/gconv_db.c (free_derivation): Remove redundant
29876 (gen_steps): Unconditionally mangle __btowc_fct after
29878 (increment_counter): Likewise. Do not call init_fct for internal
29881 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29884 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29885 (_MSUF_): Remove macro.
29886 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29888 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29889 (__REDIRFROM_X): New macro.
29890 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29892 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29893 (__REDIRTO_X): Likewise.
29894 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29896 (__MATH_REDIRCALL_2): Likewise.
29897 (__MATH_REDIRCALL_INTERNAL): Likewise.
29898 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29899 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29900 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29901 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29902 * math/test-finite-macros.c: New file.
29903 * math/Makefile (tests): Add test-finite-macros.
29904 (CFLAGS-test-finite-macros.c): New variable.
29906 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29907 Jeff Law <law@redhat.com>
29910 Mangle NULL pointers in iconv/gconv.
29911 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29912 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29913 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29914 is non-NULL before demangling the end_fct. Check for NULL
29915 end_fct after demangling.
29916 (__gconv_release_step): Demangle the end_fct before checking
29917 it for NULL. Remove assert on __shlibc_handle != NULL.
29918 (gen_steps): Don't check btowc_fct for NULL before mangling.
29919 Demangle init_fct before checking for NULL.
29920 (increment_counter): Likewise.
29921 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29922 end_fct for NULL before mangling.
29923 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29926 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29929 * locale/iso-639.def: add Morisyen.
29931 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29934 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29935 (iszero): New C++ implementation that does not use
29936 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29937 signaling nans are enabled, since __builtin_types_compatible_p
29938 is a C-only feature.
29939 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29940 defined, include ieee754_float128.h for access to the union and
29941 member ieee854_float128.ieee.
29942 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29943 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29944 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29945 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29946 options of test-math-zero on powerpc64le.
29948 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29950 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29951 Change double to float.
29953 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29955 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29957 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29958 conditional code; define contents only for [LIBM_SVID_COMPAT].
29960 2017-08-28 Florian Weimer <fweimer@redhat.com>
29962 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29963 (abi-lp64_be-options): Remove.
29964 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29965 (abi-hard-options): Likewise.
29966 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29967 (abi-o32_hard-options, abi-o32_soft_2008-options)
29968 (abi-o32_hard_2008-options, abi-n32_soft-options)
29969 (abi-n32_hard-options, abi-n32_soft_2008-options)
29970 (abi-n32_hard_2008-options, abi-n64_soft-options)
29971 (abi-n64_hard-options, abi-n64_soft_2008-options)
29972 (abi-n64_hard_2008-options): Likewise.
29973 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29974 (abi-64-v1-options, abi-64-v2-options): Likewise.
29975 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29976 (abi-64-options): Likewise.
29977 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29978 (abi-64-options): Likewise.
29979 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29980 (abi-64-options): Likewise.
29981 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29982 (abi-64-options, abi-x32-options): Likewise.
29984 2017-08-28 Florian Weimer <fweimer@redhat.com>
29986 Store supported list of SYS_* system calls in the source tree.
29987 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29988 (bits/syscall.h): Generate from list file.
29989 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29990 [$(subdir) = misc] (tests): Add tst-syscall-list.
29991 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29992 [$(subdir) = misc] (tst-syscall-list-macros.list)
29993 [$(subdir) = misc] (tst-syscall-list-nr.list)
29994 (tst-syscall-list-sys.list): Helper targets for new
29995 tst-syscall-list test.
29996 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29997 tst-syscall-list.sh.
29998 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29999 target. Do not include bits/syscall.d.
30000 [$(subdir) = misc] (generated): Do not update.
30001 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30002 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30003 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30004 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30006 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30008 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30009 (tst-cxa_atexit, tst-on_exit): Likewise.
30010 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30011 tst-cxa_atexit, and tst-on_exit.
30012 * stdlib/tst-atexit-common.c: New file.
30013 * stdlib/tst-atexit.c: New file.
30014 * stdlib/tst-at_quick_exit.c: New file.
30015 * stdlib/tst-cxa_atexit.c: New file.
30016 * stdlib/tst-on_exit.c: New file.
30018 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30020 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30021 * mach/stack_chk_fail_local.c: New file.
30022 * hurd/stack_chk_fail_local.c: New file.
30023 * mach/Machrules ($(interface-library)-routines): Add
30024 stack_chk_fail_local.
30025 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30026 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30027 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30028 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30029 * hurd/Makefile (CFLAGS-hurdstartup.o,
30030 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30032 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30034 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30035 (index_cpu_*, index_arch_*): Removed.
30037 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30039 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30040 Use uint64_t instead of unsigned long.
30042 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30044 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30045 [__HAVE_DISTINCT_FLOAT128].
30047 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30048 of <bits/math-finite.h>.
30049 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30050 inclusion of <bits/math-finite.h>.
30051 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30052 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30053 __NO_LONG_DOUBLE_MATH].
30054 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30055 (__MATH_REDIRCALL_2): Likewise.
30056 (__MATH_REDIRCALL_INTERNAL): Likewise.
30057 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30058 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30059 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30073 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30074 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30075 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30076 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30078 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30079 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30080 w_sqrtf_compat-ppc32.
30082 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30084 * math/math.h [defined __cplusplus] (issignaling): In the long
30085 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30086 is not defined. Call __issignaling, otherwise.
30088 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30090 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30091 syscall definitions and replace __builtin_expect with __glibc_likely.
30092 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30094 (SYSCALL_CANCELLABLE): Removedefinition
30095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30097 (PSEUDO_END): Likewise.
30098 [IS_IN (libpthread)] (CENABLE): Likewise.
30099 [IS_IN (libpthread)] (CDISABLE): Likewise.
30100 [IS_IN (libc)] (CENABLE): Likewise.
30101 [IS_IN (libc)] (CENABLE): Likewise.
30102 [IS_IN (librt)] (CDISABLE): Likewise.
30103 [IS_IN (librt)] (CDISABLE): Likewise.
30104 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30105 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30107 (PSEUDO_END): Likewise.
30108 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30109 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30110 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30111 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30112 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30113 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30114 (CENABLE): Likewise.
30115 (CDISABLE): Likewise.
30116 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30117 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30119 (PSEUDO_END): Likewise.
30120 [IS_IN (libpthread)] (CENABLE): Likewise.
30121 [IS_IN (libpthread)] (CDISABLE): Likewise.
30122 [IS_IN (libc)] (CENABLE): Likewise.
30123 [IS_IN (libc)] (CENABLE): Likewise.
30124 [IS_IN (librt)] (CDISABLE): Likewise.
30125 [IS_IN (librt)] (CDISABLE): Likewise.
30126 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30127 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30129 (PSEUDO_END): Likewise.
30130 [IS_IN (libpthread)] (CENABLE): Likewise.
30131 [IS_IN (libpthread)] (CDISABLE): Likewise.
30132 [IS_IN (libc)] (CENABLE): Likewise.
30133 [IS_IN (libc)] (CENABLE): Likewise.
30134 [IS_IN (librt)] (CDISABLE): Likewise.
30135 [IS_IN (librt)] (CDISABLE): Likewise.
30136 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30137 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30139 (PSEUDO_END): Likewise.
30140 [IS_IN (libpthread)] (CENABLE): Likewise.
30141 [IS_IN (libpthread)] (CDISABLE): Likewise.
30142 [IS_IN (libc)] (CENABLE): Likewise.
30143 [IS_IN (libc)] (CENABLE): Likewise.
30144 [IS_IN (librt)] (CDISABLE): Likewise.
30145 [IS_IN (librt)] (CDISABLE): Likewise.
30146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30147 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30149 (PSEUDO_END): Likewise.
30150 [IS_IN (libpthread)] (CENABLE): Likewise.
30151 [IS_IN (libpthread)] (CDISABLE): Likewise.
30152 [IS_IN (libc)] (CENABLE): Likewise.
30153 [IS_IN (libc)] (CENABLE): Likewise.
30154 [IS_IN (librt)] (CDISABLE): Likewise.
30155 [IS_IN (librt)] (CDISABLE): Likewise.
30156 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30157 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30159 (PSEUDO_END): Likewise.
30160 [IS_IN (libpthread)] (CENABLE): Likewise.
30161 [IS_IN (libpthread)] (CDISABLE): Likewise.
30162 [IS_IN (libc)] (CENABLE): Likewise.
30163 [IS_IN (libc)] (CENABLE): Likewise.
30164 [IS_IN (librt)] (CDISABLE): Likewise.
30165 [IS_IN (librt)] (CDISABLE): Likewise.
30166 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30167 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30169 (PSEUDO_END): Likewise.
30170 [IS_IN (libpthread)] (CENABLE): Likewise.
30171 [IS_IN (libpthread)] (CDISABLE): Likewise.
30172 [IS_IN (libc)] (CENABLE): Likewise.
30173 [IS_IN (libc)] (CENABLE): Likewise.
30174 [IS_IN (librt)] (CDISABLE): Likewise.
30175 [IS_IN (librt)] (CDISABLE): Likewise.
30176 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30177 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30179 (PSEUDO_END): Likewise.
30180 [IS_IN (libpthread)] (CENABLE): Likewise.
30181 [IS_IN (libpthread)] (CDISABLE): Likewise.
30182 [IS_IN (libc)] (CENABLE): Likewise.
30183 [IS_IN (libc)] (CENABLE): Likewise.
30184 [IS_IN (librt)] (CDISABLE): Likewise.
30185 [IS_IN (librt)] (CDISABLE): Likewise.
30186 (SINGLE_THREAD_P): Likewise.
30187 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30189 (PSEUDO_END): Likewise.
30190 [IS_IN (libpthread)] (CENABLE): Likewise.
30191 [IS_IN (libpthread)] (CDISABLE): Likewise.
30192 [IS_IN (libc)] (CENABLE): Likewise.
30193 [IS_IN (libc)] (CENABLE): Likewise.
30194 [IS_IN (librt)] (CDISABLE): Likewise.
30195 [IS_IN (librt)] (CDISABLE): Likewise.
30196 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30197 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30199 (PSEUDO_END): Likewise.
30200 [IS_IN (libpthread)] (CENABLE): Likewise.
30201 [IS_IN (libpthread)] (CDISABLE): Likewise.
30202 [IS_IN (libc)] (CENABLE): Likewise.
30203 [IS_IN (libc)] (CENABLE): Likewise.
30204 [IS_IN (librt)] (CDISABLE): Likewise.
30205 [IS_IN (librt)] (CDISABLE): Likewise.
30206 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30207 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30208 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30212 (PSEUDO_END): Likewise.
30213 [IS_IN (libpthread)] (CENABLE): Likewise.
30214 [IS_IN (libpthread)] (CDISABLE): Likewise.
30215 [IS_IN (libc)] (CENABLE): Likewise.
30216 [IS_IN (libc)] (CENABLE): Likewise.
30217 [IS_IN (librt)] (CDISABLE): Likewise.
30218 [IS_IN (librt)] (CDISABLE): Likewise.
30219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30222 (PSEUDO_END): Likewise.
30223 [IS_IN (libpthread)] (CENABLE): Likewise.
30224 [IS_IN (libpthread)] (CDISABLE): Likewise.
30225 [IS_IN (libc)] (CENABLE): Likewise.
30226 [IS_IN (libc)] (CENABLE): Likewise.
30227 [IS_IN (librt)] (CDISABLE): Likewise.
30228 [IS_IN (librt)] (CDISABLE): Likewise.
30229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30230 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30232 (PSEUDO_END): Likewise.
30233 [IS_IN (libpthread)] (CENABLE): Likewise.
30234 [IS_IN (libpthread)] (CDISABLE): Likewise.
30235 [IS_IN (libc)] (CENABLE): Likewise.
30236 [IS_IN (libc)] (CENABLE): Likewise.
30237 [IS_IN (librt)] (CDISABLE): Likewise.
30238 [IS_IN (librt)] (CDISABLE): Likewise.
30239 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30242 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30243 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30245 (PSEUDO_END): Likewise.
30246 [IS_IN (libpthread)] (CENABLE): Likewise.
30247 [IS_IN (libpthread)] (CDISABLE): Likewise.
30248 [IS_IN (libc)] (CENABLE): Likewise.
30249 [IS_IN (libc)] (CENABLE): Likewise.
30250 [IS_IN (librt)] (CDISABLE): Likewise.
30251 [IS_IN (librt)] (CDISABLE): Likewise.
30252 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30255 (PSEUDO_END): Likewise.
30256 [IS_IN (libpthread)] (CENABLE): Likewise.
30257 [IS_IN (libpthread)] (CDISABLE): Likewise.
30258 [IS_IN (libc)] (CENABLE): Likewise.
30259 [IS_IN (libc)] (CENABLE): Likewise.
30260 [IS_IN (librt)] (CDISABLE): Likewise.
30261 [IS_IN (librt)] (CDISABLE): Likewise.
30262 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30264 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30266 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30268 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30272 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30275 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30276 middle and outer with size_t instead of int. Repleace %d and
30277 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30278 "MAX (outer, nchars - 64)" to support unsigned outer and
30279 nchars. Also exit loop when outer == 0.
30281 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30283 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30284 * include/signal.h (__sigsuspend_nocancel): Likewise.
30285 * include/time.h (__nanosleep_nocancel): Likewise.
30286 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30287 * login/utmp_file.c: Include non cancellable syscall header.
30288 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30291 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30293 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30294 .byte sequences with AVX512F instructions.
30295 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30296 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30297 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30300 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30303 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30304 Steve Ellcey <sellcey@cavium.com>
30306 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30307 Use PTR_REG macro in cmp instruction.
30309 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30311 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30312 Change the return type of the ifunc resolver to match the return
30313 type of the target function.
30315 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30317 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30318 (preadv64): Likewise.
30319 (pwrite64(: Likewise.
30320 (pwritev64): Likewise.
30322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30323 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30324 (LOAD_ARGS_0): Likewise.
30325 (LOAD_ARGS_1): Likewise.
30326 (LOAD_ARGS_2): Likewise.
30327 (LOAD_ARGS_3): Likewise.
30328 (LOAD_ARGS_4): Likewise.
30329 (LOAD_ARGS_5): Likewise.
30330 (LOAD_ARGS_6): Likewise.
30331 (LOAD_REGS_0): Likewise.
30332 (LOAD_REGS_1): Likewise.
30333 (LOAD_REGS_2): Likewise.
30334 (LOAD_REGS_3): Likewise.
30335 (LOAD_REGS_4): Likewise.
30336 (LOAD_REGS_5): Likewise.
30337 (LOAD_REGS_6): Likewise.
30338 (ASM_ARGS_0): Likewise.
30339 (ASM_ARGS_1): Likewise.
30340 (ASM_ARGS_2): Likewise.
30341 (ASM_ARGS_3): Likewise.
30342 (ASM_ARGS_4): Likewise.
30343 (ASM_ARGS_5): Likewise.
30344 (ASM_ARGS_6): Likewise.
30345 (LOAD_ARGS_TYPES_1): Likewise.
30346 (LOAD_ARGS_TYPES_2): Likewise.
30347 (LOAD_ARGS_TYPES_3): Likewise.
30348 (LOAD_ARGS_TYPES_4): Likewise.
30349 (LOAD_ARGS_TYPES_5): Likewise.
30350 (LOAD_ARGS_TYPES_6): Likewise.
30351 (LOAD_REGS_TYPES_1): Likewise.
30352 (LOAD_REGS_TYPES_2): Likewise.
30353 (LOAD_REGS_TYPES_3): Likewise.
30354 (LOAD_REGS_TYPES_4): Likewise.
30355 (LOAD_REGS_TYPES_5): Likewise.
30356 (LOAD_REGS_TYPES_6): Likewise.
30357 (TYPEFY): New define.
30358 (ARGIFY): Likewise.
30359 (internal_syscall0): Likewise.
30360 (internal_syscall1): Likewise.
30361 (internal_syscall2): Likewise.
30362 (internal_syscall3): Likewise.
30363 (internal_syscall4): Likewise.
30364 (internal_syscall5): Likewise.
30365 (internal_syscall6): Likewise.
30366 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30367 (INTERNAL_SYSCALL_NCS): Remove define.
30368 (internal_syscall1): Add define.
30370 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30372 * math/w_remainder_compat.c: Remove duplicate inclusion of
30373 math-svid-compat.h.
30374 * math/w_remainderf_compat.c: Likewise.
30375 * math/w_remainderl_compat.c: Likewise.
30377 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30381 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30384 * math/tgmath.h (__floating_type): Simplify definitions.
30385 (__real_integer_type): New macro.
30386 (__complex_integer_type): Likewise.
30387 (__expr_is_real): Likewise.
30388 (__tgmath_real_type_sub): Update comment to describe handling of
30390 (__tgmath_complex_type_sub): New macro.
30391 (__tgmath_complex_type): Likewise.
30392 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30393 (__TGMATH_CF128): Use __expr_is_real.
30394 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30396 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30397 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30398 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30401 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30403 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30405 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30407 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30410 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30411 nanosleep_not_cancel with __nanosleep_nocancel.
30412 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30413 (__nanosleep_nocancel): New macro.
30414 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30416 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30418 (__nanosleep_nocancel): New prototype.
30420 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30421 pause_not_cancel with __pause_nocancel.
30422 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30423 (__pause_nocancel): New macro.
30424 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30426 (__pause_nocancel): New prototype.
30427 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30429 2017-08-22 Martin Sebor <msebor@redhat.com>
30431 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30432 to return a pointer to the same type as the target function.
30434 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30438 * include/printf.h (__printf_fphex): Add attribute_hidden.
30439 (__guess_grouping): New prototype.
30440 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30441 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30442 libc_hidden_proto and libc_hidden_def.
30443 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30444 (__vstrfmon_l): Remove the third argument passed to
30447 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30449 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30450 definition for issignaling that does not rely on __MATH_TG,
30451 since __MATH_TG uses __builtin_types_compatible_p, which is only
30452 available in C mode.
30453 (CFLAGS-test-math-issignaling.cc): New variable.
30454 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30455 * math/test-math-issignaling.cc: New test for C++ implementation
30456 of type-generic issignaling.
30457 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30458 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30459 options of test-math-issignaling on powerpc64le.
30461 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30463 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30465 (hidden_proto): Likewise.
30466 (hidden_tls_proto): Likewise.
30467 (__hidden_proto): Likewise.
30469 2017-08-22 Florian Weimer <fweimer@redhat.com>
30471 math: Statically link tests of internal functionality.
30472 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30474 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30475 (gmp-objs): Remove assignment.
30476 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30478 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30481 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30483 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30485 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30488 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30489 variable definitions above inclusion of ../Rules.
30491 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30493 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30494 case calling __builtin_unreachable.
30496 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30498 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30499 __waitpid_nocancel.
30500 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30501 (__waitpid_nocancel): New macro.
30502 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30504 (__waitpid_nocancel): Replace macro with a function.
30505 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30508 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30510 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30511 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30513 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30514 __writev_nocancel_nostatus.
30515 (write_call_graph): Likewise.
30516 (write_bb_counts): Likewise.
30517 * resolv/herror.c (herror): Likewise.
30518 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30520 (__writev_nocancel_nostatus): New macro.
30521 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30523 (__writev_nocancel_nostatus): New function.
30525 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30530 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30532 (hidden_proto): Likewise.
30533 (hidden_tls_proto): Likewise.
30534 (__hidden_proto): Likewise.
30537 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30538 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30549 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30550 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30551 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30552 GLIBC_2.0 sqrtl symbol.
30554 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30555 [__USE_MISC] (_LIB_VERSION): Likewise.
30556 [__USE_MISC] (struct exception): Likewise.
30557 [__USE_MISC] (matherr): Likewise.
30558 [__USE_MISC] (DOMAIN): Likewise.
30559 [__USE_MISC] (SING): Likewise.
30560 [__USE_MISC] (OVERFLOW): Likewise.
30561 [__USE_MISC] (UNDERFLOW): Likewise.
30562 [__USE_MISC] (TLOSS): Likewise.
30563 [__USE_MISC] (PLOSS): Likewise.
30564 [__USE_MISC] (HUGE): Likewise.
30565 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30566 * math/math-svid-compat.h: New file.
30567 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30569 * include/math.h [!_ISOMAC] (__matherr): Remove.
30570 * manual/arith.texi (FP Exceptions): Do not document matherr.
30571 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30572 (tests-internal): New variable.
30573 (install-lib): Do not add libieee.a.
30574 (non-lib.a): Likewise.
30575 (extra-objs): Do not add libieee.a and ieee-math.o.
30576 (CPPFLAGS-s_lib_version.c): Remove variable.
30577 ($(objpfx)libieee.a): Remove rule.
30578 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30579 * math/ieee-math.c: Remove.
30580 * math/libm-test-support.c (matherr): Remove.
30581 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30582 and license notices. Include <math-svid-compat.h> and
30584 (matherr): Undefine as macro. Use compat_symbol_reference.
30585 (_LIB_VERSION): Likewise.
30586 * math/test-matherr-2.c: New file.
30587 * math/test-matherr-3.c: Likewise.
30588 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30590 (__kernel_standard_f): Likewise.
30591 (__kernel_standard_l): Likewise.
30592 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30593 <math_private.h>. Include <math-svid-compat.h>.
30594 (_LIB_VERSION): Undefine as macro.
30595 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30596 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30597 [LIBM_SVID_COMPAT], use compat_symbol.
30598 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30599 <math_private.h>. Include <math-svid-compat.h>.
30600 (matherr): Undefine as macro.
30601 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30603 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30604 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30605 compat_symbol_reference.
30606 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30607 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30608 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30609 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30610 (MATHERR_D): Remove declaration.
30611 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30612 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30613 [LIBM_BUILD] (pmatherrf): Likewise.
30614 [LIBM_BUILD] (pmatherr): Likewise.
30615 [LIBM_BUILD] (pmatherrl): Likewise.
30616 (DOMAIN): Likewise.
30618 (OVERFLOW): Likewise.
30619 (UNDERFLOW): Likewise.
30622 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30623 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30625 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30626 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30628 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30629 * math/w_acos_compat.c: Likewise.
30630 * math/w_acosf_compat.c: Likewise.
30631 * math/w_acosh_compat.c: Likewise.
30632 * math/w_acoshf_compat.c: Likewise.
30633 * math/w_acoshl_compat.c: Likewise.
30634 * math/w_acosl_compat.c: Likewise.
30635 * math/w_asin_compat.c: Likewise.
30636 * math/w_asinf_compat.c: Likewise.
30637 * math/w_asinl_compat.c: Likewise.
30638 * math/w_atan2_compat.c: Likewise.
30639 * math/w_atan2f_compat.c: Likewise.
30640 * math/w_atan2l_compat.c: Likewise.
30641 * math/w_atanh_compat.c: Likewise.
30642 * math/w_atanhf_compat.c: Likewise.
30643 * math/w_atanhl_compat.c: Likewise.
30644 * math/w_cosh_compat.c: Likewise.
30645 * math/w_coshf_compat.c: Likewise.
30646 * math/w_coshl_compat.c: Likewise.
30647 * math/w_exp10_compat.c: Likewise.
30648 * math/w_exp10f_compat.c: Likewise.
30649 * math/w_exp10l_compat.c: Likewise.
30650 * math/w_exp2_compat.c: Likewise.
30651 * math/w_exp2f_compat.c: Likewise.
30652 * math/w_exp2l_compat.c: Likewise.
30653 * math/w_fmod_compat.c: Likewise.
30654 * math/w_fmodf_compat.c: Likewise.
30655 * math/w_fmodl_compat.c: Likewise.
30656 * math/w_hypot_compat.c: Likewise.
30657 * math/w_hypotf_compat.c: Likewise.
30658 * math/w_hypotl_compat.c: Likewise.
30659 * math/w_j0_compat.c: Likewise.
30660 * math/w_j0f_compat.c: Likewise.
30661 * math/w_j0l_compat.c: Likewise.
30662 * math/w_j1_compat.c: Likewise.
30663 * math/w_j1f_compat.c: Likewise.
30664 * math/w_j1l_compat.c: Likewise.
30665 * math/w_jn_compat.c: Likewise.
30666 * math/w_jnf_compat.c: Likewise.
30667 * math/w_jnl_compat.c: Likewise.
30668 * math/w_lgamma_main.c: Likewise.
30669 * math/w_lgamma_r_compat.c: Likewise.
30670 * math/w_lgammaf_main.c: Likewise.
30671 * math/w_lgammaf_r_compat.c: Likewise.
30672 * math/w_lgammal_main.c: Likewise.
30673 * math/w_lgammal_r_compat.c: Likewise.
30674 * math/w_log10_compat.c: Likewise.
30675 * math/w_log10f_compat.c: Likewise.
30676 * math/w_log10l_compat.c: Likewise.
30677 * math/w_log2_compat.c: Likewise.
30678 * math/w_log2f_compat.c: Likewise.
30679 * math/w_log2l_compat.c: Likewise.
30680 * math/w_log_compat.c: Likewise.
30681 * math/w_logf_compat.c: Likewise.
30682 * math/w_logl_compat.c: Likewise.
30683 * math/w_pow_compat.c: Likewise.
30684 * math/w_powf_compat.c: Likewise.
30685 * math/w_powl_compat.c: Likewise.
30686 * math/w_remainder_compat.c: Likewise.
30687 * math/w_remainderf_compat.c: Likewise.
30688 * math/w_remainderl_compat.c: Likewise.
30689 * math/w_scalb_compat.c: Likewise.
30690 * math/w_scalbf_compat.c: Likewise.
30691 * math/w_scalbl_compat.c: Likewise.
30692 * math/w_sinh_compat.c: Likewise.
30693 * math/w_sinhf_compat.c: Likewise.
30694 * math/w_sinhl_compat.c: Likewise.
30695 * math/w_sqrt_compat.c: Likewise.
30696 * math/w_sqrtf_compat.c: Likewise.
30697 * math/w_sqrtl_compat.c: Likewise.
30698 * math/w_tgamma_compat.c: Likewise.
30699 * math/w_tgammaf_compat.c: Likewise.
30700 * math/w_tgammal_compat.c: Likewise.
30701 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30702 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30703 * sysdeps/ieee754/k_standard.c: Likewise.
30704 * sysdeps/ieee754/k_standardf.c: Likewise.
30705 * sysdeps/ieee754/k_standardl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30708 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30709 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30713 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30714 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30720 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30721 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30722 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30724 2017-08-21 Florian Weimer <fweimer@redhat.com>
30727 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30728 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30729 Move before inclusion of ../Rules.
30731 2017-08-21 Florian Weimer <fweimer@redhat.com>
30734 * assert/assert.h (assert): Use static_cast (bool) for C++.
30735 Use the ternary operator in the warning branch for GNU C.
30736 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30737 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30738 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30739 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30740 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30742 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30745 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30746 (__syscall_clock_gettime): Add attribute_hidden.
30747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30748 (__start_context): Likewise.
30750 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30752 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30754 (hidden_proto): Likewise.
30755 (hidden_tls_proto): Likewise.
30756 (__hidden_proto): Likewise.
30758 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30760 * include/libc-symbols.h (attribute_hidden): Enable hidden
30761 visibility in libc.a compiled with PIE.
30763 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30766 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30767 Add attribute_hidden.
30769 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30772 * Makerules (all-nonlib): Add $(others-extras).
30773 * catgets/Makefile (others-extras): New.
30774 * elf/Makefile (others-extras): Likewise.
30775 * nss/Makefile (others-extras): Likewise.
30777 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30780 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30781 * elf/dl-open.c: Include <libc-internal.h>.
30782 (__libc_multiple_libcs): Removed.
30783 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30785 * include/libc-internal.h (__libc_multiple_libcs): New.
30786 * misc/sbrk.c: Include <libc-internal.h>.
30787 (__libc_multiple_libcs): Removed.
30789 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30792 * grp/initgroups.c (__nss_group_database): Removed.
30793 (__nss_initgroups_database): Likewise.
30794 * nscd/gai.c (__nss_hosts_database): Likewise.
30795 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30796 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30797 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30798 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30799 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30800 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30802 * nss/nsswitch.c (__nss_database_custom): Define only if
30803 USE_NSCD is defined.
30804 (__nss_configure_lookup): Use __nss_database_custom only if
30805 USE_NSCD is defined.
30806 * nss/nsswitch.h (__nss_database_custom): Declare only if
30807 USE_NSCD is defined. Add attribute_hidden.
30808 (__nss_setent): Add attribute_hidden.
30809 (__nss_endent): Likewise.
30810 (__nss_getent_r): Likewise.
30811 (__nss_getent): Likewise.
30812 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30814 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30817 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30818 libc_hidden_proto and libc_hidden_def.
30820 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30823 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30824 Add libc_hidden_proto.
30825 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30826 Add libc_hidden_def.
30828 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30831 * gmon/Makefile (routines): Remove bb_init_func and
30833 (elide-routines.os): Removed.
30834 * gmon/bb_exit_func.c: Likewise.
30835 * gmon/bb_init_func.c: Likewise.
30836 * include/sys/gmon.h (__bb): Likewise.
30837 (__bb_init_func): Likewise.
30838 (__bb_exit_func): Likewise.
30839 * sysdeps/alpha/bb_init_func.S: Likewise.
30841 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30843 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30844 * include/setjmp.h (____longjmp_chk): Here. Add
30847 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30850 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30852 (__strspn_sse2): Likewise.
30854 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30856 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30857 (close_not_cancel_no_status): Likewise.
30858 (__close_nocancel): New macro.
30859 (__close_nocancel_nostatus): Likewise.
30860 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30862 (close_not_cancel): Likewise.
30863 (close_not_cancel_no_status): Likewise.
30864 (__close_nocancel): New prototype.
30865 (__close_nocancel_nostatus): New function.
30866 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30867 * catgets/open_catalog.c (__open_catalog): Replace
30868 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30869 * gmon/gmon.c (write_gmon): Likewise.
30870 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30871 * intl/loadmsgcat.c (close): Likewise.
30872 * io/ftw.c (open_dir_stream): Likewise.
30873 (ftw_startup): Likewise.
30874 * libio/fileops.c (_IO_file_open): Likewise.
30875 (_IO_file_close_mmap): Likewise.
30876 (_IO_file_close): Likewise.
30877 * libio/iopopen.c (_IO_dup2): Likewise.
30878 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30879 * locale/loadlocale.c (_nl_load_locale): Likewise.
30880 * login/utmp_file.c (pututline_file): Likewise.
30881 (endutent_file): Likewise.
30882 * misc/daemon.c (daemon): Likewise.
30883 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30884 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30885 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30886 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30888 * nscd/nscd_helper.c (open_socket): Likewise.
30889 (__nscd_open_socket): Likewise.
30890 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30891 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30892 (__nscd_innetgr): Likewise.
30893 * nss/nss_db/db-open.c (internal_setent): Likewise.
30894 * resolv/res-close.c (__res_iclose): Likewise.
30895 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30896 * sysdeps/posix/closedir.c (__closedir): Likewise.
30897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30898 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30899 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30900 (opendir_tail): Likewise.
30901 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30902 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30903 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30904 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30905 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30906 (gethostid): Likewise.
30907 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30908 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30911 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30912 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30913 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30915 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30916 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30917 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30919 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30920 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30922 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30924 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30925 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30926 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30929 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30930 (openat_not_cancel_3): Likewise.
30931 (openat64_not_cancel_3): Likewise).
30932 (openat_not_cancel_3): Likewise).
30933 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30935 (openat_not_cancel_3): Likewise.
30936 (openat64_not_cancel): Likewise.
30937 (openat64_not_cancel_3): Likewise.
30938 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30939 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30940 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30941 __open{64}_nocancel.
30942 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30943 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30944 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30946 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30949 * include/argz.h (__argz_create_sep): New function prototype.
30950 (__argz_append): Likewise.
30951 (__argz_add): Likewise.
30952 (__argz_add_sep): Likewise.
30953 (__argz_delete): Likewise.
30954 (__argz_insert): Likewise.
30955 (__argz_replace): Likewise.
30956 * string/argz.h (__argz_create_sep): Removed.
30957 (__argz_append): Likewise.
30958 (__argz_add): Likewise.
30959 (__argz_add_sep): Likewise.
30960 (__argz_delete): Likewise.
30961 (__argz_insert): Likewise.
30962 (__argz_replace): Likewise.
30964 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30966 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30967 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30968 (GNU_PROPERTY_STACK_SIZE): Likewie.
30969 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30970 (GNU_PROPERTY_LOPROC): Likewise.
30971 (GNU_PROPERTY_HIPROC): Likewise.
30972 (GNU_PROPERTY_LOUSER): Likewise.
30973 (GNU_PROPERTY_HIUSER): Likewise.
30974 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30975 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30976 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30977 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30978 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30979 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30980 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30981 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30982 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30983 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30984 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30985 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30986 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30987 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30988 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30989 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30990 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30991 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30992 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30993 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30994 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30995 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30996 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30998 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31000 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31003 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31006 * math/math.h (isinf): Check if in C or C++ mode before using
31007 __builtin_types_compatible_p, since this is a C mode feature.
31009 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31011 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31012 (__write_nocancel): New macro.
31013 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31014 Rewrite as a function prototype.
31015 (write_not_cancel): Remove macro.
31016 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31017 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31018 (write_gmon): Likewise.
31019 * libio/fileops.c (_IO_new_file_write): Likewise.
31020 * login/utmp_file.c (pututline_file): Likewise.
31021 (updwtmp_file): Likewise.
31022 * stdio-common/psiginfo.c (psiginfo): Likewise.
31023 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31024 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31025 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31027 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31030 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31031 (__read_nocancel): New macro.
31032 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31034 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31036 (__read_nocancel): New prototype.
31037 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31038 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31039 with __read_nocancel.
31040 * intl/loadmsgcat.c (read): Likewise.
31041 * libio/fileops.c (_IO_file_read): Likewise.
31042 * locale/loadlocale.c (_nl_load_locale): Likewise.
31043 * login/utmp_file.c (getutent_r_file): Likewise.
31044 (internal_getut_r): Likewise.
31045 (getutline_r_file): Likewise.
31046 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31047 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31048 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31051 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31052 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31053 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31055 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31057 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31059 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31063 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31066 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31067 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31070 2017-08-17 DJ Delorie <dj@redhat.com>
31072 * bug17079.c: Update to new test harness.
31073 * test-digits-dots.c: Likewise.
31074 * test-netdb.c: Likewise.
31075 * tst-field.c: Likewise.
31076 * tst-nss-getpwent.c: Likewise.
31077 * tst-nss-static.c: Likewise.
31078 * tst-nss-test1.c: Likewise.
31079 * tst-nss-test2.c: Likewise.
31080 * tst-nss-test3.c: Likewise.
31081 * tst-nss-test4.c: Likewise.
31082 * tst-nss-test5.c: Likewise.
31084 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31086 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31087 (open_not_cancel_2): Likewise.
31088 (open_nocancel): New macro.
31089 (open64_nocancel): Likewise.
31090 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31091 (open_not_cancel_2): Likewise.
31092 (__open_nocancel): New prototype.
31093 (__open64_nocancel): Likewise.
31094 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31096 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31097 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31098 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31099 with __open_nocancel.
31100 * csu/check_fds.c (check_one_fd): Likewise.
31101 * gmon/gmon.c (write_gmon): Likewise.
31102 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31103 * intl/loadmsgcat.c (open): Likewise.
31104 * libio/fileops.c (_IO_file_open): Likewise.
31105 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31106 * locale/loadlocale.c (_nl_load_locale): Likewise.
31107 * login/utmp_file.c (setutent_file): Likewise.
31108 * misc/daemon.c (daemon): Likewise.
31109 * nss/nss_db/db-open.c (internal_setent): Likewise.
31110 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31111 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31112 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31113 (__opendir): Likewise.
31114 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31115 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31116 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31117 (gethostid): Likewise.
31118 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31122 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31123 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31124 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31126 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31128 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31130 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31132 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31134 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31136 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31137 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31139 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31141 * benchtests/bench-skeleton.c (main): Add support for
31142 latency benchmarking.
31143 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31145 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31147 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31148 the startup object.
31150 2017-08-17 Florian Weimer <fweimer@redhat.com>
31152 * include/sys/socket.h (__opensock): Remove internal_function.
31153 * socket/opensock.c (__opensock): Likewise.
31154 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31156 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31159 * signal/bits/types/__sigval_t.h: New file.
31160 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31161 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31162 and define sigval_t using __sigval_t.
31163 * include/bits/types/__sigval_t.h: New file.
31164 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31165 instead of <bits/types/__sigval_t.h>.
31166 (struct sigevent): Use __sigval_t instead of sigval_t.
31167 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31168 instead of <bits/types/__sigval_t.h>.
31169 (siginfo_t): Use __sigval_t instead of sigval_t.
31170 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31171 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31172 (struct sigevent): Use __sigval_t instead of sigval_t.
31173 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31174 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31175 (siginfo_t): Use __sigval_t instead of sigval_t.
31176 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31178 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31180 * NEWS: Remove "[Add new features here]" for 2.27.
31182 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31184 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31187 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31189 * NEWS: Mention x86-64 FMA optimization.
31191 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31194 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31196 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31197 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31198 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31200 2017-08-16 Andreas Schwab <schwab@suse.de>
31204 * elf/ldd.bash.in: Never run file directly.
31206 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31209 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31210 (L(SP_INF_0)): Likewise.
31212 2017-08-15 Florian Weimer <fweimer@redhat.com>
31214 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31217 2017-08-15 Florian Weimer <fweimer@redhat.com>
31219 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31220 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31221 BROKEN_THREAD_SIGNALS code.
31222 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31223 request_list): Remove caller_pid member used for
31224 BROKEN_THREAD_SIGNALS.
31225 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31226 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31227 Remove BROKEN_THREAD_SIGNALS support.
31228 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31229 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31231 2017-08-15 Florian Weimer <fweimer@redhat.com>
31233 * gmon/Makefile (tests): Add tst-gmon.
31234 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31236 (tests-special): Add tst-gmon-prof.out.
31237 (tst-gmon.out): Depend on clean-tst-gmon-data.
31238 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31239 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31240 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31242 * aclocal.m4 (GPROF): Set and substitute.
31243 * config.amke.in (GPROF): Set.
31244 * configure: Regenerate.
31246 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31248 * elf/elf.h A (NT_PPC_TAR): New macro.
31249 (NT_PPC_PPR): Likewise.
31250 (NT_PPC_DSCR): Likewise.
31251 (NT_PPC_EBB): Likewise.
31252 (NT_PPC_PMU): Likewise.
31253 (NT_PPC_TM_CGPR): Likewise.
31254 (NT_PPC_TM_CFPR): Likewise.
31255 (NT_PPC_TM_CVMX): Likewise.
31256 (NT_PPC_TM_CVSX): Likewise.
31257 (NT_PPC_TM_SPR): Likewise.
31258 (NT_PPC_TM_CTAR): Likewise.
31259 (NT_PPC_TM_CPPR): Likewise.
31260 (NT_PPC_TM_CDSCR): Likewise.
31262 2017-08-15 Florian Weimer <fweimer@redhat.com>
31264 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31265 regparm (2) instead of internal_function.
31266 (_MCOUNT_DECL): Adjust.
31268 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31270 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31271 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31273 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31275 * conform/data/sys/wait.h-data (si_value): Do not expect for
31278 2017-08-14 Florian Weimer <fweimer@redhat.com>
31281 NSS: Create stubs for accidentally exported lookup functions.
31282 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31283 Remove declaration.
31284 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31285 (ether_hostton): Call __nss_ethers_lookup2 instead.
31286 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31287 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31288 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31289 (setup): Call __nss_netgroup_lookup2 instead.
31290 * nss/Makefile (routines): Add compat-lookup.
31291 * nss/Versions (GLIBC_2.27): Add symbol version.
31292 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31293 (DB_COMPAT_FCT): Remove.
31294 * nss/compat-lookup.c: New file.
31295 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31296 from databases.def.
31297 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31298 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31299 (netname2user): Call __nss_publickey_lookup2 instead.
31300 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31301 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31304 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31305 Sergei Trofimovich <slyfox@inbox.ru>
31308 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31309 Rename to MMAP2_PAGE_UNIT.
31310 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31311 __OFF_T_MATCHES_OFF64_T is not defined.
31312 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31314 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31315 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31317 2017-08-14 Florian Weimer <fweimer@redhat.com>
31319 i386: Do not set internal_function.
31320 * config.h.in (USE_REGPARMS, internal_function): Remove.
31321 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31322 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31324 2017-08-14 Florian Weimer <fweimer@redhat.com>
31326 * elf/dl-init.c (_dl_init): Remove internal_function.
31327 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31328 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31330 2017-08-14 Florian Weimer <fweimer@redhat.com>
31332 * elf/rtld.c (_dl_start): Remove internal_function.
31333 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31336 2017-08-14 Florian Weimer <fweimer@redhat.com>
31338 * elf/dl-fini.c (_dl_fini): Remove internal_function
31339 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31341 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31343 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31344 (bit_cpu_SHSTK): Likewise.
31345 (index_cpu_IBT): Likewise.
31346 (index_cpu_SHSTK): Likewise.
31347 (reg_IBT): Likewise.
31348 (reg_SHSTK): Likewise.
31349 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31350 Handle index_cpu_IBT and index_cpu_SHSTK.
31352 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31355 * po/fr.po: Fix spelling mistake.
31357 2017-08-13 Florian Weimer <fweimer@redhat.com>
31359 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31360 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31361 (_dl_catch_error, _dl_receive_error): Likewise.
31362 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31363 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31364 (_dl_deallocate_tls): Likewise.
31365 * include/dlfcn.h (_dl_addr): Likewise.
31366 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31367 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31368 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31371 2017-08-13 Florian Weimer <fweimer@redhat.com>
31373 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31374 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31376 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31378 2017-08-13 Florian Weimer <fweimer@redhat.com>
31380 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31382 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31383 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31384 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31385 internal_function from _dl_make_stack_executable_hook member.
31386 (_dl_make_stack_executable): Remove internal_function.
31387 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31389 * sysdeps/unix/sysv/linux/dl-execstack.c
31390 (_dl_make_stack_executable): Likewise.
31392 2017-08-13 Florian Weimer <fweimer@redhat.com>
31394 * sysdeps/unix/sysv/linux/netlinkaccess.h
31395 (__netlink_assert_response): Remove internal_function.
31396 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31397 (__netlink_assert_response): Likewise.
31399 2017-08-13 Florian Weimer <fweimer@redhat.com>
31401 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31403 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31405 2017-08-13 Florian Weimer <fweimer@redhat.com>
31407 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31409 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31410 * inet/netgroup.h (__internal_setnetgrent)
31411 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31412 * inet/getnetgrent_r.c (__internal_setnetgrent)
31413 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31414 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31415 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31416 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31417 * nss/nsswitch.h (db_lookup_function): Likewise.
31419 2017-08-13 Florian Weimer <fweimer@redhat.com>
31421 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31422 Remove internal_function.
31423 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31424 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31425 message argument on the stack.
31426 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31429 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31431 Adapt test case data to the changes in the thousands
31435 * localedata/tst-langinfo.sh: Adapt test case data.
31436 * stdlib/tst-strfmon_l.c: Likewise.
31437 * stdlib/tst-strtod4.c: Likewise.
31438 * stdlib/tst-strtod5i.c: Likewise.
31440 2017-08-11 Florian Weimer <fweimer@redhat.com>
31443 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31444 Suppress pedantic warning resulting from statement expression.
31445 (__ASSERT_FUNCTION): Add missing __extension__.
31447 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31449 * benchtests/bench-memmove-large.c: Print output in JSON
31451 * benchtests/bench-memmove.c: Likewise.
31453 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31454 * benchtests/bench-memchr.c (do_one_test): Likewise.
31455 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31456 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31457 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31458 * benchtests/bench-memmove.c (do_one_test): Likewise.
31459 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31460 * benchtests/bench-memset.c (do_one_test): Likewise.
31461 * benchtests/bench-string.h (test_init): Remove memsets.
31463 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31466 (Computing the Width of an Integer Data Type): Rename section to
31467 "Width of an Integer Type". Remove inaccurate statement regarding
31468 lack of C language facilities for determining width of integer
31469 types, and reorder content to improve flow and context of
31472 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31474 * lang.texi (va_copy): Change standard from ISO to C99.
31475 (__va_copy): Add standard and header annotation.
31476 Update description for clarity of origins and current use.
31478 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31481 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31482 xssqrtqp requires operands to be in Vector Registers
31483 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31484 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31485 (__ieee754_sqrtf128): Likewise.
31487 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31489 * sysdeps/aarch64/memcmp.S (memcmp):
31490 Rewrite of optimized memcmp.
31492 2017-08-10 Florian Weimer <fweimer@redhat.com>
31494 Introduce ld.so exceptions.
31495 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31496 (_dl_exception_create, _dl_exception_create_format)
31497 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31498 (_dl_catch_exception): Declare.
31499 (_dl_catch_error): Update comment.
31500 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31501 errstring, malloced members with exception member.
31502 (_dl_out_of_memory): Remove.
31503 (fatal_error): New function, extracted from _dl_signal_error.
31504 (_dl_signal_exception, _dl_signal_cexception): New functions.
31505 (_dl_signal_error): Call _dl_exception_create to allocate an
31507 (_dl_catch_exception): New function, based on _dl_catch_error.
31508 (_dl_catch_error): Implement using _dl_catch_exception.
31509 * elf/dl-exception.c: New file.
31510 * elf/Makefile (dl-routines): Add dl-exception.
31511 (elide-routines.os): Likewise.
31512 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31513 _dl_exception_create_format, _dl_exception_free.
31514 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31515 _dl_signal_exception.
31516 * elf/dl-lookup.c (make_string): Remove.
31517 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31518 _dl_signal_cexception, _dl_exception_free.
31519 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31520 _dl_signal_exception.
31521 * elf/dl-sym.c (do_sym): Likewise.
31522 * elf/dl-version.c (make_string): Remove.
31523 (match_symbol): Use _dl_exception_create_format,
31524 _dl_signal_cexception, _dl_exception_free.
31525 (_dl_check_map_versions): Likewise.
31526 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31527 _dl_catch_exception.
31528 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31529 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31530 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31531 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31532 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31533 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31534 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31535 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31537 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31544 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31545 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31546 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31548 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31550 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31552 2017-08-10 Florian Weimer <fweimer@redhat.com>
31554 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31555 attribute_hidden, internal_function.
31556 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31559 2017-08-10 Florian Weimer <fweimer@redhat.com>
31561 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31562 function which calls __builtin_unreachable.
31564 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31566 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31567 Indian monetary formatting
31568 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31571 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31573 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31574 Fix typo in comment.
31577 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31578 PTRACE_SEIZE_DEVEL): Remove.
31579 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31580 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31585 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31587 * posix/bits/types.h (__qaddr_t): Remove.
31590 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31591 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31593 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31594 (ucontext_t): Use __ctx with uc_flags.
31595 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31596 (__ctxt): Likewise.
31597 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31599 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31600 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31602 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31603 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31605 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31607 (ucontext_t): Use __ctx with uc_flags.
31608 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31609 (ucontext_t): Use __ctx with uc_flags.
31610 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31611 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31612 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31613 (ucontext_t): Use __ctx with uc_flags.
31614 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31615 undefine further down.
31616 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31618 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31619 undefine further down.
31620 (ucontext_t): Use __ctx with uc_flags.
31621 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31622 undefine further down.
31623 (ucontext_t): Use __ctx with uc_flags.
31624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31625 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31626 Rename uc_pad to __glibc_reserved1.
31627 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31628 undefine further down.
31629 (ucontext_t): Use __ctx with uc_flags.
31630 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31632 (ucontext_t): Use __ctx with uc_flags.
31633 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31634 __ctx with uc_flags.
31635 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31636 (ucontext_t): Use __ctx with uc_flags.
31637 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31638 __ctx with uc_flags.
31640 2017-08-09 Florian Weimer <fweimer@redhat.com>
31643 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31644 before early return.
31646 2017-08-09 Andreas Schwab <schwab@suse.de>
31649 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31653 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31654 tst-compat-forwarder.
31655 (modules-names): Add tst-compat-forwarder-mod.
31656 ($(objpfx)tst-compat-forwarder): Depend on
31657 $(objpfx)tst-compat-forwarder-mod.so.
31658 * nptl/tst-compat-forwarder.c: New file.
31659 * nptl/tst-compat-forwarder-mod.c: New file.
31661 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31663 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31666 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31667 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31669 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31671 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31672 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31673 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31674 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31676 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31679 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31682 * manual/setjmp.texi (getcontex): Document uc_stack value
31683 compatibility differences.
31685 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31687 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31688 (old_malloc_hook): Likewise.
31689 (old_memalign_hook): Likewise.
31690 (old_realloc_hook): Likewise.
31691 (struct hdr): Likewise.
31693 (freehook): Likewise.
31694 (mallochook): Likewise.
31695 (memalignhook): Likewise.
31696 (reallochook): Likewise.
31697 (mprobe): Likewise.
31698 * malloc/mtrace.c (mallwatch): Likewise.
31699 (tr_old_free_hook): Likewise.
31700 (tr_old_malloc_hook): Likewise.
31701 (tr_old_realloc_hook): Likewise.
31702 (tr_old_memalign_hook): Likewise.
31703 (tr_where): Likewise.
31704 (lock_and_info): Likewise.
31705 (tr_freehook): Likewise.
31706 (tr_mallochook): Likewise.
31707 (tr_reallochook): Likewise.
31708 (tr_memalignhook): Likewise.
31709 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31710 * misc/mmap.c (__mmap): Likewise.
31711 * misc/mmap64.c (__mmap64): Likewise.
31712 * misc/mprotect.c (__mprotect): Likewise.
31713 * misc/msync.c (msync): Likewise.
31714 * misc/munmap.c (__munmap): Likewise.
31715 * posix/posix_madvise.c (posix_madvise): Likewise.
31716 * socket/send.c (__send): Likewise.
31717 * socket/sendto.c (__sendto): Likewise.
31718 * socket/setsockopt.c (__setsockopt): Likewise.
31719 * string/memcmp.c (__ptr_t): Remove macro.
31720 (MEMCMP): Use void * instead of ptr_t.
31721 * string/memrchr.c (__ptr_t): Remove macro.
31722 (__memrchr): Use void * instead of ptr_t.
31723 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31724 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31725 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31726 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31727 * sysdeps/mach/msync.c (msync): Likewise.
31728 * sysdeps/mach/munmap.c (__munmap): Likewise.
31729 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31731 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31732 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31733 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31734 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31735 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31736 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31737 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31738 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31740 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31741 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31742 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31743 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31744 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31745 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31746 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31747 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31748 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31750 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31751 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31752 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31753 (MEMCMP): Use void * instead of ptr_t.
31754 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31755 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31757 2017-08-08 Florian Weimer <fweimer@redhat.com>
31759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31762 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31765 * csu/libc-tls.c: Include <startup.h> first.
31766 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31767 * elf/dl-tunables.c: Include <startup.h> first.
31768 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31769 * sysdeps/generic/startup.h: New file.
31770 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31771 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31772 (I386_USE_SYSENTER): New. Defined to 0.
31774 2017-08-08 Andreas Schwab <schwab@suse.de>
31777 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31778 * nptl/pt-system.c (system): Likewise.
31780 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31783 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31785 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31786 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31787 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31788 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31789 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31790 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31791 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31793 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31796 * bits/sigaction.h (struct sigaction): Define sa_handler and
31797 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31798 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31799 [__USE_XOPEN_EXTENDED].
31800 (SA_RESTART): Likewise.
31801 (SA_NODEFER): Likewise.
31802 (SA_RESETHAND): Likewise.
31803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31804 (struct sigaction): Define sa_handler and sa_sigaction using union
31805 also for [__USE_XOPEN_EXTENDED].
31806 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31807 [__USE_XOPEN_EXTENDED].
31808 (SA_RESTART): Likewise.
31809 (SA_NODEFER): Likewise.
31810 (SA_RESETHAND): Likewise.
31811 * sysdeps/unix/sysv/linux/bits/sigaction.h
31812 (struct sigaction): Define sa_handler and sa_sigaction using union
31813 also for [__USE_XOPEN_EXTENDED].
31814 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31815 [__USE_XOPEN_EXTENDED].
31816 (SA_RESTART): Likewise.
31817 (SA_NODEFER): Likewise.
31818 (SA_RESETHAND): Likewise.
31819 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31820 (struct sigaction): Define sa_handler and sa_sigaction using union
31821 also for [__USE_XOPEN_EXTENDED].
31822 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31823 [__USE_XOPEN_EXTENDED].
31824 (SA_RESTART): Likewise.
31825 (SA_NODEFER): Likewise.
31826 (SA_RESETHAND): Likewise.
31827 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31828 (struct sigaction): Define sa_handler and sa_sigaction using union
31829 also for [__USE_XOPEN_EXTENDED].
31830 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31831 [__USE_XOPEN_EXTENDED].
31832 (SA_RESTART): Likewise.
31833 (SA_NODEFER): Likewise.
31834 (SA_RESETHAND): Likewise.
31835 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31836 (struct sigaction): Define sa_handler and sa_sigaction using union
31837 also for [__USE_XOPEN_EXTENDED].
31838 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31839 [__USE_XOPEN_EXTENDED].
31840 (SA_RESTART): Likewise.
31841 (SA_NODEFER): Likewise.
31842 (SA_RESETHAND): Likewise.
31843 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31844 (struct sigaction): Define sa_handler and sa_sigaction using union
31845 also for [__USE_XOPEN_EXTENDED].
31846 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31847 [__USE_XOPEN_EXTENDED].
31848 (SA_RESTART): Likewise.
31849 (SA_NODEFER): Likewise.
31850 (SA_RESETHAND): Likewise.
31851 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31852 (struct sigaction): Define sa_handler and sa_sigaction using union
31853 also for [__USE_XOPEN_EXTENDED].
31854 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31855 [__USE_XOPEN_EXTENDED].
31856 (SA_RESTART): Likewise.
31857 (SA_NODEFER): Likewise. Define directly rather than as alias.
31858 (SA_RESETHAND): Likewise.
31859 (SA_INTERRUPT): Define only for [__USE_MISC].
31860 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31861 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31863 (SA_STACK): Define only for [__USE_MISC].
31864 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31865 (struct sigaction): Define sa_handler and sa_sigaction using union
31866 also for [__USE_XOPEN_EXTENDED].
31867 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31868 [__USE_XOPEN_EXTENDED].
31869 (SA_RESTART): Likewise.
31870 (SA_NODEFER): Likewise.
31871 (SA_RESETHAND): Likewise.
31872 (SA_NOPTRACE): Define only for [__USE_MISC].
31874 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31875 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31876 (struct catalog_info): Likewise.
31877 * inet/htontest.c (lo): Likewise.
31879 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31880 * inet/inet_net.c (inet_network): Likewise.
31881 * inet/inet_netof.c (inet_netof): Likewise.
31882 * inet/rcmd.c (__ivaliduser): Likewise.
31883 (iruserok): Likewise.
31884 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31885 * locale/programs/locale-spec.c (locale_special): Likewise.
31886 * nis/nis_findserv.c (struct findserv_req): Likewise.
31887 (__nis_findfastest_with_timeout): Likewise.
31888 * nss/test-netdb.c (test_network): Likewise.
31889 * resolv/inet_neta.c (inet_neta): Likewise.
31890 * resolv/ns_date.c (ns_datetosecs): Likewise.
31891 (SECS_PER_DAY): Likewise.
31892 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31894 * resolv/res_comp.c (__putlong): Likewise.
31895 (__putshort): Likewise.
31896 (_getlong): Likewise.
31897 (_getshort): Likewise.
31898 * resolv/res_debug.c (p_time): Likewise.
31899 (precsize_ntoa): Likewise.
31900 (precsize_aton): Likewise.
31901 (latlon2ul): Likewise.
31902 (loc_aton): Likewise.
31903 (loc_ntoa): Likewise.
31904 * resolv/res_hconf.c (struct netaddr): Likewise.
31905 (_res_hconf_reorder_addrs): Likewise.
31906 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31907 (clnttcp_control): Likewise.
31908 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31909 (clntudp_control): Likewise.
31910 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31911 (clntunix_control): Likewise.
31912 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31913 * sunrpc/rpc/auth.h (union des_block): Likewise.
31914 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31915 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31916 (xdrrec_create): Likewise.
31917 (xdrrec_endofrecord): Likewise.
31918 (flush_out): Likewise.
31919 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31920 (xdrstdio_putlong): Likewise.
31921 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31924 * misc/sys/cdefs.h (__long_double_t): Remove.
31925 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31926 instead of __long_double_t,
31927 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31929 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31931 * benchtests/scripts/compare_strings.py: Avoid display error when
31932 running on a text terminal.
31934 * benchtests/scripts/compare_strings.py (main): Add an
31935 optional -base option.
31936 (process_results): New argument base_func.
31938 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31940 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31941 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31943 2017-08-07 Andreas Schwab <schwab@suse.de>
31945 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31946 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31947 * intl/Makefile ($(objpfx)tst-gettext.out)
31948 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31949 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31950 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31952 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31953 * posix/Makefile ($(objpfx)globtest.out)
31954 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31955 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31956 ($(objpfx)tst-printf.out): Likewise.
31957 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31958 ($(objpfx)tst-setcontext3.out): Likewise.
31960 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31963 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31964 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31965 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31966 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31968 (CFLAGS-doasin-fma.c): New.
31969 (CFLAGS-dosincos-fma.c): Likewise.
31970 (CFLAGS-e_asin-fma.c): Likewise.
31971 (CFLAGS-e_atan2-fma.c): Likewise.
31972 (CFLAGS-e_exp-fma.c): Likewise.
31973 (CFLAGS-e_log-fma.c): Likewise.
31974 (CFLAGS-e_pow-fma.c): Likewise.
31975 (CFLAGS-halfulp-fma.c): Likewise.
31976 (CFLAGS-mpa-fma.c): Likewise.
31977 (CFLAGS-mpatan-fma.c): Likewise.
31978 (CFLAGS-mpatan2-fma.c): Likewise.
31979 (CFLAGS-mpexp-fma.c): Likewise.
31980 (CFLAGS-mplog-fma.c): Likewise.
31981 (CFLAGS-mpsqrt-fma.c): Likewise.
31982 (CFLAGS-mptan-fma.c): Likewise.
31983 (CFLAGS-s_atan-fma.c): Likewise.
31984 (CFLAGS-sincos32-fma.c): Likewise.
31985 (CFLAGS-slowexp-fma.c): Likewise.
31986 (CFLAGS-slowpow-fma.c): Likewise.
31987 (CFLAGS-s_sin-fma.c): Likewise.
31988 (CFLAGS-s_tan-fma.c): Likewise.
31989 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31990 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31991 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31992 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31994 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31995 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31997 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31998 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31999 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32000 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32001 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32002 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32003 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32004 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32005 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32006 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32007 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32008 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32009 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32010 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32011 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32012 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32014 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32015 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32016 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32021 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32023 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32024 (min_of_type_f): New macro.
32025 (min_of_type_): Likewise.
32026 (min_of_type_l): Likewise.
32027 (min_of_type_f128): Likewise.
32028 (min_of_type): Define using __MATH_TG and taking an expression
32030 (math_check_force_underflow): Pass expression instead of type to
32032 (math_check_force_underflow_nonneg): Likewise.
32034 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32036 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32037 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32038 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32040 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32043 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32044 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32045 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32046 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32047 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32048 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32049 memmove_chk-nonshared and memset_chk-nonshared
32050 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32051 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32052 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32054 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32055 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32056 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32057 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32058 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32059 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32060 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32061 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32063 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32064 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32065 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32067 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32069 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32071 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32073 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32075 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32077 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32078 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32080 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32081 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32083 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32086 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32088 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32089 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32090 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32091 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32092 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32093 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32094 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32095 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32096 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32097 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32098 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32099 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32100 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32102 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32103 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32104 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32105 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32106 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32107 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32108 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32110 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32112 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32114 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32115 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32116 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32117 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32118 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32119 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32120 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32121 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32124 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32125 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32131 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32132 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32133 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32134 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32141 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32159 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32161 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32162 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32163 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32164 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32165 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32166 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32167 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32168 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32169 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32170 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32171 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32172 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32173 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32174 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32175 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32176 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32177 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32178 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32179 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32180 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32181 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32182 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32183 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32184 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32185 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32186 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32187 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32188 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32189 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32190 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32191 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32192 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32193 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32194 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32195 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32196 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32197 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32199 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32201 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32202 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32203 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32204 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32205 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32206 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32207 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32208 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32209 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32210 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32211 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32212 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32216 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32217 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32222 Don't include <sysdep.h> nor <init-arch.h>.
32223 (_ZGVbN2v_cos): Removed.
32224 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32227 Don't include <sysdep.h> nor <init-arch.h>.
32228 (_ZGVdN4v_cos): Removed.
32229 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32231 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32232 Don't include <sysdep.h> nor <init-arch.h>.
32233 (_ZGVeN8v_cos): Removed.
32234 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32236 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32237 Don't include <sysdep.h> nor <init-arch.h>.
32238 (_ZGVbN2v_exp): Removed.
32239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32241 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32242 Don't include <sysdep.h> nor <init-arch.h>.
32243 (_ZGVdN4v_exp): Removed.
32244 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32246 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32247 Don't include <sysdep.h> nor <init-arch.h>.
32248 (_ZGVeN8v_exp): Removed.
32249 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32251 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32252 Don't include <sysdep.h> nor <init-arch.h>.
32253 (_ZGVbN2v_log): Removed.
32254 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32256 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32257 Don't include <sysdep.h> nor <init-arch.h>.
32258 (_ZGVdN4v_log): Removed.
32259 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32261 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32262 Don't include <sysdep.h> nor <init-arch.h>.
32263 (_ZGVeN8v_log): Removed.
32264 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32266 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32267 Don't include <sysdep.h> nor <init-arch.h>.
32268 (_ZGVbN2vv_pow): Removed.
32269 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32271 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32272 Don't include <sysdep.h> nor <init-arch.h>.
32273 (_ZGVdN4vv_pow): Removed.
32274 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32276 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32277 Don't include <sysdep.h> nor <init-arch.h>.
32278 (_ZGVeN8vv_pow): Removed.
32279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32281 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32282 Don't include <sysdep.h> nor <init-arch.h>.
32283 (_ZGVbN2v_sin): Removed.
32284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32286 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32287 Don't include <sysdep.h> nor <init-arch.h>.
32288 (_ZGVbN4v_sin): Removed.
32289 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32291 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32292 Don't include <sysdep.h> nor <init-arch.h>.
32293 (_ZGVbN8v_sin): Removed.
32294 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32297 Don't include <sysdep.h> nor <init-arch.h>.
32298 (_ZGVbN2vvv_sincos): Removed.
32299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32302 Don't include <sysdep.h> nor <init-arch.h>.
32303 (_ZGVdN4vvv_sincos): Removed.
32304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32306 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32307 Don't include <sysdep.h> nor <init-arch.h>.
32308 (_ZGVeN8vvv_sincos): Removed.
32309 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32311 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32312 Don't include <sysdep.h> nor <init-arch.h>.
32313 (_ZGVeN16v_cosf): Removed.
32314 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32316 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32317 Don't include <sysdep.h> nor <init-arch.h>.
32318 (_ZGVbN4v_cosf): Removed.
32319 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32321 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32322 Don't include <sysdep.h> nor <init-arch.h>.
32323 (_ZGVdN8v_cosf): Removed.
32324 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32326 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32327 Don't include <sysdep.h> nor <init-arch.h>.
32328 (_ZGVeN16v_expf): Removed.
32329 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32331 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32332 Don't include <sysdep.h> nor <init-arch.h>.
32333 (_ZGVbN4v_expf): Removed.
32334 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32336 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32337 Don't include <sysdep.h> nor <init-arch.h>.
32338 (_ZGVdN8v_expf): Removed.
32339 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32341 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32342 Don't include <sysdep.h> nor <init-arch.h>.
32343 (_ZGVeN16v_logf): Removed.
32344 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32346 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32347 Don't include <sysdep.h> nor <init-arch.h>.
32348 (_ZGVbN4v_logf): Removed.
32349 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32351 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32352 Don't include <sysdep.h> nor <init-arch.h>.
32353 (_ZGVdN8v_logf): Removed.
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32356 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32357 Don't include <sysdep.h> nor <init-arch.h>.
32358 (_ZGVeN16vv_powf): Removed.
32359 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32361 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32362 Don't include <sysdep.h> nor <init-arch.h>.
32363 (_ZGVbN4vv_powf): Removed.
32364 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32366 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32367 Don't include <sysdep.h> nor <init-arch.h>.
32368 (_ZGVdN8vv_powf): Removed.
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32372 Don't include <sysdep.h> nor <init-arch.h>.
32373 (_ZGVeN16vvv_sincosf): Removed.
32374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32377 Don't include <sysdep.h> nor <init-arch.h>.
32378 (_ZGVbN4vvv_sincosf): Removed.
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32382 Don't include <sysdep.h> nor <init-arch.h>.
32383 (_ZGVdN8vvv_sincosf): Removed.
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32386 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32387 Don't include <sysdep.h> nor <init-arch.h>.
32388 (_ZGVeN16v_sinf): Removed.
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32391 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32392 Don't include <sysdep.h> nor <init-arch.h>.
32393 (_ZGVbN4v_sinf): Removed.
32394 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32396 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32397 Don't include <sysdep.h> nor <init-arch.h>.
32398 (_ZGVdN8v_sinf): Removed.
32400 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32402 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32403 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32404 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32405 s_rint-sse4_1 and s_rintf-sse4_1.
32406 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32407 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32411 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32416 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32417 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32419 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32420 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32421 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32422 (__ceilf): Removed.
32423 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32424 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32425 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32426 (__floor): Removed.
32427 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32428 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32429 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32430 (__floorf): Removed.
32431 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32432 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32433 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32434 (__nearbyint): Removed.
32435 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32436 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32437 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32438 (__nearbyintf): Removed.
32439 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32440 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32441 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32443 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32444 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32445 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32446 (__rintf): Removed.
32448 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32450 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32451 SHARED. Avoid dynamic relocation against main in static PIE.
32453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32456 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32457 (LDFLAGS-tst-prelink): Likewise.
32459 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32461 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32462 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32463 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32464 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32465 (INTERNAL_SYSCALL_NCS): Likewise.
32466 (LOADARGS_1): Likewise.
32467 (LOADARGS_5): Likewise.
32468 (RESTOREARGS_1): Likewise.
32469 (RESTOREARGS_5): Likewise.
32471 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32473 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32474 (MEMPCPY_SYMBOL): Likewise.
32475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32476 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32477 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32480 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32482 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32483 (__hidden_ver1): Don't use in libc.a.
32484 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32485 (__mempcpy): Don't create a weak alias in libc.a.
32486 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32488 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32489 (__hidden_ver1): Don't use in libc.a.
32491 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32493 * config.make.in (have-insert): New.
32494 * configure.ac (libc_cv_insert): New. Set to yes if linker
32495 supports INSERT in linker script.
32496 (AC_SUBST(libc_cv_insert): New.
32497 * configure: Regenerated.
32498 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32499 if $(have-insert) == yes.
32501 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32503 * elf/Makefile (tests): Add vismain only if
32504 $(have-protected-data) == yes.
32505 (tests-pie): Likewise.
32507 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32510 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32511 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32513 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32516 * sysdeps/i386/i586/memset.S
32517 (__memset_zero_constant_len_parameter): Removed.
32518 * sysdeps/i386/i686/memset.S
32519 (__memset_zero_constant_len_parameter): Likewise.
32520 * sysdeps/i386/i686/multiarch/memset_chk.S
32521 (__memset_zero_constant_len_parameter): Likewise.
32522 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32525 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32527 * stdlib/getentropy.c (getentropy): Change return type to int.
32529 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32531 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32533 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32535 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32537 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32538 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32540 (ieee_float_shape_type): Likewise.
32541 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32542 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32543 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32544 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32545 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32546 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32547 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32548 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32549 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32551 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32552 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32553 (__ieee754_yn): Likewise.
32554 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32555 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32558 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32559 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32560 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32561 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32562 (__erfc): Likewise.
32563 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32564 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32565 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32566 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32567 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32568 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32570 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32571 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32572 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32573 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32574 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32575 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32576 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32577 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32578 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32579 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32580 (__issignaling): Likewise.
32581 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32582 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32583 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32585 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32586 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32587 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32588 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32590 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32592 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32593 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32594 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32595 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32596 (__erfcf): Likewise.
32597 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32598 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32599 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32600 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32602 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32603 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32605 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32606 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32607 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32608 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32609 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32610 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32611 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32612 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32614 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32616 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32618 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32619 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32621 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32623 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32624 (__ieee754_ynl): Likewise.
32625 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32626 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32628 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32630 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32631 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32632 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32634 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32635 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32636 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32637 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32638 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32643 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32647 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32648 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32649 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32650 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32651 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32660 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32661 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32662 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32663 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32664 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32665 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32666 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32668 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32671 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32674 (__ieee754_remainderl): Likewise.
32675 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32677 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32680 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32683 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32684 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32685 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32686 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32687 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32688 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32691 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32692 (__ieee754_y0l): Likewise.
32695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32696 (__ieee754_y1l): Likewise.
32699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32700 (__ieee754_ynl): Likewise.
32701 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32702 (__ieee754_lgammal_r): Likewise.
32703 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32705 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32706 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32707 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32708 (__erfcl): Likewise.
32709 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32710 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32712 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32713 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32714 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32715 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32716 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32717 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32718 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32720 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32721 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32722 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32723 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32724 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32726 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32727 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32729 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32730 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32731 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32732 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32733 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32735 2017-08-03 Florian Weimer <fweimer@redhat.com>
32738 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32739 on memory allocation failure.
32741 2017-08-03 Alan Modra <amodra@gmail.com>
32743 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32744 tst-tlsopt-powerpc.c with function name change and no test harness.
32745 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32746 Call tls_get_addr_opt_test.
32747 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32748 (modules-names): Add mod-tlsopt-powerpc.
32749 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32750 (tst-tlsopt-powerpc): Depend on .so.
32751 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32752 define. Expand use in TLS_GD and TLS_LD.
32754 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32756 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32758 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32760 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32763 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32764 comparing size with that of double.
32765 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32766 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32767 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32768 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32769 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32770 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32771 unsigned __int128 types.
32773 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32775 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32776 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32777 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32778 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32779 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32781 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32783 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32785 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32787 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32789 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32790 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32791 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32792 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32793 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32795 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32797 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32800 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32801 bit-field expressions passed to sizeof or typeof.
32802 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32803 (__TGMATH_F128): Likewise.
32804 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32805 (__TGMATH_CF128): Likewise.
32806 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32807 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32808 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32809 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32810 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32811 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32812 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32813 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32814 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32815 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32816 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32817 (__TGMATH_UNARY_IMAG): Likewise.
32818 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32819 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32820 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32822 (define_vars_for_type): Handle bit_field type specially.
32823 (Tests.__init__): Declare structure with bit-field element.
32825 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32828 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32829 (MEMCPY_CHK): Define only if SHARED is defined.
32830 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32832 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32835 See ChangeLog.18 for earlier changes.