1 2019-03-01 Florian Weimer <fweimer@redhat.com>
4 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5 (__netlink_assert_response): Add additional missing newlines.
7 2019-02-28 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/powerpc/powerpc32/dl-machine.c
10 (__elf_machine_fixup_plt): Use space before '('.
11 (__process_machine_rela): Likewise.
12 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
14 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
16 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
18 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
21 (check_result): Likewise.
22 (check_excepts): Likewise.
25 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
26 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
28 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
31 (__makecontext): Likewise.
32 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
35 2019-02-28 Florian Weimer <fweimer@redhat.com>
38 elf: Add test with a local IFUNC resolver.
39 * elf/ifuncmain9.c: New file.
40 * elf/ifuncmain9pic.c: Likewise.
41 * elf/ifuncmain9picstatic.c: Likewise.
42 * elf/ifuncmain9pie.c: Likewise.
43 * elf/ifuncmain9static.c: Likewise.
44 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
45 ifuncmain9static, ifuncmain9picstatic.
46 * elf/Makefile [multi-arch && build-shared] (tests-internal):
47 Add ifuncmain9, ifuncmain9pic.
48 * elf/Makefile [multi-arch && build-shared && have-fpie]
49 (ifunc-pie-tests): Add ifuncmain9pie.
50 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
51 (CFLAGS-ifuncmain9picstatic.c): Likewise.
52 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
54 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
56 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
57 * configure: Regenerated.
58 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
60 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
62 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
63 symbol as __wcspcy instead of wcscpy.
65 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
67 * include/stdio.h (__renameat2): New hidden prototype.
68 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
69 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
70 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
71 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
73 2019-02-27 Joseph Myers <joseph@codesourcery.com>
75 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
78 * benchtests/bench-strcpy.c (do_test): Use space before '('.
79 * benchtests/bench-string.h (cmdline_process_function): Likewise.
80 * benchtests/bench-strlen.c (do_test): Likewise.
81 (test_main): Likewise.
82 * catgets/gencat.c (read_old): Likewise.
83 * elf/cache.c (load_aux_cache): Likewise.
84 * iconvdata/bug-iconv8.c (do_test): Likewise.
85 * math/test-tgmath-ret.c (do_test): Likewise.
86 * nis/nis_call.c (rec_dirsearch): Likewise.
87 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
88 * nptl/tst-audit-threads.c (do_test): Likewise.
89 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
90 * nss/nss_test1.c (init): Likewise.
91 * nss/test-netdb.c (test_hosts): Likewise.
92 * posix/execvpe.c (maybe_script_execute): Likewise.
93 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
94 * stdio-common/tst-printf.c (do_test): Likewise.
95 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
96 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
97 * stdlib/qsort.c (STACK_SIZE): Likewise.
98 * stdlib/test-canon.c (do_test): Likewise.
99 * stdlib/tst-swapcontext1.c (do_test): Likewise.
100 * string/memcmp.c (OPSIZ): Likewise.
101 * string/test-strcpy.c (do_test): Likewise.
102 (do_random_tests): Likewise.
103 * string/test-strlen.c (do_test): Likewise.
104 (test_main): Likewise.
105 * string/test-strrchr.c (do_test): Likewise.
106 (do_random_tests): Likewise.
107 * string/tester.c (test_memrchr): Likewise.
108 (test_memchr): Likewise.
109 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
110 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
111 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
112 (read_encoded_value_with_base): Likewise.
113 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
114 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
115 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
116 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
117 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
118 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
120 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
122 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
123 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
124 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
126 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
128 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
130 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
132 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
133 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
134 (FP_XSTATE_MAGIC2_SIZE): Likewise.
135 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
136 * time/test_time.c (main): Likewise.
138 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
140 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
142 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
145 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
148 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
150 * include/wchar.h (__wcscpy): New prototype.
151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
152 (__wcscpy): Route internal symbol to generic implementation.
153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
154 Add internal __wcscpy alias.
155 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
156 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
157 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
158 * wcsmbs/wcscpy.c (wcscpy): Add
159 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
160 use generic implementation.
161 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
163 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
166 * sysdeps/m68k/wcpcpy.c: Remove file.
167 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
169 2019-02-26 Joseph Myers <joseph@codesourcery.com>
171 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
172 than after operators.
173 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
174 * sysdeps/mach/hurd/getcwd.c
175 (__hurd_canonicalize_directory_name_internal): Likewise.
176 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
177 (pthread_mutex_consistent): Likewise.
178 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
180 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
181 (__pthread_mutex_transfer_np): Likewise.
182 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
183 (__pthread_mutex_unlock): Likewise.
184 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
185 (mtx_owned_p): Likewise.
186 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
187 (pthread_mutexattr_getrobust): Likewise.
188 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
189 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
191 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
192 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
193 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
194 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
195 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
199 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
201 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
202 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
203 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
204 (____longjmp_chk): Likewise.
205 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
208 (INTERNAL_SYSCALL): Likewise.
209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
210 (INTERNAL_SYSCALL): Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
212 (__get_clockfreq_via_cpuinfo): Likewise.
214 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
216 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
217 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
218 (WORD_COPY_BWD): Likewise.
219 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
222 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
223 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
225 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
227 2019-02-25 Joseph Myers <joseph@codesourcery.com>
229 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
230 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
231 rather than after operators.
232 * elf/cache.c (print_cache): Likewise.
233 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
234 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
235 * hurd/hurdinit.c (_hurd_setproc): Likewise.
236 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
237 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
238 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
239 (reauth_proc): Likewise.
240 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
241 (__file_name_split_at): Likewise.
242 (__directory_name_split_at): Likewise.
243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
244 * hurd/port2fd.c (_hurd_port2fd): Likewise.
245 * iconv/gconv_dl.c (do_print): Likewise.
246 * inet/netinet/in.h (struct sockaddr_in): Likewise.
247 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
248 * locale/setlocale.c (new_composite_name): Likewise.
249 * malloc/memusagestat.c (main): Likewise.
250 * misc/fstab.c (fstab_convert): Likewise.
251 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
253 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
254 (getgrent_next_file): Likewise.
255 (internal_getgrnam_r): Likewise.
256 (internal_getgrgid_r): Likewise.
257 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
259 (internal_getgrent_r): Likewise.
260 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
261 (getpwent_next_nss): Likewise.
262 (getpwent_next_file): Likewise.
263 (internal_getpwnam_r): Likewise.
264 (internal_getpwuid_r): Likewise.
265 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
267 (getspent_next_nss): Likewise.
268 (internal_getspnam_r): Likewise.
269 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
270 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
271 * string/strchr.c (STRCHR): Likewise.
272 * string/strchrnul.c (STRCHRNUL): Likewise.
273 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
274 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
275 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
276 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
277 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
279 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
280 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
281 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
282 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
283 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
285 (open_file): Likewise.
286 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
287 (pthread_mutexattr_setprotocol): Likewise.
288 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
289 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
290 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
291 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
292 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
294 (elf_machine_rela): Likewise.
295 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
296 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
297 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
298 * sysdeps/posix/rename.c (rename): Likewise.
299 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
300 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
301 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
302 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
303 * sysdeps/unix/grantpt.c (grantpt): Likewise.
304 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
305 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
307 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
309 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
310 * time/tzfile.c (__tzfile_compute): Likewise.
312 2019-02-22 Joseph Myers <joseph@codesourcery.com>
314 * benchtests/bench-memmem.c (simple_memmem): Break lines before
315 rather than after operators.
316 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
317 * crypt/md5.c (md5_finish_ctx): Likewise.
318 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
319 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
320 * elf/cache.c (load_aux_cache): Likewise.
321 * elf/dl-load.c (open_verify): Likewise.
322 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
323 * elf/readelflib.c (process_elf_file): Likewise.
324 * elf/rtld.c (dl_main): Likewise.
325 * elf/sprof.c (generate_call_graph): Likewise.
326 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
327 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
328 * hurd/dtable.c (reauth_dtable): Likewise.
329 * hurd/getdport.c (__getdport): Likewise.
330 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
331 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
332 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
334 * hurd/hurdioctl.c (fioctl): Likewise.
335 * hurd/hurdselect.c (_hurd_select): Likewise.
336 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
337 (STOPSIGS): Likewise.
338 * hurd/hurdstartup.c (_hurd_startup): Likewise.
339 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
340 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
341 * hurd/msgportdemux.c (msgport_server): Likewise.
342 * hurd/setauth.c (_hurd_setauth): Likewise.
343 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
344 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
345 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
346 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
347 * login/tst-utmp.c (do_check): Likewise.
348 (simulate_login): Likewise.
349 * mach/lowlevellock.h (lll_lock): Likewise.
350 (lll_trylock): Likewise.
351 * math/test-fenv.c (ALL_EXC): Likewise.
352 * math/test-fenvinline.c (ALL_EXC): Likewise.
353 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
354 * nis/nis_call.c (__do_niscall3): Likewise.
355 * nis/nis_callback.c (cb_prog_1): Likewise.
356 * nis/nis_defaults.c (searchaccess): Likewise.
357 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
358 * nis/nis_ismember.c (internal_ismember): Likewise.
359 * nis/nis_local_names.c (nis_local_principal): Likewise.
360 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
361 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
363 * nis/ypclnt.c (yp_match): Likewise.
364 (yp_first): Likewise.
366 (yp_master): Likewise.
367 (yp_order): Likewise.
368 * nscd/hstcache.c (cache_addhst): Likewise.
369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
370 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
371 (internal_getpwuid_r): Likewise.
372 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
373 * posix/glob.h (__GLOB_FLAGS): Likewise.
374 * posix/regcomp.c (peek_token): Likewise.
375 (peek_token_bracket): Likewise.
376 (parse_expression): Likewise.
377 * posix/regexec.c (sift_states_iter_mb): Likewise.
378 (check_node_accept_bytes): Likewise.
379 * posix/tst-spawn3.c (do_test): Likewise.
380 * posix/wordexp-test.c (testit): Likewise.
381 * posix/wordexp.c (parse_tilde): Likewise.
382 (exec_comm): Likewise.
383 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
384 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
385 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
386 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
387 * stdio-common/tst-fileno.c (do_test): Likewise.
388 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
389 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
390 * stdlib/strtod_l.c (round_and_return): Likewise.
391 (____STRTOF_INTERNAL): Likewise.
392 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
393 * string/strcspn.c (STRCSPN): Likewise.
394 * string/test-memmem.c (simple_memmem): Likewise.
395 * termios/tcsetattr.c (tcsetattr): Likewise.
396 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
397 * time/asctime.c (asctime_internal): Likewise.
398 * time/strptime_l.c (__strptime_internal): Likewise.
399 * time/sys/time.h (timercmp): Likewise.
400 * time/tzfile.c (__tzfile_compute): Likewise.
402 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
405 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
407 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
409 * argp/argp-help.c (__argp_error_internal): New function,
410 renamed from __argp_error, but that takes a 'mode_flags'
411 parameter to control the format of long double parameters.
412 (__argp_error): Converted into a call __argp_error_internal.
413 (__argp_failure_internal): New function, renamed from
414 __argp_failure, but that takes a 'mode_flags' parameter.
415 (__argp_failure): Converted into a call __argp_failure_internal.
416 * misc/err.c (__vwarnx_internal): New function, renamed from
417 vwarnx, but that takes a 'mode_flags' parameter.
418 (vwarnx): Converted into a call to __vwarnx_internal.
419 (__vwarn_internal): New function, renamed from vwarn, but that
420 takes a 'mode_flags' parameter.
421 (vwarn): Converted into a call to __vwarn_internal.
422 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
423 call to __vfxprintf with 'mode_flags'.
424 (__error_internal): New function, renamed from error, but that
425 takes a 'mode_flags' parameter.
426 (error): Converted into a call to __error_internal.
427 (__error_at_line_internal): New function, renamed from
428 error_at_line, but that takes a 'mode_flags' parameter.
429 (error_at_line): Converted into a call to
430 __error_at_line_internal.
431 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
432 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
435 2019-02-20 Martin Liska <mliska@suse.cz>
437 * math/Makefile: Install math-vector-fortran.h.
438 * bits/math-vector-fortran.h: New file.
439 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
441 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
443 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
444 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
446 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
448 * nptl/pthread_mutex_trylock.c: Fix comment.
450 2019-02-19 Carlos O'Donell <carlos@redhat.com>
452 * nptl/pthread_tryjoin.c: Fix comment.
454 2019-02-18 Joseph Myers <joseph@codesourcery.com>
457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
458 after R_SPARC_H34 case.
460 2019-02-18 Florian Weimer <fweimer@redhat.com>
462 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
463 (getanswer): Do not call Dprintf.
464 (res_gethostbyname2_context): Likewise.
465 (res_gethostbyaddr_context): Likewise.
467 2019-02-18 Florian Weimer <fweimer@redhat.com>
469 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
471 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
473 * libio/stdfiles.c: Update comment.
474 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
475 set _IO_stdin, _IO_stdout, _IO_stderr.
476 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
477 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
479 (_IO_deallocate_file): New inline function.
480 * libio/iolibio.h (_IO_vprintf): Remove definition.
481 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
482 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
483 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
485 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
486 __builtin_expect. Use _IO_legacy_file.
488 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
490 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
491 Initialize ctid with a known value and remove update of ctid
493 (wait_tid): Adjust arguments and call futex_wait with ctid_val
494 as assumed current value of ctid_ptr.
496 2019-02-15 Florian Weimer <fweimer@redhat.com>
498 Check that non-sysdeps headers have wrapper headers.
499 * scripts/check-wrapper-headers.py: New file.
500 * Makefile (tests-special): Add check-wrapper-headers.out.
501 (check-wrapper-headers.out): New target.
502 * Rules (tests-special): Add check-wrapper-headers.out.
503 (check-wrapper-headers.out): New target.
505 2019-02-15 Florian Weimer <fweimer@redhat.com>
507 Add missing header wrappers under include/.
508 * include/ar.h: New file.
509 * include/bits/mqueue2.h: Likewise.
510 * include/bits/stdio.h: Likewise.
511 * include/bits/stdio2.h: Likewise.
512 * include/fstab.h: Likewise.
513 * include/fts.h: Likewise.
514 * include/lastlog.h: Likewise.
515 * include/netinet/icmp6.h: Likewise.
516 * include/netinet/igmp.h: Likewise.
517 * include/netinet/ip6.h: Likewise.
518 * include/re_comp.h: Likewise.
519 * include/regexp.h: Likewise.
520 * include/rpcsvc/bootparam.h: Likewise.
521 * include/rpcsvc/yp_prot.h: Likewise.
522 * include/sys/random.h: Likewise.
523 * include/sys/stropts.h: Likewise.
524 * include/sys/ttychars.h: Likewise.
525 * include/sys/vfs.h: Likewise.
526 * include/wait.h: Likewise.
528 2019-02-15 Florian Weimer <fweimer@redhat.com>
530 * nptl_db/proc_service.h: Move to ...
531 * sysdeps/nptl/proc_service.h: ... here.
532 * nptl_db/thread_db.h: Move to ...
533 * sysdeps/nptl/thread_db.h: ... here.
534 * nptl/descr.h: Include <thread_db.h>.
536 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
538 * io/Makefile (tests): Add tst-lockf.
539 * io/lockf.c (lockf): Use __fcntl and only define for
540 !__OFF_T_MATCHES_OFF64_T.
541 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
542 __OFF_T_MATCHES_OFF64_T case.
543 * io/tst-lockf.c: New file.
544 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
545 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
546 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
547 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
548 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
550 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
551 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
554 2019-02-15 Florian Weimer <fweimer@redhat.com>
557 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
558 pd->result after the thread descriptor has been freed.
560 2019-02-15 Joseph Myers <joseph@codesourcery.com>
562 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
563 from function return type.
565 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
567 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
569 * scripts/test_printers_common.py: Set TERM to a known harmless
572 2019-02-14 Joseph Myers <joseph@codesourcery.com>
574 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
575 (xdr_u_int): Likewise.
576 (xdr_enum): Likewise.
577 (xdr_bytes): Reword fall-through comment.
578 (xdr_string): Likewise.
580 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
583 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
584 (tests): Add tst-join8 tst-join9.
585 * nptl/lll_timedwait_tid.c: Remove file.
586 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
587 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
588 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
589 * nptl/pthread_join_common.c (timedwait_tid): New function.
590 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
592 * nptl/tst-join5.c (thread_join): New function.
593 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
595 * nptl/tst-join8.c: New file.
596 * nptl/tst-join9.c: Likewise.
597 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
598 lll_futex_timed_wait_cancel): Add generic macros.
599 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
601 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
602 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
604 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
606 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
608 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
609 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
610 (lll_futex_timed_wait_cancel): New macro.
612 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
614 * benchtests/Makefile: Add malloc-simple benchmark.
615 * benchtests/bench-malloc-simple.c: New benchmark.
617 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
619 * benchtests/bench-memmove.c (do_one_test): Remove unused
622 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
626 2019-01-13 Jim Wilson <jimw@sifive.com>
629 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
630 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
632 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
634 * nptl/Makefile (tests): Add tst-unwind-thread.
635 (CFLAGS-tst-unwind-thread.c): Define.
636 * nptl/tst-unwind-thread.c: New file.
637 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
640 2019-02-13 Joseph Myers <joseph@codesourcery.com>
642 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
644 * nis/nis_call.c (__do_niscall3): Likewise.
646 * catgets/gencat.c (normalize_line): Use braces around empty
648 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
649 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
650 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
651 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
652 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
653 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
654 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
657 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
660 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
662 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
663 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
664 * benchtests/bench-strchr.c (stupid_strchr): Remove.
665 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
666 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
667 * benchtests/bench-strlen.c (builtin_strlen): Remove.
668 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
669 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
670 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
671 * benchtests/bench-strspn.c (stupid_strspn): Remove.
672 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
673 * benchtests/bench-bcopy.c: Delete file.
674 * benchtests/bench-bzero.c: Likewise.
675 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
676 (simple_memccpy): Remove.
677 (generic_memccpy): Add function.
678 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
679 * benchtests/bench-memmove.c (simple_bcopy): Remove.
680 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
681 (generic_mempcpy): Add new function.
682 * benchtests/bench-memset.c (simple_bzero): Remove.
683 (builtin_bzero): Remove.
684 (builtin_memset): Remove.
685 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
686 (generic_rawmemchr): Add new function.
688 2019-02-12 Florian Weimer <fweimer@redhat.com>
690 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
692 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
695 * elf/Makefile (tests): Add tst-audit13.
696 (modules-names): Add tst-audit13mod1.
697 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
699 * elf/tst-audit13.c: New file.
700 * elf/tst-audit13mod1.c: Likewise.
702 2019-02-12 Florian Weimer <fweimer@redhat.com>
705 * elf/rtld.c (unload_audit_module): New function.
706 (report_audit_module_load_error): Likewise.
707 (load_audit_module): Likewise. Extracted from dl_main. Call
708 _dl_close if the laversion symbol cannot be found. Use early
709 returns for error handling. Add malloc error check. Check for a
710 zero return value from la_version. Remove spurious comment about
711 static TLS initialization. Remove useless casts.
712 (notify_audit_modules_of_loaded_object): New function. Extracted
714 (load_audit_module): Likewise.
715 (dl_main): Call load_audit_modules.
717 2019-02-12 Joseph Myers <joseph@codesourcery.com>
719 * elf/dl-exception.c (_dl_exception_create_format): Add
720 fall-through comments.
721 * elf/ldconfig.c (parse_conf_include): Likewise.
722 * elf/rtld.c (print_statistics): Likewise.
723 * locale/programs/charmap.c (parse_charmap): Likewise.
724 * misc/mntent_r.c (__getmntent_r): Likewise.
725 * posix/wordexp.c (parse_arith): Likewise.
726 (parse_backtick): Likewise.
727 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
728 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
731 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
733 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
734 Use float instead of double.
736 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
738 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
740 2019-02-08 Joseph Myers <joseph@codesourcery.com>
742 * sysdeps/powerpc/bits/mathinline.h: Remove.
744 2019-02-08 Florian Weimer <fweimer@redhat.com>
746 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
747 * math/bits/math-finite.h: Move to ...
748 * bits/math-finite.h: ... here.
750 2019-02-08 Florian Weimer <fweimer@redhat.com>
752 * sysdeps/generic/bits/unistd_ext.h: Move to ...
753 * bits/unistd_ext.h: here.
755 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
758 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
759 * nss/tst-nss-files-hosts-long.c: New file.
760 * nss/tst-nss-files-hosts-long.root: New directory.
761 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
762 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
764 2019-02-08 Florian Weimer <fweimer@redhat.com>
766 * include/bits/unistd_ext.h: Remove file.
767 * posix/bits/unistd_ext.h: Move to ...
768 * sysdeps/generic/bits/unistd_ext.h: ... here.
770 2019-02-08 Florian Weimer <fweimer@redhat.com>
772 * include/bits/unistd_ext.h: New file.
774 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
776 * time/tst-strftime2.c: Use array_length macros instead of magic
779 2019-02-08 Florian Weimer <fweimer@redhat.com>
782 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
784 * nptl/register-atfork.c (__run_fork_handlers): Only perform
785 locking if the new do_locking argument is true.
786 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
789 2019-02-08 Florian Weimer <fweimer@redhat.com>
792 Linux: Add gettid system call wrapper.
793 * posix/Makefile (headers): Add bits/unistd_ext.h.
794 * posix/bits/unistd_ext.h: New file.
795 * posix/unistd.h: Include it.
796 * manual/process.texi (Process Identification): Document gettid.
797 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
798 tst-gettid, tst-gettid-kill.
799 (tst-gettid): Link with $(shared-thread-library).
800 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
801 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
802 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
803 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
804 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
805 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
807 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
809 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
810 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
812 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
814 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
816 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
818 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
820 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
822 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
824 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
825 (GLIBC_2.30): Likewise.
826 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
827 (GLIBC_2.30): Likewise.
828 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
829 (GLIBC_2.30): Likewise.
830 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
831 (GLIBC_2.30): Likewise.
832 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
835 (GLIBC_2.30): Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
837 (GLIBC_2.30): Likewise.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
839 (GLIBC_2.30): Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
841 (GLIBC_2.30): Likewise.
842 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
846 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
848 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
851 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
853 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
855 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
857 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
859 2019-02-07 Florian Weimer <fweimer@redhat.com>
861 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
862 compatibility symbols.
864 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
867 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
868 Add compiler barriers and comments.
870 2019-02-07 Florian Weimer <fweimer@redhat.com>
872 * include/array_length.h (array_length): Do not use a statement
873 expression and _Static_assert, so that array_length can be used at
874 file scope and as a constant expression.
876 2019-02-07 Florian Weimer <fweimer@redhat.com>
878 * support/xdlfcn.h (xdlmopen): Declare.
879 * support/xdlmopen.c: New file.
880 * support/Makefile (libsupport-routines): Add xdlmopen.
882 2019-02-06 Joseph Myers <joseph@codesourcery.com>
884 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
885 before return type, without separate inline.
886 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
887 * elf/dl-tunables.h (tunable_is_name): Likewise.
888 * malloc/malloc.c (do_set_trim_threshold): Likewise.
889 (do_set_top_pad): Likewise.
890 (do_set_mmap_threshold): Likewise.
891 (do_set_mmaps_max): Likewise.
892 (do_set_mallopt_check): Likewise.
893 (do_set_perturb_byte): Likewise.
894 (do_set_arena_test): Likewise.
895 (do_set_arena_max): Likewise.
896 (do_set_tcache_max): Likewise.
897 (do_set_tcache_count): Likewise.
898 (do_set_tcache_unsorted_limit): Likewise.
899 * nis/nis_subr.c (count_dots): Likewise.
900 * nptl/allocatestack.c (advise_stack_range): Likewise.
901 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
903 (reduce_sincos): Likewise.
904 (do_sincos): Likewise.
905 * sysdeps/unix/sysv/linux/x86/elision-conf.c
906 (do_set_elision_enable): Likewise.
907 (TUNABLE_CALLBACK_FNDECL): Likewise.
909 2019-02-06 Florian Weimer <fweimer@redhat.com>
911 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
912 (xdlsym): Use dlerror to detect a NULL symbol.
914 2019-02-06 Florian Weimer <fweimer@redhat.com>
916 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
918 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
920 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
922 * libio/tst-bz24153.c (wide): Use wide char format specifier.
924 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
926 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
927 __wmemcmp and weak alias to wmemcmp.
929 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
932 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
933 TLS_TCB_AT_TP tls variant.
934 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
935 Add alignment checks.
936 * support/Makefile (libsupport-routines): Add xposix_memalign and
938 * support/support.h: Add xposix_memalign.
939 * support/xthread.h: Add xpthread_attr_setstack.
940 * support/xposix_memalign.c: New File.
941 * support/xpthread_attr_setstack.c: Likewise.
943 2019-02-05 Florian Weimer <fweimer@redhat.com>
946 arm: Use "nr" constraint for Systemtap probes, to avoid the
947 compiler using memory operands for constants, due to the "o"
948 alternative in the default "nor" constraint.
949 * include/stap-probe.h [USE_STAP_PROBE]: Include
950 <stap-probe-machine.h>
951 * sysdeps/generic/stap-probe-machine.h: New file.
952 * sysdeps/arm/stap-probe-machine.h: Likewise.
954 2019-02-04 Joseph Myers <joseph@codesourcery.com>
956 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
957 with 0, not tcache->entries[tc_idx].
959 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
962 2019-02-04 Andreas Schwab <schwab@suse.de>
966 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
967 looking up collating elements match against (wide) character
968 sequence instead of name. Correct alignment adjustment.
969 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
970 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
971 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
972 (LOCALES): Add cs_CZ.ISO-8859-2.
973 * posix/tst-fnmatch4.c: New file.
974 * posix/tst-fnmatch5.c: New file.
975 * include/wchar.h (__wmemcmp): Declare.
976 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
977 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
978 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
979 * sysdeps/s390/wmemcmp.c: Likewise.
981 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
985 * NEWS: Updated for CVE-2019-7309.
986 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
987 upper 32 bits of RDX register for x32. Use unsigned Jcc
988 instructions, instead of signed.
989 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
990 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
992 2019-02-04 Florian Weimer <fweimer@redhat.com>
994 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
995 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
996 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
998 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
999 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1000 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1001 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1003 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1005 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1007 (posix_spawn_file_actions_addopen): Likewise.
1008 (posix_spawn_file_actions_addclose): Likewise.
1009 (posix_spawn_file_actions_adddup2): Likewise.
1010 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1012 (posix_spawn_file_actions_addfchdir_np): Likewise.
1014 2019-02-04 David Newall <glibc@davidnewall.com>
1016 elf: Implement --preload option for the dynamic linker.
1017 * elf/rtld.c (preloadarg): New variable.
1018 (handle_preload_list): Pass through “where” argument to
1020 (dl_main): Handle "--preload" and add second call to
1021 handle_preload_list.
1022 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1023 (tst-rtld-preload-OBJS): Set variable.
1024 (tst-rtld-preload.out): New target.
1025 * elf/tst-rtld-preload.sh: New file.
1027 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1029 * Makefile (testrun.sh): Exit in case of incorrect argument.
1031 2019-02-04 Florian Weimer <fweimer@redhat.com>
1033 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1036 2019-02-03 Florian Weimer <fweimer@redhat.com>
1038 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1039 implicit overflow checks.
1041 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1043 * stdlib/isomac.c: Include <unistd.h>.
1045 2019-02-03 Florian Weimer <fweimer@redhat.com>
1047 * include/time.h (__tzfile_default): Use int, not long int, for
1049 * time/tzfile.c (struct ttinfo): Change type of the offset member
1051 (__tzfile_read): Remove useless cast.
1052 (__tzfile_default): Adjust prototype.
1053 * time/tzset.c (tz_rule): Change type of the offset member to int.
1054 (parse_offset): Change the type of the sign variable to int.
1056 2019-02-03 Florian Weimer <fweimer@redhat.com>
1059 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1060 * libio/getchar.c (getchar): Likewise.
1061 * libio/getchar_u.c (getchar_unlocked): Likewise.
1062 * libio/getwchar.c (getwchar): Likewise.
1063 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1064 * libio/iogets.c (_IO_gets): Likewise.
1065 * libio/vscanf.c (_IO_vscanf): Likewise.
1066 * libio/vwscanf.c (__vwscanf): Likewise.
1067 * libio/tst-bz24153.c: New file.
1068 * libio/Makefile (tests): Add it.
1070 2019-02-02 Florian Weimer <fweimer@redhat.com>
1073 * manual/resource.texi (Basic Scheduling Functions): Add
1074 portability note. Change process to task throughout the section.
1075 Remove incorrect comment about sched_yield as it affects
1076 tasks/threads, not entire processes.
1077 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1078 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1080 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1082 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1083 * configure: Regenerated.
1084 * manual/install.texi (Tools for Compilation): Update minimum GCC
1086 * INSTALL: Regenerated.
1088 2019-02-01 Florian Weimer <fweimer@redhat.com>
1090 * support/support_test_compare_string.c
1091 (support_test_compare_string): Use "string" in error message.
1092 * support/tst-test_compare_string.c (do_test): Adjust.
1094 2019-02-01 Florian Weimer <fweimer@redhat.com>
1096 * support/support_format_address_family.c
1097 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1099 2019-02-01 Florian Weimer <fweimer@redhat.com>
1101 * manual/socket.texi (Internet Address Formats): Clarify the byte
1102 order of struct sockaddr_in, struct sockaddr_in6. Document
1103 sin6_flowinfo and sin6_scope_id.
1105 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1107 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1108 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1109 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1110 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1111 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1112 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1114 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1116 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1117 [!MEMCHR](MEMCHR): Set to __memchr.
1118 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1119 Add memchr_generic and memchr_nosimd.
1120 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1121 (__libc_ifunc_impl_list): Add memchr ifuncs.
1122 * sysdeps/aarch64/multiarch/memchr.c: New file.
1123 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1124 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1126 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1128 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1130 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1131 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1132 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1133 Add IS_EMAG check for ifunc dispatch.
1134 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1135 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1137 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1139 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1140 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1142 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1145 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1147 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1149 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1151 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1152 syscall-template file.
1154 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1155 Torvald Riegel <triegel@redhat.com>
1156 Rik Prohaska <prohaska7@gmail.com>
1159 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1160 tst-rwlock-trywrlock-stall.
1161 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1162 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1163 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1164 Set __wrphase_fute to 1 only if we started the write phase.
1165 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1166 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1167 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1168 * support/xpthread_rwlock_destroy.c: New file.
1169 * support/xthread.h: Declare xpthread_rwlock_destroy.
1171 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1173 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1176 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1179 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1180 * libio/fileops.c (_IO_new_file_underflow): Likewise
1181 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1182 * libio/putchar.c (putchar): Likewise.
1183 * libio/putchar_u.c (putchar_unlocked): Likewise.
1184 * libio/putwchar.c (putchar): Likewise.
1185 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1186 * libio/tst-bz24051.c: New test.
1187 * libio/Makefile (tests): Add tst-bz24051
1189 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1191 regex: fix read overrun [BZ #24114]
1192 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1193 https://debbugs.gnu.org/34140
1194 * posix/regexec.c (proceed_next_node):
1195 Do not read past end of input buffer.
1197 2019-01-31 Florian Weimer <fweimer@redhat.com>
1200 * nss/nss_files/files-alias.c (get_next_alias): Handle
1201 continuation line without newline at the end.
1202 * nss/tst-nss-files-alias-truncated.c: New file.
1203 * nss/Makefile [$(build-shared)] (tests): Add
1204 tst-nss-files-alias-truncated.
1205 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1206 * support/namespace.h (struct support_chroot_configuration): Add
1208 (struct support_chroot): Add path_aliases member.
1209 * support/support_chroot.c (support_chroot_create): Handle
1211 (support_chroot_free): Free path_aliases.
1213 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1215 * version.h (RELEASE): Set to "development".
1216 (VERSION): Set to "2.29.9000".
1217 * NEWS: Add section for 2.30.
1219 * version.h (RELEASE): Set to "stable".
1220 (VERSION): Set to "2.29".
1221 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1223 * NEWS: Add the list of bugs fixed in 2.29.
1224 * manual/contrib.texi: Update contributors list with some more
1226 * manual/install.texi: Update latest versions of packages
1228 * INSTALL: Regenerated.
1230 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1232 * po/be.po: Update translations.
1233 * po/bg.po: Likewise.
1234 * po/ca.po: Likewise.
1235 * po/cs.po: Likewise.
1236 * po/da.po: Likewise.
1237 * po/de.po: Likewise.
1238 * po/el.po: Likewise.
1239 * po/eo.po: Likewise.
1240 * po/es.po: Likewise.
1241 * po/fi.po: Likewise.
1242 * po/fr.po: Likewise.
1243 * po/gl.po: Likewise.
1244 * po/hr.po: Likewise.
1245 * po/hu.po: Likewise.
1246 * po/ia.po: Likewise.
1247 * po/id.po: Likewise.
1248 * po/it.po: Likewise.
1249 * po/ja.po: Likewise.
1250 * po/ko.po: Likewise.
1251 * po/lt.po: Likewise.
1252 * po/nb.po: Likewise.
1253 * po/nl.po: Likewise.
1254 * po/pl.po: Likewise.
1255 * po/pt_BR.po: Likewise.
1256 * po/ru.po: Likewise.
1257 * po/rw.po: Likewise.
1258 * po/sk.po: Likewise.
1259 * po/sl.po: Likewise.
1260 * po/sv.po: Likewise.
1261 * po/tr.po: Likewise.
1262 * po/uk.po: Likewise.
1263 * po/vi.po: Likewise.
1264 * po/zh_CN.po: Likewise.
1265 * po/zh_TW.po: Likewise.
1267 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1270 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1271 of $f3 register on $y_is_neg path.
1273 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1276 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1277 sigaltstack.ss_flags.
1279 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1282 * manual/time.texi (strftime): Document "%Ey".
1283 * time/strftime_l.c (__strftime_internal): Set the default width
1284 padding with zero of "%Ey" to 2.
1287 * manual/time.texi (strftime): Document "%EC" and "%EY".
1288 * time/Makefile (tests): Add tst-strftime2.
1289 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1290 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1291 override padding for "%Ey".
1292 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1293 "%Ey" in the subformat as if decorated with that flag.
1294 * time/tst-strftime2.c: New file.
1296 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1298 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1302 * elf/Makefile (tests): Add tst-audit13.
1303 (modules-names): Add tst-audit13mod1.
1304 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1306 * elf/rtld.c (dl_main): Handle invalid audit module version.
1307 * elf/tst-audit13.c: New file.
1308 * elf/tst-audit13mod1.c: Likewise.
1310 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1312 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1313 returned by __hurd_at_flags.
1314 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1315 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1316 directly instead of __hurd_file_name_lookup.
1318 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1320 * scripts/build-many-glibcs.py (Context.checkout): Default
1321 binutils version to 2.32 branch.
1323 2019-01-21 Florian Weimer <fweimer@redhat.com>
1327 resolv: Reject trailing characters in host names
1328 * include/arpa/inet.h (__inet_aton_exact): Declare.
1329 (inet_aton): Remove hidden prototype. No longer used internally.
1330 * nscd/gai.c (__inet_aton): Do not define.
1331 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1332 * nss/digits_dots.c (__inet_aton): Likewise.
1333 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1334 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1335 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1336 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1337 (tst-resolv-trailing): Likewise.
1338 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1340 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1341 Make static. Add endp parameter.
1342 (__inet_aton_exact): New function.
1343 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1344 (__inet_addr): Call inet_aton_end.
1345 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1346 not just IPv6. Call __inet_aton_exact.
1347 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1348 (tests): Make const. Add additional test cases with trailing
1350 (do_test): Use array_length.
1351 * resolv/tst-inet_aton_exact.c: New file.
1352 * resolv/tst-resolv-trailing.c: Likewise.
1353 * resolv/tst-resolv-nondecimal.c: Likewise.
1354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1356 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1361 Clear the upper 32 bits of RSI register.
1362 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1363 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1364 and tst-size_t-wcsnlen.
1365 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1366 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1368 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1372 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1375 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1376 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1378 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1382 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1384 * sysdeps/x86_64/strcmp.S: Likewise.
1385 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1386 tst-size_t-strncmp and tst-size_t-wcsncmp.
1387 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1388 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1389 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1391 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1395 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1396 RDX_LP for length. Clear the upper 32 bits of RDX register.
1397 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1398 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1399 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1400 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1402 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1406 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1407 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1408 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1409 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1411 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1416 length. Clear the upper 32 bits of RDX register.
1417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1418 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1420 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1422 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1424 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1426 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1430 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1431 length. Clear the upper 32 bits of RDX register.
1432 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1433 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1434 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1436 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1437 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1439 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1443 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1444 upper 32 bits of RDX register.
1445 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1446 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1448 * sysdeps/x86_64/x32/test-size_t.h: New file.
1449 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1450 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1452 2019-01-18 Florian Weimer <fweimer@redhat.com>
1455 resolv: Do not send queries for non-host-names in nss_dns.
1456 * resolv/nss_dns/dns-host.c (check_name): New function.
1457 (_nss_dns_gethostbyname2_r): Use it.
1458 (_nss_dns_gethostbyname_r): Likewise.
1459 (_nss_dns_gethostbyname4_r): Likewise.
1461 2019-01-21 Florian Weimer <fweimer@redhat.com>
1463 * resolv/inet_addr.c: Reformat to GNU style.
1464 (__inet_addr, __inet_aton): Update comment.
1466 2019-01-18 Florian Weimer <fweimer@redhat.com>
1468 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1469 ("malloc: Use current (C11-style) atomics for fastbin access").
1470 This commit introduces a substantial performance regression on
1472 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1473 (REMOVE_FB): Define.
1474 (_int_malloc): Use it and reindent.
1475 (_int_free): Use CAS loop with
1476 catomic_compare_and_exchange_val_rel.
1477 (malloc_consolidate): Use atomic_exchange_acq.
1480 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1482 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1484 (LDFLAGS-tst-minsigstksz-2): Likewise.
1485 (LDFLAGS-tst-minsigstksz-3): Likewise.
1486 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1487 (LDFLAGS-tst-minsigstksz-4): Likewise.
1489 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1491 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1494 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1496 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1498 2019-01-16 Zack Weinberg <zackw@panix.com>
1500 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1501 (xget_sigstack_location): New test support functions.
1502 * support/xsigstack.c: New file, implementing them.
1503 * support/tst-xsigstack.c: New test for them.
1504 * support/Makefile: Update.
1506 * signal/tst-minsigstksz-1.c
1507 * signal/tst-minsigstksz-2.c
1508 * signal/tst-minsigstksz-3.c
1509 * signal/tst-minsigstksz-3a.c
1510 * signal/tst-minsigstksz-4.c: New tests.
1511 * signal/Makefile: Run them.
1513 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1515 * po/libc.pot: Regenerate.
1517 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1519 * math/libm-test-fma.inc (fma_test_data): Set
1520 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1522 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1524 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1525 (do_test): Changed __vector __int128_t to __vector unsigned int.
1527 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1530 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1531 stpcpy-avx2 and stpncpy-avx2.
1532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1533 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1534 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1536 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1537 ifunc-strcpy.h}: rename header for a more generic name.
1538 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1539 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1540 AVX unaligned load is fast and vzeroupper is preferred.
1541 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1542 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1543 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1544 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1545 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1546 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1548 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1550 * argp/argp-help.c: Fix typo in comment.
1551 * misc/sys/cdefs.h: Likewise.
1552 * posix/regexec.c (sift_states_iter_mb): Likewise.
1553 * socket/sockatmark.c: Likewise.
1554 * socket/sys/socket.h: Likewise.
1555 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1556 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1557 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1558 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1559 * sysdeps/unix/sockatmark.c: Likewise.
1560 * time/strptime_l.c: Likewise.
1562 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1564 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1565 missing space after the cast of "_NL_CURRENT".
1567 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1569 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1570 ifdef to fix read of VSCR.
1571 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1572 tst-ucontext-ppc64-vscr.c to test list.
1573 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1575 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1577 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1580 2019-01-09 Jim Wilson <jimw@sifive.com>
1582 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1584 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1586 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1587 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1588 __memcpy_falkor for ares.
1589 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1591 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1594 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1597 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1598 4_FP_W_TYPEs are used for IEEE quad precision.
1599 * soft-fp/extendhftf2.c: Likewise.
1600 * soft-fp/extendsftf2.c: Likewise.
1601 * soft-fp/extendxftf2.c: Likewise.
1602 * soft-fp/trunctfdf2.c: Likewise.
1603 * soft-fp/trunctfhf2.c: Likewise.
1604 * soft-fp/trunctfsf2.c: Likewise.
1605 * soft-fp/trunctfxf2.c: Likewise.
1606 * sysdeps/alpha/ots_cvttx.c: Likewise.
1607 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1608 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1609 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1610 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1611 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1612 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1613 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1614 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1615 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1616 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1617 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1618 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1619 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1620 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1621 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1622 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1623 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1625 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1628 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1629 code with -fmath-errno.
1630 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1631 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1632 * string/test-strerror-errno.c: New file.
1634 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1637 * localedata/locales/en_US (date_fmt): Add, set to
1638 "%a %d %b %Y %r %Z".
1640 2019-01-07 Florian Weimer <fweimer@redhat.com>
1643 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1644 instead of @var{errno}.
1645 (Parsing of Integers): Likewise.
1646 (Parsing of Floats): Likewise.
1647 * manual/filesys.texi (Working with Directory Trees): Likewise.
1648 (Temporary Files): Likewise.
1649 * manual/job.texi (Terminal Access Functions): Likewise.
1650 * manual/llio.texi (Synchronizing I/O): Likewise.
1651 * manual/math.texi (SVID Random): Likewise.
1652 * manual/message.texi (The catgets Functions): Likewise.
1653 (Translation with gettext): Likewise.
1654 (Locating gettext catalog): Likewise.
1655 (Charset conversion in gettext): Likewise.
1656 * manual/nss.texi (NSS Module Function Internals): Likewise.
1657 * manual/search.texi (Hash Search Function): Likewise.
1658 * manual/setjmp.texi (System V contexts): Likewise.
1659 * manual/time.texi (Sleeping): Likewise.
1660 * manual/users.texi (Lookup User): Likewise.
1661 (Lookup Group): Likewise.
1663 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1665 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1668 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1671 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1672 __builtin_unreachable for default case in switch.
1673 (__ieee754_yn): Likewise.
1674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1675 (__ieee754_ynl): Likewise.
1676 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1677 (__ieee754_ynl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1679 (__ieee754_ynl): Likewise.
1681 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1683 * manual/maint.texi: Use @{ and @}.
1685 2019-01-04 Florian Weimer <fweimer@redhat.com>
1687 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1689 (do_in_chroot_1): Call it.
1691 Improve error reporting in case it is not possible to create a
1692 collision for the PTY name required by the test.
1694 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1696 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1697 lll_wait_tid with timeout.
1698 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1699 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1700 futex_reltimed_wait_cancelable for cancelabla mode.
1701 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1702 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1704 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1705 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1706 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1707 SYSCALL_CANCEL_NCS): New macro.
1708 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1709 (lll_timedwait_tid): Remove macro.
1710 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1712 (lll_timedwait_tid): Likewise.
1713 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1715 (lll_timedwait_tid): Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1718 (lll_timedwait_tid): Likewise.
1719 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1720 Use INTERNAL_SYSCALL_CANCEL.
1721 * sysdeps/unix/sysv/linux/futex-internal.h
1722 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1723 instead of __pthread_{enable,disable}_asynccancel.
1724 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1725 (lll_futex_wait_cancel): New macro.
1727 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1728 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1730 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1731 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1733 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1734 in backtrace analysis.
1735 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1737 (tf_send): Likewise.
1739 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1740 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1741 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1742 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1743 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1744 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1745 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1746 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1747 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1748 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1749 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1750 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1752 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1753 tst-cancel-wrappers.sh.
1754 (generated): Remove tst-cancel-wrappers.out.
1755 (tst-cancel-wrappers.out): Remove rule.
1756 * nptl/tst-cancel-wrappers.sh: Remove file.
1758 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1760 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1761 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1764 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1767 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1768 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1769 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1770 close-on-exec reset for adddup2 file action.
1771 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1773 2019-01-03 Zack Weinberg <zackw@panix.com>
1775 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1776 parameter. Only use deprecated scanf when __USE_GNU is defined
1777 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1778 than 201103L, whichever is relevant for the language being compiled.
1780 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1781 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1782 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1783 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1784 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1788 * libio/iovswscanf.c
1793 * stdio-common/fscanf.c
1794 * stdio-common/scanf.c
1795 * stdio-common/vfscanf.c
1796 * stdio-common/vfwscanf.c
1797 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1798 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1799 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1800 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1801 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1802 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1803 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1804 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1805 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1806 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1807 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1808 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1809 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1810 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1811 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1813 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1814 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1815 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1817 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1818 with a preprocessor macro.
1820 * stdio-common/bug21.c, stdio-common/scanf14.c:
1821 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1822 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1823 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1824 to xscanf, xfscanf, xsscanf.
1826 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1827 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1828 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1829 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1831 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1832 override feature selection macros or provide definitions of u_char etc.
1833 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1834 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1835 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1838 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1841 bits/termios-misc.h.
1842 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1843 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1846 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1847 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1849 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1851 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1852 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1853 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1854 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1856 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1857 (sysdep_headers): Add termios-misc.h.
1859 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1860 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1861 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1865 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1866 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1867 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1868 TCSAFLUSH): Move to termios-tcflow.h.
1869 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1870 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1871 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1876 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1877 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1878 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1880 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1881 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1882 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1883 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1885 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1886 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1888 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1892 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1893 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1895 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1896 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1898 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1906 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1907 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1910 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1911 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1912 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1913 __MAX_BAUD): Move to termios-baud.h.
1914 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1915 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1916 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1920 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1922 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1923 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1925 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1926 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1927 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1929 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1930 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1932 [USE_MISC] (XTABS): Likewise.
1933 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1934 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1938 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1940 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1941 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1943 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1944 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1945 IUTF8): Move to termios-c_iflag.h.
1946 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1947 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1951 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1953 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1954 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1955 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1958 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1959 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1960 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1961 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1962 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1966 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1967 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1968 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1972 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1974 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1976 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1980 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1982 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1983 _HAVE_C_OSPEED): Define.
1984 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1985 _HAVE_C_OSPEED): Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1987 _HAVE_C_OSPEED): Likewise.
1988 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1989 (cfsetospeed): Check for define value instead of existence.
1990 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1991 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1992 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1993 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1994 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1997 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2000 (TIOCSER_TEMT): Likewise.
2001 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2002 (TEOCSER_TEMT): Likewise.
2004 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2007 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2009 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2011 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2013 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2015 * sysdeps/htl/pt-barrierattr-setpshared.c
2016 (pthread_barrierattr_setpshared): Add stub warning.
2017 * sysdeps/htl/pt-condattr-setpshared.c
2018 (pthread_condattr_setpshared): Likewise.
2019 * sysdeps/htl/pt-mutexattr-setpshared.c
2020 (pthread_mutexattr_setpshared): Likewise.
2021 * sysdeps/htl/pt-rwlockattr-setpshared.c
2022 (pthread_rwlockattr_setpshared): Likewise.
2023 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2024 (pthread_mutexattr_setpshared): Likewise.
2026 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2028 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2029 constants to match with Linux 4.20.
2031 * sysdeps/mips/mips32/libm-test-ulps: Update.
2032 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2034 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2037 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2038 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2039 than __typeof (...) for the a_ptr variable.
2041 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2043 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2044 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2045 * libio/Makefile (tests): Add tst-sprintf-ub and
2047 (CFLAGS-tst-sprintf-ub.c): New variable.
2048 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2049 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2050 destination buffer and check for overflows in fortified mode.
2051 * libio/libioP.h (PRINTF_CHK): New macro.
2052 * libio/tst-sprintf-chk-ub.c: New file.
2053 * libio/tst-sprintf-ub.c: Likewise.
2055 2019-01-02 Florian Weimer <fweimer@redhat.com>
2058 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2061 2019-01-02 Florian Weimer <fweimer@redhat.com>
2063 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2065 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2070 * sysdeps/unix/sysv/linux/netpacket/packet.h
2071 (PACKET_IGNORE_OUTGOING): New macro.
2073 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2076 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2078 (riscv_flush_icache): New syscall.
2080 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2081 trailing whitespace removed.
2082 * scripts/config.guess: Update to version 2019-01-01.
2083 * scripts/config.sub: Update to version 2019-01-01.
2084 * scripts/move-if-change: Update from gnulib.
2086 * NEWS: Update copyright dates.
2087 * catgets/gencat.c (print_version): Likewise.
2088 * csu/version.c (banner): Likewise.
2089 * debug/catchsegv.sh: Likewise.
2090 * debug/pcprofiledump.c (print_version): Likewise.
2091 * debug/xtrace.sh (do_version): Likewise.
2092 * elf/ldconfig.c (print_version): Likewise.
2093 * elf/ldd.bash.in: Likewise.
2094 * elf/pldd.c (print_version): Likewise.
2095 * elf/sotruss.sh: Likewise.
2096 * elf/sprof.c (print_version): Likewise.
2097 * iconv/iconv_prog.c (print_version): Likewise.
2098 * iconv/iconvconfig.c (print_version): Likewise.
2099 * locale/programs/locale.c (print_version): Likewise.
2100 * locale/programs/localedef.c (print_version): Likewise.
2101 * login/programs/pt_chown.c (print_version): Likewise.
2102 * malloc/memusage.sh (do_version): Likewise.
2103 * malloc/memusagestat.c (print_version): Likewise.
2104 * malloc/mtrace.pl: Likewise.
2105 * manual/libc.texinfo: Likewise.
2106 * nptl/version.c (banner): Likewise.
2107 * nscd/nscd.c (print_version): Likewise.
2108 * nss/getent.c (print_version): Likewise.
2109 * nss/makedb.c (print_version): Likewise.
2110 * posix/getconf.c (main): Likewise.
2111 * scripts/test-installation.pl: Likewise.
2112 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2114 * All files with FSF copyright notices: Update copyright dates
2115 using scripts/update-copyrights.
2116 * locale/programs/charmap-kw.h: Regenerated.
2117 * locale/programs/locfile-kw.h: Likewise.
2119 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2121 * timezone/zdump.c: Update from tzcode 2018i.
2122 * timezone/zic.c: Likewise.
2124 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2126 regex: improve Gnulib port to AIX
2127 From the glibc point of view, this removes duplicate macro
2128 definitions and is obviously safe.
2129 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2130 * posix/regex_internal.h:
2131 (__attribute__, __attribute_warn_unused_result__):
2132 Remove; already defined elsewhere.
2134 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2137 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2138 copying operation. (ncopies had the wrong type, resulting in an
2139 integer wraparound and too few elements being copied.)
2141 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2145 <asm/syscalls.h> exists with __has_include__ before including it.
2147 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2149 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2152 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2154 * hurd/lookup-retry: Include <unistd.h>.
2155 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2156 Release it on return. Handle "pid" magical lookup retry.
2158 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2161 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2162 (t_fmt_ampm): Likewise.
2163 * localedata/locales/aa_ER (t_fmt): Likewise.
2164 (t_fmt_ampm): Likewise.
2165 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2166 (t_fmt_ampm): Likewise.
2167 * localedata/locales/aa_ET (t_fmt): Likewise.
2168 (t_fmt_ampm): Likewise.
2169 * localedata/locales/am_ET (t_fmt): Likewise.
2170 (t_fmt_ampm): Likewise.
2171 * localedata/locales/byn_ER (t_fmt): Likewise.
2172 (t_fmt_ampm): Likewise.
2173 * localedata/locales/om_ET (t_fmt): Likewise.
2174 (t_fmt_ampm): Likewise.
2175 * localedata/locales/sid_ET (t_fmt): Likewise.
2176 (t_fmt_ampm): Likewise.
2177 * localedata/locales/so_DJ (t_fmt): Likewise.
2178 (t_fmt_ampm): Likewise.
2179 * localedata/locales/so_ET (t_fmt): Likewise.
2180 (t_fmt_ampm): Likewise.
2181 * localedata/locales/so_SO (t_fmt): Likewise.
2182 (t_fmt_ampm): Likewise.
2183 * localedata/locales/ti_ER (t_fmt): Likewise.
2184 (t_fmt_ampm): Likewise.
2185 * localedata/locales/ti_ET (t_fmt): Likewise.
2186 (t_fmt_ampm): Likewise.
2187 * localedata/locales/tig_ER (t_fmt): Likewise.
2188 (t_fmt_ampm): Likewise.
2189 * localedata/locales/wal_ET (t_fmt): Likewise.
2190 (t_fmt_ampm): Likewise.
2192 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2193 * localedata/locales/ar_IN (t_fmt): Likewise.
2194 * localedata/locales/bhb_IN (t_fmt): Likewise.
2195 * localedata/locales/bho_IN (t_fmt): Likewise.
2196 * localedata/locales/bi_VU (t_fmt): Likewise.
2197 * localedata/locales/bn_BD (t_fmt): Likewise.
2198 * localedata/locales/bn_IN (t_fmt): Likewise.
2199 * localedata/locales/brx_IN (t_fmt): Likewise.
2200 * localedata/locales/doi_IN (t_fmt): Likewise.
2201 * localedata/locales/en_HK (t_fmt): Likewise.
2202 (t_fmt_ampm): Likewise.
2203 * localedata/locales/en_IN (t_fmt): Likewise.
2204 * localedata/locales/en_PH (t_fmt): Likewise.
2205 * localedata/locales/gu_IN (t_fmt): Likewise.
2206 * localedata/locales/hi_IN (t_fmt): Likewise.
2207 * localedata/locales/hif_FJ (t_fmt): Likewise.
2208 * localedata/locales/hne_IN (t_fmt): Likewise.
2209 * localedata/locales/kn_IN (t_fmt): Likewise.
2210 * localedata/locales/kok_IN (t_fmt): Likewise.
2211 * localedata/locales/ks_IN (t_fmt): Likewise.
2212 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2213 * localedata/locales/mag_IN (t_fmt): Likewise.
2214 * localedata/locales/mai_IN (t_fmt): Likewise.
2215 * localedata/locales/mjw_IN (t_fmt): Likewise.
2216 * localedata/locales/ml_IN (t_fmt): Likewise.
2217 * localedata/locales/mni_IN (t_fmt): Likewise.
2218 * localedata/locales/mr_IN (t_fmt): Likewise.
2219 * localedata/locales/ms_MY (t_fmt): Likewise.
2220 * localedata/locales/pa_IN (t_fmt): Likewise.
2221 * localedata/locales/raj_IN (t_fmt): Likewise.
2222 * localedata/locales/sa_IN (t_fmt): Likewise.
2223 * localedata/locales/sat_IN (t_fmt): Likewise.
2224 * localedata/locales/sd_IN (t_fmt): Likewise.
2225 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2226 * localedata/locales/tcy_IN (t_fmt): Likewise.
2227 * localedata/locales/the_NP (t_fmt): Likewise.
2228 * localedata/locales/to_TO (t_fmt): Likewise.
2229 * localedata/locales/ur_IN (t_fmt): Likewise.
2231 * localedata/locales/hif_FJ (d_t_fmt): Set to
2232 "%A %d %b %Y %I:%M:%S %p".
2233 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2235 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2236 * localedata/locales/ar_BH (t_fmt): Likewise.
2237 * localedata/locales/ar_DZ (t_fmt): Likewise.
2238 * localedata/locales/ar_EG (t_fmt): Likewise.
2239 * localedata/locales/ar_IQ (t_fmt): Likewise.
2240 * localedata/locales/ar_JO (t_fmt): Likewise.
2241 * localedata/locales/ar_KW (t_fmt): Likewise.
2242 * localedata/locales/ar_LB (t_fmt): Likewise.
2243 * localedata/locales/ar_LY (t_fmt): Likewise.
2244 * localedata/locales/ar_OM (t_fmt): Likewise.
2245 * localedata/locales/ar_QA (t_fmt): Likewise.
2246 * localedata/locales/ar_SD (t_fmt): Likewise.
2247 * localedata/locales/ar_SS (t_fmt): Likewise.
2248 * localedata/locales/ar_SY (t_fmt): Likewise.
2249 * localedata/locales/ar_TN (t_fmt): Likewise.
2250 * localedata/locales/ar_YE (t_fmt): Likewise.
2252 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2253 (t_fmt_ampm): Likewise.
2254 * localedata/locales/gez_ET (t_fmt): Likewise.
2255 (t_fmt_ampm): Likewise.
2257 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2258 (t_fmt_ampm): Likewise.
2259 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2261 * localedata/locales/zh_HK (t_fmt):
2262 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2264 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2265 because this locale does not use the 12-hour clock.
2266 (t_fmt): Set to "%Z %H:%M:%S".
2267 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2269 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2270 because this locale does not use the 12-hour clock.
2271 (t_fmt): Set to "%H:%M:%S %Z".
2272 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2274 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2275 because this locale does not use the 12-hour clock.
2276 (t_fmt): Set to "%T".
2277 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2278 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2280 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2281 because this locale does not use the 12-hour clock.
2282 (t_fmt): Set to "%H:%M:%S %Z".
2283 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2285 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2286 because this locale does not use the 12-hour clock.
2287 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2288 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2290 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2294 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2295 (t_fmt_ampm): Likewise.
2296 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2297 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2298 (d_fmt): Set to "%-d.%-m.%y".
2300 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2302 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2303 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2304 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2306 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2307 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2308 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2310 * support/blob_repeat.c (check_mul_overflow_size_t,
2311 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2313 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2315 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2317 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2319 regex: simplify Gnulib port
2320 This simplifies the code, by removing stuff intended for porting
2321 to Gnulib but no longer needed there.
2322 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2323 uses of libc_hidden_def, weak_alias.
2324 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2325 _Restrict_ except for public-facing headers.
2326 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2327 Remove; already defined elsewhere.
2328 * posix/regex.c, posix/regex_internal.h:
2329 Use __GNUC_PREREQ instead of rolling our own.
2330 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2332 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2334 * benchtests/bench-strlen.c (generic_strlen): New function.
2335 (memchr_strlen): New function.
2337 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2339 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2340 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2341 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2343 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2345 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2347 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2349 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2350 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2351 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2352 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2353 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2354 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2355 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2357 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2360 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2361 PLT reference in libc.so.
2362 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2363 _Q_lltoq and _Q_qtod PLT references in libc.so.
2365 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2367 * benchtests/bench-memchr.c: Cleanup defines.
2368 * benchtests/bench-memcmp.c: Likewise.
2369 * benchtests/bench-memset.c: Likewise.
2370 * benchtests/bench-memset-large.c: Likewise.
2371 * benchtests/bench-memset-walk.c: Likewise.
2372 * benchtests/bench-stpcpy.c: Likewise.
2373 * benchtests/bench-stpncpy.c: Likewise.
2374 * benchtests/bench-strcat.c: Likewise.
2375 * benchtests/bench-strchr.c: Likewise.
2376 * benchtests/bench-strcmp.c: Likewise.
2377 * benchtests/bench-strcpy.c: Likewise.
2378 * benchtests/bench-strcspn.c: Likewise.
2379 * benchtests/bench-string.h: Likewise.
2380 * benchtests/bench-strlen.c: Likewise.
2381 * benchtests/bench-strncat.c: Likewise.
2382 * benchtests/bench-strncmp.c: Likewise.
2383 * benchtests/bench-strncpy.c: Likewise.
2384 * benchtests/bench-strnlen.c: Likewise.
2385 * benchtests/bench-strpbrk.c: Likewise.
2386 * benchtests/bench-strrchr.c: Likewise.
2387 * benchtests/bench-strspn.c: Likewise.
2389 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2391 * stdlib/longlong.h: Update from GCC.
2394 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2395 * configure: Regenerated.
2396 * manual/install.texi (Tools for Compilation): Update minimum GCC
2398 * INSTALL: Regenerated.
2400 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2402 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2404 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2406 * malloc/malloc.c (mremap_chunk): Additional checks.
2408 2018-12-21 Mao Han <han_mao@c-sky.com>
2410 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2411 * scripts/build-many-glibcs.py: Add C-SKY targets.
2412 * sysdeps/csky/Implies: New file.
2413 * sysdeps/csky/Makefile: Likewise.
2414 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2415 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2416 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2417 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2418 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2419 * sysdeps/csky/abiv2/memmove.S: Likewise.
2420 * sysdeps/csky/abiv2/memset.S: Likewise.
2421 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2422 * sysdeps/csky/abiv2/start.S: Likewise.
2423 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2424 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2425 * sysdeps/csky/abiv2/strlen.S: Likewise.
2426 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2427 * sysdeps/csky/abort-instr.h: Likewise.
2428 * sysdeps/csky/atomic-machine.h: Likewise.
2429 * sysdeps/csky/bits/endian.h: Likewise.
2430 * sysdeps/csky/bits/fenv.h: Likewise.
2431 * sysdeps/csky/bits/link.h: Likewise.
2432 * sysdeps/csky/bits/setjmp.h: Likewise.
2433 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2434 * sysdeps/csky/bsd-setjmp.S: Likewise.
2435 * sysdeps/csky/configure: Likewise.
2436 * sysdeps/csky/configure.ac: Likewise.
2437 * sysdeps/csky/dl-machine.h: Likewise.
2438 * sysdeps/csky/dl-procinfo.c: Likewise.
2439 * sysdeps/csky/dl-procinfo.h: Likewise.
2440 * sysdeps/csky/dl-sysdep.h: Likewise.
2441 * sysdeps/csky/dl-tls.h: Likewise.
2442 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2443 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2444 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2445 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2446 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2447 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2448 * sysdeps/csky/fpu/fegetround.c: Likewise.
2449 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2450 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2451 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2452 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2453 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2454 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2455 * sysdeps/csky/fpu/fesetround.c: Likewise.
2456 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2457 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2458 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2459 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2460 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2461 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2462 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2463 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2464 * sysdeps/csky/fpu_control.h: Likewise.
2465 * sysdeps/csky/gccframe.h: Likewise.
2466 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2467 * sysdeps/csky/ldsodefs.h: Likewise.
2468 * sysdeps/csky/libc-tls.c: Likewise.
2469 * sysdeps/csky/linkmap.h: Likewise.
2470 * sysdeps/csky/machine-gmon.h: Likewise.
2471 * sysdeps/csky/memusage.h: Likewise.
2472 * sysdeps/csky/nofpu/Implies: Likewise.
2473 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2474 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2475 * sysdeps/csky/nptl/Makefile: Likewise.
2476 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2477 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2478 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2479 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2480 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2481 * sysdeps/csky/nptl/tls.h: Likewise.
2482 * sysdeps/csky/preconfigure: Likewise.
2483 * sysdeps/csky/sfp-machine.h: Likewise.
2484 * sysdeps/csky/sotruss-lib.c: Likewise.
2485 * sysdeps/csky/stackinfo.h: Likewise.
2486 * sysdeps/csky/sysdep.h: Likewise.
2487 * sysdeps/csky/tininess.h: Likewise.
2488 * sysdeps/csky/tst-audit.h: Likewise.
2489 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2490 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2491 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2492 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2493 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2494 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2495 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2496 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2497 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2498 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2499 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2500 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2501 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2502 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2503 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2504 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2505 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2506 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2507 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2508 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2509 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2510 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2515 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2517 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2518 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2520 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2522 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2523 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2524 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2525 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2526 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2527 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2528 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2529 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2530 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2531 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2532 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2534 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2536 * include/time.h (__difftime64): Add.
2537 * time/difftime.c (subtract): convert to 64-bit time.
2538 * time/difftime.c (__difftime64): Add.
2539 * time/difftime.c (__difftime): Wrap around __difftime64.
2541 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2543 * manual/examples/add.c: Remove redundant "if not".
2544 * manual/examples/argp-ex1.c: Likewise.
2545 * manual/examples/argp-ex2.c: Likewise.
2546 * manual/examples/argp-ex3.c: Likewise.
2547 * manual/examples/argp-ex4.c: Likewise.
2548 * manual/examples/atexit.c: Likewise.
2549 * manual/examples/db.c: Likewise.
2550 * manual/examples/dir.c: Likewise.
2551 * manual/examples/dir2.c: Likewise.
2552 * manual/examples/execinfo.c: Likewise.
2553 * manual/examples/filecli.c: Likewise.
2554 * manual/examples/filesrv.c: Likewise.
2555 * manual/examples/fmtmsgexpl.c: Likewise.
2556 * manual/examples/genpass.c: Likewise.
2557 * manual/examples/inetcli.c: Likewise.
2558 * manual/examples/inetsrv.c: Likewise.
2559 * manual/examples/isockad.c: Likewise.
2560 * manual/examples/longopt.c: Likewise.
2561 * manual/examples/memopen.c: Likewise.
2562 * manual/examples/memstrm.c: Likewise.
2563 * manual/examples/mkdirent.c: Likewise.
2564 * manual/examples/mkfsock.c: Likewise.
2565 * manual/examples/mkisock.c: Likewise.
2566 * manual/examples/mygetpass.c: Likewise.
2567 * manual/examples/pipe.c: Likewise.
2568 * manual/examples/popen.c: Likewise.
2569 * manual/examples/rprintf.c: Likewise.
2570 * manual/examples/search.c: Likewise.
2571 * manual/examples/select.c: Likewise.
2572 * manual/examples/setjmp.c: Likewise.
2573 * manual/examples/sigh1.c: Likewise.
2574 * manual/examples/sigusr.c: Likewise.
2575 * manual/examples/stpcpy.c: Likewise.
2576 * manual/examples/strdupa.c: Likewise.
2577 * manual/examples/strftim.c: Likewise.
2578 * manual/examples/subopt.c: Likewise.
2579 * manual/examples/swapcontext.c: Likewise.
2580 * manual/examples/termios.c: Likewise.
2581 * manual/examples/testopt.c: Likewise.
2582 * manual/examples/testpass.c: Likewise.
2583 * manual/examples/timeval_subtract.c: Likewise.
2585 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2587 * sysdeps/x86/fpu/math_private.h: New file.
2588 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2590 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2595 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2597 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2598 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2599 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2600 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2602 (_dl_show_auxv): Give a special treatment to
2603 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2604 and AT_L3_CACHEGEOMETRY.
2605 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2606 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2607 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2608 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2610 2018-12-19 Andreas Schwab <schwab@suse.de>
2612 * nscd/connections.c (check_use): Don't abort on invalid len.
2614 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2616 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2617 values in the 64bit value cases.
2619 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2625 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2631 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2634 (__gmtime64_r): Add.
2636 (__gmtime64_r): Add.
2637 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2643 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2646 (__localtime64_r): Add.
2648 (__localtime64_r): Add.
2649 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2651 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2653 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2654 kernel_sigction definition.
2656 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2658 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2660 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2661 __syscall_rt_sigaction.
2662 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2663 (kernel_sigaction): Use Linux generic defintion.
2665 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2666 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2667 (__syscall_rt_sigaction): Remove implementation.
2668 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2670 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2671 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2672 INTERNAL_SYSCALL): Remove definitions.
2673 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2674 action and signal set size.
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2678 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2679 James Clarke <jrtc27@jrtc27.com>
2682 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2683 Define if SA_RESTORER is defined.
2684 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2685 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2687 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2688 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2690 (HAS_SA_RESTORER): Define.
2691 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2692 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2693 (HAS_SA_RESTORER): Define.
2694 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2695 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2696 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2697 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2698 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2700 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2702 * sysdeps/unix/sysv/linux/kernel-features.h
2703 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2704 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2705 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2706 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2707 (__ASSUME_ST_INO_64_BIT): Likewise.
2708 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2709 <kernel-features.h>.
2710 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2711 Remove conditional code.
2712 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2713 <kernel-features.h>.
2714 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2715 Remove conditional code.
2716 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2717 <kernel-features.h>.
2718 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2719 Remove conditional code.
2720 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2721 <kernel-features.h>.
2722 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2723 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2727 * sysdeps/s390/multiarch/ifunc-resolve.h
2728 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2729 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2730 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2731 Delete macro definition.
2732 (s390_libc_ifunc_init): Rename to
2733 s390_libc_ifunc_expr_stfle_init.
2734 * sysdeps/s390/bzero: Use
2735 s390_libc_ifunc_expr_stfle_init instead of
2736 s390_libc_ifunc_init.
2737 * sysdeps/s390/memcmp.c: Likewise.
2738 * sysdeps/s390/memcpy.c: Likewise.
2739 * sysdeps/s390/mempcpy.c: Likewise.
2740 * sysdeps/s390/memset.c: Likewise.
2742 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2744 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2745 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2747 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2749 * sysdeps/s390/multiarch/Makefile
2750 (sysdep_routines): Remove wmemcmp variants.
2751 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2752 * sysdeps/s390/multiarch/ifunc-impl-list.c
2753 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2754 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2755 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2756 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2757 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2758 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2759 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2760 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2762 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2764 * sysdeps/s390/multiarch/Makefile
2765 (sysdep_routines): Remove wmemset variants.
2766 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2767 * sysdeps/s390/multiarch/ifunc-impl-list.c
2768 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2769 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2770 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2771 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2772 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2773 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2774 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2775 * sysdeps/s390/ifunc-wmemset.h: New file.
2777 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2779 * sysdeps/s390/multiarch/Makefile
2780 (sysdep_routines): Remove wmemchr variants.
2781 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2782 * sysdeps/s390/multiarch/ifunc-impl-list.c
2783 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2784 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2785 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2786 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2787 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2788 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2789 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2790 * sysdeps/s390/ifunc-wmemchr.h: New file.
2792 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2794 * sysdeps/s390/multiarch/Makefile
2795 (sysdep_routines): Remove wcscspn variants.
2796 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2797 * sysdeps/s390/multiarch/ifunc-impl-list.c
2798 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2799 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2800 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2801 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2802 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2803 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2804 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2805 * sysdeps/s390/ifunc-wcscspn.h: New file.
2807 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2809 * sysdeps/s390/multiarch/Makefile
2810 (sysdep_routines): Remove wcspbrk variants.
2811 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2812 * sysdeps/s390/multiarch/ifunc-impl-list.c
2813 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2814 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2815 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2816 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2817 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2818 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2819 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2820 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2824 * sysdeps/s390/multiarch/Makefile
2825 (sysdep_routines): Remove wcsspn variants.
2826 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2827 * sysdeps/s390/multiarch/ifunc-impl-list.c
2828 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2829 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2830 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2831 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2832 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2833 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2834 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2835 * sysdeps/s390/ifunc-wcsspn.h: New file.
2837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2839 * sysdeps/s390/multiarch/Makefile
2840 (sysdep_routines): Remove wcsrchr variants.
2841 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2842 * sysdeps/s390/multiarch/ifunc-impl-list.c
2843 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2844 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2845 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2846 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2847 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2848 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2849 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2850 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2854 * sysdeps/s390/multiarch/Makefile
2855 (sysdep_routines): Remove wcschrnul variants.
2856 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2857 * sysdeps/s390/multiarch/ifunc-impl-list.c
2858 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2859 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2860 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2861 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2862 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2863 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2864 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2865 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2869 * sysdeps/s390/multiarch/Makefile
2870 (sysdep_routines): Remove wcschr variants.
2871 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2872 * sysdeps/s390/multiarch/ifunc-impl-list.c
2873 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2874 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2875 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2876 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2877 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2878 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2879 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2880 * sysdeps/s390/ifunc-wcschr.h: New file.
2882 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2884 * sysdeps/s390/multiarch/Makefile
2885 (sysdep_routines): Remove wcsncmp variants.
2886 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2887 * sysdeps/s390/multiarch/ifunc-impl-list.c
2888 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2889 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2890 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2891 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2892 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2893 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2894 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2895 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2899 * sysdeps/s390/multiarch/Makefile
2900 (sysdep_routines): Remove wcscmp variants.
2901 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2902 * sysdeps/s390/multiarch/ifunc-impl-list.c
2903 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2904 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2905 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2906 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2907 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2908 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2909 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2910 * sysdeps/s390/ifunc-wcscmp.h: New file.
2912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2914 * sysdeps/s390/multiarch/Makefile
2915 (sysdep_routines): Remove wcsncat variants.
2916 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2917 * sysdeps/s390/multiarch/ifunc-impl-list.c
2918 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2919 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2920 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2921 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2922 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2923 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2924 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2925 * sysdeps/s390/ifunc-wcsncat.h: New file.
2927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2929 * sysdeps/s390/multiarch/Makefile
2930 (sysdep_routines): Remove wcscat variants.
2931 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2932 * sysdeps/s390/multiarch/ifunc-impl-list.c
2933 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2934 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2935 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2936 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2937 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2938 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2939 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2940 * sysdeps/s390/ifunc-wcscat.h: New file.
2942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2944 * sysdeps/s390/multiarch/Makefile
2945 (sysdep_routines): Remove wcpncpy variants.
2946 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2947 * sysdeps/s390/multiarch/ifunc-impl-list.c
2948 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2949 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2950 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2951 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2952 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2953 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2954 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2955 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2959 * sysdeps/s390/multiarch/Makefile
2960 (sysdep_routines): Remove wcsncpy variants.
2961 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2962 * sysdeps/s390/multiarch/ifunc-impl-list.c
2963 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2964 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2965 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2966 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2967 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2968 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2969 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2970 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2972 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2974 * sysdeps/s390/multiarch/Makefile
2975 (sysdep_routines): Remove wcpcpy variants.
2976 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2977 * sysdeps/s390/multiarch/ifunc-impl-list.c
2978 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2979 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2980 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2981 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2982 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2983 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2984 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2985 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2989 * sysdeps/s390/multiarch/Makefile
2990 (sysdep_routines): Remove wcscpy variants.
2991 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2992 * sysdeps/s390/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2994 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2995 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2996 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2997 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2998 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2999 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3000 * sysdeps/s390/ifunc-wcscpy.h: New file.
3002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3004 * sysdeps/s390/multiarch/Makefile
3005 (sysdep_routines): Remove wcsnlen variants.
3006 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3007 * sysdeps/s390/multiarch/ifunc-impl-list.c
3008 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3009 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3010 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3011 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3012 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3013 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3014 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3015 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3019 * sysdeps/s390/multiarch/Makefile
3020 (sysdep_routines): Remove wcslen variants.
3021 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3022 * sysdeps/s390/multiarch/ifunc-impl-list.c
3023 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3024 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3025 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3026 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3027 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3028 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3029 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3030 * sysdeps/s390/ifunc-wcslen.h: New file.
3032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3034 * sysdeps/s390/multiarch/Makefile
3035 (sysdep_routines): Remove memrchr variants.
3036 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3037 * sysdeps/s390/multiarch/ifunc-impl-list.c
3038 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3039 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3040 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3041 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3042 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3043 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3044 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3045 * sysdeps/s390/ifunc-memrchr.h: New file.
3047 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3049 * sysdeps/s390/multiarch/Makefile
3050 (sysdep_routines): Remove memccpy variants.
3051 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3052 * sysdeps/s390/multiarch/ifunc-impl-list.c
3053 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3054 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3055 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3056 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3057 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3058 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3059 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3060 * sysdeps/s390/ifunc-memccpy.h: New file.
3062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3064 * sysdeps/s390/multiarch/Makefile
3065 (sysdep_routines): Remove rawmemchr variants.
3066 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3067 * sysdeps/s390/multiarch/ifunc-impl-list.c
3068 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3069 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3070 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3071 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3072 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3073 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3074 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3075 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3079 * sysdeps/s390/multiarch/Makefile
3080 (sysdep_routines): Remove memchr variants.
3081 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3082 * sysdeps/s390/multiarch/ifunc-impl-list.c
3083 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3084 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3085 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3086 * sysdeps/s390/multiarch/memchr.c: Move to ...
3087 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3088 * sysdeps/s390/ifunc-memchr.h: New file.
3089 * sysdeps/s390/s390-64/memchr.S: Move to ...
3090 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3091 for 31/64bit and ifunc handling.
3092 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3093 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3094 * sysdeps/s390/s390-32/memchr.S: Likewise.
3096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3098 * sysdeps/s390/multiarch/Makefile
3099 (sysdep_routines): Remove strcspn variants.
3100 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3101 * sysdeps/s390/multiarch/ifunc-impl-list.c
3102 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3103 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3104 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3105 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3106 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3107 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3108 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3109 * sysdeps/s390/ifunc-strcspn.h: New file.
3111 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3113 * sysdeps/s390/multiarch/Makefile
3114 (sysdep_routines): Remove strpbrk variants.
3115 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3116 * sysdeps/s390/multiarch/ifunc-impl-list.c
3117 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3118 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3119 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3120 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3121 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3122 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3123 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3124 * sysdeps/s390/ifunc-strpbrk.h: New file.
3126 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3128 * sysdeps/s390/multiarch/Makefile
3129 (sysdep_routines): Remove strspn variants.
3130 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3131 * sysdeps/s390/multiarch/ifunc-impl-list.c
3132 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3133 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3134 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3135 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3136 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3137 * sysdeps/s390/multiarch/strspn.c: Move to ...
3138 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3139 * sysdeps/s390/ifunc-strspn.h: New file.
3141 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3143 * sysdeps/s390/multiarch/Makefile
3144 (sysdep_routines): Remove strrchr variants.
3145 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3146 * sysdeps/s390/multiarch/ifunc-impl-list.c
3147 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3148 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3149 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3150 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3151 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3152 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3153 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3154 * sysdeps/s390/ifunc-strrchr.h: New file.
3156 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3158 * sysdeps/s390/multiarch/Makefile
3159 (sysdep_routines): Remove strchrnul variants.
3160 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3161 * sysdeps/s390/multiarch/ifunc-impl-list.c
3162 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3163 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3164 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3165 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3166 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3167 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3168 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3169 * sysdeps/s390/ifunc-strchrnul.h: New file.
3171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3173 * sysdeps/s390/multiarch/Makefile
3174 (sysdep_routines): Remove strchr variants.
3175 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3176 * sysdeps/s390/multiarch/ifunc-impl-list.c
3177 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3178 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3179 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3180 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3181 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3182 * sysdeps/s390/multiarch/strchr.c: Move to ...
3183 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3184 * sysdeps/s390/ifunc-strchr.h: New file.
3186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3188 * sysdeps/s390/multiarch/Makefile
3189 (sysdep_routines): Remove strncmp variants.
3190 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3191 * sysdeps/s390/multiarch/ifunc-impl-list.c
3192 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3193 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3194 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3195 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3196 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3197 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3198 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3199 * sysdeps/s390/ifunc-strncmp.h: New file.
3201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3203 * sysdeps/s390/multiarch/Makefile
3204 (sysdep_routines): Remove strcmp variants.
3205 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3206 * sysdeps/s390/multiarch/ifunc-impl-list.c
3207 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3208 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3209 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3210 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3211 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3212 * sysdeps/s390/ifunc-strcmp.h: New file.
3213 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3214 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3215 for 31/64bit and ifunc handling.
3216 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3217 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3218 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3222 * sysdeps/s390/multiarch/Makefile
3223 (sysdep_routines): Remove strncat variants.
3224 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3225 * sysdeps/s390/multiarch/ifunc-impl-list.c
3226 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3227 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3228 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3229 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3230 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3231 * sysdeps/s390/multiarch/strncat.c: Move to ...
3232 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3233 * sysdeps/s390/ifunc-strncat.h: New file.
3235 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3237 * sysdeps/s390/multiarch/Makefile
3238 (sysdep_routines): Remove strcat variants.
3239 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3240 * sysdeps/s390/multiarch/ifunc-impl-list.c
3241 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3242 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3243 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3244 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3245 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3246 * sysdeps/s390/multiarch/strcat.c: Move to ...
3247 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3248 * sysdeps/s390/ifunc-strcat.h: New file.
3250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3252 * sysdeps/s390/multiarch/Makefile
3253 (sysdep_routines): Remove stpncpy variants.
3254 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3255 * sysdeps/s390/multiarch/ifunc-impl-list.c
3256 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3257 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3258 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3259 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3260 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3261 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3262 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3263 * sysdeps/s390/ifunc-stpncpy.h: New file.
3265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3267 * sysdeps/s390/multiarch/Makefile
3268 (sysdep_routines): Remove strncpy variants.
3269 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3270 * sysdeps/s390/multiarch/ifunc-impl-list.c
3271 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3272 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3273 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3274 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3275 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3276 * sysdeps/s390/ifunc-strncpy.h: New file.
3277 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3278 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3279 and adjust ifunc handling.
3280 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3281 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3282 and adjust ifunc handling.
3283 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3284 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3288 * sysdeps/s390/multiarch/Makefile
3289 (sysdep_routines): Remove stpcpy variants.
3290 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3293 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3294 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3295 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3296 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3297 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3298 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/ifunc-stpcpy.h: New file.
3301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3303 * sysdeps/s390/multiarch/Makefile
3304 (sysdep_routines): Remove strcpy variants.
3305 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3306 * sysdeps/s390/multiarch/ifunc-impl-list.c
3307 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3308 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3309 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3310 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3311 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3312 * sysdeps/s390/ifunc-strcpy.h: New file.
3313 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3314 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3315 for 31/64bit and ifunc handling.
3316 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3317 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3318 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3322 * sysdeps/s390/multiarch/Makefile
3323 (sysdep_routines): Remove strnlen variants.
3324 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3325 * sysdeps/s390/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3327 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3328 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3329 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3330 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3332 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/ifunc-strnlen.h: New file.
3335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3337 * sysdeps/s390/multiarch/Makefile
3338 (sysdep_routines): Remove strlen variants.
3339 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3340 * sysdeps/s390/multiarch/ifunc-impl-list.c
3341 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3342 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3343 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3345 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/strlen.c: Move to ...
3347 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/ifunc-strlen.h: New file.
3350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3352 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3353 * sysdeps/s390/multiarch/ifunc-impl-list.c
3354 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3355 * sysdeps/s390/ifunc-memmem.h: New file.
3356 * sysdeps/s390/memmem.c: Likewise.
3357 * sysdeps/s390/memmem-c.c: Likewise.
3358 * sysdeps/s390/memmem-vx.c: Likewise.
3360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3362 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3363 * sysdeps/s390/multiarch/ifunc-impl-list.c
3364 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3365 * sysdeps/s390/ifunc-strstr.h: New file.
3366 * sysdeps/s390/strstr.c: Likewise.
3367 * sysdeps/s390/strstr-c.c: Likewise.
3368 * sysdeps/s390/strstr-vx.c: Likewise.
3370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3372 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3373 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3374 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3375 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3377 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3378 * sysdeps/s390/memmove-c.c: New file.
3379 * sysdeps/s390/memmove.c: Likewise.
3380 * sysdeps/s390/multiarch/ifunc-impl-list.c
3381 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3385 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3386 * sysdeps/s390/configure.ac: Add check for z13 support.
3387 * sysdeps/s390/configure: Regenerated.
3389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3391 * sysdeps/s390/memcopy.h: New file.
3393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3395 * sysdeps/s390/s390-32/bcopy.S: Remove.
3396 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3400 * sysdeps/s390/ifunc-memcpy.h: New File.
3401 * sysdeps/s390/memcpy.S: Move to ...
3402 * sysdeps/s390/memcpy-z900.S ... here.
3403 Move implementations from memcpy-s390x.s to here.
3404 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3405 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3406 Remove memcpy/mempcpy variants.
3407 * sysdeps/s390/Makefile (sysdep_routines):
3408 Add memcpy/mempcpy variants.
3409 * sysdeps/s390/multiarch/ifunc-impl-list.c
3410 (__libc_ifunc_impl_list): Adjust ifunc variants for
3412 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3414 * sysdeps/s390/memcpy.c: ... here.
3415 Adjust ifunc variants for memcpy.
3416 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3417 * sysdeps/s390/mempcpy.c: ... here.
3418 Adjust ifunc variants for mempcpy.
3419 * sysdeps/s390/mempcpy.S: Delete file.
3421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3423 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3424 * sysdeps/s390/memcpy.S: ... here.
3425 Adjust to be usable for 31/64bit.
3426 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3427 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3428 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3429 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3430 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3431 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3432 Adjust to be usable for 31/64bit.
3433 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3434 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3435 * sysdeps/s390/multiarch/memcpy.c: ... here.
3436 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3440 * sysdeps/s390/ifunc-memcmp.h: New File.
3441 * sysdeps/s390/memcmp.S: Move to ...
3442 * sysdeps/s390/memcmp-z900.S ... here.
3443 Move implementations from memcmp-s390x.s to here.
3444 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3445 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3446 Remove memcmp variants.
3447 * sysdeps/s390/Makefile (sysdep_routines):
3448 Add memcmp variants.
3449 * sysdeps/s390/multiarch/ifunc-impl-list.c
3450 (__libc_ifunc_impl_list): Adjust ifunc variants for
3452 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3454 * sysdeps/s390/memcmp.c: ... here.
3455 Adjust ifunc variants for memcmp.
3457 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3459 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3460 * sysdeps/s390/memcmp.S: ... here.
3461 Adjust to be usable for 31/64bit.
3462 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3463 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3464 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3466 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3467 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3468 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3469 Adjust to be usable for 31/64bit.
3470 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3471 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3472 * sysdeps/s390/multiarch/memcmp.c: ... here.
3473 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3477 * sysdeps/s390/s390-32/bzero.S: Delete file.
3478 * sysdeps/s390/s390-64/bzero.S: Likewise.
3479 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3480 * sysdeps/s390/bzero.c: New file.
3481 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3482 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3483 * sysdeps/s390/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3488 * sysdeps/s390/ifunc-memset.h: New File.
3489 * sysdeps/s390/memset.S: Move to ...
3490 * sysdeps/s390/memset-z900.S ... here.
3491 Move implementations from memset-s390x.s to here.
3492 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3493 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3494 Remove memset variants.
3495 * sysdeps/s390/Makefile (sysdep_routines):
3496 Add memset variants.
3497 * sysdeps/s390/multiarch/ifunc-impl-list.c
3498 (__libc_ifunc_impl_list): Adjust ifunc variants for
3500 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3502 * sysdeps/s390/memset.c: ... here.
3503 Adjust ifunc variants for memset.
3505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3507 * sysdeps/s390/s390-64/memset.S: Move to ...
3508 * sysdeps/s390/memset.S: ... here.
3509 Adjust to be usable for 31/64bit.
3510 * sysdeps/s390/s390-32/memset.S: Delete File.
3511 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3512 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3514 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3515 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3516 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3517 Adjust to be usable for 31/64bit.
3518 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3519 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3520 * sysdeps/s390/multiarch/memset.c: ... here.
3521 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3525 * sysdeps/s390/multiarch/ifunc-resolve.h
3526 (s390_libc_ifunc_init, s390_libc_ifunc,
3527 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3531 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3532 * sysdeps/s390/configure.ac: Add check for z10 support.
3533 * sysdeps/s390/configure: Regenerated.
3535 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3537 * sysdeps/i386/atomic-machine.h: Merged with ...
3538 * sysdeps/x86_64/atomic-machine.h: To ...
3539 * sysdeps/x86/atomic-machine.h: This. New file.
3541 2018-12-18 Florian Weimer <fweimer@redhat.com>
3543 Rewrite locale/gen-translit.pl in Python.
3544 * locale/Makefile (generated): Add C-translit.h.
3545 (before-compile): Add $(objpfx)C-translit.h.
3546 (C-translit.h): Move to $(objpfx). Create target directory.
3547 Build using Python script.
3548 * locale/gen-translit.py: New file.
3549 * locale/gen-translit.pl: Remove file.
3550 * locale/C-translit.h.in: Change comment character to '#' for
3551 easier parsing without a C preprocessor.
3552 * locale/C-translit.h: Remove generated file.
3553 * manual/install.texi (Tools for Compilation): Do not mention
3555 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3556 Remove locale/C-translit.h.
3557 * scripts/update-copyrights: Likewise.
3558 * INSTALL: Regenerate.
3560 2018-12-18 Florian Weimer <fweimer@redhat.com>
3563 * localedata/locales/bi_VU: Remove executable bit from file.
3565 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3568 (__localtime64): Add.
3569 * manual/maint.texi: Document Y2038 symbol handling.
3571 (__localtime64): Add.
3572 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3574 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3579 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3580 to allow extra macros from first or second sources.
3581 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3582 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3583 (tests-special): Add $(objpfx)tst-mman-consts.out.
3584 ($(objpfx)tst-mman-consts.out): New makefile target.
3586 2018-12-17 Mao Han <han_mao@c-sky.com>
3588 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3589 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3590 without stat64 system call support.
3591 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3592 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3593 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3594 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3595 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3596 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3597 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3598 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3599 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3600 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3601 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3603 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3605 regex: fix storage-exhaustion error
3607 * posix/regexec.c (get_subexp):
3608 Do not continue if storage is exhausted.
3610 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3612 regex: fix heap-use-after-free error
3614 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3615 https://debbugs.gnu.org/32592
3616 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3617 call extend_buffers which reallocates the re_string_t internal buffer.
3618 Local variable 'buf' was not updated in such case, resulting in
3620 * posix/regexec.c (get_subexp): Update 'buf' after call to
3623 2018-12-15 Florian Weimer <fweimer@redhat.com>
3625 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3626 (minimum_stride_size): Use it.
3627 (support_blob_repeat_allocate): Likewise.
3629 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3631 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3636 2018-12-14 Florian Weimer <fweimer@redhat.com>
3638 * manual/process.texi (Process Creation Concepts): Remove
3639 documentation of process (ID) lifetime. List more process
3640 creation functions. Reference Process Identification section.
3641 (Process Identification): Add information about process ID
3642 lifetime. Describe Linux thread/task IDs.
3643 * manual/signal.texi (Signaling Another Process): Mention that the
3644 signal is always sent to the process.
3646 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3648 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3649 and tst-ldbl-efgcvt.
3650 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3651 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3652 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3653 (fcvt_tests, output_error, output_r_error, do_test): Use the
3654 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3655 select the type of floating-point variables and arguments; to
3656 produce extra tests for double and conversion specifiers for
3657 printf; and to set the names of called functions.
3658 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3659 in tst-efgcvt-template.c.
3660 * misc/tst-ldbl-efgcvt.c: Likewise.
3662 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3664 * nss/Makefile (tst-nss-test3.out): New rule.
3666 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3668 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3671 2018-12-13 fanjinke <fanjinke@hygon.cn>
3673 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3676 2018-12-13 Andreas Schwab <schwab@suse.de>
3679 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3680 (__pthread_rwlock_rdlock_full): Update expected value for
3681 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3682 * nptl/tst-rwlock-pwn.c: New file.
3683 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3685 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3687 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3690 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3692 * benchtests/scripts/compare_bench.py (do_compare): write to
3693 stderr in casestat is not present.
3694 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3695 stderr in case timings field is not present. Also string showing
3696 the output filename goes into the stderr.
3698 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3700 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3701 and ZeroDivisorError exceptions.
3702 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3703 argument to loop through user provided statistics.
3704 * benchtests/scripts/compare_bench.py (main): Include the --stats
3707 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3709 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3712 2018-12-12 Florian Weimer <fweimer@redhat.com>
3714 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3715 clause to copyright header.
3717 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3720 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3721 registers saved in the stack frame.
3722 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3723 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3725 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3727 * include/bits/monetary-ldbl.h: New file.
3728 * include/bits/printf-ldbl.h: Likewise.
3729 * include/bits/stdio-ldbl.h: Likewise.
3730 * include/bits/stdlib-ldbl.h: Likewise.
3731 * include/bits/syslog-ldbl.h: Likewise.
3732 * include/bits/wchar-ldbl.h: Likewise.
3734 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3736 * libio/libio.h: Remove redirection for _IO_vfprintf.
3738 2018-12-11 Andreas Schwab <schwab@suse.de>
3740 * Makerules: Remove all references to abilist-pattern.
3741 (update-all-abi): Simplify find expression.
3743 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3746 * math/auto-libm-test-in: Add new test case.
3747 * math/auto-libm-test-out-pow: Regenerated.
3748 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3750 2018-12-10 DJ Delorie <dj@redhat.com>
3753 * support/test-container.c: Move postclean step to before we
3756 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3758 * scripts/gen-as-const.py (main): Handle --python option.
3759 * scripts/gen-py-const.awk: Remove.
3760 * Makerules (py-const-script): Use gen-as-const.py.
3761 ($(py-const)): Likewise.
3762 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3763 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3764 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3765 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3766 ~PTHREAD_MUTEX_NO_ELISION_NP.
3767 * manual/README.pretty-printers: Update reference to
3770 * scripts/glibcextract.py: New file.
3771 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3772 or tempfile. Import glibcexctract.
3773 (compute_c_consts): Remove. Moved to glibcextract.py.
3774 (gen_test): Update reference to compute_c_consts.
3776 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3777 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3778 * sysdeps/unix/sysv/linux/Makefile
3779 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3780 Redirect stderr as well as stdout.
3782 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3785 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3786 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3787 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3788 ALWAYS_USE_VSYSCALL.
3789 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3790 ALWAYS_USE_VSYSCALL.
3791 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3792 ALWAYS_USE_VSYSCALL.
3794 2018-12-10 Florian Weimer <fweimer@redhat.com>
3797 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3798 offset instead of count for clarity. Fix typo in comment.
3799 (__old_getdents64): Keep track of previous offset. Use it to call
3801 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3802 that d_off is never zero.
3804 2018-12-10 Andreas Schwab <schwab@suse.de>
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3807 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3809 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3810 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3812 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3814 * timezone/private.h: Update from tzcode 2018g.
3815 * timezone/tzfile.h: Likewise.
3816 * timezone/tzselect.ksh: Likewise.
3817 * timezone/zdump.c: Likewise.
3818 * timezone/zic.c: Likewise.
3820 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3823 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3824 (do_test): Adjust buffer size and fix format.
3826 2018-12-07 DJ Delorie <dj@redhat.com>
3829 * malloc/tst-tcfree3.c: New.
3830 * malloc/Makefile: Add it.
3832 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3834 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3836 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3838 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3839 used as a mask for the mode argument of __vfscanf_internal and
3840 __vfwscanf_internal.
3841 * stdio-common/vfscanf-internal.c
3842 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3843 (__strtof128_internal): Define to __wcstof128_internal.
3844 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3845 __strtof128_internal or __wcstof128_internal when the format of
3846 long double is the same as _Float128.
3848 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3850 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3851 * posix/confstr.c (confstr): Rename to __confstr.
3852 (__confstr): Add hidden def.
3853 (confstr): Add weak alias for __confstr.
3854 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3857 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3859 * NEWS: Mention getcpu.
3860 * include/sched.h (__getcpu): New libc_hidden_proto.
3861 * manual/resource.texi: Document getcpu.
3862 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3863 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3864 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3865 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3867 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3868 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3869 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3870 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3871 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3872 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3873 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3874 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3876 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3887 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3888 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3889 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3890 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3895 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3896 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3897 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3900 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3902 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3904 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3906 2018-12-07 Florian Weimer <fweimer@redhat.com>
3909 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3910 * posix/Versions (GLIBC_2.29): Export
3911 posix_spawn_file_actions_addfchdir_np.
3912 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3913 * posix/spawn_faction_destroy.c
3914 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3915 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3916 and the field action.fchdir_action.
3917 * posix/tst-spawn-chdir.c (add_chdir): New function.
3918 (do_test): Add do_fchdir loop. Call add_chdir.
3919 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3920 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3921 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3922 posix_spawn_file_actions_addfchdir_np.
3923 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3925 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3927 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3928 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3930 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3932 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3934 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3938 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3940 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3941 (GLIBC_2.29): Likewise.
3942 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3943 (GLIBC_2.29): Likewise.
3944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3945 (GLIBC_2.29): Likewise.
3946 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3947 (GLIBC_2.29): Likewise.
3948 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3951 (GLIBC_2.29): Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3953 (GLIBC_2.29): Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3955 (GLIBC_2.29): Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3957 (GLIBC_2.29): Likewise.
3958 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3960 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3962 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3964 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3965 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3969 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3971 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3974 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3976 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3977 trailing whitespace removed.
3978 * scripts/config.guess: Update to version 2018-11-28.
3979 * scripts/config.sub: Update to version 2018-11-28.
3980 * scripts/install-sh: Update to version 2018-03-11.20.
3981 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3982 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3984 2018-12-07 Florian Weimer <fweimer@redhat.com>
3988 * inet/tst-if_index-long.c: New file.
3989 * inet/Makefile (tests): Add tst-if_index-long.
3991 2018-12-07 Florian Weimer <fweimer@redhat.com>
3993 * support/check.h (support_record_failure_is_failed): Declare.
3994 * support/descriptors.h: New file.
3995 * support/support_descriptors.c: Likewise.
3996 * support/tst-support_descriptors.c: Likewise.
3997 * support/support_record_failure.c
3998 (support_record_failure_is_failed): New function.
3999 * support/Makefile (libsupport-routines): Add support_descriptors.
4000 (tests): Add tst-support_descriptors.
4002 2018-12-05 Zack Weinberg <zackw@panix.com>
4003 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4005 * stdio-common/vfprintf-internal.c
4006 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4007 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4008 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4009 and __no_long_double.
4010 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4011 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4013 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4014 and __nldbl_*syslog* functions.
4015 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4016 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4017 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4018 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4019 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4020 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4021 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4022 (__nldbl_vwprintf, __nldbl_wprintf):
4023 Directly call the appropriate __v*printf_internal routine, passing
4024 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4026 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4027 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4028 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4029 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4030 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4031 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4032 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4033 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4034 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4035 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4036 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4037 (__nldbl_syslog, __nldbl_vsyslog):
4038 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4039 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4041 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4044 2018-12-05 Zack Weinberg <zackw@panix.com>
4045 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4048 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4049 Moved here from debug/vsprintf_chk.c.
4050 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4051 and completion logic for the strfile to match exactly what
4052 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4053 _IO_str_init_static_internal instead of maxlen-1.
4054 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4055 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4056 __vsprintf_internal.
4058 * debug/vsprintf_chk.c (__vsprintf_chk)
4059 * debug/sprintf_chk.c (__sprintf_chk):
4060 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4061 'flags' argument is positive, and slen as maxlen. No need to lock
4062 the FILE and/or construct a temporary FILE. Minimize and normalize
4063 header inclusions and variable names. Do not libc_hidden_def anything.
4065 * debug/asprintf_chk.c (__asprintf_chk)
4066 * debug/dprintf_chk.c (__dprintf_chk)
4067 * debug/fprintf_chk.c (__fprintf_chk)
4068 * debug/fwprintf_chk.c (__fwprintf_chk)
4069 * debug/printf_chk.c (__printf_chk)
4070 * debug/snprintf_chk.c (__snprintf_chk)
4071 * debug/swprintf_chk.c (__swprintf_chk)
4072 * debug/vasprintf_chk.c (__vasprintf_chk)
4073 * debug/vdprintf_chk.c (__vdprintf_chk)
4074 * debug/vfprintf_chk.c (__vfprintf_chk)
4075 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4076 * debug/vprintf_chk.c (__vprintf_chk)
4077 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4078 * debug/vswprintf_chk.c (__vswprintf_chk)
4079 * debug/vwprintf_chk.c (__vwprintf_chk)
4080 * debug/wprintf_chk.c (__wprintf_chk):
4081 Directly call the corresponding vxxprintf_internal function, passing
4082 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4083 the FILE and/or construct a temporary FILE. Minimize and normalize
4084 header inclusions and variable names. Do not libc_hidden_def anything.
4086 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4087 __obstack_vprintf_internal.
4088 (__obstack_vprintf_chk): Convert into a wrapper that calls
4089 __obstack_vprintf_internal (these two functions already had the
4090 same code) and move to new file...
4091 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4093 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4094 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4095 * debug/Makefile (routines): Add vobprintf_chk.
4097 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4098 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4099 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4100 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4101 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4102 (__nldbl___obstack_vfprintf_chk):
4103 Directly call the corresponding vxxprintf_internal function,
4104 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4105 duplicate comparison of slen with 0 or maxlen from the corresponding
4106 non-__nldbl function.
4108 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4109 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4110 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4111 Remove libc_hidden_proto.
4113 * stdio-common/vfprintf-internal.c
4114 (__vfprintf_internal, __vfwprintf_internal):
4115 Do not check _IO_FLAGS2_FORTIFY.
4116 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4117 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4118 a comment explaining why it has the maxlen argument.
4119 (_IO_acquire_lock_clear_flags2_fct): Remove.
4120 (_IO_acquire_lock_clear_flags2): Remove.
4121 (_IO_release_lock): Remove conditional statement which will
4123 (_IO_acquire_lock): Remove variable which is now unused.
4124 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4125 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4127 * stdio-common/Makefile (tests): Add tst-bz11319 and
4128 tst-bz11319-fortify2.
4129 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4130 * stdio-common/tst-bz11319-fortify2.c: New file.
4131 * stdio-common/tst-bz11319.c: Likewise.
4133 2018-12-05 Zack Weinberg <zackw@panix.com>
4134 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4136 * misc/syslog.c: Include libioP.h, not iolibio.h.
4137 (__vsyslog_internal): New function with the former body of
4138 __vsyslog_chk; takes mode_flags argument same as
4139 __v*printf_internal. Call __vfprintf_internal directly.
4141 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4142 Remove libc_hidden_def.
4143 (__syslog, __syslog_chk): Use __vsyslog_internal.
4144 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4146 * include/sys/syslog.h: Add multiple inclusion guard.
4147 Add prototype for __vsyslog_internal.
4148 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4151 Use __vsyslog_internal.
4153 2018-12-05 Zack Weinberg <zackw@panix.com>
4154 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4156 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4157 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4158 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4160 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4161 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4163 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4164 Include wctype.h here if COMPILE_WPRINTF is defined.
4165 Define __vfprintf_internal or __vfwprintf_internal, depending
4167 Temporarily, on entry to this function, update mode_flags
4168 according to the environmental settings corresponding to
4169 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4170 Throughout, check mode_flags instead of __ldbl_is_dbl and
4171 _IO_FLAGS2_FORTIFY on the destination FILE.
4172 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4173 Include vfprintf-internal.c. Don't include wctype.h.
4174 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4175 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4177 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4178 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4180 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4182 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4183 and add mode_flags argument; use __vfprintf_internal.
4184 (__vdprintf): New function. Alias vdprintf to this.
4185 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4186 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4187 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4188 (__obstack_printf): Use __obstack_printf_internal.
4189 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4190 public aliases __vsnprintf and vsnprintf.
4191 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4193 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4194 public aliases _IO_vsprintf and vsprintf.
4195 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4196 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4197 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4198 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4199 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4201 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4202 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4203 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4204 * stdio-common/printf.c: Use __vfprintf_internal.
4206 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4207 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4208 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4210 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4211 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4212 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4213 __vfwprintf_internal.
4215 * libio/libio.h: Remove libc_hidden_proto and declaration for
4217 Remove declaration of _IO_vfwprintf.
4218 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4220 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4222 * include/stdio.h: Add prototype for __vasprintf.
4223 (__vsnprintf): Remove declaration, because there are no more
4225 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4226 declaration, because there are no more internal calls.
4228 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4229 __vsnprintf_internal, instead of _IO_vsnprintf.
4230 * argp/argp-help.c (__argp_error, __argp_failure): Use
4231 __vasprintf_internal, instead of _IO_vasprintf.
4232 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4233 redefine, because there are no more internal calls.
4235 2018-12-05 Zack Weinberg <zackw@panix.com>
4236 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4238 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4239 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4240 Include libio/strfile.h instead of libioP.h.
4241 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4242 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4243 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4244 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4245 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4246 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4247 necessary. Do not set __no_long_double. Normalize variable names.
4248 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4249 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4250 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4251 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4252 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4253 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4254 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4255 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4256 Do not set __no_long_double. Normalize variable names.
4258 2018-12-05 Zack Weinberg <zackw@panix.com>
4259 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4261 * stdio-common/isoc99_scanf.c
4262 * stdio-common/isoc99_fscanf.c
4263 * stdio-common/isoc99_sscanf.c
4264 * stdio-common/isoc99_vscanf.c
4265 * stdio-common/isoc99_vfscanf.c
4266 * stdio-common/isoc99_vsscanf.c
4267 * wcsmbs/isoc99_wscanf.c
4268 * wcsmbs/isoc99_fwscanf.c
4269 * wcsmbs/isoc99_swscanf.c
4270 * wcsmbs/isoc99_vwscanf.c
4271 * wcsmbs/isoc99_vfwscanf.c
4272 * wcsmbs/isoc99_vswscanf.c:
4273 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4274 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4275 No need to lock and unlock the FILE passed to that function.
4277 * stdio-common/vfscanf-internal.c
4278 (__vfscanf_internal, __vfwscanf_internal):
4279 Don't look at _IO_FLAGS2_SCANF_STD.
4280 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4281 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4282 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4284 2018-12-05 Zack Weinberg <zackw@panix.com>
4285 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4287 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4288 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4289 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4290 * libio/strfile.h: Add multiple inclusion guard.
4291 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4293 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4294 consistency with the other version of this file.
4295 (ldbl_compat_symbol): New macro.
4296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4299 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4300 Define __vfscanf_internal or __vfwscanf_internal, depending on
4301 COMPILE_WSCANF; don't define any other public symbols.
4302 Remove errval and code to set errp.
4303 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4304 as the mode_flags argument.
4305 (encode_error, conv_error, input_error): Don't set errval.
4306 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4307 Include vfscanf-internal.c.
4308 * stdio-common/vfscanf.c: New file defining the public entry
4309 point vfscanf, which calls __vfscanf_internal.
4310 * stdio-common/vfwscanf.c: New file defining the public entry
4311 point vfwscanf, which calls __vfwscanf_internal.
4313 * stdio-common/iovfscanf.c: New file.
4314 * stdio-common/iovfwscanf.c: Likewise.
4316 * stdio-common/Makefile (routines): Add vfscanf-internal,
4317 vfwscanf-internal, iovfscanf, iovfwscanf.
4318 * stdio-common/Versions: Mention GLIBC_2.29, so that
4319 it can be used in SHLIB_COMPAT expressions.
4320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4321 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4322 Call __vfscanf_internal, instead of _IO_vfscanf.
4323 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4325 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4328 * libio/iovsscanf.c: Clean up includes, when possible. Use
4329 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4330 __vfscanf_internal or __vfwscanf_internal directly.
4331 * libio/iovswscanf.c: Likewise.
4332 * libio/swscanf.c: Likewise.
4333 * libio/vscanf.c: Likewise.
4334 * libio/vwscanf.c: Likewise.
4335 * libio/wscanf.c: Likewise.
4336 * stdio-common/isoc99_fscanf.c: Likewise.
4337 * stdio-common/isoc99_scanf.c: Likewise.
4338 * stdio-common/isoc99_sscanf.c: Likewise.
4339 * stdio-common/isoc99_vfscanf.c: Likewise.
4340 * stdio-common/isoc99_vscanf.c: Likewise.
4341 * stdio-common/isoc99_vsscanf.c: Likewise.
4342 * stdio-common/scanf.c: Likewise.
4343 * stdio-common/sscanf.c: Likewise.
4344 * wcsmbs/isoc99_fwscanf.c: Likewise.
4345 * wcsmbs/isoc99_swscanf.c: Likewise.
4346 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4347 * wcsmbs/isoc99_vswscanf.c: Likewise.
4348 * wcsmbs/isoc99_vwscanf.c: Likewise.
4349 * wcsmbs/isoc99_wscanf.c: Likewise.
4351 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4354 (__tz_compute): Replace time_t with __time64_t.
4355 (__tz_convert): Replace time_t* with __time64_t.
4356 (__offtime): Replace time_t* with __time64_t.
4358 (__gmtime_r): Adjust call to __tz_convert.
4361 (__localtime_r): Likewise.
4362 (localtime): Likewise.
4363 * time/offtime.c: Replace time_t with __time64_t.
4364 * time/tzset.c: Likewise.
4366 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4368 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4369 dynamic linker unless [$(run-built-tests) = yes].
4371 2018-12-03 DJ Delorie <dj@delorie.com>
4373 * support/test-container.c (check_for_unshare_hints): New.
4374 (main): Call it if unshare fails. Add support for "su" scriptlet
4377 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4379 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4380 'START' to indicate that start text should be output.
4381 (gen_test): Likewise.
4382 (main): Generate 'START' for first symbol or '--' line, or at end
4383 of input if not previously generated.
4385 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4388 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4389 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4390 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4391 ALWAYS_USE_VSYSCALL.
4393 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4396 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4399 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4402 * locale/programs/localedef.c: Declare boolean hard_links default true.
4403 (options): Add --no-hard-links option.
4404 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4405 * locale/programs/localedef.h: Declare prototype for hard_links.
4406 * locale/programs/locfile.c (write_locale_data): Don't use hard
4407 links if hard_links is false.
4409 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4411 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4413 (__cache_sysconf): Likewise.
4414 (init_cacheinfo): Likewise.
4415 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4416 populate COMMON_CPUID_INDEX_80000007 and
4417 COMMON_CPUID_INDEX_80000008.
4418 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4419 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4420 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4421 (init_cpu_features): Use _Static_assert on
4422 index_arch_Fast_Unaligned_Load.
4423 __get_cpuid_registers and __get_arch_feature. Updated for
4424 cpu_features_basic. Set stepping in cpu_features.
4425 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4426 (FEATURE_INDEX_2): New.
4427 (FEATURE_INDEX_MAX): Changed to enum.
4428 (COMMON_CPUID_INDEX_D_ECX_1): New.
4429 (COMMON_CPUID_INDEX_80000007): Likewise.
4430 (COMMON_CPUID_INDEX_80000008): Likewise.
4431 (cpuid_registers): Likewise.
4432 (cpu_features_basic): Likewise.
4433 (CPU_FEATURE_USABLE): Likewise.
4434 (bit_arch_XXX_Usable): Likewise.
4435 (cpu_features): Use cpuid_registers and cpu_features_basic.
4436 (bit_arch_XXX): Reweritten.
4437 (bit_cpu_XXX): Likewise.
4438 (index_cpu_XXX): Likewise.
4439 (reg_XXX): Likewise.
4440 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4442 (CHECK_CPU_FEATURE): New.
4443 (CHECK_CPU_FEATURE_USABLE): Likewise.
4444 (cpu_kinds): Likewise.
4445 (do_test): Print vendor, family, model and stepping. Check
4446 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4447 (TEST_FUNCTION): Removed.
4448 Include <support/test-driver.c> instead of
4449 "../../test-skeleton.c".
4450 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4451 Check POPCNT instead of POPCOUNT.
4452 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4454 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4456 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4457 there is no element in `consts'.
4459 2018-12-01 Florian Weimer <fweimer@redhat.com>
4461 * support/support_capture_subprocess.c
4462 (support_capture_subprocess): Check that pipe descriptors have
4463 expected values. Close original pipe descriptors in subprocess.
4465 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4468 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4469 attr with __pthread_default_barrierattr.
4470 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4471 attr with __pthread_default_condattr.
4472 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4473 attr with __pthread_default_mutexattr.
4474 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4475 attr with __pthread_default_rwlockattr.
4477 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4479 * manual/tunables.texi (POSIX Thread Tunables): New node.
4480 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4481 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4482 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4483 __pthread_tunables_init.
4484 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4485 (max_adaptive_count): Define.
4486 * nptl/pthread_mutex_conf.c: New file.
4487 * nptl/pthread_mutex_conf.h: New file.
4488 * sysdeps/generic/adaptive_spin_count.h: New file.
4489 * sysdeps/nptl/dl-tunables.list: New file.
4490 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4491 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4492 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4495 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4498 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4499 * stdlib/on_exit.c (__on_exit): Likewise.
4500 * stdlib/Makefile (tests): Add tst-bz20544.
4501 * stdlib/tst-bz20544.c: New test.
4503 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4506 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4507 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4510 2018-11-30 Florian Weimer <fweimer@redhat.com>
4512 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4513 Extend error logging.
4514 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4517 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4519 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4520 __sigismember instead of sigismember.
4521 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4522 cancel_handler): New definitions.
4523 (do_system): Use posix_spawn instead of fork and execl and remove
4525 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4526 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4527 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4528 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4530 * sysdeps/unix/sysv/linux/system.c: Likewise.
4534 * NEWS: Add new semantic for atfork with popen and system.
4535 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4538 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4541 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4542 modification order when accessing reloc_result->addr.
4543 * include/link.h (reloc_result): Add field init.
4544 * nptl/Makefile (tests): Add tst-audit-threads.
4545 (modules-names): Add tst-audit-threads-mod1 and
4546 tst-audit-threads-mod2.
4547 Add rules to build tst-audit-threads.
4548 * nptl/tst-audit-threads-mod1.c: New file.
4549 * nptl/tst-audit-threads-mod2.c: Likewise.
4550 * nptl/tst-audit-threads.c: Likewise.
4551 * nptl/tst-audit-threads.h: Likewise.
4553 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4555 * scripts/gen-as-const.py: New file.
4556 * scripts/gen-as-const.awk: Remove.
4557 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4559 ($(objpfx)test-as-const-%.c): Likewise.
4561 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4563 * elf/dl-exception.c: Include <_itoa.h>.
4565 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4567 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4568 returned by __f_setlk.
4570 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4571 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4573 * elf/Makefile (tests-internal): Add tst-create_format1.
4574 * elf/dl-exception.c (_dl_exception_create_format): Support
4576 * elf/tst-create_format1.c: New file.
4578 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4580 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4581 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4583 * argp/argp-help.c (__argp_failure): Likewise.
4585 2018-11-29 Mao Han <han_mao@c-sky.com>
4587 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4588 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4589 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4590 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4591 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4592 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4593 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4594 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4595 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4596 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4597 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4598 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4599 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4600 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4601 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4602 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4603 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4604 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4605 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4606 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4607 (R_CKCORE_TLS_TPOFF32): New defines.
4609 2018-11-29 Florian Weimer <fweimer@redhat.com>
4611 * posix/Makefile (before-compile): Remove testcases.h and
4613 (generated): Add testcases.h and ptestcases.h.
4614 (testcases.h, ptestcases.h): Move to $(objpfx).
4615 (runtests.o): Add dependency on testcases.h.
4616 (runptests.o): Add dependency on ptestcases.h.
4617 * posix/testcases.h, posix/ptestcases.h: Remove files.
4618 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4619 not touch posix/testcases.h and posix/ptestcases.h.
4621 2018-11-28 Florian Weimer <fweimer@redhat.com>
4623 support: Add signal support to support_capture_subprocess_check.
4624 * support/capture_subprocess.h (support_capture_subprocess_check):
4625 Adjust comment and rename parameter.
4626 * support/support_capture_subprocess_check.c
4627 (print_actual_status): New function.
4628 (support_capture_subprocess_check): Support negative
4629 status_or_signal. Call print_actual_status.
4630 * support/tst-support_capture_subprocess.c (do_test): Call
4631 support_capture_subprocess_check.
4632 * libio/tst-vtables-common.c (termination_status)
4633 (init_termination_status): Remove.
4634 (check_for_termination): Adjust support_capture_subprocess_check
4636 (do_test): Remove call to init_termination_status.
4638 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4640 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4641 source directory instead of a copy.
4642 (CommandList.create_copy_dir): Remove.
4644 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4646 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4648 2018-11-28 Florian Weimer <fweimer@redhat.com>
4650 * support/support.h (support_quote_string): Do not use str
4653 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4655 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4656 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4658 2018-11-27 Florian Weimer <fweimer@redhat.com>
4660 * support/support.h (support_quote_string): Declare.
4661 * support/support_quote_string.c: New file.
4662 * support/tst-support_quote_string.c: Likewise.
4663 * support/Makefile (libsupport-routines): Add
4664 support_quote_string.
4665 (tests): Add tst-support_quote_string.
4667 2018-11-27 Florian Weimer <fweimer@redhat.com>
4671 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4672 descriptor leak in case of ENODEV error.
4674 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4677 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4678 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4681 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4683 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4684 Error for unknown lines.
4686 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4688 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4689 Touch additional files.
4691 2018-11-26 Florian Weimer <fweimer@redhat.com>
4694 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4697 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4700 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4701 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4702 SHARED. Include sysdep.h.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4704 ALWAYS_USE_VSYSCALL.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4706 ALWAYS_USE_VSYSCALL.
4708 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4711 * nptl/Makefile (tests-static): Add tst-cond11-static.
4713 * nptl/tst-cond11-static.c: New File.
4714 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4715 tst-affinity-static.
4717 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4719 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4720 (USE_VSYSCALL): Likewise.
4721 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4722 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4724 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4729 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4733 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4736 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4738 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4739 (tst-cet-legacy-1a-ARGS): New.
4740 ($(objpfx)tst-cet-legacy-1a): New target.
4741 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4743 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4745 * conform/conformtest.py (CompileSubTest.__init__): Set
4746 self.run_early to False.
4747 (ExecuteSubTest.__init__): Likewise.
4748 (HeaderTests.run): Try running all non-optional, non-XFAILed
4749 compilation tests in a single execution of the compiler.
4751 * conform/conformtest.py (CompileSubTest): New class.
4752 (ExecuteSubTest): Likewise.
4753 (ElementTest.run): Rename to gen_subtests. Append tests to
4754 self.subtests instead of running them.
4755 (ConstantTest.run): Likewise.
4756 (SymbolTest.run): Likewise.
4757 (TypeTest.run): Likewise.
4758 (TagTest.run): Likewise.
4759 (FunctionTest.run): Likewise.
4760 (VariableTest.run): Likewise.
4761 (MacroFunctionTest.run): Likewise.
4762 (MacroStrTest.run): Likewise.
4763 (HeaderTests.handle_test_line): Generate subtests for tests.
4764 (HeaderTests.run): Run subtests for tests.
4766 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4768 * math/Versions (GLIBC_2.29): Add pow.
4769 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4771 * math/w_pow.c: New file.
4772 * sysdeps/i386/fpu/w_pow.c: New file.
4773 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4775 and add necessary aliases.
4776 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4777 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4778 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4779 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4780 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4781 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4783 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4784 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4785 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4786 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4787 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4788 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4790 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4795 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4796 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4797 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4799 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4800 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4801 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4802 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4805 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4806 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4808 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4810 * math/Versions (GLIBC_2.29): Add log2.
4811 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4813 * math/w_log2.c: New file.
4814 * sysdeps/i386/fpu/w_log2.c: New file.
4815 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4816 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4817 and add necessary aliases.
4818 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4819 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4820 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4821 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4822 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4824 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4825 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4826 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4828 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4829 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4830 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4832 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4839 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4840 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4842 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4843 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4845 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4847 * math/Versions (GLIBC_2.29): Add log.
4848 * math/w_log_compat.c (__log_compat): Change to versioned compat
4850 * math/w_log.c: New file.
4851 * sysdeps/i386/fpu/w_log.c: New file.
4852 * sysdeps/ia64/fpu/e_log.S: Update.
4853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4854 and add necessary aliases.
4855 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4856 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4857 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4858 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4859 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4860 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4862 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4863 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4864 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4868 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4869 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4875 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4876 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4877 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4879 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4880 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4881 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4883 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4885 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4886 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4888 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4890 * math/Versions (GLIBC_2.29): Add exp and exp2.
4891 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4892 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4893 * math/w_exp_compat.c (__exp_compat): Likewise.
4894 * math/w_exp.c: New file.
4895 * math/w_exp2.c: New file.
4896 * sysdeps/i386/fpu/w_exp.c: New file.
4897 * sysdeps/i386/fpu/w_exp2.c: New file.
4898 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4899 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4900 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4901 and add necessary aliases.
4902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4903 and add necessary aliases.
4904 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4905 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4906 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4907 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4908 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4910 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4911 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4912 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4913 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4914 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4915 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4916 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4917 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4919 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4920 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4925 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4926 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4927 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4931 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4932 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4933 (__ieee754_exp): Rename to __exp.
4934 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4935 (__ieee754_exp): Rename to __exp.
4936 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4937 (__ieee754_exp): Rename to __exp.
4938 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4940 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4942 2018-11-20 DJ Delorie <dj@redhat.com>
4944 * malloc/malloc.c (tcache_entry): Add key field.
4945 (tcache_put): Set it.
4946 (tcache_get): Likewise.
4947 (_int_free): Check for double free in tcache.
4948 * malloc/tst-tcfree1.c: New.
4949 * malloc/tst-tcfree2.c: New.
4950 * malloc/Makefile: Run the new tests.
4951 * manual/probes.texi: Document memory_tcache_double_free probe.
4953 * dlfcn/dlerror.c (check_free): Prevent double frees.
4955 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4957 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4959 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4961 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4962 in tests. Use names for format arguments.
4963 (ConstantTest.run): Likewise.
4964 (SymbolTest.run): Likewise.
4965 (TypeTest.run): Likewise.
4966 (TagTest.run): Likewise.
4967 (FunctionTest.run): Likewise.
4968 (VariableTest.run): Likewise.
4969 (MacroFunctionTest.run): Likewise.
4970 (MacroStrTest.run): Likewise.
4971 (HeaderTests.__init__): Set self.num_tests.
4972 (HeaderTests.handle_test_line): Set test.num. Increment
4975 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4977 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4978 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4981 2018-11-19 Mao Han <han_mao@c-sky.com>
4983 * scripts/config.guess: Update to version 2018-08-29.
4984 * scripts/config.sub: Update to version 2018-08-29.
4986 2018-11-19 Florian Weimer <fweimer@redhat.com>
4988 support: Print timestamps in timeout handler.
4989 * support/support_test_main.c (print_timestamp): New function.
4990 (signal_handler): Use it to print the termination time and the
4991 time of the last write to standard output.
4993 2018-11-16 Zack Weinberg <zackw@panix.com>
4994 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4996 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4997 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4999 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5000 and add flags argument. Check flags instead of __ldbl_is_dbl when
5001 deciding whether to set is_long_double.
5002 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5003 passing zero for flags argument.
5004 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5007 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5008 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5009 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5010 variable names. Remove libc_hidden_def/libc_hidden_proto from
5011 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5012 longer called from within the library.
5013 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5014 for __nldbl___vstrfmon_l, declare it explicitly.
5016 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5018 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5020 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5022 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5023 F_SETLK64, F_SETLKW64, respectively.
5024 * sysdeps/mach/hurd/f_setlk.c: New file.
5025 * sysdeps/mach/hurd/f_setlk.h: New file.
5026 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5028 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5029 (__libc_fcntl): Move non-flock operations to...
5030 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5031 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5033 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5035 mktime: DEBUG_MKTIME cleanup
5036 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5037 And it’s no longer needed now that glibc and Gnulib both have
5038 their own testing mechanisms for mktime.
5039 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5041 mktime: fix non-EOVERFLOW errno handling
5043 mktime was not properly reporting failures when the underlying
5044 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5045 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5046 The problem could happen on non-glibc platforms, with Gnulib.
5047 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5048 (tm_diff): ... this simpler function, which does not change errno.
5049 All callers changed to deal with errno themselves.
5050 (ranged_convert, __mktime_internal): Return failure immediately if
5051 the underlying function reports any failure other than EOVERFLOW.
5052 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5055 mktime: fix bug with Y2038 DST transition
5057 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5058 mishandle a DST transition that jumps over the Y2038 boundary.
5059 No such DST transitions are known so this is only a theoretical
5060 bug, but we might as well do things right.
5062 mktime: make more room for overflow
5064 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5065 This is so that we can add tm_diff results to a previous guess,
5066 which will be useful in a later patch.
5068 mktime: simplify offset guess
5070 * time/mktime.c (__mktime_internal): Omit excess precision.
5072 mktime: new test for mktime failure
5074 Based on a test suggested by Albert Aribaud in:
5075 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5076 * time/Makefile (tests): Add bug-mktime4.
5077 * time/bug-mktime4.c: New file.
5079 mktime: fix EOVERFLOW bug
5081 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5082 Include libc-config.h, not config.h, for __set_errno.
5083 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5085 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5087 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5088 __attribute_copy__ to copy attributes from name. Drop static qualifier
5089 to avoid warnings about leaf attribute not having effect on static
5092 2018-11-13 Florian Weimer <fweimer@redhat.com>
5094 * malloc/malloc.c (fastbin_push_entry): New function.
5095 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5096 (REMOVE_FB): Remove macro.
5097 (_int_malloc): Use fastbin_pop_entry and reindent.
5098 (_int_free): Use fastbin_push_entry.
5099 (malloc_consolidate): Use atomic_exchange_acquire.
5101 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5103 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5104 alias attribute, not with strong_alias.
5106 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5107 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5108 with additional parameter thread.
5109 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5110 in terms of __hidden_ver2.
5111 (hidden_tls_def): New macro.
5112 (libc_hidden_tls_def): Likewise.
5113 (rtld_hidden_tls_def): Likewise.
5114 (libm_hidden_tls_def): Likewise.
5115 (libmvec_hidden_tls_def): Likewise.
5116 (libresolv_hidden_tls_def): Likewise.
5117 (librt_hidden_tls_def): Likewise.
5118 (libdl_hidden_tls_def): Likewise.
5119 (libnss_files_hidden_tls_def): Likewise.
5120 (libnsl_hidden_tls_def): Likewise.
5121 (libnss_nisplus_hidden_tls_def): Likewise.
5122 (libutil_hidden_tls_def): Likewise.
5123 (libutil_hidden_tls_def): Likweise.
5124 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5125 libc_hidden_tls_def.
5126 (__sim_disabled_exceptions_thread): Likewise.
5127 (__sim_round_mode_thread): Likewise.
5129 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5130 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5131 copy attributes from name.
5133 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5135 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5136 Use __attribute_copy__ to copy attributes from name.
5138 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5139 with __hidden_ver1 call.
5140 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5141 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5142 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5143 (__cosf): Do not declare here.
5144 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5145 (__sincosf): Do not declare here.
5146 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5147 (__sinf): Do not declare here.
5149 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5150 (__BIG_ENDIAN): Likewise.
5151 (__BYTE_ORDER): Likewise.
5152 (strong_alias): Likewise.
5153 (_strong_alias): Likewise.
5155 2018-11-12 Florian Weimer <fweimer@redhat.com>
5157 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5158 function. Move after the definition of in_smallbin_range. Do not
5159 use __builtin_expect for paths that lead to a noreturn function.
5160 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5161 because it is unclear whether this is in fact an unlikely
5163 (_int_malloc, _int_free): Adjust.
5164 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5166 * malloc/arena.c (heap_trim): Likewise.
5168 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5170 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5171 it, free it if needed.
5172 (reauthenticate): Test and use ccwdir.
5173 (child_init_port): In non-resetids case, test and use ccwdir.
5174 (child_chdir): New nested function to set ccwdir.
5175 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5176 * hurd/hurd/port.h (_hurd_port_move): New function.
5177 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5178 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5179 * hurd/Versions (_hurd_port_move): Export function.
5180 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5182 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5183 of dtablesize for allocating dtable_cloexec.
5185 2018-11-09 Martin Sebor <msebor@redhat.com>
5187 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5188 it's already defined.
5189 (_strong_alias): Use __attribute_copy__.
5190 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5191 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5192 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5193 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5194 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5195 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5196 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5197 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5198 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5199 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5200 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5201 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5202 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5203 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5204 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5205 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5206 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5207 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5208 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5210 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5212 * misc/tst-efgcvt.c: Include support/check.h and
5213 support/test-driver.c. Do not include test-skeleton.c.
5214 (error_count): Remove.
5215 (output_error): Replace increments to error_count with calls to
5216 support_record_failure.
5217 (output_r_error): Likewise.
5218 (special): Likewise.
5219 (do_test): Unconditionally return zero.
5220 (TEST_FUNCTION): Remove.
5222 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5224 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5226 ($(linknamespace-header-tests)): Likewise.
5228 * conform/conformtest.py: New file.
5229 * conform/conformtest.pl: Remove.
5230 * conform/GlibcConform.pm: Likewise.
5231 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5232 (KEYWORDS_C99): Likewise.
5233 (KEYWORDS): Likewise.
5234 * conform/Makefile ($(conformtest-header-tests)): Use
5235 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5236 option. Use --header instead of --headers.
5237 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5239 * conform/data/spawn.h-data: Likewise.
5240 * conform/data/fcntl.h-data (openat): Add space after function
5242 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5243 (wcscasecmp_l): Likewise.
5244 * conform/data/termios.h-data (c_cc): Add space after element
5247 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5249 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5250 instead of manually comparing and reporting mismatching strings.
5251 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5252 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5254 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5257 __ASSUME_SOCKETCALL.
5258 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5259 (__ASSUME_SOCKETCALL): Remove.
5260 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5261 (__ASSUME_SOCKETCALL): Likewise.
5262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5263 (__ASSUME_SOCKETCALL): Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5265 (__ASSUME_SOCKETCALL): Likewise.
5266 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5267 (__ASSUME_SOCKETCALL): Likewise.
5268 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5269 (__ASSUME_SOCKETCALL): Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5271 (__ASSUME_SOCKETCALL): Likewise.
5273 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5276 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5277 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5278 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5279 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5280 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5283 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5286 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5288 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5292 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5294 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5296 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5298 * support/support_test_compare_string.c
5299 (support_test_compare_string): Fix printf format.
5301 2018-11-07 Florian Weimer <fweimer@redhat.com>
5303 Implement TEST_COMPARE_STRING.
5304 * support/check.h (TEST_COMPARE_STRING): Define.
5305 (support_test_compare_string): Declare.
5306 * support/Makefile (libsupport-routines): Add
5307 support_test_compare_string.
5308 (tests): Add tst-test_compare_string.
5309 * support/support_test_compare_string.c: New file.
5310 * support/tst-test_compare_string.c: Likewise.
5312 2018-11-07 Andreas Schwab <schwab@suse.de>
5315 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5316 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5319 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5322 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5323 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5324 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5325 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5328 2018-11-06 Florian Weimer <fweimer@redhat.com>
5331 * posix/Makefile (routines): Add spawn_faction_addchdir.
5332 (tests): Add tst-spawn-chdir.
5333 * posix/Versions (GLIBC_2.29): Add
5334 posix_spawn_file_actions_addchdir_np.
5335 * posix/spawn_faction_addchdir.c: New file.
5336 * posix/spawn_faction_destroy.c
5337 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5338 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5339 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5341 * posix/tst-spawn-chdir.c: New file.
5342 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5343 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5344 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5345 posix_spawn_file_actions_addchdir_np.
5346 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5348 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5350 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5351 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5353 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5355 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5357 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5359 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5361 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5363 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5364 (GLIBC_2.29): Likewise.
5365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5366 (GLIBC_2.29): Likewise.
5367 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5368 (GLIBC_2.29): Likewise.
5369 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5370 (GLIBC_2.29): Likewise.
5371 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5374 (GLIBC_2.29): Likewise.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5376 (GLIBC_2.29): Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5378 (GLIBC_2.29): Likewise.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5380 (GLIBC_2.29): Likewise.
5381 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5387 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5388 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5390 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5397 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5399 * misc/Makefile (tests): Add tst-ldbl-error.
5400 * misc/tst-ldbl-error.c: New file.
5402 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5404 * misc/Makefile (tests): Add tst-ldbl-warn.
5405 * misc/tst-ldbl-warn.c: New file.
5407 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5409 * argp/Makefile (tests): Add tst-ldbl-argp.
5410 * argp/tst-ldbl-argp.c: New file.
5412 2018-11-05 Arjun Shankar <arjun@redhat.com>
5414 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5415 __gconv_path_elem and call __gconv_get_path unconditionally.
5417 2018-11-05 Andreas Schwab <schwab@suse.de>
5420 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5421 creating the first helper thread failed.
5423 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5425 * sysdeps/mach/hurd/msync.c: New file.
5427 2018-11-02 Florian Weimer <fweimer@redhat.com>
5429 * support/shell-container.c (copy_func): Call
5430 support_copy_file_range instead of copy_file_range to support
5431 cross-device copies.
5433 2018-11-02 Florian Weimer <fweimer@redhat.com>
5435 * support/test-container.c: Include <libc-pointer-arith.h> for
5438 2018-11-01 Zong Li <zong@andestech.com>
5440 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5441 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5442 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5443 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5445 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5446 variable to avoid overlap arguments.
5448 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5450 * posix/bug-regex22.c (main): Use puts with distinct error
5451 messages for unexpected success of re_compile_pattern, not printf
5452 with NULL argument to %s.
5454 * stdio-common/bug22.c: Include <libc-diag.h>.
5455 (do_test): Disable -Wformat-overflow= warnings around fprintf
5456 calls outputting more than INT_MAX characters.
5457 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5458 around printf call with NULL %s argument.
5461 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5462 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5464 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5465 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5466 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5467 (__ASSUME_SENDTO_SYSCALL): Likewise.
5468 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5469 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5471 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5472 (__ASSUME_CONNECT_SYSCALL): Likewise.
5473 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5474 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5475 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5477 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5479 [__LINUX_KERNEL_VERSION >= 0x040400]
5480 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5484 (setsockopt): Likewise.
5486 2018-11-01 Fredrik Noring <noring@nocrew.org>
5488 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5489 with the ISA override.
5491 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5493 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5496 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5498 * manual/errno.texi (EIEIO): Document how translators should
5499 translate the error message.
5500 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5501 printing trailing whitespaces refused by git.
5502 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5503 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5504 * hurd/Makefile (user-interfaces): Add pci.
5506 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5508 * conform/linknamespace.py: New file.
5509 * conform/linknamespace.pl: Remove file.
5510 * conform/Makefile ($(linknamespace-header-tests)): Use
5511 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5514 2018-10-30 Florian Weimer <fweimer@redhat.com>
5516 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5519 2018-10-30 Florian Weimer <fweimer@redhat.com>
5521 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5523 2018-10-30 Florian Weimer <fweimer@redhat.com>
5525 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5526 support_blob_repeat.
5528 2018-10-30 Florian Weimer <fweimer@redhat.com>
5530 Avoid spurious test failures in stdlib/test-bz22786.
5531 * support/Makefile (libsupport-routines): Add blob_repeat.
5532 (tests): Add tst-support_blob_repeat.
5533 * support/blob_repeat.h: New file.
5534 * support/blob_repeat.c: Likewise.
5535 * support/tst-support_blob_repeat.c: Likewise.
5536 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5537 support_blob_repeat_allocate.
5539 2018-10-30 Andreas Schwab <schwab@suse.de>
5542 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5543 Don't use tail call.
5544 * elf/tst-unwind-main.c: New file.
5545 * elf/Makefile (tests): Add tst-unwind-main.
5546 (CFLAGS-tst-unwind-main.c): Define.
5548 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5551 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5553 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5555 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5557 * conform/glibcconform.py: Do not import shutil.
5558 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5561 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5562 critic_missing for versions before 3.4.
5563 * configure: Regenerated.
5564 * manual/install.texi (Tools for Compilation): Document
5565 requirement for Python to build glibc.
5566 * INSTALL: Regenerated.
5567 * Rules [PYTHON]: Make code unconditional.
5568 * benchtests/Makefile [PYTHON]: Likewise.
5569 * conform/Makefile [PYTHON]: Likewise.
5570 * manual/Makefile [PYTHON]: Likewise.
5571 * math/Makefile [PYTHON]: Likewise.
5573 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5575 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5576 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5577 answer to interrupt_operation, return EIEIO instead of EINTR.
5578 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5579 _hurd_intr_rpc_msg_about_to global point to start of controlled
5580 assembly snippet. Make it check canceled flag.
5581 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5582 the _hurd_intr_rpc_msg_about_to point.
5583 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5584 issue, remove cancel flag check.
5586 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5588 * scripts/build-many-glibcs.py: Remove compatibility for missing
5589 os.cpu_count and re.fullmatch.
5591 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5594 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5595 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5596 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5598 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5600 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5603 2018-10-25 Florian Weimer <fweimer@redhat.com>
5607 XFAIL siginfo_t si_band conform test on sparc64.
5608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5609 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5610 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5611 (conformtest-xfail-conds): Add sparc64-linux.
5612 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5614 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5616 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5618 * elf/elf.h (NT_MIPS_DSP): New macro.
5619 (NT_MIPS_FP_MODE): Likewise.
5621 2018-10-25 Zong Li <zong@andestech.com>
5623 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5624 name by adding the file extension (.so).
5626 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5628 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5629 (test-xfail-ISO11/threads.h/linknamespace,
5630 test-xfail-ISO11/threads.h/conform): Add.
5632 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5634 * math/gen-libm-test.py: Import os.
5635 (ALL_FLOATS_MANUAL): New constant.
5636 (ALL_FLOATS_SUFFIX): Likewise.
5637 (Ulps.all_functions): New function.
5638 (real_all_ulps): Likewise.
5639 (generate_err_table_sub): Likewise.
5640 (generate_err_table): Likewise.
5641 (main): Handle -s and -m options.
5642 * manual/libm-err-tab.pl: Remove.
5643 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5644 instead of libm-err-tab.pl.
5645 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5647 * manual/install.texi (Tools for Compilation): Document
5648 requirement for Python to build manual.
5649 * INSTALL: Regenerated.
5651 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5653 * bits/time64.h: New file.
5654 * include/time.h: Replace internal_time_t with __time64_t.
5655 * posix/bits/types (__time64_t): Add.
5656 * stdlib/Makefile: Add bits/time64.h to includes.
5657 * time/tzfile.c: Replace internal_time_t with __time64_t.
5659 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5661 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5662 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5663 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5664 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5665 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5667 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5668 * posix/spawn_faction_addclose.c
5669 (__posix_spawn_file_actions_addclose): Add hidden definition.
5670 * posix/spawn_faction_adddup2.c
5671 (__posix_spawn_file_actions_adddup2): Likewise.
5672 * posix/spawn_faction_destroy.c
5673 (__posix_spawn_file_actions_destroy): Likewise.
5674 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5676 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5677 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5678 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5680 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5681 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5684 2018-10-24 Andreas Schwab <schwab@suse.de>
5687 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5689 * elf/cache.c (print_cache): Likewise.
5691 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5693 * bits/timesize.h: New file.
5694 * stdlib/Makefile (headers): Add bits/timesize.h.
5695 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5696 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5697 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5698 (__SEM_PAD_AFTER_TIME): Likewise.
5699 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5700 (__SHM_PAD_AFTER_TIME): Likewise.
5701 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5702 (__MSQ_PAD_BEFORE_TIME): Likewise.
5703 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5704 (__SEM_PAD_BEFORE_TIME): Likewise.
5705 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5706 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5707 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5708 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5710 (__MSQ_PAD_BEFORE_TIME): Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5712 (__SEM_PAD_BEFORE_TIME): Likewise.
5713 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5714 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5716 (__MSQ_PAD_BEFORE_TIME): Likewise.
5717 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5718 (__SEM_PAD_BEFORE_TIME): Likewise.
5719 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5720 (__SHM_PAD_BEFORE_TIME): Likewise.
5721 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5722 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5723 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5725 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5727 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5728 USE_RDTSCP is defined.
5729 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5730 USE_RDTSCP is defined.
5732 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5734 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5738 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5739 independently of other flags.
5741 2018-10-23 Florian Weimer <fweimer@redhat.com>
5743 * time/tst-mktime2.c (N_STRINGS): Remove.
5744 (set_timezone): New function.
5745 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5746 (mktime_test1): Report localtime failure and check errno value.
5748 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5749 (do_test): Remove alarm call. Use set_timezone and array_length.
5751 2018-10-23 Andreas Schwab <schwab@suse.de>
5753 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5754 (__start_context): Use END instead of PSEUDO_END.
5756 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5761 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5765 * wcsmbs/c32rtomb.c: New file.
5766 * wcsmbs/mbrtoc32.c: Likewise.
5767 * wcsmbs/tst-c32-state.c: Likewise.
5768 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5769 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5770 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5771 (tests): Add tst-c32-state.
5772 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5775 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5777 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5778 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5780 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5783 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5784 pair and return 0 in that case, and use saved character to
5785 interpret following character.
5786 * wcsmbs/tst-c16-surrogate.c: New file.
5787 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5788 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5789 Depend on $(gen-locales)
5791 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5794 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5795 (struct siginfo_t): Use correct type for si_band.
5797 2018-10-19 Florian Weimer <fweimer@redhat.com>
5800 * resource/bits/types/struct_rusage.h (struct rusage): Update
5801 comment on struct. Remove extraneous field comment.
5803 2018-10-18 David S. Miller <davem@davemloft.net>
5805 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5806 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5807 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5808 sysdep_routines in subdir elf.
5809 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5810 version for __vdso_clock_gettime.
5811 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5813 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5814 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5816 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5818 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/i386/init-arch.h: Removed.
5821 * sysdeps/i386/i586/init-arch.h: Likewise.
5822 * sysdeps/i386/i686/init-arch.h: Likewise.
5823 * sysdeps/i386/i686/hp-timing.h: Likewise.
5824 * sysdeps/x86_64/hp-timing.h: Likewise.
5825 * sysdeps/i386/isa.h: New file.
5826 * sysdeps/i386/i586/isa.h: Likewise.
5827 * sysdeps/i386/i686/isa.h: Likewise.
5828 * sysdeps/x86_64/isa.h: Likewise.
5829 * sysdeps/x86/hp-timing.h: New file.
5830 * sysdeps/x86/init-arch.h: Include <isa.h>.
5832 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5834 * math/libm-test-pow.inc (pow_test_data): Do not allow
5835 divide-by-zero exception for pow(+/- 0, -Inf).
5837 2018-10-17 Zack Weinberg <zackw@panix.com>
5839 * manual/job.texi (Job Control is Optional): Remove node, as
5840 job control has not been optional in quite some time.
5841 (Job Control): Mention briefly that systems older than
5842 POSIX.1-2001 might not support job control.
5843 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5844 defined on systems conforming to POSIX.1-2001.
5846 2018-10-17 Arjun Shankar <arjun@redhat.com>
5849 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5851 * (__gconv_read_conf): Mark function static.
5852 * (once): New static variable.
5853 * (__gconv_load_conf): New function.
5854 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5855 * iconv/gconv_db.c (once): Remove static variable.
5856 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5858 * (__gconv_find_transform): Likewise.
5859 * iconv/tst-iconv-mt.c: New test.
5860 * iconv/Makefile: Add tst-iconv_mt.
5862 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5866 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5867 (shmatt_t): Define as __syscall_ulong_t.
5868 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5869 and [__SHM_PAD_AFTER_TIME].
5870 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5871 Define shm_segsz and associated padding based on
5872 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5873 Use __syscall_ulong_t instead of unsigned long int.
5874 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5876 [__USE_MISC] (struct shm_info): Likewise.
5877 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5878 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5879 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5880 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5881 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5882 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5883 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5884 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5886 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5887 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5891 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5892 (SHMLBA): Remove macro.
5893 (__getpagesize): Remove function declaration.
5894 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5896 (SHMLBA): Remove macro.
5897 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5899 (SHMLBA): Remove macro.
5900 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5902 (SHMLBA): Remove macro.
5903 (__getpagesize): Remove function declaration.
5904 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5906 (SHMLBA): Remove macro.
5907 (__getshmlba): Remove function declaration.
5908 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5909 (SHMLBA): Remove macro.
5910 (__getpagesize): Remove function declaration.
5911 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5912 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5913 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5914 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5915 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5916 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5917 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5918 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5919 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5920 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5922 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5925 * nptl/tst-mutex10.c: New File.
5926 * nptl/Makefile (tests): Add tst-mutex10.
5927 (tst-mutex10-ENV): New variable.
5928 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5929 Ensure that elision path is used if elision is available.
5930 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5932 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5934 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5935 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5936 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5937 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5939 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5940 (__pthread_mutex_cond_lock_adjust): Likewise.
5941 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5943 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5944 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5945 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5946 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5948 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5949 Use atomic_load_relaxed and atomic_store_relaxed.
5950 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5951 Use atomic_store_relaxed.
5953 2018-10-17 Andreas Schwab <schwab@suse.de>
5955 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5956 * crypt/badsalttest.c (TIMEOUT): Likewise.
5957 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5958 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5959 * io/test-lfs.c (TIMEOUT): Likewise.
5960 * libio/tst-atime.c (TIMEOUT): Likewise.
5961 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5962 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5963 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5964 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5965 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5966 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5967 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5968 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5969 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5970 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5971 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5972 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5973 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5974 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5975 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5976 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5977 * nptl/tst-once2.c (TIMEOUT): Likewise.
5978 * nptl/tst-once3.c (TIMEOUT): Likewise.
5979 * nptl/tst-once4.c (TIMEOUT): Likewise.
5980 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5981 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5982 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5983 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5984 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5985 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5986 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5987 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5988 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5989 * posix/tst-chmod.c (TIMEOUT): Likewise.
5990 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5991 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5992 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5993 * posix/tst-regex2.c (TIMEOUT): Likewise.
5994 * posix/tst-waitid.c (TIMEOUT): Likewise.
5995 * rt/tst-aio.c (TIMEOUT): Likewise.
5996 * rt/tst-aio10.c (TIMEOUT): Likewise.
5997 * rt/tst-aio4.c (TIMEOUT): Likewise.
5998 * rt/tst-aio5.c (TIMEOUT): Likewise.
5999 * rt/tst-aio6.c (TIMEOUT): Likewise.
6000 * rt/tst-aio64.c (TIMEOUT): Likewise.
6001 * rt/tst-aio7.c (TIMEOUT): Likewise.
6002 * rt/tst-aio9.c (TIMEOUT): Likewise.
6003 * rt/tst-clock.c (TIMEOUT): Likewise.
6004 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6005 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6006 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6007 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6008 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6009 * rt/tst-timer4.c (TIMEOUT): Likewise.
6010 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6011 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6012 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6013 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6014 * time/tst-ftime.c (TIMEOUT): Likewise.
6015 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6017 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6019 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6020 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6023 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6027 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6028 instead of <bits/wordsize.h>.
6029 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6030 and [__SEM_PAD_AFTER_TIME].
6031 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6032 __syscall_ulong_t instead of unsigned long int.
6033 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6034 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6035 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6036 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6037 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6038 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6039 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6040 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6041 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6043 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6045 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6047 regex: simplify by using intprops.h
6049 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6050 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6051 intprops.h defines them.
6053 regex: __builtin_expect → __glibc_unlikely
6055 This refactoring was prompted by a problem when the regex code is
6056 used as part of Gnulib and when the builder’s compiler does not grok
6057 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6058 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6059 Although this refactoring does not fix the problem directly,
6060 we might as well have Gawk use the now-preferred glibc style for when
6061 __builtin_expect is unavailable.
6062 * posix/regex_internal.h (BE): Remove.
6063 All uses replaced by __glibc_unlikely or __glibc_likely.
6065 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6069 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6070 instead of <bits/wordsize.h>.
6071 (msgqnum_t): Define as __syscall_ulong_t.
6072 (msglen_t): Likewise.
6073 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6074 and [__MSQ_PAD_AFTER_TIME].
6075 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6076 __syscall_ulong_t instead of unsigned long int.
6077 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6078 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6079 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6082 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6083 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6084 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6087 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6089 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6091 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6092 (struct shmid_ds): Condition padding after time fields on
6094 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6095 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6096 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6098 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6099 (struct semid_ds): Condition padding after time fields on
6101 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6102 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6103 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6104 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6106 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6107 (struct msqid_ds): Condition padding after time fields on
6109 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6110 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6111 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6112 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6114 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6116 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6118 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6120 * libio/tst-readline.c (TIMEOUT): Define.
6122 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6124 mktime fix for Gnulib + coreutils
6126 This fix affects only Gnulib. Problem discovered when
6127 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6129 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6130 Do not define since it is not used. Defining an unused static
6131 function prompts a warning from GCC when Coreutils is configured
6132 with --enable-gcc-warnings.
6134 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6136 * benchtests/scripts/compare_bench.py (main): set float type on
6139 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6142 * localedata/locales/kl_GL (mon): Update, the relative case.
6143 (alt_mon): Add, fill with month names in the nominative case.
6144 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6145 (d_fmt): Set to "%b %d %Y".
6147 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6149 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6150 <bits/mman-linux.h>.
6151 (PROT_READ): Don't define here.
6152 (PROT_WRITE): Likewise.
6153 (PROT_EXEC): Likewise.
6154 (PROT_NONE): Likewise.
6155 (PROT_GROWSDOWN): Likewise.
6156 (PROT_GROWSUP): Likewise.
6157 (MAP_SHARED): Likewise.
6158 (MAP_PRIVATE): Likewise.
6159 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6160 [__USE_MISC] (MAP_FILE): Likewise.
6161 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6162 [__USE_MISC] (MAP_ANON): Likewise.
6163 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6164 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6165 (MCL_CURRENT): Likewise.
6166 (MCL_FUTURE): Likewise.
6167 (MCL_ONFAULT): Likewise.
6168 [__USE_MISC] (MADV_NORMAL): Likewise.
6169 [__USE_MISC] (MADV_RANDOM): Likewise.
6170 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6171 [__USE_MISC] (MADV_WILLNEED): Likewise.
6172 [__USE_MISC] (MADV_DONTNEED): Likewise.
6173 [__USE_MISC] (MADV_FREE): Likewise.
6174 [__USE_MISC] (MADV_REMOVE): Likewise.
6175 [__USE_MISC] (MADV_DONTFORK): Likewise.
6176 [__USE_MISC] (MADV_DOFORK): Likewise.
6177 [__USE_MISC] (MADV_HWPOISON): Likewise.
6178 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6179 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6180 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6181 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6182 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6183 (__MAP_ANONYMOUS): New macro.
6184 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6185 <bits/mman-linux.h> inclusion.
6186 (MAP_FIXED): Likewise.
6187 (MS_SYNC): Likewise.
6188 (MS_ASYNC): Likewise.
6189 (MS_INVALIDATE): Likewise.
6190 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6191 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6192 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6193 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6194 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6195 [__USE_MISC] (MADV_DODUMP): Likewise.
6196 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6197 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6200 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6202 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6203 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6204 Add test-nldbl-redirect.
6205 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6206 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6207 $(objpfx)libnldbl_nonshared.a.
6209 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6211 * support/support.h (support_objdir_elf_ldso): New variable.
6212 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6213 * support/Makefile (CFLAGS-support_paths.c): Add definition
6214 for OBJDIR_ELF_LDSO_PATH.
6215 * support/test-container.c (main): Search for the ld.so
6216 which is also used by the testsuite.
6218 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6221 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6222 should be "sap" rather than "sab".
6223 (day): Fix spelling of Sunday, should be "sapaat" rather than
6226 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6228 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6230 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6233 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6234 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6235 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6237 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6239 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6241 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6243 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6245 (CFLAGS-elision-unlock.c): Likewise.
6246 (CFLAGS-elision-timed.c): Likewise.
6247 (CFLAGS-elision-trylock.c): Likewise.
6248 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6250 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6253 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6254 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6255 new fd_to_filename interface.
6256 * libio/freopen64.c (freopen64): Likewise.
6257 * libio/tst-memstream.h: New file.
6258 * libio/tst-memstream4.c: Likewise.
6259 * libio/tst-wmemstream4.c: Likewise.
6260 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6261 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6262 and remove internal dynamic allocation.
6264 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6267 (MREMAP_MAYMOVE): Do not define here.
6268 [__USE_GNU] (MREMAP_FIXED): Likewise.
6269 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6270 (MREMAP_MAYMOVE): Define here instead.
6271 [__USE_GNU] (MREMAP_FIXED): Likewise.
6272 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6273 (MREMAP_MAYMOVE): Remove.
6274 [__USE_GNU] (MREMAP_FIXED): Likewise.
6276 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6278 * math/fromfp.h: Do not include <math_private.h>.
6279 * math/s_cacosh_template.c: Likewise.
6280 * math/s_casin_template.c: Likewise.
6281 * math/s_casinh_template.c: Likewise.
6282 * math/s_ccos_template.c: Likewise.
6283 * math/s_cproj_template.c: Likewise.
6284 * math/s_fdim_template.c: Likewise.
6285 * math/s_fmaxmag_template.c: Likewise.
6286 * math/s_fminmag_template.c: Likewise.
6287 * math/s_iseqsig_template.c: Likewise.
6288 * math/s_ldexp_template.c: Likewise.
6289 * math/s_nextdown_template.c: Likewise.
6290 * math/w_log1p_template.c: Likewise.
6291 * math/w_scalbln_template.c: Likewise.
6292 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6293 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6294 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6295 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6296 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6297 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6298 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6299 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6300 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6301 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6302 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6303 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6304 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6305 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6306 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6307 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6308 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6313 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6314 * sysdeps/ieee754/k_standardf.c: Likewise.
6315 * sysdeps/ieee754/k_standardl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6318 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6325 * sysdeps/ieee754/s_signgam.c: Likewise.
6326 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6327 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6328 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6329 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6330 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6331 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6332 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6333 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6334 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6335 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6336 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6337 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6338 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6339 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6340 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6341 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6342 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6343 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6344 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6345 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6346 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6347 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6348 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6349 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6350 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6351 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6352 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6353 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6354 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6355 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6356 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6357 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6358 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6359 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6360 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6361 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6362 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6364 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6366 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6369 * sysdeps/i386/dl-cet.c: Removed.
6370 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6372 (_dl_runtime_profile_shstk): Likewise.
6373 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6374 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6376 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6379 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6380 do_test_with_invalid_iov): New tests.
6381 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6382 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6383 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6385 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6386 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6387 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6389 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6391 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6392 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6393 (MATH_REDIRECT_BINARY_ARGS): New macro.
6394 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6395 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6396 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6398 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6400 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6411 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6412 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6417 * sysdeps/generic/math_private_calls.h
6418 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6419 Do not declare and define as an inline function.
6420 * math/divtc3.c (__divtc3): Use copysign functions instead of
6421 __copysign variants.
6422 * math/multc3.c (__multc3): Likewise.
6423 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6424 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6425 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6426 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6429 (__ieee754_yn): Likewise.
6430 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6431 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6433 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6434 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6436 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6443 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6444 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6446 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6447 (__ieee754_ynf): Likewise.
6448 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6449 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6451 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6453 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6454 (__ieee754_ynl): Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6460 (__ieee754_ynl): Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6464 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6470 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6471 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6472 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6474 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6475 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6476 using MATH_REDIRECT.
6477 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6479 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6482 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6483 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6490 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6491 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6493 (round): Redirect to __round.
6494 (__roundl): Call round instead of __round.
6495 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6497 [_ARCH_PWR5X] (__roundf): Likewise.
6498 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6499 functions instead of __round variants.
6500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6503 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6507 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6510 (__ieee754_expl): Call roundl instead of __roundl.
6512 2018-09-27 Andreas Schwab <schwab@suse.de>
6515 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6516 (do_test): Make st1 static.
6518 2018-09-26 Andreas Schwab <schwab@suse.de>
6521 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6522 * elf/Makefile (tests): Add tst-unwind-ctor.
6523 (modules-names): Add tst-unwind-ctor-lib.
6524 ($(objpfx)tst-unwind-ctor): Depend on
6525 $(objpfx)tst-unwind-ctor-lib.so.
6527 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6529 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6530 file. Most contents moved from ....
6531 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6532 and include <bits/mman-map-flags-generic.h>.
6533 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6534 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6535 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6536 <bits/mman-map-flags-generic.h>.
6537 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6538 macros defined in <bits/mman-map-flags-generic.h>.
6539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6540 <bits/mman-map-flags-generic.h>.
6541 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6542 defined in <bits/mman-map-flags-generic.h>.
6544 2018-09-26 Andreas Schwab <schwab@suse.de>
6546 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6549 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6550 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6551 Fangrui Song <maskray@google.com>
6554 * config.make.in (have-textrel_ifunc): New define.
6555 * configure.ac: Add check if linker supports textrel relocation with
6557 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6559 (CFLAGS-tst-ifunc-textrel.c): New rule.
6560 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6561 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6562 * elf/tst-ifunc-textrel.c: New file.
6564 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6566 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6567 <bits/procfs-prregset.h>.
6568 (prgregset_t): Define using __prgregset_t.
6569 (prfpregset_t): Define using __prfpregset_t.
6570 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6571 (sysdep_headers): Add bits/procfs-prregset.h.
6572 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6573 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6574 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6575 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6577 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6578 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6579 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6582 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6583 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6584 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6585 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6586 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6587 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6588 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6589 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6590 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6591 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6592 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6593 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6594 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6595 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6596 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6597 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6598 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6599 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6600 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6602 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6604 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6606 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6607 AArch64 version. Include <bits/procfs.h>.
6608 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6609 (sysdep_headers): Add bits/procfs.h.
6610 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6611 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6612 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6613 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6614 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6615 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6616 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6618 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6619 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6620 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6621 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6622 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6623 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6624 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6626 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6628 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6630 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6633 2018-09-25 Arjun Shankar <arjun@redhat.com>
6635 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6636 (__gconv_max_path_elem_len): Likewise.
6637 (__gconv_nmodules): Likewise.
6638 (__gconv_get_path): Likewise.
6639 (path_elem): Move to ...
6640 * iconv/gconv_conf.c: ... here.
6641 (__gconv_get_path): Mark function static.
6642 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6643 * iconv/gconv_open.c: ... here.
6645 2018-09-24 Andreas Schwab <schwab@suse.de>
6647 * scripts/haveversions.awk: New file.
6648 * Makerules ($(common-objpfx)Versions.def)
6649 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6650 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6652 * Makeconfig ($(common-objpfx)Versions.def)
6653 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6654 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6656 ($(common-objpfx)Versions.mk): New rule. Include it.
6657 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6658 Emit error if build-obsolete-nsl = yes.
6659 * manual/install.texi (Configuring and compiling): Describe
6660 --enable-obsolete-nsl as unavaiable after version 2.28.
6661 * INSTALL: Regenerate.
6663 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6665 * NEWS: Add note about new TLE support on powerpc64le.
6666 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6667 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6669 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6670 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6671 * sysdeps/powerpc/powerpc32/sysdep.h,
6672 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6673 ABORT_TRANSACTION): Remove macros.
6674 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6676 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6678 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6679 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6681 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6683 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6686 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6687 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6688 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6689 which is the same as in it_IT.
6690 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6691 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6693 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6695 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6696 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6697 using MATH_REDIRECT.
6698 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6700 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6702 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6710 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6711 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6712 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6713 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6714 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6715 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6716 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6718 (ceil): Redirect to __ceil.
6719 (floor): Redirect to __floor.
6720 (trunc): Redirect to __trunc.
6721 (__truncl): Call trunc instead of __trunc.
6722 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6724 [_ARCH_PWR5X] (__truncf): Likewise.
6725 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6726 trunc functions instead of __trunc variants.
6727 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6736 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6737 [__i586__ || __pentium__].
6738 [__i486__]: Handle explicitly.
6739 (HAS_CPUID): Define to 1 if above macros are undefined.
6740 (HAS_I586): Likewise.
6741 (HAS_I686): Likewise.
6743 2018-09-20 Florian Weimer <fweimer@redhat.com>
6745 * misc/tst-gethostid.c: New file.
6746 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6747 (tst-gethostid): Link with -ldl.
6749 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6751 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6752 value from gethostbyname_r.
6754 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6756 * stdlib/tst-setcontext9.c (f1): Rename to...
6758 (f1b): New function implementing lower half of f1 in alternate stack.
6760 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6762 Fix mktime localtime offset confusion
6764 * include/time.h (__mktime_internal): The localtime offset is now
6765 of type long int instead of time_t. This is the longstanding type
6766 in glibc, and it is more than enough to represent difference
6767 between localtime and gmtime even if it is 32 bits and time_t is
6768 64. Changing it now will let us avoid an unnecessary change when
6769 time_t is widened to 64 bits on 32-bit platforms.
6770 * time/mktime-internal.h (mktime_offset_t): Now long int.
6772 Merge mktime, timegm from upstream Gnulib
6773 [BZ #23603][BZ #16346]
6774 This fixes some obscure problems with integer overflow.
6775 Although it looks scary, it is almost all a byte-for-byte copy
6776 from Gnulib, and the Gnulib code has been tested reasonably well.
6777 * include/intprops.h: New file, copied from Gnulib.
6778 * include/verify.h, time/mktime-internal.h:
6779 New tiny files, simplified from Gnulib.
6780 * time/mktime.c: Copy from Gnulib. This has the following changes:
6781 Do not include config.h if DEBUG_MKTIME is nonzero.
6782 Include stdbool.h, intprops.h, verify.h.
6783 Include string.h only if needed.
6784 Include stdlib.h on MS-Windows.
6785 Include mktime-internal.h.
6786 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6787 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6788 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6789 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6790 simplify later conditionals; default the others to zero. Use
6791 these conditionals to express only the code needed on the current
6792 platform. In uses of these conditionals, explicitly spell out how
6793 _LIBC affects things, so it’s easier to review from a glibc
6795 (WRAPV): Remove; no longer needed now that we have
6796 systematic overflow checking.
6797 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6798 compartmentalize tzset issues. Move system-dependent tzsettish
6799 code here from mktime.
6800 (verify): Remove; now done by verify.h. All uses changed.
6801 (long_int): Use a more-conservative definition, to avoid
6803 (SHR): Remove, replacing with ...
6804 (shr): New function, which means we needn’t worry about side
6805 effects in args, and conversion analysis is simpler.
6806 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6807 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6808 (time_t_avg, time_t_add_ok): Remove.
6809 (mktime_min, mktime_max): New constants.
6810 (leapyear, isdst_differ): Use bool for booleans.
6811 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6812 Use long_int, not time_t, for mktime differences.
6813 (long_int_avg): New function, replacing time_t_avg.
6814 INT_ADD_WRAPV replaces time_t_add_ok.
6815 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6817 (convert_time): New function.
6818 (ranged_convert): Use it.
6819 (__mktime_internal): Last arg now points to mktime_offset_t, not
6820 time_t. All uses changed. This is a no-op on glibc, where
6821 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6822 offset guess. Directly check for integer overflow instead of
6823 using a heuristic that works only 99.9...% of the time.
6824 Access *OFFSET only once, to avoid an unlikely race if the
6825 compiler delays a load and if this cascades into a signed integer
6827 (mktime): Move tzsettish code to my_tzset, and move
6828 localtime_offset to within mktime so that it doesn’t
6829 need a separate ifdef.
6830 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6831 instead of localtime.
6832 * time/timegm.c: Copy from Gnulib. This has the following changes:
6833 Include mktime-internal.h.
6834 [!_LIBC]: Include config.h and time.h. Do not include
6835 timegm.h or time_r.h. Make __mktime_internal a macro,
6836 and include mktime-internal.h to get its declaration.
6837 (timegm): Temporary is now mktime_offset_t, not time_t.
6838 This affects only Gnulib.
6840 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6843 * string/test-strstr.c (pr23637): New function.
6844 (test_main): Add tests with longer needles.
6845 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6846 * string/strstr.c (AVAILABLE): Likewise.
6848 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6850 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6852 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6854 * NEWS: Mention pow improvements.
6855 * math/Makefile (type-double-routines): Add e_pow_log_data.
6856 * sysdeps/generic/math_private.h (__exp1): Remove.
6857 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6858 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6859 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6861 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6862 (exp_inline): Remove.
6863 (__ieee754_exp): Only single double input is handled.
6864 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6865 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6866 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6867 (__pow_log_data): Define.
6868 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6869 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6870 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6873 (CFLAGS-e_pow-fma4.c): Likewise.
6875 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6877 Simplify tzfile fstat failure code
6879 * time/tzfile.c (__tzfile_read): Simplify slightly.
6881 Fix tzfile low-memory assertion failure
6883 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6884 when registering time zone abbreviations.
6886 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6889 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6890 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6891 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6892 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6893 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6894 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6900 (__ceill): Call ceil instead of __ceil.
6901 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6903 (__floorl): Call floor instead of __floor.
6905 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6907 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6908 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6909 using MATH_REDIRECT.
6910 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6912 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6915 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6919 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6924 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6925 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6928 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6929 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6930 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6932 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6933 functions instead of __ceil variants.
6934 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6935 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6939 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6940 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6942 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6943 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6946 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6948 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6949 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6950 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6951 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6952 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6953 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6954 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6955 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6956 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6957 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6958 (ILL_BADIADDR): Remove constant.
6959 (TRAP_BRANCH): Likewise.
6960 (TRAP_HWBKPT): Likewise.
6962 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6965 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6966 Remove [_MIPS_SIM = _ABIN32] conditional case.
6967 (struct elf_prpsinfo): Likewise.
6970 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6971 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6972 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6974 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6975 elf_prpsinfo): Likewise.
6976 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6977 elf_prpsinfo): Likewise.
6978 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6981 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6982 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6983 using MATH_REDIRECT.
6984 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6986 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6987 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6988 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6989 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6992 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6993 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6996 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6997 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6998 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6999 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7000 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7001 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7002 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7003 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7004 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7009 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7010 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7011 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7012 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7014 * math/e_scalbf.c (invalid_fn): Likewise.
7015 * math/e_scalbl.c (invalid_fn): Likewise.
7016 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7018 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7021 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7022 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7024 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7028 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7029 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7031 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7032 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7034 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7035 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7036 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7037 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7038 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7039 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7040 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7041 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7042 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7043 && !NO_MATH_REDIRECT] (floor): Likewise.
7044 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7046 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7049 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7050 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7053 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7058 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7059 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7062 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7063 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7064 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7066 [_ARCH_PWR5X] (__floorf): Likewise.
7067 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7069 [__SSE4_1__] (__floorf): Likewise.
7070 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7071 instead of __floor variants.
7072 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7073 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7074 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7075 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7076 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7077 * math/w_tgamma_compat.c (__tgamma): Likewise.
7078 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7079 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7080 * math/w_tgammal_compat.c (__tgammal): Likewise.
7081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7084 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7086 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7089 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7090 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7092 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7100 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7101 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7102 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7103 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7105 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7107 * elf/Makefile (modules-names-tests): New variable.
7109 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7111 * NEWS: Mention log2 improvements.
7112 * math/Makefile (type-double-routines): Add e_log2_data.
7113 * sysdeps/i386/fpu/e_log2_data.c: New file.
7114 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7115 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7116 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7117 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7118 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7119 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7121 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7123 * NEWS: Mention log improvement.
7124 * math/Makefile (type-double-routines): Add e_log_data.
7125 * sysdeps/i386/fpu/e_log_data.c: New file.
7126 * sysdeps/ia64/fpu/e_log_data.c: New file.
7127 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7128 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7129 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7130 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7131 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7132 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7134 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7135 Xuepeng Guo <xuepeng.guo@intel.com>
7138 * sysdeps/i386/start.S: Include <sysdep.h>
7139 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7140 enabled. Add cfi_undefined (eip).
7142 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7146 (EXTRACT_WORDS64): Likewise.
7147 (INSERT_WORDS64): Likewise.
7148 (GET_FLOAT_WORD): Likewise.
7149 (SET_FLOAT_WORD): Likewise.
7151 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7153 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7154 build, but not for second build if --full-gcc. Use
7155 --enable-languages=all for second build if --full-gcc.
7156 (get_parser): Add --full-gcc option.
7157 (main): Update call to Context.
7159 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7162 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7163 Single Quotation Mark).
7164 (thousands_sep): Likewise.
7165 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7166 * localedata/locales/it_IT (thousands_sep): Use ".".
7167 (grouping): Use "3;3".
7169 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7171 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7172 x86_64 and i686 configs using --enable-obsolete-rpc
7173 --enable-obsolete-nsl.
7175 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7177 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7179 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7181 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7182 Increment size of new_argv by one.
7184 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7187 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7188 * localedata/locales/ar_IN (d_fmt): Likewise.
7189 * localedata/locales/bhb_IN (d_fmt): Likewise.
7190 * localedata/locales/bho_IN (d_fmt): Likewise.
7191 * localedata/locales/bn_BD (d_fmt): Likewise.
7192 * localedata/locales/bn_IN (d_fmt): Likewise.
7193 * localedata/locales/doi_IN (d_fmt): Likewise.
7194 * localedata/locales/gu_IN (d_fmt): Likewise.
7195 * localedata/locales/hi_IN (d_fmt): Likewise.
7196 * localedata/locales/hne_IN (d_fmt): Likewise.
7197 * localedata/locales/kn_IN (d_fmt): Likewise.
7198 * localedata/locales/mag_IN (d_fmt): Likewise.
7199 * localedata/locales/mai_IN (d_fmt): Likewise.
7200 * localedata/locales/mjw_IN (d_fmt): Likewise.
7201 * localedata/locales/ml_IN (d_fmt): Likewise.
7202 * localedata/locales/mni_IN (d_fmt): Likewise.
7203 * localedata/locales/mr_IN (d_fmt): Likewise.
7204 * localedata/locales/pa_IN (d_fmt): Likewise.
7205 * localedata/locales/raj_IN (d_fmt): Likewise.
7206 * localedata/locales/sat_IN (d_fmt): Likewise.
7207 * localedata/locales/sd_IN (d_fmt): Likewise.
7208 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7209 * localedata/locales/ta_IN (d_fmt): Likewise.
7210 * localedata/locales/ta_LK (d_fmt): Likewise.
7211 * localedata/locales/tcy_IN (d_fmt): Likewise.
7212 * localedata/locales/ur_IN (d_fmt): Likewise.
7214 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7215 * localedata/locales/ks_IN (d_fmt): Likewise.
7216 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7218 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7219 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7220 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7221 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7223 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7225 * NEWS: Mention exp and exp2 improvements.
7226 * math/Makefile (libm-support): Remove t_exp.
7227 (type-double-routines): Add math_err and e_exp_data.
7228 * sysdeps/aarch64/libm-test-ulps: Update.
7229 * sysdeps/arm/libm-test-ulps: Update.
7230 * sysdeps/i386/fpu/e_exp_data.c: New file.
7231 * sysdeps/i386/fpu/math_err.c: New file.
7232 * sysdeps/i386/fpu/t_exp.c: Remove.
7233 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7234 * sysdeps/ia64/fpu/math_err.c: New file.
7235 * sysdeps/ia64/fpu/t_exp.c: Remove.
7236 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7237 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7238 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7239 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7240 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7241 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7242 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7243 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7244 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7245 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7246 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7247 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7248 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7249 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7253 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7255 * sysdeps/alpha/fpu/math_private.h: Remove.
7257 * sysdeps/generic/math_private.h
7258 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7259 Move this inline function ....
7260 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7261 * include/math.h [!_ISOMAC]: To here....
7263 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7265 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7267 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7268 * include/fenv.h [!_ISOMAC]: ... to here.
7269 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7270 (feraiseexcept): Likewise.
7271 * math/fromfp.h: Do not include <fenv_private.h>.
7272 * math/s_cexp_template.c: Likewise.
7273 * math/s_csin_template.c: Likewise.
7274 * math/s_csinh_template.c: Likewise.
7275 * math/s_ctan_template.c: Likewise.
7276 * math/s_ctanh_template.c: Likewise.
7277 * math/s_iseqsig_template.c: Likewise.
7278 * math/w_acos_compat.c: Likewise.
7279 * math/w_acosf_compat.c: Likewise.
7280 * math/w_acosl_compat.c: Likewise.
7281 * math/w_asin_compat.c: Likewise.
7282 * math/w_asinf_compat.c: Likewise.
7283 * math/w_asinl_compat.c: Likewise.
7284 * math/w_j0_compat.c: Likewise.
7285 * math/w_j0f_compat.c: Likewise.
7286 * math/w_j0l_compat.c: Likewise.
7287 * math/w_j1_compat.c: Likewise.
7288 * math/w_j1f_compat.c: Likewise.
7289 * math/w_j1l_compat.c: Likewise.
7290 * math/w_jn_compat.c: Likewise.
7291 * math/w_jnf_compat.c: Likewise.
7292 * math/w_log10_compat.c: Likewise.
7293 * math/w_log10f_compat.c: Likewise.
7294 * math/w_log10l_compat.c: Likewise.
7295 * math/w_log2_compat.c: Likewise.
7296 * math/w_log2f_compat.c: Likewise.
7297 * math/w_log2l_compat.c: Likewise.
7298 * math/w_log_compat.c: Likewise.
7299 * math/w_logf_compat.c: Likewise.
7300 * math/w_logl_compat.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7306 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7307 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7309 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7310 * sysdeps/ieee754/k_standardl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7328 * math/w_ilogb_template.c: Include <fenv.h> instead of
7330 * math/w_llogb_template.c: Likewise.
7331 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7332 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7334 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7336 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7337 * math/fromfp.h: Include <fenv_private.h>.
7338 * math/math-narrow.h: Likewise.
7339 * math/s_cexp_template.c: Likewise.
7340 * math/s_csin_template.c: Likewise.
7341 * math/s_csinh_template.c: Likewise.
7342 * math/s_ctan_template.c: Likewise.
7343 * math/s_ctanh_template.c: Likewise.
7344 * math/s_iseqsig_template.c: Likewise.
7345 * math/w_acos_compat.c: Likewise.
7346 * math/w_acosf_compat.c: Likewise.
7347 * math/w_acosl_compat.c: Likewise.
7348 * math/w_asin_compat.c: Likewise.
7349 * math/w_asinf_compat.c: Likewise.
7350 * math/w_asinl_compat.c: Likewise.
7351 * math/w_ilogb_template.c: Likewise.
7352 * math/w_j0_compat.c: Likewise.
7353 * math/w_j0f_compat.c: Likewise.
7354 * math/w_j0l_compat.c: Likewise.
7355 * math/w_j1_compat.c: Likewise.
7356 * math/w_j1f_compat.c: Likewise.
7357 * math/w_j1l_compat.c: Likewise.
7358 * math/w_jn_compat.c: Likewise.
7359 * math/w_jnf_compat.c: Likewise.
7360 * math/w_llogb_template.c: Likewise.
7361 * math/w_log10_compat.c: Likewise.
7362 * math/w_log10f_compat.c: Likewise.
7363 * math/w_log10l_compat.c: Likewise.
7364 * math/w_log2_compat.c: Likewise.
7365 * math/w_log2f_compat.c: Likewise.
7366 * math/w_log2l_compat.c: Likewise.
7367 * math/w_log_compat.c: Likewise.
7368 * math/w_logf_compat.c: Likewise.
7369 * math/w_logl_compat.c: Likewise.
7370 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7371 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7372 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7373 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7398 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7399 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7400 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7401 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7402 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7403 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7404 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7405 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7406 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7407 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7408 * sysdeps/ieee754/k_standardl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7439 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7440 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7445 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7446 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7447 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7448 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7449 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7450 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7451 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7452 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7453 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7454 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7455 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7456 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7457 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7458 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7459 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7460 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7461 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7462 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7463 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7464 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7465 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7466 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7467 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7468 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7469 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7470 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7471 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7472 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7473 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7474 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7475 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7476 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7477 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7478 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7479 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7481 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7484 * include/stdio.h (__libc_fatal): Mention newline in comment.
7485 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7486 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7488 * nss/nsswitch.c (__nss_next2): Likewise.
7489 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7490 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7491 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7492 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7493 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7494 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7495 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7496 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7497 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7498 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7499 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7500 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7501 (__netlink_assert_response): Likewise.
7503 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7505 * conform/glibcconform.py: New file.
7506 * conform/list-header-symbols.py: Likewise.
7507 * conform/list-header-symbols.pl: Remove.
7508 * conform/Makefile (tests-special): Only add linknamespace tests
7510 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7512 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7515 * support/Makefile (libsupport-routines): Add
7516 support_copy_file_range and xcopy_file_range.
7517 * support/support.h: Include <sys/types.h>.
7518 (support_copy_file_range): New prototype.
7519 * support/support_copy_file_range.c: New file. Copied and
7520 modified from io/copy_file_range-compat.c.
7521 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7522 instead of copy_file_range.
7523 * support/xcopy_file_range.c: New file.
7524 * support/xunistd.h (xcopy_file_range): New prototype.
7526 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7528 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7529 xpthread_create and xpthread_join.
7531 2018-08-30 Florian Weimer <fweimer@redhat.com>
7533 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7535 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7537 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7540 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7542 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7543 and minus_oflow as non-finite.
7545 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7547 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7548 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7549 moved to fenv_private.h except for ...
7550 (TOINT_INTRINSICS): Kept in math_private.h.
7551 (roundtoint): Likewise.
7552 (converttoint): Likewise.
7553 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7554 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7555 * sysdeps/arm/math_private.h: Remove.
7556 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7558 * sysdeps/generic/math_private.h: ... this file. Include
7559 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7560 Include <fenv_private.h>. Remove functions and macros moved to
7562 * sysdeps/i386/fpu/math_private.h: Remove.
7563 * sysdeps/mips/math_private.h: Move to ....
7564 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7565 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7566 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7567 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7568 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7569 * sysdeps/powerpc/fpu/math_private.h: Do not include
7571 * sysdeps/riscv/rvf/math_private.h: Move to ....
7572 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7573 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7575 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7576 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7577 * sysdeps/sparc/fpu/math_private.h: Remove.
7578 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7579 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7580 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7582 * sysdeps/x86_64/fpu/math_private.h: Do not include
7583 <sysdeps/i386/fpu/fenv_private.h>.
7585 2018-08-28 Florian Weimer <fweimer@redhat.com>
7588 * posix/tst-regcomp-truncated.c: New file.
7589 * posix/Makefile (tests): Add it.
7590 (tst-regcomp-truncated.out): Depend on generated locales.
7592 2018-08-28 Florian Weimer <fweimer@redhat.com>
7594 * support/test-container.c (main): Treat unshare failure with
7595 EPERM as an unsupported test.
7597 2018-08-28 Florian Weimer <fweimer@redhat.com>
7600 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7601 * nscd/netgroupcache.c
7602 (addgetnetgrentX): Add tofreep parameter. Do not free
7603 heap-allocated buffer.
7604 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7605 (addgetnetgrentX_ignore): New function.
7606 (addgetnetgrent): Call it.
7607 (readdgetnetgrent): Likewise.
7609 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7611 * string/memmem.c: Use memcmp for first match.
7613 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7616 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7618 2018-08-27 DJ Delorie <dj@redhat.com>
7620 * support/Makefile (others): Don't list programs explicitly as a
7621 dependency of "others".
7623 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7625 * sysdeps/generic/math-tests-trap-force.h: New file.
7626 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7627 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7628 * sysdeps/powerpc/math-tests.h: Remove file.
7629 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7631 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7632 Torvald Riegel <triegel@redhat.com>
7635 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7636 Update r to include the set wake-request flag if waiters are
7637 remaining after spinning.
7639 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7641 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7643 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7646 regex: fix uninitialized memory access
7647 I introduced this bug into gnulib in commit
7648 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7649 eventually it was merged into glibc. The bug was found by
7650 project-repo <bugs@feusi.co> and reported here:
7651 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7652 Diagnosis and draft fix reported by Assaf Gordon here:
7653 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7654 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7655 * posix/regex_internal.c (build_wcs_upper_buffer):
7656 Fix bug when mbrtowc returns 0.
7658 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7660 * po/be.po: Update translation.
7662 2018-08-24 DJ Delorie <dj@delorie.com>
7664 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7667 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7670 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7671 create temporary files in source tree.
7673 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7675 * sysdeps/generic/math-tests-trap.h: New file.
7676 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7677 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7678 * sysdeps/aarch64/math-tests.h: Remove file.
7679 * sysdeps/arm/math-tests.h: Likewise.
7680 * sysdeps/riscv/math-tests.h: Likewise.
7681 * sysdeps/aarch64/math-tests-trap.h: New file.
7682 * sysdeps/arm/math-tests-trap.h: Likewise.
7683 * sysdeps/riscv/math-tests-trap.h: Likewise.
7685 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7687 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7688 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7689 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7690 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7691 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7692 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7696 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7697 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7698 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7699 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7700 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7701 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7702 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7703 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7704 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7706 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7708 * sysdeps/generic/math-tests-exceptions.h: New file.
7709 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7710 (EXCEPTION_TESTS_float): Do not define here.
7711 (EXCEPTION_TESTS_double): Likewise.
7712 (EXCEPTION_TESTS_long_double): Likewise.
7713 (EXCEPTION_TESTS_float128): Likewise.
7714 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7716 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7717 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7718 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7719 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7720 * sysdeps/mips/math-tests.h: Likewise.
7721 * sysdeps/nios2/math-tests.h: Likewise.
7722 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7723 (EXCEPTION_TESTS_float): Do not define here.
7724 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7725 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7726 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7728 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7730 * NEWS: Move optimized sinf entry to 2.29.
7732 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7734 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7736 2018-08-22 DJ Delorie <dj@redhat.com>
7738 * Makefile (testroot.pristine): New rules to initialize the
7739 test-in-container "testroot".
7740 * Makerules (all-testsuite): Add tests-container.
7741 * Rules (tests-expected): Add tests-container.
7742 (binaries-all-tests): Likewise.
7743 (tests-container): New, run these tests in the testroot container.
7744 * support/Makefile (others): Add *-container, support_paths.c,
7745 xmkdirp, and links-dso-program.
7746 * support/links-dso-program-c.c: New.
7747 * support/links-dso-program.cc: New.
7748 * support/test-container.c: New.
7749 * support/shell-container.c: New.
7750 * support/echo-container.c: New.
7751 * support/true-container.c: New.
7752 * support/xmkdirp.c: New.
7753 * support/xsymlink.c: New.
7754 * support/support_paths.c: New.
7755 * support/support.h: Add support paths prototypes.
7756 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7758 * nss/tst-nss-test3.c: Convert to test-in-container.
7759 * nss/tst-nss-test3.root/: New.
7761 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7763 regex: port Gnulib code to z/OS POSIX environment
7764 Problem reported by Arnold Robbins in:
7765 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7766 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7769 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7771 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7772 (ROUNDING_TESTS_double): Remove.
7773 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7774 (ROUNDING_TESTS_double): Remove.
7775 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7776 (ROUNDING_TESTS_double): Remove.
7777 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7778 (ROUNDING_TESTS_float): Remove.
7779 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7780 (ROUNDING_TESTS_float): Remove.
7781 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7782 (ROUNDING_TESTS_float): Remove.
7783 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7785 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7786 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7788 * sysdeps/generic/math-tests-rounding.h: New file.
7789 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7790 (ROUNDING_TESTS_float): Do not define here.
7791 (ROUNDING_TESTS_double): Likewise.
7792 (ROUNDING_TESTS_long_double): Likewise.
7793 (ROUNDING_TESTS_float128): Likewise.
7794 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7795 (ROUNDING_TESTS_double): Undefine before defining.
7796 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7797 (ROUNDING_TESTS_double): Undefine before defining.
7798 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7799 (ROUNDING_TESTS_double): Undefine before defining.
7800 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7801 (ROUNDING_TESTS_float): Undefine before defining.
7802 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7803 (ROUNDING_TESTS_float): Undefine before defining.
7804 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7805 (ROUNDING_TESTS_float): Undefine before defining.
7806 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7807 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7809 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7810 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7811 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7812 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7813 (ROUNDING_TESTS_float): Do not define here.
7814 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7815 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7816 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7817 (ROUNDING_TESTS_float): Likewise.
7818 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7819 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7820 * sysdeps/mips/math-tests.h [__mips_soft_float]
7821 (ROUNDING_TESTS_float): Likewise.
7822 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7823 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7824 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7825 (ROUNDING_TESTS_double): Likewise.
7826 (ROUNDING_TESTS_long_double): Likewise.
7828 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7830 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7831 (PF_XDP): New macro.
7832 (AF_XDP): New macro.
7833 (SOL_XDP): New macro.
7835 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7838 (TCP_INQ): Likewise.
7839 (TCP_CM_INQ): Likewise.
7840 (TCP_REPAIR_ON): Likewise.
7841 (TCP_REPAIR_OFF): Likewise.
7842 (TCP_REPAIR_OFF_NO_WP): Likewise.
7843 (struct tcp_zerocopy_receive): New type.
7845 2018-08-21 Florian Weimer <fweimer@redhat.com>
7847 * support/support.h (support_descriptor_supports_holes): Declare.
7848 * support/Makefile (libsupport-routines): Add
7849 support_descriptor_supports_holes.
7850 * support/support_descriptor_supports_holes.c: New file.
7851 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7852 and stop testing if holes are not supported.
7853 * io/test-lfs.c (do_prepare): Likewise.
7854 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7856 * timezone/tst-tzset.c (create_tz_file): Likewise.
7857 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7859 (do_prepare): Set it.
7860 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7862 2018-08-21 Florian Weimer <fweimer@redhat.com>
7865 * Makeconfig (+cflags): Do not sort (and deduplicate).
7867 2018-08-21 Florian Weimer <fweimer@redhat.com>
7869 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7870 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7872 2018-08-20 Florian Weimer <fweimer@redhat.com>
7874 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7875 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7877 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7879 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7880 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7881 and ssi_arch members.
7883 * elf/elf.c (NT_VMCOREDD): New macro.
7884 (AT_MINSIGSTKSZ): Likewise.
7886 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7889 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7890 s_cosf-ppc64 and s_cosf-power8.
7891 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7892 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7893 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7894 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7901 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7902 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7904 2018-08-17 Florian Weimer <fweimer@redhat.com>
7906 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7908 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7910 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7912 2018-08-16 Florian Weimer <fweimer@redhat.com>
7914 * configure.ac: Add --with-nonshared-cflags option.
7915 * config.make.in (extra-nonshared-cflags): Set variable.
7916 * Makeconfig (CFLAGS-.oS): Use it.
7917 * manual/install.texi (Configuring and compiling): Document
7918 --with-nonshared-cflags.
7919 * configure: Regenerate.
7920 * INSTALL: Likewise.
7922 2018-08-16 Florian Weimer <fweimer@redhat.com>
7924 * Makeconfig (ASFLAGS): Always append required assembler flags.
7926 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7928 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7929 (malloc_consolidate): Likewise.
7931 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7933 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7935 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7937 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7940 * benchtests/bench-strlen.c: Print performance numbers in json.
7942 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7944 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7945 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7946 only for little endian.
7947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7948 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7949 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7950 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7951 Add check for little endian.
7952 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7953 (__strcmp_power9): Add check for little endian.
7954 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7955 Add check for little endian.
7956 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7957 (__strncmp_power9): Add check for little endian.
7958 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7959 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7960 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7961 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7962 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7964 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7966 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7967 [!STRLEN](STRLEN): Set to __strlen.
7968 * sysdeps/aarch64/multiarch/strlen.c: New file.
7969 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7970 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7971 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7972 (__libc_ifunc_impl_list): Add strlen.
7973 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7974 strlen_generic and strlen_asimd.
7976 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7979 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7980 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7982 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7986 2018-08-14 Florian Weimer <fweimer@redhat.com>
7989 * include/stdio.h (__vfxprintf): Declare.
7990 * stdio-common/fxprintf.c (__vfxprintf): New function.
7991 (__fxprintf): Call it.
7992 * misc/err.c (convert_and_print): Remove function.
7993 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7994 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7995 * misc/Makefile (tests): Add tst-warn-wide.
7996 * misc/tst-warn-wide.c: New file.
7998 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7999 Szabolcs Nagy <szabolcs.nagy@arm.com>
8001 * NEWS: Mention sinf, cosf, sincosf.
8002 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8003 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8004 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8005 constants rather than including generic sincosf.h.
8006 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8007 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8008 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8009 (reduced_cos): Remove.
8010 (sinf_poly): New function.
8011 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8013 2018-08-14 Florian Weimer <fweimer@redhat.com>
8017 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8018 processing, bail out if no room, and close the stream before
8020 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8021 (tst-nss-files-alias-leak): Link with libdl.
8022 (tst-nss-files-alias-leak.out): Depend on nss_files.
8024 * nss/tst-nss-files-alias-leak.c: New file.
8026 2018-08-14 Florian Weimer <fweimer@redhat.com>
8028 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8029 server_user, stat_user.
8031 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8033 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8035 (io_pgetevents): New syscall.
8038 * manual/install.texi (Configuring and compiling): Do not list
8039 tools used for testing pretty printers here.
8040 (Tools for Compilation): List Python, PExpect and GDB here.
8041 Update descriptions of uses of Perl and Python.
8042 * INSTALL: Regenerate.
8044 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8047 2018-08-13 Florian Weimer <fweimer@redhat.com>
8049 * misc/error.c (error): Add missing va_end call.
8050 (error_at_line): Likewise.
8052 2018-08-13 Florian Weimer <fweimer@redhat.com>
8054 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8056 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8058 * benchtests/scripts/benchout.schema.json (properties): Add
8061 * benchtests/bench-skeleton.c (main): Add duration and
8062 iterations attributes.
8064 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8066 regex: Gnulib unibyte RRI uses bytes not chars
8067 Adjust the non-glibc code to agree with what Gawk needs for
8068 rational range interpretation (RRI) for regular expression ranges.
8069 In unibyte locales, Gawk wants ranges to use the underlying byte
8070 rather than the character code point. This change does not affect
8072 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8073 In unibyte locales, use the byte value rather than
8074 running it through btowc.
8076 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8078 * sysdeps/generic/math-tests-snan.h: New file.
8079 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8080 (SNAN_TESTS_float): Do not define here.
8081 (SNAN_TESTS_double): Likewise.
8082 (SNAN_TESTS_long_double): Likewise.
8083 (SNAN_TESTS_float128): Likewise.
8084 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8085 * sysdeps/i386/fpu/math-tests.h: Remove file.
8086 * sysdeps/ia64/math-tests-snan.h: New file.
8087 * sysdeps/ia64/math-tests.h: Remove file.
8088 * sysdeps/x86/math-tests.h: Likewise.
8089 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8091 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8092 Szabolcs Nagy <szabolcs.nagy@arm.com>
8094 * math/Makefile: Add s_sincosf_data.c.
8095 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8096 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8097 (sincosf_poly): Likewise.
8098 (reduce_small): Likewise.
8099 (reduce_large): Likewise.
8100 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8101 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8102 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8103 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8105 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8106 Szabolcs Nagy <szabolcs.nagy@arm.com>
8108 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8109 (converttoint): Use lround.
8110 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8111 document the semantics when TOINT_INTRINSICS is set.
8112 (converttoint): Likewise.
8113 (TOINT_RINT): Remove.
8114 (TOINT_SHIFT): Remove.
8115 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8118 2018-08-10 Florian Weimer <fweimer@redhat.com>
8121 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8123 (__old_getdents64): Use getdents64. Convert entries without
8125 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8126 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8127 tst-readdir64-compat.
8129 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8131 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8134 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8136 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8137 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8138 code to s390x-mcount.h and #include it.
8139 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8140 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8143 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8145 * stdlib/Versions: Remove __fentry__.
8146 * sysdeps/i386/Versions: Add __fentry__.
8147 * sysdeps/x86_64/Versions: Add __fentry__.
8149 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8151 * sysdeps/s390/Makefile: Register the new tests.
8152 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8153 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8154 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8155 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8156 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8157 * sysdeps/s390/tst-dl-runtime.c: New file.
8159 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8161 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8164 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8166 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8169 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8171 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8174 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8176 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8179 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8181 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8182 Use symbolic offsets for stack variables.
8184 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8186 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8187 Use symbolic offsets for stack variables.
8189 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8191 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
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_resolve):
8197 Use symbolic offsets for stack variables.
8199 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8201 * math/gen-libm-test.py: New file.
8202 * math/gen-libm-test.pl: Remove.
8203 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8204 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8206 ($(libm-test-c-noauto-obj)): Likewise.
8207 ($(libm-test-c-auto-obj)): Likewise.
8208 ($(libm-test-c-narrow-obj)): Likewise.
8209 (regen-ulps): Likewise.
8210 * math/README.libm-test: Update references to gen-libm-test.pl.
8211 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8212 referencing gen-libm-test.pl.
8213 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8214 * math/libm-test-support.c: Likewise.
8215 * math/libm-test-support.h: Likewise.
8216 * sysdeps/generic/libm-test-ulps: Likewise.
8218 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8220 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8223 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8225 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8226 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8228 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8230 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8232 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8233 __pthread_setspecific): Add hidden proto.
8234 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8235 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8237 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8239 * benchtests/bench-string.h (buf1_size, buf2_size): New
8241 (init_sizes): New function.
8242 (test_init): Use it.
8243 (alloc_buf, exit_error): New functions.
8244 (alloc_bufs): Use ALLOC_BUF.
8245 (realloc_bufs): Remove.
8246 * benchtests/bench-memcmp.c (do_test): Adjust.
8247 * benchtests/bench-memset-large.c (do_test): Likewise.
8248 * benchtests/bench-memset-walk.c (do_test): Likewise.
8249 * benchtests/bench-memset.c (do_test): Likewise.
8250 * benchtests/bench-strncmp.c (do_test): Likewise.
8252 2018-08-06 Andreas Schwab <schwab@suse.de>
8254 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8255 of CONST_THREAD_AREA.
8257 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8259 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8260 (STATE_SAVE_MASK): Likewise.
8261 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8262 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8263 (STATE_SAVE_MASK): Likewise.
8264 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8265 instead of <cpu-features.h>.
8267 2018-08-03 DJ Delorie <dj@redhat.com>
8269 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8270 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8272 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8274 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8276 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8278 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8279 * math/libm-test-logb.inc (logb_test_data): Likewise.
8281 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8283 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8284 * string/strstr.c (AVAILABLE): Likewise.
8286 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8288 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8290 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8291 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8292 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8294 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8296 * po/be.po: Update translation.
8298 * po/be.po: Update translation.
8300 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8302 * sysdeps/x86/cpu-features-offsets.sym
8303 (rtld_global_ro_offsetof): Removed.
8304 (CPU_FEATURES_SIZE): Likewise.
8305 (CPUID_OFFSET): Likewise.
8306 (CPUID_SIZE): Likewise.
8307 (CPUID_EAX_OFFSET): Likewise.
8308 (CPUID_EBX_OFFSET): Likewise.
8309 (CPUID_ECX_OFFSET): Likewise.
8310 (CPUID_EDX_OFFSET): Likewise.
8311 (FAMILY_OFFSET): Likewise.
8312 (MODEL_OFFSET): Likewise.
8313 (FEATURE_OFFSET): Likewise.
8314 (FEATURE_SIZ): Likewise.
8315 (COMMON_CPUID_INDEX_1): Likewise.
8316 (COMMON_CPUID_INDEX_7): Likewise.
8317 (FEATURE_INDEX_1): Likewise.
8318 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8320 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8322 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8323 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8324 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8325 (install-locales): Depend on install-locale-archive.
8326 (install-locale-archive): Define.
8327 (install-locale-files): Define.
8328 (build-one-locale): Define macro.
8329 * manual/install.texi (Running make install): Document.
8330 * manual/INSTALL: Regenerate.
8332 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8334 * benchtests/scripts/compare_strings.py: Import traceback.
8335 (parse_file): Pretty-print error.
8337 * NEWS: Mention the change.
8338 * elf/dl-tunables.list: Rename tune namespace to cpu.
8339 * sysdeps/powerpc/dl-tunables.list: Likewise.
8340 * sysdeps/x86/dl-tunables.list: Likewise.
8341 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8343 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8344 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8345 * manual/README.tunables: Likewise.
8346 * manual/tunables.texi: Likewise.
8347 * sysdeps/powerpc/cpu-features.c: Likewise.
8348 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8349 (init_cpu_features): Likewise.
8350 * sysdeps/x86/cpu-features.c: Likewise.
8351 * sysdeps/x86/cpu-features.h: Likewise.
8352 * sysdeps/x86/cpu-tunables.c: Likewise.
8353 * sysdeps/x86_64/Makefile: Likewise.
8354 * sysdeps/x86/dl-cet.c: Likewise.
8356 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8359 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8360 [__mips_hard_float].
8361 (FE_UNDERFLOW): Likewise.
8362 (FE_OVERFLOW): Likewise.
8363 (FE_DIVBYZERO): Likewise.
8364 (FE_INVALID): Likewise.
8365 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8366 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8367 (FE_UPWARD): Likewise.
8368 (FE_DOWNWARD): Likewise.
8369 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8370 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8371 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8372 [__mips_hard_float].
8373 (FP_ROUNDMODE): Likewise.
8374 (FP_RND_NEAREST): Likewise.
8375 (FP_RND_ZERO): Likewise.
8376 (FP_RND_PINF): Likewise.
8377 (FP_RND_MINF): Likewise.
8378 (FP_EX_INVALID): Likewise.
8379 (FP_EX_OVERFLOW): Likewise.
8380 (FP_EX_UNDERFLOW): Likewise.
8381 (FP_EX_DIVZERO): Likewise.
8382 (FP_EX_INEXACT): Likewise.
8383 (FP_INIT_ROUNDMODE): Likewise.
8384 * sysdeps/mips/nofpu/fesetenv.c: New file.
8385 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8387 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8389 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8390 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8391 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8392 conditional on [FE_UPWARD].
8394 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8396 regex: fix memory leak in Gnulib
8397 Problem and fix reported by Assaf Gordon in:
8398 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8399 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8400 range_ends members too, as they are defined in 'struct
8401 re_charset_t' even if not _LIBC. This affects only Gnulib.
8403 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8405 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8407 (get_common_indices): This.
8408 (init_cpu_features): Updated.
8410 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8412 * sysdeps/generic/math-tests-snan-payload.h: New file.
8413 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8414 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8415 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8416 * sysdeps/generic/math-tests.h: Include
8417 <math-tests-snan-payload.h>.
8418 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8419 * sysdeps/hppa/math-tests.h: Remove file.
8420 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8421 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8422 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8425 * sysdeps/generic/math-tests-snan-cast.h: New file.
8426 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8427 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8428 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8429 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8431 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8433 * version.h (RELEASE): Set to "development".
8434 (VERSION): Set to "2.28.9000".
8435 * NEWS (2.29): New section.
8437 * version.h (RELEASE): Set to "stable".
8438 (VERSION): Set to "2.28".
8439 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8440 * NEWS: Add the list of bugs fixed in 2.28.
8442 * po/ca.po: Update to latest version.
8443 * po/cs.po: Likewise
8444 * po/da.po: Likewise
8445 * po/el.po: Likewise
8446 * po/eo.po: Likewise
8447 * po/es.po: Likewise
8448 * po/fi.po: Likewise
8449 * po/fr.po: Likewise
8450 * po/gl.po: Likewise
8451 * po/hu.po: Likewise
8452 * po/ia.po: Likewise
8453 * po/id.po: Likewise
8454 * po/it.po: Likewise
8455 * po/ja.po: Likewise
8456 * po/ko.po: Likewise
8457 * po/lt.po: Likewise
8458 * po/nb.po: Likewise
8459 * po/nl.po: Likewise
8460 * po/pt_BR.po: Likewise
8461 * po/ru.po: Likewise
8462 * po/rw.po: Likewise
8463 * po/sk.po: Likewise
8464 * po/sl.po: Likewise
8465 * po/tr.po: Likewise
8466 * po/zh_CN.po: Likewise
8467 * po/zh_TW.po: Likewise
8469 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8471 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8473 (init): ... before initializing libpthread.
8475 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8476 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8477 (__mach_setup_tls): ... new function.
8478 (mach_setup_tls): New alias.
8479 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8480 __mach_setup_thread.
8481 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8482 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8483 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8484 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8486 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8488 * manual/install.texi: Update versions.
8489 * INSTALL: Regenerate.
8491 * manual/contrib.texi (Contributors): Update contributions.
8493 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8495 * po/be.po: Update translations.
8497 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8499 * sysdeps/sh/libm-test-ulps: Update.
8501 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8503 * po/bg.po: Update translations.
8504 * po/de.po: Likewise.
8505 * po/hr.po: Likewise.
8506 * po/pt_BR.po: Likewise.
8507 * po/sv.po: Likewise.
8508 * po/vi.po: Likewise.
8510 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8513 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8514 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8515 (CFLAGS-tst-cet-property-1.o): New.
8516 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8517 ($(objpfx)tst-cet-property-2): Likewise.
8518 ($(objpfx)tst-cet-property-2.out): Likewise.
8519 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8520 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8521 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8522 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8523 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8525 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8528 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8530 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8532 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8533 __sbrk): Do not set attribute_hidden.
8534 * sysdeps/mach/hurd/not-errno.h: New file.
8535 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8536 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8538 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8540 * po/uk.po: Update translations.
8541 * po/cs.po: Likewise.
8542 * po/pl.po: Likewise.
8544 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8546 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8547 parse beyond the note end.
8549 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8551 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8552 kernel does not support OFD locks.
8553 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8555 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8557 * sysdeps/mach/hurd/Versions (libc): Make __access and
8558 __access_noerrno external so they can override the ld symbols.
8559 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8560 __writev, __open64, __access_noerrno extern so they can be overrided.
8561 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8562 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8564 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8566 * po/libc.pot: Regenerate.
8568 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8570 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8572 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8575 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8577 (init_cpu_features): Call get_extended_indices for both Intel
8579 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8580 Remove "for AMD" comment.
8582 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8585 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8586 COMMON_CPUID_INDEX_80000001.
8588 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8590 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8591 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8593 2018-07-26 Florian Weimer <fweimer@redhat.com>
8595 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8596 aliases for symbols not in the implementation namespace.
8598 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8601 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8602 lowercase in LATIN script.
8603 * localedata/Makefile (test-input): Add en_US.UTF-8.
8604 * localedata/en_US.UTF-8.in: New file.
8605 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8606 and restore old tests.
8607 * posix/tst-regexloc.c (do_test): Add back range expression test.
8609 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8611 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8613 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8615 * nptl/threads.h: Move to ...
8616 * sysdeps/nptl/threads.h: ... here.
8617 * sysdeps/hurd/stdc-predef.h: New file.
8619 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8621 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8622 tst-cet-setcontext-1 if CET is enabled.
8623 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8624 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8626 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8628 * include/threads.h: Move to ...
8629 * sysdeps/nptl/threads.h: ... here.
8630 * sysdeps/htl/threads.h: New file.
8631 * conform/Makefile (linknamespace-libs-ISO11): Use
8632 static-thread-library instead of linking libpthread.
8633 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8635 2018-07-25 Florian Weimer <fweimer@redhat.com>
8637 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8638 nanoseconds into seconds.
8639 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8640 (do_test): Likewise.
8641 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8642 (do_test): Likewise. Avoid nanosecond overflow and spurious
8643 timeouts due to system load.
8644 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8645 (child_wait): Increment it.
8646 (do_test): Wait as long as necessary until all expected threads
8649 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8650 H.J. Lu <hongjiu.lu@intel.com>
8652 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8654 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8655 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8656 (__push___start_context): New.
8657 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8659 (__getcontext): Record the current shadow stack base. Save the
8660 caller's shadow stack pointer and base.
8661 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8662 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8663 (__push___start_context): New prototype.
8664 (__makecontext): Call __push___start_context to allocate a new
8665 shadow stack, push __start_context onto the new stack as well
8666 as the new shadow stack.
8667 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8669 (__setcontext): Restore the target shadow stack.
8670 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8672 (__swapcontext): Record the current shadow stack base. Save
8673 the caller's shadow stack pointer and base. Restore the target
8675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8676 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8677 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8679 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8681 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8682 tst-setcontext8 and tst-setcontext9.
8683 * stdlib/tst-setcontext6.c: New file.
8684 * stdlib/tst-setcontext7.c: Likewise.
8685 * stdlib/tst-setcontext8.c: Likewise.
8686 * stdlib/tst-setcontext9.c: Likewise.
8688 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8690 * stdlib/Makefile ((tests): Add tst-setcontext5.
8691 * stdlib/tst-setcontext5.c: New file.
8693 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8695 * stdlib/Makefile (tests): Add tst-setcontext4.
8696 * stdlib/tst-setcontext4.c: New file.
8698 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8700 * stdlib/Makefile (tests): Add tst-swapcontext1.
8701 * stdlib/tst-swapcontext1.c: New test.
8703 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8705 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8706 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8707 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8708 and tst-cet-legacy-4c.
8709 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8710 and tst-cet-legacy-mod-4.
8711 (CFLAGS-tst-cet-legacy-2.c): New.
8712 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8713 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8714 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8715 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8716 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8717 ($(objpfx)tst-cet-legacy-1): Likewise.
8718 ($(objpfx)tst-cet-legacy-2): Likewise.
8719 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8720 ($(objpfx)tst-cet-legacy-2a): Likewise.
8721 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8722 ($(objpfx)tst-cet-legacy-4): Likewise.
8723 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8724 ($(objpfx)tst-cet-legacy-4a): Likewise.
8725 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8726 (tst-cet-legacy-4a-ENV): Likewise.
8727 ($(objpfx)tst-cet-legacy-4b): Likewise.
8728 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8729 (tst-cet-legacy-4b-ENV): Likewise.
8730 ($(objpfx)tst-cet-legacy-4c): Likewise.
8731 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8732 (tst-cet-legacy-4c-ENV): Likewise.
8733 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8734 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8735 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8736 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8737 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8738 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8739 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8740 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8741 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8742 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8743 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8745 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8747 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8748 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8750 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8751 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8754 2018-07-25 Andreas Schwab <schwab@suse.de>
8757 * locale/weightwc.h (findidx): Handle the case where usrc is a
8758 prefix of cp but one character too short.
8760 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8762 * NEWS: Add ISO C threads addition.
8764 2018-07-24 Florian Weimer <fweimer@redhat.com>
8766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8767 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8768 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8771 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8773 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8774 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8775 <sys/prctl.h> and <asm/prctl.h>.
8776 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8777 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8779 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8780 ARCH_CET_LEGACY_BITMAP.
8781 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8782 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8783 * sysdeps/x86/libc-start.c: Include <startup.h>.
8785 2018-07-24 Florian Weimer <fweimer@redhat.com>
8787 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8788 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8790 2018-07-24 Rical Jasan <rj@2c3t.io>
8791 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8792 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8795 * manual/debug.texi: Update adjacent chapter name.
8796 * manual/probes.texi: Likewise.
8797 * manual/threads.texi (ISO C Threads): New section.
8798 (POSIX Threads): Convert to a section.
8800 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8801 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8804 * nptl/Makefile (tests): Add new test files.
8805 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8806 * nptl/tst-cnd-basic.c: Likewise.
8807 * nptl/tst-cnd-broadcast.c: Likewise.
8808 * nptl/tst-cnd-timedwait.c: Likewise.
8809 * nptl/tst-mtx-basic.c: Likewise.
8810 * nptl/tst-mtx-recursive.c: Likewise.
8811 * nptl/tst-mtx-timedlock.c: Likewise.
8812 * nptl/tst-mtx-trylock.c: Likewise.
8813 * nptl/tst-thrd-basic.c: Likewise.
8814 * nptl/tst-thrd-detach.c: Likewise.
8815 * nptl/tst-thrd-sleep.c: Likewise.
8816 * nptl/tst-tss-basic.c: Likewise.
8818 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8821 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8822 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8824 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8825 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8826 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8827 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8828 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8829 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8830 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8831 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8832 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8833 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8834 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8835 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8843 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8845 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8846 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8847 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8851 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8852 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8853 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8854 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8855 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8857 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8858 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8859 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8860 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8861 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8862 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8863 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8864 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8865 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8866 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8867 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8868 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8875 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8876 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8877 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8878 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8879 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8880 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8885 * conform/data/threads.h-data (thread_local): New macro.
8886 (TSS_DTOR_ITERATIONS): Likewise.
8888 (tss_dtor_t): Likewise.
8889 (tss_create): New function.
8890 (tss_get): Likewise.
8891 (tss_set): Likewise.
8892 (tss_delete): Likewise.
8893 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8894 tss_get, and tss_set objects.
8895 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8896 * nptl/tss_create.c: New file.
8897 * nptl/tss_delete.c: Likewise.
8898 * nptl/tss_get.c: Likewise.
8899 * nptl/tss_set.c: Likewise.
8900 * sysdeps/nptl/threads.h (thread_local): New define.
8901 (TSS_DTOR_ITERATIONS): Likewise.
8902 (tss_t): New typedef.
8903 (tss_dtor_t): Likewise.
8904 (tss_create): New prototype.
8905 (tss_get): Likewise.
8906 (tss_set): Likewise.
8907 (tss_delete): Likewise.
8910 * conform/data/threads.h-data (cnd_t): New type.
8911 (cnd_init): New function.
8912 (cnd_signal): Likewise.
8913 (cnd_broadcast): Likewise.
8914 (cnd_wait): Likewise.
8915 (cnd_timedwait): Likewise.
8916 (cnd_destroy): Likewise.
8917 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8918 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8920 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8921 * nptl/cnd_broadcast.c: New file.
8922 * nptl/cnd_destroy.c: Likewise.
8923 * nptl/cnd_init.c: Likewise.
8924 * nptl/cnd_signal.c: Likewise.
8925 * nptl/cnd_timedwait.c: Likewise.
8926 * nptl/cnd_wait.c: Likewise.
8927 * sysdeps/nptl/threads.h (cnd_t): New type.
8928 (cnd_init): New prototype.
8929 (cnd_signa): Likewise.
8930 (cnd_broadcast): Likewise.
8931 (cnd_wait): Likewise.
8932 (cnd_timedwait): Likewise.
8933 (cnd_destroy): Likewise.
8936 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8937 (once_flag): New type.
8938 (call_once): New function.
8939 * nptl/Makefile (libpthread-routines): Add call_once object.
8940 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8941 * nptl/call_once.c: New file.
8942 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8943 (once_flag): New type.
8944 (call_once): New prototype.
8947 * conform/data/threads.h-data (mtx_plain): New constant.
8948 (mtx_recursive): Likewise.
8949 (mtx_timed): Likewise.
8951 (mtx_init): New function.
8952 (mtx_lock): Likewise.
8953 (mtx_timedlock): Likewise.
8954 (mtx_trylock): Likewise.
8955 (mtx_unlock): Likewise.
8956 (mtx_destroy): Likewise.
8957 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8958 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8959 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8960 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8961 * nptl/mtx_destroy.c: New file.
8962 * nptl/mtx_init.c: Likewise.
8963 * nptl/mtx_lock.c: Likewise.
8964 * nptl/mtx_timedlock.c: Likewise.
8965 * nptl/mtx_trylock.c: Likewise.
8966 * nptl/mtx_unlock.c: Likewise.
8967 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8968 (mtx_recursive): Likewise.
8969 (mtx_timed): Likewise.
8971 (mtx_init): New prototype.
8972 (mtx_lock): Likewise.
8973 (mtx_timedlock): Likewise.
8974 (mtx_trylock): Likewise.
8975 (mtx_unlock): Likewise.
8976 (mtx_destroy): Likewise.
8979 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8980 (linknamespace-libs-ISO11): Add libpthread.a.
8981 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8983 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8984 * nptl/Makefile (headers): Add threads.h.
8985 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8986 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8988 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8989 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8990 thrd_join, thrd_sleep, and thrd_yield symbols.
8991 * nptl/descr.h (struct pthread): Add c11 field.
8992 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8993 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8994 routine with expected function prototype.
8995 (__pthread_create_2_1): Add C11 threads check based on attribute
8997 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8998 * nptl/thrd_create.c: New file.
8999 * nptl/thrd_current.c: Likewise.
9000 * nptl/thrd_detach.c: Likewise.
9001 * nptl/thrd_equal.c: Likewise.
9002 * nptl/thrd_exit.c: Likewise.
9003 * nptl/thrd_join.c: Likewise.
9004 * nptl/thrd_priv.h: Likewise.
9005 * nptl/thrd_sleep.c: Likewise.
9006 * nptl/thrd_yield.c: Likewise.
9007 * include/threads.h: Likewise.
9009 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9011 * bits/indirect-return.h: New file.
9012 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9013 * sysdeps/x86/bits/indirect-return.h: Likewise.
9014 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9015 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9016 (swapcontext): Add __INDIRECT_RETURN.
9017 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9018 (prepare_test_buffer): Use it.
9020 2018-07-24 Andreas Schwab <schwab@suse.de>
9023 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9024 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9026 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9028 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9029 Redefine if shadow stack is enabled.
9030 (SYSCALL_ERROR_LABEL): Likewise.
9031 (__vfork): Pop shadow stack and jump back to to caller directly
9032 when shadow stack is in use.
9033 * sysdeps/unix/sysv/linux/x86_64/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.
9039 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9041 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9044 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9047 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9049 * scripts/build-many-glibcs.py (Context.checkout): Default
9050 binutils version to 2.31 branch.
9052 2018-07-20 Zong Li <zong@andestech.com>
9054 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9055 URL of gcc's tarball.
9057 2018-07-20 Florian Weimer <fweimer@redhat.com>
9060 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9061 not compare an extra byte after the end of the weights.
9063 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9065 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9067 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9069 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9070 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9071 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9072 list of libraries whose stack executability is expected.
9073 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9074 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9076 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9077 libc.so libpthread.so.
9079 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9081 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9083 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9085 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9087 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9089 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9091 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9092 library to improve command line parsing.
9093 (__main__): make schema file as optional parameter (--schema),
9094 defaulting to benchtests/scripts/benchout.schema.json.
9095 (main): move out of the parsing stuff to __main_ and leave it
9096 only as caller of main comparison functions.
9098 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9100 * NEWS: Add a note for Intel CET status.
9101 * manual/install.texi: Likewise.
9102 * INSTALL: Regenerated.
9104 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9107 * localedata/locales/oc_FR (mon): Rename to...
9108 (alt_mon): This, then update October (typo fix).
9109 (mon): New content (genitive case, month names preceded by
9113 * localedata/locales/oc_FR (abday): Update all items.
9114 (day): Update Wednesday and Saturday (typo fixes).
9115 (abmon): Update all items, except May.
9116 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9117 (LC_IDENTIFICATION): Bump the revision number and date.
9118 Keep the "category" entries in alphabetic order.
9119 (LC_ADDRESS): Remove no longer needed comment.
9120 (LC_COLLATE): Use “copy "ca_ES"”.
9121 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9124 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9126 * grp/tst_fgetgrent.c: Include <unistd.h>.
9127 (main): Use mkstemp instead of tmpnam.
9128 * io/test-utime.c (main): Likewise.
9129 * posix/annexc.c (macrofile): Change to modifiable array.
9130 (main): Remove macrofile here.
9131 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9133 (check_header): Do not remove macrofile here.
9134 * posix/bug-getopt1.c: Include <stdlib.h>.
9135 (do_test): Use mkstemp instead of tmpnam.
9136 * posix/bug-getopt2.c: Include <stdlib.h>.
9137 (do_test): Use mkstemp instead of tmpnam.
9138 * posix/bug-getopt3.c: Include <stdlib.h>.
9139 (do_test): Use mkstemp instead of tmpnam.
9140 * posix/bug-getopt4.c: Include <stdlib.h>.
9141 (do_test): Use mkstemp instead of tmpnam.
9142 * posix/bug-getopt5.c: Include <stdlib.h>.
9143 (do_test): Use mkstemp instead of tmpnam.
9144 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9145 (main): Use mkstemp instead of tmpnam.
9146 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9147 (main): Use mkstemp instead of tmpnam.
9148 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9149 (main): use mkstemp instead of tmpnam.
9150 * stdlib/isomac.c (macrofile): Change to modifiable array.
9151 (main): Remove macrofile here.
9152 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9154 (check_header): Do not remove macrofile here.
9156 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9158 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9159 glibc.tune.x86_shstk.
9161 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9163 * NEWS: Mention --enable-cet.
9164 * manual/install.texi: Document --enable-cet.
9165 * INSTALL: Regenerated.
9167 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9169 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9170 Add _CET_NOTRACK before indirect jump to jump table.
9172 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9174 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9175 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9178 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9180 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9181 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9184 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9186 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9187 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9190 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9193 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9196 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9198 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9199 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9201 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9203 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9205 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9206 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9209 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9211 * sysdeps/i386/i686/multiarch/memset-sse2.S
9212 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9215 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9217 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9218 indirect jump to jump table.
9220 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9227 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9230 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9234 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9236 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9237 _CET_NOTRACK before indirect jump to jump table.
9239 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9242 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9245 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9247 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9248 indirect jump to jump table.
9250 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9253 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9254 (LOCALES): Likewise.
9255 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9256 * localedata/locales/sah_RU: New file.
9257 * localedata/sah_RU.UTF-8.in: New file.
9259 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9261 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9263 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9264 _CET_ENDBR to indirect jump targets and adjust jump destination
9266 * sysdeps/i386/i686/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/sub_n.S: Include <sysdep.h>, instead of
9273 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9274 _CET_ENDBR to indirect jump targets and adjust jump destination
9277 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9279 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9282 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9284 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9286 (_dl_tlsdesc_undefweak): Likewise.
9287 (_dl_tlsdesc_dynamic): Likewise.
9288 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9289 (_dl_tlsdesc_resolve_rel): Likewise.
9290 (_dl_tlsdesc_resolve_rela): Likewise.
9291 (_dl_tlsdesc_resolve_hold): Likewise.
9292 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9293 (_dl_tlsdesc_undefweak): Likewise.
9294 (_dl_tlsdesc_dynamic): Likewise.
9295 (_dl_tlsdesc_resolve_rela): Likewise.
9296 (_dl_tlsdesc_resolve_hold): Likewise.
9298 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9300 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9302 * sysdeps/x86_64/crti.S (_init): Likewise.
9305 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9308 * localedata/locales/os_RU (mon): Rename to...
9310 (mon): Import from CLDR (genitive case).
9312 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9314 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9315 cet-tunables.h> when CET is enabled.
9317 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9320 * configure.ac: Add --enable-cet.
9321 * configure: Regenerated.
9322 * elf/Makefille (all-built-dso): Add a comment.
9323 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9324 Include <dl-prop.h>.
9325 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9327 * elf/dl-open.c: Include <dl-prop.h>.
9328 (dl_open_worker): Call _dl_open_check.
9329 * elf/rtld.c: Include <dl-prop.h>.
9330 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9332 * sysdeps/generic/dl-prop.h: New file.
9333 * sysdeps/i386/dl-cet.c: Likewise.
9334 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9335 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9336 * sysdeps/x86/cet-tunables.h: Likewise.
9337 * sysdeps/x86/check-cet.awk: Likewise.
9338 * sysdeps/x86/configure: Likewise.
9339 * sysdeps/x86/configure.ac: Likewise.
9340 * sysdeps/x86/dl-cet.c: Likewise.
9341 * sysdeps/x86/dl-procruntime.c: Likewise.
9342 * sysdeps/x86/dl-prop.h: Likewise.
9343 * sysdeps/x86/libc-start.h: Likewise.
9344 * sysdeps/x86/link_map.h: Likewise.
9345 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9347 (_dl_runtime_profile): Likewise.
9348 (_dl_runtime_resolve_shstk): New.
9349 (_dl_runtime_profile_shstk): Likewise.
9350 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9352 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9353 (CFLAGS-.os): Likewise.
9354 (CFLAGS-.op): Likewise.
9355 (CFLAGS-.oS): Likewise.
9356 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9358 (tests-special): Add $(objpfx)check-cet.out.
9359 (cet-built-dso): New.
9360 (+$(cet-built-dso:=.note)): Likewise.
9361 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9362 ($(objpfx)check-cet.out): New.
9363 (generated): Add check-cet.out.
9364 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9366 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9367 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9368 (init_cpu_features): Call get_cet_status to check CET status
9369 and update dl_x86_feature_1 with CET status. Call
9370 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9371 (set_x86_shstk). Disable and lock CET in libc.a.
9372 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9373 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9374 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9375 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9376 (_CET_ENDBR): Define if not defined.
9377 (ENTRY): Add _CET_ENDBR.
9378 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9380 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9382 (_dl_runtime_profile): Likewise.
9384 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9387 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9388 restore r2 on longjmp.
9389 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9391 Added rules to build test tst-setjmp-bug21895-static.
9392 Added module setjmp-bug21895 and rules to build a shared object from it.
9393 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9394 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9396 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9398 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9399 * benchtests/bench-strstr.c: Likewise.
9400 * string/memmem.c (FASTSEARCH): Define.
9401 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9402 Add support for FASTSEARCH.
9403 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9404 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9405 (FASTSEARCH): Define.
9406 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9407 * string/test-strstr.c: Likewise.
9409 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9412 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9414 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9415 H.J. Lu <hongjiu.lu@intel.com>
9417 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9418 (__longjmp): Restore shadow stack pointer if shadow stack is
9419 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9420 isn't defined for __longjmp_cancel.
9421 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9422 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9423 and SHADOW_STACK_POINTER_OFFSET is defined.
9424 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9425 (setjmp): Save shadow stack pointer if shadow stack is enabled
9426 and SHADOW_STACK_POINTER_OFFSET is defined.
9427 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9428 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9429 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9432 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9433 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9434 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9435 Remove jmp_buf-ssp.sym.
9436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9438 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9439 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9440 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9442 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9443 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9444 (__longjmp): Restore shadow stack pointer if shadow stack is
9445 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9446 isn't defined for __longjmp_cancel.
9447 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9448 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9449 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9451 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9454 * nptl/pthread_create.c: Include <tls-setup.h>.
9455 (__pthread_create_2_1): Call tls_setup_tcbhead.
9456 * sysdeps/generic/tls-setup.h: New file.
9457 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9458 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9459 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9461 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9463 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9464 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9465 (X86_FEATURE_1_SHSTK): Likewise.
9466 (CET_ENABLED): Likewise.
9467 (IBT_ENABLED): Likewise.
9468 (SHSTK_ENABLED): Likewise.
9470 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9473 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9474 (LOCALES): Likewise.
9475 * localedata/dsb_DE.UTF-8.in: New file.
9476 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9478 2018-07-12 Florian Weimer <fweimer@redhat.com>
9480 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9481 __mprotect, not mprotect.
9483 2018-07-11 Florian Weimer <fweimer@redhat.com>
9485 * io/Makefile (headers): Add bits/statx.h.
9487 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9489 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9490 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9492 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9493 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9496 2018-07-10 Florian Weimer <fweimer@redhat.com>
9498 * io/Makefile (routines): Add statx.
9499 (tests-internal): Add tst-statx.
9500 * io/Versions (GLIBC_2.28): Export statx.
9501 * io/bits/statx.h: New file.
9502 * io/sys/stat.h [__USE_GNU]: Include it.
9503 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9504 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9506 * io/statx.c: New file.
9507 * io/statx_generic.: Likewise.
9508 * io/tst-statx.: Likewise.
9509 * include/bits/statx.h: Likewise.
9510 * sysdeps/unix/sysv/linux/kernel-features.h
9511 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9512 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9513 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9517 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9518 * sysdeps/unix/sysv/linux/statx.c: New file.
9519 * manual/filesys.texi: Note that statx is undocumented.
9520 * sysdeps/**/libc*.abilist: Update.
9522 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9524 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9525 a kernel issue which lead to test failure in some cases.
9527 2018-07-10 Florian Weimer <fweimer@redhat.com>
9530 * posix/regexec.c (check_node_accept_bytes): When comparing
9531 weights, do not compare an extra byte after the end of the
9534 2018-07-10 Florian Weimer <fweimer@redhat.com>
9536 * libio/readline.c: Fix copyright year.
9537 * libio/tst-readline.c Likewise.
9538 * nss/tst-nss-files-hosts-getent.c: Likewise.
9540 2018-07-06 Florian Weimer <fweimer@redhat.com>
9543 * nss/nss_files/files-XXX.c (internal_getent): Use
9544 __libc_readline_unlocked. Seek back to the start of the line if
9545 parsing failes with ERANGE.
9546 (get_contents_ret, get_contents): Remove.
9547 * nss/tst-nss-files-hosts-getent.c: New file.
9548 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9549 (tst-nss-files-hosts-getent): Link with -ldl.
9551 2018-07-06 Florian Weimer <fweimer@redhat.com>
9553 * include/stdio.h (__libc_readline_unlocked): Declare.
9554 (__ftello64, __fseeko64): Declare aliases.
9555 * libio/readline.c: New file.
9556 * libio/tst-readline.c: Likewise.
9557 (routines): Add readline.
9558 (tests-internal): Add tst-readlime.
9559 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9560 __libc_readline_unlocked.
9561 * libio/fseeko.c (__fseeko): Rename from fseeko.
9562 (fseeko): Add alias.
9563 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9564 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9565 (fseeko64): Add alias.
9566 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9567 * libio/ftello64.c (__ftello64): Rename from ftello64.
9568 (ftello64): Add alias.
9570 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9572 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9575 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9577 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9578 Use dl_hwcap without masking.
9579 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9582 2018-07-06 Florian Weimer <fweimer@redhat.com>
9584 * conform/conformtest.pl (checknamespace): Escape literal braces
9585 in regular expressions.
9587 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9589 * sysdeps/x86/cpu-features.c (get_common_indeces):
9590 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9591 * sysdeps/x86/cpu-features.c (init_cpu_features):
9592 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9594 2018-07-05 Florian Weimer <fweimer@redhat.com>
9596 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9598 (CFLAGS-elf-init.oS): Likewise.
9600 2018-07-05 Florian Weimer <fweimer@redhat.com>
9601 Carlos O'Donell <carlos@redhat.com>
9603 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9604 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9605 with stack protector enabled because there is no risk of infinite
9608 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9612 * libc-abis (ABSOLUTE): New ABI.
9613 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9614 * NEWS: Mention the new ABI.
9616 2018-07-05 Florian Weimer <fweimer@redhat.com>
9619 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9620 (RENAME_WHITEOUT): Define.
9621 [__USE_GNU] (renameat2): Declare.
9622 * stdio-common/Makefile (routines): Add renameat2.
9623 (tests): Add tst-renameat2.
9624 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9625 * stdio-common/renameat2.c: New file.
9626 * stdio-common/tst-renameat2.c: Likewise.
9627 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9628 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9630 * sysdeps/unix/sysv/linux/kernel-features.h
9631 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9632 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9633 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9635 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9636 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9637 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9638 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9639 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9640 * include/stdio.h (__renameat): Add alias for renameat.
9641 * stdio-common/renameat.c (__renameat): Rename from renameat.
9642 Add hidden definition and alias.
9643 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9644 * sysdeps/mach/hurd/renameat.c: Likewise.
9645 * sysdeps/**/libc*.abilist: Add renameat2.
9647 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9649 * posix/bug-regex33.c: Fix build after regex sync.
9651 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9654 * localedata/tst-langinfo-setlocale.c: New file.
9655 * localedata/tst-langinfo-setlocale-static.c: New file.
9656 * localedata/tst-langinfo-newlocale.c: New file.
9657 * localedata/tst-langinfo-newlocale-static.c: New file.
9658 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9659 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9660 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9661 (tests-static): Remove tst-langinfo-static. Add
9662 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9663 (tests-special): Remove $(objpfx)tst-langinfo.out,
9664 $(objpfx)tst-langinfo-static.out. Add
9665 $(objpfx)tst-langinfo-setlocale.out,
9666 $(objpfx)tst-langinfo-newlocale.out,
9667 $(objpfx)tst-langinfo-setlocale-static.out,
9668 $(objpfx)tst-langinfo-newlocale-static.out.
9669 ($(objpfx)tst-langinfo.out): Remove.
9670 ($(objpfx)tst-langinfo-static.out): Remove.
9671 ($(objpfx)tst-langinfo-newlocale.out): New target.
9672 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9673 (test-xfail-tst-langinfo-newlocale-static): Add.
9674 ($(objpfx)tst-langinfo-setlocale.out): New target.
9675 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9676 * localedata/tst-langinfo.c: Call test_locale.
9677 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9680 2018-07-04 Florian Weimer <fweimer@redhat.com>
9682 testrun.sh: Implement --tool=strace, --tool=valgrind
9683 * Makefile (testrun-script): Define variable.
9684 (testrun.sh): Use variable.
9685 * manual/install.texi (Tools for Compilation): make 4.0 or later
9687 * configure.ac: Check for make 4.0 or later.
9688 * INSTALL: Regenerate.
9689 * configure: Likewise.
9691 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9697 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9698 * posix/PCRE.tests: Remove invalid test.
9699 * posix/bug-regex28.c: Fix expected values for used syntax.
9700 * posix/bug-regex37.c: New file.
9701 * posix/bug-regex38.c: Likewise.
9702 * posix/regcomp.c: Sync with gnulib.
9703 * posix/regex.c: Likewise.
9704 * posix/regex.h: Likewise.
9705 * posix/regex_internal.c: Likewise.
9706 * posix/regex_internal.h: Likewise.
9707 * posix/regexec.c: Likewise.
9709 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9712 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9713 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9714 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9715 * localedata/unicode-gen/PropList.txt: likewise.
9716 * localedata/unicode-gen/UnicodeData.txt: likewise.
9717 * localedata/charmaps/UTF-8: Regenerate.
9718 * localedata/locales/i18n_ctype: likewise.
9719 * localedata/locales/tr_TR: likewise.
9720 * localedata/locales/translit_circle: likewise.
9721 * localedata/locales/translit_cjk_compat: likewise.
9722 * localedata/locales/translit_combining: likewise.
9723 * localedata/locales/translit_compat: likewise.
9724 * localedata/locales/translit_font: likewise.
9725 * localedata/locales/translit_fraction: likewise.
9727 2018-07-03 Florian Weimer <fweimer@redhat.com>
9730 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9731 * stdio-common/tst-printf.sh: Adjust expected output.
9734 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9736 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9739 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9741 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9742 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9743 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9744 * stdio-common/tst-printfsz-islongdouble.c: New file.
9745 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9747 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9748 [subdir == stdio-common] (tests-internal): Add
9749 test-printf-size-ieee128, and test-printf-size-ibm128.
9750 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9751 (CFLAGS-test-printf-size-ibm128.c): New variables.
9752 [subdir == stdio-common] (tests-special): Add
9753 $(objpfx)test-printf-size-ieee128.out and
9754 $(objpfx)test-printf-size-ibm128.out.
9755 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9756 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9757 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9758 __printf_sizeieee128.
9759 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9761 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9763 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9766 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9768 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9769 (exp2f_inline): Likewise.
9770 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9771 (__math_uflowf): Likewise.
9772 (__math_may_uflowf): Likewise.
9773 (__math_divzerof): Likewise.
9774 (__math_invalidf): Likewise.
9775 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9776 (__math_oflowf): Likewise.
9777 (__math_uflowf): Likewise.
9778 (__math_may_uflowf): Likewise.
9779 (__math_divzerof): Likewise.
9780 (__math_invalidf): Likewise.
9782 2018-06-29 DJ Delorie <dj@redhat.com>
9783 Carlos O'Donell <carlos@redhat.com>
9786 * include/libc-symbols.h: Comment the freeres framework.
9787 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9788 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9789 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9790 * dlfcn/dlerror.c: Include libc-symbols.h
9791 (__dlerror_main_freeres): New function.
9792 * dlfcn/dlfreeres.c: New file.
9793 * dlfcn/sdlfreeres.c: New file.
9794 * include/dlfcn.h: Declare __dlerror_main_freeres.
9795 * malloc/set-freeres.c: Declare __libdl_freeres, and
9796 __libpthread_freeres.
9797 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9798 the releavant libraries are loaded.
9799 * malloc/thread-freeres.c: Add comments.
9800 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9801 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9802 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9803 (__free_stacks): Rename to...
9804 (free_stacks): ...this. Mark static.
9805 (queue_stack): Call free_stacks.
9806 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9807 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9808 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9809 ptr_freeres element from struct.
9810 (pthread_functions): Remove .ptr_freeres from struct initializer.
9811 [SHARED] (nptl_freeres): Remove.
9812 * nptl/nptlfreeres.c: New file.
9814 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9815 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9817 (__free_stacks): Rename to...
9818 (__nptl_stacks_freeres): ...this.
9819 (__shm_directory_freeres): Declare.
9820 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9821 (__nptl_unwind_freeres): ...this.
9822 * resolv/res-close.c: Add comment.
9823 * resolv/resolv_conf.c: Include libc-symbols.h.
9824 * string/strerror_l.c: Include libc-symbols.h.
9825 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9826 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9827 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9828 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9830 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9832 * stdlib/tst-strfmon_l.c: Add tests for long double.
9834 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9837 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9838 * localedata/locales/dsb_DE: New file.
9840 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9843 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9845 (alt_mon): New entry, import from CLDR (nominative case).
9847 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9850 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9852 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9854 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9855 Use vector registers.
9857 * sysdeps/aarch64/multiarch/memmove_falkor.S
9858 (__memcpy_falkor): Use vector registers.
9860 2018-06-29 Martin Sebor <msebor@redhat.com>
9862 * manual/stdio.texi (Customizing Printf): Mention interaction
9865 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9868 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9869 `st_value' is 0 if `st_shndx' is SHN_ABS.
9870 * elf/tst-absolute-zero.c: New file.
9871 * elf/tst-absolute-zero-lib.c: New file.
9872 * elf/tst-absolute-zero-lib.lds: New file.
9873 * elf/Makefile (tests): Add `tst-absolute-zero'.
9874 (modules-names): Add `tst-absolute-zero-lib'.
9875 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9876 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9877 ($(objpfx)tst-absolute-zero: New dependency.
9879 2018-06-29 Zack Weinberg <zackw@panix.com>
9881 * configure.ac: New command-line option --disable-crypt.
9882 Force --disable-nss-crypt when --disable-crypt is given, with a
9883 warning if it was explicitly enabled.
9884 * configure: Regenerate.
9885 * config.make.in: New boolean substitution variable $(build-crypt).
9886 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9887 when $(build-crypt).
9888 * manual/install.texi: Document --disable-crypt.
9889 * INSTALL: Regenerate.
9891 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9893 * conform/Makefile: Only include libcrypt.a in
9894 linknamespace-libs-xsi and linknamespace-libs-XPG4
9895 when $(build-crypt).
9896 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9897 USE_CRYPT to 1 when $(build-crypt).
9898 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9899 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9900 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9902 2018-06-29 Zack Weinberg <zackw@panix.com>
9904 * crypt/crypt.h, posix/unistd.h: Update comments and
9905 prototypes for crypt and crypt_r.
9907 * manual/crypt.texi (Cryptographic Functions): New initial
9909 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9910 (Unpredictable Bytes): Improve initial exposition. Clarify error
9911 behavior of getentropy and getrandom.
9912 * manual/examples/genpass.c: Generate a salt using getentropy
9913 instead of the current time. Use hash $5$ (SHA-2-256).
9914 * manual/examples/testpass.c: Demonstrate validation against
9915 hashes generated with three different one-way functions.
9917 * manual/intro.texi: crypt.texi does not need an overview
9920 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9921 * manual/terminal.texi: Consistently refer to "passphrases"
9922 * instead of "passwords", and to the "user database" instead
9923 * of the "password database".
9924 * manual/users.texi: Similarly. Add notes about how actual
9925 passphrase hashes are now stored in the shadow database.
9926 Remove 20-year-old junk todo note.
9928 2018-06-29 Zack Weinberg <zackw@panix.com>
9930 * manual/crypt.texi: Use a normal top-level @node declaration.
9931 Move most of the introductory text to the 'crypt' section.
9932 Move the example programs below the @deftypefun for 'crypt_r'.
9933 Move the 'getpass' section...
9934 * manual/terminal.texi: ...here.
9936 2018-06-29 Zack Weinberg <zackw@panix.com>
9937 Florian Weimer <fweimer@redhat.com>
9939 * posix/unistd.h: Do not declare encrypt.
9940 (_XOPEN_CRYPT): Remove macro definition.
9941 (crypt): Declare only for _USE_MISC.
9942 * stdlib/stdlib.h: Do not declare setkey.
9943 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9944 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9946 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9947 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9948 into compat symbols. Don't define initial_perm if it's not
9950 * crypt/cert.c: Link explicitly with the expected versions for
9951 setkey and encrypt. If they are not available at all, mark
9952 the test as unsupported.
9954 * sunrpc/des_crypt.c: Unconditionally block linkage with
9955 cbc_crypt and ecb_crypt for new binaries.
9956 * sunrpc/des_soft.c: Unconditionally block linkage with
9957 des_setparity for new binaries.
9959 * manual/crypt.texi: Remove the entire "DES Encryption"
9960 section. Also remove the paragraph talking about FIPS 140-2
9961 from the introduction.
9962 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9963 of libgcrypt for "real" encryption, not DES.
9964 * manual/conf.texi (Constants for Sysconf): Mention that
9965 _XOPEN_CRYPT is no longer impelemented.
9967 * conform/data/unistd.h-data: Remove crypt function declaration.
9969 2018-06-29 Florian Weimer <fweimer@redhat.com>
9972 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9973 (disallow_malloc_check): Remove variable.
9974 (__malloc_check_init): Adjust.
9975 (malloc_set_state): Update comment.
9976 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9979 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9982 * localedata/locales/ast_ES (mon): Rename to...
9984 (mon): Import from CLDR (genitive case).
9986 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9987 Jakub Sitnicki <jkbs@redhat.com>
9990 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9993 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9995 * manual/llio.texi: Remove spurious space.
9997 2018-06-28 Florian Weimer <fweimer@redhat.com>
10000 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10003 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10005 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10006 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10007 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10008 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10009 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10010 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10011 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10013 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10016 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10017 Copy and null-terminate entries that are not terminated, in
10018 addition to empty ones.
10020 2018-06-27 Florian Weimer <fweimer@redhat.com>
10023 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10024 (extend_alloca_account): Remove.
10025 * manual/stdio.texi (Variable Arguments Output): Update comment.
10027 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10029 * nptl/sockperf.c: Remove file.
10031 2018-06-27 Florian Weimer <fweimer@redhat.com>
10034 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10035 scratch_buffer instead of extend_alloca.
10037 2018-06-27 Florian Weimer <fweimer@redhat.com>
10040 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10041 scratch_buffer instead of extend_alloca. Update comments.
10043 2018-06-27 Florian Weimer <fweimer@redhat.com>
10046 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10047 instead of extend_alloca.
10049 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10052 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10053 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10055 * scripts/test-installation.pl: Put temporary files in build
10056 directory, not /tmp.
10057 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10058 (CFLAGS-bug4.c): Likewise.
10059 (CFLAGS-bug5.c): Likewise.
10060 (CFLAGS-test-fseek.c): Likewise.
10061 (CFLAGS-test-popen.c): Likewise.
10062 (CFLAGS-test_rdwr.c): Likewise.
10063 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10065 * stdio-common/bug4.c (main): Likewise.
10066 * stdio-common/bug5.c (main): Likewise.
10067 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10068 * stdio-common/test-popen.c (do_test): Likewise.
10069 * stdio-common/test_rdwr.c (main): Likewise.
10071 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10073 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10074 (sem_open): Set sem.newsem.pad to zero for valgrind.
10076 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10079 * NEWS: Mention fcntl64 addition.
10080 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10081 * login/utmp_file.c: Likewise.
10082 * sysdeps/posix/fdopendir.c: Likewise.
10083 * sysdeps/posix/opendir.c: Likewise.
10084 * sysdeps/unix/pt-fcntl.c: Likewise.
10085 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10086 __fcntl64_nocancel_adjusted): New prototype.
10087 (__fcntl_nocancel_adjusted): Remove prototype.
10088 * io/Makefile (routines): Add fcntl64.
10089 (CFLAGS-fcntl64.c): New rule.
10090 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10091 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10092 * io/fcntl.h (fcntl64): Add prototype and redirect if
10093 __USE_FILE_OFFSET64 is defined.
10094 * io/fcntl64.c: New file.
10095 * manual/llio.text: Add a note for which commands fcntl acts a
10096 cancellation point.
10097 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10098 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10099 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10101 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10102 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10104 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10105 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10106 to __fcntl64_nocancel.
10107 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10108 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10109 to __fcntl64_nocancel.
10110 * sysdeps/generic/not-cancel.h: Likewise.
10111 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10112 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10113 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10114 (fcntl64): New symbol.
10115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10126 fcntl64): Likewise.
10127 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10129 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10131 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10132 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10134 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10142 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10144 2018-06-26 Florian Weimer <fweimer@redhat.com>
10146 Run thread shutdown functions in an explicit order.
10147 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10149 (__libc_thread_freeres): Call thread shutdown functions
10151 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10152 * include/string.h (__strerror_thread_freeres): Declare.
10153 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10154 arena_thread_freeres. No longer static. Remove thread shutdown
10156 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10158 * resolv/res-close.c (__res_thread_freeres): Renamed from
10159 res_thread_freeres. No longer static. Remove thread shutdown
10161 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10162 * resolv/resolv_conf.c (freeres): Remove incorrect section
10163 attribute and use libc_freeres_fn.
10164 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10165 strerror_thread_freeres. No longer static. Remove thread
10166 shutdown hook registration.
10167 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10168 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10169 shutdown hook registration.
10170 * Makerules (shlib.lds): Do not provide section boundary symbols
10171 for __libc_thread_subfreeres.
10172 * manual/memory.texi (Basic Allocation): Update comment.
10174 2018-06-26 Florian Weimer <fweimer@redhat.com>
10176 Remove always-defined _RPC_THREAD_SAFE_ macro.
10177 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10178 Do not define _RPC_THREAD_SAFE_.
10179 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10181 * sunrpc/clnt_perr.c: Likewise.
10182 * sunrpc/clnt_raw.c: Likewise.
10183 * sunrpc/clnt_simp.c: Likewise.
10184 * sunrpc/key_call.c: Likewise.
10185 * sunrpc/rpc_common.c: Likewise.
10186 * sunrpc/rpc_main.c: Likewise.
10187 * sunrpc/rpc_thread.c: Likewise.
10188 * sunrpc/svc.c: Likewise.
10189 * sunrpc/svc_raw.c: Likewise.
10190 * sunrpc/svc_simple.c: Likewise.
10191 * sumrpc/svcauth_des.c: Likewise.
10193 2018-06-26 Florian Weimer <fweimer@redhat.com>
10195 * libio/Makefile (tests-internal): Add tst-vtables,
10196 tst-vtables-interposed.
10197 * libio/tst-vtables.c: New file.
10198 * libio/tst-vtables-common.c: Likewise.
10199 * libio/tst-vtables-interposed.c: Likewise.
10201 2018-06-26 Florian Weimer <fweimer@redhat.com>
10203 * support/support_test_main.c (support_test_main): Only call
10204 setvbuf if not disables.
10205 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10206 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10208 2018-06-26 Florian Weimer <fweimer@redhat.com>
10211 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10213 2018-06-25 Florian Weimer <fweimer@redhat.com>
10216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10217 Use struct scratch_buffer instead of extend_alloca.
10219 2018-06-25 Florian Weimer <fweimer@redhat.com>
10222 * nss/getent.c (initgroups_keys): Use dynarray instead of
10225 2018-06-25 Florian Weimer <fweimer@redhat.com>
10228 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10229 Use struct scratch_buffer instead of extend_alloca.
10231 2018-06-25 Florian Weimer <fweimer@redhat.com>
10234 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10235 back to malloc directly, without stack allocations.
10237 2018-06-25 Florian Weimer <fweimer@redhat.com>
10240 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10243 2018-06-25 Florian Weimer <fweimer@redhat.com>
10246 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10248 * nscd/hstcache.c (addhstbyX): Likewise.
10249 * nscd/pwdcache.c (addpwbyX): Likewise.
10250 * nscd/servicescache.c (addservbyX): Likewise.
10252 2018-06-25 Florian Weimer <fweimer@redhat.com>
10255 * nscd/connections.c (read_cmdline): New function.
10256 (restart): Use it. Update comment.
10258 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10261 * localedata/locales/csb_PL (mon): Rename to...
10263 (abmon): Rename to...
10264 (ab_alt_mon): This.
10265 (mon): Add with proper genitive forms, copy from Wikipedia.
10268 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10271 * localedata/locales/csb_PL (mon): Fix typos:
10272 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10273 (yesstr): Add, value is "jo".
10274 (nostr): Add, value is "nié".
10276 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10278 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10279 all log1p and significand functions on m680x0.
10280 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10281 of s_significand.c..
10282 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10283 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10284 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10285 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10286 s_log1p.c and include it..
10288 2018-06-21 Vincent Chen <vincentc@andestech.com>
10290 * elf/elf.h (R_NDS32_NONE): New define.
10291 (R_NDS32_32_RELA): Likewise.
10292 (R_NDS32_COPY): Likewise.
10293 (R_NDS32_GLOB_DAT): Likewise.
10294 (R_NDS32_JUMP_SLOT): Likewise.
10295 (R_NDS32_RELATIVE): Likewise.
10296 (R_NDS32_TLS_TPOFF): Likewise.
10297 (R_NDS32_TLS_DESC): Likewise.
10299 2018-06-21 Mark Wielaard <mark@klomp.org>
10301 * elf/elf.h (R_BPF_MAP_FD): Removed.
10302 (R_BPF_64_64, R_BPF_64_32): New.
10304 2018-06-21 Florian Weimer <fweimer@redhat.com>
10307 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10308 Renamed from libc_feholdsetround_ctx.
10309 (default_libc_feresetround_ctx): Renamed from
10310 libc_feresetround_ctx.
10311 (default_libc_feholdsetround_noex_ctx): Renamed from
10312 libc_feholdsetround_noex_ctx.
10313 (default_libc_feresetround_noex_ctx): Renamed from
10314 libc_feresetround_noex_ctx.
10315 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10316 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10317 forwardning to the old implementations under the new names.
10318 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10319 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10320 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10321 (libc_feresetround_ctx): Forward to default implements for i386
10322 and MATH_SET_BOTH_ROUNDING_MODES.
10323 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10324 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10326 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10328 * string/tst-cmp.c: Include <libc-diag.h>.
10329 (strncmp_max): Disable -Wstringop-overflow= around call to
10331 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10334 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10335 (main): Disable -Wunused-value around call to strpbrk.
10336 * string/bug-strspn1.c: Include <libc-diag.h>.
10337 (main): Disable -Wunused-value around call to strspn.
10339 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10340 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10342 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10343 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10345 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10347 * math/Makefile (libm-calls): Move s_significandF to...
10348 (gen-libm-calls): ... here.
10349 * math/s_significand_template.c: New file.
10350 * math/s_significand.c: Removed.
10351 * math/s_significandf.c: Removed.
10352 * math/s_significandl.c: Removed.
10353 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10354 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10356 * math/e_exp2_template.c (declare_mgen_finite_alias,
10357 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10358 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10359 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10361 2018-06-20 Florian Weimer <fweimer@redhat.com>
10363 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10365 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10368 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10369 floating-point number to strtod functions rather than possibly
10370 negating result of those functions.
10371 * stdio-common/tst-scanf-round.c: New file.
10372 * stdio-common/Makefile (tests): Add tst-scanf-round.
10373 ($(objpfx)tst-scanf-round): Depend on $(libm).
10375 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10377 * sysdeps/mach/hurd/localplt.data: Move to...
10378 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10379 R_386_GLOB_DAT like on Linux i386.
10381 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10383 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10384 (SHM_STAT_ANY): New macro.
10385 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10386 (SHM_STAT_ANY): Likewise.
10387 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10388 (SHM_STAT_ANY): Likewise.
10389 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10390 (SHM_STAT_ANY): Likewise.
10391 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10392 (SHM_STAT_ANY): Likewise.
10393 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10394 (SHM_STAT_ANY): Likewise.
10395 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10396 (SHM_STAT_ANY): Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10398 (SHM_STAT_ANY): Likewise.
10399 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10400 (SHM_STAT_ANY): Likewise.
10401 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10402 (SHM_STAT_ANY): Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10404 (SHM_STAT_ANY): Likewise.
10405 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10406 (SHM_STAT_ANY): Likewise.
10408 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10409 (SEM_STAT_ANY): New macro.
10410 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10411 (SEM_STAT_ANY): Likewise.
10412 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10413 (SEM_STAT_ANY): Likewise.
10414 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10415 (SEM_STAT_ANY): Likewise.
10416 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10417 (SEM_STAT_ANY): Likewise.
10418 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10419 (SEM_STAT_ANY): Likewise.
10420 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10421 (SEM_STAT_ANY): Likewise.
10422 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10423 (SEM_STAT_ANY): Likewise.
10424 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10425 (SEM_STAT_ANY): Likewise.
10426 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10427 (SEM_STAT_ANY): Likewise.
10429 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10430 (MSG_STAT_ANY): New macro.
10431 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10432 (MSG_STAT_ANY): Likewise.
10433 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10434 (MSG_STAT_ANY): Likewise.
10435 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10436 (MSG_STAT_ANY): Likewise.
10437 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10438 (MSG_STAT_ANY): Likewise.
10439 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10440 (MSG_STAT_ANY): Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10442 (MSG_STAT_ANY): Likewise.
10443 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10444 (MSG_STAT_ANY): Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10446 (MSG_STAT_ANY): Likewise.
10447 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10448 (MSG_STAT_ANY): Likewise.
10450 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10451 (MAP_TYPE): Change value to 0x2b.
10453 2018-06-18 Florian Weimer <fweimer@redhat.com>
10456 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10457 socket with SOCK_CLOEXEC.
10459 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10462 * sysdeps/powerpc/powerpc64/le/Makefile
10463 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10464 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10465 (gnulib-tests): Also add $(f128-loader-link) for
10466 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10468 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10470 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10471 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10473 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10474 (sendfile64): New strong alias.
10475 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10476 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10477 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10478 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10480 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10481 ___pthread_get_cleanup_stack.
10482 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10483 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10484 * mach/shortcut.awk: Make syscall stubs include
10485 <mach-shortcuts-hidden.h> and add hidden definition.
10486 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10487 (__mach_msg): Add hidden prototype.
10488 * mach/msg.c: Include <mach.h>.
10489 (__mach_msg): Add hidden definition.
10490 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10491 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10492 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10493 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10494 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10495 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10496 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10497 prototype and definition.
10498 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10499 hidden target for _hurd_self_sigstate.
10501 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10504 * stdlib/tst-strtod-nan-sign-main.c: New file.
10505 * stdlib/tst-strtod-nan-sign.c: Likewise.
10506 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10507 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10508 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10509 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10510 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10512 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10518 2018-06-14 Florian Weimer <fweimer@redhat.com>
10521 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10522 that the result stays within the ISO-8859-1 range.
10523 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10524 characters are defined in IBM273.
10526 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10528 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10529 __mach_task_self): Remove attribute_hidden.
10531 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10533 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10534 ignore -Wrestrict for one test.
10536 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10537 Szabolcs Nagy <szabolcs.nagy@arm.com>
10539 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10541 2018-06-14 Florian Weimer <fweimer@redhat.com>
10543 * scripts/update-abilist.sh: Accept empty list of files to patch.
10545 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10547 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10548 test-xfail-check-abi-libmachuser): Add.
10549 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10550 __libc_read and __libc_write to __read and __write.
10551 * sysdeps/hurd/include/hurd/port.h: New file.
10552 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10553 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10554 __thread_switch, __evc_wait): Move declarations to...
10555 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10557 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10558 use PLT to call _hurd_self_sigstate.
10560 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10563 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10564 MAX_EXP as overflowing.
10565 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10567 (round_str): Output also whether result overflows in each rounding
10569 * stdlib/tst-strtod-round-data: Add more tests.
10570 * stdlib/tst-strtod-round-data.h: Regenerated.
10571 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10572 (TEST): Handle extra arguments for overflow flags.
10573 (struct test_overflow): New type.
10574 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10575 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10576 (test_in_one_mode): Take argument with overflow information.
10577 (do_test): Update calls to test_in_one_mode.
10579 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10581 * elf/dl-load (_dl_dst_substitute): Correct comment.
10582 (_dl_dst_count): Likewise.
10584 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10585 lll_futex_timed_wait.
10587 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10590 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10592 * math/test-nan-const.c: New file.
10593 * math/Makefile (tests): Add test-nan-const.
10594 (CFLAGS-test-nan-const.c): New variable.
10596 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10598 * benchtests/scripts/compare_strings.py (process_results): Add
10599 funcs argument. Compare only functions which are selected.
10600 (main): Check if base function is among selected functions.
10601 Pass selected functions to process_results.
10602 (__main__): Add -f/--functions argument.
10604 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10605 Hongbo Zhang <hongbo.zhang@linaro.org>
10607 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10608 __memcpy_falkor for phecda core.
10609 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10610 __memmove_falkor for phecda core.
10611 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10612 __memset_falkor for phecda core.
10613 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10615 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10616 macro to identify phecda core.
10618 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10619 Andreas Schwab <schwab@suse.de>
10620 Dmitry V. Levin <ldv@altlinux.org>
10621 Florian Weimer <fweimer@redhat.com>
10628 * elf/dl-dst.h: Remove DL_DST_COUNT.
10629 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10630 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10631 (is_dst): Comment. Support ELF gABI.
10632 (_dl_dst_count): Comment. Simplify and count DSTs.
10633 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10634 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10637 2018-06-12 Zack Weinberg <zackw@panix.com>
10639 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10640 * sysdeps/unix/sysv/linux/dl-sysdep.c
10641 Include not-cancel.h. Use __close_nocancel instead of __close,
10642 __open64_nocancel instead of __open, __read_nocancel instead of
10643 __libc_read, and __write_nocancel instead of __libc_write.
10645 * csu/check_fds.c (check_one_fd)
10646 * sysdeps/posix/fdopendir.c (__fdopendir)
10647 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10648 instead of __fcntl and/or __libc_fcntl.
10650 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10651 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10652 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10653 Use __open64_nocancel instead of __open_nocancel.
10655 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10656 hidden_proto declarations to the end and issue them if either
10657 IS_IN(libc) or IS_IN(rtld).
10658 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10659 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10660 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10661 read_nocancel, waitpid_nocancel, write_nocancel.
10663 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10664 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10665 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10667 * nptl/pt-fcntl.c: New file.
10668 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10669 (libpthread-routines): Add pt-fcntl.
10670 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10671 (__libc_fcntl): Remove attribute_hidden.
10672 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10673 __fcntl_nocancel_adjusted, not fcntl_common.
10674 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10675 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10676 to fcntl_nocancel.c.
10677 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10680 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10682 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10683 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10684 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10685 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10686 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10687 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10688 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10689 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10690 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10691 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10692 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10693 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10694 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10695 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10696 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10697 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10698 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10699 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10700 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10701 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10703 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10704 libpthread-routines.
10705 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10708 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10709 __libc_read, and __write instead of __libc_write. Define
10710 __open64 in addition to __open.
10712 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10716 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10717 to _private_tm[3] and add __glibc_reserved2.
10718 Add _Static_assert of offset of __private_ss == 0x30.
10719 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10720 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10722 2018-06-12 Florian Weimer <fweimer@redhat.com>
10724 x86: Make strncmp usable from rtld.
10725 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10726 __strncmp_ia32 if in libc (and not in rtld).
10727 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10728 strncmp if not in libc (and not to __strncmp_sse2).
10730 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10733 * localedata/locales/gd_GB (mon): Rename to...
10735 (mon): Import from CLDR (genitive case).
10736 * localedata/locales/hsb_DE (mon): Rename to...
10738 (mon): Import from CLDR (genitive case).
10739 * localedata/locales/wa_BE (mon): Rename to...
10741 (mon): Add, fill with the proper genitive forms, but CLDR data
10742 is incomplete; completed according to the comments in this file.
10743 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10745 * localedata/locales/wa_BE (country_name): Reword
10746 "Beljike" -> "Beldjike".
10748 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10752 cases of non-finite arguments.
10753 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10755 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10758 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10760 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10763 * include/unistd.h (__execvpex): New prototype.
10764 * posix/Makefile (tests): Add tst-spawn4.
10765 (tests-internal): Add tst-spawn4-compat.
10766 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10767 * posix/tst-spawn4-compat.c: New file.
10768 * posix/tst-spawn4.c: Likewise.
10769 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10770 binaries as shell scripts.
10771 * sysdeps/posix/spawni.c (__spawni): Likewise.
10773 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10776 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10777 ($(all-built-dso:=.dynsym): New target.
10778 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10779 ($(objpfx)check-initfini.out): New target.
10780 (generated): Add check-initfini.out.
10781 * scripts/check-initfini.awk: New file.
10782 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10784 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10786 * sysdeps/arm/crti.S (_init): Mark as hidden.
10788 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10790 * sysdeps/i386/crti.S (_init): Mark as hidden.
10792 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10794 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10796 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10798 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10800 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10802 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10804 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10806 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10808 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10810 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10812 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10814 * sysdeps/sh/crti.S (_init): Mark as hidden.
10816 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10818 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10821 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10823 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10824 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10825 and TF redirection to KFtype and KF only when the default
10826 long double type is not the IEEE 128-bit floating point type.
10828 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10830 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10832 (HWCAP_USCAT): Likewise.
10833 (HWCAP_ILRCPC): Likewise.
10834 (HWCAP_FLAGM): Likewise.
10835 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10837 (_dl_aarch64_cap_flags): Add new flag names.
10839 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10840 (MAP_FIXED_NOREPLACE): New macro.
10841 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10842 (MAP_FIXED_NOREPLACE): Likewise.
10843 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10844 (MAP_FIXED_NOREPLACE): Likewise.
10845 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10846 (MAP_FIXED_NOREPLACE): Likewise.
10847 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10848 (MAP_FIXED_NOREPLACE): Likewise.
10849 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10850 (MAP_FIXED_NOREPLACE): Likewise.
10851 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10852 (MAP_FIXED_NOREPLACE): Likewise.
10853 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10854 (MAP_FIXED_NOREPLACE): Likewise.
10855 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10856 (MAP_FIXED_NOREPLACE): Likewise.
10857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10858 (MAP_FIXED_NOREPLACE): Likewise.
10859 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10860 (MAP_FIXED_NOREPLACE): Likewise.
10861 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10862 (MAP_FIXED_NOREPLACE): Likewise.
10863 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10864 (MAP_FIXED_NOREPLACE): Likewise.
10865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10866 (MAP_FIXED_NOREPLACE): Likewise.
10867 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10868 (MAP_FIXED_NOREPLACE): Likewise.
10870 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10873 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10878 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10880 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10882 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10884 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10886 * benchtests/scripts/compare_string.py: (process_results) Catch
10887 exception in non-existent base_func and catch exception in
10888 non-existent attribute.
10889 (parse_file) Catch exception if input file does not exist.
10891 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10893 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10894 options to avoid diff calculation and omit header, respectively.
10895 (main): process --no-diff and --no-header
10897 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10898 H.J. Lu <hongjiu.lu@intel.com>
10900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10901 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10904 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10905 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10906 and __wcsncmp_sse2.
10907 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10908 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10909 AVX unaligned load is fast and vzeroupper is preferred.
10910 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10911 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10912 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10913 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10914 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10915 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10916 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10917 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10918 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10919 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10922 2018-06-01 Florian Weimer <fweimer@redhat.com>
10924 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10925 configuring with --disable-multi-arch, building with
10926 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10929 2018-06-01 Florian Weimer <fweimer@redhat.com>
10931 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10932 results from building with “-march=x86-64 -mtune=generic
10933 -mfpmath=sse” and running on a Haswell-era CPU.
10935 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10938 * soft-fp/sqrttf2.c: Remove file.
10939 * soft-fp/sqrtdf2.c: Move to ....
10940 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10942 (__sqrtdf2): Make conditional on
10943 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10945 * soft-fp/sqrtsf2.c: Move to ....
10946 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10948 (__sqrtsf2): Make conditional on
10949 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10951 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10952 (gcc-double-routines): Remove sqrtdf2.
10953 (gcc-quad-routines): Remove sqrttf2.
10954 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10955 Do not filter out sqrtsf2 and sqrtdf2.
10956 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10957 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10959 2018-06-01 Florian Weimer <fweimer@redhat.com>
10961 * sysdeps/generic/libcidn.abilist: Remove file.
10963 2018-06-01 Florian Weimer <fweimer@redhat.com>
10966 * libio/strfile.h (struct _IO_str_fields): Rename members to
10967 discourage their use and add comment.
10968 (_IO_STR_DYNAMIC): Remove unused macro.
10969 * libio/strops.c (_IO_str_init_static_internal): Do not use
10970 callback pointers. Call malloc and free.
10971 (_IO_str_overflow): Do not use callback pointers. Call malloc
10973 (enlarge_userbuf): Likewise.
10974 (_IO_str_finish): Call free.
10975 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10976 _allocate_buffer_unused.
10977 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10979 (enlarge_userbuf): Likewise.
10980 (_IO_wstr_finish): Call free.
10981 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10982 _allocate_buffer_unused, _free_buffer_unused.
10983 * libio/memstream.c (__open_memstream): Likewise.
10984 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10985 * libio/wmemstream.c (open_wmemstream): Likewise.
10987 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10989 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10992 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10994 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10995 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10996 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10998 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11000 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11002 2018-05-29 Florian Weimer <fweimer@redhat.com>
11004 * support/Makefile (libsupport-routines): Add
11005 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11006 xpthread_barrierattr_setpshared.
11007 * support/xpthread_barrierattr_destroy.c: New file.
11008 * support/xpthread_barrierattr_init.c: Likewise.
11009 * support/xpthread_barrierattr_setpshared.c: Likewise.
11011 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11014 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11015 _r_debug and update DT_DEBUG for debugger.
11017 2018-05-29 Florian Weimer <fweimer@redhat.com>
11019 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11020 (tst-strtod5i.out): Likewise.
11022 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11024 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11025 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11026 (sparc64-quad-routines): New variable. Moved from ....
11027 [$(subdir) = soft-fp] (sysdep_routines): Add
11028 $(sparc64-quad-routines). Moved from ....
11029 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11030 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11031 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11033 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11034 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11035 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11036 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11037 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11038 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11039 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11040 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11041 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11042 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11043 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11044 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11045 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11046 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11047 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11048 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11049 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11050 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11051 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11052 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11053 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11054 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11055 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11056 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11057 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11058 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11059 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11060 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11061 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11062 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11063 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11064 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11065 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11066 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11067 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11068 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11069 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11070 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11071 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11072 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11073 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11074 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11075 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11076 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11077 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11078 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11079 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11080 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11081 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11082 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11083 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11084 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11085 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11086 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11087 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11088 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11089 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11090 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11092 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11093 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11094 (sparc32-quad-routines): New variable. Moved from ....
11095 [$(subdir) = soft-fp] (sysdep_routines): Add
11096 $(sparc32-quad-routines). Moved from ....
11097 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11098 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11100 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11101 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11102 * sysdeps/sparc/sparc32/q_add.c: ... here.
11103 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11104 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11105 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11106 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11107 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11108 * sysdeps/sparc/sparc32/q_div.c: ... here.
11109 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11110 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11111 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11112 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11113 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11114 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11115 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11116 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11117 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11118 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11119 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11120 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11121 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11122 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11123 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11124 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11125 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11126 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11127 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11128 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11129 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11130 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11131 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11132 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11133 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11134 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11135 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11136 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11137 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11138 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11139 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11140 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11141 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11142 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11143 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11144 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11145 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11146 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11147 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11148 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11149 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11150 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11151 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11152 * sysdeps/sparc/sparc32/q_util.c: ... here.
11153 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11154 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11155 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11156 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11158 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11159 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11161 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11162 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11163 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11164 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11166 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11172 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11173 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11175 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11178 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11181 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11183 * sysdeps/sh/Implies: Remove sh/soft-fp.
11184 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11185 * sysdeps/sh/sfp-machine.h: ... here.
11187 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11189 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11190 (__mempcpy_erms): Skip zero length.
11191 (__memmove_erms): Likewise.
11192 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11193 (__memset_erms): Likewise.
11195 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11197 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11198 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11199 Add functions moved from ....
11200 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11201 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11202 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11204 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11205 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11206 * sysdeps/alpha/e_sqrtl.c: ... here.
11207 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11208 * sysdeps/alpha/local-soft-fp.h: ... here.
11209 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11210 * sysdeps/alpha/ots_add.c: ... here.
11211 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11212 * sysdeps/alpha/ots_cmp.c: ... here.
11213 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11214 * sysdeps/alpha/ots_cmpe.c: ... here.
11215 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11216 * sysdeps/alpha/ots_cvtqux.c: ... here.
11217 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11218 * sysdeps/alpha/ots_cvtqx.c: ... here.
11219 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11220 * sysdeps/alpha/ots_cvttx.c: ... here.
11221 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11222 * sysdeps/alpha/ots_cvtxq.c: ... here.
11223 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11224 * sysdeps/alpha/ots_cvtxt.c: ... here.
11225 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11226 * sysdeps/alpha/ots_div.c: ... here.
11227 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11228 * sysdeps/alpha/ots_mul.c: ... here.
11229 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11230 * sysdeps/alpha/ots_nintxq.c: ... here.
11231 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11232 * sysdeps/alpha/ots_sub.c: ... here.
11233 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11234 * sysdeps/alpha/sfp-machine.h: ... here.
11236 2018-05-23 Florian Weimer <fweimer@redhat.com>
11244 Switch to extern IDNA implementation (libidn2).
11245 * libidn: Remove subdirectory.
11246 * LICENSES: Do not mention licensing conditions for the removed
11248 * config.h.in (HAVE_LIBIDN): Remove.
11249 * include/dlfcn.h (__libc_dlopen): Update comment.
11250 * include/idna.h: Remove file.
11251 * inet/Makefile (routines): Add idna.
11252 (tests-static, tests-internal): Add tst-idna_name_classify.
11253 (LOCALES): Generate locales for tests.
11254 (tst-idna_name_classify.out): Depend on generated locales.
11255 * inet/idna_name_classify.c: New file.
11256 * inet/tst-idna_name_classify.c: Likewise.
11257 * inet/net-internal.h (__idna_to_dns_encoding)
11258 (__idna_from_dns_encoding): Declare.
11259 * inet/net-internal.h (enum idna_name_classification): Define.
11260 (__idna_name_classify): Declare.
11261 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11262 __idna_from_dns_encoding.
11263 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11264 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11265 name as a fallback in case of encoding errors.
11266 (getnameinfo): Use DEPRECATED_NI_IDN.
11267 * inet/idna.c: New file.
11268 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11269 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11270 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11271 (modules-names): Add tst-no-libidn2.
11272 (extra-test-objs): Add tst-no-libidn2.os.
11273 (LDFLAGS-tst-no-libidn2.so): Set soname.
11274 (LOCALES): Set, and generate locales.
11275 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11276 (tst-resolv-ai_idn-latin1): Likewise.
11277 (tst-resolv-ai_idn-nolibidn2): Likewise.
11278 (tst-resolv-ai_idn.out): Depend on locales.
11279 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11280 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11282 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11283 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11284 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11285 * resolv/tst-resolv-ai_idn.c: New file.
11286 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11287 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11288 * resolv/tst-no-libidn2.c: Likewise.
11289 * support/support_format_addrinfo.c (format_ai_flags): Do not
11290 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11291 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11292 (gaih_inet): Call __idna_to_dns_encoding and
11293 __idna_from_dns_encoding, and use the original (punycode) name if
11294 __idna_from_dns_encoding fails due to an encoding error.
11295 (getaddrinfo): Use DEPRECATED_AI_IDN.
11296 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11297 * sysdeps/unix/inet/configure: Remove file.
11298 * sysdeps/unix/inet/configure.ac: Likewise.
11300 2018-05-23 Florian Weimer <fweimer@redhat.com>
11302 Implement allocate_once.
11303 * include/allocate_once.h: New file.
11304 * misc/allocate_once.c: Likewise.
11305 * misc/tst-allocate_once.c: Likewise.
11306 * misc/Makefile (routines): Add allocate_once.
11307 (tests-internal): Add tst-allocate_once.
11308 (generated): Add tst-allocate_once.mtrace,
11309 tst-allocate_once-mem.out.
11310 (tests-special): Add tst-allocate_once-mem.out.
11311 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11312 (tst-allocate_once-mem.out): Call mtrace.
11313 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11315 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11318 * string/test-memcpy.c (do_test1): New function.
11319 (test_main): Call it.
11321 2018-05-23 Andreas Schwab <schwab@suse.de>
11325 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11326 (L(preloop_large)): Save initial destination pointer in %r11 and
11327 use it instead of %rax after the loop.
11328 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11330 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11332 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11333 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11334 -I../soft-fp. Moved from ....
11335 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11336 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11337 * sysdeps/aarch64/e_sqrtl.c: ... here.
11338 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11339 * sysdeps/aarch64/sfp-machine.h: ... here.
11341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11342 -Wmaybe-uninitialized around access to fq[0].
11343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11347 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11348 aliases for non-libc case of versioned symbols.
11349 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11350 (llseek): Define as compat symbol if
11351 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11353 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11354 Make into a compat symbol, disabled for minimum symbol version
11355 GLIBC_2.28 and later.
11356 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11358 2018-05-22 Florian Weimer <fweimer@redhat.com>
11360 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11361 not add -mpreferred-stack-boundary=4.
11362 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11363 (stack-align-test-flags): Likewise.
11364 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11366 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11367 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11368 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11369 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11370 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11371 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11372 (CFLAGS-tst-align2.c): Likewise.
11374 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11376 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11377 (index_arch_Prefer_FSRM): Likewise.
11378 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11379 Also check Prefer_FSRM.
11380 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11381 Also return OPTIMIZE (erms) for Prefer_FSRM.
11383 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11385 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11386 (index_cpu_FSRM): Likewise.
11387 (reg_FSRM): Likewise.
11389 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11391 * math/gen-tgmath-tests.py: Import sys.
11392 (Tests.__init__): Initialize macros_seen.
11393 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11394 if requested to do so for this macro.
11395 (Tests.add_all_tests): Take argument for macro for which to
11397 (Tests.check_macro_list): New function.
11398 (main): Handle check-list argument and argument specifying macro
11399 for which to generate tests.
11400 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11401 [PYTHON] (tgmath3-macro-tests): Likewise.
11402 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11403 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11404 not test-tgmath3.c.
11405 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11406 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11408 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11409 [PYTHON] ($(foreach
11410 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11412 [PYTHON] (tests-special): Add
11413 $(objpfx)test-tgmath3-macro-list.out.
11414 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11416 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11417 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11421 * time/tzset.c (SECSPERDAY): Cast to time_t.
11422 * time/tst-y2039.c: New file.
11423 * time/Makefile (tests): Add tst-y2039.
11425 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11427 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11428 (PREFETCH_ONE_SET): Remove duplicate line.
11430 2018-05-17 Florian Weimer <fweimer@redhat.com>
11432 * sysdeps/generic/math-type-macros-double.h: Include
11433 <math-nan-payload-double.h> after <libm-alias-double.h>.
11434 * sysdeps/generic/math-type-macros-float.h: Include
11435 <math-nan-payload-float.h> after <libm-alias-float.h>.
11436 * sysdeps/generic/math-type-macros-float128.h: Include
11437 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11438 * sysdeps/generic/math-type-macros-ldouble.h: Include
11439 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11441 2018-05-17 Andreas Schwab <schwab@suse.de>
11443 * resolv/res_send.c (__res_context_send): Don't set errno when
11444 returing error after malloc failure.
11446 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11448 * nptl/allocatestack.c (allocate_stack): Remove the
11449 !__ASSUME_PRIVATE_FUTEX paths.
11450 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11451 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11453 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11454 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11455 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11456 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11457 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11458 !__ASSUME_PRIVATE_FUTEX path.
11459 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11460 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11461 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11462 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11463 !__ASSUME_PRIVATE_FUTEX macros.
11464 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11465 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11467 * sysdeps/unix/sysv/linux/kernel-features.h
11468 (__ASSUME_PRIVATE_FUTEX): Removed.
11470 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11472 * math/Makefile (libm-narrow-fns): Add div.
11473 (libm-test-funcs-narrow): Likewise.
11474 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11475 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11476 * math/gen-auto-libm-tests.c (test_functions): Add div.
11477 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11478 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11479 (NARROW_DIV_TRIVIAL): Likewise.
11480 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11482 (__ddivl): Likewise.
11483 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11485 (CFLAGS-nldbl-ddiv.c): New variable.
11486 (CFLAGS-nldbl-fdiv.c): Likewise.
11487 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11491 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11492 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11493 * math/auto-libm-test-in: Add tests of div.
11494 * math/auto-libm-test-out-narrow-div: New generated file.
11495 * math/libm-test-narrow-div.inc: New file.
11496 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11499 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11500 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11501 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11510 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11511 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11512 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11513 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11515 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11541 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11544 * nscd/nscd-client.h (sendfileall): Remove prototype.
11545 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11546 (handle_request): Use writeall instead of sendfileall.
11547 * nscd/aicache.c (addhstaiX): Likewise.
11548 * nscd/grpcache.c (cache_addgr): Likewise.
11549 * nscd/hstcache.c (cache_addhst): Likewise.
11550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11551 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11552 * nscd/pwdcache.c (cache_addpw): Likewise.
11553 * nscd/servicescache.c (cache_addserv): Likewise.
11554 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11555 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11559 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11561 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11562 Include <string/strncat.c>.
11563 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11565 (__GI___strncat): New hidden alias.
11567 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/mips/mips32/libm-test-ulps: Update.
11570 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11572 2018-05-16 Florian Weimer <fweimer@redhat.com>
11574 * support/Makefile (libsupport-routines): Add support_quote_blob,
11575 support_test_compare_blob.
11576 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11577 * support/check.h (TEST_COMPARE_BLOB): Define.
11578 (support_test_compare_blob): Declare.
11579 * support/support.h (support_quote_blob): Declare.
11580 * support/support_quote_blob.c: New file.
11581 * support/support_test_compare_blob.c: Likewise.
11582 * support/tst-support_quote_blob.c: Likewise.
11583 * support/tst-test_compare_blob.c: Likewise.
11585 2018-05-16 Florian Weimer <fweimer@redhat.com>
11587 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11588 of <strtod_nan_double.h>.
11589 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11590 instead of SET_MANTISSA.
11591 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11592 of include <strtod_nan_float.h>.
11593 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11594 instead of <strtod_nan_ldouble.h>.
11595 * stdlib/strtod_nan_double.h: Move to ...
11596 * sysdeps/generic/math-nan-payload-double.h: ... here.
11597 (FLOAT): Remove definition.
11598 (SET_MANTISSA): Rename to ...
11599 (SET_NAN_PAYLOAD): ... this.
11600 * stdlib/strtod_nan_float.h: Move to ...
11601 * sysdeps/generic/math-nan-payload-float.h: ... here.
11602 (FLOAT): Remove definition.
11603 (SET_MANTISSA): Rename to ...
11604 (SET_NAN_PAYLOAD): ... this.
11605 * sysdeps/generic/math-type-macros-double.h: Include
11606 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11607 instead of <math-svid-compat.h>.
11608 * sysdeps/generic/math-type-macros-float.h: Include
11609 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11610 instead of <math-svid-compat.h>.
11611 * sysdeps/generic/math-type-macros-float128.h: Include
11612 <math-nan-payload-float128.h>.
11613 * sysdeps/generic/math-type-macros-ldouble.h: Include
11614 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11615 instead of <math-svid-compat.h>.
11616 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11617 check for definition.
11618 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11619 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11620 Include <ieee754_float128.h>.
11621 (FLOAT): Remove definition.
11622 (SET_MANTISSA): Rename to ...
11623 (SET_NAN_PAYLOAD): ... this.
11624 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11625 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11626 Do not include <float128_private.h>.
11627 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11629 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11630 (FLOAT): Remove definition.
11631 (SET_MANTISSA): Rename to ...
11632 (SET_NAN_PAYLOAD): ... this.
11633 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11634 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11635 (FLOAT): Remove definition.
11636 (SET_MANTISSA): Rename to ...
11637 (SET_NAN_PAYLOAD): ... this.
11638 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11639 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11640 (FLOAT): Remove definition.
11641 (SET_MANTISSA): Rename to ...
11642 (SET_NAN_PAYLOAD): ... this.
11643 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11644 of "../stdlib/strtod_nan_double.h".
11645 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11646 of "../stdlib/strtod_nan_float.h".
11647 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11648 instead of "../stdlib/strtod_nan_ldouble.h".
11649 * manual/arith.texi (Parsing of Floats): Adjust comment.
11651 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11653 * math/Makefile (libm-narrow-fns): Add mul.
11654 (libm-test-funcs-narrow): Likewise.
11655 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11656 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11657 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11658 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11659 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11660 (NARROW_MUL_TRIVIAL): Likewise.
11661 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11662 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11664 (__dmull): Likewise.
11665 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11667 (CFLAGS-nldbl-dmul.c): New variable.
11668 (CFLAGS-nldbl-fmul.c): Likewise.
11669 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11673 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11674 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11675 * math/auto-libm-test-in: Add tests of mul.
11676 * math/auto-libm-test-out-narrow-mul: New generated file.
11677 * math/libm-test-narrow-mul.inc: New file.
11678 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11681 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11682 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11683 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11690 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11691 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11692 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11693 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11694 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11695 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11697 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11723 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11726 with *%eax in call.
11728 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11730 * sysdeps/i386/ldsodefs.h: Removed.
11731 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11732 * sysdeps/x86/ldsodefs.h: This.
11733 (La_i86_regs): New.
11734 (La_i86_retval): Likewise.
11735 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11736 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11738 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11740 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11743 2018-05-13 Alan Modra <amodra@gmail.com>
11745 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11746 R_PARISC_TLS_DTPOFF32 reloc addend.
11748 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11750 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11751 * math/math.h: Restrict the prototype definition for the functions
11752 issignaling(_Float128) and iszero(_Float128); and template
11753 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11754 __HAVE_FLOAT128_UNLIKE_LDBL.
11755 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11756 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11757 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11758 __f128() constants; define the type _Float128 as long double;
11759 and reuse long double in __CFLOAT128.
11761 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11763 * sysdeps/generic/math_private.h: Do not include
11765 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11767 * math/fromfp.h: Include <math-barriers.h>.
11768 * math/math-narrow.h: Likewise.
11769 * math/s_nextafter.c: Likewise.
11770 * math/s_nexttowardf.c: Likewise.
11771 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11772 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11773 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11774 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11775 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11776 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11777 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11779 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11781 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11784 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11786 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11791 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11792 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11793 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11794 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11795 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11796 * sysdeps/ieee754/k_standardl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11817 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11818 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11820 2018-05-11 Florian Weimer <fweimer@redhat.com>
11822 Use 64-bit epoch values in the time zone file parser.
11823 * include/time.h (internal_time_t): Define.
11824 (__tzfile_compute): Use it.
11825 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11827 (transitions): Switch to internal_time_t.
11828 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11830 (__tzfile_compute): Use internal_time_t for timer argument. Check
11831 for truncation before calling __offtime.
11833 2018-05-11 Florian Weimer <fweimer@redhat.com>
11836 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11837 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11839 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11840 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11841 export without --enable-obsolete-rpc.
11842 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11843 symbol. This should not have been exported, ever.
11845 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11848 * localedata/locales/gd_GB (abmon): Fix typo in May:
11849 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11851 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11853 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11854 Use multiple registers to copy data in loop tail.
11856 * sysdeps/aarch64/multiarch/memmove_falkor.S
11857 (__memmove_falkor): Use multiple registers to move data in
11860 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11862 * math/math-underflow.h: New file.
11863 * sysdeps/generic/math_private.h: Do not include <float.h>.
11864 (fabs_tg): Remove macro. Moved to math-underflow.h.
11865 (min_of_type_f): Likewise.
11866 (min_of_type_): Likewise.
11867 (min_of_type_l): Likewise.
11868 (min_of_type_f128): Likewise.
11869 (min_of_type): Likewise.
11870 (math_check_force_underflow): Likewise.
11871 (math_check_force_underflow_nonneg): Likewise.
11872 (math_check_force_underflow_complex): Likewise.
11873 * math/e_exp2_template.c: Include <math-underflow.h>.
11874 * math/k_casinh_template.c: Likewise.
11875 * math/s_catan_template.c: Likewise.
11876 * math/s_catanh_template.c: Likewise.
11877 * math/s_ccosh_template.c: Likewise.
11878 * math/s_cexp_template.c: Likewise.
11879 * math/s_clog10_template.c: Likewise.
11880 * math/s_clog_template.c: Likewise.
11881 * math/s_csin_template.c: Likewise.
11882 * math/s_csinh_template.c: Likewise.
11883 * math/s_csqrt_template.c: Likewise.
11884 * math/s_ctan_template.c: Likewise.
11885 * math/s_ctanh_template.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11895 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11904 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11906 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11907 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11908 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11910 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11911 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11912 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11913 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11915 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11917 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11922 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11963 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11964 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11966 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11971 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/generic/math-barriers.h: New file.
11974 * sysdeps/generic/math_private.h [!math_opt_barrier]
11975 (math_opt_barrier): Move to math-barriers.h.
11976 [!math_opt_barrier] (math_force_eval): Likewise.
11977 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11978 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11980 (math_force_eval): Likewise.
11981 * sysdeps/alpha/fpu/math-barriers.h: New file.
11982 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11984 (math_force_eval): Likewise.
11985 * sysdeps/x86/fpu/math-barriers.h: New file.
11986 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11988 (math_force_eval): Likewise.
11989 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11990 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11991 multiple-include guard for rename.
11992 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11993 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11995 (math_force_eval): Likewise.
11997 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12001 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12003 * stdlib/Makefile (test-bz22786): New test.
12004 * stdlib/test-bz22786.c: New test.
12006 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12008 * include/math-narrow-eval.h: New file. Contents moved from ....
12009 * sysdeps/generic/math_private.h: ... here.
12010 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12011 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12012 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12013 * stdlib/strtod_l.c: Likewise.
12014 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12015 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12016 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12030 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12031 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12032 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12036 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12038 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12040 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12041 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12042 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12044 2018-05-08 Andreas Schwab <schwab@suse.de>
12046 * sysdeps/nptl/internaltypes.h: Fix comment.
12048 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12050 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12051 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12054 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12056 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12057 of I into loop header.
12058 * benchtests/bench-memmove-walk.c
12059 (test_main): Likewise.
12061 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12064 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12065 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12067 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12070 * elf/dl-load.c (open_verify): Fix stack overflow.
12071 * elf/Makefile (tst-big-note): New test.
12072 * elf/tst-big-note-lib.S: New.
12073 * elf/tst-big-note.c: New.
12075 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12077 * scripts/abilist.awk: Ignore absolute symbols.
12078 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12079 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12080 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12081 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12082 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12083 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12084 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12085 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12086 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12087 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12088 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12089 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12171 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12185 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12213 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12234 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12324 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12339 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12378 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12392 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12431 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12434 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12435 Use atomic_load_acquire to load __tid.
12437 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12439 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12440 Restore the pointer into %rdx, after syscall and use %rdx,
12441 instead of %rsi, to restore context.
12443 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12445 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12446 Pop the pointer into %rdx after syscall and use %rdx, instead
12447 of %rsi, to restore context.
12449 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12451 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12452 handlers after setjmp.
12453 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12455 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12456 <libc-pointer-arith.h>.
12457 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12458 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12459 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12460 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12461 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12462 * sysdeps/x86/__longjmp_cancel.S: New file.
12463 * sysdeps/x86/longjmp.c: Likewise.
12464 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12466 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12468 * NEWS: Add ustat.h deprecation entry.
12469 * bits/ustat.h: Remove file.
12470 * misc/sys/ustat.h: Likewise.
12471 * misc/ustat.h: Likewise.
12472 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12473 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12474 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12475 compatibility mode.
12476 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12477 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12478 generic Linux implementation.
12480 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12482 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12483 * math/w_expl_compat.c: Likewise.
12484 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12486 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12488 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12490 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12492 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12493 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12494 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12496 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12499 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12500 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12503 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12505 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12507 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12508 * math/w_asin_template.c: Likewise.
12509 * math/w_atanh_template.c: Likewise.
12511 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12513 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12514 to powerpc/powerpc64/be for big-endian.
12515 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12518 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12519 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12520 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12521 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12522 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12523 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12524 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12525 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12526 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12527 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12528 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12529 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12530 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12531 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12532 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12533 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12534 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12535 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12536 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12537 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12538 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12539 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12540 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12541 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12542 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12543 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12544 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12545 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12546 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12547 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12548 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12549 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12551 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12552 adjusted to imply powerpc64 and older processors on powerpc64/be.
12553 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12554 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12555 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12556 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12557 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12558 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12559 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12560 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12561 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12562 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12563 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12564 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12565 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12566 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12567 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12568 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12569 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12570 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12572 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12573 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12574 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12575 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12576 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12577 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12578 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12579 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12580 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12581 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12582 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12583 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12585 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12586 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12587 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12588 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12590 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12591 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12593 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12595 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12596 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12597 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12598 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12599 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12600 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12601 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12602 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12603 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12604 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12605 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12607 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12608 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12609 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12610 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12611 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12612 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12613 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12614 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12615 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12616 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12617 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12619 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12620 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12621 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12622 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12623 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12624 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12625 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12626 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12627 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12628 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12629 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12630 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12632 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12633 and adjusted to imply olders processors.
12634 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12635 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12636 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12637 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12638 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12639 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12640 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12641 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12642 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12643 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12644 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12663 powerpc64 and adjusted.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12669 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/tile: Remove.
12672 * sysdeps/unix/sysv/linux/tile: Likewise.
12673 * README (tilegx-*-linux-gnu): Remove from list of supported
12675 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12676 contribution of support for generic Linux kernel syscall
12678 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12679 tilegx configurations.
12680 (Config.install_linux_headers): Do not handle tile.
12681 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12683 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12684 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12685 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12686 conditional undefine and redefine.
12687 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12689 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12690 conditional undefine and redefine.
12692 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12694 * signal/tst-sigaction.c: New file to test BZ #23069.
12695 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12697 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12700 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12701 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12702 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12703 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12705 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12707 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12708 _DIRENT_MATCHES_DIRENT64 is not defined.
12709 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12710 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12712 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12713 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12715 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12717 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12718 version to GCC 8 branch.
12720 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12722 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12723 (check_no_hidden): Use type of original function when declaring
12726 * sysdeps/unix/sysv/linux/sys/ptrace.h
12727 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12728 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12729 (struct __ptrace_seccomp_metadata): New type.
12730 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12731 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12732 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12733 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12734 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12735 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12737 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12739 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12741 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12742 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12743 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12744 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12745 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12747 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12749 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12751 * dirent/versionsort.c (versionsort): Likewise.
12752 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12753 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12754 * dirent/versionsort64.c (versionsort64): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12756 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12757 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12758 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12759 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12760 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12761 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12762 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12763 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12764 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12767 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12768 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12770 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12772 * elf/elf.h (NT_PPC_PKEY): New macro.
12774 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12777 * localedata/locales/hr_HR: fix thousands_sep and
12780 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12782 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12783 (XTABS): Define to TAB3.
12785 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12787 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12789 * dirent/scandir-tail-common.c: New file.
12790 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12791 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12792 * dirent/scandir.c: Use scandir-tail-common.c.
12793 * dirent/scandirat.c: Likewise.
12794 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12795 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12796 if _DIRENT_MATCHES_DIRENT64 is defined.
12797 * dirent/scandirat64.c (scandirat64): Likewise.
12798 * include/dirent.h (__scandir_tail): Only define iff
12799 _DIRENT_MATCHES_DIRENT64 is not defined.
12800 (__scandir64_tail): Define regardless.
12801 (__scandirat, scandirat64): Remove libc_hidden_proto.
12802 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12803 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12807 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12808 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12810 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12814 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12816 (_dl_aarch64_cap_flags): Add asimdfhm.
12818 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12820 * sysdeps/nios2/libm-test-ulps: Update.
12822 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12824 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12825 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12827 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12829 (_DIRENT_MATCHES_DIRENT64): Undef
12830 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12831 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12832 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12833 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12834 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12835 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12836 use getdents64 syscalls as base.
12837 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12838 symbol if required.
12839 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12840 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12841 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12842 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12843 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12845 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12846 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12848 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12849 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12851 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12853 * scripts/test_printers_common.py (init_test): Disable lock elision.
12855 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12857 * math/test-tgmath.c (count_double, count_float,
12858 count_ldouble, count_cdouble, count_cfloat,
12859 count_cldouble): Use volatile int.
12861 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12863 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12864 (conformtest-xfail-conds): Add i386-gnu.
12865 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12867 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12868 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12869 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12870 msqid_ds.msg_lrpid): Likewise.
12871 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12873 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12874 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12875 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12876 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12878 (struct statvfs64): Likewise.
12879 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12881 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12882 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12883 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12884 instead of wait_queue.
12885 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12886 instead of vm_area_struct.
12887 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12888 struct sched_param definition to it.
12889 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12890 * bits/types/struct_sched_param.h: New file.
12891 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12892 <bits/types/struct_sched_param.h> instead of <sched.h>.
12893 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12894 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12895 generic version but include <bits/pthreadtypes.h> to make struct
12896 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12897 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12899 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12900 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12901 [__USE_XOPEN] (OFDEL): New macro.
12902 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12903 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12904 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12906 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12907 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12908 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12910 * sysdeps/i386/sys/ucontext.h: Likewise.
12911 * sysdeps/m68k/sys/ucontext.h: Likewise.
12912 * sysdeps/mips/sys/ucontext.h: Likewise.
12913 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12914 * sysdeps/mach/hurd/i386/Makefile
12915 (test-xfail-POSIX/fcntl.h/conform): Add.
12916 (test-xfail-POSIX/signal.h/conform): Add.
12917 (test-xfail-POSIX/semaphore.h/conform): Add.
12918 (test-xfail-POSIX/regex.h/conform): Add.
12919 (test-xfail-POSIX/aio.h/conform): Add.
12920 (test-xfail-POSIX/mqueue.h/conform): Add.
12921 (test-xfail-POSIX/sys/types.h/conform): Add.
12922 (test-xfail-UNIX98/fcntl.h/conform): Add.
12923 (test-xfail-UNIX98/netdb.h/conform): Add.
12924 (test-xfail-UNIX98/signal.h/conform): Add.
12925 (test-xfail-UNIX98/semaphore.h/conform): Add.
12926 (test-xfail-UNIX98/regex.h/conform): Add.
12927 (test-xfail-UNIX98/aio.h/conform): Add.
12928 (test-xfail-UNIX98/ftw.h/conform): Add.
12929 (test-xfail-UNIX98/mqueue.h/conform): Add.
12930 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12931 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12932 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12933 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12934 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12935 (test-xfail-UNIX98/sys/types.h/conform): Add.
12936 (test-xfail-UNIX98/stdlib.h/conform): Add.
12937 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12938 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12939 (test-xfail-POSIX2008/netdb.h/conform): Add.
12940 (test-xfail-POSIX2008/signal.h/conform): Add.
12941 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12942 (test-xfail-POSIX2008/regex.h/conform): Add.
12943 (test-xfail-POSIX2008/aio.h/conform): Add.
12944 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12945 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12946 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12947 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12948 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12949 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12950 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12951 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12952 (test-xfail-XOPEN2K/signal.h/conform): Add.
12953 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12954 (test-xfail-XOPEN2K/regex.h/conform): Add.
12955 (test-xfail-XOPEN2K/aio.h/conform): Add.
12956 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12957 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12958 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12959 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12960 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12961 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12962 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12963 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12964 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12965 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12966 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12967 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12968 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12969 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12970 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12971 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12972 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12973 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12974 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12975 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12976 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12977 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12978 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12979 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12980 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12981 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12982 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12984 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12985 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12987 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12989 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12990 --enable-obsolete for powerpc-linux-gnuspe.
12992 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12994 * conform/data/sys/un.h-data: Allow sun_ prefix.
12995 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12997 * sysdeps/mach/include/mach.h: Likewise.
12998 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12999 * sysdeps/mach/include/mach_error.h: Likewise.
13001 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13003 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13004 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13005 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13006 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13008 2018-04-16 Andreas Schwab <schwab@suse.de>
13011 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13013 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13015 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13016 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13018 2018-04-12 DJ Delorie <dj@redhat.com>
13020 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13023 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13025 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13026 (struct kernel_sigaction): Use the same definition on 31bit as is used
13029 2018-04-09 Florian Weimer <fweimer@redhat.com>
13032 * resolv/res_send.c (send_dg): Use designated initializers instead
13033 of assignment to zero-initialize other fields of struct mmsghdr.
13035 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13037 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13038 __READDIR_ALIAS): Undefine after usage.
13039 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13040 __READDIR_R_ALIAS): Likewise.
13041 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13042 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13043 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13044 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13047 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13048 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13049 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13051 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13052 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13053 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13054 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13055 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13056 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13057 * sysdeps/unix/sysv/linux/readdir.c: New file.
13058 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13059 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13060 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13062 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13064 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13066 * manual/charset.texi (Converting a Character): Fix typo.
13068 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13072 * sysdeps/arm/libm-test-ulps: Update.
13074 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13075 as base implementation.
13076 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13077 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13079 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13080 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13081 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13082 remove unrequired definitions and update comments.
13083 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13084 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13085 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13086 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13087 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13088 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13090 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13091 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13092 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13093 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13094 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13095 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13096 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13097 and RESET_SA_RESTORER hooks.
13099 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13101 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13103 2018-04-05 Florian Weimer <fweimer@redhat.com>
13105 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13106 integer overflow, memory leak on error, and indeterminate errno
13107 value. Add a null wide character to terminate the result string.
13108 * manual/charset.texi (Converting a Character): Mention embedded
13109 null bytes in the mbrtowc input string. Explain what happens in
13110 the -2 result case. Do not claim that mbrtowc is simple or
13111 obvious to use. Adjust the description of the code example. Use
13112 @code, not @var, for concrete variables.
13114 2018-04-05 Florian Weimer <fweimer@redhat.com>
13116 * manual/examples/mbstouwcs.c: New file.
13117 * manual/charset.texi (Converting a Character): Include it.
13119 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13121 * include/dirent.h (dirfd): Add hidden proto.
13122 * dirent/dirfd.c (dirfd): Add hidden def.
13123 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13124 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13126 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13128 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13129 sin, cos and sincos to 1 ULP.
13131 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13134 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13136 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13137 * elf/tst-absolute-sym.c: New file.
13138 * elf/tst-absolute-sym-lib.c: New file.
13139 * elf/tst-absolute-sym-lib.lds: New file.
13140 * elf/Makefile (tests): Add `tst-absolute-sym'.
13141 (modules-names): Add `tst-absolute-sym-lib'.
13142 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13143 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13144 ($(objpfx)tst-absolute-sym): New dependency.
13147 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13149 (SYMBOL_ADDRESS): New macro.
13150 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13151 SYMBOL_ADDRESS for symbol address calculation.
13152 * elf/dl-runtime.c (_dl_fixup): Likewise.
13153 (_dl_profile_fixup): Likewise.
13154 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13155 * elf/rtld.c (dl_main): Likewise.
13156 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13157 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13158 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13159 (elf_machine_rela): Likewise.
13160 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13161 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13162 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13163 (elf_machine_rela): Likewise.
13164 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13165 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13166 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13167 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13169 (elf_machine_reloc): Likewise.
13170 (elf_machine_got_rel): Likewise.
13171 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13172 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13173 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13177 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13178 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13180 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13182 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13187 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13190 2018-04-04 Zack Weinberg <zackw@panix.com>
13192 * sysdeps/generic/internal-signals.h: Include signal.h,
13193 sigsetops.h, and stdbool.h.
13194 (__libc_signal_block_all): Actually block all signals.
13195 (__libc_signal_block_app): Likewise.
13196 (__libc_signal_restore_set): Actually restore the signal mask.
13198 2018-04-04 Florian Weimer <fweimer@redhat.com>
13200 inet: Actually build and run tst-deadline.
13201 * inet/Makefile (tests-internal): Add tst-deadline and do not
13202 overwrite the variable.
13203 (tests-static-internal): Remove variable.
13205 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13208 * bits/uio-ext.h (RWF_APPEND): New.
13209 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13210 * manual/llio.texi: Document RWF_APPEND.
13211 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13212 (RWF_SUPPORTED): Add RWF_APPEND.
13214 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13217 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13218 check for internal nptl signals.
13219 * nptl/sigaction.c (__sigaction): Likewise.
13220 * signal/sigaddset.c (sigaddset): Likewise.
13221 * signal/sigdelset.c (sigdelset): Likewise.
13222 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13223 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13225 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13226 to filter out internal nptl signals.
13227 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13228 also check realtime signals using standard macros.
13229 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13230 __is_internal_signal, __libc_signal_block_all,
13231 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13232 * sysdeps/nptl/sigfillset.c: Remove file.
13233 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13234 Change return to bool.
13235 (__clear_internal_signals): Remove SIGTIMER clean since it is
13236 equal to SIGCANEL on Linux.
13237 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13238 signal set was constructed using standard functions.
13240 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13242 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13243 ifname is too long.
13244 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13245 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13246 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13248 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13249 * signal/sigaddset.c: Include <sigsetopts.h>.
13250 * signal/sigdelset.c: Likewise.
13252 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13256 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13257 logic as sin and cos.
13259 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13261 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13262 inputs. Return correct sign.
13263 (do_sincos): Remove small input check before do_sin, let do_sin set
13268 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13270 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13271 (do_cos_slow): Likewise.
13272 (do_sin_slow): Likewise.
13273 (reduce_and_compute): Likewise.
13278 (sloww1): Likewise.
13279 (sloww2): Likewise.
13281 (bslow1): Likewise.
13282 (bslow2): Likewise.
13283 (cslow2): Likewise.
13285 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13287 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13288 (do_cos): Remove corp parameter and calculations.
13289 (do_sin): Likewise.
13290 (do_sincos): Remove cor variable.
13291 (__sin): Use do_sincos for huge inputs.
13293 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13294 (reduce_and_compute_sincos): Remove unused function.
13296 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13298 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13299 reduce_sincos, improve accuracy to 136 bits.
13300 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13301 (__sin): Use improved reduction and simplified do_sincos calculation.
13303 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13305 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13307 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13308 (do_sincos_2): Likewise.
13309 (__sin): Remove middle range reduction case.
13311 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13314 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13316 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13320 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13322 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13324 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13327 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13329 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13330 Remove definitions.
13331 (opendir_oflags): Use O_DIRECTORY regardless.
13332 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13333 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13335 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13337 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13338 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13340 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13341 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13342 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13343 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13344 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13345 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13347 * htl/Makefile: Bump licence to LGPL 2.1+.
13348 * htl/alloca_cutoff.c: Likewise.
13349 * htl/cthreads-compat.c: Likewise.
13350 * htl/lockfile.c: Likewise.
13351 * htl/pt-alloc.c: Likewise.
13352 * htl/pt-cancel.c: Likewise.
13353 * htl/pt-cleanup.c: Likewise.
13354 * htl/pt-create.c: Likewise.
13355 * htl/pt-dealloc.c: Likewise.
13356 * htl/pt-detach.c: Likewise.
13357 * htl/pt-exit.c: Likewise.
13358 * htl/pt-getattr.c: Likewise.
13359 * htl/pt-initialize.c: Likewise.
13360 * htl/pt-internal.h: Likewise.
13361 * htl/pt-join.c: Likewise.
13362 * htl/pt-self.c: Likewise.
13363 * htl/pt-setcancelstate.c: Likewise.
13364 * htl/pt-setcanceltype.c: Likewise.
13365 * htl/pt-sigmask.c: Likewise.
13366 * htl/pt-spin-inlines.c: Likewise.
13367 * htl/pt-testcancel.c: Likewise.
13368 * htl/pt-yield.c: Likewise.
13369 * htl/tests/test-1.c: Likewise.
13370 * htl/tests/test-10.c: Likewise.
13371 * htl/tests/test-11.c: Likewise.
13372 * htl/tests/test-12.c: Likewise.
13373 * htl/tests/test-13.c: Likewise.
13374 * htl/tests/test-14.c: Likewise.
13375 * htl/tests/test-15.c: Likewise.
13376 * htl/tests/test-16.c: Likewise.
13377 * htl/tests/test-17.c: Likewise.
13378 * htl/tests/test-2.c: Likewise.
13379 * htl/tests/test-3.c: Likewise.
13380 * htl/tests/test-4.c: Likewise.
13381 * htl/tests/test-5.c: Likewise.
13382 * htl/tests/test-6.c: Likewise.
13383 * htl/tests/test-7.c: Likewise.
13384 * htl/tests/test-8.c: Likewise.
13385 * htl/tests/test-9.c: Likewise.
13386 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13387 * sysdeps/htl/bits/cancelation.h: Likewise.
13388 * sysdeps/htl/bits/pthread-np.h: Likewise.
13389 * sysdeps/htl/bits/pthread.h: Likewise.
13390 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13391 * sysdeps/htl/bits/semaphore.h: Likewise.
13392 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13393 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13394 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13395 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13396 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13397 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13398 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13399 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13400 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13401 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13402 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13403 * sysdeps/htl/old_pt-atfork.c: Likewise.
13404 * sysdeps/htl/pt-atfork.c: Likewise.
13405 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13406 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13407 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13408 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13409 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13410 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13411 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13412 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13413 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13414 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13415 * sysdeps/htl/pt-attr-init.c: Likewise.
13416 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13417 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13418 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13419 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13420 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13421 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13422 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13423 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13424 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13425 * sysdeps/htl/pt-attr.c: Likewise.
13426 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13427 * sysdeps/htl/pt-barrier-init.c: Likewise.
13428 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13429 * sysdeps/htl/pt-barrier.c: Likewise.
13430 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13431 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13432 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13433 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13434 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13435 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13436 * sysdeps/htl/pt-cond-init.c: Likewise.
13437 * sysdeps/htl/pt-cond-signal.c: Likewise.
13438 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13439 * sysdeps/htl/pt-cond-wait.c: Likewise.
13440 * sysdeps/htl/pt-cond.c: Likewise.
13441 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13442 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13443 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13444 * sysdeps/htl/pt-condattr-init.c: Likewise.
13445 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13446 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13447 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13448 * sysdeps/htl/pt-equal.c: Likewise.
13449 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13450 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13451 * sysdeps/htl/pt-getschedparam.c: Likewise.
13452 * sysdeps/htl/pt-getspecific.c: Likewise.
13453 * sysdeps/htl/pt-init-specific.c: Likewise.
13454 * sysdeps/htl/pt-key-create.c: Likewise.
13455 * sysdeps/htl/pt-key-delete.c: Likewise.
13456 * sysdeps/htl/pt-key.h: Likewise.
13457 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13458 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13459 * sysdeps/htl/pt-mutex-init.c: Likewise.
13460 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13461 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13462 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13463 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13464 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13465 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13466 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13467 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13468 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13469 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13470 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13471 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13472 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13473 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13474 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13475 * sysdeps/htl/pt-mutexattr.c: Likewise.
13476 * sysdeps/htl/pt-once.c: Likewise.
13477 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13478 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13479 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13480 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13481 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13482 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13483 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13484 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13485 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13486 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13487 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13488 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13489 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13490 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13491 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13492 * sysdeps/htl/pt-setschedparam.c: Likewise.
13493 * sysdeps/htl/pt-setschedprio.c: Likewise.
13494 * sysdeps/htl/pt-setspecific.c: Likewise.
13495 * sysdeps/htl/pt-spin.c: Likewise.
13496 * sysdeps/htl/pt-startup.c: Likewise.
13497 * sysdeps/htl/pthread.h: Likewise.
13498 * sysdeps/htl/sem-close.c: Likewise.
13499 * sysdeps/htl/sem-destroy.c: Likewise.
13500 * sysdeps/htl/sem-getvalue.c: Likewise.
13501 * sysdeps/htl/sem-init.c: Likewise.
13502 * sysdeps/htl/sem-open.c: Likewise.
13503 * sysdeps/htl/sem-post.c: Likewise.
13504 * sysdeps/htl/sem-timedwait.c: Likewise.
13505 * sysdeps/htl/sem-trywait.c: Likewise.
13506 * sysdeps/htl/sem-unlink.c: Likewise.
13507 * sysdeps/htl/sem-wait.c: Likewise.
13508 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13509 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13510 * sysdeps/mach/htl/pt-block.c: Likewise.
13511 * sysdeps/mach/htl/pt-spin.c: Likewise.
13512 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13513 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13514 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13515 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13516 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13517 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13518 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13519 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13520 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13521 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13522 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13523 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13524 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13525 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13526 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13527 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13528 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13529 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13530 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13531 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13532 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13533 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13534 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13535 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13536 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13537 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13538 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13539 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13540 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13541 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13542 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13543 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13544 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13545 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13546 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13547 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13548 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13549 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13550 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13551 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13552 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13553 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13554 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13556 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13557 * README: Remove the mention of out-of-tree patches needed for
13560 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13561 (UTIME_NOW, UTIME_OMIT): Define macros.
13563 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13564 instead of pthread_detach.
13565 (__cthread_fork): Call __pthread_create instead of pthread_create.
13566 (__cthread_keycreate): Call __pthread_key_create instead of
13567 pthread_key_create.
13568 (__cthread_getspecific): Call __pthread_getspecific instead of
13569 pthread_getspecific.
13570 (__cthread_setspecific): Call __pthread_setspecific instead of
13571 pthread_setspecific.
13572 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13573 __pthread_mutex_unlock instead of pthread_mutex_lock and
13574 pthread_mutex_unlock.
13575 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13576 ___pthread_get_cleanup_stack.
13577 (__pthread_get_cleanup_stack): New strong alias.
13578 * htl/pt-create.c: Include <pthreadP.h>.
13579 (entry_point): Call __pthread_exit instead of pthread_exit.
13580 (pthread_create): Rename to __pthread_create.
13581 (pthread_create): New strong alias.
13582 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13583 (pthread_detach): New strong alias.
13584 (__pthread_detach): Call __pthread_cond_broadcast instead of
13585 pthread_cond_broadcast.
13586 * htl/pt-exit.c: Include <pthreadP.h>.
13587 (__pthread_exit): Call __pthread_setcancelstate and
13588 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13589 __pthread_get_cleanup_stack.
13590 * htl/pt-testcancel.c: Include <pthreadP.h>.
13591 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13592 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13593 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13594 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13595 pthread_attr_getstacksize.
13596 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13597 Rename to __pthread_attr_getstackaddr.
13598 (pthread_attr_getstackaddr): New strong alias.
13599 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13600 Rename to __pthread_attr_getstacksize.
13601 (pthread_attr_getstacksize): New strong alias.
13602 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13603 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13604 (pthread_attr_setstack): New strong alias.
13605 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13606 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13607 pthread_attr_getstacksize, pthread_attr_setstacksize and
13608 pthread_attr_setstackaddr.
13609 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13610 Rename to __pthread_attr_setstackaddr.
13611 (pthread_attr_setstackaddr): New strong alias.
13612 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13613 Rename to __pthread_attr_setstacksize.
13614 (pthread_attr_setstacksize): New strong alias.
13615 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13616 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13618 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13619 (__pthread_key_create): New hidden def.
13620 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13621 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13622 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13623 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13624 __pthread_setspecific, __pthread_setcancelstate,
13625 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13626 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13627 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13629 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13630 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13631 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13632 (pthread_attr_setstackaddr): New strong alias.
13633 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13634 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13635 (pthread_attr_setstacksize): New strong alias.
13636 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13637 (call_exit): Call __pthread_exit instead of pthread_exit.
13638 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13639 (_pthread_mutex_init): New hidden definition.
13640 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13641 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13642 instead of pthread_attr_init and pthread_attr_setstack.
13644 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13645 __vm_deallocate instead of vm_allocate and vm_deallocate.
13646 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13648 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13650 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13652 * hurd/siginfo.c: Include <libioP.h>.
13653 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13654 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13656 * mach/devstream.c: Include <libioP.h>.
13657 (dealloc_ref): Call __mach_port_deallocate instead of
13658 mach_port_deallocate.
13659 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13660 Call __mach_port_deallocate instead of mach_port_deallocate.
13661 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13663 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13665 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13666 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13667 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13669 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13671 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13672 instead of sysconf.
13673 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13674 __clock_gettime instead of clock_gettime.
13675 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13676 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13677 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13678 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13679 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13681 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13682 __clock_gettime and __nanosleep instead of clock_gettime and
13684 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13685 __hurd_catch_signal.
13686 (hurd_catch_signal): New strong alias.
13687 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13688 __hurd_catch_signal instead of hurd_catch_signal.
13689 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13690 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13691 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13692 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13693 (_hurd_thread_sigstate): Add hidden def.
13694 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13696 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13697 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13698 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13699 __hurd_file_name_path_lookup.
13700 (hurd_file_name_path_lookup): New strong alias.
13701 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13702 hurd_file_name_path_lookup.
13703 * mach/errstring.c (mach_error_type): Add hidden def.
13704 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13705 * mach/mutex-init.c (__mutex_init): Add hidden def.
13706 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13707 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13708 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13709 * sysdeps/mach/hurd/getcwd.c
13710 (_hurd_canonicalize_directory_name_internal): Rename to
13711 __hurd_canonicalize_directory_name_internal.
13712 (_hurd_canonicalize_directory_name_internal): New strong alias.
13713 (__canonicalize_directory_name_internal, __getcwd): Call
13714 __hurd_canonicalize_directory_name_internal instead of
13715 _hurd_canonicalize_directory_name_internal.
13716 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13717 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13719 * sysdeps/hurd/include/hurd.h: New file.
13720 * sysdeps/hurd/include/hurd/fd.h: New file.
13721 * sysdeps/hurd/include/hurd/signal.h: New file.
13722 * sysdeps/mach/include/lock-intern.h: New file.
13723 * sysdeps/mach/include/mach.h: New file.
13724 * sysdeps/mach/include/mach/mig_support.h: New file.
13725 * sysdeps/mach/include/mach_error.h: New file.
13726 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13728 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13729 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13730 _HEADER_H_HIDDEN_DEF macro.
13731 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13732 _hurd_fd_error_signal): Add hidden prototype.
13733 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13735 * libio/iolibio.h (_IO_puts): New hidden prototype.
13736 * libio/ioputs.c (_IO_puts): New hidden def.
13737 * sysdeps/mach/hurd/localplt.data: New file.
13739 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13740 Amos Jeffries <squid3@treenet.co.nz>
13741 David Michael <fedora.dm0@gmail.com>
13742 Marco Gerards <marco@gnu.org>
13743 Marcus Brinkmann <marcus@gnu.org>
13744 Neal H. Walfield <neal@gnu.org>
13745 Pino Toscano <toscano.pino@tiscali.it>
13746 Richard Braun <rbraun@sceen.net>
13747 Roland McGrath <roland@gnu.org>
13748 Samuel Thibault <samuel.thibault@ens-lyon.org>
13749 Thomas DiModica <ricinwich@yahoo.com>
13750 Thomas Schwinge <tschwinge@gnu.org>
13752 * htl: New directory.
13753 * sysdeps/htl: New directory.
13754 * sysdeps/hurd/htl: New directory.
13755 * sysdeps/i386/htl: New directory.
13756 * sysdeps/mach/htl: New directory.
13757 * sysdeps/mach/hurd/htl: New directory.
13758 * sysdeps/mach/hurd/i386/htl: New directory.
13759 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13760 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13761 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13763 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13765 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13766 signals in thread created for runing timers.
13768 2018-04-01 Florian Weimer <fweimer@redhat.com>
13770 * support/support_format_addrinfo.c (support_format_addrinfo):
13771 Include unknown error number in formatted result.
13773 2018-03-29 Florian Weimer <fweimer@redhat.com>
13775 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13778 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13780 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13781 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13782 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13783 (__ASSUME_CLONE_BACKWARDS): Define.
13785 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13788 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13789 early when linux sentinel value is set.
13791 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13793 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13795 2018-03-27 Andreas Schwab <schwab@suse.de>
13798 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13799 allocation of private copy of nsaddr_list fails.
13801 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13804 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13805 * sysdeps/unix/sysv/linux/umount.c: ... here.
13806 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13807 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13808 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13809 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13811 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13812 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13814 2018-03-26 Andreas Schwab <schwab@suse.de>
13816 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13817 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13818 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13819 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13820 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13821 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13822 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13823 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13824 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13825 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13826 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13827 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13828 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13829 (R_RISCV_NUM): Define.
13831 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13833 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13834 TLS declaration of errno.
13835 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13837 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13838 (ARCH_SETUP_TLS): Likewise.
13839 * sysdeps/mach/hurd/libc-start.h: New file copied from
13840 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13841 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13842 instead of __libc_setup_tls.
13843 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13844 __libc_setup_tls before initializing libpthread and running _hurd_init
13845 which starts the signal thread.
13846 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13848 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13850 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13853 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13854 after it is defined.
13856 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13857 Max Horn <max@quendi.de>
13861 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13863 * string/test-memmove.c (do_test2): New testcase.
13865 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13867 * sysdeps/generic/frame.h: Remove file.
13868 * sysdeps/arm/frame.h: Likewise.
13869 * sysdeps/hppa/frame.h: Likewise.
13870 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13872 (GET_FRAME): Likewise.
13873 (GET_STACK): Likewise.
13874 (CALL_SIGHANDLER): Likewise.
13875 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13877 (GET_FRAME): Likewise.
13878 (GET_STACK): Likewise.
13879 (CALL_SIGHANDLER): Likewise.
13880 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13881 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13882 (GET_FRAME): Likewise.
13883 (GET_STACK): Likewise.
13884 (CALL_SIGHANDLER): Likewise.
13885 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13886 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13887 (GET_FRAME): Likewise.
13888 (GET_STACK): Likewise.
13889 (ADVANCE_STACK_FRAME): Likewise.
13890 (CALL_SIGHANDLER): Likewise.
13891 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13892 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13893 (GET_FRAME): Likewise.
13894 (GET_STACK): Likewise.
13895 (CALL_SIGHANDLER): Likewise.
13896 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13897 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13898 (GET_FRAME): Likewise.
13899 (GET_STACK): Likewise.
13900 (CALL_SIGHANDLER): Likewise.
13901 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13902 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13903 (GET_FRAME): Likewise.
13904 (GET_STACK): Likewise.
13905 (CALL_SIGHANDLER): Likewise.
13906 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13907 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13908 (GET_FRAME): Likewise.
13909 (GET_STACK): Likewise.
13910 (CALL_SIGHANDLER): Likewise.
13911 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13912 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13913 (GET_FRAME): Likewise.
13914 (GET_STACK): Likewise.
13915 (CALL_SIGHANDLER): Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13917 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13918 (GET_FRAME): Likewise.
13919 (GET_STACK): Likewise.
13920 (CALL_SIGHANDLER): Likewise.
13921 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13922 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13923 (GET_FRAME): Likewise.
13924 (GET_STACK): Likewise.
13925 (CALL_SIGHANDLER): Likewise.
13926 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13928 (GET_FRAME): Likewise.
13929 (GET_STACK): Likewise.
13930 (CALL_SIGHANDLER): Likewise.
13931 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13933 (GET_FRAME): Likewise.
13934 (GET_STACK): Likewise.
13935 (CALL_SIGHANDLER): Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13938 (FIRST_FRAME_POINTER): Likewise.
13939 (ADVANCE_STACK_FRAME): Likewise.
13940 (GET_STACK): Likewise.
13941 (GET_FRAME): Likewise.
13942 (CALL_SIGHANDLER): Likewise.
13943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13944 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13945 (ADVANCE_STACK_FRAME): Likewise.
13946 (GET_STACK): Likewise.
13947 (GET_FRAME): Likewise.
13948 (CALL_SIGHANDLER): Likewise.
13949 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13950 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13951 (GET_FRAME): Likewise.
13952 (GET_STACK): Likewise.
13953 (CALL_SIGHANDLER): Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13956 (GET_FRAME): Likewise.
13957 (GET_STACK): Likewise.
13958 (CALL_SIGHANDLER): Likewise.
13960 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13962 * sysdeps/x86_64/backtrace.c: Move to ....
13963 * debug/backtrace.c: ... here.
13964 * sysdeps/aarch64/backtrace.c: Remove file.
13965 * sysdeps/alpha/backtrace.c: Likewise.
13966 * sysdeps/hppa/backtrace.c: Likewise.
13967 * sysdeps/ia64/backtrace.c: Likewise.
13968 * sysdeps/mips/backtrace.c: Likewise.
13969 * sysdeps/nios2/backtrace.c: Likewise.
13970 * sysdeps/riscv/backtrace.c: Likewise.
13971 * sysdeps/sh/backtrace.c: Likewise.
13972 * sysdeps/tile/backtrace.c: Likewise.
13974 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13977 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13980 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13983 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13984 possibly overflowing computations.
13986 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13988 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13989 values from Linux-specific section now that it is in the GNU section.
13990 * sysdeps/gnu/errlist.c: Regenerate.
13992 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13994 * math/Makefile (libm-narrow-fns): Add sub.
13995 (libm-test-funcs-narrow): Likewise.
13996 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13997 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13998 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13999 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14000 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14001 (NARROW_SUB_TRIVIAL): Likewise.
14002 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14004 (__dsubl): Likewise.
14005 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14007 (CFLAGS-nldbl-dsub.c): New variable.
14008 (CFLAGS-nldbl-fsub.c): Likewise.
14009 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14011 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14013 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14014 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14015 * math/auto-libm-test-in: Add tests of sub.
14016 * math/auto-libm-test-out-narrow-sub: New generated file.
14017 * math/libm-test-narrow-sub.inc: New file.
14018 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14021 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14022 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14023 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14032 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14033 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14034 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14035 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14037 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14065 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14068 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14070 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14072 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14074 2018-03-18 Richard Braun <rbraun@sceen.net>
14076 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14079 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14081 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14082 (__libc_cleanup_fct): Define function.
14083 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14084 __libc_cleanup_end): Rewrite implementation using
14085 __attribute__ ((__cleanup__)).
14086 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14087 * hurd/Makefile (routines): Add hurdlock.
14088 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14090 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14091 * hurd/hurdpid.c: Include <lowlevellock.h>
14092 (_S_msg_proc_newids): Use lll_wait to synchronize.
14093 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14094 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14095 * mach/Makefile (lock-headers): Remove machine-lock.h.
14096 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14098 (__spin_lock_t): New type.
14099 (__SPIN_LOCK_INITIALIZER): New macro.
14100 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14101 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14102 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14103 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14104 (__mutex_init): Initialize with lll.
14105 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14106 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14108 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14109 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14110 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14111 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14112 (__setpgid): Use lll for synchronization.
14113 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14114 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14115 instead of <cthreads.h>.
14116 (_IO_lock_inexpensive): New macro
14117 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14118 (__libc_lock_self0): New declaration.
14119 (__libc_lock_owner_self): New macro.
14120 (__libc_key_t): Remove type.
14121 (_LIBC_LOCK_INITIALIZER): New macro.
14122 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14123 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14124 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14125 __libc_lock_define_initialized_recursive,
14126 __rtld_lock_define_initialized_recursive,
14127 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14128 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14129 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14130 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14131 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14132 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14133 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14135 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14136 * hurd/hurdlock.c: New file.
14137 * hurd/hurdlock.h: New file.
14138 * mach/lowlevellock.h: New file
14140 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14142 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14143 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14144 when opening a symlink with O_NOFOLLOW.
14145 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14146 path when flags contains O_NOFOLLOW.
14147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14148 if flags contains O_DIRECTORY and the result is a directory.
14149 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14150 oneself when the pointer given in D is nul (as set by ext2fs).
14151 * sysdeps/mach/hurd/mlockall.c: New file.
14152 * sysdeps/mach/hurd/munlockall.c: New file.
14154 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14156 * hurd/hurdsig.c: Include <pthread.h>.
14157 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14158 get the signal thread stack layout.
14159 * hurd/Makefile (headers): Remove threadvar.h.
14160 (inline-headers): Remove threadvar.h.
14161 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14162 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14163 __hurd_threadvar_max, __hurd_errno_location.
14164 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14165 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14166 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14167 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14168 unless TLS is not initialized yet, in which case we do not need a
14169 critical section yet anyway.
14170 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14172 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14174 (__hurd_threadvar_index): Remove enum.
14175 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14176 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14178 (__hurd_reply_port0): New variable declaration.
14179 (__hurd_local_reply_port): New macro.
14180 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14181 (interrupted_reply_port_location): Add thread_t parameter. Use it
14182 with THREAD_TCB to access thread-local variables.
14183 (_hurdsig_abort_rpcs): Pass ss->thread to
14184 interrupted_reply_port_location.
14185 (_hurd_internal_post_signal): Likewise.
14186 (_hurdsig_init): Use presence of cthread_fork instead of
14187 __hurd_threadvar_stack_mask to start signal thread by hand.
14188 Remove signal thread threadvar initialization.
14189 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14190 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14191 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14193 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14195 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14196 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14197 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14198 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14199 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14200 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14201 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14203 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14204 <hurd/threadvar.h>.
14205 [IS_IN(rtld)] (rtld_errno): New variable.
14206 [IS_IN(rtld)] (__errno_location): New weak function.
14207 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14208 * sysdeps/mach/hurd/errno.c: Remove file.
14209 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14210 (__fork): Remove THREADVAR_SPACE macro and its use.
14211 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14213 (init): Do not initialize threadvar.
14214 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14216 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14217 __hurd_local_reply_port instead of threadvar.
14218 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14219 _hurd_sigstate fields.
14220 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14221 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14222 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14223 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14224 instead of threadvar.
14225 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14226 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14227 (use_threadvar, global_reply_port): Remove variables.
14228 (__hurd_reply_port0): New variable.
14229 (__mig_get_reply_port): Use __hurd_local_reply_port and
14230 __hurd_reply_port0 instead of threadvar.
14231 (__mig_dealloc_reply_port): Likewise.
14232 (__mig_init): Do not initialize threadvar.
14233 * sysdeps/mach/hurd/profil.c: Fix comment.
14234 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14235 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14236 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14237 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14238 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14239 __cthread_setspecific.
14240 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14241 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14242 __cthread_t instead of cthread_fork, cthread_detach,
14243 pthread_getattr_np, pthread_attr_getstack.
14244 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14245 __cthread_keycreate.
14246 (cthread_getspecific): Rename to __cthread_getspecific.
14247 (cthread_setspecific): Rename to __cthread_setspecific.
14248 (__libc_getspecific): Use __cthread_getspecific instead of
14249 cthread_getspecific.
14250 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14251 __cthread_keycreate instead of cthread_keycreate.
14252 (__libc_setspecific): Use __cthread_setspecific instead of
14253 cthread_setspecific.
14254 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14257 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14258 testing whether it is defined.
14260 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14262 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14264 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14265 * sysdeps/mach/i386/thread_state.h
14266 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14268 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14270 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14272 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14273 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14275 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14277 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14278 descriptor instead of creating a new one.
14279 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14281 * mach/setup-thread.c: Include <ldsodefs.h>.
14282 (__mach_setup_thread): Call _dl_allocate_tls, pass
14283 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14284 MACHINE_THREAD_STATE_FLAVOR, before getting
14285 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14286 MACHINE_THREAD_STATE_FLAVOR with the result.
14287 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14288 MACHINE_THREAD_STATE_FIX_NEW.
14289 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14290 too. Add original thread parameter.
14292 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14294 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14295 Remove inline function.
14297 * sysdeps/i386/fpu/libm-test-ulps: Update.
14298 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14300 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14302 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14305 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14307 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14308 (__sincos_code): Remove define and undefine.
14309 [__FAST_MATH__] (__sincos): Remove inline function.
14310 [__FAST_MATH__] (__sincosf): Remove inline function.
14311 [__FAST_MATH__] (__sincosl): Remove inline function.
14312 (__atan2l): Remove inline functions.
14313 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14314 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14316 (floor): Remove inline function.
14318 [__FAST_MATH__] (__ldexp_code): Remove macro.
14319 [__FAST_MATH__] (ldexp): Remove inline function.
14320 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14321 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14322 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14323 [__USE_ISOC99] (__lrint_code): Remove macro.
14324 [__USE_ISOC99] (__llrint_code): Likewise.
14325 [__USE_ISOC99] (lrintf): Remove inline function.
14326 [__USE_ISOC99] (lrint): Likewise.
14327 [__USE_ISOC99] (lrintl): Likewise.
14328 [__USE_ISOC99] (llrint): Likewise.
14329 [__USE_ISOC99] (llrintf): Likewise.
14330 [__USE_ISOC99] (llrintl): Likewise.
14332 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14334 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14335 (__ieee754_sqrtf): Remove.
14336 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14337 (__ieee754_sqrtf): Remove.
14338 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14339 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14340 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14341 (__ieee754_sqrtf): Remove.
14342 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14343 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14346 (__ieee754_sqrt): Remove.
14347 (__ieee754_sqrtf): Remove.
14348 (__ieee754_sqrtl): Remove.
14349 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14350 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14352 (__ieee754_sqrtf): Remove.
14353 (__ieee754_sqrtl): Remove.
14355 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14357 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14358 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14359 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14360 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14361 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14362 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14363 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14366 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14367 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14368 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14369 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14370 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14371 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14372 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14373 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14374 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14375 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14376 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14377 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14378 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14379 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14380 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14381 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14383 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14384 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14386 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14395 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14396 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14397 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14398 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14399 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14400 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14402 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14403 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14404 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14405 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14407 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14409 * include/math.h (sqrt): Declare with asm redirect.
14412 (sqrtf128): Likewise.
14413 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14414 nonlib and libnldbl with -fmath-errno.
14415 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14416 * math/w_sqrt_template.c: Likewise.
14417 * math/w_sqrtf_compat.c: Likewise.
14418 * math/w_sqrtl_compat.c: Likewise.
14419 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14420 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14421 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14424 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14426 * benchtests/Makefile: Define _ISOMAC.
14427 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14428 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14429 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14430 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14431 * benchtests/bench-timing.h: Define attribute_hidden.
14433 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14435 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14438 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14441 * localedata/locales/cs_CZ (mon): Rename to...
14443 (mon): Import from CLDR (genitive case).
14445 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14448 * localedata/locales/el_CY (abmon): Rename to...
14449 (ab_alt_mon): This.
14450 (abmon): Import from CLDR (abbreviated genitive case).
14451 * localedata/locales/el_GR (abmon): Rename to...
14452 (ab_alt_mon): This.
14453 (abmon): Import from CLDR (abbreviated genitive case).
14455 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14458 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14460 2018-03-15 Robert Buj <robert.buj@gmail.com>
14463 * localedata/locales/ca_ES (abmon): Rename to...
14464 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14465 (mon): Rename to...
14467 (abmon): Import from CLDR (genitive case, month names preceded by
14470 (abday): Synchronize with CLDR.
14471 (d_t_fmt): Likewise.
14475 (LC_TIME): Improve indentation.
14476 (LC_TELEPHONE): Likewise.
14477 (LC_NAME): Likewise.
14478 (LC_ADDRESS): Likewise.
14480 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14482 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14483 (lrintf): Remove definitions used only with old GCC.
14484 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14485 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14486 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14487 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14488 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14489 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14490 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14491 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14492 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14493 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14494 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14495 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14496 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14497 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14498 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14499 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14500 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14501 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14502 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14503 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14504 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14505 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14506 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14507 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14508 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14509 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14510 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14511 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14513 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14515 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14516 instruction to unbreak builds with binutils 2.26 and older.
14518 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14520 * sysdeps/aarch64/strncmp.S (count): New macro.
14521 (strncmp): Store misaligned length in SRC1 in COUNT.
14522 (mutual_align): Adjust.
14523 (misaligned8): Load dword at a time when it is safe.
14525 2018-03-12 Zack Weinberg <zackw@panix.com>
14529 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14530 if the _IO_EOF_SEEN bit is already set; update commentary.
14531 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14532 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14534 * support/support_openpty.c, support/tty.h: New files.
14535 * support/Makefile (libsupport-routines): Add support_openpty.
14537 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14539 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14540 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14542 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14544 * po/pt_BR.po: Update translations.
14546 2018-03-12 David Michael <fedora.dm0@gmail.com>
14548 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14549 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14550 get a port to the startup server.
14552 2018-03-11 Zack Weinberg <zackw@panix.com>
14554 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14555 before nldbl-compat.h.
14557 2018-03-10 Zack Weinberg <zackw@panix.com>
14559 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14560 math.h or math_private.h.
14562 * sysdeps/alpha/fpu/s_isnan.c
14563 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14564 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14565 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14566 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14567 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14568 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14569 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14570 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14574 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14575 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14576 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14577 Include math_private.h.
14579 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14580 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14581 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14582 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14583 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14584 * sysdeps/powerpc/power7/fpu/s_logb.c:
14585 Include math.h and math_private.h.
14587 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14588 uses of $at in .set noat / .set at.
14590 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14592 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14593 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14594 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14598 2018-03-09 Florian Weimer <fweimer@redhat.com>
14600 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14603 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14606 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14607 Add nop before __startcontext, add explaining comments.
14609 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14612 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14614 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14615 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14616 Do not build hardware transactional code for __SPE__.
14617 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14618 (__lll_trylock_elision): Likewise.
14619 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14620 (__lll_unlock_elision): Likewise.
14622 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14623 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14624 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14625 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14626 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14627 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14628 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14629 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14630 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14631 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14632 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14633 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14634 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14635 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14636 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14638 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14640 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14642 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14643 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14644 (__ASSUME_CLONE_BACKWARDS): Define.
14645 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14646 __clone2 if __NR_clone2 is defined.
14647 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14648 (__ASSUME_CLONE_BACKWARDS): Likewise.
14649 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14650 (__ASSUME_CLONE_BACKWARDS): Likewise.
14651 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14652 (__ASSUME_CLONE2): Likewise.
14653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14654 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14655 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14656 variants and the define architecture can use.
14657 (__ASSUME_CLONE_DEFAULT): Define as default.
14658 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14659 (__ASSUME_CLONE_BACKWARDS): Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14661 (__ASSUME_CLONE_BACKWARDS): Likewise.
14662 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14663 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14665 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14667 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14669 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14672 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14673 (do_test_limit): Likewise.
14675 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14676 for every implementation.
14677 (do_test): Likewise.
14679 * benchtests/bench-strncmp.c: Convert output to json.
14681 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14683 * io/futimens.c: Add missing start-of-file descriptive comment.
14684 * io/utime.c: Likewise.
14685 * misc/futimesat.c: Likewise.
14686 * misc/utimes.c: Likewise.
14687 * sysdeps/mach/hurd/futimesat.c: Likewise.
14688 * sysdeps/mach/hurd/utimes.c: Likewise.
14689 * sysdeps/posix/utime.c: Likewise.
14690 * sysdeps/posix/utimes.c: Likewise.
14691 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14692 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14693 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14694 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14696 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14698 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14700 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14701 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14702 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14703 (__futimens): Move implementation to...
14704 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14705 utime_tvalue_from_tspec): ... new helper functions.
14706 (hurd_futimens): New function.
14707 * sysdeps/mach/hurd/futimesat.c: New file.
14708 * sysdeps/mach/hurd/utimensat.c: New file.
14710 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14712 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14713 UTIME_OMIT): New macros.
14714 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14715 before reverting to converting time spec to time value and calling
14717 * sysdeps/mach/hurd/utime-helper.c: New file.
14718 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14719 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14720 reverting to utime_tvalue_from_tval and __file_utimes.
14721 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14722 (__lutimes): Just call hurd_futimens after lookup.
14723 * sysdeps/mach/hurd/utimes.c: Likewise.
14725 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14727 * bits/sigaction.h: Add include guard.
14728 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14729 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14730 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14731 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14732 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14733 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14735 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14736 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14738 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14740 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14741 -Wmaybe-uninitialized for -Os.
14742 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14745 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14747 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14748 __INO_T_MATCHES_INO64_T is defined.
14749 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14750 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14752 * dirent/alphasort64.c: Likewise.
14753 * dirent/scandir.c: Likewise.
14754 * dirent/scandir64-tail.c: Likewise.
14755 * dirent/scandir64.c: Likewise.
14756 * dirent/scandirat.c: Likewise.
14757 * dirent/scandirat64.c: Likewise.
14758 * dirent/versionsort.c: Likewise.
14759 * dirent/versionsort64.c: Likewise.
14760 * include/dirent.h: Likewise.
14762 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14763 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14764 for socketpair endpoint.
14765 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14766 WRITE_BUFFER_SIZE as buffer size for sending socket.
14767 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14768 issue on system where send is implemented with sendto syscall.
14769 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14770 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14771 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14772 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14775 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14776 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14777 sa_restorer for vDSO case.
14778 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14780 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14782 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14783 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14784 * hurd/hurd/ioctl.h: Include <mach/port.h>
14785 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14786 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14787 <mach/mach_types.h> and <mach/message.h>.
14788 (headers): Move mach/param.h to bits/mach/param.h.
14789 * sysdeps/mach/i386/mach/param.h: Move file to ...
14790 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14791 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14793 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14794 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14795 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14796 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14797 trivial, for C++ conformity.
14798 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14799 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14800 Process mig output through $(migheadersed).
14801 * hurd/Makefile (migheadersed): Define variable.
14802 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14803 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14805 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14806 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14807 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14808 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14809 <bits/types/sigset_t.h>.
14810 [!defined __USE_GNU]: Do not #error out.
14811 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14812 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14813 Include <stddef.h> and <bits/types/sigset_t.h>
14814 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14815 instead of sighandler_t.
14816 * stdlib/errno.h (error_t): Move definition to...
14817 * bits/types/error_t.h: ... new header.
14818 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14819 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14820 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14821 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14822 * hurd/hurd.h: Include <bits/types/error_t.h>
14823 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14824 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14825 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14826 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14827 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14828 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14829 * sysdeps/mach/hurd/futimens.c: New file.
14831 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14834 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14835 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14836 * nscd/gai.c (__nss_hosts_database): Readd definition.
14837 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14838 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14839 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14841 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14843 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14844 (ifunc_one): Likewise.
14846 2018-03-01 DJ Delorie <dj@delorie.com>
14849 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14852 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14854 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14855 `match_pid' parameter.
14856 (td_ta_thr_iter): Update accordingly.
14858 2018-03-01 Florian Weimer <fweimer@redhat.com>
14860 * nptl/Makefile (install-lib-ldscripts): Remove.
14861 (install): Remove rule.
14862 ($(inst_libdir)/libpthread.so): Likewise.
14864 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14867 * localedata/locales/an_ES: update month and day names,
14868 improve d_fmt, improve postal_fmt, add country_post,
14871 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14873 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14874 Ukrainian instead of Bulgarian.
14876 2018-03-01 Florian Weimer <fweimer@redhat.com>
14878 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14881 2018-03-01 Florian Weimer <fweimer@redhat.com>
14883 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14884 * nptl/Makefile (routines): Add pthread_atfork.
14885 (static-only-routines): Set to pthread_atfork.
14886 (libpthread-routines): Remove pthread_atfork.
14887 (libpthread-static-only-routines): Remove.
14888 (install): Update comment.
14889 (libpthread.so): Do not install libpthread_nonshared.a.
14890 (tests): Do not link with libpthread_nonshared.a.
14891 (generated): Remove libpthread_nonshared.a.
14892 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14893 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14894 with libpthread_nonshared.a.
14896 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14899 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14900 (libc_feholdexcept_setroundf128): New macro.
14901 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14904 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14906 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14907 * include/inttypes.h: New file.
14909 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14911 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14912 -Os in two more places.
14914 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14916 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14917 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14918 be sorted correctly at the moment because of a bug.
14920 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14922 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14923 treat ñ as a primary different character, sync the collation
14924 for Spanish with CLDR.
14925 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14926 * localedata/Makefile: Add new test files.
14927 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14928 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14930 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14931 * localedata/am_ET.UTF-8.in: New test file.
14932 * localedata/az_AZ.UTF-8.in: Likewise.
14933 * localedata/be_BY.UTF-8.in: Likewise.
14934 * localedata/ber_DZ.UTF-8.in: Likewise.
14935 * localedata/ber_MA.UTF-8.in: Likewise.
14936 * localedata/bg_BG.UTF-8.in: Likewise.
14937 * localedata/br_FR.UTF-8.in: Likewise.
14938 * localedata/cmn_TW.UTF-8.in: Likewise.
14939 * localedata/crh_UA.UTF-8.in: Likewise.
14940 * localedata/csb_PL.UTF-8.in: Likewise.
14941 * localedata/cv_RU.UTF-8.in: Likewise.
14942 * localedata/cy_GB.UTF-8.in: Likewise.
14943 * localedata/dz_BT.UTF-8.in: Likewise.
14944 * localedata/eo.UTF-8.in: Likewise.
14945 * localedata/es_ES.UTF-8.in: Likewise.
14946 * localedata/fa_IR.UTF-8.in: Likewise.
14947 * localedata/fi_FI.UTF-8.in: Likewise.
14948 * localedata/fil_PH.UTF-8.in: Likewise.
14949 * localedata/fur_IT.UTF-8.in: Likewise.
14950 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14951 * localedata/ha_NG.UTF-8.in: Likewise.
14952 * localedata/ig_NG.UTF-8.in: Likewise.
14953 * localedata/ik_CA.UTF-8.in: Likewise.
14954 * localedata/kk_KZ.UTF-8.in: Likewise.
14955 * localedata/ku_TR.UTF-8.in: Likewise.
14956 * localedata/ky_KG.UTF-8.in: Likewise.
14957 * localedata/ln_CD.UTF-8.in: Likewise.
14958 * localedata/mi_NZ.UTF-8.in: Likewise.
14959 * localedata/ml_IN.UTF-8.in: Likewise.
14960 * localedata/mn_MN.UTF-8.in: Likewise.
14961 * localedata/mr_IN.UTF-8.in: Likewise.
14962 * localedata/mt_MT.UTF-8.in: Likewise.
14963 * localedata/nb_NO.UTF-8.in: Likewise.
14964 * localedata/om_KE.UTF-8.in: Likewise.
14965 * localedata/os_RU.UTF-8.in: Likewise.
14966 * localedata/ps_AF.UTF-8.in: Likewise.
14967 * localedata/ro_RO.UTF-8.in: Likewise.
14968 * localedata/ru_RU.UTF-8.in: Likewise.
14969 * localedata/sc_IT.UTF-8.in: Likewise.
14970 * localedata/se_NO.UTF-8.in: Likewise.
14971 * localedata/sq_AL.UTF-8.in: Likewise.
14972 * localedata/sv_SE.UTF-8.in: Likewise.
14973 * localedata/szl_PL.UTF-8.in: Likewise.
14974 * localedata/tg_TJ.UTF-8.in: Likewise.
14975 * localedata/tk_TM.UTF-8.in: Likewise.
14976 * localedata/tt_RU.UTF-8.in: Likewise.
14977 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14978 * localedata/ug_CN.UTF-8.in: Likewise.
14979 * localedata/uz_UZ.UTF-8.in: Likewise.
14980 * localedata/vi_VN.UTF-8.in: Likewise.
14981 * localedata/yi_US.UTF-8.in: Likewise.
14982 * localedata/yo_NG.UTF-8.in: Likewise.
14983 * localedata/zh_CN.UTF-8.in: Likewise.
14984 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14985 file and fix bugs in the collation.
14986 * localedata/locales/az_AZ: Likewise.
14987 * localedata/locales/be_BY: Likewise.
14988 * localedata/locales/ber_DZ: Likewise.
14989 * localedata/locales/ber_MA: Likewise.
14990 * localedata/locales/bg_BG: Likewise.
14991 * localedata/locales/br_FR: Likewise.
14992 * localedata/locales/br_FR@euro: Likewise.
14993 * localedata/locales/ca_ES: Likewise.
14994 * localedata/locales/cns11643_stroke: Likewise.
14995 * localedata/locales/crh_UA: Likewise.
14996 * localedata/locales/cs_CZ: Likewise.
14997 * localedata/locales/csb_PL: Likewise.
14998 * localedata/locales/cv_RU: Likewise.
14999 * localedata/locales/cy_GB: Likewise.
15000 * localedata/locales/da_DK: Likewise.
15001 * localedata/locales/dz_BT: Likewise.
15002 * localedata/locales/en_CA: Likewise.
15003 * localedata/locales/eo: Likewise.
15004 * localedata/locales/es_CU: Likewise.
15005 * localedata/locales/es_EC: Likewise.
15006 * localedata/locales/es_ES: Likewise.
15007 * localedata/locales/es_US: Likewise.
15008 * localedata/locales/et_EE: Likewise.
15009 * localedata/locales/fa_IR: Likewise.
15010 * localedata/locales/fi_FI: Likewise.
15011 * localedata/locales/fil_PH: Likewise.
15012 * localedata/locales/fur_IT: Likewise.
15013 * localedata/locales/gez_ER@abegede: Likewise.
15014 * localedata/locales/ha_NG: Likewise.
15015 * localedata/locales/hr_HR: Likewise.
15016 * localedata/locales/hsb_DE: Likewise.
15017 * localedata/locales/hu_HU: Likewise.
15018 * localedata/locales/ig_NG: Likewise.
15019 * localedata/locales/ik_CA: Likewise.
15020 * localedata/locales/is_IS: Likewise.
15021 * localedata/locales/iso14651_t1_pinyin: Likewise.
15022 * localedata/locales/kk_KZ: Likewise.
15023 * localedata/locales/ku_TR: Likewise.
15024 * localedata/locales/ky_KG: Likewise.
15025 * localedata/locales/ln_CD: Likewise.
15026 * localedata/locales/lt_LT: Likewise.
15027 * localedata/locales/lv_LV: Likewise.
15028 * localedata/locales/mi_NZ: Likewise.
15029 * localedata/locales/ml_IN: Likewise.
15030 * localedata/locales/mn_MN: Likewise.
15031 * localedata/locales/mr_IN: Likewise.
15032 * localedata/locales/mt_MT: Likewise.
15033 * localedata/locales/nb_NO: Likewise.
15034 * localedata/locales/om_KE: Likewise.
15035 * localedata/locales/os_RU: Likewise.
15036 * localedata/locales/pl_PL: Likewise.
15037 * localedata/locales/ps_AF: Likewise.
15038 * localedata/locales/ro_RO: Likewise.
15039 * localedata/locales/ru_RU: Likewise.
15040 * localedata/locales/ru_UA: Likewise.
15041 * localedata/locales/sc_IT: Likewise.
15042 * localedata/locales/se_NO: Likewise.
15043 * localedata/locales/si_LK: Likewise.
15044 * localedata/locales/sq_AL: Likewise.
15045 * localedata/locales/sv_FI: Likewise.
15046 * localedata/locales/sv_FI@euro: Likewise.
15047 * localedata/locales/sv_SE: Likewise.
15048 * localedata/locales/szl_PL: Likewise.
15049 * localedata/locales/tg_TJ: Likewise.
15050 * localedata/locales/ti_ER: Likewise.
15051 * localedata/locales/tk_TM: Likewise.
15052 * localedata/locales/tl_PH: Likewise.
15053 * localedata/locales/tr_TR: Likewise.
15054 * localedata/locales/tt_RU: Likewise.
15055 * localedata/locales/tt_RU@iqtelif: Likewise.
15056 * localedata/locales/ug_CN: Likewise.
15057 * localedata/locales/uk_UA: Likewise.
15058 * localedata/locales/uz_UZ: Likewise.
15059 * localedata/locales/uz_UZ@cyrillic: Likewise.
15060 * localedata/locales/vi_VN: Likewise.
15061 * localedata/locales/yi_US: Likewise.
15062 * localedata/locales/yo_NG: Likewise.
15064 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15066 * gen-locales.mk: Make test files which contain @ modifiers in their
15068 * localedata/gen-locale.sh: Likewise.
15070 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15072 * posix/tst-fnmatch.input: Fix results for range expressions
15074 * posix/tst-regexloc.c: Do not use a range expression for
15075 de_DE.ISO-8859-1 locale.
15077 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15079 * posix/bug-regex5.c: Fix test case because with the new
15080 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15081 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15084 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15086 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15087 downloaded from ISO, the collation order of @-. and space has changed.
15088 Therefore, this test file needed to be adapted.
15089 * localedata/fr_CA.UTF-8.in: Likewise.
15090 * localedata/fr_FR.UTF-8.in: Likewise.
15091 * localedata/uk_UA.UTF-8.in: Likewise.
15093 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15095 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15096 order of ȥ in the new iso14651_t1_common file.
15097 * localedata/pl_PL.UTF-8.in: Likewise.
15099 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15101 * localedata/locales/iso14651_t1_common: Add sections for various
15102 scripts to the iso14651_t1_common file.
15104 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15106 * localedata/locales/iso14651_t1_common: Use the code point of a
15107 character in the fourth collation level instead of IGNORE for all
15108 entries which have IGNORE on all 4 levels.
15110 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15112 * localedata/locales/iso14651_t1_common: Add some convenient collation
15113 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15114 rules similar to those in CLDR.
15116 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15118 * localedata/locales/iso14651_t1_common: The new version of this
15119 file downloaded from ISO contained several syntax errors which
15120 are fixed by this patch.
15122 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15124 * localedata/locales/iso14651_t1_common: replace all <U.....>
15125 with <U000.....> because glibc understands only 4 digit or 8 digit
15127 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15129 * localedata/locales/iso14651_t1_common: Necessary changes
15130 to make the file downloaded from ISO usable by glibc.
15132 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15135 * localedata/locales/iso14651_t1_common: Update file to
15136 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15138 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15140 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15141 of <nptl/pthreadP.h>
15142 (thread_attr_compare): Move function to...
15143 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15144 * sysdeps/nptl/timer_routines.h: ... new header.
15145 * sysdeps/mach/hurd/gai_misc.h: New file.
15147 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15149 * string/strcoll_l.c: Include <libc-diag.h>.
15150 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15151 declarations of seq1 and seq2.
15154 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15155 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15157 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15162 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15163 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15164 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15165 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15166 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15168 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15171 macros used in __ptrace_request.
15173 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15176 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15179 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15180 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15183 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15186 * ctype/ctype.c (tolower): Use libc_hidden_def.
15187 (toupper): Likewise.
15188 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15189 [!_ISOMAC] (toupper): Likewise.
15191 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15193 * localedata/Makefile: Remove --quiet argument when
15196 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15199 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15201 * localedata/locales/pt_PT (LC_TIME): likewise
15203 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15206 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15207 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15208 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15210 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15214 * nptl/Makefile (routines): Remove unregister-atfork.
15215 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15216 (fork_handler_alloc): Remove function.
15217 (fork_handlers, fork_handler_init): New variables.
15218 (__fork_lock): Rename to atfork_lock.
15219 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15220 to use a dynamic array to add/remove atfork handlers.
15221 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15222 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15223 Remove declaration.
15224 (fork_handler): Remove next, refcntr, and need_signal member.
15225 (__run_fork_handler_type): New enum.
15226 (__run_fork_handlers): New prototype.
15227 * nptl/register-atfork.c: Remove file.
15228 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15230 * sysdeps/nptl/nptl-signals.h: Move to ...
15231 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15233 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15234 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15235 unnecessary check for SIGTIMER.
15236 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15237 remove unnecessary removal of SIGTIMER.
15238 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15239 include-signals.h rename.
15240 * nptl/pthreadP.h: Likewise.
15241 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15242 __is_internal_signal instead of __nptl_is_internal_signal.
15244 2018-02-22 Andrew Waterman <andrew@sifive.com>
15247 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15248 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15249 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15250 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15252 2018-02-22 DJ Delorie <dj@delorie.com>
15254 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15256 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15258 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15259 do_misaligned, not misaligned8.
15261 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15263 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15264 Add memcpy_thunderx2.
15265 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15267 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15268 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15269 and IS_THUNDERX2PA checks.
15270 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15271 Use macro to set name appropriately.
15272 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15273 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15274 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15276 (IS_THUNDERX2): New macro.
15278 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15280 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15282 2018-02-21 Zack Weinberg <zackw@panix.com>
15284 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15285 Define here, unconditionally.
15286 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15287 * libio/libioP.h: Remove #if 0 blocks.
15288 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15289 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15290 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15292 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15293 Assume weak_alias is always defined.
15295 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15296 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15297 Remove #if 0 and #ifdef TODO blocks.
15298 Assume text_set_element is always defined.
15300 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15301 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15302 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15304 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15305 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15306 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15307 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15308 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15309 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15310 Reformat bit flags for _flags field to make occupancy clearer.
15312 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15313 Keep definitions consistent with those in libio/libio.h.
15315 * libio/libio.h (_IO_file_flags): Remove macro.
15316 All uses changed to _flags.
15318 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15319 (__HAVE_COLUMN, _IO_BE): Don't define.
15320 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15321 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15322 * libio/libioP.h (EOF): Don't define.
15323 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15324 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15325 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15326 testing _IO_UNIFIED_JUMPTABLES.
15328 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15329 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15330 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15331 (_IO_size_t): Delete; all uses changed to size_t.
15332 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15333 (_IO_off_t): Delete; all uses changed to off_t.
15334 (_IO_off64_t): Delete; all uses changed to off64_t.
15335 (_IO_pid_t): Delete; all uses changed to pid_t.
15336 (_IO_uid_t): Delete; all uses changed to uid_t.
15337 (_IO_wint_t): Delete; all uses changed to wint_t.
15338 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15339 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15340 (_IO_cookie_io_functions_t): Delete; all uses changed to
15341 cookie_io_functions_t.
15342 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15343 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15344 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15345 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15347 * libio/iofopncook.c: Remove unnecessary forward declarations.
15348 * libio/iolibio.h: Correct outdated commentary.
15349 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15350 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15351 Remove unnecessary casts.
15352 * stdio-common/getline.c: Use _IO_getdelim directly.
15353 Don't redefine ssize_t.
15354 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15355 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15356 Remove outdated comments.
15357 * stdio-common/vfscanf.c: Don't redefine va_list.
15359 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15360 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15361 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15362 which are always true, and __cplusplus, which is always false.
15364 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15368 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15369 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15370 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15371 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15373 [!_ISOMAC] (putc_unlocked): Likewise.
15374 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15375 define inline if [__USE_EXTERN_INLINES].
15376 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15381 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15382 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15383 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15384 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15385 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15387 * time/tzfile.c (__tzfile_read): Likewise.
15389 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15392 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15394 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15396 * io/fcntl.h: Fix a typo in a comment.
15398 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15401 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15402 define _DEFAULT_SOURCE.
15403 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15405 2018-02-21 Florian Weimer <fweimer@redhat.com>
15408 * elf/cache.c (save_cache): Call fsync on temporary file before
15410 (save_aux_cache): Call fdatasync on temporary file before renaming
15413 2018-02-21 Florian Weimer <fweimer@redhat.com>
15416 * include/caller.h: Remove file.
15417 * elf/dl-caller.c: Likewise.
15418 * elf/Makefile (dl-routines): Remove dl-caller.
15419 (shared-only-routines): Do not add dl-caller.
15420 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15422 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15424 (dl_open_worker): Do not call __check_caller.
15425 (_dl_open): Do not set caller_dl_open member.
15426 * elf/rtld.c (_rtld_global_ro): Do not initialize
15427 _dl_check_caller member.
15428 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15429 _dl_check_caller member.
15430 (_dl_check_caller): Remove declaration.
15431 * sysdeps/unix/sysv/linux/dl-execstack.c
15432 (_dl_make_stack_executable): Do not call __check_caller.
15434 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15436 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15437 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15439 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15441 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15444 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15447 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15448 of 199606L, 200112L, and 200809L.
15449 (_XOPEN_SOURCE): Document special values of 600 and 700.
15450 (_ISOC11_SOURCE): Document macro.
15451 (_ATFILE_SOURCE): Likewise.
15452 (_FORTIFY_SOURCE): Likewise.
15454 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15458 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15459 and define as weak alias of __ferror_unlocked. Use
15461 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15463 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15464 function if [__USE_EXTERN_INLINES].
15465 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15468 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15471 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15473 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15476 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15477 the GLIBC_2.1 version.
15479 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15482 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15483 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15484 intl/tst-gettext-de.po from po/de.po by removing the
15485 POT-Creation-Date line.
15486 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15488 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15491 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15493 * mach/Makefile (headers): Add mach/param.h.
15494 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15495 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15496 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15497 (__ptsname_r): Move implementation to...
15498 (__ptsname_internal): ... new function. Add filling the STP
15501 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15503 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15506 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15508 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15511 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15513 * nptl/Makefile (tst-mutex8-ENV): Delete.
15514 * nptl/tst-mutex8.c (check_type):
15515 Add runtime check if mutex will be elided.
15517 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15521 * manual/install.texi (Configuring and compiling): Describe
15522 passing CC and CFLAGS on configure command line, not as
15523 environment variables. Use @code markup on those variables.
15524 Specify what options go in CC and what go in CFLAGS. Note the
15525 requirement to compile with optimization.
15526 * INSTALL: Regenerated.
15529 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15530 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15531 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15532 __sigprocmask instead of sigprocmask.
15533 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15535 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15536 __sigsetjmp and sigprocmask.
15539 * include/argz.h (argz_next): Use libc_hidden_proto.
15540 (__argz_next): Likewise.
15541 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15542 (argz_next): Use libc_hidden_weak.
15545 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15547 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15551 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15553 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15557 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15558 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15559 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15560 (__feof_unlocked): New declaration, and inline function if
15561 [__USE_EXTERN_INLINES].
15562 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15563 instead of feof_unlocked.
15564 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15565 * nss/nsswitch.c (nss_parse_file): Likewise.
15566 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15568 * time/getdate.c (__getdate_r): Likewise.
15569 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15570 Define as macro to call __feof_unlocked.
15572 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15574 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15576 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15578 * math/Makefile: Remove mpexp.c and mplog.c
15579 * sysdeps/i386/fpu/mpexp.c: Delete file.
15580 * sysdeps/i386/fpu/mplog.c: Likewise.
15581 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15582 * sysdeps/ia64/fpu/mplog.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15584 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15585 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15586 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15587 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15588 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15589 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15590 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15591 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15592 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15593 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15594 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15595 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15596 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15597 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15598 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15600 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15602 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15604 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15606 * sysdeps/sh/libm-test-ulps: Update.
15608 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15610 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15613 2018-02-12 Zack Weinberg <zackw@panix.com>
15616 * posix/sys/types.h: Don't include sys/sysmacros.h.
15617 * misc/sys/sysmacros.h: Remove the conditional deprecation
15618 warnings for the macros defined by this header.
15620 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15622 * manual/probes.texi: Remove slowexp probes.
15623 * math/Makefile: Remove slowexp.
15624 * sysdeps/generic/math_private.h (__slowexp): Remove.
15625 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15626 document error bounds.
15627 * sysdeps/i386/fpu/slowexp.c: Remove.
15628 * sysdeps/ia64/fpu/slowexp.c: Remove.
15629 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15630 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15631 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15632 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15633 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15634 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15635 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15636 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15637 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15638 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15639 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15641 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15644 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15645 * benchtests/pow-inputs: Update comment for slow path cases.
15646 * manual/probes.texi (slowpow_p10): Delete removed probe.
15647 (slowpow_p10): Likewise.
15648 * math/Makefile: Remove halfulp.c and slowpow.c.
15649 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15650 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15651 (__halfulp): Remove.
15652 (__slowpow): Remove.
15653 * sysdeps/i386/fpu/halfulp.c: Delete file.
15654 * sysdeps/i386/fpu/slowpow.c: Likewise.
15655 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15656 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15658 improve comments and add error analysis.
15659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15660 (power1): Remove function:
15661 (log1): Remove error argument, add error analysis.
15662 (my_log2): Remove function.
15663 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15664 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15665 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15666 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15667 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15668 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15669 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15670 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15671 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15672 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15673 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15674 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15675 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15678 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15680 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15681 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15683 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15686 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15687 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15688 and PTRACE_SETHBPREGS.
15690 2018-02-10 Zack Weinberg <zackw@panix.com>
15693 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15695 * malloc/tst-malloc-stats-cancellation.c: New test case.
15696 * malloc/Makefile: Add new test case.
15698 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15700 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15702 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15704 * math/Makefile (libm-narrow-fns): Add add.
15705 (libm-test-funcs-narrow): Likewise.
15706 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15707 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15708 * math/gen-auto-libm-tests.c (test_functions): Add add.
15709 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15710 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15711 (NARROW_ADD_TRIVIAL): Likewise.
15712 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15714 (__daddl): Likewise.
15715 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15717 (CFLAGS-nldbl-dadd.c): New variable.
15718 (CFLAGS-nldbl-fadd.c): Likewise.
15719 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15723 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15724 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15725 * math/auto-libm-test-in: Add tests of add.
15726 * math/auto-libm-test-out-narrow-add: New generated file.
15727 * math/libm-test-narrow-add.inc: New file.
15728 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15731 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15732 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15733 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15742 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15743 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15744 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15745 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15747 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15750 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15754 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15755 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15756 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15757 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15758 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15759 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15771 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15773 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15775 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15776 (f128-pairs): New variable.
15777 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15778 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15780 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15781 Also make tests add $(f128-loader-link) to gnulib-tests.
15783 2018-02-09 DJ Delorie <dj@redhat.com>
15786 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15787 64-bit ELF type for 64-bit ELF objects.
15789 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15791 * math/libm-test-driver.c (snan_tests_arg): New variable.
15792 * math/libm-test-support.h (snan_tests_arg): New declaration.
15793 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15795 * math/Makefile (test-type-pairs): New variable.
15796 (test-type-pairs-f64xf128-yes): Likewise.
15797 (tests): Add test-narrow-macros.
15798 (libm-test-funcs-narrow): New variable.
15799 (libm-test-c-narrow): Likewise.
15800 (generated): Add $(libm-test-c-narrow).
15801 (libm-tests-base-narrow): New variable.
15802 (libm-tests-narrow): Likewise.
15803 (libm-tests): Add $(libm-tests-narrow).
15804 (libm-tests-for-type): Handle $(libm-tests-narrow).
15805 (libm-test-c-narrow-obj): New variable.
15806 ($(libm-test-c-narrow-obj)): New rule.
15807 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15808 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15809 $(o-iterator) to set dependencies and CFLAGS.
15810 * math/gen-auto-libm-tests.c: Document use for narrowing
15812 (output_for_one_input_case): Take argument NARROW.
15813 (generate_output): Likewise. Update call to
15814 output_for_one_input_case.
15815 (main): Take --narrow option. Update call to generate_output.
15816 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15817 (apply_lit): Update call to _apply_lit.
15818 (apply_arglit): New function.
15819 (parse_args): Handle "a" arguments.
15820 (parse_auto_input): Handle format names using ":".
15821 * math/README.libm-test: Document "a" parameter type.
15822 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15823 (ARG_TYPE_TRUE_MIN): Likewise.
15824 (ARG_TYPE_MAX): Likwise.
15825 (ARG_MIN_EXP): Likewise.
15826 (ARG_MAX_EXP): Likewise.
15827 (ARG_MANT_DIG): Likewise.
15828 (TEST_COND_arg_ibm128): Likewise.
15829 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15830 (TEST_COND_arg_fmt): New macro.
15831 (init_max_error): Update prototype.
15832 * math/libm-test-support.c (test_ibm128): New variable.
15833 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15834 instead of using [TEST_COND_ibm128] conditional.
15835 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15836 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15837 [TEST_NARROW] (TEST_MSG): New definition.
15838 (arg_plus_zero): New macro.
15839 (arg_minus_zero): Likewise.
15840 (arg_plus_infty): Likewise.
15841 (arg_minus_infty): Likewise.
15842 (arg_qnan_value_pl): Likewise.
15843 (arg_qnan_value): Likewise.
15844 (arg_snan_value_pl): Likewise.
15845 (arg_snan_value): Likewise.
15846 (arg_max_value): Likewise.
15847 (arg_min_value): Likewise.
15848 (arg_min_subnorm_value): Likewise.
15849 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15850 (RUN_TEST_LOOP_aa_f): New macro.
15851 (TEST_SUFF): New macro.
15852 (TEST_SUFF_STR): Likewise.
15853 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15854 (TEST_COND_any_ibm128): New macro.
15855 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15856 this_func. Update call to init_max_error.
15857 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15858 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15859 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15860 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15861 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15862 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15863 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15864 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15865 * math/test-math-vector.h (TEST_NARROW): Likewise.
15866 * math/test-arg-double.h: New file.
15867 * math/test-arg-float128.h: Likewise.
15868 * math/test-arg-float32x.h: Likewise.
15869 * math/test-arg-float64.h: Likewise.
15870 * math/test-arg-float64x.h: Likewise.
15871 * math/test-arg-ldouble.h: Likewise.
15872 * math/test-math-narrow.h: Likewise.
15873 * math/test-narrow-macros.c: Likewise.
15874 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15875 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15876 test-narrow-macros-ldbl-64.
15877 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15879 * math/bits/mathcalls-narrow.h: New file.
15880 * include/bits/mathcalls-narrow.h: Likewise.
15881 * math/math-narrow.h: Likewise.
15882 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15883 (__MATHCALL_NARROW_ARGS_2): Likewise.
15884 (__MATHCALL_NARROW_ARGS_3): Likewise.
15885 (__MATHCALL_NARROW_NORMAL): Likewise.
15886 (__MATHCALL_NARROW_REDIR): Likewise.
15887 (__MATHCALL_NARROW): Likewise.
15888 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15889 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15891 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15892 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15893 (libm-narrow-fns): New variable.
15894 (libm-narrow-types-basic): Likewise.
15895 (libm-narrow-types-ldouble-yes): Likewise.
15896 (libm-narrow-types-float128-yes): Likewise.
15897 (libm-narrow-types-float128-alias-yes): Likewise.
15898 (libm-narrow-types): Likewise.
15899 (libm-routines): Add narrowing functions.
15900 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15901 (libc_feholdexcept_setroundf128): New macro.
15902 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15903 * sysdeps/ieee754/float128/float128_private.h: Include
15904 <math/math-narrow.h>.
15905 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15906 Undefine and redefine.
15907 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15908 (libm_alias_float_ldouble): Undefine and redefine.
15909 (libm_alias_double_ldouble): Likewise.
15911 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15913 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15915 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15918 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15920 * manual/creature.texi: Convert references to gcc.info to gcc.
15921 * manual/stdio.texi: Likewise.
15922 * manual/string.texi: Likewise.
15924 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15927 * posix/bits/types.h (__int_least8_t): New typedef.
15928 (__uint_least8_t): Likewise.
15929 (__int_least16_t): Likewise.
15930 (__uint_least16_t): Likewise.
15931 (__int_least32_t): Likewise.
15932 (__uint_least32_t): Likewise.
15933 (__int_least64_t): Likewise.
15934 (__uint_least64_t): Likewise.
15935 * sysdeps/generic/stdint.h (int_least8_t): Define using
15937 (int_least16_t): Define using __int_least16_t.
15938 (int_least32_t): Define using __int_least32_t.
15939 (int_least64_t): Define using __int_least64_t.
15940 (uint_least8_t): Define using __uint_least8_t.
15941 (uint_least16_t): Define using __uint_least16_t.
15942 (uint_least32_t): Define using __uint_least32_t.
15943 (uint_least64_t): Define using __uint_least64_t.
15944 * wcsmbs/uchar.h: Include <bits/types.h>.
15945 (char16_t): Define using __uint_least16_t conditional only on
15947 (char32_t): Define using __uint_least32_t conditional only on
15949 * wcsmbs/test-char-types.c: New file.
15950 * wcsmbs/Makefile (tests): Add test-char-types.
15952 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15955 2018-02-07 Zack Weinberg <zackw@panix.com>
15957 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15958 Delete all contents except for definitions of _G_HAVE_MMAP and
15959 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15960 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15961 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15964 * libio/libio.h: Don't include bits/_G_config.h here.
15965 Include stddef.h with __need_wchar_t defined. Include
15966 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15967 Define _IO_iconv_t here, directly.
15968 Don't define _IO_HAVE_ST_BLKSIZE.
15969 * libio/libioP.h: Include _G_config.h here. Move include of
15970 shlib-compat.h up with rest of includes. Simplify conditionals
15971 controlling definition of _IO_JUMPS_OFFSET.
15973 * csu/init.c: Remove always-true #if around entire file.
15974 Don't include stdio.h. Set _IO_stdin_used to hardwired
15975 constant 0x20001, and update commentary.
15976 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15977 Replace all uses of _G_va_list with __gnuc_va_list.
15978 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15979 instead of #if _IO_HAVE_ST_BLKSIZE.
15980 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15981 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15984 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15985 multiple-include guard to match.
15986 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15988 Remove preprocessor conditionals that are always true and/or
15989 redundant to other preprocessor conditionals in the same nest.
15990 Include shlib-compat.h unconditionally.
15991 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15992 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15993 defined after including stdio.h.
15994 Use __BEGIN_DECLS/__END_DECLS.
15996 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15997 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15998 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16000 2018-02-07 Zack Weinberg <zackw@panix.com>
16002 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16003 New single-type headers split from _G_config.h.
16004 * libio/bits/types/cookie_io_functions_t.h
16005 * libio/bits/types/struct_FILE.h
16006 New single-type headers split from libio.h.
16008 * libio/Makefile: Install the above new headers. Don't install
16009 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16011 * libio/_G_config.h, libio/libio.h: Delete file.
16013 * libio/bits/libio.h: Remove improper-inclusion guard.
16014 Include stdio.h and don't repeat anything that it does.
16015 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16016 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16017 __io_read_fn as cookie_read_function_t,
16018 __io_write_fn as cookie_write_function_t,
16019 __io_seek_fn as cookie_seek_function_t,
16020 __io_close_fn as cookie_close_function_t,
16021 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16022 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16023 here, in the "compatibility defines" section. Remove an #if 0
16024 block. Use the "body" macros from bits/types/struct_FILE.h to
16025 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16026 and _IO_ferror_unlocked.
16027 Move prototypes of __uflow and __overflow...
16029 * libio/stdio.h: ...here. Don't include bits/libio.h.
16030 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16031 directly from stdarg.h. Include bits/types/__fpos_t.h,
16032 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16033 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16034 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16035 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16036 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16037 __ssize_t, not _IO_ssize_t. Unconditionally define
16038 BUFSIZ as 8192 and EOF as (-1).
16040 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16041 macros from bits/types/struct_FILE.h instead of _IO_* macros
16042 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16043 instead of _IO_ssize_t.
16044 * libio/bits/stdio2.h: Similarly.
16046 * libio/iolibio.h: Add multiple-include guard.
16047 Include bits/libio.h after stdio.h.
16048 * libio/libioP.h: Add multiple-include guard.
16049 Include stdio.h and bits/libio.h before iolibio.h.
16051 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16052 * include/bits/types/cookie_io_functions_t.h
16053 * include/bits/types/struct_FILE.h: New wrappers.
16055 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16056 Get definitions of _G_fpos_t and _G_fpos64_t from
16057 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16058 respectively. Remove improper-inclusion guards.
16060 * conform/data/stdio.h-data: Update expectations of va_list.
16061 * scripts/check-installed-headers.sh: Remove special case for
16062 libio.h and _G_config.h.
16064 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16068 * include/sys/sysmacros.h [!_ISOMAC]
16069 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16070 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16071 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16072 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16074 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16075 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16077 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16078 Undefine and redefine to add use __gnu_dev_ prefix.
16079 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16081 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16082 and define as hidden inline function.
16083 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16085 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16087 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16088 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16089 (gnu_dev_minor): Likewise.
16090 (gnu_dev_makedev): Likewise.
16091 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16093 * posix/wordexp.c (exec_comm_child): Likewise.
16094 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16095 instead of minor and __gnu_dev_major instead of major.
16096 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16097 __gnu_dev_major instead of major.
16098 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16099 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16100 instead of gnu_dev_minor.
16101 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16102 (SLAVE_P): Likewise.
16103 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16104 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16108 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16110 * locale/weightwc.h (findidx): Likewise.
16112 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16114 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16115 (slowlog_inexact): Likewise
16116 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16117 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16119 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16122 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16123 missing second underscore to parameter name.
16125 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16131 * bits/byteswap.h: Update file comment. Do not include
16132 <bits/byteswap-16.h>.
16133 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16135 (__bswap_16): Define as inline function.
16136 (__bswap_constant_32): Reformat definition.
16137 (__bswap_32): Always define as inline function, not macro, using
16138 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16139 otherwise __bswap_constant_32.
16140 (__bswap_constant_64): Reformat definition. Do not use
16141 __extension__ here.
16142 (__bswap_64): Always define as inline function, not macro. Use
16143 __extension__ on function definition. Use __builtin_bswap64 if
16144 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16145 * string/test-endian-file-scope.c: New file.
16146 * string/test-endian-sign-conversion.c: Likewise.
16147 * string/Makefile (headers): Remove bits/byteswap-16.h.
16148 (tests): Add test-endian-file-scope and
16149 test-endian-sign-conversion.
16150 (CFLAGS-test-endian-sign-conversion.c): New variable.
16151 * bits/byteswap-16.h: Remove file.
16152 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16153 * sysdeps/ia64/bits/byteswap.h: Likewise.
16154 * sysdeps/m68k/bits/byteswap.h: Likewise.
16155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16156 * sysdeps/s390/bits/byteswap.h: Likewise.
16157 * sysdeps/tile/bits/byteswap.h: Likewise.
16158 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16159 * sysdeps/x86/bits/byteswap.h: Likewise.
16162 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16163 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16164 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16165 199901L] (__restrict): Define to restrict.
16168 * string/testcopy.c: Include <support/support.h>. Do not include
16169 <malloc.h>. Use <support/test-driver.c>.
16170 (main): Rename to do_test. Make static. Use xmalloc instead of
16174 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16175 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16176 (SSIZE_MAX): Define to INT_MAX.
16177 * posix/test-ssize-max.c: New file.
16178 * posix/Makefile (tests): Add test-ssize-max.
16181 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16182 <support/support.h>. Do not include <malloc.h>.
16183 (query_auxv): Use xmalloc instead of malloc.
16186 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16187 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16190 2018-02-06 Florian Weimer <fweimer@redhat.com>
16193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16194 Use scratch_buffer instead of extend_alloca.
16196 2018-02-06 Zack Weinberg <zackw@panix.com>
16198 * libio/stdio.h: Don't define getc or putc as macros.
16199 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16200 not _IO_getc and _IO_putc.
16202 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16203 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16205 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16207 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16208 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16210 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16213 * elf/elf.h (NT_PRFPREG): New macro.
16214 (NT_S390_VXRS_LOW): Likewise.
16215 (NT_S390_VXRS_HIGH): Likewise.
16216 (NT_S390_GS_CB): Likewise.
16217 (NT_S390_GS_BC): Likewise.
16218 (NT_S390_RI_CB): Likewise.
16220 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16221 (MAP_SYNC): New macro.
16222 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16224 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16225 (MAP_SYNC): Likewise.
16226 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16227 (MAP_SYNC): Likewise.
16228 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16229 (MAP_SYNC): Likewise.
16230 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16231 (MAP_SYNC): Likewise.
16232 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16233 (MAP_SYNC): Likewise.
16234 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16235 (MAP_SYNC): Likewise.
16236 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16238 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16241 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16242 (MAP_SHARED_VALIDATE): New macro.
16243 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16244 (MAP_SHARED_VALIDATE): Likewise.
16246 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16248 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16249 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16252 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16254 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16255 (DT_NUM): Updated to 35.
16257 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16260 __builtin_expect with __glibc_likely and __glibc_unlikely.
16261 (elf_machine_rela): Likewise.
16262 (elf_machine_lazy_rel): Likewise.
16264 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16267 __builtin_expect with __glibc_likely and __glibc_unlikely.
16268 (elf_machine_lazy_rel): Likewise.
16270 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16273 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16275 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16277 2018-02-05 Andreas Schwab <schwab@suse.de>
16280 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16283 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16285 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16286 not check against PTHREAD_STACK_MIN.
16288 2018-02-02 Sean McKean <smckean83@gmail.com>
16291 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16293 2018-02-02 Florian Weimer <fweimer@redhat.com>
16296 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16297 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16298 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16299 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16300 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16301 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16302 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16303 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16304 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16305 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16306 * misc/tst-preadvwritev2.c (do_test): Call it.
16307 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16309 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16311 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16313 * benchtests/bench-memcmp.c: Print json instead of plain text.
16315 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16318 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16320 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16322 (s390_sthyi): New syscall.
16324 * sysdeps/generic/ldbl-classify-compat.h: New file.
16325 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16326 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16327 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16328 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16329 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16330 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16331 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16332 <ldbl-classify-compat.h>.
16333 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16334 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16335 <ldbl-classify-compat.h>.
16336 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16337 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16338 <ldbl-classify-compat.h>.
16339 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16340 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16341 <ldbl-classify-compat.h>.
16342 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16344 <ldbl-classify-compat.h>.
16345 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16347 <ldbl-classify-compat.h>.
16348 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16349 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16350 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16351 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16352 * sysdeps/microblaze/math_private.h: Likewise.
16353 * sysdeps/nios2/math_private.h: Likewise.
16354 * sysdeps/sh/math_private.h: Likewise.
16356 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16357 * sysdeps/m68k/coldfire/math_private.h: ... here.
16358 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16359 * sysdeps/tile/math_private.h: Likewise.
16360 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16362 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16365 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16367 (libc_fetestexcept): Likewise.
16368 (libc_feupdateenv_test): Likewise.
16369 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16370 (libc_fetestexcept): Likewise.
16371 (libc_feupdateenv_test): Likewise.
16372 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16373 (libc_fetestexcept): Likewise.
16374 (libc_feupdateenv_test): Likewise.
16375 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16376 (libc_fetestexcept): Likewise.
16377 (libc_feupdateenv_test): Likewise.
16379 * sysdeps/generic/math_private.h
16380 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16381 New inline function.
16382 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16385 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16386 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16387 * sysdeps/generic/math_private.h
16388 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16390 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16392 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16394 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16396 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16398 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16400 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16401 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16402 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16403 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16404 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16405 (__fegetenv): Likewise.
16406 (fesetenv): Likewise.
16407 (__fesetenv): Likewise.
16408 (feupdateenv): Likewise.
16409 (__feupdateenv): Likewise.
16410 (fegetround): Likewise.
16411 (__fegetround): Likewise.
16412 (fesetround): Likewise.
16413 (__fesetround): Likewise.
16415 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16416 (feraiseexcept): New macro.
16417 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16418 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16420 (__feraiseexcept): Likewise.
16421 (feclearexcept): Likewise.
16422 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16423 (__feraiseexcept): Likewise.
16424 (feclearexcept): Likewise.
16425 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16426 (__feraiseexcept): Likewise.
16427 (feclearexcept): Likewise.
16428 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16429 (__feraiseexcept): Likewise.
16430 (feclearexcept): Likewise.
16431 (fetestexcept): Likewise.
16433 * sysdeps/m68k/coldfire/math-tests.h: New file.
16435 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16436 * sysdeps/m68k/bits/fenv.h: ... here.
16437 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16439 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16441 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16443 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16445 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16447 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16449 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16450 (__FE_UNDEFINED): New enum constant.
16451 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16453 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16455 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16457 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16458 to match generic bits/fenv.h.
16459 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16462 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16464 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16465 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16466 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16467 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16469 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16470 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16471 Joseph Myers <joseph@codesourcery.com>
16474 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16475 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16476 computation using c.
16477 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16478 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16479 computation using c.
16481 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16483 * version.h (RELEASE): Set to "development".
16484 (VERSION): Set to "2.27.9000".
16485 * NEWS (2.28): New section.
16487 * version.h (RELEASE): Set to "stable".
16488 (VERSION): Set to "2.27".
16489 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16491 * NEWS: Add the list of bugs fixed in 2.27.
16493 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16495 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16496 against PTHREAD_STACK_MIN.
16498 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16500 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16502 (Rafal Luzynski, Andreas Schwab): Update.
16504 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16507 * NEWS: List the languages which actually use the alternative
16508 months feature in this release. Also explain that "alt_mon" and
16509 "ab_alt_mon" are optional.
16511 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16514 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16516 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16518 * manual/install.texi (Tools for Compilation): Update the newest
16519 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16520 * INSTALL: Regenerated.
16522 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16524 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16525 instead of __builtin_expect.
16527 2018-01-30 Florian Weimer <fweimer@redhat.com>
16529 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16531 * nss/tst-nss-getpwent.c (do_test): Likewise.
16533 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16536 * localedata/locales/hr_HR (mon): Rename to...
16538 (mon): Import from CLDR (genitive case).
16539 (d_t_fmt): Update the comment.
16541 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16543 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16544 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16545 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16547 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16549 * mach/Versions: Fix version when __mach_host_self_ was added.
16550 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16551 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16552 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16553 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16554 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16555 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16556 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16557 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16558 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16559 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16560 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16561 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16562 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16563 || to respect codestyle.
16564 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16565 (do_test_bz20181): Rename accordingly.
16566 * malloc/malloc.c: Include <assert.h>.
16567 (assert): Do not define.
16568 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16569 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16570 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16571 * sysdeps/mach/hurd/hp-timing.h: New file.
16572 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16574 2018-01-29 Darius Rad <darius@bluespec.com>
16576 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16578 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16580 * sysdeps/init_array/crti.S (.section .init_array): Add
16581 PREINIT_FUNCTION when defined.
16582 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16583 * config.h.in: Regenerate.
16584 * manual/platform.texi: Add RISC-V documenation for
16585 __riscv_flush_icache.
16586 * sysdeps/riscv/__longjmp.S: New file.
16587 * sysdeps/riscv/backtrace.c: Likewise.
16588 * sysdeps/riscv/bits/endian.h: Likewise.
16589 * sysdeps/riscv/bits/setjmp.h: Likewise.
16590 * sysdeps/riscv/bits/wordsize.h: Likewise.
16591 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16592 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16593 * sysdeps/riscv/dl-trampoline.S: Likewise.
16594 * sysdeps/riscv/gccframe.h: Likewise.
16595 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16596 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16597 * sysdeps/riscv/machine-gmon.h: Likewise.
16598 * sysdeps/riscv/memusage.h: Likewise.
16599 * sysdeps/riscv/setjmp.S: Likewise.
16600 * sysdeps/riscv/sys/asm.h: Likewise.
16601 * sysdeps/riscv/tls-macros.h: Likewise.
16602 * sysdeps/riscv/dl-tls.h: New file.
16603 * sysdeps/riscv/libc-tls.c: Likewise.
16604 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16605 * sysdeps/riscv/nptl/tls.h: Likewise.
16606 * sysdeps/riscv/stackinfo.h: Likewise.
16607 * sysdeps/riscv/bits/fenv.h: New file.
16608 * sysdeps/riscv/e_sqrtl.c: Likewise.
16609 * sysdeps/riscv/fpu_control.h: Likewise.
16610 * sysdeps/riscv/math-tests.h: Likewise.
16611 * sysdeps/riscv/nofpu/Implies: Likewise.
16612 * sysdeps/riscv/sfp-machine.h: Likewise.
16613 * sysdeps/riscv/tininess.h: Likewise.
16614 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16615 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16616 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16617 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16618 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16619 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16620 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16621 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16622 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16623 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16624 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16625 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16626 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16627 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16628 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16629 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16630 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16631 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16632 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16633 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16634 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16635 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16636 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16637 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16638 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16639 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16640 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16641 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16642 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16643 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16644 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16645 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16646 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16647 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16648 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16649 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16650 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16651 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16652 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16653 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16654 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16655 * sysdeps/riscv/rvf/math_private.h: Likewise.
16656 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16657 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16658 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16659 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16660 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16661 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16662 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16663 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16664 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16665 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16666 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16667 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16668 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16669 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16670 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16671 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16672 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16673 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16674 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16675 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16676 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16677 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16678 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16679 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16680 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16681 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16682 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16683 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16684 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16685 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16686 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16687 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16688 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16689 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16690 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16691 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16692 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16693 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16694 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16695 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16696 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16697 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16698 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16699 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16700 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16701 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16702 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16703 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16704 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16705 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16706 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16707 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16708 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16709 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16710 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16711 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16712 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16713 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16714 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16715 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16716 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16718 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16719 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16724 * sysdeps/riscv/Implies: New file.
16725 * sysdeps/riscv/Makefile: Likewise.
16726 * sysdeps/riscv/configure: Likewise.
16727 * sysdeps/riscv/configure.ac: Likewise.
16728 * sysdeps/riscv/nptl/Makefile: Likewise.
16729 * sysdeps/riscv/preconfigure: Likewise.
16730 * sysdeps/riscv/rv64/Implies-after: Likewise.
16731 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16732 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16733 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16734 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16735 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16736 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16737 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16738 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16739 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16740 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16741 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16742 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16743 (Config): Likewise.
16745 2018-01-29 Florian Weimer <fweimer@redhat.com>
16748 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16749 libnsl_hidden_proto.
16750 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16751 libnsl_hidden_proto.
16752 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16753 * nis/Makefile (libnsl-routines): Add nss-default only for
16754 build-obsolete-nsl.
16755 * nis/nis_defaults.c (__nis_default_ttl): Add
16756 libnsl_hidden_nolink_def.
16757 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16759 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16760 * nis/ypclnt.c (yp_maplist): Likewise.
16762 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16765 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16767 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16769 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16770 clean -dxfq for git updates when replacing sources.
16772 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16773 --disable-libcilkrts unconditionally, not just for the final GCC
16776 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16779 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16782 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16785 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16788 * localedata/locales/be_BY (mon): Rename to...
16789 (alt_mon): This, then synchronize with CLDR (nominative case).
16790 (abmon): Rename to...
16791 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16792 (mon): Import from CLDR (genitive case).
16794 * localedata/locales/be_BY@latin (mon): Rename to...
16796 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16798 * localedata/locales/be_BY@latin (lang_name): Reworded to
16799 "biełaruskaja mova".
16801 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16804 * localedata/locales/el_CY (mon): Renamed to...
16806 (mon): Import from CLDR (genitive case).
16807 * localedata/locales/el_GR: Likewise.
16809 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16812 * localedata/locales/ru_RU (mon): Rename to...
16814 (abmon): Rename to...
16815 (ab_alt_mon): This.
16816 (mon): Import from CLDR (genitive case).
16817 (abmon): Copy from the old content except the 5th month which is
16818 now in the genitive case, even when abbreviated.
16819 * localedata/locales/ru_UA: Likewise.
16820 * time/tst-strptime.c (day_tests): Add an actual example of
16821 a difference between %b and %Ob in Russian.
16823 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16825 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16826 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16828 * resolv/res-close.c: Include <stdlib.h>.
16829 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16830 <sys/wait.h>, <time.h>, <sys/uio.h>.
16831 (NOT_CANCEL_H): Add inclusion guard.
16832 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16833 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16834 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16837 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16838 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16840 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16841 timer_ptr2id to cast struct timer_node * to void *.
16842 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16843 --disable-libcilkrts to gcc configure.
16844 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16845 and make them the default for now.
16846 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16847 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16848 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16849 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16850 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16852 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16853 __task_terminate would ever return successfully.
16854 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16856 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16857 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16858 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16859 critical section to make code simpler and avoid warning.
16860 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16861 critical section to make code simpler and avoid warning.
16862 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16863 const char * instead of char *.
16864 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16865 __hurd_file_name_split, hurd_file_name_split,
16866 __hurd_directory_name_split, hurd_directory_name_split,
16867 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16868 hurd_file_name_path_lookup): Make lookup function parameter take a
16869 const char *name instead of char *name.
16870 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16871 __hurd_directory_name_split): Likewise.
16872 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16873 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16874 * sysdeps/mach/hurd/check_native.c: New file.
16875 * sysdeps/mach/hurd/check_pf.c: New file.
16876 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16877 (__freeifaddrs): Define macro to freeifaddrs.
16878 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16879 * sysdeps/mach/libmachuser.abilist: New file.
16880 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16881 (do_test_bz20181): Rename accordingly.
16882 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16883 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16885 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16886 version only if __USE_EXTERN_INLINES is defined.
16887 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16888 __hurd_sockfail): Likewise.
16889 (_hurd_fd_get): Always declare functions, and provide inline versions
16890 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16891 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16892 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16893 _hurd_port_set): Always declare functions, and provide inline versions
16894 only if __USE_EXTERN_INLINES and _LIBC are defined and
16896 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16897 _hurd_critical_section_unlock): Likewise.
16898 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16899 * __hurd_threadvar_location): Likewise.
16900 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16901 _hurd_userlink_clear): Likewise.
16902 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16903 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16904 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16905 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16906 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16907 __spin_lock_locked): Likewise.
16908 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16909 __spin_lock_locked): Likewise.
16910 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16911 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16912 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16913 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16914 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16915 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16916 _POSIX_NO_TRUNC): Define to 0.
16917 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16918 check size against PTHREAD_STACK_MIN.
16919 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16920 IS_IN(libpthread)]: Include <sigsetops.h>.
16921 * mach/Makefile (user-interfaces): Add mach/gnumach.
16922 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16923 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16924 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16925 instead of invalid -1.
16926 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16927 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16928 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16931 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16933 * hurd/fcntl-internal.h: New file.
16935 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16937 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16939 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16941 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16944 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16945 Build only shared objects.
16947 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16949 * README: Update for hppa.
16951 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16953 * sysdeps/sparc/fpu/libm-test-ulps: Update
16954 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16956 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16960 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16963 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16964 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16965 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16966 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16969 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16972 * bits/types/__cancel_jmp_buf_tag.h: New file.
16973 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16974 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16975 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16976 * nptl/Makefile (headers): Add
16977 bits/types/__cancel_jmp_buf_tag.h.
16978 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16979 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16980 * sysdeps/nptl/pthread.h: Include
16981 <bits/types/__cancel_jmp_buf_tag.h>.
16982 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16984 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16986 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16989 * localedata/locales/uk_UA (mon): Renamed to...
16991 (alt_digits): "0" removed and then renamed to...
16993 (date_fmt): Definition changed not to use the alternative
16996 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16998 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16999 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17000 * elf/elf.h (EF_RISCV_RVC): New define.
17001 (EF_RISCV_FLOAT_ABI): Likewise.
17002 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17003 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17004 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17005 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17006 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17008 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17010 2018-01-25 Andreas Schwab <schwab@suse.de>
17012 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17014 * sysdeps/gnu/configure: Regenerate.
17015 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17016 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17018 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17019 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17020 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17021 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17022 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17024 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17026 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17027 URL, and run autoconf, make it the default for now.
17029 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17031 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17032 soft-float ColdFire configuration.
17034 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17035 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17036 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17038 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17041 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17043 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17045 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17048 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17049 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17050 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17053 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17056 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17057 Rename to __reserved and add comment.
17058 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17059 Rename to __reserved.
17061 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17063 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17064 i686-gnu configurations.
17065 (Context.run_builds): Include mig, gnumach and hurd in components
17067 (Context.checkout): Add mig, gnumach and hurd to components.
17068 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17070 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17071 (Config.build): Install gnumach headers, build mig and install
17072 hurd headers for 'gnu' OS.
17073 (Config.install_gnumach_headers): New function.
17074 (Config.install_hurd_headers): Likewise.
17075 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17076 when building for 'gnu' OS.
17078 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17080 * manual/tunables.texi (Hardware Capability Tunables): Fix
17083 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17085 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17086 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17087 (ALTMON_11, ALTMON_12): Improve documentation.
17088 * manual/time.texi (strftime): Likewise.
17090 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17093 * localedata/locales/pl_PL: Alternative month names added,
17094 primary month names are genitive now.
17095 * time/tst-strptime.c (day_tests): Actually use a genitive case
17096 of a month name in Polish language.
17098 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17101 * manual/locale.texi: Document ALTMON_1..12 constants for
17102 nl_langinfo. Specify when to use ALTMON instead of MON.
17103 * manual/time.texi (strftime, strptime): Document GNU extension
17104 permitting O modifier with %B and %b. Specify when to use
17107 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17110 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17111 names, define them as the same as abbreviated month names explicitly.
17112 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17113 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17114 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17115 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17116 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17117 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17118 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17119 _NL_WABALTMON_12): New enum constants.
17120 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17121 wab_alt_mon, and ab_alt_mon_defined members.
17122 (time_output): Output ab_alt_mon and wab_alt_mon members.
17123 (time_read): Read them, initialize them as copies of abmon and wabmon
17124 respectively if they are missing, initialize ab_alt_mon_defined.
17125 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17126 * locale/programs/locfile-kw.h: Regenerate.
17127 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17128 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17130 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17131 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17132 (__strftime_internal): Handle %Ob and %Oh formats.
17133 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17134 (__strptime_internal): Handle %Ob and %Oh formats.
17135 * time/tst-strptime.c (day_tests): Add more tests to parse different
17136 forms of month names including the new %Ob format specifier.
17138 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17141 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17142 define them as the same as primary full month names explicitly.
17143 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17144 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17145 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17146 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17147 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17148 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17149 _NL_WALTMON_12): New enum constants.
17150 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17151 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17153 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17154 walt_mon, and alt_mon_defined members.
17155 (time_output): Output alt_mon and walt_mon members.
17156 (time_read): Read them, initialize them as copies of mon and wmon
17157 respectively if they are missing, initialize alt_mon_defined.
17158 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17159 * locale/programs/locfile-kw.h: Regenerate.
17160 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17161 * localedata/tst-langinfo.c (map): Add tests for the new constants
17162 ALTMON_1 .. ALTMON_12.
17163 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17165 * time/strftime_l.c (f_altmonth): New macro.
17166 (__strftime_internal): Handle %OB format.
17167 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17168 (__strptime_internal): Handle %OB format.
17169 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17170 of month names including the new %OB format specifier.
17172 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17175 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17176 from ABORT_TRANSACTION.
17177 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17178 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17179 ABORT_TRANSACTION_IMPL): Likewise.
17180 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17181 Linux code, but remove the code that aborts transactions.
17183 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17185 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17187 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17189 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17190 in date: "2004-14-09" should be "2004-09-14".
17191 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17192 "2003-15-09" should be "2003-09-15".
17194 2018-01-18 Arjun Shankar <arjun@redhat.com>
17200 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17202 (_int_memalign): check for integer overflow before calling
17204 * malloc/tst-malloc-too-large.c: New test.
17205 * malloc/Makefile: Add tst-malloc-too-large.
17207 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17209 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17210 in date: "2017-24-07" should be "2017-07-24".
17211 * localedata/locales/mai_IN: Likewise.
17212 * localedata/locales/mai_NP: Likewise.
17214 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17216 * po/ru.po: Update translations.
17218 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17221 * sysdeps/hppa/backtrace.c: New file.
17223 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17226 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17227 align La_x86_64_retval to VEC_SIZE.
17229 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17232 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17234 2018-01-16 Florian Weimer <fweimer@redhat.com>
17236 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17237 Move tst-thread-exit-clobber ...
17238 [$(CXX)] (tests-unsupported): ... to here.
17240 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17242 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17243 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17244 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17245 (_dl_aarch64_cap_flags): Update.
17246 (_DL_HWCAP_COUNT): Update.
17248 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17250 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17251 (_DL_HWCAP_LAST): Remove.
17252 (_DL_HWCAP_COUNT): Move to ...
17253 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17254 (_DL_HWCAP_COUNT): ... here.
17256 2018-01-16 Florian Weimer <fweimer@redhat.com>
17258 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17259 mode with GNU extensions.
17261 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17263 * elf/elf.h (NT_ARM_SVE): Define.
17265 2018-01-15 Florian Weimer <fweimer@redhat.com>
17268 * nptl/tst-minstack-throw.cc: New file.
17269 * nptl/Makefile (tests): Add tst-minstack-throw.
17270 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17271 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17273 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17275 * scripts/build-many-glibcs.py (Context.checkout): Default
17276 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17279 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17282 * elf/elf.h (DF_1_STUB): Define.
17283 (DF_1_PIE): Define.
17285 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17288 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17289 Do not add 0.5 to integer or out-of-range arguments.
17291 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17293 * po/bg.po: Update translations.
17294 * po/cs.po: Likewise.
17295 * po/de.po: Likewise.
17296 * po/ko.po: Likewise.
17297 * po/pl.po: Likewise.
17298 * po/sv.po: Likewise.
17299 * po/uk.po: Likewise.
17300 * po/vi.po: Likewise.
17302 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17304 * aarch64/start.S (_start): Use __wrap_main.
17305 (__wrap_main): New local symbol.
17307 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17311 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17312 generic_getcwd if the path returned by getcwd syscall is not absolute.
17313 * io/tst-getcwd-abspath.c: New test.
17314 * io/Makefile (tests): Add tst-getcwd-abspath.
17316 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17318 * malloc/malloc.c (malloc_consolidate): Add size check.
17320 2018-01-12 Florian Weimer <fweimer@redhat.com>
17322 * support/write_message.c (write_message): Preserve errno.
17323 * support/check.c (print_failure): Likewise.
17324 * support/support_test_verify_impl.c (support_test_verify_impl):
17326 * support/support_test_compare_failure.c
17327 (support_test_compare_failure): Likewise.
17329 2018-01-12 Florian Weimer <fweimer@redhat.com>
17332 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17333 Prevent installation of libnsl.so.
17334 (libnsl-inhibit-o): Do not build (or install) static libraries.
17336 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17339 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17340 before the day number which may produce a double space.
17341 (date_fmt): Likewise.
17343 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17345 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17346 instead of fegetenv.
17348 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17351 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17352 comment to say exceptions are discarded.
17353 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17355 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17358 2018-01-11 Florian Weimer <fweimer@redhat.com>
17360 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17363 2018-01-11 Florian Weimer <fweimer@redhat.com>
17366 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17367 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17369 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17372 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17373 negative arguments in test for NaN or infinity argument.
17375 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17377 * po/libc.pot: Regenerate.
17379 2018-01-10 Florian Weimer <fweimer@redhat.com>
17382 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17383 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17385 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17387 * hurd/hurd/fd.h: Include <fcntl.h>
17388 (__hurd_at_flags): New function.
17389 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17390 with call to __hurd_at_flags.
17391 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17392 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17394 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17395 (__access_noerrno): Use __faccessat_common instead of access_common.
17396 (__access): Likewise.
17397 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17398 with a call to __faccessat.
17399 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17400 (__faccessat_common): ... this. Move implementation of __access into it when
17401 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17402 reauthenticate_cwdir_at helper to implement AT mechanism.
17403 (__faccessat_noerrno): New function, just calls __faccessat_common.
17404 (__faccessat): New function, just calls __faccessat_common.
17405 (faccessat): Define weak alias.
17407 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17410 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17411 (CFLAGS-s_fmaxmagl.c): New variable.
17412 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17416 long int for arguments of possibly overflowing addition or
17418 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17420 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17423 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17424 (CFLAGS-e_remainderl.c): New variable.
17427 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17429 (CFLAGS-s_cacoshl.c): Likewise.
17430 (CFLAGS-s_casinhl.c): Likewise.
17431 (CFLAGS-s_catanl.c): Likewise.
17432 (CFLAGS-s_catanhl.c): Likewise.
17433 (CFLAGS-s_cexpl.c): Likewise.
17434 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17435 (CFLAGS-s_csinhl.c): Likewise.
17436 (CFLAGS-s_clogl.c): Likewise.
17437 (CFLAGS-s_clog10l.c): Likewise.
17438 (CFLAGS-s_csinl.c): Likewise.
17439 (CFLAGS-s_csqrtl.c): Likewise.
17441 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17442 2017-01-09 Svante Signell <svante.signell@gmail.com>
17444 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17445 (_hurd_exec_paths): New function.
17446 * hurd/hurd.h (_hurd_exec): Deprecate function.
17447 (_hurd_exec_paths): Declare function.
17448 * hurd/Versions: Export _hurd_exec_paths.
17449 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17450 (__execve): Use __getcwd to build absolute path, and use
17451 _hurd_exec_paths instead of _hurd_exec.
17452 * sysdeps/mach/hurd/spawni.c: Likewise.
17453 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17456 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17458 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17459 test instead of failing in case of ENOENT returned by posix_openpt.
17461 2018-01-08 Florian Weimer <fweimer@redhat.com>
17463 resolv: Support binary labels in test framework.
17464 * support/resolv_test.c (struct to_be_freed): Remove.
17465 (struct compressed_name): New.
17466 (allocate_compressed_name, ascii_tolower)
17467 (compare_compressed_name): New functions.
17468 (struct resolv_response_builder): Update type of
17469 compression_offsets for use with tsearch. Rempve to_be_freed.
17470 (response_push_pointer_to_free): Remove function.
17471 (resolv_response_add_name): Rewrite using struct compressed_name
17472 and tsearch instead of hsearch_r.
17473 (response_builder_allocate): Remove initialization of
17474 compression_offsets.
17475 (response_builder_free): Update for removal of to_be_freed. Use
17476 tdestroy instead of hdestroy_r.
17477 * resolv/Makefile (tests): Add tst-resolv-binary.
17478 (tst-resolv-binary): Link with -lresolv -lpthread.
17480 2018-01-08 Florian Weimer <fweimer@redhat.com>
17482 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17483 time. Pass positive flag instead of negative flag to
17484 support_test_compare_failure.
17485 (support_test_compare_failure): Change negative parameter to
17487 * support/support_test_compare_failure.c (report)
17488 (support_test_compare_failure): Likewise.
17489 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17490 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17492 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17495 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17496 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17497 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17499 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17501 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17504 Add s_sincosf-sse2 and s_sincosf-fma.
17505 (CFLAGS-s_sincosf-fma.c): New.
17506 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17507 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17508 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17509 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17510 __sincosf is defined.
17512 2018-01-08 Florian Weimer <fweimer@redhat.com>
17514 * nptl/tst-thread-exit-clobber.cc: New file.
17515 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17517 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17518 (tests): Add tst-thread-exit-clobber.
17519 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17521 2018-01-08 Florian Weimer <fweimer@redhat.com>
17523 * support/check.h (support_static_assert): Define.
17524 (TEST_COMPARE): Use it.
17526 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17528 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17529 [!__RLIM_T_MATCHES_RLIM64_T]
17530 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17531 __getrlimit64. Add libc_hidden_weak.
17533 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17535 * elf/elf.h (R_RISCV_NONE): New define.
17536 (R_RISCV_32): Likewise.
17537 (R_RISCV_64): Likewise.
17538 (R_RISCV_RELATIVE): Likewise.
17539 (R_RISCV_COPY): Likewise.
17540 (R_RISCV_JUMP_SLOT): Likewise.
17541 (R_RISCV_TLS_DTPMOD32): Likewise.
17542 (R_RISCV_TLS_DTPMOD64): Likewise.
17543 (R_RISCV_TLS_DTPREL32): Likewise.
17544 (R_RISCV_TLS_DTPREL64): Likewise.
17545 (R_RISCV_TLS_TPREL32): Likewise.
17546 (R_RISCV_TLS_TPREL64): Likewise.
17547 * Makerules (make-link-multidir): Make directories before linking into
17549 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17551 (VDSO_HASH_LINUX_4_15): Likewise.
17552 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17553 in subdirectories of lib.
17554 * nptl/Makefile (/librt.so): Always depend on
17555 "$(shared-thread-library)".
17557 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17559 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17560 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17561 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17563 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17564 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17566 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17567 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17568 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17569 * sysdeps/gnu/glob-lstat-compat.c: New file.
17570 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17571 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17573 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17575 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17576 Reserve 16 chars to reloc_addr before calling _itoa_word.
17578 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17581 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17582 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17584 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17585 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17587 * resource/tst-getrlimit.c: Add copyright header.
17589 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17590 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17592 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17593 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17594 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17595 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17597 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17598 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17599 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17600 RLIM64_INFINITY): Fix values to match the kernel ones.
17601 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17602 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17603 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17604 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17605 getrlimit64@@GLIBC_2_27.
17606 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17608 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17609 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17610 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17611 setrlimit, getrlimit64 and setrlimit64.
17613 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17616 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17617 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17619 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17621 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17622 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17623 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17625 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17629 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17630 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17634 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17635 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17636 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17637 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17639 2018-01-04 Florian Weimer <fweimer@redhat.com>
17642 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17643 Align the stack before calling exit.
17644 * stdlib/tst-makecontext-align.c: New file.
17645 * stdlib/Makefile (tests): Add tst-makecontext-align.
17647 2018-01-04 Florian Weimer <fweimer@redhat.com>
17649 Add support for calling dlvsym from libc.so.
17650 * include/dlfcn.h (__libc_dlvsym): Declare.
17651 * elf/Makefile (tests-static-internal): Add
17652 tst-libc_dlvsym-static.
17653 (tests-internal): Add tst-libc_dlvsym.
17654 (modules-names): Add tst-libc_dlvsym-dso.
17655 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17656 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17657 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17658 object tst-libc_dlvsym-dso.so needs to be built before running
17660 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17661 * elf/Versions: Export __libc_dlvsym.
17662 * elf/dl-libc.c (struct do_dlvsym_args): New.
17663 (do_dlvsym, __libc_dlvsym): New functions.
17664 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17665 (_dl_open_hook2): New variable.
17666 (__libc_register_dl_open_hook): Set it.
17667 * elf/tst-libc_dlvsym-dso.c: New file.
17668 * elf/tst-libc_dlvsym-static.c: Likewise.
17669 * elf/tst-libc_dlvsym.c: Likewise.
17670 * elf/tst-libc_dlvsym.h: Likewise.
17672 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17674 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17675 include <sys/mount.h>.
17677 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17679 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17680 Add __NO_MATH_ERRNO__ check.
17682 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17684 * sysdeps/mips/mips32/libm-test-ulps: Update.
17685 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17687 2018-01-02 Florian Weimer <fweimer@redhat.com>
17689 * misc/tst-pselect.c: Add copyright header.
17691 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17693 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17695 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17697 (settrlimit): Rename into setrlimit.
17698 (__sttrlimit): Rename into __setrlimit.
17700 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17701 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17702 never defined in that case.
17704 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17706 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17708 * sysdeps/arm/libm-test-ulps: Update.
17710 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17711 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17713 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17715 * NEWS: Add cosf and sincosf to list of optimized functions.
17717 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17720 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17721 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17722 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17723 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17725 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17728 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17730 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17731 making a copy of it.
17733 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17735 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17736 trailing whitespace removed.
17737 * scripts/config.guess: Update to version 2018-01-01.
17738 * scripts/config.sub: Update to version 2018-01-01.
17739 * scripts/move-if-change: Update from gnulib.
17741 * NEWS: Update copyright dates.
17742 * catgets/gencat.c (print_version): Likewise.
17743 * csu/version.c (banner): Likewise.
17744 * debug/catchsegv.sh: Likewise.
17745 * debug/pcprofiledump.c (print_version): Likewise.
17746 * debug/xtrace.sh (do_version): Likewise.
17747 * elf/ldconfig.c (print_version): Likewise.
17748 * elf/ldd.bash.in: Likewise.
17749 * elf/pldd.c (print_version): Likewise.
17750 * elf/sotruss.sh: Likewise.
17751 * elf/sprof.c (print_version): Likewise.
17752 * iconv/iconv_prog.c (print_version): Likewise.
17753 * iconv/iconvconfig.c (print_version): Likewise.
17754 * locale/programs/locale.c (print_version): Likewise.
17755 * locale/programs/localedef.c (print_version): Likewise.
17756 * login/programs/pt_chown.c (print_version): Likewise.
17757 * malloc/memusage.sh (do_version): Likewise.
17758 * malloc/memusagestat.c (print_version): Likewise.
17759 * malloc/mtrace.pl: Likewise.
17760 * manual/libc.texinfo: Likewise.
17761 * nptl/version.c (banner): Likewise.
17762 * nscd/nscd.c (print_version): Likewise.
17763 * nss/getent.c (print_version): Likewise.
17764 * nss/makedb.c (print_version): Likewise.
17765 * posix/getconf.c (main): Likewise.
17766 * scripts/test-installation.pl: Likewise.
17767 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17769 * All files with FSF copyright notices: Update copyright dates
17770 using scripts/update-copyrights.
17771 * locale/programs/charmap-kw.h: Regenerated.
17772 * locale/programs/locfile-kw.h: Likewise.
17774 2017-12-31 Zack Weinberg <zackw@panix.com>
17776 * libio/bits/libio-ldbl.h: Correct check for improper
17777 inclusion. Add own multiple include guard.
17779 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17780 Dmitry V. Levin <ldv@altlinux.org>
17784 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17785 string token expansion. Check for NULL pointer or empty string possibly
17786 returned by expand_dynamic_string_token.
17787 (decompose_rpath): Check for empty path after dynamic string
17790 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17793 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17795 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17796 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17797 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17798 and PTRACE_SYSCALL.
17799 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17804 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17806 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17807 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17808 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17809 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17811 bits/ptrace-shared.h.
17812 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17813 <bits/ptrace-shared.h>.
17814 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17815 __ptrace_peeksiginfo_flags, ptrace): Remove.
17816 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17820 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17822 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17825 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17826 end of the loop. Improve comments.
17828 2017-12-29 Zack Weinberg <zackw@panix.com>
17831 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17832 might be set on success.
17834 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17837 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17838 is unchanged on success.
17840 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17842 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17844 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17845 expand_dynamic_string_token): Likewise.
17846 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17849 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17852 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17853 is set and name contains ':', and all code depending on these checks.
17855 2017-12-24 Zack Weinberg <zackw@panix.com>
17857 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17858 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17860 * libio/libio.h: Rename the original version of this file to
17861 libio/bits/libio.h. Error out if not included by stdio.h or the
17863 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17864 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17865 if not included by bits/libio.h or the stub _G_config.h.
17866 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17867 sysdeps/unix/sysv/linux/bits. Error out if not included by
17868 bits/libio.h or the stub _G_config.h.
17869 * libio/stdio.h: Include bits/libio.h, not libio.h.
17870 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17871 well as libio.h and _G_config.h.
17873 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17874 * libio/strfile.h, stdio-common/vfscanf.c
17875 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17876 Include stdio.h, not _G_config.h nor libio.h.
17877 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17878 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17880 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17882 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17885 * stdlib/getrandom.c (getrandom): Fix comment.
17886 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17888 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17891 * manual/arith.texi (strtoul): Fix a typo.
17894 * manual/arith.texi (finite): Fix the description of the return
17897 2017-12-22 Eric Blake <ebb9@byu.net>
17899 Avoid gcc warnings on cygwin
17900 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17901 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17902 Avoid unused variable.
17904 2017-12-22 Florian Weimer <fweimer@redhat.com>
17906 * io/Makefile (routines): Add copy_file_range.
17907 (tests): Add tst-copy_file_range.
17908 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17909 * io/Versions (GLIBC_2.27): Export copy_file_range.
17910 * io/copy_file_range-compat.c: New file.
17911 * io/copy_file_range.c: Likewise.
17912 * io/tst-copy_file_range-compat.c: Likewise.
17913 * io/tst-copy_file_range.c: Likewise.
17914 * manual/llio.texi (Copying File Data): New section.
17915 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17916 * support/Makefile (libsupport-routines): Add support-xfstat,
17917 xftruncate, xlseek.
17918 * support/support-xfstat.c: New file.
17919 * support/xftruncate.c: Likewise.
17920 * support/xlseek.c: Likewise.
17921 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17922 * sysdeps/unix/sysv/linux/**.abilist: Update.
17923 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17925 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17927 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17928 disable-multi-arch variant to aarch64-linux-gnu.
17930 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17932 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17933 trailing whitespace removed.
17934 * scripts/config.guess: Update to version 2017-12-17.
17935 * scripts/config.sub: Update to version 2017-11-23.
17936 * scripts/install-sh: Update to version 2017-09-23.17.
17937 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17939 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17941 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17942 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17943 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17944 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17945 * sysdeps/tile/crtn.S: Likewise.
17946 * sysdeps/tile/dl-start.S (_start): Likewise.
17947 * sysdeps/tile/dl-trampoline.S: Likewise.
17948 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17949 * sysdeps/tile/start.S (_start): Likewise.
17950 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17951 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17952 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17953 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17954 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17955 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17956 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17958 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17960 * sysdeps/tile/preconfigure: Remove tilegx folder.
17961 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17962 * sysdeps/tile/Implies: ... here.
17963 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17964 * sysdeps/tile/Makefile: ... here.
17965 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17966 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17967 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17968 * sysdeps/tile/bits/wordsize.h: ... here.
17969 * sysdeps/tile/tilegx/*: Move to ...
17970 * sysdeps/tile/*: ... here.
17971 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17972 * sysdeps/tile/tilegx32/Implies: ... here.
17973 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17974 * sysdeps/tile/tilegx64/Implies: ... here.
17975 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17977 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17978 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17979 * sysdeps/unix/sysv/linux/tile/*: ... here.
17980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17981 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17983 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17985 * README: Remove tilepro-*-linux-gnu from supported architecture.
17986 * scripts/build-many-glibcs.py: Likewise.
17987 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17988 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17989 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17990 elf_machine_matches_host, elf_machine_dynamic,
17991 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17992 howto, elf_machine_rela): Likewise.
17993 * sysdeps/tile/dl-start.S (_start): Likewise.
17994 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17995 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17996 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17997 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17998 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17999 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18001 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18002 * sysdeps/tile/preconfigure: Likewise.
18003 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18004 POINTER_CHK_GUARD): Likewise.
18005 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18006 * sysdeps/tile/start.S (_start): Likewise.
18007 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18009 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18010 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18012 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18013 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18014 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18016 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18017 * sysdeps/tile/tilepro/Implies: Remove file.
18018 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18019 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18020 * sysdeps/tile/tilepro/memchr.c: Likewise.
18021 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18022 * sysdeps/tile/tilepro/memset.c: Likewise.
18023 * sysdeps/tile/tilepro/memusage.h: Likewise.
18024 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18025 * sysdeps/tile/tilepro/strchr.c: Likewise.
18026 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18027 * sysdeps/tile/tilepro/strlen.c: Likewise.
18028 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18029 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18030 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18031 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18032 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18034 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18036 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18048 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18049 tilepro mention in comment.
18051 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18052 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18053 * nptl/pthread_join_common.c: New file: common function used on
18054 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18055 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18056 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18057 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18058 (cleanup): Move definition to pthread_join_common.c.
18059 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18060 Remove superflous checks.
18061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18064 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18066 * sysdeps/aarch64/libm-test-ulps: Update.
18068 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18070 * sysdeps/aarch64/memset.S (MEMSET): Define.
18072 2017-12-20 Florian Weimer <fweimer@redhat.com>
18075 nptl: Provide full implementation of pthread_self in libc.so.
18076 * nptl/Makefile (routines): Add pthread_self.
18077 (libpthread-routines): Replace pthread_self with
18078 compat-pthread_self.
18079 * nptl/forward.c (pthread_self): Remove.
18080 * nptl/nptl-init.c (pthread_functions): Do not initialize
18082 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18083 * nptl/compat-pthread_self.c: New file.
18084 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18085 Remove ptr_pthread_self.
18087 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18089 * posix/regcomp.c: Fix spelling in comments.
18090 * posix/regex.h: Likewise.
18091 * posix/regex_internal.c: Likewise.
18092 * posix/regexec.c: Likewise.
18094 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18097 * math/Makefile [C++] (tests): Add test for iseqsig.
18098 * math/math.h [C++] (iseqsig): New implementation, which does
18099 not rely on __MATH_TG/__builtin_types_compatible_p.
18100 * math/test-math-iseqsig.cc: New file.
18101 * sysdeps/powerpc/powerpc64le/Makefile
18102 (CFLAGS-test-math-iseqsig.cc): New variable.
18104 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18106 * elf/dl-load.c (is_trusted_path): Remove.
18107 (fillin_rpath): Remove check_trusted argument and its use,
18108 all callers changed.
18110 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18113 * Makeconfig (link-pie-before-libc): Replace -pie with
18114 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18115 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18116 (tst-dlopen-aout-no-pie): New.
18117 (LDFLAGS-tst-prelink): Removed.
18118 (tst-prelink-no-pie): New.
18119 (LDFLAGS-tst-main1): Removed.
18120 (tst-main1-no-pie): New.
18121 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18122 (tst-gmon-no-pie): New.
18124 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18126 * manual/install.texi: Document that --enable-static-pie
18128 * INSTALL: Regenerated.
18130 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18133 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18136 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18140 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18144 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18147 <errno.h>. Include "eexp.tbl".
18148 (half): New constant.
18150 (__ieee754_exp): Rewrite.
18151 (__slowexp): Remove prototype.
18152 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18153 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18154 * sysdeps/i386/fpu/slowexp.c: Likewise.
18155 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18156 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18157 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18158 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18159 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18160 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18161 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18163 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18164 (CPPFLAGS-slowexp.c): Remove variable.
18165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18166 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18167 (CFLAGS-slowexp-fma.c): Remove variable.
18168 (CFLAGS-slowexp-fma4.c): Likewise.
18169 (CFLAGS-slowexp-avx.c): Likewise.
18170 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18173 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18174 * math/Makefile (type-double-routines): Remove slowexp.
18175 * manual/probes.texi (slowexp_p6): Remove.
18176 (slowexp_p32): Likewise.
18178 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18180 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18183 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18185 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18189 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18191 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18192 <errno.h>. Include "eexp.tbl".
18193 (half): New constant.
18195 (__ieee754_exp): Rewrite.
18196 (__slowexp): Remove prototype.
18197 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18198 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18199 * sysdeps/i386/fpu/slowexp.c: Likewise.
18200 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18201 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18202 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18203 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18204 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18205 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18206 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18208 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18209 (CPPFLAGS-slowexp.c): Remove variable.
18210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18211 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18212 (CFLAGS-slowexp-fma.c): Remove variable.
18213 (CFLAGS-slowexp-fma4.c): Likewise.
18214 (CFLAGS-slowexp-avx.c): Likewise.
18215 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18218 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18219 * math/Makefile (type-double-routines): Remove slowexp.
18220 * manual/probes.texi (slowexp_p6): Remove.
18221 (slowexp_p32): Likewise.
18223 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18224 James Clarke <jrtc27@jrtc27.com>
18227 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18230 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18233 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18236 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18239 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18240 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18241 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18242 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18245 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18248 * bits/types/__cancel_jmp_buf_tag.h: New file.
18249 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18250 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18251 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18252 * nptl/Makefile (headers): Add
18253 bits/types/__cancel_jmp_buf_tag.h.
18254 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18255 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18256 * sysdeps/nptl/pthread.h: Include
18257 <bits/types/__cancel_jmp_buf_tag.h>.
18258 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18260 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18262 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18264 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18265 --enable-static-pie variants to x86_64, x32 and i686.
18267 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18270 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18271 argument for attrubutes. All callers changed.
18272 (__inline_mathop1): Likewise. All callers changed.
18273 (__inline_mathop): Likewise. All callers changed.
18274 [__USE_MISC] (scalbn): Use __inline_forward instead of
18275 __inline_forward_c.
18276 [__USE_ISOC99] (scalbln): Likewise.
18277 [__USE_ISOC99] (nearbyint): Likewise.
18278 [__USE_ISOC99] (lrint): Likewise.
18279 [__USE_MISC] (scalbnf): Likewise.
18280 [__USE_ISOC99] (scalblnf): Likewise.
18281 [__USE_ISOC99] (nearbyintf): Likewise.
18282 [__USE_ISOC99] (lrintf): Likewise.
18283 [__USE_MISC] (scalbnl): Likewise.
18284 [__USE_ISOC99] (scalblnl): Likewise.
18285 [__USE_ISOC99] (nearbyintl): Likewise.
18286 [__USE_ISOC99] (lrintl): Likewise.
18287 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18288 __inline_mathop and __m81_defun changed.
18290 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18291 CPU or FPU for ARM hard-float configurations.
18293 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18295 * nptl/tst-attr3.c: Include <libc-diag.h>.
18296 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18298 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18300 * string/tester.c (test_strncat): Also disable -Warray-bounds
18301 warnings for two tests.
18303 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18306 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18307 $(cc-pie-default) == yes.
18308 * config.make.in (cc-pie-default): New.
18309 * configure.ac (libc_cv_pie_default): Renamed to ...
18310 (libc_cv_cc_pie_default): This.
18311 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18312 * configure: Regenerated.
18314 2017-12-18 Florian Weimer <fweimer@redhat.com>
18317 ld.so: Harden dl-libc/libdl hooks.
18318 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18319 (rtld_active): New function.
18320 * dlfcn/dladdr.c (__dladdr): Call it.
18321 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18322 * dlfcn/dlclose.c (__dlcose): Likewise.
18323 * dlfcn/dlerror.c (__dlerror): Likewise.
18324 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18325 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18326 * dlfcn/dlopen.c (__dlopen): Likewise.
18327 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18328 * dlfcn/dlsym.c (__dlsym): Likewise.
18329 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18330 * libio/vtables.c (_IO_vtable_check): Likewise.
18331 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18332 (__libc_dlclose): Likewise.
18333 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18336 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18339 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18340 buffers for readlink input and output.
18342 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18345 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18346 inhibit_stack_protector.
18349 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18350 inhibit_stack_protector.
18352 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18355 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18356 code and invocation.
18358 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18360 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18362 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18365 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18367 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18369 * sysdeps/s390/fpu/libm-test-ulps: Update.
18371 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18375 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18377 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18378 constants to s_sincosf.h file.
18379 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18380 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18382 * sysdeps/ieee754/flt-32/s_sincosf.h:
18385 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18388 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18391 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18394 * INSTALL: Regenerated.
18395 * Makeconfig (real-static-start-installed-name): New.
18396 (pic-default): Updated for --enable-static-pie.
18397 (pie-default): New for --enable-static-pie.
18398 (default-pie-ldflag): Likewise.
18399 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18400 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18401 Replace $(static-start-installed-name) with
18402 $(real-static-start-installed-name).
18403 (+prectorT): Updated for --enable-static-pie.
18404 (+postctorT): Likewise.
18405 (CFLAGS-.o): Add $(pie-default).
18406 (CFLAGS-.op): Likewise.
18407 * NEWS: Mention --enable-static-pie.
18408 * config.h.in (ENABLE_STATIC_PIE): New.
18409 * configure.ac (--enable-static-pie): New configure option.
18410 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18411 (have-static-pie): Likewise.
18412 Enable static PIE if linker supports --no-dynamic-linker.
18413 (ENABLE_STATIC_PIE): New AC_DEFINE.
18414 (enable-static-pie): New LIBC_CONFIG_VAR.
18415 * configure: Regenerated.
18416 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18417 gr$(start-installed-name) for --enable-static-pie.
18418 (extra-objs): Likewise.
18419 (install-lib): Likewise.
18420 (extra-objs): Add static-reloc.o and static-reloc.os
18421 ($(objpfx)$(start-installed-name)): Also depend on
18422 $(objpfx)static-reloc.o.
18423 ($(objpfx)r$(start-installed-name)): New.
18424 ($(objpfx)g$(start-installed-name)): Also depend on
18425 $(objpfx)static-reloc.os.
18426 ($(objpfx)gr$(start-installed-name)): New.
18427 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18429 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18431 * csu/static-reloc.c: New file.
18432 * elf/Makefile (routines): Add dl-reloc-static-pie.
18433 (elide-routines.os): Likewise.
18434 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18435 (tst-tls1-static-non-pie-no-pie): New.
18436 * elf/dl-reloc-static-pie.c: New file.
18437 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18438 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18439 STATIC_PIE_BOOTSTRAP.
18440 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18441 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18442 (tests-static): Likewise.
18443 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18444 (tst-gmon-static-no-pie): New.
18445 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18446 (CRT-tst-gmon-static-pie): Likewise.
18447 (tst-gmon-static-pie-ENV): Likewise.
18448 (tests-special): Likewise.
18449 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18450 (clean-tst-gmon-static-pie-data): Likewise.
18451 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18452 * gmon/tst-gmon-static-pie.c: New file.
18453 * manual/install.texi: Document --enable-static-pie.
18454 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18455 (_dl_get_dl_main_map): Likewise.
18456 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18457 * sysdeps/x86_64/configure.ac: Likewise.
18458 * sysdeps/i386/configure: Regenerated.
18459 * sysdeps/x86_64/configure: Likewise.
18460 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18461 (ASFLAGS-.op): Likewise.
18463 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18465 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18466 * posix/tst-mmap-offset.c (fname): Use /tmp.
18467 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18469 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18471 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18473 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18475 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18478 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18480 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18481 --with-float=hard for arm-linux-gnueabihf configurations.
18484 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18485 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18486 ($(mo-installed)): Use $(objpfx)%.mo.
18487 (realclean): Remove rule.
18489 * po/Makefile (linguas): Remove rule and dependencies.
18490 (linguas.mo): Likewise.
18491 (.PHONY): Do not depend on linguas and linguas.mo.
18492 (podir): Remove variable.
18493 (pofiles): Likewise.
18494 [$(pofiles)] (%.po): Remove rule.
18496 * sysdeps/sparc/sparc32/Makefile
18497 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18498 start-of-line whitespace in argument of echo.
18499 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18500 with whitespace. Generate __wrap_.udiv alias.
18501 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18502 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18503 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18504 * sysdeps/sparc/sparc32/urem.S: Likewise.
18506 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18508 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18509 for aligned inputs.
18511 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18513 * benchtests/bench-strcmp.c: Print output in JSON format.
18515 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18517 2017-12-14 Florian Weimer <fweimer@redhat.com>
18521 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18522 the expanded path string.
18524 2017-12-14 Florian Weimer <fweimer@redhat.com>
18528 * elf/dl-load.c (system_dirs): Update comment.
18529 (nsystem_dirs_len): Use array_length.
18530 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18532 2017-12-14 Florian Weimer <fweimer@redhat.com>
18534 Simplify compiling most of support/ outside of glibc.
18535 * support/check_addrinfo.c: Include <string.h>.
18536 * support/check_dns_packet.c: Likewise.
18537 * support/check_hostent.c: Likewise.
18538 * support/support_can_chroot.c: Include <support/xunistd.h>.
18539 * support/support_format_addrinfo.c: Include <stdlib.h>
18540 * support/support_format_dns_packet.c: Include <stdbool.h>.
18541 * support/support_format_hostent.c: Include <stdlib.h>.
18542 * support/support_format_netent.c: Likewise.
18543 * support/support_write_string.c: Include <support/xunistd.h>.
18544 * support/xdlfcn.c: Include <stddef.h>.
18546 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18548 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18550 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18551 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18553 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18554 (sysdeps_routines): Add memset-niagara7.
18555 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18559 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18560 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18561 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18562 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18563 Add niagara7 option.
18564 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18568 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18569 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18571 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18573 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18574 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18575 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18576 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18577 and __memmove_niagara7.
18578 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18579 Add niagara7 option.
18580 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18581 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18582 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18583 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18584 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18586 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18588 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18589 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18590 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18591 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18593 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18594 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18595 _dl_sparc_cap_flags array.
18596 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18598 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18600 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18601 time whenever possible.
18603 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18605 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18606 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18608 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18610 * soft-fp/fmadf4.c: Move to ....
18611 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18612 * soft-fp/fmasf4.c: Move to ....
18613 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18614 * soft-fp/fmatf4.c: Move to ....
18615 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18616 * sysdeps/ieee754/soft-fp/Makefile: New file.
18617 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18618 * sysdeps/arm/preconfigure: Regenerated.
18619 * sysdeps/arm/nofpu/Implies: New file.
18620 * sysdeps/arm/s_fma.c: Remove file.
18621 * sysdeps/arm/s_fmaf.c: Likewise.
18622 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18623 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18624 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18625 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18626 * sysdeps/microblaze/s_fma.c: Remove file.
18627 * sysdeps/microblaze/s_fmaf.c: Likewise.
18628 * sysdeps/mips/mips32/nofpu/Implies: New file.
18629 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18630 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18631 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18632 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18633 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18634 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18635 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18637 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18638 * sysdeps/nios2/s_fma.c: Remove file.
18639 * sysdeps/nios2/s_fmaf.c: Likewise.
18640 * sysdeps/sh/nofpu/Implies: New file.
18641 * sysdeps/sh/s_fma.c: Remove file.
18642 * sysdeps/sh/s_fmaf.c: Likewise.
18643 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18644 * sysdeps/tile/s_fma.c: Remove file.
18645 * sysdeps/tile/s_fmaf.c: Likewise.
18647 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18649 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18650 Add s_cosf-sse2 and s_cosf-fma.
18651 (CFLAGS-s_cosf-fma.c): New.
18652 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18653 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18654 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18656 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18658 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18660 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18662 * libio/Makefile (tests): Add tst-bz22415.
18663 (tst-bz22415-ENV): New rule.
18664 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18665 (tests-special): Add tst-bz22415-mem.out.
18666 ($(objpfx)tst-bz22415-mem.out): New rule.
18667 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18668 in case of a successful seek operation.
18669 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18670 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18671 buffer is required.
18672 * libio/tst-bz22415.c: New test.
18674 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18676 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18678 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18679 __IPC_64 to 0 to avoid IPC_64 being set.
18681 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18684 * math/bits/mathcalls.h (nextafter): Remove const.
18685 (nexttoward): Likewise.
18687 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18689 * configure.ac (--with-fp): Remove configure option.
18690 (with_fp_cond): New variable.
18691 (libc_cv_with_fp): New configure test. Use this variable instead
18693 * configure: Regenerated.
18694 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18695 * manual/install.texi (Configuring and compiling): Remove
18697 * INSTALL: Regenerated.
18698 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18699 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18700 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18701 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18702 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18703 use --without-fp to configure glibc.
18705 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18707 * manual/locale.texi (nl_langinfo): Fix a typo.
18709 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18712 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18714 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18716 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18717 (CFLAGS-argp-parse.c): Likewise.
18718 (CFLAGS-argp-fmtstream.c): Likewise.
18719 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18720 (CPPFLAGS-sha512-crypt.c): Likewise.
18721 (CPPFLAGS-md5-crypt.c): Likewise.
18722 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18723 (CFLAGS-stack_chk_fail_local.c): Likewise.
18724 (CFLAGS-backtrace.c): Likewise.
18725 (CFLAGS-sprintf_chk.c): Likewise.
18726 (CFLAGS-snprintf_chk.c): Likewise.
18727 (CFLAGS-vsprintf_chk.c): Likewise.
18728 (CFLAGS-vsnprintf_chk.c): Likewise.
18729 (CFLAGS-asprintf_chk.c): Likewise.
18730 (CFLAGS-vasprintf_chk.c): Likewise.
18731 (CFLAGS-obprintf_chk.c): Likewise.
18732 (CFLAGS-dprintf_chk.c): Likewise.
18733 (CFLAGS-vdprintf_chk.c): Likewise.
18734 (CFLAGS-printf_chk.c): Likewise.
18735 (CFLAGS-fprintf_chk.c): Likewise.
18736 (CFLAGS-vprintf_chk.c): Likewise.
18737 (CFLAGS-vfprintf_chk.c): Likewise.
18738 (CFLAGS-gets_chk.c): Likewise.
18739 (CFLAGS-fgets_chk.c): Likewise.
18740 (CFLAGS-fgets_u_chk.c): Likewise.
18741 (CFLAGS-fread_chk.c): Likewise.
18742 (CFLAGS-fread_u_chk.c): Likewise.
18743 (CFLAGS-swprintf_chk.c): Likewise.
18744 (CFLAGS-vswprintf_chk.c): Likewise.
18745 (CFLAGS-wprintf_chk.c): Likewise.
18746 (CFLAGS-fwprintf_chk.c): Likewise.
18747 (CFLAGS-vwprintf_chk.c): Likewise.
18748 (CFLAGS-vfwprintf_chk.c): Likewise.
18749 (CFLAGS-fgetws_chk.c): Likewise.
18750 (CFLAGS-fgetws_u_chk.c): Likewise.
18751 (CFLAGS-read_chk.c): Likewise.
18752 (CFLAGS-pread_chk.c): Likewise.
18753 (CFLAGS-pread64_chk.c): Likewise.
18754 (CFLAGS-recv_chk.c): Likewise.
18755 (CFLAGS-recvfrom_chk.c): Likewise.
18756 (CFLAGS-tst-longjmp_chk.c): Likewise.
18757 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18758 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18759 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18760 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18761 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18762 (CFLAGS-tst-chk1.c): Likewise.
18763 (CFLAGS-tst-chk2.c): Likewise.
18764 (CFLAGS-tst-chk3.c): Likewise.
18765 (CFLAGS-tst-chk4.cc): Likewise.
18766 (CFLAGS-tst-chk5.cc): Likewise.
18767 (CFLAGS-tst-chk6.cc): Likewise.
18768 (CFLAGS-tst-lfschk1.c): Likewise.
18769 (CFLAGS-tst-lfschk2.c): Likewise.
18770 (CFLAGS-tst-lfschk3.c): Likewise.
18771 (CFLAGS-tst-lfschk4.cc): Likewise.
18772 (CFLAGS-tst-lfschk5.cc): Likewise.
18773 (CFLAGS-tst-lfschk6.cc): Likewise.
18774 (CFLAGS-tst-ssp-1.c): Likewise.
18775 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18776 (CFLAGS-scandir64.c): Likewise.
18777 (CFLAGS-scandir-tail.c): Likewise.
18778 (CFLAGS-scandir64-tail.c): Likewise.
18779 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18780 (CFLAGS-dl-tunables.c): Likewise.
18781 (CFLAGS-dl-runtime.c): Likewise.
18782 (CFLAGS-dl-lookup.c): Likewise.
18783 (CFLAGS-dl-iterate-phdr.c): Likewise.
18784 (CFLAGS-vismain.c): Likewise.
18785 (CFLAGS-tst-linkall-static.c): Likewise.
18786 (CFLAGS-tst-linkall-static.c): Likewise.
18787 (CPPFLAGS-dl-load.c): Likewise.
18788 (CFLAGS-ldconfig.c): Likewise.
18789 (CFLAGS-dl-cache.c): Likewise.
18790 (CFLAGS-cache.c): Likewise.
18791 (CFLAGS-rtld.c): Likewise.
18792 (CFLAGS-multiload.c): Likewise.
18793 (CFLAGS-filtmod1.c): Likewise.
18794 (CFLAGS-tst-align.c): Likewise.
18795 (CFLAGS-tst-align2.c): Likewise.
18796 (CFLAGS-tst-alignmod.c): Likewise.
18797 (CFLAGS-tst-alignmod2.c): Likewise.
18798 (CPPFLAGS-tst-execstack.c): Likewise.
18799 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18800 (CFLAGS-tst-latepthreadmod.c): Likewise.
18801 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18802 (CFLAGS-getgrnam_r.c): Likewise.
18803 (CFLAGS-getgrent_r.c): Likewise.
18804 (CFLAGS-getgrent.c): Likewise.
18805 (CFLAGS-fgetgrent.c): Likewise.
18806 (CFLAGS-fgetgrent_r.c): Likewise.
18807 (CFLAGS-putgrent.c): Likewise.
18808 (CFLAGS-initgroups.c): Likewise.
18809 (CFLAGS-getgrgid.c): Likewise.
18810 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18811 (CFLAGS-getsgent.c): Likewise.
18812 (CFLAGS-fgetsgent.c): Likewise.
18813 (CFLAGS-fgetsgent_r.c): Likewise.
18814 (CFLAGS-putsgent.c): Likewise.
18815 (CFLAGS-getsgnam.c): Likewise.
18816 (CFLAGS-getsgnam_r.c): Likewise.
18817 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18818 (CFLAGS-iconv_charmap.c): Likewise.
18819 (CFLAGS-dummy-repertoire.c): Likewise.
18820 (CFLAGS-charmap.c): Likewise.
18821 (CFLAGS-linereader.c): Likewise.
18822 (CFLAGS-simple-hash.c): Likewise.
18823 (CFLAGS-gconv_conf.c): Likewise.
18824 (CFLAGS-iconvconfig.c): Likewise.
18825 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18826 (CFLAGS-gethstbyad.c): Likewise.
18827 (CFLAGS-gethstbynm_r.c): Likewise.
18828 (CFLAGS-gethstbynm.c): Likewise.
18829 (CFLAGS-gethstbynm2_r.c): Likewise.
18830 (CFLAGS-gethstbynm2.c): Likewise.
18831 (CFLAGS-gethstent_r.c): Likewise.
18832 (CFLAGS-gethstent.c): Likewise.
18833 (CFLAGS-rcmd.c): Likewise.
18834 (CFLAGS-getnetbynm_r.c): Likewise.
18835 (CFLAGS-getnetbynm.c): Likewise.
18836 (CFLAGS-getnetbyad_r.c): Likewise.
18837 (CFLAGS-getnetbyad.c): Likewise.
18838 (CFLAGS-getnetent_r.c): Likewise.
18839 (CFLAGS-getnetent.c): Likewise.
18840 (CFLAGS-getaliasent_r.c): Likewise.
18841 (CFLAGS-getaliasent.c): Likewise.
18842 (CFLAGS-getrpcent_r.c): Likewise.
18843 (CFLAGS-getrpcent.c): Likewise.
18844 (CFLAGS-getservent_r.c): Likewise.
18845 (CFLAGS-getservent.c): Likewise.
18846 (CFLAGS-getprtent_r.c): Likewise.
18847 (CFLAGS-getprtent.c): Likewise.
18848 (CFLAGS-either_ntoh.c): Likewise.
18849 (CFLAGS-either_hton.c): Likewise.
18850 (CFLAGS-getnetgrent.c): Likewise.
18851 (CFLAGS-getnetgrent_r.c): Likewise.
18852 (CFLAGS-tst-checks-posix.c): Likewise.
18853 (CFLAGS-tst-sockaddr.c): Likewise.
18854 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18855 (CFLAGS-tst-translit.c): Likewise.
18856 (CFLAGS-tst-gettext2.c): Likewise.
18857 (CFLAGS-tst-codeset.c): Likewise.
18858 (CFLAGS-tst-gettext3.c): Likewise.
18859 (CFLAGS-tst-gettext4.c): Likewise.
18860 (CFLAGS-tst-gettext5.c): Likewise.
18861 (CFLAGS-tst-gettext6.c): Likewise.
18862 * io/Makefile (CFLAGS-open.c): Likewise.
18863 (CFLAGS-open64.c): Likewise.
18864 (CFLAGS-creat.c): Likewise.
18865 (CFLAGS-creat64.c): Likewise.
18866 (CFLAGS-fcntl.c): Likewise.
18867 (CFLAGS-poll.c): Likewise.
18868 (CFLAGS-ppoll.c): Likewise.
18869 (CFLAGS-lockf.c): Likewise.
18870 (CFLAGS-statfs.c): Likewise.
18871 (CFLAGS-fstatfs.c): Likewise.
18872 (CFLAGS-statvfs.c): Likewise.
18873 (CFLAGS-fstatvfs.c): Likewise.
18874 (CFLAGS-fts.c): Likewise.
18875 (CFLAGS-fts64.c): Likewise.
18876 (CFLAGS-ftw.c): Likewise.
18877 (CFLAGS-ftw64.c): Likewise.
18878 (CFLAGS-lockf.c): Likewise.
18879 (CFLAGS-posix_fallocate.c): Likewise.
18880 (CFLAGS-posix_fallocate64.c): Likewise.
18881 (CFLAGS-fallocate.c): Likewise.
18882 (CFLAGS-fallocate64.c): Likewise.
18883 (CFLAGS-read.c): Likewise.
18884 (CFLAGS-write.c): Likewise.
18885 (CFLAGS-test-stat.c): Likewise.
18886 (CFLAGS-test-lfs.c): Likewise.
18887 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18888 (CFLAGS-fputc.c): Likewise.
18889 (CFLAGS-fputwc.c): Likewise.
18890 (CFLAGS-freopen64.c): Likewise.
18891 (CFLAGS-freopen.c): Likewise.
18892 (CFLAGS-fseek.c): Likewise.
18893 (CFLAGS-fseeko64.c): Likewise.
18894 (CFLAGS-fseeko.c): Likewise.
18895 (CFLAGS-ftello64.c): Likewise.
18896 (CFLAGS-ftello.c): Likewise.
18897 (CFLAGS-fwide.c): Likewise.
18898 (CFLAGS-genops.c): Likewise.
18899 (CFLAGS-getc.c): Likewise.
18900 (CFLAGS-getchar.c): Likewise.
18901 (CFLAGS-getwc.c): Likewise.
18902 (CFLAGS-getwchar.c): Likewise.
18903 (CFLAGS-iofclose.c): Likewise.
18904 (CFLAGS-iofflush.c): Likewise.
18905 (CFLAGS-iofgetpos64.c): Likewise.
18906 (CFLAGS-iofgetpos.c): Likewise.
18907 (CFLAGS-iofgets.c): Likewise.
18908 (CFLAGS-iofgetws.c): Likewise.
18909 (CFLAGS-iofputs.c): Likewise.
18910 (CFLAGS-iofputws.c): Likewise.
18911 (CFLAGS-iofread.c): Likewise.
18912 (CFLAGS-iofsetpos64.c): Likewise.
18913 (CFLAGS-iofsetpos.c): Likewise.
18914 (CFLAGS-ioftell.c): Likewise.
18915 (CFLAGS-iofwrite.c): Likewise.
18916 (CFLAGS-iogetdelim.c): Likewise.
18917 (CFLAGS-iogetline.c): Likewise.
18918 (CFLAGS-iogets.c): Likewise.
18919 (CFLAGS-iogetwline.c): Likewise.
18920 (CFLAGS-ioputs.c): Likewise.
18921 (CFLAGS-ioseekoff.c): Likewise.
18922 (CFLAGS-ioseekpos.c): Likewise.
18923 (CFLAGS-iosetbuffer.c): Likewise.
18924 (CFLAGS-iosetvbuf.c): Likewise.
18925 (CFLAGS-ioungetc.c): Likewise.
18926 (CFLAGS-ioungetwc.c): Likewise.
18927 (CFLAGS-oldfileops.c): Likewise.
18928 (CFLAGS-oldiofclose.c): Likewise.
18929 (CFLAGS-oldiofgetpos64.c): Likewise.
18930 (CFLAGS-oldiofgetpos.c): Likewise.
18931 (CFLAGS-oldiofsetpos64.c): Likewise.
18932 (CFLAGS-oldiofsetpos.c): Likewise.
18933 (CFLAGS-peekc.c): Likewise.
18934 (CFLAGS-putc.c): Likewise.
18935 (CFLAGS-putchar.c): Likewise.
18936 (CFLAGS-putwc.c): Likewise.
18937 (CFLAGS-putwchar.c): Likewise.
18938 (CFLAGS-rewind.c): Likewise.
18939 (CFLAGS-wfileops.c): Likewise.
18940 (CFLAGS-wgenops.c): Likewise.
18941 (CFLAGS-oldiofopen.c): Likewise.
18942 (CFLAGS-iofopen.c): Likewise.
18943 (CFLAGS-iofopen64.c): Likewise.
18944 (CFLAGS-oldtmpfile.c): Likewise.
18945 (CFLAGS-tst_putwc.c): Likewise.
18946 * locale/Makefile (CFLAGS-md5.c): Likewise.
18947 (CFLAGS-charmap.c): Likewise.
18948 (CFLAGS-locfile.c): Likewise.
18949 (CFLAGS-charmap-dir.c): Likewise.
18950 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18951 (CFLAGS-getpt.c): Likewise.
18952 (CFLAGS-pt_chown.c): Likewise.
18953 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18954 (CFLAGS-obstack.c): Likewise.
18955 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18956 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18957 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18958 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18959 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18960 (CFLAGS-test-tgmath.c): Likewise.
18961 (CFLAGS-test-tgmath2.c): Likewise.
18962 (CFLAGS-test-tgmath-ret.c): Likewise.
18963 (CFLAGS-test-powl.c): Likewise.
18964 (CFLAGS-test-snan.c): Likewise.
18965 (CFLAGS-test-signgam-finite.c): Likewise.
18966 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18967 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18968 (CFLAGS-test-signgam-uchar.c): Likewise.
18969 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18970 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18971 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18972 (CFLAGS-test-signgam-uint.c): Likewise.
18973 (CFLAGS-test-signgam-uint-init.c): Likewise.
18974 (CFLAGS-test-signgam-uint-static.c): Likewise.
18975 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18976 (CFLAGS-test-signgam-ullong.c): Likewise.
18977 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18978 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18979 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18980 (CFLAGS-test-math-cxx11.cc): Likewise.
18981 (CFLAGS-test-math-isinff.cc): Likewise.
18982 (CFLAGS-test-math-iszero.cc): Likewise.
18983 (CFLAGS-test-math-issignaling.cc): Likewise.
18984 (CFLAGS-test-math-iscanonical.cc): Likewise.
18985 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18986 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18987 (CFLAGS-test-flt-eval-method.c): Likewise.
18988 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18989 (CFLAGS-test-finite-macros.c): Likewise.
18990 * misc/Makefile (CFLAGS-select.c): Likewise.
18991 (CFLAGS-tsearch.c): Likewise.
18992 (CFLAGS-lsearch.c): Likewise.
18993 (CFLAGS-pselect.c): Likewise.
18994 (CFLAGS-readv.c): Likewise.
18995 (CFLAGS-writev.c): Likewise.
18996 (CFLAGS-preadv.c): Likewise.
18997 (CFLAGS-preadv64.c): Likewise.
18998 (CFLAGS-pwritev.c): Likewise.
18999 (CFLAGS-pwritev64.c): Likewise.
19000 (CFLAGS-preadv2.c): Likewise.
19001 (CFLAGS-preadv64v2.c): Likewise.
19002 (CFLAGS-pwritev2.c): Likewise.
19003 (CFLAGS-pwritev64v2.c): Likewise.
19004 (CFLAGS-usleep.c): Likewise.
19005 (CFLAGS-syslog.c): Likewise.
19006 (CFLAGS-error.c): Likewise.
19007 (CFLAGS-getpass.c): Likewise.
19008 (CFLAGS-mkstemp.c): Likewise.
19009 (CFLAGS-mkstemp64.c): Likewise.
19010 (CFLAGS-getsysstats.c): Likewise.
19011 (CFLAGS-getusershell.c): Likewise.
19012 (CFLAGS-err.c): Likewise.
19013 (CFLAGS-tst-tsearch.c): Likewise.
19014 (CFLAGS-msync.c): Likewise.
19015 (CFLAGS-fdatasync.c): Likewise.
19016 (CFLAGS-fsync.c): Likewise.
19017 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19018 (CFLAGS-unwind.c): Likewise.
19019 (CFLAGS-unwind-forcedunwind.c): Likewise.
19020 (CFLAGS-pthread_cancel.c): Likewise.
19021 (CFLAGS-pthread_setcancelstate.c): Likewise.
19022 (CFLAGS-pthread_setcanceltype.c): Likewise.
19023 (CFLAGS-cancellation.c): Likewise.
19024 (CFLAGS-libc-cancellation.c): Likewise.
19025 (CFLAGS-pthread_exit.c): Likewise.
19026 (CFLAGS-forward.c): Likewise.
19027 (CFLAGS-pthread_testcancel.c): Likewise.
19028 (CFLAGS-pthread_join.c): Likewise.
19029 (CFLAGS-pthread_timedjoin.c): Likewise.
19030 (CFLAGS-pthread_once.c): Likewise.
19031 (CFLAGS-pthread_cond_wait.c): Likewise.
19032 (CFLAGS-sem_wait.c): Likewise.
19033 (CFLAGS-sem_timedwait.c): Likewise.
19034 (CFLAGS-fcntl.c): Likewise.
19035 (CFLAGS-lockf.c): Likewise.
19036 (CFLAGS-pread.c): Likewise.
19037 (CFLAGS-pread64.c): Likewise.
19038 (CFLAGS-pwrite.c): Likewise.
19039 (CFLAGS-pwrite64.c): Likewise.
19040 (CFLAGS-wait.c): Likewise.
19041 (CFLAGS-waitpid.c): Likewise.
19042 (CFLAGS-sigwait.c): Likewise.
19043 (CFLAGS-msgrcv.c): Likewise.
19044 (CFLAGS-msgsnd.c): Likewise.
19045 (CFLAGS-tcdrain.c): Likewise.
19046 (CFLAGS-open.c): Likewise.
19047 (CFLAGS-open64.c): Likewise.
19048 (CFLAGS-pause.c): Likewise.
19049 (CFLAGS-recv.c): Likewise.
19050 (CFLAGS-send.c): Likewise.
19051 (CFLAGS-accept.c): Likewise.
19052 (CFLAGS-sendto.c): Likewise.
19053 (CFLAGS-connect.c): Likewise.
19054 (CFLAGS-recvfrom.c): Likewise.
19055 (CFLAGS-recvmsg.c): Likewise.
19056 (CFLAGS-sendmsg.c): Likewise.
19057 (CFLAGS-close.c): Likewise.
19058 (CFLAGS-read.c): Likewise.
19059 (CFLAGS-write.c): Likewise.
19060 (CFLAGS-nanosleep.c): Likewise.
19061 (CFLAGS-sigsuspend.c): Likewise.
19062 (CFLAGS-msync.c): Likewise.
19063 (CFLAGS-fdatasync.c): Likewise.
19064 (CFLAGS-fsync.c): Likewise.
19065 (CFLAGS-pt-system.c): Likewise.
19066 (CFLAGS-tst-cleanup2.c): Likewise.
19067 (CFLAGS-tst-cleanupx2.c): Likewise.
19068 (CFLAGS-flockfile.c): Likewise.
19069 (CFLAGS-ftrylockfile.c): Likewise.
19070 (CFLAGS-funlockfile.c): Likewise.
19071 (CFLAGS-tst-initializers1.c): Likewise.
19072 (CFLAGS-tst-initializers1-c89.c): Likewise.
19073 (CFLAGS-tst-initializers1-c99.c): Likewise.
19074 (CFLAGS-tst-initializers1-c11.c): Likewise.
19075 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19076 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19077 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19078 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19079 (CFLAGS-nscd_getgr_r.c): Likewise.
19080 (CFLAGS-nscd_gethst_r.c): Likewise.
19081 (CFLAGS-nscd_getai.c): Likewise.
19082 (CFLAGS-nscd_initgroups.c): Likewise.
19083 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19084 (CFLAGS-pause.c): Likewise.
19085 (CFLAGS-pread.c): Likewise.
19086 (CFLAGS-pread64.c): Likewise.
19087 (CFLAGS-pwrite.c): Likewise.
19088 (CFLAGS-pwrite64.c): Likewise.
19089 (CFLAGS-sleep.c): Likewise.
19090 (CFLAGS-wait.c): Likewise.
19091 (CFLAGS-waitid.c): Likewise.
19092 (CFLAGS-waitpid.c): Likewise.
19093 (CFLAGS-getopt.c): Likewise.
19094 (CFLAGS-wordexp.c): Likewise.
19095 (CFLAGS-sysconf.c): Likewise.
19096 (CFLAGS-pathconf.c): Likewise.
19097 (CFLAGS-fpathconf.c): Likewise.
19098 (CFLAGS-spawn.c): Likewise.
19099 (CFLAGS-spawnp.c): Likewise.
19100 (CFLAGS-spawni.c): Likewise.
19101 (CFLAGS-glob.c): Likewise.
19102 (CFLAGS-glob64.c): Likewise.
19103 (CFLAGS-getconf.c): Likewise.
19104 (CFLAGS-nanosleep.c): Likewise.
19105 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19106 (CFLAGS-getpwent.c): Likewise.
19107 (CFLAGS-getpw.c): Likewise.
19108 (CFLAGS-fgetpwent_r.c): Likewise.
19109 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19110 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19111 (CFLAGS-mq_timedreceive.c): Likewise.
19112 (CFLAGS-mq_timedsend.c): Likewise.
19113 (CFLAGS-clock_nanosleep.c): Likewise.
19114 (CFLAGS-librt-cancellation.c): Likewise.
19115 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19116 (CFLAGS-getspent.c): Likewise.
19117 (CFLAGS-fgetspent.c): Likewise.
19118 (CFLAGS-fgetspent_r.c): Likewise.
19119 (CFLAGS-putspent.c): Likewise.
19120 (CFLAGS-getspnam.c): Likewise.
19121 (CFLAGS-getspnam_r.c): Likewise.
19122 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19123 (CFLAGS-sigsuspend.c): Likewise.
19124 (CFLAGS-sigtimedwait.c): Likewise.
19125 (CFLAGS-sigwait.c): Likewise.
19126 (CFLAGS-sigwaitinfo.c): Likewise.
19127 (CFLAGS-sigreturn.c): Likewise.
19128 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19129 (CFLAGS-vfwprintf.c): Likewise.
19130 (CFLAGS-tmpfile.c): Likewise.
19131 (CFLAGS-tmpfile64.c): Likewise.
19132 (CFLAGS-tempname.c): Likewise.
19133 (CFLAGS-psignal.c): Likewise.
19134 (CFLAGS-vprintf.c): Likewise.
19135 (CFLAGS-cuserid.c): Likewise.
19136 (CFLAGS-errlist.c): Likewise.
19137 (CFLAGS-siglist.c): Likewise.
19138 (CFLAGS-scanf15.c): Likewise.
19139 (CFLAGS-scanf17.c): Likewise.
19140 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19141 (CFLAGS-msort.c): Likewise.
19142 (CFLAGS-qsort.c): Likewise.
19143 (CFLAGS-system.c): Likewise.
19144 (CFLAGS-fmtmsg.c): Likewise.
19145 (CFLAGS-strfmon.c): Likewise.
19146 (CFLAGS-strfmon_l.c): Likewise.
19147 (CFLAGS-strfromd.c): Likewise.
19148 (CFLAGS-strfromf.c): Likewise.
19149 (CFLAGS-strfroml.c): Likewise.
19150 (CFLAGS-tst-bsearch.c): Likewise.
19151 (CFLAGS-tst-qsort.c): Likewise.
19152 (CFLAGS-tst-makecontext2.c): Likewise.
19153 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19154 (CFLAGS-xnlm_prot.c): Likewise.
19155 (CFLAGS-xrstat.c): Likewise.
19156 (CFLAGS-xyppasswd.c): Likewise.
19157 (CFLAGS-xklm_prot.c): Likewise.
19158 (CFLAGS-xrex.c): Likewise.
19159 (CFLAGS-xsm_inter.c): Likewise.
19160 (CFLAGS-xmount.c): Likewise.
19161 (CFLAGS-xrusers.c): Likewise.
19162 (CFLAGS-xspray.c): Likewise.
19163 (CFLAGS-xnfs_prot.c): Likewise.
19164 (CFLAGS-xrquota.c): Likewise.
19165 (CFLAGS-xkey_prot.c): Likewise.
19166 (CFLAGS-auth_unix.c): Likewise.
19167 (CFLAGS-key_call.c): Likewise.
19168 (CFLAGS-pmap_rmt.c): Likewise.
19169 (CFLAGS-clnt_perr.c): Likewise.
19170 (CFLAGS-openchild.c): Likewise.
19171 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19172 (CFLAGS-msgsnd.c): Likewise.
19173 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19174 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19175 (CFLAGS-tzset.c): Likewise.
19176 (CFLAGS-getdate.c): Likewise.
19177 (CFLAGS-test_time.c): Likewise.
19178 (CPPFLAGS-tst-tzname.c): Likewise.
19179 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19180 (CFLAGS-zic.c): Likewise.
19181 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19182 (CFLAGS-wcswidth.c): Likewise.
19183 (CFLAGS-wcstol.c): Likewise.
19184 (CFLAGS-wcstoul.c): Likewise.
19185 (CFLAGS-wcstoll.c): Likewise.
19186 (CFLAGS-wcstoull.c): Likewise.
19187 (CFLAGS-wcstod.c): Likewise.
19188 (CFLAGS-wcstold.c): Likewise.
19189 (CFLAGS-wcstof128.c): Likewise.
19190 (CFLAGS-wcstof.c): Likewise.
19191 (CFLAGS-wcstol_l.c): Likewise.
19192 (CFLAGS-wcstoul_l.c): Likewise.
19193 (CFLAGS-wcstoll_l.c): Likewise.
19194 (CFLAGS-wcstoull_l.c): Likewise.
19195 (CFLAGS-wcstod_l.c): Likewise.
19196 (CFLAGS-wcstold_l.c): Likewise.
19197 (CFLAGS-wcstof128_l.c): Likewise.
19198 (CFLAGS-wcstof_l.c): Likewise.
19199 (CPPFLAGS-tst-wchar-h.c): Likewise.
19200 (CPPFLAGS-wcstold_l.c): Likewise.
19202 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19204 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19206 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19207 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19209 * manual/tunables.texi (Hardware Capability Tunables): Document
19210 glibc.tune.cached_memopt.
19211 * sysdeps/powerpc/cpu-features.c: New file.
19212 * sysdeps/powerpc/cpu-features.h: New file.
19213 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19214 _dl_powerpc_cpu_features.
19215 * sysdeps/powerpc/dl-tunables.list: New file.
19216 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19218 (INIT_ARCH): Initialize use_aligned_memopt.
19219 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19220 IS_IN(rtld))]: Restrict dl_platform_init availability and
19221 initialize CPU features used by tunables.
19222 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19223 Add memcpy-power8-cached.
19224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19225 __memcpy_power8_cached.
19226 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19230 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19232 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19233 (CFLAGS-noinl-tester.c): Likewise.
19234 (CFLAGS-tst-strlen.c): Likewise.
19235 (CFLAGS-stratcliff.c): Likewise.
19236 (CFLAGS-test-ffs.c): Likewise.
19237 (CFLAGS-tst-inlcall.c): Likewise.
19238 (CFLAGS-tst-xbzero-opt.c): Likewise.
19239 (CFLAGS-memcpy.c): Likewise.
19240 (CFLAGS-wordcopy.c): Likewise.
19242 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19244 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19245 Store r15 on stack and add cfi rule.
19246 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19249 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19252 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19255 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19258 Add s_sinf-sse2 and s_sinf-fma.
19259 (CFLAGS-s_sinf-fma.c): New.
19260 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19261 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19262 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19264 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19266 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19268 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19271 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19272 part of result to imaginary part of argument if it is zero and the
19273 real part of the argument is not finite.
19274 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19275 of result to real part of argument if it is zero and the imaginary
19276 part of the argument is not finite.
19278 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19281 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19282 and to the list of locales to be built for testing.
19283 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19284 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19285 and build the collation rules upon that.
19287 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19289 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19290 * manual/math.texi (Mathematics): Document support for _Float32.
19291 * math/Makefile (test-types): Add float32.
19292 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19293 * stdlib/Versions (GLIBC_2.27): Likewise.
19294 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19295 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19296 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19297 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19298 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19299 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19300 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19301 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19302 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19303 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19304 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19305 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19306 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19307 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19308 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19309 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19311 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19313 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19314 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19315 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19317 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19319 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19320 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19321 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19339 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19341 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19342 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19343 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19344 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19357 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19358 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19359 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19360 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19361 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19363 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19364 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19366 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19368 * stdlib/strtof.c: Include <bits/floatn.h>
19369 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19370 and later undefine as macro. Define as weak alias if
19372 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19373 and later undefine as macro. Define as weak alias if
19375 * stdlib/strtof_l.c: Include <bits/floatn.h>
19376 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19377 and later undefine as macro. Define as weak alias if
19379 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19380 and later undefine as macro. Define as weak alias if
19383 * stdlib/strfromf.c: Include <bits/floatn.h>.
19384 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19385 and later undefine as macro and define as weak alias.
19387 * math/test-float32.h: New file.
19389 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19390 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19391 (libm_alias_float_other_r): Create f32 alias.
19392 (libm_alias_float_r): Use semicolon before call to
19393 libm_alias_float_other_r.
19395 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19396 second argument to libm_alias_float_other.
19397 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19398 second argument to libm_alias_float_other.
19399 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19400 argument to libm_alias_float_other.
19403 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19404 real part of result for argument 0 + i * NaN.
19405 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19406 results for tests of 0 + i * NaN.
19408 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19410 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19412 2017-12-06 David S. Miller <davem@davemloft.net>
19414 * sysdeps/sparc/fpu/libm-test-ulps: Update
19415 exp_{downward,towardzero,upward} ulps.
19417 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19419 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19422 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19424 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19426 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19428 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19431 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19434 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19435 and to the list of locales to be built for testing.
19436 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19437 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19438 and build the collation rules upon that.
19440 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19442 * NEWS: Add sinf to list of optimized functions.
19444 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19446 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19447 (__HAVE_FLOAT32X): Likewise.
19448 * manual/math.texi (Mathematics): Document support for _Float64
19450 * math/Makefile (test-types): Add float64 and float32x.
19451 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19453 * stdlib/Versions (GLIBC_2.27): Likewise.
19454 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19455 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19456 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19457 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19459 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19460 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19461 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19462 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19463 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19464 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19470 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19471 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19473 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19474 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19475 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19478 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19479 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19480 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19481 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19498 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19499 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19500 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19501 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19502 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19503 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19516 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19522 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19523 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19525 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19527 * bits/floatn-common.h: Include <bits/long-double.h>.
19528 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19529 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19530 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19531 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19532 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19533 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19534 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19535 (__builtin_huge_valf64): Use __builtin_huge_vall.
19536 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19537 (__builtin_inff64): Use __builtin_infl.
19538 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19539 (__builtin_nanf64): Use __builtin_nanl.
19540 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19541 (__builtin_nansf64): Use __builtin_nansl.
19543 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19544 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19545 Carlos O'Donnell <carlos@redhat.com>
19547 * elf/dl-tunables.list: Add elision parameters.
19548 * manual/tunables.texi: Add entries about elision tunable.
19549 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19550 Add callback functions to dynamically enable/disable elision.
19551 Add multiple callbacks functions to set elision parameters.
19552 Deleted __libc_enable_secure check.
19553 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19554 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19555 * configure: Regenerated.
19556 * configure.ac: Option enable_lock_elision was deleted.
19557 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19558 * config.make.in: Remove references to enable_lock_elision.
19559 * manual/install.texi: Elision configure option was removed.
19560 * INSTALL: Regenerated to remove enable_lock_elision.
19562 Disable elision so it can verify error case for destroying a mutex.
19563 * sysdeps/powerpc/nptl/elide.h:
19564 Cleanup ENABLE_LOCK_ELISION check.
19565 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19566 * sysdeps/s390/configure: Regenerated.
19567 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19568 * nptl/tst-mutex8.c:
19569 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19570 * sysdeps/powerpc/powerpc32/sysdep.h:
19571 Deleted all ENABLE_LOCK_ELISION checks.
19572 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19573 * sysdeps/powerpc/sysdep.h: Likewise.
19574 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19575 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19576 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19577 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19579 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19580 enable-lock-elision.
19582 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19584 * stdlib/strtod.c: Include <bits/floatn.h>.
19585 (BUILD_DOUBLE): New macro.
19586 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19587 (strtof64): Define and later undefine as macro. Define as weak
19588 alias if [!USE_WIDE_CHAR].
19589 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19590 (wcstof64): Define and later undefine as macro. Define as weak
19591 alias if [USE_WIDE_CHAR].
19592 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19593 (strtof32x): Define and later undefine as macro. Define as weak
19594 alias if [!USE_WIDE_CHAR].
19595 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19596 (wcstof32x): Define and later undefine as macro. Define as weak
19597 alias if [USE_WIDE_CHAR].
19598 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19599 (BUILD_DOUBLE): New macro.
19600 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19601 (strtof64_l): Define and later undefine as macro. Define as weak
19602 alias if [!USE_WIDE_CHAR].
19603 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19604 (wcstof64_l): Define and later undefine as macro. Define as weak
19605 alias if [USE_WIDE_CHAR].
19606 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19607 (strtof32x_l): Define and later undefine as macro. Define as weak
19608 alias if [!USE_WIDE_CHAR].
19609 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19610 (wcstof32x_l): Define and later undefine as macro. Define as weak
19611 alias if [USE_WIDE_CHAR].
19613 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19615 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19616 (reduced): Use ones as double instead of integer.
19618 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19620 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19622 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19624 * stdlib/strfromd.c: Include <bits/floatn.h>.
19625 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19626 and later undefine as macro and define as weak alias.
19627 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19630 * math/test-float32x.h: New file.
19631 * math/test-float64.h: Likewise.
19633 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19634 (libm_alias_double_other_r_f64): New macro.
19635 (libm_alias_double_other_r_f32x): Likewise.
19636 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19637 libm_alias_double_other_r_f32x.
19638 (libm_alias_double_r): Use semicolon before call to
19639 libm_alias_double_other_r.
19640 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19642 (libm_alias_double_other_r_f64): New macro.
19643 (libm_alias_double_other_r_f32x): Likewise.
19644 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19645 libm_alias_double_other_r_f32x.
19647 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19649 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19651 (SINF_FUNC): Likewise. Replace floor with simple casts.
19653 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19656 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19657 and to the list of locales to be built for testing.
19658 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19659 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19660 and build the collation rules upon that.
19662 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19664 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19665 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19666 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19667 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19668 instead of __insn__xxx.
19669 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19670 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19671 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19672 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19673 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19674 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19676 2017-12-05 Florian Weimer <fweimer@redhat.com>
19678 Linux: Implement interfaces for memory protection keys
19679 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19681 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19682 * support/xunistd.h (xsysconf): Declare.
19683 * support/xraise.c: New file.
19684 * support/xsigaction.c: Likewise.
19685 * support/xsignal.c: Likewise.
19686 * support/xsysconf.c: Likewise.
19687 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19688 pkey_set, pkey_get, pkey_mprotect.
19689 [misc] (tests): Add tst-pkey.
19690 (tst-pkey): Link with -lpthread.
19691 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19692 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19693 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19694 (PKEY_DISABLE_WRITE): Define.
19695 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19697 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19698 (SEGV_PKUERR): Add.
19699 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19700 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19701 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19702 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19704 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19705 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19706 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19707 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19708 * sysdeps/unix/sysv/linux/**.abilist: Update.
19710 2017-12-05 Florian Weimer <fweimer@redhat.com>
19712 * support/tst-test_compare.c (subprocess): Use long long instead
19713 of long argument for consistent type width across 32-bit and
19714 64-bit architectures.
19715 (do_test): Adjust expected output.
19717 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19719 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19720 (cosf): Define using libm_alias_float.
19721 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19722 (fabsf): Define using libm_alias_float.
19723 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19724 (fmaf): Define using libm_alias_float.
19725 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19726 (rintf): Define using libm_alias_float.
19727 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19728 (sinf): Define using libm_alias_float.
19729 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19730 <libm-alias-float.h>.
19731 (modff): Define using libm_alias_float.
19732 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19733 <libm-alias-float.h>.
19734 (logbf): Define using libm_alias_float.
19735 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19736 <libm-alias-float.h>.
19737 (ceilf): Define using libm_alias_float.
19738 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19739 <libm-alias-float.h>.
19740 (copysignf): Define using libm_alias_float.
19741 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19742 <libm-alias-float.h>.
19743 (floorf): Define using libm_alias_float.
19744 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19745 <libm-alias-float.h>.
19746 (llrintf): Define using libm_alias_float.
19747 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19748 <libm-alias-float.h>.
19749 (llroundf): Define using libm_alias_float.
19750 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19751 <libm-alias-float.h>.
19752 (lrintf): Define using libm_alias_float.
19753 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19754 <libm-alias-float.h>.
19755 (lroundf): Define using libm_alias_float.
19756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19757 <libm-alias-float.h>.
19758 (nearbyintf): Define using libm_alias_float.
19759 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19760 <libm-alias-float.h>.
19761 (rintf): Define using libm_alias_float.
19762 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19763 <libm-alias-float.h>.
19764 (roundf): Define using libm_alias_float.
19765 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19766 <libm-alias-float.h>.
19767 (truncf): Define using libm_alias_float.
19768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19769 Include <libm-alias-float.h>.
19770 (ceilf): Define using libm_alias_float.
19771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19772 Include <libm-alias-float.h>.
19773 (copysignf): Define using libm_alias_float.
19774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19775 Include <libm-alias-float.h>.
19776 (floorf): Define using libm_alias_float.
19777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19778 Include <libm-alias-float.h>.
19779 (llrintf): Define using libm_alias_float.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19781 Include <libm-alias-float.h>.
19782 (llroundf): Define using libm_alias_float.
19783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19784 Include <libm-alias-float.h>.
19785 (logbf): Define using libm_alias_float.
19786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19787 Include <libm-alias-float.h>.
19788 (lrintf): Define using libm_alias_float.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19790 Include <libm-alias-float.h>.
19791 (lroundf): Define using libm_alias_float.
19792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19793 Include <libm-alias-float.h>.
19794 (modff): Define using libm_alias_float.
19795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19796 Include <libm-alias-float.h>.
19797 (roundf): Define using libm_alias_float.
19798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19799 Include <libm-alias-float.h>.
19800 (truncf): Define using libm_alias_float.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19802 <libm-alias-float.h>.
19803 (llrintf): Define using libm_alias_float.
19804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19805 <libm-alias-float.h>.
19806 (llroundf): Define using libm_alias_float.
19807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19808 <libm-alias-float.h>.
19809 (ceilf): Define using libm_alias_float.
19810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19811 <libm-alias-float.h>.
19812 (floorf): Define using libm_alias_float.
19813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19814 <libm-alias-float.h>.
19815 (llroundf): Define using libm_alias_float.
19816 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19817 <libm-alias-float.h>.
19818 (lroundf): Define using libm_alias_float.
19819 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19820 <libm-alias-float.h>.
19821 (roundf): Define using libm_alias_float.
19822 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19823 <libm-alias-float.h>.
19824 (truncf): Define using libm_alias_float.
19825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19826 <libm-alias-float.h>.
19827 (copysignf): Define using libm_alias_float.
19828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19829 <libm-alias-float.h>.
19830 (llrintf): Define using libm_alias_float.
19831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19832 <libm-alias-float.h>.
19833 (llroundf): Define using libm_alias_float.
19834 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19835 <libm-alias-float.h>.
19836 (lrintf): Define using libm_alias_float.
19837 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19838 <libm-alias-float.h>.
19839 (lroundf): Define using libm_alias_float.
19840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19841 <libm-alias-float.h>.
19842 (ceilf): Define using libm_alias_float.
19843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19844 <libm-alias-float.h>.
19845 (copysignf): Define using libm_alias_float.
19846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19847 <libm-alias-float.h>.
19848 (cosf): Define using libm_alias_float.
19849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19850 <libm-alias-float.h>.
19851 (floorf): Define using libm_alias_float.
19852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19853 <libm-alias-float.h>.
19854 (llrintf): Define using libm_alias_float.
19855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19856 <libm-alias-float.h>.
19857 (llroundf): Define using libm_alias_float.
19858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19859 <libm-alias-float.h>.
19860 (logbf): Define using libm_alias_float.
19861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19862 <libm-alias-float.h>.
19863 (modff): Define using libm_alias_float.
19864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19865 <libm-alias-float.h>.
19866 (roundf): Define using libm_alias_float.
19867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19868 <libm-alias-float.h>.
19869 (sinf): Define using libm_alias_float.
19870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19871 <libm-alias-float.h>.
19872 (truncf): Define using libm_alias_float.
19873 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19874 <libm-alias-float.h>.
19875 (ceilf): Define using libm_alias_float.
19876 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19877 <libm-alias-float.h>.
19878 (copysignf): Define using libm_alias_float.
19879 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19880 <libm-alias-float.h>.
19881 (floorf): Define using libm_alias_float.
19882 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19883 <libm-alias-float.h>.
19884 (llrintf): Define using libm_alias_float.
19885 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19886 <libm-alias-float.h>.
19887 (llroundf): Define using libm_alias_float.
19888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19889 <libm-alias-float.h>.
19890 (nearbyintf): Define using libm_alias_float.
19891 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19892 <libm-alias-float.h>.
19893 (rintf): Define using libm_alias_float.
19894 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19895 <libm-alias-float.h>.
19896 (roundf): Define using libm_alias_float.
19897 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19898 <libm-alias-float.h>.
19899 (truncf): Define using libm_alias_float.
19900 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19901 <libm-alias-float.h>.
19902 (ceilf): Define using libm_alias_float.
19903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19904 <libm-alias-float.h>.
19905 (floorf): Define using libm_alias_float.
19906 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19907 <libm-alias-float.h>.
19908 (llroundf): Define using libm_alias_float.
19909 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19910 <libm-alias-float.h>.
19911 (roundf): Define using libm_alias_float.
19912 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19913 <libm-alias-float.h>.
19914 (truncf): Define using libm_alias_float.
19915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19916 <libm-alias-float.h>.
19917 (copysignf): Define using libm_alias_float.
19918 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19919 <libm-alias-float.h>.
19920 (llrintf): Define using libm_alias_float.
19921 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19922 <libm-alias-float.h>.
19923 (llroundf): Define using libm_alias_float.
19924 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19925 <libm-alias-float.h>.
19926 (cosf): Define using libm_alias_float.
19927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19928 <libm-alias-float.h>.
19929 (llrintf): Define using libm_alias_float.
19930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19931 <libm-alias-float.h>.
19932 (llroundf): Define using libm_alias_float.
19933 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19934 <libm-alias-float.h>.
19935 (sinf): Define using libm_alias_float.
19937 2017-12-04 Florian Weimer <fweimer@redhat.com>
19939 * support/check.h (TEST_COMPARE): Define.
19940 (support_test_compare_failure): Declare.
19941 * support/Makefile (libsupport-routines): Add
19942 support_test_compare_failure.
19943 (tests): Add tst-test_compare.
19944 * support /support_test_compare_failure.c: New file.
19945 * support/tst-test_compare.c: Likewise.
19947 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19950 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19951 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19952 available, this rewrite of the collation rules does reproduce
19953 the test file in the same order.
19955 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19958 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19959 digraphs in the month and day names. Using single code points for
19960 digraphs is deprecated. While there are dedicated Unicode
19961 codepoints, for the digraphs, these are included for backwards
19962 compatibility and modern texts use a sequence of Basic Latin
19963 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19964 This makes the month and day names agree exactly with CLDR now,
19965 CLDR does not use the single code points for the digraphs either.
19967 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19969 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19971 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19973 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19976 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19978 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19979 Define only for libc.so.
19981 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19984 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19985 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19986 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19989 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19992 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19994 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19997 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19998 PREINIT_FUNCTION_WEAK is nonzero.
19999 (gmon_initializer): New function. Put procedure label for it in
20000 .init_array section.
20001 (_init): Don't call PREINIT_FUNCTION.
20002 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20003 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20004 value when map argument is null.
20006 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20007 depi instruction from PIC pc-relative sequence.
20008 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20009 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20010 (elf_machine_load_address): Likewise.
20011 (elf_machine_runtime_setup): Likewise.
20013 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20015 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20016 <libm-alias-double.h>.
20017 (logb): Define using libm_alias_double.
20018 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20019 <libm-alias-double.h>.
20020 (copysign): Define using libm_alias_double.
20021 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20022 <libm-alias-double.h>.
20023 (llrint): Define using libm_alias_double.
20024 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20025 <libm-alias-double.h>.
20026 (llround): Define using libm_alias_double.
20027 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20028 <libm-alias-double.h>.
20029 (lrint): Define using libm_alias_double.
20030 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20031 <libm-alias-double.h>.
20032 (lround): Define using libm_alias_double.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20034 Include <libm-alias-double.h>.
20035 (copysign): Define using libm_alias_double.
20036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20037 Include <libm-alias-double.h>.
20038 (llrint): Define using libm_alias_double.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20040 Include <libm-alias-double.h>.
20041 (llround): Define using libm_alias_double.
20042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20043 <libm-alias-double.h>.
20044 (logb): Define using libm_alias_double.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20046 Include <libm-alias-double.h>.
20047 (lrint): Define using libm_alias_double.
20048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20049 Include <libm-alias-double.h>.
20050 (lround): Define using libm_alias_double.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20052 <libm-alias-double.h>.
20053 (llrint): Define using libm_alias_double.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20055 <libm-alias-double.h>.
20056 (llround): Define using libm_alias_double.
20057 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20058 <libm-alias-double.h>.
20059 (llround): Define using libm_alias_double.
20060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20061 <libm-alias-double.h>.
20062 (lround): Define using libm_alias_double.
20063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20064 <libm-alias-double.h>.
20065 (copysign): Define using libm_alias_double.
20066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20067 <libm-alias-double.h>.
20068 (llrint): Define using libm_alias_double.
20069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20070 <libm-alias-double.h>.
20071 (llround): Define using libm_alias_double.
20072 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20073 <libm-alias-double.h>.
20074 (lrint): Define using libm_alias_double.
20075 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20076 <libm-alias-double.h>.
20077 (lround): Define using libm_alias_double.
20078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20079 <libm-alias-double.h>.
20080 (copysign): Define using libm_alias_double.
20081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20082 <libm-alias-double.h>.
20083 (llrint): Define using libm_alias_double.
20085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20086 <libm-alias-double.h>.
20087 (llround): Define using libm_alias_double.
20088 (lround): Likewise.
20089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20090 <libm-alias-double.h>.
20091 (logb): Define using libm_alias_double.
20092 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20093 <libm-alias-double.h>.
20094 (copysign): Define using libm_alias_double.
20095 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20096 <libm-alias-double.h>.
20097 (llrint): Define using libm_alias_double.
20099 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20100 <libm-alias-double.h>.
20101 (llround): Define using libm_alias_double.
20102 (lround): Likewise.
20103 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20104 <libm-alias-double.h>.
20105 (llround): Define using libm_alias_double.
20106 (lround): Likewise.
20107 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20108 <libm-alias-double.h>.
20109 (copysign): Define using libm_alias_double.
20110 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20111 <libm-alias-double.h>.
20112 (llrint): Define using libm_alias_double.
20114 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20115 <libm-alias-double.h>.
20116 (llround): Define using libm_alias_double.
20117 (lround): Likewise.
20118 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20119 <libm-alias-double.h>.
20120 (llrint): Define using libm_alias_double.
20122 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20123 <libm-alias-double.h>.
20124 (llround): Define using libm_alias_double.
20125 (lround): Likewise.
20127 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20130 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20131 compat symbol based on llround.
20133 * sysdeps/powerpc/power7/fpu/s_logb.c
20134 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20135 symbol based on __logb, not on logb.
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20137 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20139 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20141 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20142 (rint): Define using libm_alias_double.
20143 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20144 <libm-alias-double.h>.
20145 (modf): Define using libm_alias_double.
20146 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20147 <libm-alias-double.h>.
20148 (ceil): Define using libm_alias_double.
20149 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20150 <libm-alias-double.h>.
20151 (floor): Define using libm_alias_double.
20152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20153 <libm-alias-double.h>.
20154 (nearbyint): Define using libm_alias_double.
20155 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20156 <libm-alias-double.h>.
20157 (rint): Define using libm_alias_double.
20158 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20159 <libm-alias-double.h>.
20160 (round): Define using libm_alias_double.
20161 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20162 <libm-alias-double.h>.
20163 (trunc): Define using libm_alias_double.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20165 <libm-alias-double.h>.
20166 (ceil): Define using libm_alias_double.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20168 Include <libm-alias-double.h>.
20169 (floor): Define using libm_alias_double.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20171 <libm-alias-double.h>.
20172 (modf): Define using libm_alias_double.
20173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20174 Include <libm-alias-double.h>.
20175 (round): Define using libm_alias_double.
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20177 Include <libm-alias-double.h>.
20178 (trunc): Define using libm_alias_double.
20179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20180 <libm-alias-double.h>.
20181 (ceil): Define using libm_alias_double.
20182 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20183 <libm-alias-double.h>.
20184 (floor): Define using libm_alias_double.
20185 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20186 <libm-alias-double.h>.
20187 (round): Define using libm_alias_double.
20188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20189 <libm-alias-double.h>.
20190 (trunc): Define using libm_alias_double.
20191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20192 <libm-alias-double.h>.
20193 (ceil): Define using libm_alias_double.
20194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20195 <libm-alias-double.h>.
20196 (floor): Define using libm_alias_double.
20197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20198 <libm-alias-double.h>.
20199 (modf): Define using libm_alias_double.
20200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20201 <libm-alias-double.h>.
20202 (round): Define using libm_alias_double.
20203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20204 <libm-alias-double.h>.
20205 (trunc): Define using libm_alias_double.
20206 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20207 <libm-alias-double.h>.
20208 (ceil): Define using libm_alias_double.
20209 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20210 <libm-alias-double.h>.
20211 (floor): Define using libm_alias_double.
20212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20213 <libm-alias-double.h>.
20214 (nearbyint): Define using libm_alias_double.
20215 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20216 <libm-alias-double.h>.
20217 (rint): Define using libm_alias_double.
20218 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20219 <libm-alias-double.h>.
20220 (round): Define using libm_alias_double.
20221 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20222 <libm-alias-double.h>.
20223 (trunc): Define using libm_alias_double.
20224 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20225 <libm-alias-double.h>.
20226 (ceil): Define using libm_alias_double.
20227 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20228 <libm-alias-double.h>.
20229 (floor): Define using libm_alias_double.
20230 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20231 <libm-alias-double.h>.
20232 (round): Define using libm_alias_double.
20233 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20234 <libm-alias-double.h>.
20235 (trunc): Define using libm_alias_double.
20237 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20238 (fabs): Define using libm_alias_double.
20239 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20240 (fma): Define using libm_alias_double.
20241 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20242 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20243 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20244 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20246 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20248 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20251 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20252 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20255 due redirect macro.
20257 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20259 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20261 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20263 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20264 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20265 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20266 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20269 (libm-sysdep_routines): Add s_nearbyintf-generic and
20270 s_nearbyint-generic.
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20284 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20295 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20306 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20317 (sysdep_calls): New rule.
20318 (sysdep_routines): Use sysdep_calls as base.
20319 (libm-sysdep_routines): Add generic rule for symbols shared with
20320 libc. Add s_copysign-generic and s_copysign-generic objects.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20330 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20333 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20334 the list of locales to be built for testing.
20335 * localedata/is_IS.UTF-8.in: New file.
20336 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20339 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20341 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20342 <libm-alias-float.h>.
20343 (fabsf): Define using libm_alias_float.
20345 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20347 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20349 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20351 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20352 <libm-alias-float.h>.
20353 (fabsf): Define using libm_alias_float.
20354 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20355 <libm-alias-float.h>.
20356 (lrintf): Define using libm_alias_float.
20357 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20358 <libm-alias-float.h>.
20359 (rintf): Define using libm_alias_float.
20361 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20362 <libm-alias-double.h>.
20363 (fabs): Define using libm_alias_double.
20364 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20365 <libm-alias-double.h>.
20366 (lrint): Define using libm_alias_double.
20367 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20368 <libm-alias-double.h>.
20369 (rint): Define using libm_alias_double.
20371 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20372 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20373 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20374 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20375 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20376 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20377 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20378 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20379 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20380 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20381 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20382 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20383 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20384 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20385 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20386 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20387 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20388 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20390 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20391 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20392 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20394 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20395 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20396 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20398 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20399 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20400 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20401 s_expm1_template.c.
20402 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20403 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20404 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20406 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20407 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20408 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20409 s_floor_template.c.
20410 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20411 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20412 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20413 s_frexp_template.c.
20414 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20415 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20416 s_lrint_template.c.
20417 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20418 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20419 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20421 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20422 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20423 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20424 s_nearbyint_template.c.
20425 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20426 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20427 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20428 s_remquo_template.c.
20429 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20430 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20431 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20433 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20434 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20435 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20437 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20438 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20439 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20440 s_sincos_template.c.
20441 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20442 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20443 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20445 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20446 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20447 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20449 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20450 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20451 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20452 s_trunc_template.c.
20453 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20454 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20455 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20456 s_atan.c instead of including s_atan.c.
20457 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20458 s_atanf.c instead of including s_atanf.c.
20459 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20460 s_atanl.c instead of including s_atanl.c.
20461 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20462 instead of s_atan.c.
20463 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20464 instead of s_atanf.c.
20465 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20466 instead of s_atanl.c.
20468 * scripts/update-copyrights: Do not handle intl/plural.c
20471 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20474 * configure.ac (BISON): Require to be present.
20475 * configure: Regenerated.
20476 * intl/Makefile (generated): Add plural.c.
20477 [$(BISON) != no]: Make code unconditional.
20478 (plural.c): Change rule to $(objpfx)plural.c.
20479 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20480 * intl/plural.c: Remove.
20481 * manual/install.texi (Tools for Compilation): Document bison as
20483 * INSTALL: Regenerated.
20485 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20487 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20488 <libm-alias-double.h>.
20489 (llrint): Define using libm_alias_double.
20490 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20491 <libm-alias-float.h>.
20492 (llrintf): Define using libm_alias_float.
20493 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20494 <libm-alias-ldouble.h>.
20495 (llrintl): Define using libm_alias_ldouble.
20497 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20498 declare_mgen_alias instead of weak_alias.
20499 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20500 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20501 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20503 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20505 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20507 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20508 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20509 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20511 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20512 Add submul_1-generic.
20513 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20514 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20515 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20517 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20518 Add addmul_1-generic.
20519 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20520 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20521 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20523 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20525 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20526 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20527 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20529 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20531 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20532 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20533 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20535 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20537 According to CLDR, collation rules for Serbian and Bosnian
20538 should be the same as for Croatian.
20541 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20542 and to the list of locales to be built for testing.
20543 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20544 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20545 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20546 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20548 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20550 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20551 to make test case pass.
20552 * localedata/hr_HR.UTF-8.in: Add more test strings.
20554 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20556 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20558 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20560 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20561 the list of locales to built for testing.
20562 * localedata/hr_HR.UTF-8.in: New file.
20564 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20567 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20569 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20570 CLDR (except use ligatures for the digraphs, CLDR does not use
20571 the ligatures), add first_workday, some fixes in the date and time
20573 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20575 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20576 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20577 Add int_p_cs_precedes and int_n_cs_precedes.
20578 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20579 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20581 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20582 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20584 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20585 and lang_lib. Change postal_fmt.
20587 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20589 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20591 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20592 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20593 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20594 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20595 * sysdeps/generic/setjmpP.h: New file.
20596 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20597 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20598 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20599 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20600 Add jmp_buf-ssp.sym.
20601 (tests): Add tst-saved_mask-1.
20603 2017-11-30 Arjun Shankar <arjun@redhat.com>
20607 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20608 instead of request2size.
20610 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20613 (__lllrint): Remove alias.
20614 (lllrint): Likewise.
20615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20616 (__lllrintf): Likewise.
20617 (lllrintf): Likewise.
20619 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20620 <libm-alias-float.h>.
20621 (copysignf): Define using libm_alias_float.
20622 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20623 <libm-alias-float.h>.
20624 (fabsf): Define using libm_alias_float.
20625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20626 Include <libm-alias-float.h>.
20627 (copysignf): Define using libm_alias_float.
20628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20629 <libm-alias-float.h>.
20630 (fabsf): Define using libm_alias_float.
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20632 <libm-alias-float.h>.
20633 (fdimf): Define using libm_alias_float.
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20635 <libm-alias-float.h>.
20636 (fmaf): Define using libm_alias_float.
20637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20638 <libm-alias-float.h>.
20639 (llrintf): Define using libm_alias_float.
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20641 Include <libm-alias-float.h>.
20642 (nearbyintf): Define using libm_alias_float.
20643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20644 <libm-alias-float.h>.
20645 (rintf): Define using libm_alias_float.
20646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20647 <libm-alias-float.h>.
20648 (llrintf): Define using libm_alias_float.
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20650 <libm-alias-float.h>.
20651 (lrintf): Define using libm_alias_float.
20652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20653 <libm-alias-float.h>.
20654 (nearbyintf): Define using libm_alias_float.
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20656 <libm-alias-float.h>.
20657 (rintf): Define using libm_alias_float.
20658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20659 <libm-alias-float.h>.
20660 (ceilf): Define using libm_alias_float.
20661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20662 <libm-alias-float.h>.
20663 (floorf): Define using libm_alias_float.
20664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20665 <libm-alias-float.h>.
20666 (fmaf): Define using libm_alias_float.
20667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20668 <libm-alias-float.h>.
20669 (lrintf): Define using libm_alias_float.
20670 (llrintf): Likewise.
20671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20672 <libm-alias-float.h>.
20673 (nearbyintf): Define using libm_alias_float.
20674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20675 <libm-alias-float.h>.
20676 (rintf): Define using libm_alias_float.
20677 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20678 <libm-alias-float.h>.
20679 (truncf): Define using libm_alias_float.
20680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20681 <libm-alias-float.h>.
20682 (copysignf): Define using libm_alias_float.
20683 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20684 <libm-alias-float.h>.
20685 (fabsf): Define using libm_alias_float.
20686 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20687 <libm-alias-float.h>.
20688 (lrintf): Define using libm_alias_float.
20689 (llrintf): Likewise.
20690 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20691 <libm-alias-float.h>.
20692 (nearbyintf): Define using libm_alias_float.
20693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20694 <libm-alias-float.h>.
20695 (rintf): Define using libm_alias_float.
20697 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20700 <libm-alias-double.h>.
20701 (copysign): Define using libm_alias_double.
20702 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20703 <libm-alias-double.h>.
20704 (fabs): Define using libm_alias_double.
20705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20706 Include <libm-alias-double.h>.
20707 (copysign): Define using libm_alias_double.
20708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20709 <libm-alias-double.h>.
20710 (fabs): Define using libm_alias_double.
20711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20712 <libm-alias-double.h>.
20713 (fdim): Define using libm_alias_double.
20714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20715 <libm-alias-double.h>.
20716 (fma): Define using libm_alias_double.
20717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20718 <libm-alias-double.h>.
20719 (llrint): Define using libm_alias_double.
20720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20721 Include <libm-alias-double.h>.
20722 (nearbyint): Define using libm_alias_double.
20723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20724 <libm-alias-double.h>.
20725 (rint): Define using libm_alias_double.
20726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20727 <libm-alias-double.h>.
20728 (fabs): Define using libm_alias_double.
20729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20730 <libm-alias-double.h>.
20731 (llrint): Define using libm_alias_double.
20732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20733 <libm-alias-double.h>.
20734 (nearbyint): Define using libm_alias_double.
20735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20736 <libm-alias-double.h>.
20737 (rint): Define using libm_alias_double.
20738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20739 <libm-alias-double.h>.
20740 (ceil): Define using libm_alias_double.
20741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20742 <libm-alias-double.h>.
20743 (floor): Define using libm_alias_double.
20744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20745 <libm-alias-double.h>.
20746 (fma): Define using libm_alias_double.
20747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20748 <libm-alias-double.h>.
20749 (lrint): Define using libm_alias_double.
20750 (llrint): Likewise.
20751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20752 <libm-alias-double.h>.
20753 (nearbyint): Define using libm_alias_double.
20754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20755 <libm-alias-double.h>.
20756 (rint): Define using libm_alias_double.
20757 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20758 <libm-alias-double.h>.
20759 (trunc): Define using libm_alias_double.
20760 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20761 <libm-alias-double.h>.
20762 (copysign): Define using libm_alias_double.
20763 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20764 <libm-alias-double.h>.
20765 (fabs): Define using libm_alias_double.
20766 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20767 <libm-alias-double.h>.
20768 (lrint): Define using libm_alias_double.
20769 (llrint): Likewise.
20770 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20771 <libm-alias-double.h>.
20772 (nearbyint): Define using libm_alias_double.
20773 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20774 <libm-alias-double.h>.
20775 (rint): Define using libm_alias_double.
20778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20780 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20782 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20783 SPARC --disable-multi-arch glibc variants.
20785 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20786 <libm-alias-float.h>.
20787 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20789 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20790 <libm-alias-float.h>.
20791 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20793 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20794 <libm-alias-float.h>.
20795 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20797 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20798 <libm-alias-float.h>.
20799 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20801 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20802 <libm-alias-float.h>.
20803 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20805 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20806 <libm-alias-float.h>.
20807 (ceilf): Define using libm_alias_float.
20808 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20809 <libm-alias-float.h>.
20810 (floorf): Define using libm_alias_float.
20811 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20812 <libm-alias-float.h>.
20813 (fmaf): Define using libm_alias_float.
20814 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20815 <libm-alias-float.h>.
20816 (nearbyintf): Define using libm_alias_float.
20817 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20818 <libm-alias-float.h>.
20819 (rintf): Define using libm_alias_float.
20820 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20821 <libm-alias-float.h>.
20822 (truncf): Define using libm_alias_float.
20823 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20824 (copysignf): Define using libm_alias_float.
20825 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20826 (cosf): Define using libm_alias_float.
20827 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20828 (fabsf): Define using libm_alias_float.
20829 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20830 (fmaxf): Define using libm_alias_float.
20831 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20832 (fminf): Define using libm_alias_float.
20833 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20834 (llrintf): Define using libm_alias_float.
20835 [!__ILP32__] (lrintf): Likewise.
20836 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20837 (sincosf): Define using libm_alias_float.
20838 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20839 (sinf): Define using libm_alias_float.
20840 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20841 (lrintf): Define using libm_alias_float.
20843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20844 <libm-alias-double.h>.
20845 (atan): Define using libm_alias_double.
20846 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20847 <libm-alias-double.h>.
20848 (ceil): Define using libm_alias_double.
20849 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20850 <libm-alias-double.h>.
20851 (floor): Define using libm_alias_double.
20852 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20853 <libm-alias-double.h>.
20854 (fma): Define using libm_alias_double.
20855 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20856 <libm-alias-double.h>.
20857 (nearbyint): Define using libm_alias_double.
20858 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20859 <libm-alias-double.h>.
20860 (rint): Define using libm_alias_double.
20861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20862 <libm-alias-double.h>.
20863 (sin): Define using libm_alias_double.
20865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20866 <libm-alias-double.h>.
20867 (tan): Define using libm_alias_double.
20868 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20869 <libm-alias-double.h>.
20870 (trunc): Define using libm_alias_double.
20871 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20872 (copysign): Define using libm_alias_double.
20873 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20874 (fabs): Define using libm_alias_double.
20875 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20876 (fmax): Define using libm_alias_double.
20877 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20878 (fmin): Define using libm_alias_double.
20879 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20880 (llrint): Define using libm_alias_double.
20881 [!__ILP32__] (lrint): Likewise.
20882 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20883 (lrint): Define using libm_alias_double.
20885 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20888 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20898 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20908 (libm-sysdep_routines): Add s_nearbyint-generic and
20909 s_nearbyintf-generic objects.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20913 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20918 Add s_finitef-generic and s_finite-generic objects.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20927 Add s_isinff-generic and s_isinf-generic objects.
20928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20936 Add s_isnanf-generic and s_isnan-generic objects.
20937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20944 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20948 (sysdep_routines): Use sysdep_calls as base.
20949 (libm-sysdep_routines): Add generic rule for symbols shared with
20950 libc. Add s_signbit-generic and s_signbitf-generic objects.
20951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20958 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20960 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20961 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20962 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20963 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20964 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20965 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20966 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20967 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20968 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20969 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20970 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20971 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20972 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20973 libm_alias_float_r.
20974 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20975 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20977 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20978 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20979 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20980 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20981 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20982 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20983 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20984 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20985 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20986 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20988 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20990 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20991 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20992 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20993 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20994 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20995 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20996 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20997 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20998 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20999 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21000 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21001 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21002 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21003 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21004 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21005 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21006 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21007 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21008 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21010 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21011 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21012 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21013 * sysdeps/ia64/fpu/w_lgammaf_main.c
21014 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21015 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21017 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21018 Alexandre Oliva <aoliva@redhat.com>
21021 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21022 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21024 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21026 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21027 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21028 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21029 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21030 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21031 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21032 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21033 instead of “ifdef DIACRIT_BACKWARD”.
21035 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21037 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21038 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21039 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21040 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21041 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21042 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21049 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21050 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21051 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21052 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21053 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21054 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21056 ($(have-as-vis3) == yes): Remove conditional.
21057 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21074 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21076 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21078 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21079 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21080 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21081 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21082 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21083 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21084 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21085 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21086 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21087 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21088 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21089 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21090 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21091 libm_alias_double_r.
21092 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21094 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21095 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21096 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21097 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21098 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21099 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21100 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21101 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21102 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21103 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21104 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21106 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21108 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21109 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21110 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21111 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21112 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21113 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21114 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21115 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21116 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21117 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21118 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21119 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21120 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21121 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21122 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21123 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21124 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21125 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21127 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21128 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21129 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21130 * sysdeps/ia64/fpu/w_lgamma_main.c
21131 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21132 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21134 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21136 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21137 address of $global$ into %dp register earlier. Use pc-relative
21138 instruction sequence for PIC case.
21140 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21142 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21143 (asinhf): Define using libm_alias_float.
21144 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21145 (atanf): Define using libm_alias_float.
21146 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21147 (cbrtf): Define using libm_alias_float.
21148 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21149 (ceilf): Define using libm_alias_float.
21150 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21151 (copysignf): Define using libm_alias_float.
21152 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21153 (expm1f): Define using libm_alias_float.
21154 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21155 (fabsf): Define using libm_alias_float.
21156 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21157 (floorf): Define using libm_alias_float.
21158 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21159 (fmaxf): Define using libm_alias_float.
21160 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21161 (fminf): Define using libm_alias_float.
21162 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21163 (frexpf): Define using libm_alias_float.
21164 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21165 (llrintf): Define using libm_alias_float.
21166 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21167 (logbf): Define using libm_alias_float.
21168 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21169 (lrintf): Define using libm_alias_float.
21170 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21171 (nearbyintf): Define using libm_alias_float.
21172 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21173 (remquof): Define using libm_alias_float.
21174 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21175 (rintf): Define using libm_alias_float.
21176 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21177 (truncf): Define using libm_alias_float.
21178 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21179 <libm-alias-float.h>.
21180 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21182 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21183 <libm-alias-float.h>.
21184 (expf): Define using libm_alias_float, or libm_alias_float_other
21186 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21187 <libm-alias-float.h>.
21188 (log2f): Define using libm_alias_float, or libm_alias_float_other
21190 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21191 <libm-alias-float.h>.
21192 (logf): Define using libm_alias_float, or libm_alias_float_other
21194 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21195 <libm-alias-float.h>.
21196 (powf): Define using libm_alias_float, or libm_alias_float_other
21198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21199 <libm-alias-float.h>.
21200 (cosf): Define using libm_alias_float.
21201 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21202 <libm-alias-float.h>.
21203 (sincosf): Define using libm_alias_float.
21204 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21205 <libm-alias-float.h>.
21206 (sinf): Define using libm_alias_float.
21207 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21208 (fmaxf): Define using libm_alias_float.
21209 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21210 (fminf): Define using libm_alias_float.
21211 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21212 <libm-alias-float.h>.
21213 (fmaf): Define using libm_alias_float.
21215 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21216 (asinh): Define using libm_alias_double.
21217 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21218 (atan): Define using libm_alias_double.
21219 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21220 (cbrt): Define using libm_alias_double.
21221 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21222 (ceil): Define using libm_alias_double.
21223 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21224 (copysign): Define using libm_alias_double.
21225 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21226 (expm1): Define using libm_alias_double.
21227 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21228 (fabs): Define using libm_alias_double.
21229 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21230 (fdim): Define using libm_alias_double.
21231 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21232 (floor): Define using libm_alias_double.
21233 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21234 (fmax): Define using libm_alias_double.
21235 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21236 (fmin): Define using libm_alias_double.
21237 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21238 (frexp): Define using libm_alias_double.
21239 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21240 (llrint): Define using libm_alias_double.
21241 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21242 (logb): Define using libm_alias_double.
21243 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21244 (lrint): Define using libm_alias_double.
21245 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21246 (nearbyint): Define using libm_alias_double.
21247 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21248 (remquo): Define using libm_alias_double.
21249 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21250 (rint): Define using libm_alias_double.
21251 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21252 (trunc): Define using libm_alias_double.
21253 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21254 (fmax): Define using libm_alias_double.
21255 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21256 (fmin): Define using libm_alias_double.
21257 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21258 (fma): Define using libm_alias_double.
21260 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21263 * elf/dl-hwcaps.c (ROUND): Removed.
21264 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21265 and ELF_NOTE_NEXT_OFFSET.
21266 * elf/dl-load.c (ROUND): Removed.
21267 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21268 * elf/readelflib.c (ROUND): Removed.
21269 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21270 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21271 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21272 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21274 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21276 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21277 [!__fmaf] (fmaf): Define using libm_alias_float.
21279 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21280 [!__fma] (fma): Define using libm_alias_double.
21281 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21283 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21286 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21287 and implement the collation rules for cs from CLDR on top of that.
21288 * Makefile: Add cs_CZ.UTF-8 to test-input.
21289 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21291 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21293 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21295 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21296 Icarus Sparry <icarus.w.sparry@intel.com>
21298 * benchtests/Makefile:Add BENCHSET to allow subsets of
21299 benchmarks to be run.
21300 * benchtests/README: Add documentation for: Running subsets of
21303 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21305 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21306 range of tests names.
21308 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21309 result from property and remove "max", min" and "mean" from
21310 required properties based on benchtests/bench-skeleton.c.
21312 2017-11-28 Florian Weimer <fweimer@redhat.com>
21315 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21316 due to Internet requirement.
21317 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21319 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21321 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21324 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21325 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21326 (sysdep_routines): Add memset-ultra1.
21327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21330 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21331 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21332 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21333 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21334 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21335 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21340 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21341 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21342 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21343 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21344 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21345 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21346 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21348 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21349 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21350 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21351 (sysdep_routines): Add memcpy-ultra1.
21352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21355 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21357 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21358 (cfloat_versions): Take function argument without trailing 'f'.
21359 Call libm_alias_float_other.
21360 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21361 * sysdeps/alpha/fpu/cargf.c: Likewise.
21362 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21363 * sysdeps/alpha/fpu/conjf.c: Likewise.
21364 * sysdeps/alpha/fpu/crealf.c: Likewise.
21365 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21366 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21367 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21368 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21369 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21370 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21371 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21372 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21373 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21374 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21375 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21376 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21377 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21378 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21379 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21380 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21381 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21382 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21383 (clog10f): Use libm_alias_float_other.
21384 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21385 (ceilf): Define using libm_alias_float.
21386 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21387 (copysignf): Define using libm_alias_float.
21388 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21389 (fabsf): Define using libm_alias_float.
21390 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21391 (floorf): Define using libm_alias_float.
21392 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21393 (fmaxf): Define using libm_alias_float.
21394 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21395 (fminf): Define using libm_alias_float.
21396 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21397 (lrintf): Define using libm_alias_float.
21398 (llrintf): Likewise.
21399 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21400 (lroundf): Define using libm_alias_float.
21401 (llroundf): Likewise.
21402 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21403 (rintf): Define using libm_alias_float.
21404 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21405 (truncf): Define using libm_alias_float.
21407 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21408 (ceilf): Define using libm_alias_float.
21409 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21410 (floorf): Define using libm_alias_float.
21411 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21412 (fmaf): Define using libm_alias_float.
21413 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21414 (fmaxf): Define using libm_alias_float.
21415 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21416 (fminf): Define using libm_alias_float.
21417 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21418 (llrintf): Define using libm_alias_float.
21419 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21420 (llroundf): Define using libm_alias_float.
21421 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21422 (lrintf): Define using libm_alias_float.
21423 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21424 (lroundf): Define using libm_alias_float.
21425 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21426 <libm-alias-float.h>.
21427 (nearbyintf): Define using libm_alias_float.
21428 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21429 (rintf): Define using libm_alias_float.
21430 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21431 (roundf): Define using libm_alias_float.
21432 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21433 (truncf): Define using libm_alias_float.
21435 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21436 (ceil): Define using libm_alias_double.
21437 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21438 (copysign): Define using libm_alias_double.
21439 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21440 (fabs): Define using libm_alias_double.
21441 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21442 (floor): Define using libm_alias_double.
21443 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21444 (fmax): Define using libm_alias_double.
21445 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21446 (fmin): Define using libm_alias_double.
21447 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21448 (lrint): Define using libm_alias_double.
21449 (llrint): Likewise.
21450 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21451 (lround): Define using libm_alias_double.
21452 (llround): Likewise.
21453 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21454 (rint): Define using libm_alias_double.
21455 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21456 (trunc): Define using libm_alias_double.
21458 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21459 (libm_alias_double_r): Add semicolon after weak_alias call.
21461 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21463 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21464 (ceil): Define using libm_alias_double.
21465 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21466 (floor): Define using libm_alias_double.
21467 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21468 (fma): Define using libm_alias_double.
21469 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21470 (fmax): Define using libm_alias_double.
21471 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21472 (fmin): Define using libm_alias_double.
21473 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21474 (llrint): Define using libm_alias_double.
21475 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21476 (llround): Define using libm_alias_double.
21477 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21478 (lrint): Define using libm_alias_double.
21479 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21480 (lround): Define using libm_alias_double.
21481 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21482 (nearbyint): Define using libm_alias_double.
21483 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21484 (rint): Define using libm_alias_double.
21485 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21486 (round): Define using libm_alias_double.
21487 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21488 (trunc): Define using libm_alias_double.
21490 2017-11-27 Florian Weimer <fweimer@redhat.com>
21492 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21493 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21494 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21495 (tests): Add tst-mlock2.
21496 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21497 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21498 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21499 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21500 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21501 for mlock. Document mlock2.
21503 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21505 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21506 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21508 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21510 * sysdeps/x86/Makeconfig: New file.
21511 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21512 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21513 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21514 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21515 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21516 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21517 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21519 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21520 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21521 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21522 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21523 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21524 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21525 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21526 * manual/math.texi (Mathematics): Document support for _Float64x.
21527 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21528 * stdlib/Versions (GLIBC_2.27): Likewise.
21529 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21531 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21533 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21558 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21560 2017-11-27 Andreas Schwab <schwab@suse.de>
21562 * elf/Makefile (dl-routines): Add dl-sort-maps.
21563 * elf/dl-sort-maps.c: New file.
21564 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21565 (_dl_sort_maps): Declare.
21566 * elf/dl-fini.c (_dl_sort_fini): Remove.
21567 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21568 * elf/dl-close.c (_dl_close_worker): Likewise.
21569 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21571 * elf/dl-open.c (dl_open_worker): Likewise.
21573 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21575 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21576 using libm_alias_float128.
21577 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21579 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21581 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21582 (setpayloadsigf128): Likewise.
21583 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21585 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21588 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21589 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21590 -mfloat128 to CFLAGS.
21592 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21594 (CFLAGS-libm-test-support-float64x.c): New variable.
21595 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21596 $(f128-loader-link) to gnulib-tests.
21598 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21599 (libm_alias_float128_other_r): If
21600 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21602 (libm_alias_float128_r): Add semicolon after weak_alias call.
21603 * sysdeps/generic/libm-alias-ldouble.h
21604 (libm_alias_ldouble_other_r_f128): New macro.
21605 (libm_alias_ldouble_other_r_f64x): Likewise.
21606 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21607 and libm_alias_ldouble_other_r_f64x.
21608 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21609 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21610 (libm_alias_ldouble_other_r_f128): New macro.
21611 (libm_alias_ldouble_other_r_f64x): Likewise.
21612 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21613 and libm_alias_ldouble_other_r_f64x.
21615 * stdlib/strfroml.c: Always include <stdlib.h>.
21616 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21617 undefine as macro and define as weak alias.
21618 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21619 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21621 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21622 Define and later undefine as macro and define as weak alias.
21624 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21625 Define and later undefine as macro. Define as weak alias if
21627 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21628 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21629 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21630 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21631 Define and later undefine as macro. Define as weak alias if
21633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21634 Define and later undefine as macro. Define as weak alias if
21636 * sysdeps/ieee754/float128/strtof128_l.c
21637 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21638 Define and later undefine as macro. Define as weak alias if
21640 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21641 Define and later undefine as macro. Define as weak alias if
21643 * sysdeps/ieee754/ldbl-128/strtold_l.c
21644 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21645 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21646 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21647 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21648 * sysdeps/ieee754/ldbl-64-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-96/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].
21659 * math/test-float64x.h: New file.
21660 * math/Makefile (type-float64x-yes): New variable.
21661 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21663 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21664 function-like macro.
21665 (min_of_type_): Likewise.
21666 (min_of_type_l): Likewise.
21667 (min_of_type_f128): Likewise.
21668 (min_of_type): Pass () as last argument of __MATH_TG.
21670 * stdlib/tst-strtod-round-skeleton.c
21671 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21674 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21675 for combinations of long double with _Float64 and _Float64x.
21677 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21678 (__DECL_SIMD_cosf32): Likewise.
21679 (__DECL_SIMD_cosf64): Likewise.
21680 (__DECL_SIMD_cosf32x): Likewise.
21681 (__DECL_SIMD_cosf64x): Likewise.
21682 (__DECL_SIMD_cosf128x): Likewise.
21683 (__DECL_SIMD_sinf16): Likewise.
21684 (__DECL_SIMD_sinf32): Likewise.
21685 (__DECL_SIMD_sinf64): Likewise.
21686 (__DECL_SIMD_sinf32x): Likewise.
21687 (__DECL_SIMD_sinf64x): Likewise.
21688 (__DECL_SIMD_sinf128x): Likewise.
21689 (__DECL_SIMD_sincosf16): Likewise.
21690 (__DECL_SIMD_sincosf32): Likewise.
21691 (__DECL_SIMD_sincosf64): Likewise.
21692 (__DECL_SIMD_sincosf32x): Likewise.
21693 (__DECL_SIMD_sincosf64x): Likewise.
21694 (__DECL_SIMD_sincosf128x): Likewise.
21695 (__DECL_SIMD_logf16): Likewise.
21696 (__DECL_SIMD_logf32): Likewise.
21697 (__DECL_SIMD_logf64): Likewise.
21698 (__DECL_SIMD_logf32x): Likewise.
21699 (__DECL_SIMD_logf64x): Likewise.
21700 (__DECL_SIMD_logf128x): Likewise.
21701 (__DECL_SIMD_expf16): Likewise.
21702 (__DECL_SIMD_expf32): Likewise.
21703 (__DECL_SIMD_expf64): Likewise.
21704 (__DECL_SIMD_expf32x): Likewise.
21705 (__DECL_SIMD_expf64x): Likewise.
21706 (__DECL_SIMD_expf128x): Likewise.
21707 (__DECL_SIMD_powf16): Likewise.
21708 (__DECL_SIMD_powf32): Likewise.
21709 (__DECL_SIMD_powf64): Likewise.
21710 (__DECL_SIMD_powf32x): Likewise.
21711 (__DECL_SIMD_powf64x): Likewise.
21712 (__DECL_SIMD_powf128x): Likewise.
21714 * stdlib/Versions (libc): Move entries for wcstof128 and
21715 wcstof128_l to ....
21716 * wcsmbs/Versions (libc): ... here.
21717 Include <float128-abi.h>.
21719 2017-11-24 Florian Weimer <fweimer@redhat.com>
21721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21722 bits/mman-shared.h.
21723 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21724 <bits/mman-shared.h>.
21725 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21727 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21728 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21729 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21730 <bits/mman-shared.h>.
21732 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21735 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21736 posix_memalign/free.
21737 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21739 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21742 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21743 and implement the collation rules for pl from CLDR on top of that.
21744 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21745 of locales to be built for testing.
21746 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21748 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21750 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21751 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21752 libm_alias_ldouble_other.
21753 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21754 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21755 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21756 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21757 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21758 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21759 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21760 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21761 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21762 libm_alias_ldouble_r.
21763 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21764 libm_alias_ldouble_other.
21765 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21766 (log10l): Likewise.
21767 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21768 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21769 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21770 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21771 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21772 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21773 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21774 (atan2l): Likewise.
21775 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21776 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21777 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21778 libm_alias_ldouble.
21779 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21781 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21782 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21783 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21785 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21786 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21787 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21788 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21789 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21790 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21791 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21792 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21793 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21794 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21795 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21796 libm_alias_ldouble.
21797 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21798 libm_alias_ldouble_other.
21799 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21800 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21801 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21802 libm_alias_ldouble.
21803 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21804 libm_alias_ldouble_other.
21805 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21806 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21807 * sysdeps/ia64/fpu/w_lgammal_main.c
21808 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21809 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21811 2017-11-23 Florian Weimer <fweimer@redhat.com>
21813 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21814 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21815 alike. Remove freeres marker.
21816 * malloc/arena.c (arena_thread_freeres): Call
21817 tcache_thread_shutdown.
21819 2017-11-23 Florian Weimer <fweimer@redhat.com>
21822 Export nscd hash function as __nss_hash.
21823 * include/nss.h (__nss_hash): Declare.
21824 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21826 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21827 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21829 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21830 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21831 * nss/Makefiles (routines): Add nss_hash.
21832 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21833 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21834 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21835 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21837 2017-11-23 Florian Weimer <fweimer@redhat.com>
21840 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21841 Return error code, not -1.
21842 * signal/tst-sigwait-eintr.c: New file.
21843 * signal/Makefile (tests): Add tst-sigwait-eintr.
21845 2017-11-23 Florian Weimer <fweimer@redhat.com>
21847 Linux: Add memfd_create system call wrapper
21848 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21850 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21851 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21852 [__USE_GNU] (memfd_create): Declare.
21853 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21854 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21855 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21856 * sysdeps/unix/sysv/linux/**.abilist: Update.
21857 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21859 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21861 * localedata/gen-locale.sh: Fix typo in variable name.
21863 * resolv/res_debug.c (p_secstodate): Condition definition on
21864 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21865 directly as __p_secstodate, and as a compat symbol. Do not use
21866 libresolv_hidden_def.
21867 * resolv/resolv.h (p_secstodate): Remove macro and function
21869 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21870 using p_secstodate.
21871 * include/resolv.h (__p_secstodate): Do not use
21872 libresolv_hidden_proto.
21873 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21874 (tests-internal): ... here.
21875 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21876 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21877 and declare and use __p_secstodate and use compat_symbol_reference
21879 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21880 implementation returning 77.
21883 * resolv/res_debug.c: Include <libc-diag.h>.
21884 (p_secstodate): Assert time_t at least as wide as u_long. On
21885 overflow, use integer seconds since the epoch as output, or use
21886 "<overflow>" as output and set errno to EOVERFLOW if integer
21887 seconds since the epoch would be 14 or more characters.
21888 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21890 * resolv/tst-p_secstodate.c: New file.
21891 * resolv/Makefile (tests): Add tst-p_secstodate.
21892 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21894 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21895 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21896 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21898 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21900 * posix/regcomp.c (init_word_char): Add comments.
21902 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21905 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21906 strlen to compute length of ut_user and set trailing NUL byte of
21909 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21912 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21913 using “copy "iso14651_t1"” and then implementing the
21914 collation rules for lv from CLDR on top of that.
21915 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21916 of locales to be built for testing.
21917 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21920 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21922 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21923 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21924 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21925 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21926 [__USE_MISC] (MADV_HWPOISON): New macro.
21927 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21929 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21931 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21932 -Wmissing-braces on GCC 4.9.
21934 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21936 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21937 * sysdeps/s390/s390-32/start.S (_start): Likewise
21938 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21939 (thread_start): Likewise.
21940 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21941 (thread_start): Likewise.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21943 (__makecontext_ret): Likewise.
21944 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21945 (__makecontext_ret): Likewise.
21947 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21949 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21950 __wcschrnul): Remove attribute_hidden.
21952 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21954 regex: don't assume uint64_t or uint32_t
21955 This avoids -Werror=overflow errors for 32-bit systems in
21956 the 64-bit case. Problem reported by Joseph Myers in:
21957 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21958 Also, when this code is used in Gnulib it ports to platforms
21959 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21960 them, and on some 32-bit compilers there is no uint64_t.
21961 Problem reported by Gianluigi Tiesi in:
21962 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21963 * posix/regcomp.c (init_word_char): Don't assume that the types
21964 uint64_t and uint32_t exist. Adapted from Gnulib patch
21965 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21966 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21968 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21970 * sysdeps/aarch64/memset-reg.h: New file.
21971 * sysdeps/aarch64/memset.S: Use it.
21972 (__memset): Rename to MEMSET macro.
21973 [ZVA_MACRO]: Use zva_macro.
21974 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21975 Add memset_generic and memset_falkor.
21976 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21977 (__libc_ifunc_impl_list): Add memset ifuncs.
21978 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21979 local variable zva_size.
21980 * sysdeps/aarch64/multiarch/memset.c: New file.
21981 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21982 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21983 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21984 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21985 (DCZID_DZP_MASK): New macro.
21986 (DCZID_BS_MASK): Likewise.
21987 (init_cpu_features): Read and set zva_size.
21988 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21989 (struct cpu_features): New member zva_size.
21991 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21992 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21993 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21995 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21996 backwards. Fix timing computation.
21997 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21998 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21999 on memset by N at a time. Fix timing computation.
22001 2017-11-20 Florian Weimer <fweimer@redhat.com>
22003 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22004 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22006 2017-11-19 Florian Weimer <fweimer@redhat.com>
22008 manual: Document mprotect
22009 * manual/memory.texi (Memory Protection): New section.
22010 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22011 documentation of PROT_* flags and reference the Memory Protection
22014 2017-11-19 Florian Weimer <fweimer@redhat.com>
22016 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22017 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22018 (Scatter-Gather): ... to here. Remove misleading comment.
22020 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22022 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22025 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22026 when /proc/<pid>/setgroups does not exist.
22028 2017-11-18 Florian Weimer <fweimer@redhat.com>
22030 * sysdeps/unix/sysv/linux/tst-ttyname.c
22031 (become_root_in_mount_ns): Remove.
22032 (do_in_chroot_1): Call support_enter_mount_namespace.
22033 (do_in_chroot_2): Likewise.
22034 (do_test): Call support_become_root early.
22036 2017-11-18 Florian Weimer <fweimer@redhat.com>
22038 * support/namespace.h (support_enter_mount_namespace): Declare.
22039 * support/support_enter_mount_namespace.c: New file.
22040 * support/Makefile (libsupport-routines): Add
22041 support_enter_mount_namespace.
22043 2017-11-18 Florian Weimer <fweimer@redhat.com>
22045 * support/temp_file.c (support_create_temp_directory): Use
22046 test_dir and do not rely on the presence of the XXXXXX suffix.
22047 * support/temp_file.h (support_create_temp_directory): Update
22049 * support/tst-xreadlink.c (do_test): Adjust.
22050 * support/support_chroot.c (support_chroot_create): Likewise.
22052 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22054 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22056 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22059 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22061 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22062 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22063 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22064 (ceill): Define using libm_alias_ldouble.
22065 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22066 <libm-alias-ldouble.h>.
22067 (copysignl): Define using libm_alias_ldouble.
22068 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22069 (fabsl): Define using libm_alias_ldouble.
22070 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22071 (floorl): Define using libm_alias_ldouble.
22072 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22073 (fmaxl): Define using libm_alias_ldouble.
22074 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22075 (fminl): Define using libm_alias_ldouble.
22076 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22077 (llrintl): Define using libm_alias_ldouble.
22078 (lrintl): Likewise.
22079 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22080 <libm-alias-ldouble.h>.
22081 (nearbyintl): Define using libm_alias_ldouble.
22082 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22083 (truncl): Define using libm_alias_ldouble.
22084 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22085 <libm-alias-ldouble.h>.
22086 (lrintl): Define using libm_alias_ldouble.
22088 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22089 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22090 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22091 (asinhl): Define using libm_alias_ldouble.
22092 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22093 (atanl): Define using libm_alias_ldouble.
22094 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22095 (cbrtl): Define using libm_alias_ldouble.
22096 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22097 (ceill): Define using libm_alias_ldouble.
22098 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22099 (copysignl): Define using libm_alias_ldouble.
22100 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22101 (fabsl): Define using libm_alias_ldouble.
22102 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22103 (floorl): Define using libm_alias_ldouble.
22104 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22105 (fmaxl): Define using libm_alias_ldouble.
22106 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22107 (fminl): Define using libm_alias_ldouble.
22108 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22109 (frexpl): Define using libm_alias_ldouble.
22110 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22111 (llrintl): Define using libm_alias_ldouble.
22112 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22113 (logbl): Define using libm_alias_ldouble.
22114 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22115 (lrintl): Define using libm_alias_ldouble.
22116 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22117 (nearbyintl): Define using libm_alias_ldouble.
22118 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22119 (nextafterl): Define using libm_alias_ldouble.
22120 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22121 (remquol): Define using libm_alias_ldouble.
22122 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22123 (rintl): Define using libm_alias_ldouble.
22124 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22125 (truncl): Define using libm_alias_ldouble.
22126 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22127 (fmaxl): Define using libm_alias_ldouble.
22128 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22129 (fminl): Define using libm_alias_ldouble.
22131 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22132 to C syntax instead of availability and properties of types.
22133 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22134 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22135 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22136 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22137 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22138 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22140 2017-11-17 Florian Weimer <fweimer@redhat.com>
22142 support_become_root: Enable file creation in namespaces.
22143 * support/support_become_root.c (setup_mapping): New function.
22144 (support_become_root): Call it.
22146 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22148 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22151 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22153 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22154 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22156 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22158 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22160 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22163 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22165 * INSTALL: Fix botched up regeneration.
22167 * NEWS: Update sourceare link to https.
22168 * configure.ac: Likewise.
22169 * crypt/md5test-giant.c: Likewise.
22170 * dlfcn/bug-atexit1.c: Likewise.
22171 * dlfcn/bug-atexit2.c: Likewise.
22172 * localedata/README: Likewise.
22173 * malloc/tst-mallocfork.c: Likewise.
22174 * manual/install.texi: Likewise.
22175 * nptl/tst-pthread-getattr.c: Likewise.
22176 * stdio-common/tst-fgets.c: Likewise.
22177 * stdio-common/tst-fwrite.c: Likewise.
22178 * sunrpc/Makefile: Likewise.
22179 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22180 * wcsmbs/tst-mbrtowc2.c: Likewise.
22181 * configure: Regenerate.
22182 * INSTALL: Regenerate.
22184 2017-11-15 Martin Sebor <msebor@redhat.com>
22186 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22187 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22188 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22190 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22193 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22194 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22198 Defer is_pty check until end of the function.
22199 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22202 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22203 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22204 (ttyname): Likewise.
22205 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22206 (__ttyname_r): Likewise.
22208 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22211 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22213 * manual/terminal.texi (Is It a Terminal):
22214 Mention ENODEV for ttyname and ttyname_r.
22216 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22218 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22219 constant and macro.
22221 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22222 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22223 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22224 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22225 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22226 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22228 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22230 * signal/sigrelse.c (sigrelse): Optimize implementation.
22232 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22233 (__sigpause): Rely on __sigsuspend to implement single thread
22234 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22236 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22238 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22239 kernel version to 4.14.
22241 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22244 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22245 Check if ifname is too long.
22247 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22249 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22251 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22253 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22254 was accidentally lost.
22256 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22258 * localedata/locales/az_IR: Add standard copyright header.
22260 2017-11-15 Florian Weimer <fweimer@redhat.com>
22263 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22264 not just the top one. Output a new "subheaps" statistic.
22266 2017-11-15 Florian Weimer <fweimer@redhat.com>
22269 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22270 under the per-arena lock.
22271 * malloc/Makefile (tests): Add tst-malloc_info.
22272 (tst-malloc_info): Link with libpthread.
22273 * malloc/tst-malloc_info.c: New file.
22275 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22278 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22279 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22280 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22281 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22282 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22283 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22284 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22285 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22286 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22287 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22288 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22289 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22290 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22293 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22294 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22295 (__floating_type): Likewise.
22296 (__real_integer_type): Likewise.
22297 (__complex_integer_type): Likewise.
22298 (__expr_is_real): Likewise.
22299 (__tgmath_real_type_sub): Likewise.
22300 (__tgmath_real_type): Likewise.
22301 (__tgmath_complex_type_sub): Likewise.
22302 (__tgmath_complex_type): Likewise.
22303 (__TGMATH_F128): Likewise.
22304 (__TGMATH_CF128): Likewise.
22305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22307 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22312 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22313 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22314 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22315 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22318 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22325 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22326 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22330 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22332 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22333 for stpncpy calls for GCC 8.
22334 (test_strncat): Disable -Wstringop-truncation warning for strncat
22335 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22336 strncat call for GCC 7.
22337 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22339 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22342 * string/bug-strncat1.c: Include <libc-diag.h>.
22343 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22345 2017-11-13 Claude Paroz <claude@2xlibre.net>
22348 * localedata/locales/aa_DJ: Improved readibility by replacing
22349 <Uxxxx> sequences in the ASCII printable range by their ASCII
22350 character equivalents.
22351 * localedata/locales/aa_ER: Likewise.
22352 * localedata/locales/aa_ER@saaho: Likewise.
22353 * localedata/locales/aa_ET: Likewise.
22354 * localedata/locales/af_ZA: Likewise.
22355 * localedata/locales/agr_PE: Likewise.
22356 * localedata/locales/ak_GH: Likewise.
22357 * localedata/locales/am_ET: Likewise.
22358 * localedata/locales/anp_IN: Likewise.
22359 * localedata/locales/ar_AE: Likewise.
22360 * localedata/locales/ar_BH: Likewise.
22361 * localedata/locales/ar_DZ: Likewise.
22362 * localedata/locales/ar_EG: Likewise.
22363 * localedata/locales/ar_IN: Likewise.
22364 * localedata/locales/ar_IQ: Likewise.
22365 * localedata/locales/ar_JO: Likewise.
22366 * localedata/locales/ar_KW: Likewise.
22367 * localedata/locales/ar_LB: Likewise.
22368 * localedata/locales/ar_LY: Likewise.
22369 * localedata/locales/ar_MA: Likewise.
22370 * localedata/locales/ar_OM: Likewise.
22371 * localedata/locales/ar_QA: Likewise.
22372 * localedata/locales/ar_SA: Likewise.
22373 * localedata/locales/ar_SD: Likewise.
22374 * localedata/locales/ar_SS: Likewise.
22375 * localedata/locales/ar_SY: Likewise.
22376 * localedata/locales/ar_TN: Likewise.
22377 * localedata/locales/ar_YE: Likewise.
22378 * localedata/locales/as_IN: Likewise.
22379 * localedata/locales/ast_ES: Likewise.
22380 * localedata/locales/ayc_PE: Likewise.
22381 * localedata/locales/az_AZ: Likewise.
22382 * localedata/locales/az_IR: Likewise.
22383 * localedata/locales/be_BY: Likewise.
22384 * localedata/locales/be_BY@latin: Likewise.
22385 * localedata/locales/bem_ZM: Likewise.
22386 * localedata/locales/ber_DZ: Likewise.
22387 * localedata/locales/ber_MA: Likewise.
22388 * localedata/locales/bg_BG: Likewise.
22389 * localedata/locales/bhb_IN: Likewise.
22390 * localedata/locales/bho_IN: Likewise.
22391 * localedata/locales/bi_VU: Likewise.
22392 * localedata/locales/bn_BD: Likewise.
22393 * localedata/locales/bn_IN: Likewise.
22394 * localedata/locales/bo_CN: Likewise.
22395 * localedata/locales/bo_IN: Likewise.
22396 * localedata/locales/br_FR: Likewise.
22397 * localedata/locales/brx_IN: Likewise.
22398 * localedata/locales/bs_BA: Likewise.
22399 * localedata/locales/byn_ER: Likewise.
22400 * localedata/locales/ca_AD: Likewise.
22401 * localedata/locales/ca_ES: Likewise.
22402 * localedata/locales/ca_FR: Likewise.
22403 * localedata/locales/ca_IT: Likewise.
22404 * localedata/locales/ce_RU: Likewise.
22405 * localedata/locales/chr_US: Likewise.
22406 * localedata/locales/cmn_TW: Likewise.
22407 * localedata/locales/crh_UA: Likewise.
22408 * localedata/locales/cs_CZ: Likewise.
22409 * localedata/locales/csb_PL: Likewise.
22410 * localedata/locales/cv_RU: Likewise.
22411 * localedata/locales/cy_GB: Likewise.
22412 * localedata/locales/da_DK: Likewise.
22413 * localedata/locales/de_AT: Likewise.
22414 * localedata/locales/de_BE: Likewise.
22415 * localedata/locales/de_CH: Likewise.
22416 * localedata/locales/de_DE: Likewise.
22417 * localedata/locales/de_IT: Likewise.
22418 * localedata/locales/de_LI: Likewise.
22419 * localedata/locales/de_LU: Likewise.
22420 * localedata/locales/doi_IN: Likewise.
22421 * localedata/locales/dv_MV: Likewise.
22422 * localedata/locales/dz_BT: Likewise.
22423 * localedata/locales/el_CY: Likewise.
22424 * localedata/locales/el_GR: Likewise.
22425 * localedata/locales/en_AG: Likewise.
22426 * localedata/locales/en_AU: Likewise.
22427 * localedata/locales/en_BW: Likewise.
22428 * localedata/locales/en_CA: Likewise.
22429 * localedata/locales/en_DK: Likewise.
22430 * localedata/locales/en_GB: Likewise.
22431 * localedata/locales/en_HK: Likewise.
22432 * localedata/locales/en_IE: Likewise.
22433 * localedata/locales/en_IL: Likewise.
22434 * localedata/locales/en_IN: Likewise.
22435 * localedata/locales/en_NG: Likewise.
22436 * localedata/locales/en_NZ: Likewise.
22437 * localedata/locales/en_PH: Likewise.
22438 * localedata/locales/en_SG: Likewise.
22439 * localedata/locales/en_US: Likewise.
22440 * localedata/locales/en_ZA: Likewise.
22441 * localedata/locales/en_ZM: Likewise.
22442 * localedata/locales/en_ZW: Likewise.
22443 * localedata/locales/eo: Likewise.
22444 * localedata/locales/es_AR: Likewise.
22445 * localedata/locales/es_BO: Likewise.
22446 * localedata/locales/es_CL: Likewise.
22447 * localedata/locales/es_CO: Likewise.
22448 * localedata/locales/es_CR: Likewise.
22449 * localedata/locales/es_CU: Likewise.
22450 * localedata/locales/es_DO: Likewise.
22451 * localedata/locales/es_EC: Likewise.
22452 * localedata/locales/es_ES: Likewise.
22453 * localedata/locales/es_GT: Likewise.
22454 * localedata/locales/es_HN: Likewise.
22455 * localedata/locales/es_MX: Likewise.
22456 * localedata/locales/es_NI: Likewise.
22457 * localedata/locales/es_PA: Likewise.
22458 * localedata/locales/es_PE: Likewise.
22459 * localedata/locales/es_PR: Likewise.
22460 * localedata/locales/es_PY: Likewise.
22461 * localedata/locales/es_SV: Likewise.
22462 * localedata/locales/es_US: Likewise.
22463 * localedata/locales/es_UY: Likewise.
22464 * localedata/locales/es_VE: Likewise.
22465 * localedata/locales/et_EE: Likewise.
22466 * localedata/locales/eu_ES: Likewise.
22467 * localedata/locales/eu_ES@euro: Likewise.
22468 * localedata/locales/fa_IR: Likewise.
22469 * localedata/locales/ff_SN: Likewise.
22470 * localedata/locales/fi_FI: Likewise.
22471 * localedata/locales/fil_PH: Likewise.
22472 * localedata/locales/fo_FO: Likewise.
22473 * localedata/locales/fr_BE: Likewise.
22474 * localedata/locales/fr_CA: Likewise.
22475 * localedata/locales/fr_CH: Likewise.
22476 * localedata/locales/fr_FR: Likewise.
22477 * localedata/locales/fr_LU: Likewise.
22478 * localedata/locales/fur_IT: Likewise.
22479 * localedata/locales/fy_DE: Likewise.
22480 * localedata/locales/fy_NL: Likewise.
22481 * localedata/locales/ga_IE: Likewise.
22482 * localedata/locales/gd_GB: Likewise.
22483 * localedata/locales/gez_ER: Likewise.
22484 * localedata/locales/gez_ET: Likewise.
22485 * localedata/locales/gl_ES: Likewise.
22486 * localedata/locales/gu_IN: Likewise.
22487 * localedata/locales/gv_GB: Likewise.
22488 * localedata/locales/ha_NG: Likewise.
22489 * localedata/locales/hak_TW: Likewise.
22490 * localedata/locales/he_IL: Likewise.
22491 * localedata/locales/hi_IN: Likewise.
22492 * localedata/locales/hif_FJ: Likewise.
22493 * localedata/locales/hne_IN: Likewise.
22494 * localedata/locales/hr_HR: Likewise.
22495 * localedata/locales/hsb_DE: Likewise.
22496 * localedata/locales/ht_HT: Likewise.
22497 * localedata/locales/hu_HU: Likewise.
22498 * localedata/locales/hy_AM: Likewise.
22499 * localedata/locales/i18n: Likewise.
22500 * localedata/locales/ia_FR: Likewise.
22501 * localedata/locales/id_ID: Likewise.
22502 * localedata/locales/ig_NG: Likewise.
22503 * localedata/locales/ik_CA: Likewise.
22504 * localedata/locales/is_IS: Likewise.
22505 * localedata/locales/it_CH: Likewise.
22506 * localedata/locales/it_IT: Likewise.
22507 * localedata/locales/iu_CA: Likewise.
22508 * localedata/locales/ja_JP: Likewise.
22509 * localedata/locales/ka_GE: Likewise.
22510 * localedata/locales/kk_KZ: Likewise.
22511 * localedata/locales/kl_GL: Likewise.
22512 * localedata/locales/kn_IN: Likewise.
22513 * localedata/locales/ko_KR: Likewise.
22514 * localedata/locales/kok_IN: Likewise.
22515 * localedata/locales/ks_IN: Likewise.
22516 * localedata/locales/ks_IN@devanagari: Likewise.
22517 * localedata/locales/ku_TR: Likewise.
22518 * localedata/locales/kw_GB: Likewise.
22519 * localedata/locales/ky_KG: Likewise.
22520 * localedata/locales/lb_LU: Likewise.
22521 * localedata/locales/lg_UG: Likewise.
22522 * localedata/locales/li_BE: Likewise.
22523 * localedata/locales/li_NL: Likewise.
22524 * localedata/locales/lij_IT: Likewise.
22525 * localedata/locales/ln_CD: Likewise.
22526 * localedata/locales/lo_LA: Likewise.
22527 * localedata/locales/lt_LT: Likewise.
22528 * localedata/locales/lv_LV: Likewise.
22529 * localedata/locales/lzh_TW: Likewise.
22530 * localedata/locales/mag_IN: Likewise.
22531 * localedata/locales/mai_IN: Likewise.
22532 * localedata/locales/mg_MG: Likewise.
22533 * localedata/locales/mhr_RU: Likewise.
22534 * localedata/locales/mi_NZ: Likewise.
22535 * localedata/locales/mk_MK: Likewise.
22536 * localedata/locales/ml_IN: Likewise.
22537 * localedata/locales/mn_MN: Likewise.
22538 * localedata/locales/mni_IN: Likewise.
22539 * localedata/locales/mr_IN: Likewise.
22540 * localedata/locales/ms_MY: Likewise.
22541 * localedata/locales/mt_MT: Likewise.
22542 * localedata/locales/my_MM: Likewise.
22543 * localedata/locales/nan_TW: Likewise.
22544 * localedata/locales/nan_TW@latin: Likewise.
22545 * localedata/locales/nb_NO: Likewise.
22546 * localedata/locales/nds_DE: Likewise.
22547 * localedata/locales/nds_NL: Likewise.
22548 * localedata/locales/ne_NP: Likewise.
22549 * localedata/locales/nhn_MX: Likewise.
22550 * localedata/locales/niu_NU: Likewise.
22551 * localedata/locales/niu_NZ: Likewise.
22552 * localedata/locales/nl_AW: Likewise.
22553 * localedata/locales/nl_BE: Likewise.
22554 * localedata/locales/nl_NL: Likewise.
22555 * localedata/locales/nn_NO: Likewise.
22556 * localedata/locales/nr_ZA: Likewise.
22557 * localedata/locales/nso_ZA: Likewise.
22558 * localedata/locales/oc_FR: Likewise.
22559 * localedata/locales/om_ET: Likewise.
22560 * localedata/locales/om_KE: Likewise.
22561 * localedata/locales/or_IN: Likewise.
22562 * localedata/locales/os_RU: Likewise.
22563 * localedata/locales/pa_IN: Likewise.
22564 * localedata/locales/pa_PK: Likewise.
22565 * localedata/locales/pap_AW: Likewise.
22566 * localedata/locales/pap_CW: Likewise.
22567 * localedata/locales/pl_PL: Likewise.
22568 * localedata/locales/ps_AF: Likewise.
22569 * localedata/locales/pt_BR: Likewise.
22570 * localedata/locales/pt_PT: Likewise.
22571 * localedata/locales/quz_PE: Likewise.
22572 * localedata/locales/raj_IN: Likewise.
22573 * localedata/locales/ro_RO: Likewise.
22574 * localedata/locales/ru_RU: Likewise.
22575 * localedata/locales/ru_UA: Likewise.
22576 * localedata/locales/rw_RW: Likewise.
22577 * localedata/locales/sa_IN: Likewise.
22578 * localedata/locales/sat_IN: Likewise.
22579 * localedata/locales/sc_IT: Likewise.
22580 * localedata/locales/sd_IN: Likewise.
22581 * localedata/locales/sd_IN@devanagari: Likewise.
22582 * localedata/locales/se_NO: Likewise.
22583 * localedata/locales/sgs_LT: Likewise.
22584 * localedata/locales/shs_CA: Likewise.
22585 * localedata/locales/si_LK: Likewise.
22586 * localedata/locales/sid_ET: Likewise.
22587 * localedata/locales/sk_SK: Likewise.
22588 * localedata/locales/sl_SI: Likewise.
22589 * localedata/locales/sm_WS: Likewise.
22590 * localedata/locales/so_DJ: Likewise.
22591 * localedata/locales/so_ET: Likewise.
22592 * localedata/locales/so_KE: Likewise.
22593 * localedata/locales/so_SO: Likewise.
22594 * localedata/locales/sq_AL: Likewise.
22595 * localedata/locales/sq_MK: Likewise.
22596 * localedata/locales/sr_ME: Likewise.
22597 * localedata/locales/sr_RS: Likewise.
22598 * localedata/locales/sr_RS@latin: Likewise.
22599 * localedata/locales/ss_ZA: Likewise.
22600 * localedata/locales/st_ZA: Likewise.
22601 * localedata/locales/sv_FI: Likewise.
22602 * localedata/locales/sv_SE: Likewise.
22603 * localedata/locales/sw_KE: Likewise.
22604 * localedata/locales/sw_TZ: Likewise.
22605 * localedata/locales/szl_PL: Likewise.
22606 * localedata/locales/ta_IN: Likewise.
22607 * localedata/locales/ta_LK: Likewise.
22608 * localedata/locales/tcy_IN: Likewise.
22609 * localedata/locales/te_IN: Likewise.
22610 * localedata/locales/tg_TJ: Likewise.
22611 * localedata/locales/th_TH: Likewise.
22612 * localedata/locales/the_NP: Likewise.
22613 * localedata/locales/ti_ER: Likewise.
22614 * localedata/locales/ti_ET: Likewise.
22615 * localedata/locales/tig_ER: Likewise.
22616 * localedata/locales/tk_TM: Likewise.
22617 * localedata/locales/tl_PH: Likewise.
22618 * localedata/locales/tn_ZA: Likewise.
22619 * localedata/locales/to_TO: Likewise.
22620 * localedata/locales/tpi_PG: Likewise.
22621 * localedata/locales/tr_CY: Likewise.
22622 * localedata/locales/tr_TR: Likewise.
22623 * localedata/locales/ts_ZA: Likewise.
22624 * localedata/locales/tt_RU: Likewise.
22625 * localedata/locales/tt_RU@iqtelif: Likewise.
22626 * localedata/locales/ug_CN: Likewise.
22627 * localedata/locales/uk_UA: Likewise.
22628 * localedata/locales/unm_US: Likewise.
22629 * localedata/locales/ur_IN: Likewise.
22630 * localedata/locales/ur_PK: Likewise.
22631 * localedata/locales/uz_UZ: Likewise.
22632 * localedata/locales/uz_UZ@cyrillic: Likewise.
22633 * localedata/locales/ve_ZA: Likewise.
22634 * localedata/locales/vi_VN: Likewise.
22635 * localedata/locales/wa_BE: Likewise.
22636 * localedata/locales/wae_CH: Likewise.
22637 * localedata/locales/wal_ET: Likewise.
22638 * localedata/locales/wo_SN: Likewise.
22639 * localedata/locales/xh_ZA: Likewise.
22640 * localedata/locales/yi_US: Likewise.
22641 * localedata/locales/yo_NG: Likewise.
22642 * localedata/locales/yue_HK: Likewise.
22643 * localedata/locales/yuw_PG: Likewise.
22644 * localedata/locales/zh_CN: Likewise.
22645 * localedata/locales/zh_HK: Likewise.
22646 * localedata/locales/zh_SG: Likewise.
22647 * localedata/locales/zh_TW: Likewise.
22648 * localedata/locales/zu_ZA: Likewise.
22650 2017-11-13 Florian Weimer <fweimer@redhat.com>
22652 * support/next_to_fault.h, support/next_to_fault.c: New files.
22653 * support/Makefile (libsupport-routines): Add next_to_fault.
22654 * resolv/tst-inet_pton.c (struct next_to_fault)
22655 (next_to_fault_allocate, next_to_fault_free): Remove.
22656 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22658 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22660 * elf/dl-support.c: Include <dl-procruntime.c>.
22661 * include/link.h: Include <link_map.h>.
22662 * sysdeps/generic/dl-procruntime.c: New file.
22663 * sysdeps/generic/link_map.h: Likewise.
22664 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22665 the writable ld.so namespace.
22667 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22669 timezone: pacify GCC -Wstringop-truncation
22670 Problem reported by Martin Sebor in:
22671 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22672 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22674 2017-11-12 Florian Weimer <fweimer@redhat.com>
22676 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22678 (tests): Add tst-xreadlink.
22679 * support/support.h (xstrndup): Declare.
22680 * support/xunistd.h (xunlink, xreadlink): Declare.
22681 * support/temp_file.h (support_create_temp_directory): Declare.
22682 * support/temp_file.c (support_create_temp_directory): New function.
22683 * support/support_chroot.c (support_chroot_create): Use it.
22684 * support/xreadlink.c: New file.
22685 * support/xstrndup.c: Likewise.
22686 * support/xunlink.c: Likewise.
22687 * support/tst-xreadlink.c: Likewise.
22689 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22691 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22693 2017-11-11 Florian Weimer <fweimer@redhat.com>
22697 * resolv/res_comp.c (printable_string, binary_hnok)
22698 (binary_leading_dash): New functions.
22699 (res_hnok): Reimplement using these functions and ns_name_pton.
22700 (res_ownok): Likewise.
22701 (res_mailok): Reimplement using printable_string, ns_name_pton and
22703 (res_dnok): Reimplement using printable_string and ns_name_pton.
22704 * resolv/tst-res_hnok.c (tests): Add additional tests.
22705 (LETTERDIGITS, PRINTABLE): Define.
22706 (do_test): Adjust one_char results.
22708 2017-11-11 Florian Weimer <fweimer@redhat.com>
22711 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22712 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22714 2017-11-11 Florian Weimer <fweimer@redhat.com>
22716 * resolv/tst-ns_name_pton.c: New file.
22717 * resolv/Makefile (tests): Add tst-ns_name_pton.
22718 (tst-ns_name_pton): Link against libresolv.
22720 2017-11-11 Florian Weimer <fweimer@redhat.com>
22722 * resolv/tst-res_hnok.c: New file.
22723 * resolv/Makefile (tests): Add tst-res_hnok.
22724 (tst-res_hnok): Link against libresolv.
22726 2017-11-11 Florian Weimer <fweimer@redhat.com>
22728 * resolv/tst-resolv-network.c: Use test framework instead explicit
22731 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22733 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22734 <jmp_buf-macros.h>.
22735 [!_ISOMAC] (STR_HELPER): New.
22736 [!_ISOMAC] (STR): Likewise.
22737 [!_ISOMAC] (TEST_SIZE): Likewise.
22738 [!_ISOMAC] (TEST_ALIGN): Likewise.
22739 [!_ISOMAC] (TEST_OFFSET): Likewise.
22740 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22741 field offsets of jmp_buf as well as sigjmp_buf.
22742 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22743 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22744 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22745 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22746 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22747 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22748 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22749 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22750 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22751 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22753 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22755 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22760 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22761 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22762 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22763 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22764 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22769 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22770 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22771 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22773 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22777 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22779 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22781 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22783 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22785 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22787 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22789 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22791 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22793 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22795 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22797 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22799 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22801 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22803 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22805 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22807 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22809 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22811 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22813 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22815 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22817 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22819 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22821 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22823 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22825 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22827 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22829 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22831 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22833 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22835 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22837 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22839 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22841 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22843 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22845 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22847 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22849 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22851 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22853 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22855 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22857 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22859 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22861 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22863 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22865 * stdlib/tst-strtod.h (F16): New macro.
22871 (IF_FLOAT16): Likewise.
22872 (IF_FLOAT32): Likewise.
22873 (IF_FLOAT64): Likewise.
22874 (IF_FLOAT32X): Likewise.
22875 (IF_FLOAT64X): Likewise.
22876 (IF_FLOAT128X): Likewise.
22877 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22878 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22879 (STRTOD_TEST_FOREACH): Likewise.
22880 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22881 (CHOOSE_f64): Likewise.
22882 (CHOOSE_f32x): Likewise.
22883 (CHOOSE_f64x): Likewise.
22885 2017-11-07 Andreas Schwab <schwab@suse.de>
22887 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22889 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22892 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22894 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22897 2017-11-07 Claude Paroz <claude@2xlibre.net>
22900 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22902 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22904 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22907 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22910 * nptl/allocatestack.c (allocate_stack): Check if
22911 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22912 __PTHREAD_MUTEX_HAVE_PREV is defined.
22913 * nptl/descr.h (pthread): Likewise.
22914 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22916 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22917 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22918 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22919 * sysdeps/nptl/bits/thread-shared-types.h
22920 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22922 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22923 of __WORDSIZE for internal layout.
22924 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22925 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22926 instead of __WORDSIZE whether to use an union for __spins and __list
22928 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22930 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22931 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22933 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22934 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22936 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22937 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22939 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22940 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22942 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22943 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22945 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22946 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22948 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22949 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22951 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22952 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22954 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22957 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22958 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22960 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22963 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22966 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22969 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22972 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22976 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22978 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22979 checks for expected input type size.
22980 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22981 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22983 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22984 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22985 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22986 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22987 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22988 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22989 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22990 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22991 superflous runtime assert check.
22992 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22994 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22996 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22998 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23000 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23002 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23004 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23005 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23006 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23008 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23010 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23012 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23014 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23016 * nptl/pthread_attr_setinheritsched.c
23017 (__pthread_attr_setinheritsched): Likewise.
23018 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23020 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23022 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23023 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23024 __old_pthread_attr_setstack): Likewise.
23025 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23027 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23029 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23031 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23032 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23034 * nptl/tst-typesizes.c: Remove file.
23036 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23037 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23038 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23039 checks for internal pthread_mutex_t offsets.
23040 * sysdeps/aarch64/nptl/pthread-offsets.h
23041 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23042 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23043 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23044 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23045 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23046 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23047 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23048 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23049 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23050 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23051 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23052 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23053 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23054 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23055 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23056 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23057 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23058 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23060 2017-11-07 Florian Weimer <fweimer@redhat.com>
23062 * bits/mman-linux.h: Move ...
23063 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23065 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23068 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23070 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23071 Redefine STRNLEN as __strnlen_power8.
23073 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23075 * signal/sighold.c (sighold): Optimize implementation.
23077 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23078 __NR_rt_sigqueueinfo.
23080 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23082 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23083 assume __NR_rt_sigtimedwait.
23084 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23085 and add LIBC_CANCEL_HANDLED for cancellation marking.
23086 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23088 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23089 (sysdeps_routines): Add memchr_noneon.
23090 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23091 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23092 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23093 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23094 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23095 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23096 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23098 * sysdeps/arm/arm-ifunc.h: New file.
23099 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23100 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23101 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23102 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23103 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23104 (__memcpy_neon): Avoid create hidden alias.
23105 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23106 (__memcpy_vfp): Likewise.
23107 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23108 (sysdep_routines): Add memcpy_arm.
23109 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23111 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23114 * Makerules (make-link-multidir): New.
23115 * config.make.in (multidir): New.
23116 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23117 * configure: Regenerated.
23118 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23119 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23120 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23123 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23126 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23127 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23129 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23131 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23134 2017-11-04 Florian Weimer <fweimer@redhat.com>
23136 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23138 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23140 * math/math.h [__HAVE_DISTINCT_FLOAT16
23141 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23142 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23143 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23144 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23145 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23146 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23147 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23148 (__MATH_TG_F32): New macro.
23149 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23150 (__MATH_TG_F64X): Likewise.
23151 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23152 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23154 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23156 * po/de.po: Update translations.
23157 * po/ru.po: Likewise.
23159 2017-11-03 Florian Weimer <fweimer@redhat.com>
23161 * manual/filesys.texi (Hard Links): Document linkat.
23163 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23165 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23166 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23167 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23168 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23169 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23170 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23171 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23172 the same as _Float128.
23173 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23174 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23175 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23178 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23180 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23182 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23184 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23185 (strtof32x): Likewise.
23186 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23187 (strtof64x): Likewise.
23188 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23189 (strtof128x): Likewise.
23190 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23191 (strfromf16): Likewise.
23192 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23193 (strfromf32): Likewise.
23194 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23195 (strfromf64): Likewise.
23196 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23197 (strfromf32x): Likewise.
23198 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23199 (strfromf64x): Likewise.
23200 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23201 (strfromf128x): Likewise.
23202 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23203 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23204 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23205 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23206 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23207 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23209 2017-11-03 Richard Henderson <rth@twiddle.net>
23211 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23213 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23215 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23217 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23219 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23220 DT_TLSDESC_GOT initialization.
23221 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23222 (_dl_tlsdesc_resolve_hold): Likewise.
23223 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23224 (_dl_tlsdesc_resolve_hold): Likewise.
23225 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23226 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23228 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23230 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23232 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23235 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23236 non-lazily for R_ARM_TLS_DESC.
23238 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23241 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23242 R_ARM_TLS_DESC case.
23243 (elf_machine_lazy_rel): Remove the prelink check.
23245 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23247 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23248 DT_TLSDESC_GOT initialization.
23249 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23250 (_dl_tlsdesc_resolve_rela): Likewise.
23251 (_dl_tlsdesc_resolve_hold): Likewise.
23252 (_dl_tlsdesc_undefweak): Remove ldar.
23253 (_dl_tlsdesc_dynamic): Likewise.
23254 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23255 (_dl_tlsdesc_resolve_rela): Likewise.
23256 (_dl_tlsdesc_resolve_hold): Likewise.
23257 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23258 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23259 (_dl_tlsdesc_resolve_rela): Likewise.
23260 (_dl_tlsdesc_resolve_hold): Likewise.
23262 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23264 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23265 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23267 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23269 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23270 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23272 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23274 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23276 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23277 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23278 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23279 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23280 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23281 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23282 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23283 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23284 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23285 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23286 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23288 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23291 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23292 * localedata/locales/tpi_PG: Add standard header.
23294 2017-11-02 Florian Weimer <fweimer@redhat.com>
23296 test-errno-linux: quotactl can fail with EPERM in containers.
23297 * sysdeps/unix/sysv/linux/test-errno-linux.c
23298 (LIST, LIST_FORWARD): New macros.
23299 (check_error_in_list): New function.
23300 (test_wrp_rv): Accept list of permitted error codes.
23301 (test_wrp_rv2): Remove.
23302 (test_wrp): Call test_wrp_rv with list of error codes.
23303 (test_wrp2): Accept list of error codes.
23304 (do_test): Adjust. Allow EPERM for quotactl.
23306 2017-11-02 Florian Weimer <fweimer@redhat.com>
23308 * stdio-common/bug16.c (do_test): Use array_length.
23309 * stdio-common/errlist.c (_sys_nerr): Likewise.
23310 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23311 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23312 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23313 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23314 (do_test): Use array_length.
23315 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23316 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23317 * stdio-common/tst-printf-round.c (do_test): Likewise.
23318 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23319 (CHECK): Use array_length.
23320 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23321 * stdio-common/tstscanf.c (main): Likewise.
23322 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23324 2017-11-02 Florian Weimer <fweimer@redhat.com>
23326 Add array_length and array_end macros.
23327 * include/array_length.h: New file.
23329 2017-11-02 Florian Weimer <fweimer@redhat.com>
23332 * posix/tst-glob-tilde.c (do_noescape): New variable.
23333 (one_test): Process it.
23334 (do_test): Set do_noescape. Add unescaping test case.
23336 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23339 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23340 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23341 with appropriate macros defined and undefined.
23342 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23343 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23344 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23345 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23346 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23347 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23348 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23349 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23350 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23351 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23354 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23355 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23356 that for long double. Do not condition define and undefine of
23357 _Mdouble_complex_ on [__CFLOAT128].
23359 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23361 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23362 of <sysdeps/generic/sysdep.h>.
23363 (ALIGNARG): Removed.
23364 (ASM_SIZE_DIRECTIVE): Likewise.
23367 (ENTRY_CHK): Likewise.
23368 (END_CHK): Likewise.
23369 (syscall_error): Likewise.
23370 (mcount): Likewise.
23371 (PSEUDO_END): Likewise.
23373 (atom_text_section): Likewise.
23374 * sysdeps/x86/sysdep.h: New file.
23375 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23376 of <sysdeps/generic/sysdep.h>.
23377 (ALIGNARG): Removed.
23378 (ASM_SIZE_DIRECTIVE): Likewise.
23381 (ENTRY_CHK): Likewise.
23382 (END_CHK): Likewise.
23383 (syscall_error): Likewise.
23384 (mcount): Likewise.
23385 (PSEUDO_END): Likewise.
23387 (atom_text_section): Likewise.
23389 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23391 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23392 category of LC_CTYPE set to "i18n:2012".
23393 * localedata/locales/i18n_ctype: Regenerate.
23395 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23397 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23398 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23399 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23400 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23402 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23403 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23405 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23407 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23410 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23412 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23414 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23416 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23417 (CMPLXF32X): Likewise.
23418 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23419 (CMPLXF64X): Likewise.
23420 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23421 (CMPLXF128X): Likewise.
23424 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23425 (__MATH_EVAL_FMT2): Define to add 0.0f.
23427 2017-10-31 Alan Modra <amodra@gmail.com>
23429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23445 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23446 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23447 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23448 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23450 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23451 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23452 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23453 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23456 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23460 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23462 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23464 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23466 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23467 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23470 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23471 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23472 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23473 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23474 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23475 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23476 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23477 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23478 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23483 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23488 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23491 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23499 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23502 include sysdep.h and math_ldbl_opt.h.
23504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23505 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23531 2017-10-31 Alan Modra <amodra@gmail.com>
23533 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23534 string/strncase_l.c, not string/strncase.c.
23535 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23536 (libc_hidden_def): Redefine.
23538 2017-10-31 Alan Modra <amodra@gmail.com>
23540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23541 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23542 (__strcasecmp): Don't define.
23544 2017-10-31 Alan Modra <amodra@gmail.com>
23546 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23550 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23552 2017-10-31 Alan Modra <amodra@gmail.com>
23554 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23557 2017-10-31 Alan Modra <amodra@gmail.com>
23559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23560 Redefine only when SHARED.
23562 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23564 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23565 Include <bits/math-finite.h> with appropriate macros defined and
23567 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23568 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23569 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23570 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23571 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23573 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23574 [!_Mlong_double_] (_Mlong_double_): Likewise.
23575 [!_Mfloat16_] (_Mfloat16_): Likewise.
23576 [!_Mfloat32_] (_Mfloat32_): Likewise.
23577 [!_Mfloat64_] (_Mfloat64_): Likewise.
23578 [!_Mfloat128_] (_Mfloat128_): Likewise.
23579 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23580 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23581 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23582 (_Mdouble_): Define without indirection through those macros.
23583 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23584 [!_Mfloat128_] (_Mfloat128_): Likewise.
23585 [_Mlong_double_] (_Mlong_double_): Likewise.
23586 (_Mdouble_): Define without indirection through those macros.
23587 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23588 not add -D_Mlong_double_=double.
23589 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23590 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23592 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23594 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23596 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23598 * sysdeps/x86/libc-start.c: Reformat.
23600 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23603 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23604 (1): Renamed to ...
23607 (L(Src2)): Likewise.
23608 (L(1)): Renamed to ...
23611 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23613 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23614 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23615 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23616 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23617 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23618 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23619 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23620 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23621 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23622 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23623 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23624 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23625 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23626 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23627 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23628 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23629 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23630 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23631 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23632 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23633 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23634 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23635 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23636 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23637 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23638 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23639 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23640 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23641 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23642 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23643 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23644 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23645 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23646 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23647 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23648 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23649 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23650 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23651 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23652 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23653 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23654 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23655 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23656 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23657 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23658 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23659 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23660 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23661 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23662 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23663 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23664 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23665 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23666 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23667 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23668 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23669 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23670 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23671 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23672 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23673 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23674 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23675 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23676 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23677 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23678 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23680 2017-10-30 Florian Weimer <fweimer@redhat.com>
23682 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23684 * io/tst-mkdirat.c (do_test): Likewise.
23685 * io/tst-mkfifoat.c (do_test): Likewise.
23686 * io/tst-mknodat.c (do_test): Likewise.
23687 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23688 * locale/programs/locale.c (select_dirs): Likewise.
23689 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23690 * posix/bug-glob2.c (my_readdir): Likewise.
23691 * posix/tst-dir.c (main): Likewise.
23692 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23693 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23695 2017-10-30 Florian Weimer <fweimer@redhat.com>
23697 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23700 2017-10-30 Florian Weimer <fweimer@redhat.com>
23702 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23703 Convert to support/test-driver.c.
23704 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23705 New macro parameters.
23706 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23707 * posix/tst-gnuglob.c: New file.
23708 * posix/tst-gnuglob64.c: Likewise.
23709 * posix/Makefile (tests): Add tst-gnuglob64.
23711 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23714 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23715 and use a better translation for March in “mon”.
23716 * localedata/locales/csb_PL: Use more ASCII to improve the
23717 readability of the source.
23719 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23722 * localedata/locales/km_KH: Use ASCII as much
23723 as possible for better readability of the source and
23724 remove useless comments.
23725 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23726 was commented out and apparently wrong anyway because it was
23727 using Lao characters. If Buddhist era should be used
23728 for km_KH, a native speaker should write the correct formaat
23730 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23731 (According to CLDR, the first weekday for Cambodia is Sunday).
23732 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23733 (These were using Lao characters which must be wrong. If we get
23734 the correct data from a native speaker, we could add it back, until
23735 then it is better not to have name_mr and name_mrs at all than
23738 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23740 * locale/loadlocale.c: Correct size of
23741 _nl_value_type_LC_<category> arrays.
23743 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23745 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23746 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23747 with appropriate macros defined and undefined.
23748 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23749 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23750 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23751 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23752 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23754 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23756 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23759 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23761 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23762 with lowercase letters to make it agree with CLDR.
23764 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23767 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23768 first letters of yesstr and nostr in yesexpr and noexpr,
23769 not for the full words.
23770 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23771 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23772 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23773 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23774 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23775 first letters of yesstr and nostr in yesexpr and noexpr,
23776 until now only English was matched in yesexpr and noexpr.
23777 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23778 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23779 fil but not for tl. As tl and fil are very similar, using fil
23780 is probably better than using English.
23782 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23785 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23786 in yesstr and nostr.
23788 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23790 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23791 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23792 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23794 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23796 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23798 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23800 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23801 (SNANF128X): Likewise.
23803 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23804 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23805 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23806 (HUGE_VAL_F32): Likewise.
23807 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23808 (HUGE_VAL_F64): Likewise.
23809 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23810 (HUGE_VAL_F32X): Likewise.
23811 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23812 (HUGE_VAL_F64X): Likewise.
23813 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23814 (HUGE_VAL_F128X): Likewise.
23816 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23818 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23819 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23820 for the br_FR locale.
23822 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23825 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23827 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23829 * locale/programs/record-status.h: Define globals, and function
23830 prototypes. Move function bodies...
23831 * locale/programs/record-status.c: ... to here. New file.
23832 * iconv/Makefile (iconv_prog-modules): Add record-status.
23833 * locale/Makefile (lib-modules): Likewise.
23834 * iconv/iconv_prog.c: Remove verbose.
23835 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23836 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23837 record a warning about ASCII compatibility.
23838 * locale/programs/ld-monetary.c (monetary_finish): If
23839 warn_int_curr_symbol is true then record a warning about the symbol
23840 not being in our ISO 4217 list.
23841 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23842 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23843 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23844 (OPT_NO_WARN): Define.
23845 (OPT_WARN): Define.
23846 (options): Add entry for --no-warnings, and --warnings.
23847 (set_warnings): New function to enable/disable warnings.
23848 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23849 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23850 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23851 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23852 Pass flags to generate_locale.
23853 (generate_locale): Accept new flag argument and pass it to localedef
23855 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23856 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23858 * localedata/Makefile (test-input-data): Use full file name.
23859 * localedata/da_DK.in: Rename to...
23860 * localedata/da_DK.ISO-8859-1.in: ...this.
23861 * localedata/de_DE.in: Rename to...
23862 * localedata/de_DE.ISO-8859-1.in: ...this.
23863 * localedata/en_US.in: Rename to...
23864 * localedata/en_US.ISO-8859-1.in: ...this.
23865 * localedata/fr_FR.in: Rename to...
23866 * localedata/fr_FR.UTF-8.in: ... this.
23867 * localedata/hr_HR.in: Rename to...
23868 * localedata/hr_HR.ISO-8859-2.in: ...this.
23869 * localedata/hu_HU.in: Rename to...
23870 * localedata/hu_HU.UTF-8.in: ...this.
23871 * localedata/si_LK.in: Rename to...
23872 * localedata/si_LK.UTF-8.in: ...this.
23873 * localedata/sv_SE.in: Rename to...
23874 * localedata/sv_SE.ISO-8859-1.in: ...this.
23875 * localedata/tr_TR.in: Rename to...
23876 * localedata/tr_TR.UTF-8.in: ...this.
23877 * localedata/uk_UA.in: Rename to...
23878 * localedata/uk_UA.UTF-8.in: ...this.
23879 * localedata/sort-test.sh: Test file is locale name with the
23882 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23883 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23885 * localedata/locales/i18n_ctype: Regenerate.
23886 * localedata/locales/tr_TR: Likewise.
23887 * localedata/locales/translit_circle: Likewise.
23888 * localedata/locales/translit_cjk_compat: Likewise.
23889 * localedata/locales/translit_combining: Likewise.
23890 * localedata/locales/translit_compat: Likewise.
23891 * localedata/locales/translit_font: Likewise.
23892 * localedata/locales/translit_fraction: Likewise.
23894 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23897 lxvd2x/stxvd2x with lvx/stvx.
23898 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23900 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23902 * include/alloc_buffer.h: Replace "if if " with "if " in
23904 * sysdeps/mips/memcpy.S: Likkewise.
23905 * sysdeps/mips/memset.S: Likewise.
23906 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23908 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23910 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23913 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23916 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23917 yesexpr and noexpr.
23918 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23919 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23920 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23921 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23922 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23923 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23924 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23928 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23929 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23930 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23931 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23932 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23933 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23934 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23935 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23936 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23937 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23938 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23939 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23941 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23943 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23944 as possible for better readability of the source.
23945 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23946 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23947 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23948 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23949 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23950 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23951 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23952 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23953 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23954 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23955 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23956 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23957 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23958 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23959 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23960 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23961 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23962 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23963 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23964 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23965 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23966 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23967 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23968 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23969 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23970 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23971 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23972 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23973 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23974 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23975 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23976 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23977 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23978 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23979 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23980 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23981 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23982 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23983 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23984 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23985 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23986 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23987 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23988 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23989 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23990 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23991 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23992 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23993 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23994 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23995 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23996 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23997 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23998 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23999 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24000 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24001 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24002 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24003 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24004 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24005 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24006 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24007 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24008 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24009 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24010 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24011 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24012 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24013 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24014 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24015 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24016 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24017 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24018 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24019 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24020 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24021 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24022 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24023 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24024 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24025 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24026 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24027 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24028 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24029 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24030 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24031 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24032 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24033 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24034 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24035 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24036 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24037 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24038 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24039 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24040 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24041 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24042 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24043 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24044 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24045 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24046 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24047 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24048 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24049 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24050 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24051 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24052 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24053 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24054 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24055 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24056 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24057 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24058 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24059 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24060 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24061 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24062 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24063 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24064 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24065 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24066 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24067 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24068 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24069 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24070 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24071 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24072 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24073 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24074 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24075 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24076 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24077 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24078 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24079 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24080 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24081 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24082 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24083 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24084 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24085 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24086 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24087 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24088 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24089 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24090 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24091 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24092 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24093 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24094 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24095 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24096 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24097 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24098 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24099 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24100 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24101 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24102 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24103 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24104 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24105 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24106 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24107 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24108 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24109 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24110 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24111 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24112 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24113 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24114 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24115 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24116 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24117 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24118 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24120 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24122 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24123 (Use first letters of yesstr and nostr correctly instead of using
24126 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24128 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24129 (Use first letters of yesstr and nostr correctly).
24131 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24133 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24134 also check for the first characters of yesstr and nostr.
24135 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24136 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24138 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24140 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24141 also check for Chinese characters.
24143 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24145 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24146 match also for the contents of yesstr and nostr. As the first letter
24147 of yesstr and nostr is equal, checking only for the first letter
24150 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24152 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24153 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24157 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24158 of main contributor.
24160 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24162 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24163 instead of using English.
24165 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24167 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24168 by including the first letters of nostr and yesexpr in the regexp.
24169 Also make it more readable by using ASCII where possible.
24171 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24173 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24174 the first letter of nostr in the regexp. It agrees with CLDR now.
24175 Also make it more readable by using ASCII where possible.
24177 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24179 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24180 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24181 these strings contain a U+17D6 (which somewhat looks like a colon)
24182 instead of a real colon to separate the full words for “yes”
24183 and “no” from the single letter responses.
24185 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24187 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24188 it agree with CLDR (include the first letter of yesstr).
24189 Also make it more readable by using ASCII where possible.
24191 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24193 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24194 and improve yesexpr and noexpr. The yesstr and nostr apparently
24195 came from CLDR. And CLDR has a bug there: these strings contain
24196 a U+0903 (which looks like a colon) instead of a real colon
24197 to separate the full words for “yes” and “no” from the single
24200 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24202 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24203 letters of the full yesstr and nostr in yesexpr and noexpr.
24205 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24207 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24208 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24209 * localedata/locales/an_ES: Make source more readable by using ASCII
24212 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24215 * localedata/locales/yuw_PG: New file.
24216 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24217 * locale/iso-639.def: Add Yau (Uruwa).
24219 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24221 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24223 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24225 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24226 (__libc_realloc): Likewise.
24227 (_mid_memalign): Likewise.
24228 (__libc_calloc): Likewise.
24230 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24232 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24233 by adding the generic +1 and -0 as in all other locales.
24234 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24235 day names and make it more readable by using ASCII where possible.
24237 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24239 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24240 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24242 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24244 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24245 WNOHANG in waitpid call.
24247 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24249 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24250 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24252 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24253 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24254 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24255 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24256 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24257 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24258 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24259 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24262 2017-10-23 Michael Collison <michael.collison@arm.com>
24264 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24265 with __builtin_sqrt.
24266 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24267 with __builtin_sqrtf.
24268 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24269 with __builtin_ceil.
24270 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24271 with __builtin_ceilf.
24272 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24273 with __builtin_floor.
24274 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24275 with __builtin_floorf.
24276 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24277 with __builtin_fma.
24278 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24279 with __builtin_fmaf.
24280 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24281 with __builtin_fmax.
24282 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24283 with __builtin_fmaxf.
24284 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24285 with __builtin_fmin.
24286 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24287 with __builtin_fminf.
24288 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24289 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24290 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24291 with builtin_rint and conversion to int.
24292 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24293 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24294 with builtin_llround.
24295 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24296 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24297 with builtin_rint and conversion to long int.
24298 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24299 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24300 with builtin_lround.
24301 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24302 with builtin_lroundf.
24303 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24304 statements with __builtin_nearbyint.
24305 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24306 statements with __builtin_nearbyintf.
24307 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24308 with __builtin_rint.
24309 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24310 with __builtin_rintf.
24311 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24312 with __builtin_round.
24313 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24314 with __builtin_roundf.
24315 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24316 with __builtin_trunc.
24317 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24318 with __builtin_truncf.
24319 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24320 and s_l[l]round[f].c too.
24322 2017-10-23 Alan Modra <amodra@gmail.com>
24324 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24325 Adjust stack after restoring regs. Add missing LR cfi_restore.
24327 2017-10-23 Alan Modra <amodra@gmail.com>
24329 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24330 Move LR save and frame setup/teardown and LR restore to
24331 immediately around memset call. Provide cfi.
24333 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24335 * sysdeps/i386/fpu/e_powf.S: Removed.
24336 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24337 * sysdeps/i386/fpu/w_powf.c: Likewise.
24338 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24339 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24340 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24342 (CFLAGS-e_powf-sse2.c): New.
24343 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24344 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24346 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24348 * sysdeps/i386/fpu/e_log2f.S: Removed.
24349 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24350 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24351 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24352 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24353 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24355 (CFLAGS-e_log2f-sse2.c): New.
24356 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24357 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24359 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24361 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24363 (CFLAGS-e_powf-fma.c): New.
24364 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24365 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24367 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24369 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24371 (CFLAGS-e_log2f-fma.c): New.
24372 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24373 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24375 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24377 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24379 (CFLAGS-e_logf-fma.c): New.
24380 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24381 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24383 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/i386/fpu/e_logf.S: Removed.
24386 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24387 * sysdeps/i386/fpu/w_logf.c: Likewise.
24388 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24389 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24390 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24391 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24393 (CFLAGS-e_logf-sse2.c): New.
24394 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24395 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24397 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24399 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24400 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24401 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24402 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24403 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24405 (CFLAGS-e_exp2f-sse2.c): New.
24406 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24407 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24409 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24413 (CFLAGS-e_exp2f-fma.c): New.
24414 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24415 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24417 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24419 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24420 * sysdeps/i386/fpu/e_expf.S: Likewise.
24421 * sysdeps/i386/fpu/math_errf.c: Likewise.
24422 * sysdeps/i386/fpu/w_expf.c: Likewise.
24423 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24425 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24426 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24427 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24428 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24429 Remove e_expf-ia32.
24430 (CFLAGS-e_expf-sse2.c): New.
24431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24432 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24434 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24436 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24437 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24438 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24439 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24441 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24443 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24444 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24446 (__redirect_expf): This.
24447 (SYMBOL_NAME): Changed to expf.
24448 (__ieee754_expf): Renamed to ...
24450 (__GI___expf): This.
24451 (__ieee754_expf): Add strong_alias.
24452 (__expf_finite): Likewise.
24454 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24456 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24459 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24462 2017-10-21 Florian Weimer <fweimer@redhat.com>
24464 * posix/Makefile (tests): Add tst-glob-tilde.
24465 (tests-special): Add tst-glob-tilde-mem.out
24466 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24467 (tst-glob-tilde-mem.out): Add mtrace check.
24468 * posix/tst-glob-tilde.c: New file.
24470 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24472 * bits/floatn-common.h: New file.
24473 * math/Makefile (headers): Add bits/floatn-common.h.
24474 * bits/floatn.h: Include <bits/floatn-common.h>.
24475 * sysdeps/ia64/bits/floatn.h: Likewise.
24476 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24477 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24478 * sysdeps/powerpc/bits/floatn.h: Likewise.
24479 * sysdeps/x86/bits/floatn.h: Likewise.
24481 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24483 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24484 indicates whether compiler emits an warning for alias for
24485 functions with incompatible types.
24488 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24489 the auxiliary process is terminated by a signal before calling _exit
24492 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24495 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24497 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24498 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24499 and bit_arch_XSAVEC_Usable if needed.
24500 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24501 and bit_arch_Use_dl_runtime_resolve_opt.
24502 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24504 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24505 (bit_arch_Prefer_No_AVX512): Updated.
24506 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24507 (bit_arch_XSAVEC_Usable): New.
24508 (STATE_SAVE_OFFSET): Likewise.
24509 (STATE_SAVE_MASK): Likewise.
24510 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24511 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24512 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24513 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24514 (index_arch_XSAVEC_Usable): New.
24515 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24516 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24517 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24519 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24520 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24521 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24522 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24523 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24524 _dl_runtime_resolve_xsavec.
24525 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24527 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24528 instead of VEC_SIZE.
24529 (REGISTER_SAVE_BND0): Removed.
24530 (REGISTER_SAVE_BND1): Likewise.
24531 (REGISTER_SAVE_BND3): Likewise.
24532 (REGISTER_SAVE_RAX): Always defined to 0.
24534 (_dl_runtime_resolve_avx): Likewise.
24535 (_dl_runtime_resolve_avx_slow): Likewise.
24536 (_dl_runtime_resolve_avx_opt): Likewise.
24537 (_dl_runtime_resolve_avx512): Likewise.
24538 (_dl_runtime_resolve_avx512_opt): Likewise.
24539 (_dl_runtime_resolve_sse): Likewise.
24540 (_dl_runtime_resolve_sse_vex): Likewise.
24542 (_dl_runtime_resolve_fxsave): Likewise.
24543 (USE_XSAVE): Likewise.
24544 (_dl_runtime_resolve_xsave): Likewise.
24545 (USE_XSAVEC): Likewise.
24546 (_dl_runtime_resolve_xsavec): Likewise.
24547 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24549 (_dl_runtime_resolve_avx512_opt): Likewise.
24550 (_dl_runtime_resolve_avx): Likewise.
24551 (_dl_runtime_resolve_avx_opt): Likewise.
24552 (_dl_runtime_resolve_sse): Likewise.
24553 (_dl_runtime_resolve_sse_vex): Likewise.
24554 (_dl_runtime_resolve_fxsave): New.
24555 (_dl_runtime_resolve_xsave): Likewise.
24556 (_dl_runtime_resolve_xsavec): Likewise.
24558 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24562 * posix/glob.c (__glob): Fix one-byte overflow.
24564 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24566 * malloc/malloc.c (sysdep-cancel.h): Add include.
24568 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24570 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24572 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24574 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24575 (tests): Remove $(objpfx)ga_test depdendency.
24576 * resolv/ga_test.c: Remove file.
24578 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24581 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24582 * localedata/locales/kab_DZ: New file.
24584 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24586 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24587 _dl_relocate_static_pie instead of _dl_start to compute load
24588 address in static PIE.
24590 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24592 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24594 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24597 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24598 * localedata/locales/shn_MM: New file.
24600 2017-10-20 Florian Weimer <fweimer@redhat.com>
24603 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24604 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24605 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24606 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24607 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24608 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24610 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24612 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24614 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24616 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24619 * sysdeps/mips/bits/long-double.h: Move to ....
24620 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24622 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24624 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24626 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24627 H.J. Lu <hongjiu.lu@intel.com>
24630 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24631 GLRO(dl_platform) to NULL.
24632 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24633 (modules-names): Add tst-platformmod-1 and
24634 x86_64/tst-platformmod-2.
24635 (CFLAGS-tst-platform-1.c): New.
24636 (CFLAGS-tst-platformmod-1.c): Likewise.
24637 (CFLAGS-tst-platformmod-2.c): Likewise.
24638 (LDFLAGS-tst-platformmod-2.so): Likewise.
24639 ($(objpfx)tst-platform-1): Likewise.
24640 ($(objpfx)tst-platform-1.out): Likewise.
24641 (tst-platform-1-ENV): Likewise.
24642 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24643 * sysdeps/x86_64/tst-platform-1.c: New file.
24644 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24645 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24647 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24650 * locale/iso-639.def: Add Karbi.
24651 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24652 * localedata/locales/mjw_IN: New file.
24654 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24656 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24657 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24658 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24659 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24660 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24661 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24662 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24664 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24665 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24666 * manual/math.texi (Mathematics): Document additional architecture
24667 support for _Float128.
24668 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24669 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24670 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24671 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24672 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24673 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24674 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24678 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24684 2017-10-18 Renlin Li <renlin.li@arm.com>
24686 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24687 _DYNAMIC symbol to calculate load address.
24689 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24691 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24692 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24694 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24695 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24697 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24700 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24701 and improve readability by using more ASCII.
24702 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24703 and improve readability by using more ASCII.
24705 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24707 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24708 not all targets support atomics on bool.
24710 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24712 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24713 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24715 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24716 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24717 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24718 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24719 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24720 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24722 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24724 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24727 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24730 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24731 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24732 (do_check_remalloced_chunk): Fix build bug.
24733 (do_check_malloc_state): Add assert that checks arena->top.
24734 (malloc_consolidate): Remove initialization.
24735 (int_mallinfo): Remove call to malloc_consolidate.
24736 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24738 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24740 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24741 (have_fastchunks): Remove.
24742 (clear_fastchunks): Remove.
24743 (set_fastchunks): Remove.
24744 (malloc_state): Add have_fastchunks.
24745 (malloc_init_state): Use have_fastchunks.
24746 (do_check_malloc_state): Remove incorrect invariant checks.
24747 (_int_malloc): Use have_fastchunks.
24748 (_int_free): Likewise.
24749 (malloc_consolidate): Likewise.
24751 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24753 * malloc/malloc.c (tcache_put): Inline.
24754 (tcache_get): Inline.
24756 2017-10-17 Jordi Mallach <jordi@gnu.org>
24758 Aurelien Jarno <aurelien@aurel32.net>
24760 * localedata/locales/ca_ES@valencia: New file.
24761 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24763 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24766 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24769 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24771 * scripts/build-many-glibcs.py (Context.add_all_configs):
24772 Add arm-linux-gnueabihf multiarch extra_glibcs.
24774 * sysdeps/generic/ifunc-init.h: New file.
24775 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24777 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24780 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24781 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24782 * stdlib/tst-strfmon_l.c: adapt test case.
24784 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24786 * sysdeps/generic/float128-abi.h: New file.
24787 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24788 non-__prefixed symbols to ....
24789 * math/Versions: ... here. Include <float128-abi.h>.
24790 * stdlib/Versions ... and here. Include <float128-abi.h>
24792 2017-10-16 Florian Weimer <fweimer@redhat.com>
24794 * version.h (VERSION): Switch to ".9000" as the development
24797 2017-10-16 Florian Weimer <fweimer@redhat.com>
24800 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24801 compat_symbol_reference to access non-default version.
24803 2017-10-16 Florian Weimer <fweimer@redhat.com>
24805 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24807 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24809 * include/shlib-compat.h (compat_symbol_reference): Update
24812 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24814 * math/Makefile (test-types): Add
24815 $(type-float128-$(float128-alias-fcts)).
24816 * math/test-float128.h (TYPE_STR): Define conditional on
24817 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24818 (ULP_IDX): Likewise.
24819 (ULP_I_IDX): Likewise.
24821 * stdlib/strtold.c: Include <bits/floatn.h>
24822 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24823 and later undefine as macro. Define as weak alias if
24825 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24826 and later undefine as macro. Define as weak alias if
24828 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24829 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24830 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24831 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24832 Define and later undefine as macro. Define as weak alias if
24834 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24836 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24837 Define and later undefine as macro. Define as weak alias if
24839 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24840 Define and later undefine as macro. Define as weak alias if
24843 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24845 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24846 record_verbose messages.
24848 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24851 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24852 to silence -O3 -Wall warning with GCC 7.
24854 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24856 * Makeconfig (+link-static-before-libc): Use the first of
24857 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24858 * gmon/Makefile (tests): Add tst-gmon-static.
24859 (tests-static): Likewise.
24860 (CFLAGS-tst-gmon-static.c): New.
24861 (CRT-tst-gmon-static): Likewise.
24862 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24863 (tst-gmon-static-ENV): Likewise.
24864 (tests-special): Likewise.
24865 ($(objpfx)tst-gmon-static.out): Likewise.
24866 (clean-tst-gmon-static-data): Likewise.
24867 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24868 * gmon/tst-gmon-static-gprof.sh: New file.
24869 * gmon/tst-gmon-static.c: Likewise.
24871 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24874 * locale/programs/linereader.c (get_string): Don't warn on
24875 non-symbolic character.
24878 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24882 * locale/programs/record-status.h: New file
24883 * locale/programs/locale.c: Add comment.
24884 * locale/programs/charmap-dir.c: Don't include error.h.
24885 (charmap_opendir): Use record_error.
24886 * locale/programs/charmap.c: Don't include error.h.
24887 (charmap_read): Use record_error, and record_warning.
24888 (parse_charmap): Likewise.
24889 * locale/programs/ld-address.c: Don't include error.h.
24890 (address_finish): Use record_error, and record_warning.
24891 * locale/programs/ld-collate.c: Don't include error.h.
24892 (collate_finish): Use record_error, and record_error_at_line.
24893 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24894 (ctype_class_new): Likewise.
24895 (ctype_map_new): Likewise.
24896 (set_one_default): Likewise.
24897 (set_class_defaults): Likewise.
24898 (translit_flatten): Likewise.
24899 (allocate_arrays): Use record_error, and record_verbose.
24900 * locale/programs/ld-identification.c: Don't include error.h.
24901 (indentation_finish): Use record_error and record_warning.
24902 * locale/programs/ld-measurement.c: Don't include error.h.
24903 (measurement_finish): Use record_error.
24904 * locale/programs/ld-messages.c
24905 (message_finish): Likewise.
24906 * locale/programs/ld-monetary.c
24907 (monetary_finish): Likewise.
24908 * locale/programs/ld-name.c (name_finish): Use record_error
24909 and record_warning.
24910 * locale/programs/ld-numeric.c
24911 (numeric_finish): Use record_error.
24912 * locale/programs/ld-paper.c: Don't include error.h.
24913 (paper_finish): Use record_error.
24914 * locale/programs/ld-telephone.c: Don't include error.h.
24915 (telephone_finish): Use record_error.
24916 * locale/programs/ld-time.c (time_finish): Likewise.
24917 * locale/programs/linereader.h (lr_error): Make inline func.
24918 * locale/programs/localedef.c: Define recorded_warning_count,
24919 and recorded_error_count.
24920 (main): Use record_error. Use recorded_error_count and
24921 recorded_warning_count to issue correct error returns.
24922 (add_to_readlist): Use record_error.
24923 (find_locale): Likewise.
24924 (load_locale): Likewise.
24925 * locale/programs/localedef.h: Remove be_quiet
24926 and WITH_CUR_LOCALE.
24927 * locale/programs/locarchive.c (compare_from_file): Use
24929 * locale/programs/locfile.c (write_locale_data): Use
24931 * locale/programs/repertoire.c: Dont include error.h.
24932 (repertoire_complain): Use record_error.
24933 * localedata/tst-fmon.sh: Expect failures from localedef.
24934 * localedata/tst-locale.sh: Likewise.
24935 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24937 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24938 (REPORTS): Likewise.
24940 (i18n): Rename to...
24941 (i18n_ctype): ...this.
24942 (i18n-report): Rename to...
24943 (i18n_ctype-report): ...this.
24944 * localedata/locales/i18n_ctype: Regenerate.
24945 * localedata/locales/i18n: copy i18n_ctype.
24947 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24949 * stdlib/strfroml.c: Include <bits/floatn.h>.
24950 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24951 Define before include of <stdlib.h> and undefine afterwards, then
24952 define as weak alias.
24954 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24955 Undefine and restore default definition. Use
24956 libm_alias_ldouble_other.
24958 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24961 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24964 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24966 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24967 Assign sym_map to be map for local symbols, as TLS relocations
24968 use sym_map to determine whether the symbol is defined and to
24969 extract the TLS information.
24970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24971 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24973 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24976 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24977 (math_force_eval): Add powerpc version.
24980 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24982 (do_test): Likewise.
24983 * stdio-common/tst-printf.sh: Likewise.
24984 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24985 ifdef clause in order to set the carry bit right. Replace r0 by
24986 0 without changing the behavior.
24988 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24990 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24991 <libm-alias-ldouble.h>.
24992 (fabsl): Define using libm_alias_ldouble.
24993 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24994 <libm-alias-ldouble.h>.
24995 (fabsl): Define using libm_alias_ldouble.
24997 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24998 Remove conditional code.
25000 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25001 Rename to __clog10_internal_l.
25002 (__clog10_internal_l): Define aliases using
25003 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25006 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25008 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25009 * benchtests/sincosf-inputs: New file.
25010 * benchtests/cosf-inputs: New file.
25011 * benchtests/sinf-inputs: New file.
25013 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25015 * posix/tst-spawn.c (do_test): Wait for both children.
25017 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25020 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25021 tests-pie): Add tst-gmon-pie.
25022 (CFLAGS-tst-gmon-pie.c): New.
25023 (CRT-tst-gmon-pie): Likewise.
25024 (tst-gmon-pie-ENV): Likewise.
25025 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25026 ($(objpfx)tst-gmon-pie.out): Likewise.
25027 (clean-tst-gmon-pie-data): Likewise.
25028 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25029 * gmon/gmon.c [PIC]: Include <link.h>.
25030 [PIC] (callback): New function.
25031 (write_hist): Add an argument for load address. Subtract load
25033 (write_call_graph): Likewise.
25034 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25035 it to write_hist and write_call_graph.
25036 * gmon/tst-gmon-pie.c: New file.
25038 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25040 * math/Makefile (test-types-basic): New variable.
25041 (test-types): Likewise.
25042 (libm-test-support): Use $(test-types) instead of $(types).
25043 (libm-tests-base-normal): Likewise.
25044 (libm-tests-base-finite): Likewise.
25045 (libm-tests-base-inline): Likewise.
25046 (generated): Likewise.
25047 ($(objpfx)libm-test-support-$(t).c): Likewise.
25048 (libm-tests-for-type iterator): Likewise.
25049 (libm-test-support iterator): Likewise.
25050 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25051 (ulp_idx): Use ULP_IDX.
25052 * math/test-ldouble.h: Include <float.h>.
25053 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25054 (ULP_IDX): New macro.
25055 (ULP_I_IDX): Likewise.
25056 * math/test-double.h (ULP_IDX): Likewise.
25057 (ULP_I_IDX): Likewise.
25058 * math/test-float.h (ULP_IDX): Likewise.
25059 (ULP_I_IDX): Likewise.
25060 * math/test-float128.h (ULP_IDX): Likewise.
25061 (ULP_I_IDX): Likewise.
25063 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25065 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25067 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25068 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25069 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25070 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25074 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25075 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25076 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25079 (SINGLE_THREAD_BY_GLOBAL): Define.
25080 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25082 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25084 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25086 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25088 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25089 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25093 2017-10-11 Andreas Schwab <schwab@suse.de>
25095 * nis/Makefile (aux): Remove.
25096 * nscd/Makefile (aux): Add nscd_hash.
25097 (nscd-modules): Likewise.
25098 ($(objpfx)nscd): Don't depend on libnsl.
25099 * nscd/nscd_hash.c: New file.
25100 * nscd/nscd_hash.h: Likewise.
25101 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25102 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25103 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25104 instead of <nis/rpcsvc/nis.h>.
25105 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25107 2017-10-11 Florian Weimer <fweimer@redhat.com>
25110 Avoid large NSS buffers with many addresses, aliases.
25111 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25112 using dynarrays and struct alloc_buffer.
25113 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25114 (tst-nss-files-hosts-multi): Link with -ldl.
25115 * nss/tst-nss-files-hosts-multi.c: New file.
25117 2017-10-11 Florian Weimer <fweimer@redhat.com>
25120 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25121 scratch_buffer. Eliminate gotos.
25123 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25125 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25126 libm_alias_ldouble_other.
25127 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25128 undefine and redefine.
25129 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25130 (exp10l): Do not define here.
25131 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25132 (weak_alias): Undefine and redefine.
25133 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25134 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25135 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25136 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25138 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25139 [!__fma] (fma): Define using libm_alias_double.
25140 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25141 [!__fmaf] (fmaf): Define using libm_alias_float.
25142 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25143 (fmal): Define using libm_alias_ldouble.
25145 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25147 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25149 (libm_alias_double_other): Likewise.
25150 (libm_alias_double_r): Use libm_alias_double_other_r.
25151 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25153 (libm_alias_float_other): Likewise.
25154 (libm_alias_float_r): Use libm_alias_float_other_r.
25155 * sysdeps/generic/libm-alias-float128.h
25156 (libm_alias_float128_other_r): New macro.
25157 (libm_alias_float128_other): Likewise.
25158 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25159 * sysdeps/generic/libm-alias-ldouble.h
25160 (libm_alias_ldouble_other_r): New macro.
25161 (libm_alias_ldouble_other): Likewise.
25162 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25163 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25164 (libm_alias_double_other_r): New macro.
25165 (libm_alias_double_other): Likewise.
25166 (libm_alias_double_r): Use libm_alias_double_other_r.
25167 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25168 (libm_alias_ldouble_other_r): New macro.
25169 (libm_alias_ldouble_other): Likewise.
25170 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25171 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25172 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25173 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25174 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25175 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25176 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25177 * math/w_exp2f.c: Use libm_alias_float_other.
25178 * math/w_expf.c: Likewise.
25179 * math/w_log2f.c: Likewise.
25180 * math/w_logf.c: Likewise.
25181 * math/w_powf.c: Likewise.
25182 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25183 [!__exp2f]: Use libm_alias_float_other.
25184 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25185 [!__expf]: Use libm_alias_float_other.
25186 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25187 [!__log2f]: Use libm_alias_float_other.
25188 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25189 [!__logf]: Use libm_alias_float_other.
25190 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25191 [!__powf]: Use libm_alias_float_other.
25193 2017-10-10 Florian Weimer <fweimer@redhat.com>
25195 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25197 (_nss_files_gethostbyname3_r): Call it.
25199 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25201 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25202 error. Remove default definition of declare_mgen_alias.
25203 [!declare_mgen_alias_r]: Likewise.
25204 * sysdeps/generic/math-type-macros-double.h
25205 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25206 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25207 (declare_mgen_alias_r): Likewise.
25208 * sysdeps/generic/math-type-macros-float128.h
25209 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25210 * sysdeps/generic/math-type-macros-ldouble.h
25211 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25212 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25214 (declare_mgen_alias_r_s): Likewise.
25215 (declare_mgen_alias_r): Likewise.
25216 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25217 (lgamma_r): Define using libm_alias_double_r.
25218 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25219 (lgammaf_r): Define using libm_alias_float_r.
25220 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25221 (lgammal_r): Define using libm_alias_ldouble_r.
25222 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25223 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25225 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25227 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25228 extern declaration.
25230 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25232 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25234 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25237 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25238 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25239 * math/Makefile (test-math-cxx11): New test.
25240 * math/test-math-cxx11.cc: New file.
25242 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25244 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25246 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25247 call to allocate the slave pty file descriptor.
25249 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25251 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25252 [!__fma] (fma): Define using libm_alias_double.
25253 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25254 [!__fma] (fma): Define using libm_alias_double.
25256 * sysdeps/ieee754/float128/float128_private.h: Include
25257 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25258 (libm_alias_ldouble_r): Undefine and redefine.
25259 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25260 <libm-alias-ldouble.h>.
25261 (asinhl): Define using libm_alias_ldouble.
25262 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25263 <libm-alias-ldouble.h>.
25264 (atanl): Define using libm_alias_ldouble.
25265 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25266 <libm-alias-ldouble.h>.
25267 (cbrtl): Define using libm_alias_ldouble.
25268 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25269 <libm-alias-ldouble.h>.
25270 (ceill): Define using libm_alias_ldouble.
25271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25272 <libm-alias-ldouble.h>.
25273 (copysignl): Define using libm_alias_ldouble.
25274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25275 <libm-alias-ldouble.h>.
25276 (cosl): Define using libm_alias_ldouble.
25277 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25278 <libm-alias-ldouble.h>.
25279 (erfl): Define using libm_alias_ldouble.
25281 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25282 <libm-alias-ldouble.h>.
25283 (expm1l): Define using libm_alias_ldouble.
25284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25285 <libm-alias-ldouble.h>.
25286 (fabsl): Define using libm_alias_ldouble.
25287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25288 <libm-alias-ldouble.h>.
25289 (floorl): Define using libm_alias_ldouble.
25290 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25291 <libm-alias-ldouble.h>.
25292 (fmal): Define using libm_alias_ldouble.
25293 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25294 <libm-alias-ldouble.h>.
25295 (frexpl): Define using libm_alias_ldouble.
25296 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25297 libm_alias_ldouble.
25298 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25299 <libm-alias-ldouble.h>.
25300 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25301 libm_alias_ldouble.
25302 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25303 <libm-alias-ldouble.h>.
25304 (getpayloadl): Define using libm_alias_ldouble.
25305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25306 <libm-alias-ldouble.h>.
25307 (llrintl): Define using libm_alias_ldouble.
25308 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25309 <libm-alias-ldouble.h>.
25310 (llroundl): Define using libm_alias_ldouble.
25311 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25312 <libm-alias-ldouble.h>.
25313 (logbl): Define using libm_alias_ldouble.
25314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25315 <libm-alias-ldouble.h>.
25316 (lrintl): Define using libm_alias_ldouble.
25317 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25318 <libm-alias-ldouble.h>.
25319 (lroundl): Define using libm_alias_ldouble.
25320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25321 <libm-alias-ldouble.h>.
25322 (modfl): Define using libm_alias_ldouble.
25323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25324 <libm-alias-ldouble.h>.
25325 (nearbyintl): Define using libm_alias_ldouble.
25326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25327 <libm-alias-ldouble.h>.
25328 (nextafterl): Define using libm_alias_ldouble.
25329 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25330 <libm-alias-ldouble.h>.
25331 (nextupl): Define using libm_alias_ldouble.
25332 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25333 <libm-alias-ldouble.h>.
25334 (remquol): Define using libm_alias_ldouble.
25335 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25336 <libm-alias-ldouble.h>.
25337 (rintl): Define using libm_alias_ldouble.
25338 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25339 <libm-alias-ldouble.h>.
25340 (roundevenl): Define using libm_alias_ldouble.
25341 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25342 <libm-alias-ldouble.h>.
25343 (roundl): Define using libm_alias_ldouble.
25344 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25345 using libm_alias_ldouble.
25346 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25347 <libm-alias-ldouble.h>.
25348 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25349 Define using libm_alias_ldouble.
25350 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25351 <libm-alias-ldouble.h>.
25352 (sincosl): Define using libm_alias_ldouble.
25353 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25354 <libm-alias-ldouble.h>.
25355 (sinl): Define using libm_alias_ldouble.
25356 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25357 <libm-alias-ldouble.h>.
25358 (tanhl): Define using libm_alias_ldouble.
25359 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25360 <libm-alias-ldouble.h>.
25361 (tanl): Define using libm_alias_ldouble.
25362 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25363 <libm-alias-ldouble.h>.
25364 (totalorderl): Define using libm_alias_ldouble.
25365 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25366 <libm-alias-ldouble.h>.
25367 (totalordermagl): Define using libm_alias_ldouble.
25368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25369 <libm-alias-ldouble.h>.
25370 (truncl): Define using libm_alias_ldouble.
25371 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25372 libm_alias_ldouble.
25373 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25374 libm_alias_ldouble.
25375 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25376 <libm-alias-ldouble.h>.
25377 (weak_alias): Do not undefine and redefine.
25378 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25379 (copysignl): Define with long_double_symbol only if [IS_IN
25381 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25382 <libm-alias-ldouble.h>.
25383 (weak_alias): Do not undefine and redefine.
25384 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25385 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25386 * sysdeps/ieee754/ldbl-64-128/s_modfl.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 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25391 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25392 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25395 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25398 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25401 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25408 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25416 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25419 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25420 (tcache_thread_freeres): Set tcache_shutting_down before
25421 freeing the tcache.
25422 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25423 * malloc/tst-malloc-tcache-leak.c: New file.
25425 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25427 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25428 back to powerpc32 file.
25429 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25430 (memrchr): Add __memrchr_power8 to ifunc list.
25431 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25432 extra bytes for unaligned inputs.
25434 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25436 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25437 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25442 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25444 * sysdeps/arm/libm-test-ulps: Update.
25446 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25447 <libm-alias-ldouble.h>.
25448 (asinhl): Define using libm_alias_ldouble.
25449 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25450 <libm-alias-ldouble.h>.
25451 (cbrtl): Define using libm_alias_ldouble.
25452 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25453 <libm-alias-ldouble.h>.
25454 (copysignl): Define using libm_alias_ldouble.
25455 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25456 <libm-alias-ldouble.h>.
25457 (cosl): Define using libm_alias_ldouble.
25458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25459 <libm-alias-ldouble.h>.
25460 (erfl): Define using libm_alias_ldouble.
25462 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25463 <libm-alias-ldouble.h>.
25464 (fmal): Define using libm_alias_ldouble.
25465 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25466 <libm-alias-ldouble.h>.
25467 (frexpl): Define using libm_alias_ldouble.
25468 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25469 libm_alias_ldouble.
25470 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25471 <libm-alias-ldouble.h>.
25472 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25473 libm_alias_ldouble.
25474 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25475 <libm-alias-ldouble.h>.
25476 (getpayloadl): Define using libm_alias_ldouble.
25477 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25478 <libm-alias-ldouble.h>.
25479 (llrintl): Define using libm_alias_ldouble.
25480 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25481 <libm-alias-ldouble.h>.
25482 (llroundl): Define using libm_alias_ldouble.
25483 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25484 <libm-alias-ldouble.h>.
25485 (lrintl): Define using libm_alias_ldouble.
25486 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25487 <libm-alias-ldouble.h>.
25488 (lroundl): Define using libm_alias_ldouble.
25489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25490 <libm-alias-ldouble.h>.
25491 (modfl): Define using libm_alias_ldouble.
25492 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25493 <libm-alias-ldouble.h>.
25494 (nextupl): Define using libm_alias_ldouble.
25495 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25496 <libm-alias-ldouble.h>.
25497 (remquol): Define using libm_alias_ldouble.
25498 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25499 <libm-alias-ldouble.h>.
25500 (roundevenl): Define using libm_alias_ldouble.
25501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25502 <libm-alias-ldouble.h>.
25503 (roundl): Define using libm_alias_ldouble.
25504 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25505 using libm_alias_ldouble.
25506 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25507 <libm-alias-ldouble.h>.
25508 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25509 <libm-alias-ldouble.h>.
25510 (setpayloadsigl): Define using libm_alias_ldouble.
25511 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25512 <libm-alias-ldouble.h>.
25513 (sincosl): Define using libm_alias_ldouble.
25514 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25515 <libm-alias-ldouble.h>.
25516 (sinl): Define using libm_alias_ldouble.
25517 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25518 <libm-alias-ldouble.h>.
25519 (tanhl): Define using libm_alias_ldouble.
25520 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25521 <libm-alias-ldouble.h>.
25522 (tanl): Define using libm_alias_ldouble.
25523 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25524 <libm-alias-ldouble.h>.
25525 (totalorderl): Define using libm_alias_ldouble.
25526 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25527 <libm-alias-ldouble.h>.
25528 (totalordermagl): Define using libm_alias_ldouble.
25529 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25530 libm_alias_ldouble.
25531 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25532 libm_alias_ldouble.
25534 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25536 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25538 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25539 (__libc_ifunc_impl_list): Likewise.
25540 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25541 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25543 * benchtests/bench-memmove-walk.c: New file.
25544 * benchtests/Makefile (string-benchset): Add it.
25546 * benchtests/bench-memset-walk.c: New file.
25547 * benchtests/Makefile (string-benchset): Add it.
25549 * benchtests/bench-memcpy-walk.c: New file.
25550 * benchtests/Makefile (string-benchset): Add it.
25552 2017-10-05 Florian Weimer <fweimer@redhat.com>
25554 nscd: Eliminate compilation time dependency in the build output.
25555 * nscd/nscd_stat.c (STATDATA_VERSION)
25556 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25557 (STATDATA_VERSION_FULL): New macro definitions.
25558 (compilation): Remove.
25559 (struct statdata): Adjust version member.
25560 (send_stats): Set version from STATDATA_VERSION_FULL.
25561 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25563 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25565 * configure.ac (--enable-add-ons): Remove option.
25566 (machine): Do not mention add-ons in comment.
25567 (LIBC_PRECONFIGURE): Likewise.
25568 (add_ons): Remove variable and sanity checks and logic to locate
25570 (add_ons_automatic): Remove variable.
25571 (configured_add_ons): Likewise.
25572 (add_ons_sfx): Likewise.
25573 (add_ons_pfx): Likewise.
25574 (add_on_subdirs): Likewise.
25575 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25576 consideration of add-ons in Implies handling.
25577 (sysdeps_add_ons): Likewise.
25578 * configure: Regenerated.
25579 * libidn/configure.ac: Remove.
25580 * libidn/configure: Likewise.
25581 * sysdeps/unix/inet/configure.ac: New file.
25582 * sysdeps/unix/inet/configure: New generated file.
25583 * sysdeps/unix/inet/Subdirs: Add libidn.
25584 * Makeconfig (sysdeps-srcdirs): Remove variable.
25585 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25586 ($(common-objpfx)config.status): Do not depend on add-on files.
25587 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25589 (all-subdirs): Do not include $(add-on-subdirs).
25590 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25591 * config.make.in (add-ons): Remove variable.
25592 (add-on-subdirs): Likewise.
25593 (sysdeps-add-ons): Likewise.
25594 * manual/Makefile (add-chapters): Remove.
25595 ($(objpfx)texis): Do not depend on $(add-chapters).
25596 (nonexamples): Do not handle $(add-chapters).
25597 (examples): Do not handle $(add-ons).
25598 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25600 * manual/install.texi (Installation): Do not mention add-ons.
25601 (--enable-add-ons): Do not document configure option.
25602 * INSTALL: Regenerated.
25603 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25604 * manual/maint.texi (Hierarchy Conventions): Do not mention
25606 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25608 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25610 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25611 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25613 2017-10-05 Andreas Schwab <schwab@suse.de>
25616 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25617 (_IO_flush_all_lockp): Always lock list_all_lock.
25618 (_IO_flush_all_linebuffered): Likewise.
25619 (_IO_unbuffer_all): Likewise.
25621 2017-10-05 Florian Weimer <fweimer@redhat.com>
25624 Do not flush stdio streams on abort.
25625 * stdlib/abort.c (fflush): Remove macro definition.
25626 (abort): Remove stages related to stdio flushing.
25628 2017-10-05 Florian Weimer <fweimer@redhat.com>
25630 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25632 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25634 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25636 2017-10-05 Florian Weimer <fweimer@redhat.com>
25638 * support/support_format_hostent.c (support_format_hostent): Add
25639 more error information for NETDB_INTERNAL.
25641 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25643 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25644 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25645 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25646 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25647 AC_DEFINE if multi-arch is enabled.
25648 * sysdeps/i386/configure: Regenerated.
25650 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25652 * Makeconfig (+link-static-before-libc): Use
25653 $(DEFAULT-LDFLAGS-$(@F)).
25654 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25655 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25656 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25658 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25660 * elf/Makefile (tests): Add tst-main1.
25661 (modules-names): Add tst-main1mod.
25662 ($(objpfx)tst-main1): New.
25663 (CRT-tst-main1): Likewise.
25664 (LDFLAGS-tst-main1): Likewise.
25665 (LDLIBS-tst-main1): Likewise.
25666 (tst-main1mod.so-no-z-defs): Likewise.
25667 * elf/tst-main1.c: New file.
25668 * elf/tst-main1mod.c: Likewise.
25670 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25672 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25674 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25676 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25677 (fma): Define using libm_alias_double.
25678 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25679 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25681 (fmal): Do not define as compat symbol here.
25682 * sysdeps/alpha/fpu/s_fma.c: New file.
25684 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25686 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25688 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25693 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25696 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25697 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25698 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25700 Include <math_ldbl_opt.h>
25701 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25703 (compat_symbol): Undefine and redefine.
25704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25706 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25707 (compat_symbol): Undefine and redefine.
25708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25709 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25710 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25711 GLIBC_2_1 for libm.
25712 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25713 GLIBC_2.0 copysignl symbol.
25714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25715 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25717 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25719 2017-10-04 Florian Weimer <fweimer@redhat.com>
25721 * scripts/check-local-headers.sh: Ignore nspr4 header file
25722 directory in addition to nspr.
25724 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25727 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25728 * configure: Regenerate.
25729 * crypt/Makefile (nss-cpp-flags): New variable.
25730 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25731 (CPPFLAGS-md5-crypt.c): Use it.
25732 * scripts/check-local-headers.sh: Ignore nspr header file
25735 2017-10-04 Andreas Schwab <schwab@suse.de>
25737 * nis/Makefile (services): Remove compat.
25738 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25739 ($(objpfx)libnss_compat.so): Remove rule.
25740 * nis/Versions (libnss_compat): Remove.
25741 * nss/Makefile (services): Add compat.
25742 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25743 * nss/Versions (libnss_compat): Define.
25744 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25745 Don't include <rpc/types.h>. Replace bool_t by bool.
25746 * nss/nss_compat/compat-initgroups.c: Likewise.
25747 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25748 instead of <rpcsrv/ypclnt.h>.
25749 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25750 yp_get_default_domain.
25751 * nss/nss_compat/compat-pwd.c: Likewise.
25752 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25753 yp_get_default_domain.
25754 * nss/nss_compat/nisdomain.c: New file.
25755 * nss/nss_compat/nisdomain.h: Likewise.
25757 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25760 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25761 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25763 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25767 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25769 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25771 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25772 "movl main@GOTOFF(%ebx), %eax".
25774 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25776 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25777 allow undefined _DYNAMIC in PIE libc.a.
25778 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25781 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25783 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25786 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25788 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25791 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25793 * math/test-math-iscanonical.cc (error): Replace bool with int.
25795 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25797 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25798 (modf): Define using libm_alias_double, only if [!__modf].
25799 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25800 <libm-alias-double.h>.
25801 (modf): Define using libm_alias_double, only if [!__modf].
25802 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25803 compat symbol here.
25804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25805 (weak_alias): Do not undefine and redefine.
25806 (strong_alias): Likewise.
25807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25808 (weak_alias): Likewise.
25809 (strong_alias): Likewise.
25811 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25812 (logb): Define using libm_alias_double, only if [!__logb].
25813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25814 <libm-alias-double.h>.
25815 (logb): Define using libm_alias_double, only if [!__logb].
25816 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25818 (weak_alias): Do not undefine and redefine.
25819 (strong_alias): Likewise.
25820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25821 (weak_alias): Likewise.
25822 (strong_alias): Likewise.
25824 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25826 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25827 Check SHARED instead PIC.
25829 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25832 [!__fmaf] (fmaf): Define using libm_alias_float.
25834 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25835 (frexp): Define using libm_alias_double.
25836 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25837 <libm-alias-double.h>.
25838 (frexp): Define using libm_alias_double.
25839 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25840 compat symbol here.
25842 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25845 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25846 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25847 (CFLAGS-test-math-iscanonical.cc): New variable.
25848 * math/test-math-iscanonical.cc: New file.
25849 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25850 Provide a C++ implementation based on function overloading,
25851 rather than using __MATH_TG, which uses C-only builtins.
25852 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25854 * sysdeps/powerpc/powerpc64le/Makefile
25855 (CFLAGS-test-math-iscanonical.cc): New variable.
25857 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25859 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25860 (ceil): Define using libm_alias_double.
25861 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25862 (floor): Define using libm_alias_double.
25863 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25864 <libm-alias-double.h>.
25865 (llround): Define using libm_alias_double.
25866 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25867 <libm-alias-double.h>.
25868 (lround): Define using libm_alias_double.
25869 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25870 <libm-alias-double.h>.
25871 (nearbyint): Define using libm_alias_double.
25872 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25873 <libm-alias-double.h>.
25874 (remquo): Define using libm_alias_double.
25875 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25876 (rint): Define using libm_alias_double.
25877 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25878 (round): Define using libm_alias_double.
25879 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25880 (trunc): Define using libm_alias_double.
25881 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25882 <libm-alias-double.h>.
25883 (ceil): Define using libm_alias_double.
25884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25885 <libm-alias-double.h>.
25886 (floor): Define using libm_alias_double.
25887 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25888 <libm-alias-double.h>.
25889 (llround): Define using libm_alias_double.
25890 [_LP64] (lround): Likewise.
25891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25892 <libm-alias-double.h>.
25893 [!_LP64] (lround): Define using libm_alias_double.
25894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25895 <libm-alias-double.h>.
25896 (nearbyint): Define using libm_alias_double.
25897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25898 <libm-alias-double.h>.
25899 (remquo): Define using libm_alias_double.
25900 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25901 <libm-alias-double.h>.
25902 (rint): Define using libm_alias_double.
25903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25904 <libm-alias-double.h>.
25905 (round): Define using libm_alias_double.
25906 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25907 <libm-alias-double.h>.
25908 (trunc): Define using libm_alias_double.
25909 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25910 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25911 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25912 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25913 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25914 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25915 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25916 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25917 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25919 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25921 * math/w_remainder.c: New file.
25922 * math/w_remainderf.c: New file.
25923 * math/w_remainderl.c: New file.
25925 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25927 * elf/rtld.c (BOOTSTRAP_MAP): New.
25928 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25929 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25931 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25933 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25936 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25938 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25939 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25940 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25941 rtld_hidden_data_ver): Define to empty.
25942 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25943 __assert_perror_fail): Likewise.
25944 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25945 (__rewinddir): Likewise.
25946 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25947 (__profile_frequency): Likewise.
25948 * include/setjmp.h (__sigsetjmp): Likewise.
25949 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25950 __libc_sigaction): Likewise.
25951 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25952 not set hidden attribute.
25953 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25954 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25955 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25956 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25957 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25958 __fxstatat64): Likewise.
25959 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25960 (__uname): Likewise.
25961 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25962 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25963 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25964 (NO_RTLD_HIDDEN): Set.
25965 * sysdeps/mach/hurd/configure: Refresh.
25966 * config.h.in: Refresh.
25968 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25970 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25971 (atan): Define using libm_alias_double.
25972 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25973 (tan): Define using libm_alias_double.
25974 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25975 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25978 define as weak alias of __atan. Do not define any aliases if
25980 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25981 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25983 as weak alias of __tan. Do not define any aliases if [__tan].
25984 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25985 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25986 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25989 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25990 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25991 and define as weak alias of __atan.
25992 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25994 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25996 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25997 define as weak alias of __tan.
25999 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26001 * math/w_lgamma.c: New file.
26002 * math/w_lgammaf.c: New file.
26003 * math/w_lgammal.c: New file.
26005 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26007 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26008 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26009 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26010 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26011 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26012 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26013 * sysdeps/i386/fpu/w_log2f.c: New file.
26014 * sysdeps/i386/fpu/w_logf.c: New file.
26015 * sysdeps/i386/fpu/w_powf.c: New file.
26016 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26017 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26018 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26020 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26021 H.J. Lu <hongjiu.lu@intel.com>
26023 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26024 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26025 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26026 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26029 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26030 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26031 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26032 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26033 * sysdeps/i386/fpu/w_exp2f.c: New file.
26034 * sysdeps/i386/fpu/w_expf.c: New file.
26035 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26036 * sysdeps/x86_64/fpu/w_expf.c: New file.
26038 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26040 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26043 * math/w_log2f.c: New file.
26044 * math/w_logf.c: New file.
26045 * math/w_powf.c: New file.
26046 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26047 * math/w_logf_compat.c (__logf_compat): Likewise.
26048 * math/w_powf_compat.c (__powf_compat): Likewise.
26049 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26050 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26051 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26053 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26059 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26072 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26074 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26075 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26081 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26085 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26087 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26088 (sysdep_routines): Add memrchr_power8.
26089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26090 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26091 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26093 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26094 (memrchr): Add __memrchr_power8 to ifunc list.
26095 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26100 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26101 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26103 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26104 (__posix_fallocate64_l64): Likewise.
26106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26109 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26110 (__sched_setaffinity_new): Add libc_hidden_proto and
26113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26116 * include/glob.h (__glob64): Add libc_hidden_proto.
26117 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26123 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26129 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26134 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26140 * csu/version.c (__libc_print_version): Add attribute_hidden.
26142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26145 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26150 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26155 * nscd/nscd_helper.c (__nis_hash): New prototype.
26157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26160 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26161 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26163 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26164 * termios/tcgetattr.c (__tcgetattr): Likewise.
26166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26169 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26170 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26171 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26172 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26173 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26178 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26183 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26184 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26189 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26194 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26195 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26200 * include/ifreq.h: New file.
26201 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26202 (__ifreq): Likewise.
26203 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26204 (__ifreq): Likewise.
26206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26209 * include/idna.h: New file.
26210 * inet/getnameinfo.c: Include <idna.h> instead of
26212 (__idna_to_unicode_lzlz): Removed.
26213 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26215 (__idna_to_ascii_lz): Removed.
26216 (__idna_to_unicode_lzlz): Likewise.
26218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26221 * include/plural-exp.h: New file.
26222 * intl/plural-exp.c: Include <plural-exp.h> instead of
26225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26228 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26229 "getsourcefilter.h".
26230 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26231 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26232 "getsourcefilter.h".
26233 (__get_sol): Removed.
26235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26238 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26240 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26245 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26251 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26256 * include/search.h (__tdestroy): Add libc_hidden_proto.
26257 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26262 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26267 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26273 * include/signal.h (__kill): Add libc_hidden_proto.
26274 (__sigblock): Likewise.
26275 (__sigprocmask): Likewise.
26276 (__sigaltstack): Likewise.
26277 * signal/kill.c (__kill): Add libc_hidden_def.
26278 * signal/sigblock.c (__sigblock): Likewise.
26279 * signal/sigprocmask.c (__sigprocmask): Likewise.
26280 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26281 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26282 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26283 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26284 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26286 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26288 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26289 (__sigprocmask): Likewise.
26290 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26292 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26293 (__sigprocmask): Likewise.
26294 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26300 * include/string.h (__strsep): Add libc_hidden_proto.
26301 * string/strsep.c (__strsep): Add libc_hidden_def.
26303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26306 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26308 (__spawni): Likewise.
26310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26313 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26314 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26320 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26325 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26326 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26327 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26328 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26329 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26331 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26332 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26337 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26338 (__dcigettext): Likewise.
26340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26343 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26345 (__get_nprocs): Likewise.
26346 (__get_phys_pages): Likewise.
26347 (__get_avphys_pages): Likewise.
26348 (__get_child_max): Add attribute_hidden.
26349 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26350 (__get_nprocs): Likewise.
26351 (__get_phys_pages): Likewise.
26352 (__get_avphys_pages): Likewise.
26353 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26355 (__get_nprocs): Likewise.
26356 (__get_phys_pages): Likewise.
26357 (__get_avphys_pages): Likewise.
26358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26360 (__get_nprocs_conf): Likewise.
26361 (__get_phys_pages): Likewise.
26362 (__get_avphys_pages): Likewise.
26364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26367 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26369 (__netlink_close): Likewise.
26370 (__netlink_free_handle): Likewise.
26371 (__netlink_request): Likewise.
26373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26376 * include/rpc/rpc.h (__rpc_thread_variables): Add
26378 (__rpc_thread_svc_cleanup): Likewise.
26379 (__rpc_thread_clnt_cleanup): Likewise.
26380 (__rpc_thread_key_cleanup): Likewise.
26382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26385 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26386 (__writev): Likewise.
26387 * misc/readv.c (__readv): Add libc_hidden_def.
26388 * misc/writev.c (__writev): Likewise.
26389 * sysdeps/posix/readv.c (__readv): Likewise.
26390 * sysdeps/posix/writev.c (__writev): Likewise.
26391 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26392 (__readv): Likewise.
26393 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26394 (__writev): Likewise.
26396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26399 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26400 (__regcomp): Add libc_hidden_proto.
26401 (__regexec): Likewise.
26402 (__regfree): Likewise.
26403 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26404 (__regfree): Likewise.
26405 * posix/regexec.c (__regexec): Likewise.
26407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26410 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26411 (__getutent): Likewise.
26412 (__getutid): Likewise.
26413 (__getutline): Likewise.
26414 (__pututline): Likewise.
26415 (__getutent_r): Likewise.
26416 (__getutid_r): Likewise.
26417 (__getutline_r): Likewise.
26418 (__utmpname): Add attribute_hidden.
26419 (__setutent): Likewise.
26420 (__endutent): Likewise.
26421 * login/getutent.c (__getutent): Add libc_hidden_def.
26422 * login/getutent_r.c (__getutent_r): Likewise.
26423 (__pututline): Likewise.
26424 * login/getutid.c (__getutid): Likewise.
26425 * login/getutid_r.c (__getutid_r): Likewise.
26426 * login/getutline.c (__getutline): Likewise.
26427 * login/getutline_r.c (__getutline_r): Likewise.
26428 * login/updwtmp.c (__updwtmp): Likewise.
26430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26433 * include/dirent.h (__opendir): Always add attribute_hidden.
26434 (__fdopendir): Likewise.
26435 (__closedir): Likewise.
26436 (__readdir): Likewise.
26437 (__readdir64): Add libc_hidden_proto.
26438 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26439 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26440 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26441 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26447 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26448 * include/netdb.h (__gethostbyaddr_r): Likewise.
26449 (__gethostbyname_r): Likewise.
26450 (__gethostbyname2_r): Likewise.
26451 (__getnetbyaddr_r): Likewise.
26452 (__getnetbyname_r): Likewise.
26453 (__getservbyname_r): Likewise.
26454 (__getservbyport_r): Likewise.
26455 (__getprotobyname_r): Likewise.
26456 (__getprotobynumber_r): Likewise.
26457 (__getnetgrent_r): Likewise.
26458 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26459 (__getrpcbynumber_r): Likewise.
26460 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26465 * include/stdio.h (__fcloseall): Add attribute_hidden.
26466 (__getline): Likewise.
26467 (__path_search): Likewise.
26468 (__gen_tempname): Likewise.
26469 (__libc_message): Likewise.
26470 (__flockfile): Likewise.
26471 (__funlockfile): Likewise.
26472 (__fxprintf): Likewise.
26473 (__fxprintf_nocancel): Likewise.
26475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26478 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26479 (__sgetsgent_r): Likewise.
26481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26484 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26485 (__statfs64): Likewise.
26486 (__fstatfs64): Likewise.
26487 * include/sys/statvfs.h (__statvfs64): Likewise.
26488 (__fstatvfs64): Likewise.
26489 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26490 (__statfs_filesize_max): Likewise.
26491 (__statfs_symlinks): Likewise.
26492 (__statfs_chown_restricted): Likewise.
26494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26497 * include/time.h (__tzstring): Add attribute_hidden.
26498 (__tzfile_read): Likewise.
26499 (__tzfile_compute): Likewise.
26500 (__tzfile_default): Likewise.
26501 (__tzset_parse_tz): Likewise.
26502 (__offtime): Likewise.
26503 (__asctime_r): Likewise.
26504 (__tzset): Likewise.
26505 (__tz_convert): Likewise.
26506 (__getdate_r): Likewise.
26507 (__getclktck): Likewise.
26509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26512 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26513 (__nscd_unmap): Likewise.
26514 (__nscd_cache_search): Likewise.
26515 (__nscd_get_nl_timestamp): Likewise.
26516 (__nscd_getpwnam_r): Likewise.
26517 (__nscd_getpwuid_r): Likewise.
26518 (__nscd_getgrnam_r): Likewise.
26519 (__nscd_getgrgid_r): Likewise.
26520 (__nscd_gethostbyname_r): Likewise.
26521 (__nscd_gethostbyname2_r): Likewise.
26522 (__nscd_gethostbyaddr_r): Likewise.
26523 (__nscd_getai): Likewise.
26524 (__nscd_getgrouplist): Likewise.
26525 (__nscd_getservbyname_r): Likewise.
26526 (__nscd_getservbyport_r): Likewise.
26527 (__nscd_innetgr): Likewise.
26528 (__nscd_setnetgrent): Likewise.
26530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26533 * include/gmp.h: Declare internal functions only if _ISOMAC is
26535 (__mpn_extract_double): Add attribute_hidden.
26536 (__mpn_extract_long_double): Likewise.
26537 (__mpn_extract_float128): Likewise.
26538 (__mpn_construct_float): Likewise.
26539 (__mpn_construct_double): Likewise.
26540 (__mpn_construct_long_double): Likewise.
26541 (__mpn_construct_float128): Likewise.
26542 (mpn_add_1): Likewise.
26543 (mpn_addmul_1): Likewise.
26544 (mpn_add_n): Likewise.
26545 (mpn_cmp): Likewise.
26546 (mpn_divrem): Likewise.
26547 (mpn_lshift): Likewise.
26548 (mpn_mul): Likewise.
26549 (mpn_mul_1): Likewise.
26550 (mpn_rshift): Likewise.
26551 (mpn_sub_1): Likewise.
26552 (mpn_submul_1): Likewise.
26553 (mpn_sub_n): Likewise.
26555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26558 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26559 (__wcscat): Likewise.
26560 (__btowc): Likewise.
26561 (__wcrtomb): Likewise.
26562 (__mbsrtowcs): Likewise.
26563 (__wcsrtombs): Likewise.
26564 (__mbsnrtowcs): Likewise.
26565 (__wcsnrtombs): Likewise.
26566 (__wcsncpy): Likewise.
26567 (__wcpncpy): Likewise.
26568 (__wmemcpy): Likewise.
26569 (__wmempcpy): Likewise.
26570 (__wmemmove): Likewise.
26571 (__wcschrnul): Likewise.
26572 (__vfwscanf): Likewise.
26573 (__vswprintf): Likewise.
26574 (__fwprintf): Likewise.
26575 (__vfwprintf): Likewise.
26577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26580 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26581 (__getgrgid_r): Likewise.
26582 (__getgrnam_r): Likewise.
26583 * include/pwd.h (__getpwuid_r): Likewise.
26584 (__getpwnam_r): Likewise.
26585 (__fgetpwent_r): Likewise.
26586 * include/shadow.h (__getspnam_r): Likewise.
26587 (__sgetspent_r): Likewise.
26588 (__fgetspent_r): Likewise.
26590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26593 * include/unistd.h (__access): Add attribute_hidden.
26594 (__lseek64): Likewise.
26595 (__libc_pread64): Likewise.
26596 (__pipe2): Likewise.
26597 (__sleep): Likewise.
26598 (__chdir): Likewise.
26599 (__fchdir): Likewise.
26600 (__getcwd): Likewise.
26601 (__rmdir): Likewise.
26602 (__execvpe): Likewise.
26603 (__execve): Likewise.
26604 (__setsid): Likewise.
26605 (__getuid): Likewise.
26606 (__geteuid): Likewise.
26607 (__getgid): Likewise.
26608 (__getegid): Likewise.
26609 (__getgroups): Likewise.
26610 (__group_member): Likewise.
26611 (__ttyname_r): Likewise.
26612 (__isatty): Likewise.
26613 (__readlink): Likewise.
26614 (__unlink): Likewise.
26615 (__gethostname): Likewise.
26616 (__profil): Likewise.
26617 (__getdtablesize): Likewise.
26619 (__ftruncate): Likewise.
26620 (__ftruncate64): Likewise.
26622 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26625 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26626 * argp/argp-fs-xinl.c: Likewise.
26627 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26628 * argp/argp-parse.c: Include <argp.h>.
26629 * argp/argp-xinl.c: Likewise.
26630 * include/argp-fmtstream.h: New file.
26631 * include/argp.h (__argp_error): Add attribute_hidden.
26632 (__argp_failure): Likewise.
26633 (__argp_input): Likewise.
26634 (__argp_state_help): Likewise.
26636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26639 * include/wchar.h (____wcstof_l_internal): New prototype.
26640 (____wcstod_l_internal): Likewise.
26641 (____wcstold_l_internal): Likewise.
26642 (____wcstol_l_internal): Likewise.
26643 (____wcstoul_l_internal): Likewise.
26644 (____wcstoll_l_internal): Likewise.
26645 (____wcstoull_l_internal): Likewise.
26646 (____wcstof128_l_internal): Likewise.
26647 * sysdeps/ieee754/float128/wcstof128.c
26648 (____wcstof128_l_internal): Removed.
26649 * sysdeps/ieee754/float128/wcstof128_l.c
26650 (____wcstof128_l_internal): Likewise.
26651 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26652 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26653 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26654 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26655 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26656 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26657 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26658 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26659 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26660 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26665 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26666 instead of <sys/statvfs.h>.
26667 (__internal_statvfs): Removed.
26668 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26669 instead of <sys/statvfs.h>.
26670 (__internal_statvfs64): Removed.
26671 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26672 "internal_statvfs.h" instead of <sys/statvfs.h>.
26673 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26674 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26675 instead of <sys/statvfs.h>.
26676 (__internal_statvfs): Removed.
26677 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26678 instead of <sys/statvfs.h>.
26679 (__internal_statvfs64): Removed.
26681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26684 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26685 (__gconv_close): Likewise.
26686 (__gconv): Likewise.
26687 (__gconv_find_transform): Likewise.
26688 (__gconv_lookup_cache): Likewise.
26689 (__gconv_compare_alias_cache): Likewise.
26690 (__gconv_load_cache): Likewise.
26691 (__gconv_get_path): Likewise.
26692 (__gconv_close_transform): Likewise.
26693 (__gconv_release_cache): Likewise.
26694 (__gconv_find_shlib): Likewise.
26695 (__gconv_release_shlib): Likewise.
26696 (__gconv_get_builtin_trans): Likewise.
26697 (__gconv_compare_alias): Likewise.
26698 * include/dlfcn.h (_dlerror_run): Likewise.
26699 * include/stdio.h (__fortify_fail_abort): Likewise.
26700 * include/time.h (__tz_compute): Likewise.
26701 (__strptime_internal): Likewise.
26702 * intl/gettextP.h (_nl_find_domain): Likewise.
26703 (_nl_load_domain): Likewise.
26704 (_nl_find_msg): Likewise.
26705 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26706 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26707 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26708 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26709 (__gai_find_request): Likewise.
26710 (__gai_remove_request): Likewise.
26711 (__gai_notify): Likewise.
26712 (__gai_notify_only): Likewise.
26713 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26714 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26715 (_dl_non_dynamic_init): Likewise.
26716 (_dl_aux_init): Likewise.
26717 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26718 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26720 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26721 (__wcsmbs_clone_conv): Likewise.
26722 (__wcsmbs_named_conv): Likewise.
26724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26727 * include/stdlib.h (__random): Add attribute_hidden.
26728 (__random_r): Likewise.
26729 (__srandom_r): Likewise.
26730 (__initstate_r): Likewise.
26731 (__setstate_r): Likewise.
26732 (__erand48_r): Likewise.
26733 (__nrand48_r): Likewise.
26734 (__jrand48_r): Likewise.
26735 (__srand48_r): Likewise.
26736 (__seed48_r): Likewise.
26737 (__lcong48_r): Likewise.
26738 (__drand48_iterate): Likewise.
26739 (__setenv): Likewise.
26740 (__unsetenv): Likewise.
26741 (__clearenv): Likewise.
26742 (__ptsname_r): Likewise.
26743 (__posix_openpt): Likewise.
26744 (__add_to_environ): Likewise.
26745 (__realpath): Add libc_hidden_proto.
26746 (__ecvt_r): Likewise.
26747 (__fcvt_r): Likewise.
26748 (__qecvt_r): Likewise.
26749 (__qfcvt_r): Likewise.
26750 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26751 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26756 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26757 * include/time.h (__mktime_internal): Likewise.
26758 * libio/iolibio.h (__fopen_internal): Likewise.
26760 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26762 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26764 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26765 Correct offset used to restore PIC register.
26767 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26770 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26771 code to load address of __getcontext_ret when generating PIC code.
26773 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26775 * elf/Makefile (tests-static-internal): Add
26776 tst-tls1-static-non-pie.
26777 (LDFLAGS-tst-tls1-static-non-pie): New.
26778 * elf/tst-tls1-static-non-pie.c: New file.
26780 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26782 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26783 (asinh): Define using libm_alias_double.
26784 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26785 (cbrt): Define using libm_alias_double.
26786 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26787 <libm-alias-double.h>.
26788 (copysign): Define using libm_alias_double.
26789 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26790 (erf): Define using libm_alias_double.
26792 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26793 (expm1): Define using libm_alias_double.
26794 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26795 (fabs): Define using libm_alias_double.
26796 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26798 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26799 <libm-alias-double.h>.
26800 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26802 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26803 <libm-alias-double.h>.
26804 (getpayload): Define using libm_alias_double.
26805 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26806 <libm-alias-double.h>.
26807 (llrint): Define using libm_alias_double.
26808 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26809 (lrint): Define using libm_alias_double.
26810 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26811 <libm-alias-double.h>.
26812 (nextup): Define using libm_alias_double.
26813 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26814 <libm-alias-double.h>.
26815 (roundeven): Define using libm_alias_double.
26816 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26818 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26819 <libm-alias-double.h>.
26820 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26821 using libm_alias_double.
26822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26823 (cos): Define using libm_alias_double.
26825 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26826 <libm-alias-double.h>.
26827 (sincos): Define using libm_alias_double.
26828 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26829 (tanh): Define using libm_alias_double.
26830 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26831 <libm-alias-double.h>.
26832 (totalorder): Define using libm_alias_double.
26833 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26834 <libm-alias-double.h>.
26835 (totalordermag): Define using libm_alias_double.
26836 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26838 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26840 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26841 <libm-alias-double.h>.
26842 (getpayload): Define using libm_alias_double.
26843 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26844 <libm-alias-double.h>.
26845 (roundeven): Define using libm_alias_double.
26846 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26847 <libm-alias-double.h>.
26848 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26849 <libm-alias-double.h>.
26850 (totalorder): Define using libm_alias_double.
26851 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26852 <libm-alias-double.h>.
26853 (totalordermag): Define using libm_alias_double.
26854 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26855 libc compat symbol here.
26856 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26857 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26858 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26859 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26860 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26861 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26862 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26863 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26864 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26865 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26867 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26869 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26870 _dl_relocate_static_pie instead of _dl_start to compute load
26871 address in static PIE. Return 0 if _DYNAMIC is undefined for
26874 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26876 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26877 _DYNAMIC is undefined for static executable.
26879 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26881 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26883 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26887 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26889 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26890 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26891 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26892 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26894 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26895 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26896 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26897 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26898 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26899 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26900 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26901 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26902 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26903 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26905 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26907 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26909 * math/bits/cmathcalls.h (cimag): Remove inline.
26910 (creal): Remove inline.
26911 (conj): Remove inline.
26913 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26915 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26916 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26917 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26918 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26919 (issignalingf_inline): Likewise.
26920 (POWF_LOG2_TABLE_BITS): Likewise.
26921 (POWF_LOG2_POLY_ORDER): Likewise.
26922 (POWF_SCALE_BITS): Likewise.
26923 (POWF_SCALE): Likewise.
26924 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26925 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26926 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26928 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26930 * math/Makefile (type-float-routines): Add e_log2f_data.
26931 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26932 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26933 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26934 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26935 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26936 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26937 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26939 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26941 * math/Makefile (type-float-routines): Add e_logf_data.
26942 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26943 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26944 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26945 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26946 * sysdeps/i386/fpu/e_logf_data.c: New file.
26947 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26948 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26950 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26952 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26953 undefined _DYNAMIC in PIE libc.a.
26954 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26957 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26959 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26960 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26961 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26962 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26963 (__signbit): Remove.
26964 (__signbitl): Remove.
26965 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26966 (__signbit): Remove.
26967 (__signbitl): Remove.
26968 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26969 (__signbit): Remove.
26970 (__signbitl): Remove.
26971 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26972 (__signbit): Remove.
26973 (__signbitl): Remove.
26974 * sysdeps/tile/bits/mathinline.h: Delete file.
26975 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26976 (__signbit): Remove.
26977 (__signbitl): Remove.
26979 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26981 * math/math.h: Improve handling of C99 isgreater macros.
26982 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26983 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26984 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26985 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26986 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26988 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26990 * sysdeps/aarch64/libm-test-ulps: Update.
26992 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26996 math_opt_barrier on argument when doing arithmetic on it.
26997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26998 Likewise. Use math_force_eval not math_opt_barrier after
27000 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27001 math_opt_barrier on argument when doing arithmetic on it.
27002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27005 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27007 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27009 (__freeifaddrs): Likewise.
27011 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27013 * include/dirent.h (__dirfd): New declaration.
27014 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27016 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27017 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27018 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27019 * include/unistd.h (__revoke): New declaration.
27020 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27022 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27023 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27025 * include/dirent.h (__seekdir): New declaration.
27026 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27027 redefine as weak alias.
27028 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27030 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27031 and use libc_hidden_def on them.
27032 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27034 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27035 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27036 instead of getifaddrs and freeifaddrs.
27038 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27041 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27042 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27043 (__dso_handle): Remove declaration.
27044 * dlfcn/tstatexit.c (__dso_handle): Removed.
27045 (main): Don't check __dso_handle.
27046 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27047 (main): Don't check __dso_handle.
27048 * include/dso_handle.h: New file.
27049 * malloc/mtrace.c: Include <dso_handle.h>.
27050 (mtrace): Pass __dso_handle directly.
27051 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27052 (__dso_handle): Remove declaration.
27053 (__pthread_atfork): Pass __dso_handle directly.
27054 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27055 (__dso_handle): Removed.
27056 * posix/wordexp-test.c: Include <dso_handle.h>.
27057 (__dso_handle): Remove declaration.
27058 (__app_register_atfork): Pass __dso_handle directly.
27059 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27060 (__dso_handle): Remove declaration.
27061 (at_quick_exit): Pass __dso_handle directly.
27062 * stdlib/atexit.c: Include <dso_handle.h>.
27063 (__dso_handle): Remove declaration.
27064 (atexit): Pass __dso_handle directly.
27065 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27066 (__dso_handle): Removed.
27068 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27070 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27073 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27075 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27076 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27077 values to correct default value for given type.
27079 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27082 * elf/Makefile (tests): Add tst-debug1.
27083 ($(objpfx)tst-debug1): New.
27084 ($(objpfx)tst-debug1.out): Likewise.
27085 ($(objpfx)tst-debug1mod1.so): Likewise.
27086 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27087 with p_filesz == 0.
27088 * elf/tst-debug1.c: New file.
27090 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27092 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27093 Define using __ifunc.
27095 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27097 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27100 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27103 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27105 2017-09-26 Florian Weimer <fweimer@redhat.com>
27107 * resolv/Makefile (tests-internal): Fix typo in comment.
27109 2017-09-26 Florian Weimer <fweimer@redhat.com>
27111 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27113 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27115 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27116 Use an union instead of a max_align_t array for __space,
27117 so that __space is the same size on all platforms.
27118 * malloc/scratch_buffer_grow_preserve.c
27119 (__libc_scratch_buffer_grow_preserve): Likewise.
27122 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27124 * posix/Makefile (routines): Add glob-lstat-compat and
27125 glob64-lstat-compat.
27126 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27127 * posix/glob-lstat-compat.c: New file.
27128 * posix/glob64-lstat-compat.c: Likewise.
27129 * posix/tst-glob_lstat_compat.c: Likewise.
27130 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27131 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27132 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27133 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27135 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27136 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27137 * posix/glob.c (glob_lstat): New function.
27138 (glob): Rename to __glob and add versioned symbol to 2.27.
27139 (glob_in_dir): Use glob_lstat.
27140 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27141 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27142 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27144 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27145 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27146 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27147 gl_lstat on glob call.
27148 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27149 and glob64 symbols.
27150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27151 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27152 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27153 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27154 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27155 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27156 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27157 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27158 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27159 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27160 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27161 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27164 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27168 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27169 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27170 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27173 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27177 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27179 * configure.ac (AS): Require binutils 2.25 or later.
27180 * configure: Regenerated.
27182 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27185 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27188 2017-09-25 DJ Delorie <dj@redhat.com>
27191 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27194 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27196 * sysdeps/ieee754/dbl-64/sincos32.h
27197 [SINCCOS32_H]: Remove define.
27198 [SINCOS32_H]: Define.
27200 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27202 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27204 * math/w_exp2f.c: New file.
27205 * math/w_expf.c: New file.
27206 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27207 * math/w_expf_compat.c (__expf_compat): Likewise.
27208 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27209 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27210 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27211 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27212 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27213 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27214 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27215 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27216 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27217 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27218 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27219 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27220 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27221 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27230 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27231 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27232 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27233 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27234 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27239 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27241 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27243 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27245 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27246 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27247 (roundtoint, converttoint): Likewise.
27248 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27249 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27250 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27251 * sysdeps/ieee754/flt-32/math_config.h: New file.
27252 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27253 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27254 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27255 * sysdeps/i386/fpu/math_errf.c: New file.
27256 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27257 * sysdeps/ia64/fpu/math_errf.c: New file.
27258 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27259 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27261 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27263 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27264 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27265 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27266 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27267 to make sure that these symbols are defined.
27268 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27270 (__need_NULL): Do not define.
27271 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27273 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27274 CMGROUP_MAX, cmsgcred): Do not define.
27275 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27277 * bits/socket.h: Likewise.
27278 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27279 __gettimeofday instead of gettimeofday.
27280 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27281 instead of settimeofday.
27283 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27285 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27286 (asinhf): Define using libm_alias_float.
27287 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27288 (atanf): Define using libm_alias_float.
27289 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27290 (cbrtf): Define using libm_alias_float.
27291 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27292 (ceilf): Define using libm_alias_float.
27293 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27294 <libm-alias-float.h>.
27295 (copysignf): Define using libm_alias_float.
27296 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27297 (cosf): Define using libm_alias_float.
27298 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27299 (erff): Define using libm_alias_float.
27301 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27302 (expm1f): Define using libm_alias_float.
27303 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27304 (fabsf): Define using libm_alias_float.
27305 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27306 (floorf): Define using libm_alias_float.
27307 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27308 (frexpf): Define using libm_alias_float.
27309 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27311 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27312 <libm-alias-float.h>.
27313 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27315 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27316 <libm-alias-float.h>.
27317 (getpayloadf): Define using libm_alias_float.
27318 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27319 <libm-alias-float.h>.
27320 (llrintf): Define using libm_alias_float.
27321 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27322 <libm-alias-float.h>.
27323 (llroundf): Define using libm_alias_float.
27324 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27325 (logbf): Define using libm_alias_float.
27326 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27327 (lrintf): Define using libm_alias_float.
27328 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27329 (lroundf): Define using libm_alias_float.
27330 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27331 (modff): Define using libm_alias_float.
27332 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27333 <libm-alias-float.h>.
27334 (nearbyintf): Define using libm_alias_float.
27335 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27336 <libm-alias-float.h>.
27337 (nextafterf): Define using libm_alias_float.
27338 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27339 <libm-alias-float.h>.
27340 (nextupf): Define using libm_alias_float.
27341 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27342 <libm-alias-float.h>.
27343 (remquof): Define using libm_alias_float.
27344 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27345 (rintf): Define using libm_alias_float.
27346 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27347 <libm-alias-float.h>.
27348 (roundevenf): Define using libm_alias_float.
27349 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27350 (roundf): Define using libm_alias_float.
27351 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27352 using libm_alias_float.
27353 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27354 <libm-alias-float.h>.
27355 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27356 Define using libm_alias_float.
27357 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27358 <libm-alias-float.h>.
27359 (sincosf): Define using libm_alias_float.
27360 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27361 (sinf): Define using libm_alias_float.
27362 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27363 (tanf): Define using libm_alias_float.
27364 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27365 (tanhf): Define using libm_alias_float.
27366 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27367 <libm-alias-float.h>.
27368 (totalorderf): Define using libm_alias_float.
27369 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27370 <libm-alias-float.h>.
27371 (totalordermagf): Define using libm_alias_float.
27372 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27373 (truncf): Define using libm_alias_float.
27374 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27376 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27379 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27382 math/math.h: Let fpclassify use the builtin in C++ mode, even
27383 when optimazing for size.
27385 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27387 * csu/Makefile (generated): Do not add version-info.h.
27388 (before-compile): Likewise.
27389 (all-Banner-files): Remove variable.
27390 ($(objpfx)version-info.h): Remove rule.
27391 * csu/version.c (banner): Do not include "version-info.h".
27392 * libidn/Banner: Remove.
27393 * manual/contrib.texi (Simon Josefsson): New entry.
27395 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27397 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27398 Remove conditionals on LDBL_MANT_DIG.
27399 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27400 (__ieee754_lgammal_r): Likewise.
27402 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27406 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27407 _Float128 and L(). Replace _Float128 with long double and L(x)
27408 with xL, throughout the file.
27409 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27414 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27417 sysdeps/ieee754/ldbl-128ibm.
27418 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27419 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27420 of including it. Keep _Float128 and L() intact. These will be
27421 reviewed by a separate patch.
27422 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27427 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27430 (__finitef128): Define to __redirect___finitef128.
27431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27432 (__isinff128): Define to __redirect___isinff128.
27433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27434 (__isnanf128): Define to __redirect___isnanf128.
27436 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27438 * sysdeps/powerpc/powerpc64le/Makefile
27439 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27440 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27442 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27443 Carlos O'Donell <carlos@redhat.com>
27446 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27447 * stdlib/test-dlclose-exit-race.c: New file.
27448 * stdlib/test-dlclose-exit-race-helper.c: New file.
27449 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27451 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27453 * crypt/Banner: Remove file.
27454 * nptl/Banner: Likewise.
27455 * resolv/Banner: Likewise.
27456 * soft-fp/Banner: Likewise.
27457 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27458 ($(objpfx)version.d): Remove dependency on banner.h.
27459 ($(objpfx)version.os): Likewise.
27460 * nptl/version.c (banner): Do not include banner.h.
27461 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27462 Jelinek and BIND code.
27464 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27465 Carlos O'Donell <carlos@redhat.com>
27467 * support/xdlfcn.h: New file.
27468 * support/xdlfcn.c: New file.
27469 * support/Makefile (libsupport-routines): Add xdlfcn.
27470 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27472 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27476 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27477 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27478 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27479 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27480 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27481 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27482 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27484 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27485 Ricky Zhou <rickyz@google.com>
27486 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27489 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27491 (__new_exitfn): Fail registration when we finished at_exit processing.
27492 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27493 * stdlib/on_exit.c (__on_exit): Likewise.
27494 * stdlib/exit.c (__exit_funcs_done): New variable.
27495 (__run_exit_handlers): Use __exit_funcs_lock.
27496 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27498 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27499 (test-cxa_atexit-race, test-on_exit-race): New tests.
27500 * stdlib/test-atexit-race-common.c: New file.
27501 * stdlib/test-atexit-race.c: New file.
27502 * stdlib/test-at_quick_exit-race.c: New file.
27503 * stdlib/test-cxa_atexit-race.c: New file.
27504 * stdlib/test-on_exit-race.c: New file.
27506 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27508 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27509 * benchtests/exp2f-inputs: Copy of expf-inputs.
27510 * benchtests/log2f-inputs: Copy of logf-inputs.
27512 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27514 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27515 Explicitly take address of first element of array arguments in
27516 call to INLINE_SYSCALL.
27518 2017-09-19 Andreas Schwab <schwab@suse.de>
27521 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27523 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27526 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27528 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27529 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27530 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27532 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27533 * posix/Makefile (tests): Add tst-fexecve.
27534 * posix/tst-fexecve.c: New file.
27536 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27538 * benchtests/Makefile: Add logf benchmark.
27539 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27541 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27543 * benchtests/Makefile: Add expf benchmark.
27544 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27546 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27548 * csu/Makefile: Add -funwind-tables to libc-start.c.
27549 * debug/Makefile: Add -funwind-tables to backtrace.c.
27550 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27551 * sysdeps/arm/Makefile: Likewise.
27552 * sysdeps/i386/Makefile: Likewise.
27553 * sysdeps/m68k/Makefile: Likewise.
27554 * sysdeps/mips/Makefile: Likewise.
27555 * sysdeps/nios2/Makefile: Likewise.
27556 * sysdeps/sh/Makefile: Likewise.
27557 * sysdeps/sparc/Makefile: Likewise.
27559 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27561 * benchtests/Makefile (bench-math): Add trunc and truncf.
27562 (CFLAGS-bench-trunc.c): New variable.
27563 (CFLAGS-bench-truncf.c): Likewise.
27564 * benchtests/trunc-inputs: New file.
27565 * benchtests/truncf-inputs: Likewise.
27567 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27569 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27571 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27573 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27574 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27576 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27577 (exp10l): Define as weak alias.
27578 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27579 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27581 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27582 (remainderl): Define as weak alias.
27584 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27585 (fmal): Define using libm_alias_ldouble.
27586 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27587 (acoshl): Define using libm_alias_ldouble.
27588 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27589 (acosl): Define using libm_alias_ldouble.
27590 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27591 (asinl): Define using libm_alias_ldouble.
27592 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27593 (atan2l): Define using libm_alias_ldouble.
27594 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27595 (atanhl): Define using libm_alias_ldouble.
27596 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27597 (coshl): Define using libm_alias_ldouble.
27598 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27599 (exp10l): Define using libm_alias_ldouble.
27600 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27601 (exp2l): Define using libm_alias_ldouble.
27602 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27603 (expl): Define using libm_alias_ldouble.
27604 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27605 (fmodl): Define using libm_alias_ldouble.
27606 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27607 (hypotl): Define using libm_alias_ldouble.
27608 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27609 (j0l): Define using libm_alias_ldouble.
27611 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27612 (j1l): Define using libm_alias_ldouble.
27614 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27615 (jnl): Define using libm_alias_ldouble.
27617 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27618 (log10l): Define using libm_alias_ldouble.
27619 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27620 (log2l): Define using libm_alias_ldouble.
27621 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27622 (logl): Define using libm_alias_ldouble.
27623 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27624 (powl): Define using libm_alias_ldouble.
27625 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27626 (remainderl): Define using libm_alias_ldouble.
27627 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27628 (sinhl): Define using libm_alias_ldouble.
27629 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27630 (sqrtl): Define using libm_alias_ldouble.
27631 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27632 (tgammal): Define using libm_alias_ldouble.
27633 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27634 (exp10l): Do not use long_double_symbol here.
27635 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27636 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27637 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27638 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27639 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27640 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27641 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27642 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27643 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27644 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27645 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27646 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27647 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27648 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27649 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27650 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27651 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27652 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27653 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27654 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27655 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27656 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27658 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27660 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27661 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27663 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27665 * io/read.c (read): Add libc_hidden_weak.
27666 * sysdeps/mach/hurd/read.c (read): Likewise.
27667 * io/write.c (write): Likewise.
27668 * sysdeps/mach/hurd/write.c (write): Likewise.
27669 * io/pread64.c (__pread64): Likewise.
27670 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27671 * posix/pread64.c (__pread64): Add libc_hidden_def.
27673 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27675 * benchtests/scripts/compare_strings.py: New option -g.
27676 (draw_graph): Print a message that a graph is being generated.
27677 (process_results): Generate graph only if -g is passed.
27678 (main): Process option -g.
27680 * benchtests/scripts/compare_strings.py (process_results):
27681 Better spacing for output.
27683 * benchtests/scripts/compare_strings.py: Use argparse.
27684 * benchtests/README: Document existence of compare_strings.py.
27686 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27688 * math/s_fma.c: Include <libm-alias-double.h>.
27689 (fma): Define using libm_alias_double.
27690 * math/s_nextafter.c: Include <libm-alias-double.h>.
27691 (nextafter): Define using libm_alias_double.
27692 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27693 (acos): Define using libm_alias_double.
27694 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27695 (aocsh): Define using libm_alias_double.
27696 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27697 (asin): Define using libm_alias_double.
27698 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27699 (atan2): Define using libm_alias_double.
27700 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27701 (atanh): Define using libm_alias_double.
27702 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27703 (cosh): Define using libm_alias_double.
27704 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27705 (exp10): Define using libm_alias_double.
27706 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27707 (exp2): Define using libm_alias_double.
27708 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27709 (exp): Define using libm_alias_double.
27710 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27711 (fmod): Define using libm_alias_double.
27712 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27713 (hypot): Define using libm_alias_double.
27714 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27715 (j0): Define using libm_alias_double.
27717 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27718 (j1): Define using libm_alias_double.
27720 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27721 (jn): Define using libm_alias_double.
27723 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27724 (log10): Define using libm_alias_double.
27725 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27726 (log2): Define using libm_alias_double.
27727 * math/w_log_compat.c: Include <libm-alias-double.h>.
27728 (log): Define using libm_alias_double.
27729 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27730 (pow): Define using libm_alias_double.
27731 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27732 (remainder): Define using libm_alias_double.
27733 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27734 (sinh): Define using libm_alias_double.
27735 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27736 (sqrt): Define using libm_alias_double.
27737 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27738 (tgamma): Define using libm_alias_double.
27739 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27740 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27741 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27742 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27743 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27744 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27745 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27746 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27747 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27748 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27749 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27750 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27751 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27752 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27753 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27754 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27755 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27756 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27757 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27758 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27759 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27760 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27761 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27762 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27763 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27765 * math/e_acoshl.c: Remove.
27766 * math/e_acosl.c: Likewise.
27767 * math/e_asinl.c: Likewise.
27768 * math/e_atan2l.c: Likewise.
27769 * math/e_atanhl.c: Likewise.
27770 * math/e_coshl.c: Likewise.
27771 * math/e_expl.c: Likewise.
27772 * math/e_fmodl.c: Likewise.
27773 * math/e_gammal_r.c: Likewise.
27774 * math/e_hypotl.c: Likewise.
27775 * math/e_j0l.c: Likewise.
27776 * math/e_j1l.c: Likewise.
27777 * math/e_jnl.c: Likewise.
27778 * math/e_lgammal_r.c: Likewise.
27779 * math/e_log10l.c: Likewise.
27780 * math/e_log2l.c: Likewise.
27781 * math/e_logl.c: Likewise.
27782 * math/e_powl.c: Likewise.
27783 * math/e_rem_pio2l.c: Likewise.
27784 * math/e_sinhl.c: Likewise.
27785 * math/e_sqrtf128.c: Likewise.
27786 * math/e_sqrtl.c: Likewise.
27787 * math/k_cosl.c: Likewise.
27788 * math/k_sinl.c: Likewise.
27789 * math/k_tanl.c: Likewise.
27790 * math/s_asinhl.c: Likewise.
27791 * math/s_atanl.c: Likewise.
27792 * math/s_cbrtl.c: Likewise.
27793 * math/s_erfl.c: Likewise.
27794 * math/s_expm1l.c: Likewise.
27795 * math/s_log1pl.c: Likewise.
27796 * math/s_tanhl.c: Likewise.
27798 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27802 [$(subdir) = math] (sysdep_calls): New variable. Has the
27803 previous contents of sysdep_routines, but re-sorted..
27804 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27806 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27807 defined in sysdep_calls and replace by the respective m_* names.
27808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27809 (compat_symbol): Undefine to avoid duplicated compat symbols in
27812 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27814 * math/s_fmaf.c: Include <libm-alias-float.h>.
27815 (fmaf): Define using libm_alias_float.
27816 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27817 (acosf): Define using libm_alias_float.
27818 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27819 (acoshf): Define using libm_alias_float.
27820 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27821 (asinf): Define using libm_alias_float.
27822 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27823 (atan2f): Define using libm_alias_float.
27824 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27825 (atanhf): Define using libm_alias_float.
27826 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27827 (coshf): Define using libm_alias_float.
27828 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27829 (exp10f): Define using libm_alias_float.
27830 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27831 (fmodf): Define using libm_alias_float.
27832 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27833 (hypotf): Define using libm_alias_float.
27834 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27835 (j0f): Define using libm_alias_float.
27837 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27838 (j1f): Define using libm_alias_float.
27840 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27841 (jnf): Define using libm_alias_float.
27843 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27844 (log10f): Define using libm_alias_float.
27845 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27846 (log2f): Define using libm_alias_float.
27847 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27848 (logf): Define using libm_alias_float.
27849 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27850 (powf): Define using libm_alias_float.
27851 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27852 (remainderf): Define using libm_alias_float.
27853 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27854 (sinhf): Define using libm_alias_float.
27855 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27856 (sqrtf): Define using libm_alias_float.
27857 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27858 (tgammaf): Define using libm_alias_float.
27860 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27862 * include/math.h (roundeven): Change hidden_proto call to
27864 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27866 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27867 (y0): Rename to __y0 and define as weak alias.
27868 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27869 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27871 (y0f): Rename to __y0f and define as weak alias.
27872 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27874 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27875 (y1): Rename to __y1 and define as weak alias.
27876 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27877 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27879 (y1f): Rename to __y1f and define as weak alias.
27880 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27882 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27883 (yn): Rename to __yn and define as weak alias.
27884 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27885 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27887 (ynf): Rename to __ynf and define as weak alias.
27888 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27889 (fromfp): Define as weak alias.
27890 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27891 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27892 (fromfpx): Define as weak alias.
27893 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27894 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27895 __getpayload and define as weak alias.
27896 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27897 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27898 __roundeven and define as weak alias.
27899 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27900 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27902 (setpayload): Define as weak alias.
27903 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27904 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27906 (setpayloadsig): Define as weak alias.
27907 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27908 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27909 __totalorder and define as weak alias.
27910 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27911 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27912 to __totalordermag and define as weak alias.
27913 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27914 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27915 (ufromfp): Define as weak alias.
27916 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27917 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27919 (ufromfpx): Define as weak alias.
27920 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27922 Rename to __getpayload and define as weak alias.
27923 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27925 Rename to __roundeven and define as weak alias.
27926 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27927 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27928 Rename to __totalorder and define as weak alias.
27929 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27931 (totalordermag): Rename to __totalordermag and define as weak
27933 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27934 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27936 (__roundevenl): Likewise.
27937 (__totalorderl): Likewise.
27938 (__totalordermagl): Likewise
27939 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27941 (fromfpf128): Define as weak alias.
27942 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27944 (fromfpxf128): Define as weak alias.
27945 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27947 (setpayloadf128): Define as weak alias.
27948 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27949 __setpayloadsigf128.
27950 (setpayloadsigf128): Define as weak alias.
27951 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27953 (ufromfpf128): Define as weak alias.
27954 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27956 (ufromfpxf128): Define as weak alias.
27957 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27958 (fromfpf): Define as weak alias.
27959 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27961 (fromfpxf): Define as weak alias.
27962 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27963 __getpayloadf and define as weak alias.
27964 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27965 __roundevenf and define as weak alias.
27966 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27968 (setpayloadf): Define as weak alias.
27969 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27971 (setpayloadsigf): Define as weak alias.
27972 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27973 __totalorderf and define as weak alias.
27974 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27975 Rename to __totalordermagf and define as weak alias.
27976 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27978 (ufromfpf): Define as weak alias.
27979 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27981 (ufromfpxf): Define as weak alias.
27982 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27984 (fromfpl): Define as weak alias.
27985 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27987 (fromfpxl): Define as weak alias.
27988 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27989 to __getpayloadl and define as weak alias.
27990 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27991 __roundevenl and define as weak alias.
27992 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27994 (setpayloadl): Define as weak alias.
27995 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27997 (setpayloadsigl): Define as weak alias.
27998 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27999 to __totalorderl and define as weak alias.
28000 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28001 Rename to __totalordermagl and define as weak alias.
28002 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28004 (ufromfpl): Define as weak alias.
28005 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28007 (ufromfpxl): Define as weak alias.
28008 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28010 (fromfpl): Define as weak alias.
28011 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28013 (fromfpxl): Define as weak alias.
28014 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28015 Rename to __getpayloadl and define as weak alias.
28016 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28017 to __roundevenl and define as weak alias. Call __roundeven
28018 instead of roundeven.
28019 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28021 (setpayloadl): Define as weak alias.
28022 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28024 (setpayloadsigl): Define as weak alias.
28025 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28026 Rename to __totalorderl and define as weak alias.
28027 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28028 Rename to __totalordermagl and define as weak alias.
28029 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28031 (ufromfpl): Define as weak alias.
28032 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28034 (ufromfpxl): Define as weak alias.
28035 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28037 (fromfpl): Define as weak alias.
28038 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28040 (fromfpxl): Define as weak alias.
28041 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28042 __getpayloadl and define as weak alias.
28043 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28044 __roundevenl and define as weak alias.
28045 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28047 (setpayloadl): Define as weak alias.
28048 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28050 (setpayloadsigl): Define as weak alias.
28051 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28052 __totalorderl and define as weak alias.
28053 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28054 Rename to __totalordermagl and define as weak alias.
28055 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28057 (ufromfpl): Define as weak alias.
28058 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28060 (ufromfpxl): Define as weak alias.
28062 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28064 * benchtests/bench-string.h (realloc_bufs): New function.
28065 (test_init): Call it.
28066 * benchtests/bench-memset-large.c (do_test): Likewise.
28067 * benchtests/bench-memset.c (do_test): Likewise.
28069 * benchtests/bench-memset-large.c: Print output in JSON
28071 * benchtests/bench-memset.c: Likewise.
28073 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28076 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28077 * iconvdata/Makefile: Add IBM858.
28078 * iconvdata/gconv-modules: Likewise.
28079 * iconvdata/tst-tables.sh: Likewise.
28080 * iconvdata/ibm858.c: New file.
28081 * localedata/charmaps/IBM858: Likewise.
28083 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28086 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28087 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28089 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28092 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28093 and add tel_int_fmt.
28095 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28097 * sysdeps/generic/libm-alias-float128.h: New file.
28098 * sysdeps/generic/math-type-macros-float128.h: Include
28099 <libm-alias-float128.h>.
28100 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28102 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28104 * sysdeps/generic/libm-alias-ldouble.h: New file.
28105 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28106 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28107 * sysdeps/generic/math-type-macros-ldouble.h: Include
28108 <libm-alias-ldouble.h>.
28109 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28110 libm_alias_ldouble.
28112 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28114 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28115 * math/w_exp_compat.c: ... here.
28116 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28117 * math/w_expf_compat.c: ... here.
28118 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28119 * math/w_expl_compat.c: ... here.
28120 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28121 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28122 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28123 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28125 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28127 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28129 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28131 (ldexpl): Only define as compat symbol for libc, not libm.
28132 (scalbnl): Define as compat symbol for libc here.
28133 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28134 define for [IS_IN (libc)].
28135 (__ldexpl_2): Remove alias.
28136 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28137 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28138 name in long_double_symbol call.
28139 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28140 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28141 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28142 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28143 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28145 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28146 Define as compat symbol.
28148 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28150 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28151 * sysdeps/unix/sysv/linux/alpha/Makefile
28152 [$(subdir) = csu] (sysdep_routines): Remove rule.
28154 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28156 * sysdeps/generic/libm-alias-double.h: New file.
28157 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28158 * sysdeps/generic/math-type-macros-double.h: Include
28159 <libm-alias-double.h>.
28160 [declare_mgen_alias] (declare_mgen_alias): Define to use
28162 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28163 (M_LIBM_NEED_COMPAT): Remove macro.
28164 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28165 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28166 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28168 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28169 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28170 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28171 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28172 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28173 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28174 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28175 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28176 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28177 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28178 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28179 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28180 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28181 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28182 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28183 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28184 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28185 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28186 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28187 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28188 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28189 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28190 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28191 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28192 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28193 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28194 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28195 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28196 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28198 (declare_mgen_alias): New macro.
28199 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28200 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28202 (M_LIBM_NEED_COMPAT): Remove macro.
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28204 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28205 <first-versions.h>.
28206 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28207 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28209 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28211 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28212 (declare_mgen_alias_2): Remove.
28213 * sysdeps/generic/math-type-macros-double.h
28214 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28216 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28218 (ldexp): Define with declare_mgen_alias.
28219 (scalbn): Likewise.
28221 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28223 * grp/initgroups.c: Include config.h.
28224 (DEFAULT_CONFIG): New macro.
28225 (internal_getgrouplist): Use DEFAULT_CONFIG.
28226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28227 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28228 (DEFAULT_DEFCONFIG): New macro.
28229 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28230 * nss/grp-lookup.c: Include config.h
28231 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28232 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28233 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28234 * manual/nss.texi: Update default values section.
28236 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28239 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28241 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28242 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28243 Handle MathVec_Prefer_No_AVX512.
28244 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28245 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28248 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28250 * posix/sched_primax.c (__sched_get_priority_max): Add
28252 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28253 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28254 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28255 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28256 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28257 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28258 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28259 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28262 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28264 * sysdeps/generic/libm-alias-float.h: New file.
28265 * sysdeps/generic/math-type-macros-float.h: Include
28266 <libm-alias-float.h>.
28267 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28269 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28272 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28273 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28274 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28275 (HWCAP_IMPORTANT): Likewise.
28276 (HWCAP_X86_64): New enum.
28277 (HWCAP_X86_AVX512_1): Updated.
28278 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28279 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28280 (modules-names): Add x86_64/tst-x86_64mod-1.
28281 (LDFLAGS-tst-x86_64mod-1.so): New.
28282 ($(objpfx)tst-x86_64-1): Likewise.
28283 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28284 (tst-x86_64-1-clean): Likewise.
28285 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28286 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28288 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28290 * po/sv.po: Update translations.
28291 * po/fr.po: Likewise.
28293 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28295 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28297 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28299 * elf/rtld-Rules: Fix $(error) use.
28301 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28304 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28305 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28306 * localedata/locales/bn_BD: “Bengali” was still used in some
28307 comments. Change it to “Bangla”.
28309 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28311 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28313 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28315 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28316 thunderx2t99p1 to list of cpu names.
28317 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28318 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28320 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28322 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28323 Use strcmp instead of tunable_is_name.
28325 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28328 (F_GET_RW_HINT): New macro.
28329 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28330 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28331 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28332 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28333 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28334 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28335 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28336 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28337 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28340 (F_ADD_SEALS): New macro.
28341 [__USE_GNU] (F_GET_SEALS): Likewise.
28342 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28343 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28344 [__USE_GNU] (F_SEAL_GROW): Likewise.
28345 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28347 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28349 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28350 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28351 * posix/glob_internal.h (__glob_pattern_type):
28352 * posix/glob.c (glob):
28353 * posix/glob_pattern_p.c (__glob_pattern_p):
28356 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28357 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28358 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28359 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28360 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28362 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28363 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28364 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28365 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28366 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28367 * sysdeps/wordsize-64/glob.c: Likewise.
28368 * sysdeps/wordsize-64/glob64.c: Likewise.
28369 * sysdeps/wordsize-64/globfree.c: Likewise.
28370 * sysdeps/wordsize-64/globfree64.c: Likewise.
28371 * sysdeps/unix/sysv/linux/glob.c: New file.
28372 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28373 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28374 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28375 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28376 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28377 adds !GLOB_NO_OLD_VERSION as an extra condition.
28378 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28379 using relative path instead of absolute one.
28380 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28381 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28382 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28383 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28384 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28385 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28388 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28389 (glob): Use the same scratch buffer for both getlogin_r and
28390 getpwnam_r. Don’t require preallocation of the login name. This
28391 simplifies storage allocation, and corrects the handling of
28395 * posix/glob.c (glob): Port recent patches to platforms
28396 lacking getpwnam_r.
28397 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28398 returns an error number rather than setting errno.
28400 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28401 instead of GCC extension.
28402 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28403 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28404 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28408 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28409 * posix/bug-glob1.c: Remove file.
28410 * posix/tst-glob_symlinks.c: New file.
28411 * posix/glob.c (__lstat64): New macro.
28412 (is_dir): New function.
28413 (glob, glob_in_dir): Match symlinks even if they are dangling.
28414 (link_stat, link_exists_p): Remove. All uses removed.
28418 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28419 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28424 * posix/Makefile (routines): Add globfree, globfree64, and
28426 * posix/flexmember.h: New file.
28427 * posix/glob_internal.h: Likewise.
28428 * posix/glob_pattern_p.c: Likewise.
28429 * posix/globfree.c: Likewise.
28430 * posix/globfree64.c: Likewise.
28431 * sysdeps/gnu/globfree64.c: Likewise.
28432 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28433 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28434 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28435 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28436 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28437 * sysdeps/wordsize-64/globfree.c: Likewise.
28438 * sysdeps/wordsize-64/globfree64.c: Likewise.
28439 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28440 [NDEBUG): Remove comments.
28441 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28442 (dirent_type): New type. Use uint_fast8_t not
28443 uint8_t, as C99 does not require uint8_t.
28444 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28445 (struct readdir_result): Use dirent_type. Do not define skip_entry
28446 unless it is needed; this saves a byte on platforms lacking d_ino.
28447 (readdir_result_type, readdir_result_skip_entry):
28448 New functions, replacing ...
28449 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28450 these functions, which were removed. This makes the callers
28451 easier to read. All callers changed.
28452 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28453 (size_add_wrapv, glob_use_alloca): New static functions.
28454 (glob, glob_in_dir): Check for size_t overflow in several places,
28455 and fix some size_t checks that were not quite right.
28456 Remove old code using SHELL since Bash no longer
28458 (glob, prefix_array): Separate MS code better.
28459 (glob_in_dir): Remove old Amiga and VMS code.
28460 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28462 (glob_in_dir): Do not rely on undefined behavior in accessing
28463 struct members beyond their bounds. Use a flexible array member
28465 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28466 0/1. Caller changed.
28467 (glob): Fix memory leaks.
28468 * posix/glob64 (globfree64): Move to separate file.
28469 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28470 (globfree64): Remove hidden alias.
28471 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28473 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28475 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28477 Move compat code to separate file.
28478 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28481 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28483 * resolv/tst-resolv-qtypes.c (domain): Changed to
28484 "const char domain[] =".
28486 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28488 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28491 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28492 (TCP_MD5SIG_EXT): Likewise.
28493 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28494 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28495 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28497 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28499 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28501 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28503 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28506 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28508 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28510 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28511 before assuming that the file is empty. Avoid testing buffer content
28514 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28517 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28519 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28521 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28523 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28525 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28527 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28529 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28532 2017-09-06 Florian Weimer <fweimer@redhat.com>
28534 * malloc/dynarray_emplace_enlarge.c
28535 (__libc_dynarray_emplace_enlarge): Add missing else.
28537 2017-09-06 Florian Weimer <fweimer@redhat.com>
28540 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28541 case of failure to obtain the global conf object.
28543 2017-09-06 Florian Weimer <fweimer@redhat.com>
28546 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28547 dynarray allocation failure.
28549 2017-09-06 Florian Weimer <fweimer@redhat.com>
28551 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28552 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28553 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28555 (response): Call them. Add 'p', '6' flag processing.
28556 (test_reverse): New function.
28557 (test_get2_any): Call it.
28558 (test_no_inet6): Add 'p' test.
28559 (test_inet6): Likewise.
28561 2017-09-06 Florian Weimer <fweimer@redhat.com>
28563 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28564 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28566 (test_gai): Adjust query names. Add additional tests.
28567 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28568 test_get2. Adjust query names. Add additional tests.
28569 (test_no_inet6): New function, extracted from threadfunc.
28570 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28571 Add additional tests.
28573 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28576 * localedata/unicode-gen/utf8_gen.py: Set the width for
28577 characters with Prepended_Concatenation_Mark property to 1
28578 * localedata/charmaps/UTF-8: Updated using the improved script.
28580 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28583 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28584 use the range notation for all ranges of neighbouring characters
28585 with the same width.
28587 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28589 * sysdeps/generic/math-type-macros-double.h: Include
28590 <math-svid-compat.h>.
28591 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28592 * sysdeps/generic/math-type-macros-float.h: Include
28593 <math-svid-compat.h>.
28594 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28595 * sysdeps/generic/math-type-macros-ldouble.h: Include
28596 <math-svid-compat.h>.
28597 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28598 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28600 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28601 * math/w_acosf_compat.c: Likewise.
28602 * math/w_acosh_compat.c: Likewise.
28603 * math/w_acoshf_compat.c: Likewise.
28604 * math/w_acoshl_compat.c: Likewise.
28605 * math/w_acosl_compat.c: Likewise.
28606 * math/w_asin_compat.c: Likewise.
28607 * math/w_asinf_compat.c: Likewise.
28608 * math/w_asinl_compat.c: Likewise.
28609 * math/w_atan2_compat.c: Likewise.
28610 * math/w_atan2f_compat.c: Likewise.
28611 * math/w_atan2l_compat.c: Likewise.
28612 * math/w_atanh_compat.c: Likewise.
28613 * math/w_atanhf_compat.c: Likewise.
28614 * math/w_atanhl_compat.c: Likewise.
28615 * math/w_cosh_compat.c: Likewise.
28616 * math/w_coshf_compat.c: Likewise.
28617 * math/w_coshl_compat.c: Likewise.
28618 * math/w_exp10_compat.c: Likewise.
28619 * math/w_exp10f_compat.c: Likewise.
28620 * math/w_exp10l_compat.c: Likewise.
28621 * math/w_exp2_compat.c: Likewise.
28622 * math/w_exp2f_compat.c: Likewise.
28623 * math/w_exp2l_compat.c: Likewise.
28624 * math/w_fmod_compat.c: Likewise.
28625 * math/w_fmodf_compat.c: Likewise.
28626 * math/w_fmodl_compat.c: Likewise.
28627 * math/w_hypot_compat.c: Likewise.
28628 * math/w_hypotf_compat.c: Likewise.
28629 * math/w_hypotl_compat.c: Likewise.
28630 * math/w_j0_compat.c: Likewise.
28631 * math/w_j0f_compat.c: Likewise.
28632 * math/w_j0l_compat.c: Likewise.
28633 * math/w_j1_compat.c: Likewise.
28634 * math/w_j1f_compat.c: Likewise.
28635 * math/w_j1l_compat.c: Likewise.
28636 * math/w_jn_compat.c: Likewise.
28637 * math/w_jnf_compat.c: Likewise.
28638 * math/w_jnl_compat.c: Likewise.
28639 * math/w_lgamma_r_compat.c: Likewise.
28640 * math/w_lgammaf_r_compat.c: Likewise.
28641 * math/w_lgammal_r_compat.c: Likewise.
28642 * math/w_log10_compat.c: Likewise.
28643 * math/w_log10f_compat.c: Likewise.
28644 * math/w_log10l_compat.c: Likewise.
28645 * math/w_log2_compat.c: Likewise.
28646 * math/w_log2f_compat.c: Likewise.
28647 * math/w_log2l_compat.c: Likewise.
28648 * math/w_log_compat.c: Likewise.
28649 * math/w_logf_compat.c: Likewise.
28650 * math/w_logl_compat.c: Likewise.
28651 * math/w_pow_compat.c: Likewise.
28652 * math/w_powf_compat.c: Likewise.
28653 * math/w_powl_compat.c: Likewise.
28654 * math/w_remainder_compat.c: Likewise.
28655 * math/w_remainderf_compat.c: Likewise.
28656 * math/w_remainderl_compat.c: Likewise.
28657 * math/w_sinh_compat.c: Likewise.
28658 * math/w_sinhf_compat.c: Likewise.
28659 * math/w_sinhl_compat.c: Likewise.
28660 * math/w_sqrt_compat.c: Likewise.
28661 * math/w_sqrtf_compat.c: Likewise.
28662 * math/w_sqrtl_compat.c: Likewise.
28663 * math/w_tgamma_compat.c: Likewise.
28664 * math/w_tgammaf_compat.c: Likewise.
28665 * math/w_tgammal_compat.c: Likewise.
28666 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28667 [LIBM_SVID_COMPAT].
28668 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28669 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28670 [LIBM_SVID_COMPAT].
28671 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28672 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28673 [LIBM_SVID_COMPAT].
28674 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28675 * sysdeps/i386/fpu/w_sqrt.c: New file.
28676 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28677 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28678 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28679 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28680 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28681 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28682 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28683 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28684 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28685 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28686 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28687 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28688 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28689 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28690 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28691 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28692 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28693 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28694 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28695 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28696 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28697 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28698 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28699 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28700 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28701 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28702 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28703 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28704 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28705 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28706 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28707 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28708 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28709 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28710 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28711 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28712 * sysdeps/ia64/fpu/w_log.c: Likewise.
28713 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28714 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28715 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28716 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28717 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28718 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28719 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28720 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28721 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28722 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28723 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28724 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28725 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28726 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28727 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28728 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28729 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28730 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28731 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28732 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28733 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28734 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28735 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28737 [LIBM_SVID_COMPAT].
28738 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28739 * sysdeps/ieee754/k_standard.c: Likewise.
28740 * sysdeps/ieee754/k_standardf.c: Likewise.
28741 * sysdeps/ieee754/k_standardl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28744 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28745 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28746 long_double_symbol call on [LIBM_SVID_COMPAT].
28747 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28748 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28749 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28750 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28751 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28752 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28753 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28754 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28755 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28756 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28757 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28758 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28759 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28760 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28761 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28762 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28763 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28764 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28765 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28766 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28767 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28768 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28770 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28772 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28773 * malloc/tst-mallocstate.c: Convert from test-skeleton
28774 to test-driver. Ifdef code using TEST_COMPAT macro.
28775 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28776 * math/test-matherr.c: Likewise.
28778 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28781 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28782 comparing word with byte-swapped constant.
28784 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28787 * locale/iso-639.def: add Miskito.
28788 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28789 * localedata/locales/miq_NI: New file.
28791 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28794 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28795 (__mkdir): Likewise.
28796 * io/chmod.c (__chmod): Add libc_hidden_def.
28797 * io/mkdir.c (__mkdir): Likewise.
28798 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28799 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28800 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28801 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28803 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28805 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28809 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28810 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28812 2017-09-04 Florian Weimer <fweimer@redhat.com>
28814 * math/math.h: Issue warning if log is defined.
28816 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28818 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28819 kernel version to 4.13.
28821 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28823 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28824 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28826 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28827 just <bits/types.h>.
28828 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28829 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28830 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28831 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28832 * misc/preadv2.c: Include <errno.h>.
28833 * misc/preadv64v2.c: Include <errno.h>.
28834 * misc/pwritev2.c: Include <errno.h>.
28835 * misc/pwritev64v2.c: Include <errno.h>.
28836 * sysdeps/posix/preadv2.c: Include <errno.h>.
28837 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28838 Fix <unistd.h> inclusion.
28839 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28840 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28841 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28842 __strtoul_internal): New functions.
28843 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28844 * sysdeps/posix/system.c: Include <sigsetops.h>.
28845 * sysdeps/mach/hurd/i386/Makefile
28846 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28847 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28848 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28849 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28850 __feraiseexcept_renamed to feraiseexcept instead of
28851 __GI_feraiseexcept.
28852 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28853 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28854 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28855 RWF_NOWAIT): Define to 0 if undefined already.
28856 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28858 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28859 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28861 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28863 * manual/math.texi (pow10): Do not document.
28864 (pow10f): Likewise.
28865 (pow10l): Likewise.
28866 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28867 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28868 * math/libm-test-exp10.inc (pow10_test): Remove.
28869 (do_test): Do not call pow10.
28870 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28871 [NO_LONG_DOUBLE] (pow10l): Likewise.
28872 * math/w_exp10f_compat.c (pow10f): Likewise.
28873 * math/w_exp10l_compat.c (pow10l): Likewise.
28874 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28875 (pow10): Make into compat symbol.
28876 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28877 (pow10f): Make into compat symbol.
28878 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28879 (pow10l): Make into compat symbol.
28880 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28882 (CFLAGS-nldbl-pow10.c): Remove variable..
28883 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28884 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28885 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28886 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28887 Undefine and redefine.
28888 (pow10l): Make into compat symbol.
28889 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28890 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28891 * sysdeps/arm/libm-test-ulps: Likewise.
28892 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28893 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28894 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28895 * sysdeps/microblaze/libm-test-ulps: Likewise.
28896 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28897 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28898 * sysdeps/nios2/libm-test-ulps: Likewise.
28899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28900 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28901 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28902 * sysdeps/sh/libm-test-ulps: Likewise.
28903 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28904 * sysdeps/tile/libm-test-ulps: Likewise.
28905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28907 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28909 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28911 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28913 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28914 "../ChangeLog.old/ChangeLog.8".
28915 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28916 "../ChangeLog.old/ChangeLog.14".
28918 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28920 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28923 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28925 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28927 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28929 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28930 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28932 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28934 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28935 32 atexit handlers.
28937 2017-09-01 Zack Weinberg <zackw@panix.com>
28939 * math/math.h (HUGE_VAL): Improve commentary.
28941 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28942 Andreas Schwab <schwab@suse.de>
28945 * include/stdio.h (__gen_tempfd): New function.
28946 * stdio-common/Makefile (routines): Add gentempfd.
28947 * stdio-common/gentempfd.c: New file.
28948 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28949 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28950 unnamed file first.
28952 2017-09-01 Florian Weimer <fweimer@redhat.com>
28956 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28957 result to determine success or failure, not the errno value.
28958 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28959 (tst-nss-files-hosts-erange): Link with -ldl.
28960 * nss/tst-nss-files-hosts-erange.c: New file.
28961 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28962 (do_test): Add NO_DATA tests.
28963 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28964 (do_test): Call it.
28966 2017-09-01 Florian Weimer <fweimer@redhat.com>
28969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28970 coming from gethostbyname2_r.
28972 2017-09-01 Florian Weimer <fweimer@redhat.com>
28974 * support/namespace.h (struct support_chroot_configuration): Add
28976 (struct support_chroot): Add path_hosts, path_host_conf.
28977 * support/support_chroot.c (write_file): New function.
28978 (support_chroot_create): Call it to process /etc/resolv.conf,
28979 /etc/hosts, /etc/host.conf.
28980 (support_chroot_free): Update.
28982 2017-09-01 Florian Weimer <fweimer@redhat.com>
28984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28985 status indicates it is set.
28987 2017-09-01 Florian Weimer <fweimer@redhat.com>
28990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28991 function lookup failures more reliable.
28993 2017-09-01 Florian Weimer <fweimer@redhat.com>
28995 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28996 (getcanonname): Likewise.
28997 (gaih_inet): Likewise.
28999 2017-09-01 Florian Weimer <fweimer@redhat.com>
29001 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29002 (getcanonname): Likewise.
29003 (gaih_inet): Likewise.
29005 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29006 Richard Henderson <rth@twiddle.net>
29008 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29009 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29010 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29011 (IREG_SIZE, OREG_SIZE): New macros.
29012 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29013 (IREG_SIZE, OREG_SIZE): New macros.
29014 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29015 (IREG_SIZE): New macro.
29016 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29017 (IREG_SIZE): New macro.
29018 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29020 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29021 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29022 (__CONCATX): Handle exceptions correctly on large values that may
29024 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29025 Initialize if not already set.
29026 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29028 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29030 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29031 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29033 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29035 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29037 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29039 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29041 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29043 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29045 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29046 (NO_CANCELLATION): Likewise.
29047 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29049 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29051 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29054 (NO_CANCELLATION): Likewise.
29055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29056 (NO_CANCELLATION): Likewise.
29057 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29059 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29061 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29063 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29065 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29067 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29068 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29070 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29072 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29075 2017-08-31 Florian Weimer <fweimer@redhat.com>
29077 * include/libc-symbols.h (internal_function): Remove.
29079 2017-08-31 Florian Weimer <fweimer@redhat.com>
29081 * stdlib/fmtmsg.c (internal_addseverity): Remove
29084 2017-08-31 Florian Weimer <fweimer@redhat.com>
29086 * stdio-common/printf_fp.c (group_number): Remove
29088 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29090 2017-08-31 Florian Weimer <fweimer@redhat.com>
29092 * posix/fnmatch.c (internal_function): Remove definition.
29093 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29094 * posix/regcomp.c (peek_token, init_word_char)
29095 (duplicate_node_closure, fetch_token, peek_token)
29096 (peek_token_bracket, build_range_exp, build_collating_symbol):
29098 * posix/regex_internal.c (re_string_construct_common)
29099 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29100 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29101 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29102 (re_string_translate_buffer, re_string_reconstruct)
29103 (re_string_peek_byte_case, re_string_fetch_byte_case)
29104 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29105 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29106 (re_node_set_add_intersect, re_node_set_init_union)
29107 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29108 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29109 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29110 (re_acquire_state_context): Likewise.
29111 * posix/regex_internal.h (internal_function): Remove definition.
29112 (re_string_realloc_buffers, build_wcs_buffer)
29113 (build_wcs_upper_buffer, build_upper_buffer)
29114 (re_string_translate_buffer, re_string_context_at)
29115 (re_string_char_size_at, re_string_wchar_at)
29116 (re_string_elem_size_at): Likewise.
29117 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29118 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29119 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29120 (re_search_internal, re_search_2_stub, re_search_stub)
29121 (re_copy_regs, prune_impossible_nodes, check_matching)
29122 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29123 (free_fail_stack_return, sift_states_iter_mb)
29124 (sift_states_backward, build_sifted_states)
29125 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29126 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29127 (check_subexp_limits, sift_states_bkref, merge_state_array)
29128 (find_recover_state, transit_state, merge_state_with_log)
29129 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29130 (transit_state_mb, transit_state_bkref, get_subexp)
29131 (get_subexp_sub, find_subexp_node, check_arrival)
29132 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29133 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29134 (check_node_accept_bytes, find_collation_sequence_value)
29135 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29136 (acquire_init_state_context, check_halt_node_context)
29137 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29138 (sub_epsilon_src_nodes): Likewise.
29139 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29140 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29141 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29142 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29143 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29144 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29145 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29146 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29147 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29148 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29149 (PREADV): Likewise.
29150 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29151 (PREADV): Likewise.
29152 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29153 (PWRITEV): Likewise.
29154 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29155 (PWRITEV): Likewise.
29156 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29157 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29159 2017-08-31 Florian Weimer <fweimer@redhat.com>
29161 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29162 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29163 Remove internal_function.
29164 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29165 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29166 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29167 (__deallocate_stack, __libc_pthread_init)
29168 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29169 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29170 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29172 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29173 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29174 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29176 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29177 (__pthread_mutex_unlock_usercnt): Likewise.
29179 2017-08-31 Florian Weimer <fweimer@redhat.com>
29181 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29182 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29183 (fts_safe_changedir): Remove internal_function.
29184 * io/ftw.c (internal_function): Remove definition.
29185 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29187 2017-08-31 Florian Weimer <fweimer@redhat.com>
29189 * inet/deadline.c (__deadline_current_time)
29190 (__deadline_from_timeval, __deadline_to_ms): Remove
29192 * inet/getnameinfo.c (nrl_domainname): Likewise.
29193 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29194 * inet/inet6_option.c (add_pad): Likewise.
29195 * inet/net-internal.h (__deadline_current_time)
29196 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29197 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29198 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29199 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29201 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29203 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29204 include <bits/nan.h>.
29205 * math/Makefile (headers): Remove bits/nan.h.
29206 * bits/nan.h: Remove.
29207 * sysdeps/ieee754/bits/nan.h: Likewise.
29208 * sysdeps/mips/bits/nan.h: Likewise.
29210 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29211 not include <bits/inf.h>.
29212 * math/Makefile (headers): Remove bits/inf.h.
29213 * bits/inf.h: Remove.
29214 * sysdeps/ieee754/bits/inf.h: Likewise.
29216 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29217 bits/huge_vall.h or bits/huge_val_flt128.h.
29218 (HUGE_VAL): Define directly here.
29219 [__USE_ISOC99] (HUGE_VALF): Likewise.
29220 [__USE_ISOC99] (HUGE_VALL): Likewise.
29221 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29222 (HUGE_VAL_F128): Likewise.
29223 * math/Makefile (headers): Remove bits/huge_val.h,
29224 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29225 * bits/huge_val.h: Remove.
29226 * bits/huge_val_flt128.h: Likewise.
29227 * bits/huge_valf.h: Likewise.
29228 * bits/huge_vall.h: Likewise.
29229 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29230 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29231 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29232 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29233 * sysdeps/sh/bits/huge_val.h: Likewise.
29234 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29235 * sysdeps/x86/bits/huge_vall.h: Likewise.
29237 2017-08-31 Florian Weimer <fweimer@redhat.com>
29239 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29241 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29243 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29244 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29245 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29246 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29247 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29249 * elf/dl-libc.c (dlerror_run): Likewise.
29250 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29251 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29252 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29253 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29255 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29256 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29257 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29258 * elf/dl-profile.c (_dl_start_profile): Likewise.
29259 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29260 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29262 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29263 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29264 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29265 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29266 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29267 (_dl_allocate_tls_storage): Likewise.
29268 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29269 (_dl_check_all_versions): Likewise.
29270 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29271 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29272 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29273 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29274 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29275 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29276 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29277 internal_function from __dl_start.
29278 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29279 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29280 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29281 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29282 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29283 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29284 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29285 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29286 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29287 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29288 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29289 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29290 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29291 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29292 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29294 (struct rtld_global_ro): Remove internal_function from the
29295 _dl_lookup_symbol_x member.
29296 (_dl_symbol_value): Remove. No longer defined anywhere.
29297 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29299 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29300 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29301 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29302 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29303 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29304 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29305 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29306 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29307 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29308 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29309 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29310 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29312 2017-08-31 Florian Weimer <fweimer@redhat.com>
29314 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29315 Remove internal_function.
29316 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29318 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29321 2017-08-31 Florian Weimer <fweimer@redhat.com>
29323 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29324 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29325 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29327 2017-08-31 Florian Weimer <fweimer@redhat.com>
29329 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29330 (__gai_enqueue_request): Remove internal_function.
29331 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29332 (__gai_remove_request, __gai_notify, __gai_notify_only)
29333 (__gai_sigqueue): Likewise.
29334 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29335 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29336 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29337 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29340 2017-08-31 Florian Weimer <fweimer@redhat.com>
29342 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29343 * include/dirent.h (__opendirat, __getdents, __getdents64)
29344 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29345 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29346 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29347 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29351 2017-08-31 Florian Weimer <fweimer@redhat.com>
29353 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29355 (GETCWD_RETURN_TYPE): Likewise.
29357 2017-08-31 Florian Weimer <fweimer@redhat.com>
29359 * include/time.h (__tz_compute, __strptime_internal): Remove
29361 * time/strptime_l.c (__strptime_internal): Likewise.
29362 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29364 2017-08-31 Florian Weimer <fweimer@redhat.com>
29366 * iconv/gconv.c (__gconv): Remove internal_function.
29367 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29368 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29369 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29370 (__gconv_release_cache): Likewise.
29371 * iconv/gconv_close.c (__gconv_close): Likewise.
29372 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29373 (read_conf_file, __gconv_get_path): Likewise.
29374 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29375 (__gconv_release_step, gen_steps, increment_counter)
29376 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29377 (__gconv_close_transform, free_modules_db): Likewise.
29378 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29380 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29381 (__gconv_find_transform, __gconv_lookup_cache)
29382 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29383 (__gconv_close_transform, __gconv_release_cache)
29384 (__gconv_loaded_object, __gconv_release_shlib)
29385 (__gconv_compare_alias): Likewise.
29386 * iconv/gconv_open.c (__gconv_open): Likewise.
29387 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29388 * iconv/iconvconfig.c (add_module): Likewise.
29389 * intl/dcigettext.c (plural_lookup, guess_category_value)
29390 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29391 * intl/eval-plural.h (plural_eval): Likewise.
29392 * intl/finddomain.c (_nl_find_domain): Likewise.
29393 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29394 (_nl_load_domain, _nl_find_msg): Likewise.
29395 (internal_function): Remove definition.
29396 * intl/loadinfo.h (internal_function): Likewise.
29397 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29399 * intl/localealias.c (internal_function): Remove definition.
29400 (read_alias_file): Remove internal_function.
29401 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29402 * intl/plural-exp.h (internal_function): Remove definition.
29403 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29405 * intl/plural.c: Regenerate.
29406 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29407 * locale/coll-lookup.c (__collidx_table_lookup)
29408 (__collseq_table_lookup): Likewise.
29409 * locale/coll-lookup.h (__collidx_table_lookup)
29410 (__collseq_table_lookup): Likewise.
29411 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29412 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29413 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29414 (_nl_unload_locale): Likewise.
29415 * locale/localeinfo.h (struct __locale_data): Remove
29416 internal_function from cleanup member.
29417 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29418 (_nl_remove_locale, _nl_load_locale_from_archive)
29419 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29420 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29421 (_nl_cleanup_time): Remove internal_function.
29422 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29423 (_nl_parse_alt_digit): Likewise.
29424 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29425 (_nl_select_era_entry): Likewise.
29426 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29427 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29428 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29429 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29430 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29432 2017-08-31 Florian Weimer <fweimer@redhat.com>
29434 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29435 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29436 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29437 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29439 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29440 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29441 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29442 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29444 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29446 2017-08-31 Florian Weimer <fweimer@redhat.com>
29448 * misc/getttyent.c (skip, value): Remove internal_function.
29449 * misc/syslog.c (openlog_internal): Likewise.
29450 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29452 2017-08-31 Florian Weimer <fweimer@redhat.com>
29454 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29455 (__nss_rewrite_field): Remove internal_function.
29456 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29457 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29458 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29459 * nss/nsswitch.c (nss_parse_file, nss_getline)
29460 (nss_parse_service_list, nss_new_service): Likewise.
29461 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29462 * nss/valid_field.c (__nss_valid_field): Likewise.
29463 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29465 2017-08-31 Florian Weimer <fweimer@redhat.com>
29467 * malloc/arena.c (__malloc_fork_lock_parent)
29468 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29469 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29470 internal_function from defintions.
29471 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29472 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29473 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29474 internal_function from declarations.
29475 * malloc/malloc.c (internal_function): Do not define.
29476 (mem2mem_check): Remove internal_function from declaration.
29477 (munmap_chunk, mremap_chunk): Remove internal_function.
29478 * malloc/mtrace.c (tr_where): Likewise.
29480 2017-08-31 Florian Weimer <fweimer@redhat.com>
29482 * include/rpc/pmap_clnt.h (__get_socket): Remove
29484 * sunrpc/auth_des.c (synchronize): Likewise.
29485 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29486 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29487 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29488 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29489 (key_call): Likewise.
29490 * sunrpc/pm_getport.c (__get_socket): Likewise.
29491 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29492 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29493 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29494 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29495 (invalidate): Likewise.
29496 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29497 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29498 (set_input_fragment, get_input_bytes): Likewise.
29500 2017-08-31 Florian Weimer <fweimer@redhat.com>
29502 * malloc/malloc.c (_int_free): Remove locked variable and related
29505 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29508 * Makerules (build-module-helper-objlist): Filter out
29509 $(elf-objpfx)sofini.os.
29510 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29513 2017-08-31 Florian Weimer <fweimer@redhat.com>
29515 * libio/fcloseall.c: Assume weak_alias is defined.
29516 * libio/feof.c: Likewise.
29517 * libio/fileno.c: Likewise.
29518 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29519 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29521 (_IO_file_open): Call __open directly.
29522 (_IO_new_file_sync): Assume ESPIPE is defined.
29523 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29524 (_IO_new_file_write): Call __write directly.
29525 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29526 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29527 * libio/genops.c: Assume _LIBC is defined.
29528 (save_for_backup): Remove internal_function.
29529 * libio/getc.c: Assume weak_alias is defined.
29530 * libio/getwc.c: Likewise.
29531 * libio/iofclose.c: Assume _LIBC is defined.
29532 * libio/iofdopen.c: Likewise.
29533 (_IO_fcntl): Remove macro definition.
29534 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29535 Call __fcntl directly.
29536 * libio/iofflush.c: Assume weak_alias is defined.
29537 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29539 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29540 * libio/iofgets.c: Likewise.
29541 * libio/iofopen.c: Assume _LIBC is defined.
29542 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29543 * libio/iofputs.c: Assume weak_alias is defined.
29544 * libio/iofread.c: Likewise.
29545 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29546 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29547 * libio/ioftell.c: Assume weak_alias is defined.
29548 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29549 * libio/iofwide.c: Assume _LIBC is defined.
29550 (_IO_fwide): Drop SHARED conditional because it is implied by
29552 * libio/iofwrite.c: Assume weak_alias is defined.
29553 * libio/iogetdelim.c: Likewise.
29554 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29555 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29556 (_IO_getwline): Call __wmemcpy directly.
29557 * libio/iopopen.c: Assume _LIBC is defined.
29558 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29559 (_IO_close): Remove macro definitions.
29560 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29562 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29564 * libio/ioputs.c: Assume weak_alias is defined.
29565 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29566 * libio/iosetbuffer.c: Assume weak_alias is defined.
29567 * libio/iosetvbuf.c: Likewise.
29568 * libio/ioungetc.c: Likewise.
29569 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29570 libc_hidden_def, libc_hidden_weak, NULL are defined.
29571 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29572 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29574 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29576 (_IO_old_file_init_internal): Drop SHARED conditional because it
29577 is implied by SHLIB_COMPAT.
29578 (_IO_old_file_fopen): Call __open directly.
29579 (_IO_old_file_sync): Assume ESPIPE is defined.
29580 (_IO_old_file_write): Call __write directly.
29581 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29582 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29583 Call __fcntl directly.
29584 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29585 (_IO_old_fgetpos): Assume EIO is defined.
29586 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29587 (_IO_old_fgetpos64): Assume EIO is defined.
29588 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29589 (_IO_old_fsetpos): Assume EIO is defined.
29590 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29591 (_IO_old_fsetpos64): Assume EIO is defined.
29592 * libio/oldiopopen.c: Assume _LIBC is defined.
29593 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29594 (_IO_close): Remove macro definitions.
29595 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29597 (_IO_old_proc_close): Call __close, __waitpid directly.
29598 * libio/put.c: Assume weak_alias is defined.
29599 * libio/stdfiles.c: Assume _LIBC is defined.
29600 * libio/stdio.c: Likewise.
29601 * libio/wfileops.c: Likewise.
29602 (_IO_wfile_sync): Assume ESPIPE is defined.
29603 * libio/wgenops.c: Assume _LIBC is defined.
29604 (save_for_wbackup): Remove internal_function.
29606 2017-08-31 Florian Weimer <fweimer@redhat.com>
29608 * malloc/malloc.c (top_check): Change return type to void. Remove
29610 * malloc/hooks.c (top_check): Likewise.
29611 (malloc_check, realloc_check, memalign_check): Adjust.
29613 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29616 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29617 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29618 sigcontext and namespace requirements.
29619 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29620 * sysdeps/m68k/sys/ucontext.h: Likewise.
29621 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29622 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29623 <bits/sigcontext.h>.
29624 (__ctx): Define earlier.
29625 (mcontext_t): Define structure contents rather than using struct
29627 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29628 __glibc_reserved1 instead of __reserved.
29629 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29630 <bits/sigcontext.h>.
29631 (__ctx): Define earlier.
29632 (mcontext_t): Define structure contents rather than using struct
29634 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29635 mcontext_t instead of struct sigcontext.
29636 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29637 <bits/sigcontext.h>.
29638 (__ctx): Define earlier.
29639 (mcontext_t): Define structure contents rather than using struct
29641 * sysdeps/unix/sysv/linux/hppa/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/ia64/makecontext.c (__makecontext): Use
29647 mcontext_t instead of struct sigcontext.
29648 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29649 mcontext_t instead of struct sigcontext.
29650 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29651 <bits/sigcontext.h>.
29652 (__ctx): New macro.
29653 (struct __ia64_fpreg_mcontext): New type.
29654 (mcontext_t): Define structure contents rather than using struct
29656 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29657 (uc_sigmask): Define using __ctx.
29658 (uc_stack): Likewise.
29659 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29660 <bits/sigcontext.h>.
29661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29662 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29663 <bits/sigcontext.h>.
29664 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29665 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29666 <bits/sigcontext.h>.
29667 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29668 <bits/sigcontext.h>.
29669 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29670 <bits/sigcontext.h>.
29671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29672 <bits/sigcontext.h>.
29673 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29674 <bits/sigcontext.h>.
29675 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29676 <bits/sigcontext.h>.
29677 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29678 <bits/sigcontext.h>.
29679 (__ctx): Define earlier.
29680 (mcontext_t): Define structure contents rather than using struct
29682 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29683 <bits/sigcontext.h>. Include <bits/types.h>.
29684 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29685 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29686 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29687 (test-xfail-UNIX98/signal.h/conform): Likewise.
29688 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29689 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29690 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29691 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29692 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29693 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29694 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29695 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29696 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29698 2017-08-30 Florian Weimer <fweimer@redhat.com>
29700 * malloc/dynarray_emplace_enlarge.c
29701 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29702 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29703 * malloc/tst-dynarray.c (test_long_overflow): New function.
29704 (do_test): Call it.
29706 2017-08-30 Florian Weimer <fweimer@redhat.com>
29708 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29709 (set_arena_corrupt): Remove definitions.
29710 (mtrim): Do not check for corrupt arena.
29711 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29714 2017-08-30 Florian Weimer <fweimer@redhat.com>
29717 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29719 (ptmalloc_init): Do not set or use check_action.
29720 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29721 call to malloc_printerr. Remove return statement.
29722 (free_check): Likewise. Remove arena unlock.
29723 (top_check): Update comment. Adjust call to malloc_printerr.
29724 Remove heap repair code.
29725 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29726 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29727 (sysmalloc): Adjust call to malloc_printerr.
29728 (munmap_chunk, __libc_realloc): Likewise. Remove return
29730 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29731 Remove errout label and corresponding gotos.
29732 (_int_free): Likewise. Remove arena unlock.
29733 (do_set_mallopt_check): Do not set check_action.
29734 (malloc_printerr): Adjust parameter list. Do not mark arena as
29736 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29738 * manual/probes.texi (Memory Allocation Probes): Remove
29739 memory_mallopt_check_action.
29741 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29743 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29744 Use pointer to uint64_t instead of long int for sp.
29746 2017-08-30 Florian Weimer <fweimer@redhat.com>
29749 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29750 without printing a backtrace. Do not leak any information in the
29752 * manual/memory.texi (Heap Consistency Checking): Update.
29753 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29755 2017-08-30 Florian Weimer <fweimer@redhat.com>
29757 Do not scale NPTL tests with available number of CPUs.
29758 * nptl/tst-cond16.c (count): Set to constant value of 8.
29759 * nptl/tst-cond18.c (count): Likewise.
29761 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29764 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29765 Define to take a second argument that is a macro that
29766 concatentates a suffix, not the suffix itself.
29767 (__CONCAT_d): New macro.
29768 (__CONCAT_f): Likewise.
29769 (__CONCAT_l): Likewise.
29771 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29773 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29776 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29777 Aurelien Jarno <aurelien@aurel32.net>
29778 Maciej W. Rozycki <macro@imgtec.com>
29781 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29782 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29783 `mips16-syscall6' and `mips16-syscall7'.
29784 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29785 (CFLAGS-mips16-syscall7.c): Remove.
29786 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29787 Remove `__mips16_syscall5', `__mips16_syscall6' and
29788 `__mips16_syscall7'.
29789 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29790 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29791 `__mips_syscall_return'.
29792 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29793 (__mips16_syscall1): Likewise.
29794 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29795 (__mips16_syscall2): Likewise.
29796 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29797 (__mips16_syscall3): Likewise.
29798 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29799 (__mips16_syscall4): Likewise.
29800 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29802 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29804 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29806 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29807 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29808 `__mips16_syscall5'. Remove prototype.
29809 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29810 `__mips16_syscall6'. Remove prototype.
29811 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29812 `__mips16_syscall7'. Remove prototype.
29813 (__nomips16, __mips16_syscall_return): Move to...
29814 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29815 (__nomips16, __mips_syscall_return): ... here.
29816 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29817 `__mips16_syscall_return' to `__mips_syscall_return'.
29818 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29819 `internal_syscall##nr'.
29820 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29821 `internal_syscall##nr'.
29822 (FORCE_FRAME_POINTER): Remove.
29823 (__mips_syscall5): New prototype.
29824 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29825 (__mips_syscall6): New prototype.
29826 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29827 (__mips_syscall7): New prototype.
29828 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29829 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29830 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29831 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29832 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29833 (sysdep_routines): Add libc-do-syscall.
29834 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29835 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29837 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29840 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29841 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29842 (advise_stack_range): New function.
29843 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29844 stack non required to advise_stack_range at allocatestack.c
29846 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29848 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29850 2017-08-29 Florian Weimer <fweimer@redhat.com>
29853 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29854 __end_fct. Mangle __end_fct after setting it to NULL.
29855 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29856 (modules-names, modules-names-tests): Add
29857 tst-gconv-init-failure-mod.
29858 (gconv-modules): New target.
29859 (tst-gconv-init-failure-mod.so): Link against libsupport.
29860 (tst-gconv-init-failure): Depend on gconv-modules,
29861 tst-gconv-init-failure-mod.so.
29862 * iconv/tst-gconv-init-failure-mod.c: New file.
29863 * iconv/tst-gconv-init-failure.c: Likewise.
29864 * iconv/test-gconv-modules: Likewise.
29866 2017-08-29 Florian Weimer <fweimer@redhat.com>
29869 * iconv/gconv_db.c (free_derivation): Remove redundant
29871 (gen_steps): Unconditionally mangle __btowc_fct after
29873 (increment_counter): Likewise. Do not call init_fct for internal
29876 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29879 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29880 (_MSUF_): Remove macro.
29881 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29883 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29884 (__REDIRFROM_X): New macro.
29885 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29887 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29888 (__REDIRTO_X): Likewise.
29889 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29891 (__MATH_REDIRCALL_2): Likewise.
29892 (__MATH_REDIRCALL_INTERNAL): Likewise.
29893 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29894 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29895 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29896 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29897 * math/test-finite-macros.c: New file.
29898 * math/Makefile (tests): Add test-finite-macros.
29899 (CFLAGS-test-finite-macros.c): New variable.
29901 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29902 Jeff Law <law@redhat.com>
29905 Mangle NULL pointers in iconv/gconv.
29906 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29907 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29908 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29909 is non-NULL before demangling the end_fct. Check for NULL
29910 end_fct after demangling.
29911 (__gconv_release_step): Demangle the end_fct before checking
29912 it for NULL. Remove assert on __shlibc_handle != NULL.
29913 (gen_steps): Don't check btowc_fct for NULL before mangling.
29914 Demangle init_fct before checking for NULL.
29915 (increment_counter): Likewise.
29916 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29917 end_fct for NULL before mangling.
29918 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29921 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29924 * locale/iso-639.def: add Morisyen.
29926 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29929 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29930 (iszero): New C++ implementation that does not use
29931 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29932 signaling nans are enabled, since __builtin_types_compatible_p
29933 is a C-only feature.
29934 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29935 defined, include ieee754_float128.h for access to the union and
29936 member ieee854_float128.ieee.
29937 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29938 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29939 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29940 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29941 options of test-math-zero on powerpc64le.
29943 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29945 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29946 Change double to float.
29948 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29950 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29952 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29953 conditional code; define contents only for [LIBM_SVID_COMPAT].
29955 2017-08-28 Florian Weimer <fweimer@redhat.com>
29957 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29958 (abi-lp64_be-options): Remove.
29959 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29960 (abi-hard-options): Likewise.
29961 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29962 (abi-o32_hard-options, abi-o32_soft_2008-options)
29963 (abi-o32_hard_2008-options, abi-n32_soft-options)
29964 (abi-n32_hard-options, abi-n32_soft_2008-options)
29965 (abi-n32_hard_2008-options, abi-n64_soft-options)
29966 (abi-n64_hard-options, abi-n64_soft_2008-options)
29967 (abi-n64_hard_2008-options): Likewise.
29968 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29969 (abi-64-v1-options, abi-64-v2-options): Likewise.
29970 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29971 (abi-64-options): Likewise.
29972 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29973 (abi-64-options): Likewise.
29974 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29975 (abi-64-options): Likewise.
29976 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29977 (abi-64-options, abi-x32-options): Likewise.
29979 2017-08-28 Florian Weimer <fweimer@redhat.com>
29981 Store supported list of SYS_* system calls in the source tree.
29982 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29983 (bits/syscall.h): Generate from list file.
29984 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29985 [$(subdir) = misc] (tests): Add tst-syscall-list.
29986 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29987 [$(subdir) = misc] (tst-syscall-list-macros.list)
29988 [$(subdir) = misc] (tst-syscall-list-nr.list)
29989 (tst-syscall-list-sys.list): Helper targets for new
29990 tst-syscall-list test.
29991 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29992 tst-syscall-list.sh.
29993 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29994 target. Do not include bits/syscall.d.
29995 [$(subdir) = misc] (generated): Do not update.
29996 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29997 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29998 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29999 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30001 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30003 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30004 (tst-cxa_atexit, tst-on_exit): Likewise.
30005 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30006 tst-cxa_atexit, and tst-on_exit.
30007 * stdlib/tst-atexit-common.c: New file.
30008 * stdlib/tst-atexit.c: New file.
30009 * stdlib/tst-at_quick_exit.c: New file.
30010 * stdlib/tst-cxa_atexit.c: New file.
30011 * stdlib/tst-on_exit.c: New file.
30013 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30015 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30016 * mach/stack_chk_fail_local.c: New file.
30017 * hurd/stack_chk_fail_local.c: New file.
30018 * mach/Machrules ($(interface-library)-routines): Add
30019 stack_chk_fail_local.
30020 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30021 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30022 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30023 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30024 * hurd/Makefile (CFLAGS-hurdstartup.o,
30025 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30027 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30029 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30030 (index_cpu_*, index_arch_*): Removed.
30032 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30034 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30035 Use uint64_t instead of unsigned long.
30037 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30039 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30040 [__HAVE_DISTINCT_FLOAT128].
30042 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30043 of <bits/math-finite.h>.
30044 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30045 inclusion of <bits/math-finite.h>.
30046 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30047 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30048 __NO_LONG_DOUBLE_MATH].
30049 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30050 (__MATH_REDIRCALL_2): Likewise.
30051 (__MATH_REDIRCALL_INTERNAL): Likewise.
30052 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30053 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30054 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30068 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30069 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30070 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30071 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30073 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30074 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30075 w_sqrtf_compat-ppc32.
30077 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30079 * math/math.h [defined __cplusplus] (issignaling): In the long
30080 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30081 is not defined. Call __issignaling, otherwise.
30083 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30085 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30086 syscall definitions and replace __builtin_expect with __glibc_likely.
30087 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30089 (SYSCALL_CANCELLABLE): Removedefinition
30090 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30092 (PSEUDO_END): Likewise.
30093 [IS_IN (libpthread)] (CENABLE): Likewise.
30094 [IS_IN (libpthread)] (CDISABLE): Likewise.
30095 [IS_IN (libc)] (CENABLE): Likewise.
30096 [IS_IN (libc)] (CENABLE): Likewise.
30097 [IS_IN (librt)] (CDISABLE): Likewise.
30098 [IS_IN (librt)] (CDISABLE): Likewise.
30099 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30100 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30102 (PSEUDO_END): Likewise.
30103 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30104 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30105 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30106 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30107 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30108 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30109 (CENABLE): Likewise.
30110 (CDISABLE): Likewise.
30111 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30112 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30114 (PSEUDO_END): Likewise.
30115 [IS_IN (libpthread)] (CENABLE): Likewise.
30116 [IS_IN (libpthread)] (CDISABLE): Likewise.
30117 [IS_IN (libc)] (CENABLE): Likewise.
30118 [IS_IN (libc)] (CENABLE): Likewise.
30119 [IS_IN (librt)] (CDISABLE): Likewise.
30120 [IS_IN (librt)] (CDISABLE): Likewise.
30121 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30122 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30124 (PSEUDO_END): Likewise.
30125 [IS_IN (libpthread)] (CENABLE): Likewise.
30126 [IS_IN (libpthread)] (CDISABLE): Likewise.
30127 [IS_IN (libc)] (CENABLE): Likewise.
30128 [IS_IN (libc)] (CENABLE): Likewise.
30129 [IS_IN (librt)] (CDISABLE): Likewise.
30130 [IS_IN (librt)] (CDISABLE): Likewise.
30131 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30132 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30134 (PSEUDO_END): Likewise.
30135 [IS_IN (libpthread)] (CENABLE): Likewise.
30136 [IS_IN (libpthread)] (CDISABLE): Likewise.
30137 [IS_IN (libc)] (CENABLE): Likewise.
30138 [IS_IN (libc)] (CENABLE): Likewise.
30139 [IS_IN (librt)] (CDISABLE): Likewise.
30140 [IS_IN (librt)] (CDISABLE): Likewise.
30141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30142 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30144 (PSEUDO_END): Likewise.
30145 [IS_IN (libpthread)] (CENABLE): Likewise.
30146 [IS_IN (libpthread)] (CDISABLE): Likewise.
30147 [IS_IN (libc)] (CENABLE): Likewise.
30148 [IS_IN (libc)] (CENABLE): Likewise.
30149 [IS_IN (librt)] (CDISABLE): Likewise.
30150 [IS_IN (librt)] (CDISABLE): Likewise.
30151 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30152 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30154 (PSEUDO_END): Likewise.
30155 [IS_IN (libpthread)] (CENABLE): Likewise.
30156 [IS_IN (libpthread)] (CDISABLE): Likewise.
30157 [IS_IN (libc)] (CENABLE): Likewise.
30158 [IS_IN (libc)] (CENABLE): Likewise.
30159 [IS_IN (librt)] (CDISABLE): Likewise.
30160 [IS_IN (librt)] (CDISABLE): Likewise.
30161 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30162 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30164 (PSEUDO_END): Likewise.
30165 [IS_IN (libpthread)] (CENABLE): Likewise.
30166 [IS_IN (libpthread)] (CDISABLE): Likewise.
30167 [IS_IN (libc)] (CENABLE): Likewise.
30168 [IS_IN (libc)] (CENABLE): Likewise.
30169 [IS_IN (librt)] (CDISABLE): Likewise.
30170 [IS_IN (librt)] (CDISABLE): Likewise.
30171 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30172 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30174 (PSEUDO_END): Likewise.
30175 [IS_IN (libpthread)] (CENABLE): Likewise.
30176 [IS_IN (libpthread)] (CDISABLE): Likewise.
30177 [IS_IN (libc)] (CENABLE): Likewise.
30178 [IS_IN (libc)] (CENABLE): Likewise.
30179 [IS_IN (librt)] (CDISABLE): Likewise.
30180 [IS_IN (librt)] (CDISABLE): Likewise.
30181 (SINGLE_THREAD_P): Likewise.
30182 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30184 (PSEUDO_END): Likewise.
30185 [IS_IN (libpthread)] (CENABLE): Likewise.
30186 [IS_IN (libpthread)] (CDISABLE): Likewise.
30187 [IS_IN (libc)] (CENABLE): Likewise.
30188 [IS_IN (libc)] (CENABLE): Likewise.
30189 [IS_IN (librt)] (CDISABLE): Likewise.
30190 [IS_IN (librt)] (CDISABLE): Likewise.
30191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30192 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30194 (PSEUDO_END): Likewise.
30195 [IS_IN (libpthread)] (CENABLE): Likewise.
30196 [IS_IN (libpthread)] (CDISABLE): Likewise.
30197 [IS_IN (libc)] (CENABLE): Likewise.
30198 [IS_IN (libc)] (CENABLE): Likewise.
30199 [IS_IN (librt)] (CDISABLE): Likewise.
30200 [IS_IN (librt)] (CDISABLE): Likewise.
30201 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30202 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30203 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30204 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30207 (PSEUDO_END): Likewise.
30208 [IS_IN (libpthread)] (CENABLE): Likewise.
30209 [IS_IN (libpthread)] (CDISABLE): Likewise.
30210 [IS_IN (libc)] (CENABLE): Likewise.
30211 [IS_IN (libc)] (CENABLE): Likewise.
30212 [IS_IN (librt)] (CDISABLE): Likewise.
30213 [IS_IN (librt)] (CDISABLE): Likewise.
30214 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30217 (PSEUDO_END): Likewise.
30218 [IS_IN (libpthread)] (CENABLE): Likewise.
30219 [IS_IN (libpthread)] (CDISABLE): Likewise.
30220 [IS_IN (libc)] (CENABLE): Likewise.
30221 [IS_IN (libc)] (CENABLE): Likewise.
30222 [IS_IN (librt)] (CDISABLE): Likewise.
30223 [IS_IN (librt)] (CDISABLE): Likewise.
30224 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30225 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30227 (PSEUDO_END): Likewise.
30228 [IS_IN (libpthread)] (CENABLE): Likewise.
30229 [IS_IN (libpthread)] (CDISABLE): Likewise.
30230 [IS_IN (libc)] (CENABLE): Likewise.
30231 [IS_IN (libc)] (CENABLE): Likewise.
30232 [IS_IN (librt)] (CDISABLE): Likewise.
30233 [IS_IN (librt)] (CDISABLE): Likewise.
30234 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30237 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30238 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30240 (PSEUDO_END): Likewise.
30241 [IS_IN (libpthread)] (CENABLE): Likewise.
30242 [IS_IN (libpthread)] (CDISABLE): Likewise.
30243 [IS_IN (libc)] (CENABLE): Likewise.
30244 [IS_IN (libc)] (CENABLE): Likewise.
30245 [IS_IN (librt)] (CDISABLE): Likewise.
30246 [IS_IN (librt)] (CDISABLE): Likewise.
30247 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30248 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30250 (PSEUDO_END): Likewise.
30251 [IS_IN (libpthread)] (CENABLE): Likewise.
30252 [IS_IN (libpthread)] (CDISABLE): Likewise.
30253 [IS_IN (libc)] (CENABLE): Likewise.
30254 [IS_IN (libc)] (CENABLE): Likewise.
30255 [IS_IN (librt)] (CDISABLE): Likewise.
30256 [IS_IN (librt)] (CDISABLE): Likewise.
30257 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30259 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30261 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30263 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30267 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30270 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30271 middle and outer with size_t instead of int. Repleace %d and
30272 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30273 "MAX (outer, nchars - 64)" to support unsigned outer and
30274 nchars. Also exit loop when outer == 0.
30276 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30278 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30279 * include/signal.h (__sigsuspend_nocancel): Likewise.
30280 * include/time.h (__nanosleep_nocancel): Likewise.
30281 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30282 * login/utmp_file.c: Include non cancellable syscall header.
30283 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30286 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30288 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30289 .byte sequences with AVX512F instructions.
30290 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30291 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30292 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30293 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30295 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30298 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30299 Steve Ellcey <sellcey@cavium.com>
30301 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30302 Use PTR_REG macro in cmp instruction.
30304 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30306 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30307 Change the return type of the ifunc resolver to match the return
30308 type of the target function.
30310 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30312 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30313 (preadv64): Likewise.
30314 (pwrite64(: Likewise.
30315 (pwritev64): Likewise.
30317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30318 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30319 (LOAD_ARGS_0): Likewise.
30320 (LOAD_ARGS_1): Likewise.
30321 (LOAD_ARGS_2): Likewise.
30322 (LOAD_ARGS_3): Likewise.
30323 (LOAD_ARGS_4): Likewise.
30324 (LOAD_ARGS_5): Likewise.
30325 (LOAD_ARGS_6): Likewise.
30326 (LOAD_REGS_0): Likewise.
30327 (LOAD_REGS_1): Likewise.
30328 (LOAD_REGS_2): Likewise.
30329 (LOAD_REGS_3): Likewise.
30330 (LOAD_REGS_4): Likewise.
30331 (LOAD_REGS_5): Likewise.
30332 (LOAD_REGS_6): Likewise.
30333 (ASM_ARGS_0): Likewise.
30334 (ASM_ARGS_1): Likewise.
30335 (ASM_ARGS_2): Likewise.
30336 (ASM_ARGS_3): Likewise.
30337 (ASM_ARGS_4): Likewise.
30338 (ASM_ARGS_5): Likewise.
30339 (ASM_ARGS_6): Likewise.
30340 (LOAD_ARGS_TYPES_1): Likewise.
30341 (LOAD_ARGS_TYPES_2): Likewise.
30342 (LOAD_ARGS_TYPES_3): Likewise.
30343 (LOAD_ARGS_TYPES_4): Likewise.
30344 (LOAD_ARGS_TYPES_5): Likewise.
30345 (LOAD_ARGS_TYPES_6): Likewise.
30346 (LOAD_REGS_TYPES_1): Likewise.
30347 (LOAD_REGS_TYPES_2): Likewise.
30348 (LOAD_REGS_TYPES_3): Likewise.
30349 (LOAD_REGS_TYPES_4): Likewise.
30350 (LOAD_REGS_TYPES_5): Likewise.
30351 (LOAD_REGS_TYPES_6): Likewise.
30352 (TYPEFY): New define.
30353 (ARGIFY): Likewise.
30354 (internal_syscall0): Likewise.
30355 (internal_syscall1): Likewise.
30356 (internal_syscall2): Likewise.
30357 (internal_syscall3): Likewise.
30358 (internal_syscall4): Likewise.
30359 (internal_syscall5): Likewise.
30360 (internal_syscall6): Likewise.
30361 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30362 (INTERNAL_SYSCALL_NCS): Remove define.
30363 (internal_syscall1): Add define.
30365 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30367 * math/w_remainder_compat.c: Remove duplicate inclusion of
30368 math-svid-compat.h.
30369 * math/w_remainderf_compat.c: Likewise.
30370 * math/w_remainderl_compat.c: Likewise.
30372 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30376 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30379 * math/tgmath.h (__floating_type): Simplify definitions.
30380 (__real_integer_type): New macro.
30381 (__complex_integer_type): Likewise.
30382 (__expr_is_real): Likewise.
30383 (__tgmath_real_type_sub): Update comment to describe handling of
30385 (__tgmath_complex_type_sub): New macro.
30386 (__tgmath_complex_type): Likewise.
30387 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30388 (__TGMATH_CF128): Use __expr_is_real.
30389 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30391 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30392 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30393 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30396 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30398 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30400 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30402 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30405 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30406 nanosleep_not_cancel with __nanosleep_nocancel.
30407 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30408 (__nanosleep_nocancel): New macro.
30409 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30411 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30413 (__nanosleep_nocancel): New prototype.
30415 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30416 pause_not_cancel with __pause_nocancel.
30417 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30418 (__pause_nocancel): New macro.
30419 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30421 (__pause_nocancel): New prototype.
30422 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30424 2017-08-22 Martin Sebor <msebor@redhat.com>
30426 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30427 to return a pointer to the same type as the target function.
30429 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30433 * include/printf.h (__printf_fphex): Add attribute_hidden.
30434 (__guess_grouping): New prototype.
30435 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30436 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30437 libc_hidden_proto and libc_hidden_def.
30438 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30439 (__vstrfmon_l): Remove the third argument passed to
30442 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30444 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30445 definition for issignaling that does not rely on __MATH_TG,
30446 since __MATH_TG uses __builtin_types_compatible_p, which is only
30447 available in C mode.
30448 (CFLAGS-test-math-issignaling.cc): New variable.
30449 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30450 * math/test-math-issignaling.cc: New test for C++ implementation
30451 of type-generic issignaling.
30452 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30453 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30454 options of test-math-issignaling on powerpc64le.
30456 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30458 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30460 (hidden_proto): Likewise.
30461 (hidden_tls_proto): Likewise.
30462 (__hidden_proto): Likewise.
30464 2017-08-22 Florian Weimer <fweimer@redhat.com>
30466 math: Statically link tests of internal functionality.
30467 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30469 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30470 (gmp-objs): Remove assignment.
30471 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30473 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30478 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30480 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30483 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30484 variable definitions above inclusion of ../Rules.
30486 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30488 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30489 case calling __builtin_unreachable.
30491 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30493 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30494 __waitpid_nocancel.
30495 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30496 (__waitpid_nocancel): New macro.
30497 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30499 (__waitpid_nocancel): Replace macro with a function.
30500 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30503 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30505 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30506 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30508 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30509 __writev_nocancel_nostatus.
30510 (write_call_graph): Likewise.
30511 (write_bb_counts): Likewise.
30512 * resolv/herror.c (herror): Likewise.
30513 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30515 (__writev_nocancel_nostatus): New macro.
30516 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30518 (__writev_nocancel_nostatus): New function.
30520 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30523 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30525 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30527 (hidden_proto): Likewise.
30528 (hidden_tls_proto): Likewise.
30529 (__hidden_proto): Likewise.
30532 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30533 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30542 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30544 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30545 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30546 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30547 GLIBC_2.0 sqrtl symbol.
30549 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30550 [__USE_MISC] (_LIB_VERSION): Likewise.
30551 [__USE_MISC] (struct exception): Likewise.
30552 [__USE_MISC] (matherr): Likewise.
30553 [__USE_MISC] (DOMAIN): Likewise.
30554 [__USE_MISC] (SING): Likewise.
30555 [__USE_MISC] (OVERFLOW): Likewise.
30556 [__USE_MISC] (UNDERFLOW): Likewise.
30557 [__USE_MISC] (TLOSS): Likewise.
30558 [__USE_MISC] (PLOSS): Likewise.
30559 [__USE_MISC] (HUGE): Likewise.
30560 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30561 * math/math-svid-compat.h: New file.
30562 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30564 * include/math.h [!_ISOMAC] (__matherr): Remove.
30565 * manual/arith.texi (FP Exceptions): Do not document matherr.
30566 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30567 (tests-internal): New variable.
30568 (install-lib): Do not add libieee.a.
30569 (non-lib.a): Likewise.
30570 (extra-objs): Do not add libieee.a and ieee-math.o.
30571 (CPPFLAGS-s_lib_version.c): Remove variable.
30572 ($(objpfx)libieee.a): Remove rule.
30573 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30574 * math/ieee-math.c: Remove.
30575 * math/libm-test-support.c (matherr): Remove.
30576 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30577 and license notices. Include <math-svid-compat.h> and
30579 (matherr): Undefine as macro. Use compat_symbol_reference.
30580 (_LIB_VERSION): Likewise.
30581 * math/test-matherr-2.c: New file.
30582 * math/test-matherr-3.c: Likewise.
30583 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30585 (__kernel_standard_f): Likewise.
30586 (__kernel_standard_l): Likewise.
30587 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30588 <math_private.h>. Include <math-svid-compat.h>.
30589 (_LIB_VERSION): Undefine as macro.
30590 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30591 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30592 [LIBM_SVID_COMPAT], use compat_symbol.
30593 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30594 <math_private.h>. Include <math-svid-compat.h>.
30595 (matherr): Undefine as macro.
30596 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30598 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30599 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30600 compat_symbol_reference.
30601 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30602 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30603 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30604 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30605 (MATHERR_D): Remove declaration.
30606 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30607 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30608 [LIBM_BUILD] (pmatherrf): Likewise.
30609 [LIBM_BUILD] (pmatherr): Likewise.
30610 [LIBM_BUILD] (pmatherrl): Likewise.
30611 (DOMAIN): Likewise.
30613 (OVERFLOW): Likewise.
30614 (UNDERFLOW): Likewise.
30617 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30618 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30620 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30621 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30623 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30624 * math/w_acos_compat.c: Likewise.
30625 * math/w_acosf_compat.c: Likewise.
30626 * math/w_acosh_compat.c: Likewise.
30627 * math/w_acoshf_compat.c: Likewise.
30628 * math/w_acoshl_compat.c: Likewise.
30629 * math/w_acosl_compat.c: Likewise.
30630 * math/w_asin_compat.c: Likewise.
30631 * math/w_asinf_compat.c: Likewise.
30632 * math/w_asinl_compat.c: Likewise.
30633 * math/w_atan2_compat.c: Likewise.
30634 * math/w_atan2f_compat.c: Likewise.
30635 * math/w_atan2l_compat.c: Likewise.
30636 * math/w_atanh_compat.c: Likewise.
30637 * math/w_atanhf_compat.c: Likewise.
30638 * math/w_atanhl_compat.c: Likewise.
30639 * math/w_cosh_compat.c: Likewise.
30640 * math/w_coshf_compat.c: Likewise.
30641 * math/w_coshl_compat.c: Likewise.
30642 * math/w_exp10_compat.c: Likewise.
30643 * math/w_exp10f_compat.c: Likewise.
30644 * math/w_exp10l_compat.c: Likewise.
30645 * math/w_exp2_compat.c: Likewise.
30646 * math/w_exp2f_compat.c: Likewise.
30647 * math/w_exp2l_compat.c: Likewise.
30648 * math/w_fmod_compat.c: Likewise.
30649 * math/w_fmodf_compat.c: Likewise.
30650 * math/w_fmodl_compat.c: Likewise.
30651 * math/w_hypot_compat.c: Likewise.
30652 * math/w_hypotf_compat.c: Likewise.
30653 * math/w_hypotl_compat.c: Likewise.
30654 * math/w_j0_compat.c: Likewise.
30655 * math/w_j0f_compat.c: Likewise.
30656 * math/w_j0l_compat.c: Likewise.
30657 * math/w_j1_compat.c: Likewise.
30658 * math/w_j1f_compat.c: Likewise.
30659 * math/w_j1l_compat.c: Likewise.
30660 * math/w_jn_compat.c: Likewise.
30661 * math/w_jnf_compat.c: Likewise.
30662 * math/w_jnl_compat.c: Likewise.
30663 * math/w_lgamma_main.c: Likewise.
30664 * math/w_lgamma_r_compat.c: Likewise.
30665 * math/w_lgammaf_main.c: Likewise.
30666 * math/w_lgammaf_r_compat.c: Likewise.
30667 * math/w_lgammal_main.c: Likewise.
30668 * math/w_lgammal_r_compat.c: Likewise.
30669 * math/w_log10_compat.c: Likewise.
30670 * math/w_log10f_compat.c: Likewise.
30671 * math/w_log10l_compat.c: Likewise.
30672 * math/w_log2_compat.c: Likewise.
30673 * math/w_log2f_compat.c: Likewise.
30674 * math/w_log2l_compat.c: Likewise.
30675 * math/w_log_compat.c: Likewise.
30676 * math/w_logf_compat.c: Likewise.
30677 * math/w_logl_compat.c: Likewise.
30678 * math/w_pow_compat.c: Likewise.
30679 * math/w_powf_compat.c: Likewise.
30680 * math/w_powl_compat.c: Likewise.
30681 * math/w_remainder_compat.c: Likewise.
30682 * math/w_remainderf_compat.c: Likewise.
30683 * math/w_remainderl_compat.c: Likewise.
30684 * math/w_scalb_compat.c: Likewise.
30685 * math/w_scalbf_compat.c: Likewise.
30686 * math/w_scalbl_compat.c: Likewise.
30687 * math/w_sinh_compat.c: Likewise.
30688 * math/w_sinhf_compat.c: Likewise.
30689 * math/w_sinhl_compat.c: Likewise.
30690 * math/w_sqrt_compat.c: Likewise.
30691 * math/w_sqrtf_compat.c: Likewise.
30692 * math/w_sqrtl_compat.c: Likewise.
30693 * math/w_tgamma_compat.c: Likewise.
30694 * math/w_tgammaf_compat.c: Likewise.
30695 * math/w_tgammal_compat.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30697 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30698 * sysdeps/ieee754/k_standard.c: Likewise.
30699 * sysdeps/ieee754/k_standardf.c: Likewise.
30700 * sysdeps/ieee754/k_standardl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30703 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30708 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30709 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30716 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30717 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30719 2017-08-21 Florian Weimer <fweimer@redhat.com>
30722 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30723 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30724 Move before inclusion of ../Rules.
30726 2017-08-21 Florian Weimer <fweimer@redhat.com>
30729 * assert/assert.h (assert): Use static_cast (bool) for C++.
30730 Use the ternary operator in the warning branch for GNU C.
30731 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30732 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30733 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30734 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30735 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30737 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30740 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30741 (__syscall_clock_gettime): Add attribute_hidden.
30742 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30743 (__start_context): Likewise.
30745 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30747 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30749 (hidden_proto): Likewise.
30750 (hidden_tls_proto): Likewise.
30751 (__hidden_proto): Likewise.
30753 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30755 * include/libc-symbols.h (attribute_hidden): Enable hidden
30756 visibility in libc.a compiled with PIE.
30758 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30761 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30762 Add attribute_hidden.
30764 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30767 * Makerules (all-nonlib): Add $(others-extras).
30768 * catgets/Makefile (others-extras): New.
30769 * elf/Makefile (others-extras): Likewise.
30770 * nss/Makefile (others-extras): Likewise.
30772 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30775 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30776 * elf/dl-open.c: Include <libc-internal.h>.
30777 (__libc_multiple_libcs): Removed.
30778 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30780 * include/libc-internal.h (__libc_multiple_libcs): New.
30781 * misc/sbrk.c: Include <libc-internal.h>.
30782 (__libc_multiple_libcs): Removed.
30784 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30787 * grp/initgroups.c (__nss_group_database): Removed.
30788 (__nss_initgroups_database): Likewise.
30789 * nscd/gai.c (__nss_hosts_database): Likewise.
30790 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30791 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30792 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30793 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30794 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30795 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30797 * nss/nsswitch.c (__nss_database_custom): Define only if
30798 USE_NSCD is defined.
30799 (__nss_configure_lookup): Use __nss_database_custom only if
30800 USE_NSCD is defined.
30801 * nss/nsswitch.h (__nss_database_custom): Declare only if
30802 USE_NSCD is defined. Add attribute_hidden.
30803 (__nss_setent): Add attribute_hidden.
30804 (__nss_endent): Likewise.
30805 (__nss_getent_r): Likewise.
30806 (__nss_getent): Likewise.
30807 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30809 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30812 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30813 libc_hidden_proto and libc_hidden_def.
30815 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30818 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30819 Add libc_hidden_proto.
30820 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30821 Add libc_hidden_def.
30823 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30826 * gmon/Makefile (routines): Remove bb_init_func and
30828 (elide-routines.os): Removed.
30829 * gmon/bb_exit_func.c: Likewise.
30830 * gmon/bb_init_func.c: Likewise.
30831 * include/sys/gmon.h (__bb): Likewise.
30832 (__bb_init_func): Likewise.
30833 (__bb_exit_func): Likewise.
30834 * sysdeps/alpha/bb_init_func.S: Likewise.
30836 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30838 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30839 * include/setjmp.h (____longjmp_chk): Here. Add
30842 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30845 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30847 (__strspn_sse2): Likewise.
30849 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30851 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30852 (close_not_cancel_no_status): Likewise.
30853 (__close_nocancel): New macro.
30854 (__close_nocancel_nostatus): Likewise.
30855 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30857 (close_not_cancel): Likewise.
30858 (close_not_cancel_no_status): Likewise.
30859 (__close_nocancel): New prototype.
30860 (__close_nocancel_nostatus): New function.
30861 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30862 * catgets/open_catalog.c (__open_catalog): Replace
30863 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30864 * gmon/gmon.c (write_gmon): Likewise.
30865 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30866 * intl/loadmsgcat.c (close): Likewise.
30867 * io/ftw.c (open_dir_stream): Likewise.
30868 (ftw_startup): Likewise.
30869 * libio/fileops.c (_IO_file_open): Likewise.
30870 (_IO_file_close_mmap): Likewise.
30871 (_IO_file_close): Likewise.
30872 * libio/iopopen.c (_IO_dup2): Likewise.
30873 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30874 * locale/loadlocale.c (_nl_load_locale): Likewise.
30875 * login/utmp_file.c (pututline_file): Likewise.
30876 (endutent_file): Likewise.
30877 * misc/daemon.c (daemon): Likewise.
30878 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30879 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30880 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30881 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30883 * nscd/nscd_helper.c (open_socket): Likewise.
30884 (__nscd_open_socket): Likewise.
30885 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30886 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30887 (__nscd_innetgr): Likewise.
30888 * nss/nss_db/db-open.c (internal_setent): Likewise.
30889 * resolv/res-close.c (__res_iclose): Likewise.
30890 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30891 * sysdeps/posix/closedir.c (__closedir): Likewise.
30892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30893 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30894 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30895 (opendir_tail): Likewise.
30896 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30897 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30898 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30899 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30900 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30901 (gethostid): Likewise.
30902 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30906 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30907 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30908 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30910 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30911 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30912 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30914 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30915 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30917 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30919 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30921 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30924 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30925 (openat_not_cancel_3): Likewise.
30926 (openat64_not_cancel_3): Likewise).
30927 (openat_not_cancel_3): Likewise).
30928 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30930 (openat_not_cancel_3): Likewise.
30931 (openat64_not_cancel): Likewise.
30932 (openat64_not_cancel_3): Likewise.
30933 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30934 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30935 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30936 __open{64}_nocancel.
30937 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30938 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30939 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30941 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30944 * include/argz.h (__argz_create_sep): New function prototype.
30945 (__argz_append): Likewise.
30946 (__argz_add): Likewise.
30947 (__argz_add_sep): Likewise.
30948 (__argz_delete): Likewise.
30949 (__argz_insert): Likewise.
30950 (__argz_replace): Likewise.
30951 * string/argz.h (__argz_create_sep): Removed.
30952 (__argz_append): Likewise.
30953 (__argz_add): Likewise.
30954 (__argz_add_sep): Likewise.
30955 (__argz_delete): Likewise.
30956 (__argz_insert): Likewise.
30957 (__argz_replace): Likewise.
30959 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30961 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30962 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30963 (GNU_PROPERTY_STACK_SIZE): Likewie.
30964 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30965 (GNU_PROPERTY_LOPROC): Likewise.
30966 (GNU_PROPERTY_HIPROC): Likewise.
30967 (GNU_PROPERTY_LOUSER): Likewise.
30968 (GNU_PROPERTY_HIUSER): Likewise.
30969 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30970 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30971 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30972 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30973 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30974 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30975 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30976 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30977 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30978 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30979 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30980 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30981 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30982 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30983 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30984 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30985 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30986 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30987 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30988 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30989 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30990 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30991 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30993 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30995 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30998 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31001 * math/math.h (isinf): Check if in C or C++ mode before using
31002 __builtin_types_compatible_p, since this is a C mode feature.
31004 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31006 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31007 (__write_nocancel): New macro.
31008 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31009 Rewrite as a function prototype.
31010 (write_not_cancel): Remove macro.
31011 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31012 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31013 (write_gmon): Likewise.
31014 * libio/fileops.c (_IO_new_file_write): Likewise.
31015 * login/utmp_file.c (pututline_file): Likewise.
31016 (updwtmp_file): Likewise.
31017 * stdio-common/psiginfo.c (psiginfo): Likewise.
31018 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31019 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31020 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31022 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31025 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31026 (__read_nocancel): New macro.
31027 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31029 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31031 (__read_nocancel): New prototype.
31032 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31033 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31034 with __read_nocancel.
31035 * intl/loadmsgcat.c (read): Likewise.
31036 * libio/fileops.c (_IO_file_read): Likewise.
31037 * locale/loadlocale.c (_nl_load_locale): Likewise.
31038 * login/utmp_file.c (getutent_r_file): Likewise.
31039 (internal_getut_r): Likewise.
31040 (getutline_r_file): Likewise.
31041 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31042 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31043 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31046 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31047 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31048 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31050 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31052 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31054 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31056 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31058 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31061 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31062 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31065 2017-08-17 DJ Delorie <dj@redhat.com>
31067 * bug17079.c: Update to new test harness.
31068 * test-digits-dots.c: Likewise.
31069 * test-netdb.c: Likewise.
31070 * tst-field.c: Likewise.
31071 * tst-nss-getpwent.c: Likewise.
31072 * tst-nss-static.c: Likewise.
31073 * tst-nss-test1.c: Likewise.
31074 * tst-nss-test2.c: Likewise.
31075 * tst-nss-test3.c: Likewise.
31076 * tst-nss-test4.c: Likewise.
31077 * tst-nss-test5.c: Likewise.
31079 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31081 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31082 (open_not_cancel_2): Likewise.
31083 (open_nocancel): New macro.
31084 (open64_nocancel): Likewise.
31085 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31086 (open_not_cancel_2): Likewise.
31087 (__open_nocancel): New prototype.
31088 (__open64_nocancel): Likewise.
31089 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31091 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31092 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31093 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31094 with __open_nocancel.
31095 * csu/check_fds.c (check_one_fd): Likewise.
31096 * gmon/gmon.c (write_gmon): Likewise.
31097 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31098 * intl/loadmsgcat.c (open): Likewise.
31099 * libio/fileops.c (_IO_file_open): Likewise.
31100 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31101 * locale/loadlocale.c (_nl_load_locale): Likewise.
31102 * login/utmp_file.c (setutent_file): Likewise.
31103 * misc/daemon.c (daemon): Likewise.
31104 * nss/nss_db/db-open.c (internal_setent): Likewise.
31105 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31106 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31107 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31108 (__opendir): Likewise.
31109 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31110 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31111 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31112 (gethostid): Likewise.
31113 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31114 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31117 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31118 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31119 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31121 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31123 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31125 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31127 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31129 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31131 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31134 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31136 * benchtests/bench-skeleton.c (main): Add support for
31137 latency benchmarking.
31138 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31140 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31142 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31143 the startup object.
31145 2017-08-17 Florian Weimer <fweimer@redhat.com>
31147 * include/sys/socket.h (__opensock): Remove internal_function.
31148 * socket/opensock.c (__opensock): Likewise.
31149 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31151 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31154 * signal/bits/types/__sigval_t.h: New file.
31155 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31156 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31157 and define sigval_t using __sigval_t.
31158 * include/bits/types/__sigval_t.h: New file.
31159 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31160 instead of <bits/types/__sigval_t.h>.
31161 (struct sigevent): Use __sigval_t instead of sigval_t.
31162 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31163 instead of <bits/types/__sigval_t.h>.
31164 (siginfo_t): Use __sigval_t instead of sigval_t.
31165 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31166 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31167 (struct sigevent): Use __sigval_t instead of sigval_t.
31168 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31169 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31170 (siginfo_t): Use __sigval_t instead of sigval_t.
31171 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31173 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31175 * NEWS: Remove "[Add new features here]" for 2.27.
31177 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31179 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31182 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31184 * NEWS: Mention x86-64 FMA optimization.
31186 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31189 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31191 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31192 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31193 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31195 2017-08-16 Andreas Schwab <schwab@suse.de>
31199 * elf/ldd.bash.in: Never run file directly.
31201 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31204 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31205 (L(SP_INF_0)): Likewise.
31207 2017-08-15 Florian Weimer <fweimer@redhat.com>
31209 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31212 2017-08-15 Florian Weimer <fweimer@redhat.com>
31214 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31215 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31216 BROKEN_THREAD_SIGNALS code.
31217 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31218 request_list): Remove caller_pid member used for
31219 BROKEN_THREAD_SIGNALS.
31220 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31221 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31222 Remove BROKEN_THREAD_SIGNALS support.
31223 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31224 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31226 2017-08-15 Florian Weimer <fweimer@redhat.com>
31228 * gmon/Makefile (tests): Add tst-gmon.
31229 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31231 (tests-special): Add tst-gmon-prof.out.
31232 (tst-gmon.out): Depend on clean-tst-gmon-data.
31233 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31234 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31235 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31237 * aclocal.m4 (GPROF): Set and substitute.
31238 * config.amke.in (GPROF): Set.
31239 * configure: Regenerate.
31241 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31243 * elf/elf.h A (NT_PPC_TAR): New macro.
31244 (NT_PPC_PPR): Likewise.
31245 (NT_PPC_DSCR): Likewise.
31246 (NT_PPC_EBB): Likewise.
31247 (NT_PPC_PMU): Likewise.
31248 (NT_PPC_TM_CGPR): Likewise.
31249 (NT_PPC_TM_CFPR): Likewise.
31250 (NT_PPC_TM_CVMX): Likewise.
31251 (NT_PPC_TM_CVSX): Likewise.
31252 (NT_PPC_TM_SPR): Likewise.
31253 (NT_PPC_TM_CTAR): Likewise.
31254 (NT_PPC_TM_CPPR): Likewise.
31255 (NT_PPC_TM_CDSCR): Likewise.
31257 2017-08-15 Florian Weimer <fweimer@redhat.com>
31259 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31260 regparm (2) instead of internal_function.
31261 (_MCOUNT_DECL): Adjust.
31263 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31265 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31266 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31268 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31270 * conform/data/sys/wait.h-data (si_value): Do not expect for
31273 2017-08-14 Florian Weimer <fweimer@redhat.com>
31276 NSS: Create stubs for accidentally exported lookup functions.
31277 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31278 Remove declaration.
31279 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31280 (ether_hostton): Call __nss_ethers_lookup2 instead.
31281 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31282 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31283 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31284 (setup): Call __nss_netgroup_lookup2 instead.
31285 * nss/Makefile (routines): Add compat-lookup.
31286 * nss/Versions (GLIBC_2.27): Add symbol version.
31287 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31288 (DB_COMPAT_FCT): Remove.
31289 * nss/compat-lookup.c: New file.
31290 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31291 from databases.def.
31292 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31293 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31294 (netname2user): Call __nss_publickey_lookup2 instead.
31295 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31296 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31299 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31300 Sergei Trofimovich <slyfox@inbox.ru>
31303 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31304 Rename to MMAP2_PAGE_UNIT.
31305 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31306 __OFF_T_MATCHES_OFF64_T is not defined.
31307 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31309 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31310 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31312 2017-08-14 Florian Weimer <fweimer@redhat.com>
31314 i386: Do not set internal_function.
31315 * config.h.in (USE_REGPARMS, internal_function): Remove.
31316 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31317 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31319 2017-08-14 Florian Weimer <fweimer@redhat.com>
31321 * elf/dl-init.c (_dl_init): Remove internal_function.
31322 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31323 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31325 2017-08-14 Florian Weimer <fweimer@redhat.com>
31327 * elf/rtld.c (_dl_start): Remove internal_function.
31328 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31331 2017-08-14 Florian Weimer <fweimer@redhat.com>
31333 * elf/dl-fini.c (_dl_fini): Remove internal_function
31334 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31336 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31338 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31339 (bit_cpu_SHSTK): Likewise.
31340 (index_cpu_IBT): Likewise.
31341 (index_cpu_SHSTK): Likewise.
31342 (reg_IBT): Likewise.
31343 (reg_SHSTK): Likewise.
31344 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31345 Handle index_cpu_IBT and index_cpu_SHSTK.
31347 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31350 * po/fr.po: Fix spelling mistake.
31352 2017-08-13 Florian Weimer <fweimer@redhat.com>
31354 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31355 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31356 (_dl_catch_error, _dl_receive_error): Likewise.
31357 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31358 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31359 (_dl_deallocate_tls): Likewise.
31360 * include/dlfcn.h (_dl_addr): Likewise.
31361 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31362 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31363 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31366 2017-08-13 Florian Weimer <fweimer@redhat.com>
31368 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31369 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31371 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31373 2017-08-13 Florian Weimer <fweimer@redhat.com>
31375 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31377 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31378 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31379 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31380 internal_function from _dl_make_stack_executable_hook member.
31381 (_dl_make_stack_executable): Remove internal_function.
31382 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31384 * sysdeps/unix/sysv/linux/dl-execstack.c
31385 (_dl_make_stack_executable): Likewise.
31387 2017-08-13 Florian Weimer <fweimer@redhat.com>
31389 * sysdeps/unix/sysv/linux/netlinkaccess.h
31390 (__netlink_assert_response): Remove internal_function.
31391 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31392 (__netlink_assert_response): Likewise.
31394 2017-08-13 Florian Weimer <fweimer@redhat.com>
31396 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31398 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31400 2017-08-13 Florian Weimer <fweimer@redhat.com>
31402 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31404 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31405 * inet/netgroup.h (__internal_setnetgrent)
31406 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31407 * inet/getnetgrent_r.c (__internal_setnetgrent)
31408 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31409 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31410 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31411 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31412 * nss/nsswitch.h (db_lookup_function): Likewise.
31414 2017-08-13 Florian Weimer <fweimer@redhat.com>
31416 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31417 Remove internal_function.
31418 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31419 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31420 message argument on the stack.
31421 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31424 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31426 Adapt test case data to the changes in the thousands
31430 * localedata/tst-langinfo.sh: Adapt test case data.
31431 * stdlib/tst-strfmon_l.c: Likewise.
31432 * stdlib/tst-strtod4.c: Likewise.
31433 * stdlib/tst-strtod5i.c: Likewise.
31435 2017-08-11 Florian Weimer <fweimer@redhat.com>
31438 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31439 Suppress pedantic warning resulting from statement expression.
31440 (__ASSERT_FUNCTION): Add missing __extension__.
31442 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31444 * benchtests/bench-memmove-large.c: Print output in JSON
31446 * benchtests/bench-memmove.c: Likewise.
31448 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31449 * benchtests/bench-memchr.c (do_one_test): Likewise.
31450 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31451 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31452 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31453 * benchtests/bench-memmove.c (do_one_test): Likewise.
31454 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31455 * benchtests/bench-memset.c (do_one_test): Likewise.
31456 * benchtests/bench-string.h (test_init): Remove memsets.
31458 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31461 (Computing the Width of an Integer Data Type): Rename section to
31462 "Width of an Integer Type". Remove inaccurate statement regarding
31463 lack of C language facilities for determining width of integer
31464 types, and reorder content to improve flow and context of
31467 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31469 * lang.texi (va_copy): Change standard from ISO to C99.
31470 (__va_copy): Add standard and header annotation.
31471 Update description for clarity of origins and current use.
31473 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31476 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31477 xssqrtqp requires operands to be in Vector Registers
31478 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31479 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31480 (__ieee754_sqrtf128): Likewise.
31482 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31484 * sysdeps/aarch64/memcmp.S (memcmp):
31485 Rewrite of optimized memcmp.
31487 2017-08-10 Florian Weimer <fweimer@redhat.com>
31489 Introduce ld.so exceptions.
31490 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31491 (_dl_exception_create, _dl_exception_create_format)
31492 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31493 (_dl_catch_exception): Declare.
31494 (_dl_catch_error): Update comment.
31495 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31496 errstring, malloced members with exception member.
31497 (_dl_out_of_memory): Remove.
31498 (fatal_error): New function, extracted from _dl_signal_error.
31499 (_dl_signal_exception, _dl_signal_cexception): New functions.
31500 (_dl_signal_error): Call _dl_exception_create to allocate an
31502 (_dl_catch_exception): New function, based on _dl_catch_error.
31503 (_dl_catch_error): Implement using _dl_catch_exception.
31504 * elf/dl-exception.c: New file.
31505 * elf/Makefile (dl-routines): Add dl-exception.
31506 (elide-routines.os): Likewise.
31507 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31508 _dl_exception_create_format, _dl_exception_free.
31509 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31510 _dl_signal_exception.
31511 * elf/dl-lookup.c (make_string): Remove.
31512 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31513 _dl_signal_cexception, _dl_exception_free.
31514 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31515 _dl_signal_exception.
31516 * elf/dl-sym.c (do_sym): Likewise.
31517 * elf/dl-version.c (make_string): Remove.
31518 (match_symbol): Use _dl_exception_create_format,
31519 _dl_signal_cexception, _dl_exception_free.
31520 (_dl_check_map_versions): Likewise.
31521 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31522 _dl_catch_exception.
31523 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31524 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31525 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31526 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31527 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31528 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31529 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31530 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31532 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31539 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31540 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31541 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31543 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31545 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31547 2017-08-10 Florian Weimer <fweimer@redhat.com>
31549 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31550 attribute_hidden, internal_function.
31551 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31554 2017-08-10 Florian Weimer <fweimer@redhat.com>
31556 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31557 function which calls __builtin_unreachable.
31559 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31561 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31562 Indian monetary formatting
31563 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31566 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31568 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31569 Fix typo in comment.
31572 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31573 PTRACE_SEIZE_DEVEL): Remove.
31574 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31575 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31580 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31582 * posix/bits/types.h (__qaddr_t): Remove.
31585 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31586 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31588 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31589 (ucontext_t): Use __ctx with uc_flags.
31590 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31591 (__ctxt): Likewise.
31592 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31594 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31595 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31597 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31598 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31600 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31602 (ucontext_t): Use __ctx with uc_flags.
31603 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31604 (ucontext_t): Use __ctx with uc_flags.
31605 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31606 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31607 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31608 (ucontext_t): Use __ctx with uc_flags.
31609 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31610 undefine further down.
31611 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31613 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31614 undefine further down.
31615 (ucontext_t): Use __ctx with uc_flags.
31616 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31617 undefine further down.
31618 (ucontext_t): Use __ctx with uc_flags.
31619 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31620 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31621 Rename uc_pad to __glibc_reserved1.
31622 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31623 undefine further down.
31624 (ucontext_t): Use __ctx with uc_flags.
31625 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31627 (ucontext_t): Use __ctx with uc_flags.
31628 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31629 __ctx with uc_flags.
31630 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31631 (ucontext_t): Use __ctx with uc_flags.
31632 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31633 __ctx with uc_flags.
31635 2017-08-09 Florian Weimer <fweimer@redhat.com>
31638 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31639 before early return.
31641 2017-08-09 Andreas Schwab <schwab@suse.de>
31644 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31648 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31649 tst-compat-forwarder.
31650 (modules-names): Add tst-compat-forwarder-mod.
31651 ($(objpfx)tst-compat-forwarder): Depend on
31652 $(objpfx)tst-compat-forwarder-mod.so.
31653 * nptl/tst-compat-forwarder.c: New file.
31654 * nptl/tst-compat-forwarder-mod.c: New file.
31656 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31658 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31661 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31662 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31664 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31666 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31667 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31668 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31669 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31671 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31674 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31677 * manual/setjmp.texi (getcontex): Document uc_stack value
31678 compatibility differences.
31680 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31682 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31683 (old_malloc_hook): Likewise.
31684 (old_memalign_hook): Likewise.
31685 (old_realloc_hook): Likewise.
31686 (struct hdr): Likewise.
31688 (freehook): Likewise.
31689 (mallochook): Likewise.
31690 (memalignhook): Likewise.
31691 (reallochook): Likewise.
31692 (mprobe): Likewise.
31693 * malloc/mtrace.c (mallwatch): Likewise.
31694 (tr_old_free_hook): Likewise.
31695 (tr_old_malloc_hook): Likewise.
31696 (tr_old_realloc_hook): Likewise.
31697 (tr_old_memalign_hook): Likewise.
31698 (tr_where): Likewise.
31699 (lock_and_info): Likewise.
31700 (tr_freehook): Likewise.
31701 (tr_mallochook): Likewise.
31702 (tr_reallochook): Likewise.
31703 (tr_memalignhook): Likewise.
31704 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31705 * misc/mmap.c (__mmap): Likewise.
31706 * misc/mmap64.c (__mmap64): Likewise.
31707 * misc/mprotect.c (__mprotect): Likewise.
31708 * misc/msync.c (msync): Likewise.
31709 * misc/munmap.c (__munmap): Likewise.
31710 * posix/posix_madvise.c (posix_madvise): Likewise.
31711 * socket/send.c (__send): Likewise.
31712 * socket/sendto.c (__sendto): Likewise.
31713 * socket/setsockopt.c (__setsockopt): Likewise.
31714 * string/memcmp.c (__ptr_t): Remove macro.
31715 (MEMCMP): Use void * instead of ptr_t.
31716 * string/memrchr.c (__ptr_t): Remove macro.
31717 (__memrchr): Use void * instead of ptr_t.
31718 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31719 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31720 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31721 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31722 * sysdeps/mach/msync.c (msync): Likewise.
31723 * sysdeps/mach/munmap.c (__munmap): Likewise.
31724 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31726 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31727 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31728 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31729 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31730 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31731 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31732 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31733 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31735 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31736 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31737 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31738 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31739 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31740 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31741 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31742 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31743 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31745 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31746 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31747 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31748 (MEMCMP): Use void * instead of ptr_t.
31749 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31750 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31752 2017-08-08 Florian Weimer <fweimer@redhat.com>
31754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31757 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31760 * csu/libc-tls.c: Include <startup.h> first.
31761 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31762 * elf/dl-tunables.c: Include <startup.h> first.
31763 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31764 * sysdeps/generic/startup.h: New file.
31765 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31766 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31767 (I386_USE_SYSENTER): New. Defined to 0.
31769 2017-08-08 Andreas Schwab <schwab@suse.de>
31772 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31773 * nptl/pt-system.c (system): Likewise.
31775 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31778 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31780 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31781 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31782 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31783 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31784 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31785 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31786 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31788 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31791 * bits/sigaction.h (struct sigaction): Define sa_handler and
31792 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31793 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31794 [__USE_XOPEN_EXTENDED].
31795 (SA_RESTART): Likewise.
31796 (SA_NODEFER): Likewise.
31797 (SA_RESETHAND): Likewise.
31798 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31799 (struct sigaction): Define sa_handler and sa_sigaction using union
31800 also for [__USE_XOPEN_EXTENDED].
31801 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31802 [__USE_XOPEN_EXTENDED].
31803 (SA_RESTART): Likewise.
31804 (SA_NODEFER): Likewise.
31805 (SA_RESETHAND): Likewise.
31806 * sysdeps/unix/sysv/linux/bits/sigaction.h
31807 (struct sigaction): Define sa_handler and sa_sigaction using union
31808 also for [__USE_XOPEN_EXTENDED].
31809 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31810 [__USE_XOPEN_EXTENDED].
31811 (SA_RESTART): Likewise.
31812 (SA_NODEFER): Likewise.
31813 (SA_RESETHAND): Likewise.
31814 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31815 (struct sigaction): Define sa_handler and sa_sigaction using union
31816 also for [__USE_XOPEN_EXTENDED].
31817 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31818 [__USE_XOPEN_EXTENDED].
31819 (SA_RESTART): Likewise.
31820 (SA_NODEFER): Likewise.
31821 (SA_RESETHAND): Likewise.
31822 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31823 (struct sigaction): Define sa_handler and sa_sigaction using union
31824 also for [__USE_XOPEN_EXTENDED].
31825 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31826 [__USE_XOPEN_EXTENDED].
31827 (SA_RESTART): Likewise.
31828 (SA_NODEFER): Likewise.
31829 (SA_RESETHAND): Likewise.
31830 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31831 (struct sigaction): Define sa_handler and sa_sigaction using union
31832 also for [__USE_XOPEN_EXTENDED].
31833 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31834 [__USE_XOPEN_EXTENDED].
31835 (SA_RESTART): Likewise.
31836 (SA_NODEFER): Likewise.
31837 (SA_RESETHAND): Likewise.
31838 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31839 (struct sigaction): Define sa_handler and sa_sigaction using union
31840 also for [__USE_XOPEN_EXTENDED].
31841 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31842 [__USE_XOPEN_EXTENDED].
31843 (SA_RESTART): Likewise.
31844 (SA_NODEFER): Likewise.
31845 (SA_RESETHAND): Likewise.
31846 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31847 (struct sigaction): Define sa_handler and sa_sigaction using union
31848 also for [__USE_XOPEN_EXTENDED].
31849 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31850 [__USE_XOPEN_EXTENDED].
31851 (SA_RESTART): Likewise.
31852 (SA_NODEFER): Likewise. Define directly rather than as alias.
31853 (SA_RESETHAND): Likewise.
31854 (SA_INTERRUPT): Define only for [__USE_MISC].
31855 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31856 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31858 (SA_STACK): Define only for [__USE_MISC].
31859 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31860 (struct sigaction): Define sa_handler and sa_sigaction using union
31861 also for [__USE_XOPEN_EXTENDED].
31862 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31863 [__USE_XOPEN_EXTENDED].
31864 (SA_RESTART): Likewise.
31865 (SA_NODEFER): Likewise.
31866 (SA_RESETHAND): Likewise.
31867 (SA_NOPTRACE): Define only for [__USE_MISC].
31869 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31870 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31871 (struct catalog_info): Likewise.
31872 * inet/htontest.c (lo): Likewise.
31874 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31875 * inet/inet_net.c (inet_network): Likewise.
31876 * inet/inet_netof.c (inet_netof): Likewise.
31877 * inet/rcmd.c (__ivaliduser): Likewise.
31878 (iruserok): Likewise.
31879 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31880 * locale/programs/locale-spec.c (locale_special): Likewise.
31881 * nis/nis_findserv.c (struct findserv_req): Likewise.
31882 (__nis_findfastest_with_timeout): Likewise.
31883 * nss/test-netdb.c (test_network): Likewise.
31884 * resolv/inet_neta.c (inet_neta): Likewise.
31885 * resolv/ns_date.c (ns_datetosecs): Likewise.
31886 (SECS_PER_DAY): Likewise.
31887 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31889 * resolv/res_comp.c (__putlong): Likewise.
31890 (__putshort): Likewise.
31891 (_getlong): Likewise.
31892 (_getshort): Likewise.
31893 * resolv/res_debug.c (p_time): Likewise.
31894 (precsize_ntoa): Likewise.
31895 (precsize_aton): Likewise.
31896 (latlon2ul): Likewise.
31897 (loc_aton): Likewise.
31898 (loc_ntoa): Likewise.
31899 * resolv/res_hconf.c (struct netaddr): Likewise.
31900 (_res_hconf_reorder_addrs): Likewise.
31901 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31902 (clnttcp_control): Likewise.
31903 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31904 (clntudp_control): Likewise.
31905 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31906 (clntunix_control): Likewise.
31907 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31908 * sunrpc/rpc/auth.h (union des_block): Likewise.
31909 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31910 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31911 (xdrrec_create): Likewise.
31912 (xdrrec_endofrecord): Likewise.
31913 (flush_out): Likewise.
31914 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31915 (xdrstdio_putlong): Likewise.
31916 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31919 * misc/sys/cdefs.h (__long_double_t): Remove.
31920 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31921 instead of __long_double_t,
31922 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31924 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31926 * benchtests/scripts/compare_strings.py: Avoid display error when
31927 running on a text terminal.
31929 * benchtests/scripts/compare_strings.py (main): Add an
31930 optional -base option.
31931 (process_results): New argument base_func.
31933 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31935 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31936 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31938 2017-08-07 Andreas Schwab <schwab@suse.de>
31940 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31941 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31942 * intl/Makefile ($(objpfx)tst-gettext.out)
31943 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31944 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31945 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31946 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31947 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31948 * posix/Makefile ($(objpfx)globtest.out)
31949 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31950 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31951 ($(objpfx)tst-printf.out): Likewise.
31952 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31953 ($(objpfx)tst-setcontext3.out): Likewise.
31955 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31957 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31958 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31959 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31960 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31961 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31963 (CFLAGS-doasin-fma.c): New.
31964 (CFLAGS-dosincos-fma.c): Likewise.
31965 (CFLAGS-e_asin-fma.c): Likewise.
31966 (CFLAGS-e_atan2-fma.c): Likewise.
31967 (CFLAGS-e_exp-fma.c): Likewise.
31968 (CFLAGS-e_log-fma.c): Likewise.
31969 (CFLAGS-e_pow-fma.c): Likewise.
31970 (CFLAGS-halfulp-fma.c): Likewise.
31971 (CFLAGS-mpa-fma.c): Likewise.
31972 (CFLAGS-mpatan-fma.c): Likewise.
31973 (CFLAGS-mpatan2-fma.c): Likewise.
31974 (CFLAGS-mpexp-fma.c): Likewise.
31975 (CFLAGS-mplog-fma.c): Likewise.
31976 (CFLAGS-mpsqrt-fma.c): Likewise.
31977 (CFLAGS-mptan-fma.c): Likewise.
31978 (CFLAGS-s_atan-fma.c): Likewise.
31979 (CFLAGS-sincos32-fma.c): Likewise.
31980 (CFLAGS-slowexp-fma.c): Likewise.
31981 (CFLAGS-slowpow-fma.c): Likewise.
31982 (CFLAGS-s_sin-fma.c): Likewise.
31983 (CFLAGS-s_tan-fma.c): Likewise.
31984 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31985 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31986 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31987 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31988 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31989 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31990 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31991 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31992 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31993 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31994 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31995 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31996 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31998 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31999 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32000 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32003 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32004 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32005 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32006 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32007 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32009 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32010 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32011 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32014 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32016 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32018 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32019 (min_of_type_f): New macro.
32020 (min_of_type_): Likewise.
32021 (min_of_type_l): Likewise.
32022 (min_of_type_f128): Likewise.
32023 (min_of_type): Define using __MATH_TG and taking an expression
32025 (math_check_force_underflow): Pass expression instead of type to
32027 (math_check_force_underflow_nonneg): Likewise.
32029 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32031 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32032 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32033 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32035 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32038 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32039 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32040 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32041 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32042 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32043 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32044 memmove_chk-nonshared and memset_chk-nonshared
32045 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32046 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32047 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32049 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32050 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32051 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32052 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32053 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32054 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32055 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32056 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32058 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32060 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32062 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32064 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32066 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32068 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32070 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32072 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32073 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32075 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32078 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32080 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32081 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32083 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32084 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32085 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32087 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32089 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32090 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32091 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32092 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32093 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32094 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32095 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32097 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32098 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32099 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32100 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32101 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32102 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32103 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32105 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32106 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32107 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32109 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32110 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32111 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32112 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32113 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32114 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32115 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32132 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32134 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32141 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32154 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32156 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32157 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32158 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32159 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32160 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32161 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32162 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32163 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32164 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32165 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32166 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32167 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32168 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32169 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32170 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32171 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32172 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32173 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32174 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32175 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32176 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32177 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32178 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32179 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32180 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32181 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32182 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32183 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32184 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32185 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32186 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32187 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32188 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32189 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32196 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32197 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32198 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32199 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32200 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32201 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32202 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32204 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32205 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32206 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32211 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32212 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32213 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32214 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32216 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32217 Don't include <sysdep.h> nor <init-arch.h>.
32218 (_ZGVbN2v_cos): Removed.
32219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32222 Don't include <sysdep.h> nor <init-arch.h>.
32223 (_ZGVdN4v_cos): Removed.
32224 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32227 Don't include <sysdep.h> nor <init-arch.h>.
32228 (_ZGVeN8v_cos): Removed.
32229 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32231 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32232 Don't include <sysdep.h> nor <init-arch.h>.
32233 (_ZGVbN2v_exp): Removed.
32234 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32236 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32237 Don't include <sysdep.h> nor <init-arch.h>.
32238 (_ZGVdN4v_exp): Removed.
32239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32241 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32242 Don't include <sysdep.h> nor <init-arch.h>.
32243 (_ZGVeN8v_exp): Removed.
32244 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32246 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32247 Don't include <sysdep.h> nor <init-arch.h>.
32248 (_ZGVbN2v_log): Removed.
32249 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32251 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32252 Don't include <sysdep.h> nor <init-arch.h>.
32253 (_ZGVdN4v_log): Removed.
32254 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32256 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32257 Don't include <sysdep.h> nor <init-arch.h>.
32258 (_ZGVeN8v_log): Removed.
32259 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32261 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32262 Don't include <sysdep.h> nor <init-arch.h>.
32263 (_ZGVbN2vv_pow): Removed.
32264 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32266 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32267 Don't include <sysdep.h> nor <init-arch.h>.
32268 (_ZGVdN4vv_pow): Removed.
32269 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32271 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32272 Don't include <sysdep.h> nor <init-arch.h>.
32273 (_ZGVeN8vv_pow): Removed.
32274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32277 Don't include <sysdep.h> nor <init-arch.h>.
32278 (_ZGVbN2v_sin): Removed.
32279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32281 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32282 Don't include <sysdep.h> nor <init-arch.h>.
32283 (_ZGVbN4v_sin): Removed.
32284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32286 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32287 Don't include <sysdep.h> nor <init-arch.h>.
32288 (_ZGVbN8v_sin): Removed.
32289 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32291 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32292 Don't include <sysdep.h> nor <init-arch.h>.
32293 (_ZGVbN2vvv_sincos): Removed.
32294 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32297 Don't include <sysdep.h> nor <init-arch.h>.
32298 (_ZGVdN4vvv_sincos): Removed.
32299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32302 Don't include <sysdep.h> nor <init-arch.h>.
32303 (_ZGVeN8vvv_sincos): Removed.
32304 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32306 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32307 Don't include <sysdep.h> nor <init-arch.h>.
32308 (_ZGVeN16v_cosf): Removed.
32309 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32311 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32312 Don't include <sysdep.h> nor <init-arch.h>.
32313 (_ZGVbN4v_cosf): Removed.
32314 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32316 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32317 Don't include <sysdep.h> nor <init-arch.h>.
32318 (_ZGVdN8v_cosf): Removed.
32319 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32321 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32322 Don't include <sysdep.h> nor <init-arch.h>.
32323 (_ZGVeN16v_expf): Removed.
32324 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32326 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32327 Don't include <sysdep.h> nor <init-arch.h>.
32328 (_ZGVbN4v_expf): Removed.
32329 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32331 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32332 Don't include <sysdep.h> nor <init-arch.h>.
32333 (_ZGVdN8v_expf): Removed.
32334 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32336 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32337 Don't include <sysdep.h> nor <init-arch.h>.
32338 (_ZGVeN16v_logf): Removed.
32339 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32341 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32342 Don't include <sysdep.h> nor <init-arch.h>.
32343 (_ZGVbN4v_logf): Removed.
32344 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32346 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32347 Don't include <sysdep.h> nor <init-arch.h>.
32348 (_ZGVdN8v_logf): Removed.
32349 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32351 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32352 Don't include <sysdep.h> nor <init-arch.h>.
32353 (_ZGVeN16vv_powf): Removed.
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32356 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32357 Don't include <sysdep.h> nor <init-arch.h>.
32358 (_ZGVbN4vv_powf): Removed.
32359 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32361 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32362 Don't include <sysdep.h> nor <init-arch.h>.
32363 (_ZGVdN8vv_powf): Removed.
32364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32366 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32367 Don't include <sysdep.h> nor <init-arch.h>.
32368 (_ZGVeN16vvv_sincosf): Removed.
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32372 Don't include <sysdep.h> nor <init-arch.h>.
32373 (_ZGVbN4vvv_sincosf): Removed.
32374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32377 Don't include <sysdep.h> nor <init-arch.h>.
32378 (_ZGVdN8vvv_sincosf): Removed.
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32382 Don't include <sysdep.h> nor <init-arch.h>.
32383 (_ZGVeN16v_sinf): Removed.
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32386 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32387 Don't include <sysdep.h> nor <init-arch.h>.
32388 (_ZGVbN4v_sinf): Removed.
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32391 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32392 Don't include <sysdep.h> nor <init-arch.h>.
32393 (_ZGVdN8v_sinf): Removed.
32395 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32397 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32398 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32399 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32400 s_rint-sse4_1 and s_rintf-sse4_1.
32401 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32402 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32403 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32404 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32411 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32412 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32414 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32415 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32416 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32417 (__ceilf): Removed.
32418 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32419 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32420 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32421 (__floor): Removed.
32422 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32423 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32425 (__floorf): Removed.
32426 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32427 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32428 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32429 (__nearbyint): Removed.
32430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32431 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32432 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32433 (__nearbyintf): Removed.
32434 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32435 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32436 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32438 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32439 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32440 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32441 (__rintf): Removed.
32443 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32445 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32446 SHARED. Avoid dynamic relocation against main in static PIE.
32448 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32451 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32452 (LDFLAGS-tst-prelink): Likewise.
32454 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32456 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32457 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32458 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32459 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32460 (INTERNAL_SYSCALL_NCS): Likewise.
32461 (LOADARGS_1): Likewise.
32462 (LOADARGS_5): Likewise.
32463 (RESTOREARGS_1): Likewise.
32464 (RESTOREARGS_5): Likewise.
32466 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32468 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32469 (MEMPCPY_SYMBOL): Likewise.
32470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32471 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32475 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32477 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32478 (__hidden_ver1): Don't use in libc.a.
32479 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32480 (__mempcpy): Don't create a weak alias in libc.a.
32481 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32483 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32484 (__hidden_ver1): Don't use in libc.a.
32486 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32488 * config.make.in (have-insert): New.
32489 * configure.ac (libc_cv_insert): New. Set to yes if linker
32490 supports INSERT in linker script.
32491 (AC_SUBST(libc_cv_insert): New.
32492 * configure: Regenerated.
32493 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32494 if $(have-insert) == yes.
32496 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32498 * elf/Makefile (tests): Add vismain only if
32499 $(have-protected-data) == yes.
32500 (tests-pie): Likewise.
32502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32505 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32506 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32508 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32511 * sysdeps/i386/i586/memset.S
32512 (__memset_zero_constant_len_parameter): Removed.
32513 * sysdeps/i386/i686/memset.S
32514 (__memset_zero_constant_len_parameter): Likewise.
32515 * sysdeps/i386/i686/multiarch/memset_chk.S
32516 (__memset_zero_constant_len_parameter): Likewise.
32517 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32520 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32522 * stdlib/getentropy.c (getentropy): Change return type to int.
32524 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32526 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32528 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32530 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32532 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32533 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32535 (ieee_float_shape_type): Likewise.
32536 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32537 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32538 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32539 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32540 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32541 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32542 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32543 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32544 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32546 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32547 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32548 (__ieee754_yn): Likewise.
32549 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32550 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32553 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32554 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32555 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32556 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32557 (__erfc): Likewise.
32558 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32559 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32560 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32561 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32562 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32563 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32565 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32566 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32567 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32568 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32569 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32570 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32571 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32572 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32573 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32574 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32575 (__issignaling): Likewise.
32576 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32577 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32578 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32580 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32581 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32582 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32583 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32585 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32587 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32588 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32589 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32590 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32591 (__erfcf): Likewise.
32592 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32593 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32594 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32595 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32597 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32598 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32600 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32601 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32602 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32603 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32604 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32605 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32606 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32607 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32609 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32611 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32613 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32614 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32616 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32618 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32619 (__ieee754_ynl): Likewise.
32620 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32621 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32623 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32625 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32626 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32627 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32629 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32630 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32631 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32632 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32633 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32634 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32635 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32636 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32638 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32642 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32646 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32655 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32656 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32657 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32658 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32659 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32660 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32666 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32668 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32669 (__ieee754_remainderl): Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32671 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32672 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32673 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32679 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32680 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32681 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32682 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32687 (__ieee754_y0l): Likewise.
32690 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32691 (__ieee754_y1l): Likewise.
32694 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32695 (__ieee754_ynl): Likewise.
32696 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32697 (__ieee754_lgammal_r): Likewise.
32698 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32700 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32701 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32702 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32703 (__erfcl): Likewise.
32704 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32705 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32707 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32708 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32709 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32710 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32711 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32712 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32713 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32715 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32716 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32717 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32718 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32719 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32721 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32722 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32724 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32725 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32726 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32727 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32728 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32730 2017-08-03 Florian Weimer <fweimer@redhat.com>
32733 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32734 on memory allocation failure.
32736 2017-08-03 Alan Modra <amodra@gmail.com>
32738 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32739 tst-tlsopt-powerpc.c with function name change and no test harness.
32740 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32741 Call tls_get_addr_opt_test.
32742 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32743 (modules-names): Add mod-tlsopt-powerpc.
32744 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32745 (tst-tlsopt-powerpc): Depend on .so.
32746 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32747 define. Expand use in TLS_GD and TLS_LD.
32749 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32751 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32753 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32755 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32758 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32759 comparing size with that of double.
32760 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32761 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32762 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32763 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32764 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32765 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32766 unsigned __int128 types.
32768 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32770 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32771 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32772 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32773 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32774 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32776 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32780 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32782 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32784 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32785 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32787 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32788 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32792 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32795 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32796 bit-field expressions passed to sizeof or typeof.
32797 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32798 (__TGMATH_F128): Likewise.
32799 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32800 (__TGMATH_CF128): Likewise.
32801 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32802 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32803 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32804 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32805 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32806 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32807 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32808 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32809 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32810 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32811 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32812 (__TGMATH_UNARY_IMAG): Likewise.
32813 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32814 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32815 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32817 (define_vars_for_type): Handle bit_field type specially.
32818 (Tests.__init__): Declare structure with bit-field element.
32820 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32823 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32824 (MEMCPY_CHK): Define only if SHARED is defined.
32825 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32830 See ChangeLog.18 for earlier changes.