1 2019-02-28 Florian Weimer <fweimer@redhat.com>
4 elf: Add test with a local IFUNC resolver.
5 * elf/ifuncmain9.c: New file.
6 * elf/ifuncmain9pic.c: Likewise.
7 * elf/ifuncmain9picstatic.c: Likewise.
8 * elf/ifuncmain9pie.c: Likewise.
9 * elf/ifuncmain9static.c: Likewise.
10 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
11 ifuncmain9static, ifuncmain9picstatic.
12 * elf/Makefile [multi-arch && build-shared] (tests-internal):
13 Add ifuncmain9, ifuncmain9pic.
14 * elf/Makefile [multi-arch && build-shared && have-fpie]
15 (ifunc-pie-tests): Add ifuncmain9pie.
16 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
17 (CFLAGS-ifuncmain9picstatic.c): Likewise.
18 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
20 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
22 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
23 * configure: Regenerated.
24 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
26 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
29 symbol as __wcspcy instead of wcscpy.
31 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33 * include/stdio.h (__renameat2): New hidden prototype.
34 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
35 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
36 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
37 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
39 2019-02-27 Joseph Myers <joseph@codesourcery.com>
41 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
44 * benchtests/bench-strcpy.c (do_test): Use space before '('.
45 * benchtests/bench-string.h (cmdline_process_function): Likewise.
46 * benchtests/bench-strlen.c (do_test): Likewise.
47 (test_main): Likewise.
48 * catgets/gencat.c (read_old): Likewise.
49 * elf/cache.c (load_aux_cache): Likewise.
50 * iconvdata/bug-iconv8.c (do_test): Likewise.
51 * math/test-tgmath-ret.c (do_test): Likewise.
52 * nis/nis_call.c (rec_dirsearch): Likewise.
53 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54 * nptl/tst-audit-threads.c (do_test): Likewise.
55 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
56 * nss/nss_test1.c (init): Likewise.
57 * nss/test-netdb.c (test_hosts): Likewise.
58 * posix/execvpe.c (maybe_script_execute): Likewise.
59 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
60 * stdio-common/tst-printf.c (do_test): Likewise.
61 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
62 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
63 * stdlib/qsort.c (STACK_SIZE): Likewise.
64 * stdlib/test-canon.c (do_test): Likewise.
65 * stdlib/tst-swapcontext1.c (do_test): Likewise.
66 * string/memcmp.c (OPSIZ): Likewise.
67 * string/test-strcpy.c (do_test): Likewise.
68 (do_random_tests): Likewise.
69 * string/test-strlen.c (do_test): Likewise.
70 (test_main): Likewise.
71 * string/test-strrchr.c (do_test): Likewise.
72 (do_random_tests): Likewise.
73 * string/tester.c (test_memrchr): Likewise.
74 (test_memchr): Likewise.
75 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
76 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
77 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
78 (read_encoded_value_with_base): Likewise.
79 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
80 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
81 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
82 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
83 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
84 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
86 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
88 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
89 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
90 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
92 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
94 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
96 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
98 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
99 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
100 (FP_XSTATE_MAGIC2_SIZE): Likewise.
101 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
102 * time/test_time.c (main): Likewise.
104 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
106 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
108 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
111 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
114 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
116 * include/wchar.h (__wcscpy): New prototype.
117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
118 (__wcscpy): Route internal symbol to generic implementation.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
120 Add internal __wcscpy alias.
121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
122 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
123 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
124 * wcsmbs/wcscpy.c (wcscpy): Add
125 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
126 use generic implementation.
127 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
129 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
132 * sysdeps/m68k/wcpcpy.c: Remove file.
133 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
135 2019-02-26 Joseph Myers <joseph@codesourcery.com>
137 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
138 than after operators.
139 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
140 * sysdeps/mach/hurd/getcwd.c
141 (__hurd_canonicalize_directory_name_internal): Likewise.
142 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
143 (pthread_mutex_consistent): Likewise.
144 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
146 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
147 (__pthread_mutex_transfer_np): Likewise.
148 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
149 (__pthread_mutex_unlock): Likewise.
150 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
151 (mtx_owned_p): Likewise.
152 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
153 (pthread_mutexattr_getrobust): Likewise.
154 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
155 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
157 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
158 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
159 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
160 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
161 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
165 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
167 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
168 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
169 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
170 (____longjmp_chk): Likewise.
171 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
173 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
174 (INTERNAL_SYSCALL): Likewise.
175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
176 (INTERNAL_SYSCALL): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
178 (__get_clockfreq_via_cpuinfo): Likewise.
180 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
182 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
183 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
184 (WORD_COPY_BWD): Likewise.
185 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
188 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
189 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
191 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
193 2019-02-25 Joseph Myers <joseph@codesourcery.com>
195 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
196 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
197 rather than after operators.
198 * elf/cache.c (print_cache): Likewise.
199 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
200 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
201 * hurd/hurdinit.c (_hurd_setproc): Likewise.
202 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
203 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
204 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
205 (reauth_proc): Likewise.
206 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
207 (__file_name_split_at): Likewise.
208 (__directory_name_split_at): Likewise.
209 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
210 * hurd/port2fd.c (_hurd_port2fd): Likewise.
211 * iconv/gconv_dl.c (do_print): Likewise.
212 * inet/netinet/in.h (struct sockaddr_in): Likewise.
213 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
214 * locale/setlocale.c (new_composite_name): Likewise.
215 * malloc/memusagestat.c (main): Likewise.
216 * misc/fstab.c (fstab_convert): Likewise.
217 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
219 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
220 (getgrent_next_file): Likewise.
221 (internal_getgrnam_r): Likewise.
222 (internal_getgrgid_r): Likewise.
223 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
225 (internal_getgrent_r): Likewise.
226 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
227 (getpwent_next_nss): Likewise.
228 (getpwent_next_file): Likewise.
229 (internal_getpwnam_r): Likewise.
230 (internal_getpwuid_r): Likewise.
231 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
233 (getspent_next_nss): Likewise.
234 (internal_getspnam_r): Likewise.
235 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
236 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
237 * string/strchr.c (STRCHR): Likewise.
238 * string/strchrnul.c (STRCHRNUL): Likewise.
239 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
240 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
241 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
242 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
243 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
245 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
246 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
247 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
248 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
249 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
250 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
251 (open_file): Likewise.
252 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
253 (pthread_mutexattr_setprotocol): Likewise.
254 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
255 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
256 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
257 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
258 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
260 (elf_machine_rela): Likewise.
261 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
262 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
263 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
264 * sysdeps/posix/rename.c (rename): Likewise.
265 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
266 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
267 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
268 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
269 * sysdeps/unix/grantpt.c (grantpt): Likewise.
270 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
271 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
273 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
275 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
276 * time/tzfile.c (__tzfile_compute): Likewise.
278 2019-02-22 Joseph Myers <joseph@codesourcery.com>
280 * benchtests/bench-memmem.c (simple_memmem): Break lines before
281 rather than after operators.
282 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
283 * crypt/md5.c (md5_finish_ctx): Likewise.
284 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
285 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
286 * elf/cache.c (load_aux_cache): Likewise.
287 * elf/dl-load.c (open_verify): Likewise.
288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
289 * elf/readelflib.c (process_elf_file): Likewise.
290 * elf/rtld.c (dl_main): Likewise.
291 * elf/sprof.c (generate_call_graph): Likewise.
292 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
293 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
294 * hurd/dtable.c (reauth_dtable): Likewise.
295 * hurd/getdport.c (__getdport): Likewise.
296 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
297 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
298 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
300 * hurd/hurdioctl.c (fioctl): Likewise.
301 * hurd/hurdselect.c (_hurd_select): Likewise.
302 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
303 (STOPSIGS): Likewise.
304 * hurd/hurdstartup.c (_hurd_startup): Likewise.
305 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
306 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
307 * hurd/msgportdemux.c (msgport_server): Likewise.
308 * hurd/setauth.c (_hurd_setauth): Likewise.
309 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
310 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
311 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
312 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
313 * login/tst-utmp.c (do_check): Likewise.
314 (simulate_login): Likewise.
315 * mach/lowlevellock.h (lll_lock): Likewise.
316 (lll_trylock): Likewise.
317 * math/test-fenv.c (ALL_EXC): Likewise.
318 * math/test-fenvinline.c (ALL_EXC): Likewise.
319 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
320 * nis/nis_call.c (__do_niscall3): Likewise.
321 * nis/nis_callback.c (cb_prog_1): Likewise.
322 * nis/nis_defaults.c (searchaccess): Likewise.
323 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
324 * nis/nis_ismember.c (internal_ismember): Likewise.
325 * nis/nis_local_names.c (nis_local_principal): Likewise.
326 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
327 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
329 * nis/ypclnt.c (yp_match): Likewise.
330 (yp_first): Likewise.
332 (yp_master): Likewise.
333 (yp_order): Likewise.
334 * nscd/hstcache.c (cache_addhst): Likewise.
335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
336 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
337 (internal_getpwuid_r): Likewise.
338 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
339 * posix/glob.h (__GLOB_FLAGS): Likewise.
340 * posix/regcomp.c (peek_token): Likewise.
341 (peek_token_bracket): Likewise.
342 (parse_expression): Likewise.
343 * posix/regexec.c (sift_states_iter_mb): Likewise.
344 (check_node_accept_bytes): Likewise.
345 * posix/tst-spawn3.c (do_test): Likewise.
346 * posix/wordexp-test.c (testit): Likewise.
347 * posix/wordexp.c (parse_tilde): Likewise.
348 (exec_comm): Likewise.
349 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
350 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
351 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
352 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
353 * stdio-common/tst-fileno.c (do_test): Likewise.
354 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
355 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
356 * stdlib/strtod_l.c (round_and_return): Likewise.
357 (____STRTOF_INTERNAL): Likewise.
358 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
359 * string/strcspn.c (STRCSPN): Likewise.
360 * string/test-memmem.c (simple_memmem): Likewise.
361 * termios/tcsetattr.c (tcsetattr): Likewise.
362 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
363 * time/asctime.c (asctime_internal): Likewise.
364 * time/strptime_l.c (__strptime_internal): Likewise.
365 * time/sys/time.h (timercmp): Likewise.
366 * time/tzfile.c (__tzfile_compute): Likewise.
368 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
371 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
373 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
375 * argp/argp-help.c (__argp_error_internal): New function,
376 renamed from __argp_error, but that takes a 'mode_flags'
377 parameter to control the format of long double parameters.
378 (__argp_error): Converted into a call __argp_error_internal.
379 (__argp_failure_internal): New function, renamed from
380 __argp_failure, but that takes a 'mode_flags' parameter.
381 (__argp_failure): Converted into a call __argp_failure_internal.
382 * misc/err.c (__vwarnx_internal): New function, renamed from
383 vwarnx, but that takes a 'mode_flags' parameter.
384 (vwarnx): Converted into a call to __vwarnx_internal.
385 (__vwarn_internal): New function, renamed from vwarn, but that
386 takes a 'mode_flags' parameter.
387 (vwarn): Converted into a call to __vwarn_internal.
388 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
389 call to __vfxprintf with 'mode_flags'.
390 (__error_internal): New function, renamed from error, but that
391 takes a 'mode_flags' parameter.
392 (error): Converted into a call to __error_internal.
393 (__error_at_line_internal): New function, renamed from
394 error_at_line, but that takes a 'mode_flags' parameter.
395 (error_at_line): Converted into a call to
396 __error_at_line_internal.
397 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
398 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
401 2019-02-20 Martin Liska <mliska@suse.cz>
403 * math/Makefile: Install math-vector-fortran.h.
404 * bits/math-vector-fortran.h: New file.
405 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
407 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
409 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
410 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
412 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
414 * nptl/pthread_mutex_trylock.c: Fix comment.
416 2019-02-19 Carlos O'Donell <carlos@redhat.com>
418 * nptl/pthread_tryjoin.c: Fix comment.
420 2019-02-18 Joseph Myers <joseph@codesourcery.com>
423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
424 after R_SPARC_H34 case.
426 2019-02-18 Florian Weimer <fweimer@redhat.com>
428 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
429 (getanswer): Do not call Dprintf.
430 (res_gethostbyname2_context): Likewise.
431 (res_gethostbyaddr_context): Likewise.
433 2019-02-18 Florian Weimer <fweimer@redhat.com>
435 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
437 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
439 * libio/stdfiles.c: Update comment.
440 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
441 set _IO_stdin, _IO_stdout, _IO_stderr.
442 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
443 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
445 (_IO_deallocate_file): New inline function.
446 * libio/iolibio.h (_IO_vprintf): Remove definition.
447 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
448 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
449 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
451 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
452 __builtin_expect. Use _IO_legacy_file.
454 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
456 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
457 Initialize ctid with a known value and remove update of ctid
459 (wait_tid): Adjust arguments and call futex_wait with ctid_val
460 as assumed current value of ctid_ptr.
462 2019-02-15 Florian Weimer <fweimer@redhat.com>
464 Check that non-sysdeps headers have wrapper headers.
465 * scripts/check-wrapper-headers.py: New file.
466 * Makefile (tests-special): Add check-wrapper-headers.out.
467 (check-wrapper-headers.out): New target.
468 * Rules (tests-special): Add check-wrapper-headers.out.
469 (check-wrapper-headers.out): New target.
471 2019-02-15 Florian Weimer <fweimer@redhat.com>
473 Add missing header wrappers under include/.
474 * include/ar.h: New file.
475 * include/bits/mqueue2.h: Likewise.
476 * include/bits/stdio.h: Likewise.
477 * include/bits/stdio2.h: Likewise.
478 * include/fstab.h: Likewise.
479 * include/fts.h: Likewise.
480 * include/lastlog.h: Likewise.
481 * include/netinet/icmp6.h: Likewise.
482 * include/netinet/igmp.h: Likewise.
483 * include/netinet/ip6.h: Likewise.
484 * include/re_comp.h: Likewise.
485 * include/regexp.h: Likewise.
486 * include/rpcsvc/bootparam.h: Likewise.
487 * include/rpcsvc/yp_prot.h: Likewise.
488 * include/sys/random.h: Likewise.
489 * include/sys/stropts.h: Likewise.
490 * include/sys/ttychars.h: Likewise.
491 * include/sys/vfs.h: Likewise.
492 * include/wait.h: Likewise.
494 2019-02-15 Florian Weimer <fweimer@redhat.com>
496 * nptl_db/proc_service.h: Move to ...
497 * sysdeps/nptl/proc_service.h: ... here.
498 * nptl_db/thread_db.h: Move to ...
499 * sysdeps/nptl/thread_db.h: ... here.
500 * nptl/descr.h: Include <thread_db.h>.
502 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
504 * io/Makefile (tests): Add tst-lockf.
505 * io/lockf.c (lockf): Use __fcntl and only define for
506 !__OFF_T_MATCHES_OFF64_T.
507 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
508 __OFF_T_MATCHES_OFF64_T case.
509 * io/tst-lockf.c: New file.
510 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
511 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
512 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
513 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
514 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
517 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
520 2019-02-15 Florian Weimer <fweimer@redhat.com>
523 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
524 pd->result after the thread descriptor has been freed.
526 2019-02-15 Joseph Myers <joseph@codesourcery.com>
528 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
529 from function return type.
531 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
533 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
535 * scripts/test_printers_common.py: Set TERM to a known harmless
538 2019-02-14 Joseph Myers <joseph@codesourcery.com>
540 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
541 (xdr_u_int): Likewise.
542 (xdr_enum): Likewise.
543 (xdr_bytes): Reword fall-through comment.
544 (xdr_string): Likewise.
546 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
549 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
550 (tests): Add tst-join8 tst-join9.
551 * nptl/lll_timedwait_tid.c: Remove file.
552 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
553 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
554 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
555 * nptl/pthread_join_common.c (timedwait_tid): New function.
556 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
558 * nptl/tst-join5.c (thread_join): New function.
559 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
561 * nptl/tst-join8.c: New file.
562 * nptl/tst-join9.c: Likewise.
563 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
564 lll_futex_timed_wait_cancel): Add generic macros.
565 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
570 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
572 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
574 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
575 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
576 (lll_futex_timed_wait_cancel): New macro.
578 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
580 * benchtests/Makefile: Add malloc-simple benchmark.
581 * benchtests/bench-malloc-simple.c: New benchmark.
583 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
585 * benchtests/bench-memmove.c (do_one_test): Remove unused
588 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
592 2019-01-13 Jim Wilson <jimw@sifive.com>
595 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
596 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
598 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
600 * nptl/Makefile (tests): Add tst-unwind-thread.
601 (CFLAGS-tst-unwind-thread.c): Define.
602 * nptl/tst-unwind-thread.c: New file.
603 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
606 2019-02-13 Joseph Myers <joseph@codesourcery.com>
608 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
610 * nis/nis_call.c (__do_niscall3): Likewise.
612 * catgets/gencat.c (normalize_line): Use braces around empty
614 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
615 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
616 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
617 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
618 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
619 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
620 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
623 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
626 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
628 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
629 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
630 * benchtests/bench-strchr.c (stupid_strchr): Remove.
631 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
632 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
633 * benchtests/bench-strlen.c (builtin_strlen): Remove.
634 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
635 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
636 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
637 * benchtests/bench-strspn.c (stupid_strspn): Remove.
638 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
639 * benchtests/bench-bcopy.c: Delete file.
640 * benchtests/bench-bzero.c: Likewise.
641 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
642 (simple_memccpy): Remove.
643 (generic_memccpy): Add function.
644 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
645 * benchtests/bench-memmove.c (simple_bcopy): Remove.
646 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
647 (generic_mempcpy): Add new function.
648 * benchtests/bench-memset.c (simple_bzero): Remove.
649 (builtin_bzero): Remove.
650 (builtin_memset): Remove.
651 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
652 (generic_rawmemchr): Add new function.
654 2019-02-12 Florian Weimer <fweimer@redhat.com>
656 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
658 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
661 * elf/Makefile (tests): Add tst-audit13.
662 (modules-names): Add tst-audit13mod1.
663 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
665 * elf/tst-audit13.c: New file.
666 * elf/tst-audit13mod1.c: Likewise.
668 2019-02-12 Florian Weimer <fweimer@redhat.com>
671 * elf/rtld.c (unload_audit_module): New function.
672 (report_audit_module_load_error): Likewise.
673 (load_audit_module): Likewise. Extracted from dl_main. Call
674 _dl_close if the laversion symbol cannot be found. Use early
675 returns for error handling. Add malloc error check. Check for a
676 zero return value from la_version. Remove spurious comment about
677 static TLS initialization. Remove useless casts.
678 (notify_audit_modules_of_loaded_object): New function. Extracted
680 (load_audit_module): Likewise.
681 (dl_main): Call load_audit_modules.
683 2019-02-12 Joseph Myers <joseph@codesourcery.com>
685 * elf/dl-exception.c (_dl_exception_create_format): Add
686 fall-through comments.
687 * elf/ldconfig.c (parse_conf_include): Likewise.
688 * elf/rtld.c (print_statistics): Likewise.
689 * locale/programs/charmap.c (parse_charmap): Likewise.
690 * misc/mntent_r.c (__getmntent_r): Likewise.
691 * posix/wordexp.c (parse_arith): Likewise.
692 (parse_backtick): Likewise.
693 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
694 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
697 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
699 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
700 Use float instead of double.
702 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
704 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
706 2019-02-08 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/powerpc/bits/mathinline.h: Remove.
710 2019-02-08 Florian Weimer <fweimer@redhat.com>
712 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
713 * math/bits/math-finite.h: Move to ...
714 * bits/math-finite.h: ... here.
716 2019-02-08 Florian Weimer <fweimer@redhat.com>
718 * sysdeps/generic/bits/unistd_ext.h: Move to ...
719 * bits/unistd_ext.h: here.
721 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
724 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
725 * nss/tst-nss-files-hosts-long.c: New file.
726 * nss/tst-nss-files-hosts-long.root: New directory.
727 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
728 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
730 2019-02-08 Florian Weimer <fweimer@redhat.com>
732 * include/bits/unistd_ext.h: Remove file.
733 * posix/bits/unistd_ext.h: Move to ...
734 * sysdeps/generic/bits/unistd_ext.h: ... here.
736 2019-02-08 Florian Weimer <fweimer@redhat.com>
738 * include/bits/unistd_ext.h: New file.
740 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
742 * time/tst-strftime2.c: Use array_length macros instead of magic
745 2019-02-08 Florian Weimer <fweimer@redhat.com>
748 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
750 * nptl/register-atfork.c (__run_fork_handlers): Only perform
751 locking if the new do_locking argument is true.
752 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
755 2019-02-08 Florian Weimer <fweimer@redhat.com>
758 Linux: Add gettid system call wrapper.
759 * posix/Makefile (headers): Add bits/unistd_ext.h.
760 * posix/bits/unistd_ext.h: New file.
761 * posix/unistd.h: Include it.
762 * manual/process.texi (Process Identification): Document gettid.
763 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
764 tst-gettid, tst-gettid-kill.
765 (tst-gettid): Link with $(shared-thread-library).
766 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
767 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
768 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
769 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
770 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
773 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
775 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
776 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
778 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
780 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
782 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
784 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
786 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
788 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
790 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
791 (GLIBC_2.30): Likewise.
792 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
793 (GLIBC_2.30): Likewise.
794 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
795 (GLIBC_2.30): Likewise.
796 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
797 (GLIBC_2.30): Likewise.
798 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
801 (GLIBC_2.30): Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
803 (GLIBC_2.30): Likewise.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
805 (GLIBC_2.30): Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
807 (GLIBC_2.30): Likewise.
808 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
810 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
812 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
814 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
815 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
817 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
819 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
821 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
823 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
825 2019-02-07 Florian Weimer <fweimer@redhat.com>
827 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
828 compatibility symbols.
830 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
833 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
834 Add compiler barriers and comments.
836 2019-02-07 Florian Weimer <fweimer@redhat.com>
838 * include/array_length.h (array_length): Do not use a statement
839 expression and _Static_assert, so that array_length can be used at
840 file scope and as a constant expression.
842 2019-02-07 Florian Weimer <fweimer@redhat.com>
844 * support/xdlfcn.h (xdlmopen): Declare.
845 * support/xdlmopen.c: New file.
846 * support/Makefile (libsupport-routines): Add xdlmopen.
848 2019-02-06 Joseph Myers <joseph@codesourcery.com>
850 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
851 before return type, without separate inline.
852 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
853 * elf/dl-tunables.h (tunable_is_name): Likewise.
854 * malloc/malloc.c (do_set_trim_threshold): Likewise.
855 (do_set_top_pad): Likewise.
856 (do_set_mmap_threshold): Likewise.
857 (do_set_mmaps_max): Likewise.
858 (do_set_mallopt_check): Likewise.
859 (do_set_perturb_byte): Likewise.
860 (do_set_arena_test): Likewise.
861 (do_set_arena_max): Likewise.
862 (do_set_tcache_max): Likewise.
863 (do_set_tcache_count): Likewise.
864 (do_set_tcache_unsorted_limit): Likewise.
865 * nis/nis_subr.c (count_dots): Likewise.
866 * nptl/allocatestack.c (advise_stack_range): Likewise.
867 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
869 (reduce_sincos): Likewise.
870 (do_sincos): Likewise.
871 * sysdeps/unix/sysv/linux/x86/elision-conf.c
872 (do_set_elision_enable): Likewise.
873 (TUNABLE_CALLBACK_FNDECL): Likewise.
875 2019-02-06 Florian Weimer <fweimer@redhat.com>
877 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
878 (xdlsym): Use dlerror to detect a NULL symbol.
880 2019-02-06 Florian Weimer <fweimer@redhat.com>
882 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
884 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
886 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
888 * libio/tst-bz24153.c (wide): Use wide char format specifier.
890 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
892 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
893 __wmemcmp and weak alias to wmemcmp.
895 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
898 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
899 TLS_TCB_AT_TP tls variant.
900 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
901 Add alignment checks.
902 * support/Makefile (libsupport-routines): Add xposix_memalign and
904 * support/support.h: Add xposix_memalign.
905 * support/xthread.h: Add xpthread_attr_setstack.
906 * support/xposix_memalign.c: New File.
907 * support/xpthread_attr_setstack.c: Likewise.
909 2019-02-05 Florian Weimer <fweimer@redhat.com>
912 arm: Use "nr" constraint for Systemtap probes, to avoid the
913 compiler using memory operands for constants, due to the "o"
914 alternative in the default "nor" constraint.
915 * include/stap-probe.h [USE_STAP_PROBE]: Include
916 <stap-probe-machine.h>
917 * sysdeps/generic/stap-probe-machine.h: New file.
918 * sysdeps/arm/stap-probe-machine.h: Likewise.
920 2019-02-04 Joseph Myers <joseph@codesourcery.com>
922 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
923 with 0, not tcache->entries[tc_idx].
925 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
928 2019-02-04 Andreas Schwab <schwab@suse.de>
932 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
933 looking up collating elements match against (wide) character
934 sequence instead of name. Correct alignment adjustment.
935 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
936 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
937 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
938 (LOCALES): Add cs_CZ.ISO-8859-2.
939 * posix/tst-fnmatch4.c: New file.
940 * posix/tst-fnmatch5.c: New file.
941 * include/wchar.h (__wmemcmp): Declare.
942 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
943 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
944 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
945 * sysdeps/s390/wmemcmp.c: Likewise.
947 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
951 * NEWS: Updated for CVE-2019-7309.
952 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
953 upper 32 bits of RDX register for x32. Use unsigned Jcc
954 instructions, instead of signed.
955 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
956 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
958 2019-02-04 Florian Weimer <fweimer@redhat.com>
960 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
961 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
962 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
964 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
965 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
966 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
967 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
969 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
971 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
973 (posix_spawn_file_actions_addopen): Likewise.
974 (posix_spawn_file_actions_addclose): Likewise.
975 (posix_spawn_file_actions_adddup2): Likewise.
976 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
978 (posix_spawn_file_actions_addfchdir_np): Likewise.
980 2019-02-04 David Newall <glibc@davidnewall.com>
982 elf: Implement --preload option for the dynamic linker.
983 * elf/rtld.c (preloadarg): New variable.
984 (handle_preload_list): Pass through “where” argument to
986 (dl_main): Handle "--preload" and add second call to
988 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
989 (tst-rtld-preload-OBJS): Set variable.
990 (tst-rtld-preload.out): New target.
991 * elf/tst-rtld-preload.sh: New file.
993 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
995 * Makefile (testrun.sh): Exit in case of incorrect argument.
997 2019-02-04 Florian Weimer <fweimer@redhat.com>
999 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1002 2019-02-03 Florian Weimer <fweimer@redhat.com>
1004 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1005 implicit overflow checks.
1007 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1009 * stdlib/isomac.c: Include <unistd.h>.
1011 2019-02-03 Florian Weimer <fweimer@redhat.com>
1013 * include/time.h (__tzfile_default): Use int, not long int, for
1015 * time/tzfile.c (struct ttinfo): Change type of the offset member
1017 (__tzfile_read): Remove useless cast.
1018 (__tzfile_default): Adjust prototype.
1019 * time/tzset.c (tz_rule): Change type of the offset member to int.
1020 (parse_offset): Change the type of the sign variable to int.
1022 2019-02-03 Florian Weimer <fweimer@redhat.com>
1025 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1026 * libio/getchar.c (getchar): Likewise.
1027 * libio/getchar_u.c (getchar_unlocked): Likewise.
1028 * libio/getwchar.c (getwchar): Likewise.
1029 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1030 * libio/iogets.c (_IO_gets): Likewise.
1031 * libio/vscanf.c (_IO_vscanf): Likewise.
1032 * libio/vwscanf.c (__vwscanf): Likewise.
1033 * libio/tst-bz24153.c: New file.
1034 * libio/Makefile (tests): Add it.
1036 2019-02-02 Florian Weimer <fweimer@redhat.com>
1039 * manual/resource.texi (Basic Scheduling Functions): Add
1040 portability note. Change process to task throughout the section.
1041 Remove incorrect comment about sched_yield as it affects
1042 tasks/threads, not entire processes.
1043 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1044 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1046 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1048 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1049 * configure: Regenerated.
1050 * manual/install.texi (Tools for Compilation): Update minimum GCC
1052 * INSTALL: Regenerated.
1054 2019-02-01 Florian Weimer <fweimer@redhat.com>
1056 * support/support_test_compare_string.c
1057 (support_test_compare_string): Use "string" in error message.
1058 * support/tst-test_compare_string.c (do_test): Adjust.
1060 2019-02-01 Florian Weimer <fweimer@redhat.com>
1062 * support/support_format_address_family.c
1063 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1065 2019-02-01 Florian Weimer <fweimer@redhat.com>
1067 * manual/socket.texi (Internet Address Formats): Clarify the byte
1068 order of struct sockaddr_in, struct sockaddr_in6. Document
1069 sin6_flowinfo and sin6_scope_id.
1071 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1073 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1074 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1075 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1076 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1077 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1078 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1080 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1082 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1083 [!MEMCHR](MEMCHR): Set to __memchr.
1084 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1085 Add memchr_generic and memchr_nosimd.
1086 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1087 (__libc_ifunc_impl_list): Add memchr ifuncs.
1088 * sysdeps/aarch64/multiarch/memchr.c: New file.
1089 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1090 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1092 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1094 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1096 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1097 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1098 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1099 Add IS_EMAG check for ifunc dispatch.
1100 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1101 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1103 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1105 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1108 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1111 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1113 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1115 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1117 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1118 syscall-template file.
1120 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1121 Torvald Riegel <triegel@redhat.com>
1122 Rik Prohaska <prohaska7@gmail.com>
1125 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1126 tst-rwlock-trywrlock-stall.
1127 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1128 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1129 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1130 Set __wrphase_fute to 1 only if we started the write phase.
1131 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1132 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1133 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1134 * support/xpthread_rwlock_destroy.c: New file.
1135 * support/xthread.h: Declare xpthread_rwlock_destroy.
1137 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1139 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1142 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1145 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1146 * libio/fileops.c (_IO_new_file_underflow): Likewise
1147 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1148 * libio/putchar.c (putchar): Likewise.
1149 * libio/putchar_u.c (putchar_unlocked): Likewise.
1150 * libio/putwchar.c (putchar): Likewise.
1151 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1152 * libio/tst-bz24051.c: New test.
1153 * libio/Makefile (tests): Add tst-bz24051
1155 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1157 regex: fix read overrun [BZ #24114]
1158 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1159 https://debbugs.gnu.org/34140
1160 * posix/regexec.c (proceed_next_node):
1161 Do not read past end of input buffer.
1163 2019-01-31 Florian Weimer <fweimer@redhat.com>
1166 * nss/nss_files/files-alias.c (get_next_alias): Handle
1167 continuation line without newline at the end.
1168 * nss/tst-nss-files-alias-truncated.c: New file.
1169 * nss/Makefile [$(build-shared)] (tests): Add
1170 tst-nss-files-alias-truncated.
1171 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1172 * support/namespace.h (struct support_chroot_configuration): Add
1174 (struct support_chroot): Add path_aliases member.
1175 * support/support_chroot.c (support_chroot_create): Handle
1177 (support_chroot_free): Free path_aliases.
1179 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1181 * version.h (RELEASE): Set to "development".
1182 (VERSION): Set to "2.29.9000".
1183 * NEWS: Add section for 2.30.
1185 * version.h (RELEASE): Set to "stable".
1186 (VERSION): Set to "2.29".
1187 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1189 * NEWS: Add the list of bugs fixed in 2.29.
1190 * manual/contrib.texi: Update contributors list with some more
1192 * manual/install.texi: Update latest versions of packages
1194 * INSTALL: Regenerated.
1196 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1198 * po/be.po: Update translations.
1199 * po/bg.po: Likewise.
1200 * po/ca.po: Likewise.
1201 * po/cs.po: Likewise.
1202 * po/da.po: Likewise.
1203 * po/de.po: Likewise.
1204 * po/el.po: Likewise.
1205 * po/eo.po: Likewise.
1206 * po/es.po: Likewise.
1207 * po/fi.po: Likewise.
1208 * po/fr.po: Likewise.
1209 * po/gl.po: Likewise.
1210 * po/hr.po: Likewise.
1211 * po/hu.po: Likewise.
1212 * po/ia.po: Likewise.
1213 * po/id.po: Likewise.
1214 * po/it.po: Likewise.
1215 * po/ja.po: Likewise.
1216 * po/ko.po: Likewise.
1217 * po/lt.po: Likewise.
1218 * po/nb.po: Likewise.
1219 * po/nl.po: Likewise.
1220 * po/pl.po: Likewise.
1221 * po/pt_BR.po: Likewise.
1222 * po/ru.po: Likewise.
1223 * po/rw.po: Likewise.
1224 * po/sk.po: Likewise.
1225 * po/sl.po: Likewise.
1226 * po/sv.po: Likewise.
1227 * po/tr.po: Likewise.
1228 * po/uk.po: Likewise.
1229 * po/vi.po: Likewise.
1230 * po/zh_CN.po: Likewise.
1231 * po/zh_TW.po: Likewise.
1233 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1236 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1237 of $f3 register on $y_is_neg path.
1239 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1242 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1243 sigaltstack.ss_flags.
1245 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1248 * manual/time.texi (strftime): Document "%Ey".
1249 * time/strftime_l.c (__strftime_internal): Set the default width
1250 padding with zero of "%Ey" to 2.
1253 * manual/time.texi (strftime): Document "%EC" and "%EY".
1254 * time/Makefile (tests): Add tst-strftime2.
1255 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1256 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1257 override padding for "%Ey".
1258 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1259 "%Ey" in the subformat as if decorated with that flag.
1260 * time/tst-strftime2.c: New file.
1262 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1264 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1268 * elf/Makefile (tests): Add tst-audit13.
1269 (modules-names): Add tst-audit13mod1.
1270 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1272 * elf/rtld.c (dl_main): Handle invalid audit module version.
1273 * elf/tst-audit13.c: New file.
1274 * elf/tst-audit13mod1.c: Likewise.
1276 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1278 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1279 returned by __hurd_at_flags.
1280 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1281 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1282 directly instead of __hurd_file_name_lookup.
1284 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1286 * scripts/build-many-glibcs.py (Context.checkout): Default
1287 binutils version to 2.32 branch.
1289 2019-01-21 Florian Weimer <fweimer@redhat.com>
1293 resolv: Reject trailing characters in host names
1294 * include/arpa/inet.h (__inet_aton_exact): Declare.
1295 (inet_aton): Remove hidden prototype. No longer used internally.
1296 * nscd/gai.c (__inet_aton): Do not define.
1297 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1298 * nss/digits_dots.c (__inet_aton): Likewise.
1299 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1300 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1301 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1302 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1303 (tst-resolv-trailing): Likewise.
1304 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1306 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1307 Make static. Add endp parameter.
1308 (__inet_aton_exact): New function.
1309 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1310 (__inet_addr): Call inet_aton_end.
1311 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1312 not just IPv6. Call __inet_aton_exact.
1313 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1314 (tests): Make const. Add additional test cases with trailing
1316 (do_test): Use array_length.
1317 * resolv/tst-inet_aton_exact.c: New file.
1318 * resolv/tst-resolv-trailing.c: Likewise.
1319 * resolv/tst-resolv-nondecimal.c: Likewise.
1320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1322 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1326 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1327 Clear the upper 32 bits of RSI register.
1328 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1329 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1330 and tst-size_t-wcsnlen.
1331 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1332 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1334 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1338 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1339 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1341 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1342 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1344 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1348 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1350 * sysdeps/x86_64/strcmp.S: Likewise.
1351 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1352 tst-size_t-strncmp and tst-size_t-wcsncmp.
1353 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1354 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1355 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1357 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1361 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1362 RDX_LP for length. Clear the upper 32 bits of RDX register.
1363 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1364 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1365 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1366 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1368 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1372 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1373 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1374 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1375 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1377 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1382 length. Clear the upper 32 bits of RDX register.
1383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1384 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1386 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1388 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1390 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1392 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1396 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1397 length. Clear the upper 32 bits of RDX register.
1398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1399 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1400 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1402 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1403 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1405 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1409 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1410 upper 32 bits of RDX register.
1411 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1412 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1414 * sysdeps/x86_64/x32/test-size_t.h: New file.
1415 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1416 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1418 2019-01-18 Florian Weimer <fweimer@redhat.com>
1421 resolv: Do not send queries for non-host-names in nss_dns.
1422 * resolv/nss_dns/dns-host.c (check_name): New function.
1423 (_nss_dns_gethostbyname2_r): Use it.
1424 (_nss_dns_gethostbyname_r): Likewise.
1425 (_nss_dns_gethostbyname4_r): Likewise.
1427 2019-01-21 Florian Weimer <fweimer@redhat.com>
1429 * resolv/inet_addr.c: Reformat to GNU style.
1430 (__inet_addr, __inet_aton): Update comment.
1432 2019-01-18 Florian Weimer <fweimer@redhat.com>
1434 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1435 ("malloc: Use current (C11-style) atomics for fastbin access").
1436 This commit introduces a substantial performance regression on
1438 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1439 (REMOVE_FB): Define.
1440 (_int_malloc): Use it and reindent.
1441 (_int_free): Use CAS loop with
1442 catomic_compare_and_exchange_val_rel.
1443 (malloc_consolidate): Use atomic_exchange_acq.
1446 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1448 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1450 (LDFLAGS-tst-minsigstksz-2): Likewise.
1451 (LDFLAGS-tst-minsigstksz-3): Likewise.
1452 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1453 (LDFLAGS-tst-minsigstksz-4): Likewise.
1455 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1457 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1460 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1462 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1464 2019-01-16 Zack Weinberg <zackw@panix.com>
1466 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1467 (xget_sigstack_location): New test support functions.
1468 * support/xsigstack.c: New file, implementing them.
1469 * support/tst-xsigstack.c: New test for them.
1470 * support/Makefile: Update.
1472 * signal/tst-minsigstksz-1.c
1473 * signal/tst-minsigstksz-2.c
1474 * signal/tst-minsigstksz-3.c
1475 * signal/tst-minsigstksz-3a.c
1476 * signal/tst-minsigstksz-4.c: New tests.
1477 * signal/Makefile: Run them.
1479 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1481 * po/libc.pot: Regenerate.
1483 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1485 * math/libm-test-fma.inc (fma_test_data): Set
1486 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1488 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1490 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1491 (do_test): Changed __vector __int128_t to __vector unsigned int.
1493 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1496 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1497 stpcpy-avx2 and stpncpy-avx2.
1498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1499 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1500 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1502 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1503 ifunc-strcpy.h}: rename header for a more generic name.
1504 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1505 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1506 AVX unaligned load is fast and vzeroupper is preferred.
1507 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1508 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1509 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1510 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1511 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1512 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1514 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1516 * argp/argp-help.c: Fix typo in comment.
1517 * misc/sys/cdefs.h: Likewise.
1518 * posix/regexec.c (sift_states_iter_mb): Likewise.
1519 * socket/sockatmark.c: Likewise.
1520 * socket/sys/socket.h: Likewise.
1521 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1522 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1523 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1525 * sysdeps/unix/sockatmark.c: Likewise.
1526 * time/strptime_l.c: Likewise.
1528 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1530 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1531 missing space after the cast of "_NL_CURRENT".
1533 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1536 ifdef to fix read of VSCR.
1537 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1538 tst-ucontext-ppc64-vscr.c to test list.
1539 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1541 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1543 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1546 2019-01-09 Jim Wilson <jimw@sifive.com>
1548 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1550 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1552 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1553 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1554 __memcpy_falkor for ares.
1555 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1557 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1560 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1563 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1564 4_FP_W_TYPEs are used for IEEE quad precision.
1565 * soft-fp/extendhftf2.c: Likewise.
1566 * soft-fp/extendsftf2.c: Likewise.
1567 * soft-fp/extendxftf2.c: Likewise.
1568 * soft-fp/trunctfdf2.c: Likewise.
1569 * soft-fp/trunctfhf2.c: Likewise.
1570 * soft-fp/trunctfsf2.c: Likewise.
1571 * soft-fp/trunctfxf2.c: Likewise.
1572 * sysdeps/alpha/ots_cvttx.c: Likewise.
1573 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1574 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1575 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1576 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1577 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1578 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1579 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1580 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1581 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1582 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1583 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1584 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1585 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1586 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1587 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1588 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1589 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1591 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1594 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1595 code with -fmath-errno.
1596 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1597 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1598 * string/test-strerror-errno.c: New file.
1600 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1603 * localedata/locales/en_US (date_fmt): Add, set to
1604 "%a %d %b %Y %r %Z".
1606 2019-01-07 Florian Weimer <fweimer@redhat.com>
1609 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1610 instead of @var{errno}.
1611 (Parsing of Integers): Likewise.
1612 (Parsing of Floats): Likewise.
1613 * manual/filesys.texi (Working with Directory Trees): Likewise.
1614 (Temporary Files): Likewise.
1615 * manual/job.texi (Terminal Access Functions): Likewise.
1616 * manual/llio.texi (Synchronizing I/O): Likewise.
1617 * manual/math.texi (SVID Random): Likewise.
1618 * manual/message.texi (The catgets Functions): Likewise.
1619 (Translation with gettext): Likewise.
1620 (Locating gettext catalog): Likewise.
1621 (Charset conversion in gettext): Likewise.
1622 * manual/nss.texi (NSS Module Function Internals): Likewise.
1623 * manual/search.texi (Hash Search Function): Likewise.
1624 * manual/setjmp.texi (System V contexts): Likewise.
1625 * manual/time.texi (Sleeping): Likewise.
1626 * manual/users.texi (Lookup User): Likewise.
1627 (Lookup Group): Likewise.
1629 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1631 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1634 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1637 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1638 __builtin_unreachable for default case in switch.
1639 (__ieee754_yn): Likewise.
1640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1641 (__ieee754_ynl): Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1643 (__ieee754_ynl): Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1645 (__ieee754_ynl): Likewise.
1647 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1649 * manual/maint.texi: Use @{ and @}.
1651 2019-01-04 Florian Weimer <fweimer@redhat.com>
1653 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1655 (do_in_chroot_1): Call it.
1657 Improve error reporting in case it is not possible to create a
1658 collision for the PTY name required by the test.
1660 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1662 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1663 lll_wait_tid with timeout.
1664 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1665 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1666 futex_reltimed_wait_cancelable for cancelabla mode.
1667 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1668 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1670 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1671 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1672 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1673 SYSCALL_CANCEL_NCS): New macro.
1674 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1675 (lll_timedwait_tid): Remove macro.
1676 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1678 (lll_timedwait_tid): Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1681 (lll_timedwait_tid): Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1684 (lll_timedwait_tid): Likewise.
1685 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1686 Use INTERNAL_SYSCALL_CANCEL.
1687 * sysdeps/unix/sysv/linux/futex-internal.h
1688 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1689 instead of __pthread_{enable,disable}_asynccancel.
1690 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1691 (lll_futex_wait_cancel): New macro.
1693 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1694 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1696 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1697 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1699 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1700 in backtrace analysis.
1701 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1703 (tf_send): Likewise.
1705 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1706 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1707 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1708 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1709 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1710 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1711 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1712 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1713 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1714 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1715 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1716 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1718 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1719 tst-cancel-wrappers.sh.
1720 (generated): Remove tst-cancel-wrappers.out.
1721 (tst-cancel-wrappers.out): Remove rule.
1722 * nptl/tst-cancel-wrappers.sh: Remove file.
1724 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1726 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1727 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1730 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1733 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1734 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1735 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1736 close-on-exec reset for adddup2 file action.
1737 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1739 2019-01-03 Zack Weinberg <zackw@panix.com>
1741 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1742 parameter. Only use deprecated scanf when __USE_GNU is defined
1743 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1744 than 201103L, whichever is relevant for the language being compiled.
1746 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1747 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1748 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1749 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1750 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1754 * libio/iovswscanf.c
1759 * stdio-common/fscanf.c
1760 * stdio-common/scanf.c
1761 * stdio-common/vfscanf.c
1762 * stdio-common/vfwscanf.c
1763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1764 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1765 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1766 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1767 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1768 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1769 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1770 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1771 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1772 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1773 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1774 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1775 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1776 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1777 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1779 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1780 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1781 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1783 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1784 with a preprocessor macro.
1786 * stdio-common/bug21.c, stdio-common/scanf14.c:
1787 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1788 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1789 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1790 to xscanf, xfscanf, xsscanf.
1792 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1793 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1794 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1795 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1797 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1798 override feature selection macros or provide definitions of u_char etc.
1799 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1800 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1801 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1804 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1807 bits/termios-misc.h.
1808 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1809 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1810 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1812 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1813 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1815 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1817 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1818 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1819 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1820 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1822 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1823 (sysdep_headers): Add termios-misc.h.
1825 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1826 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1827 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1831 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1832 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1833 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1834 TCSAFLUSH): Move to termios-tcflow.h.
1835 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1836 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1842 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1843 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1844 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1846 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1847 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1848 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1849 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1851 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1852 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1858 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1859 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1861 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1862 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1865 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1867 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1872 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1873 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1874 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1875 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1876 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1877 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1878 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1879 __MAX_BAUD): Move to termios-baud.h.
1880 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1881 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1882 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1884 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1888 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1889 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1892 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1893 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1895 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1896 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1898 [USE_MISC] (XTABS): Likewise.
1899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1900 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1904 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1906 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1907 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1909 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1910 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1911 IUTF8): Move to termios-c_iflag.h.
1912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1913 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1917 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1919 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1920 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1921 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1924 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1925 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1926 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1927 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1928 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1932 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1933 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1934 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1938 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1940 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1942 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1944 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1948 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1949 _HAVE_C_OSPEED): Define.
1950 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1951 _HAVE_C_OSPEED): Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1953 _HAVE_C_OSPEED): Likewise.
1954 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1955 (cfsetospeed): Check for define value instead of existence.
1956 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1957 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1958 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1959 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1960 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1963 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1966 (TIOCSER_TEMT): Likewise.
1967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1968 (TEOCSER_TEMT): Likewise.
1970 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1973 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1975 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1977 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1979 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1981 * sysdeps/htl/pt-barrierattr-setpshared.c
1982 (pthread_barrierattr_setpshared): Add stub warning.
1983 * sysdeps/htl/pt-condattr-setpshared.c
1984 (pthread_condattr_setpshared): Likewise.
1985 * sysdeps/htl/pt-mutexattr-setpshared.c
1986 (pthread_mutexattr_setpshared): Likewise.
1987 * sysdeps/htl/pt-rwlockattr-setpshared.c
1988 (pthread_rwlockattr_setpshared): Likewise.
1989 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1990 (pthread_mutexattr_setpshared): Likewise.
1992 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1995 constants to match with Linux 4.20.
1997 * sysdeps/mips/mips32/libm-test-ulps: Update.
1998 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2000 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2003 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2004 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2005 than __typeof (...) for the a_ptr variable.
2007 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2009 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2010 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2011 * libio/Makefile (tests): Add tst-sprintf-ub and
2013 (CFLAGS-tst-sprintf-ub.c): New variable.
2014 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2015 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2016 destination buffer and check for overflows in fortified mode.
2017 * libio/libioP.h (PRINTF_CHK): New macro.
2018 * libio/tst-sprintf-chk-ub.c: New file.
2019 * libio/tst-sprintf-ub.c: Likewise.
2021 2019-01-02 Florian Weimer <fweimer@redhat.com>
2024 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2027 2019-01-02 Florian Weimer <fweimer@redhat.com>
2029 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2031 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2036 * sysdeps/unix/sysv/linux/netpacket/packet.h
2037 (PACKET_IGNORE_OUTGOING): New macro.
2039 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2042 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2044 (riscv_flush_icache): New syscall.
2046 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2047 trailing whitespace removed.
2048 * scripts/config.guess: Update to version 2019-01-01.
2049 * scripts/config.sub: Update to version 2019-01-01.
2050 * scripts/move-if-change: Update from gnulib.
2052 * NEWS: Update copyright dates.
2053 * catgets/gencat.c (print_version): Likewise.
2054 * csu/version.c (banner): Likewise.
2055 * debug/catchsegv.sh: Likewise.
2056 * debug/pcprofiledump.c (print_version): Likewise.
2057 * debug/xtrace.sh (do_version): Likewise.
2058 * elf/ldconfig.c (print_version): Likewise.
2059 * elf/ldd.bash.in: Likewise.
2060 * elf/pldd.c (print_version): Likewise.
2061 * elf/sotruss.sh: Likewise.
2062 * elf/sprof.c (print_version): Likewise.
2063 * iconv/iconv_prog.c (print_version): Likewise.
2064 * iconv/iconvconfig.c (print_version): Likewise.
2065 * locale/programs/locale.c (print_version): Likewise.
2066 * locale/programs/localedef.c (print_version): Likewise.
2067 * login/programs/pt_chown.c (print_version): Likewise.
2068 * malloc/memusage.sh (do_version): Likewise.
2069 * malloc/memusagestat.c (print_version): Likewise.
2070 * malloc/mtrace.pl: Likewise.
2071 * manual/libc.texinfo: Likewise.
2072 * nptl/version.c (banner): Likewise.
2073 * nscd/nscd.c (print_version): Likewise.
2074 * nss/getent.c (print_version): Likewise.
2075 * nss/makedb.c (print_version): Likewise.
2076 * posix/getconf.c (main): Likewise.
2077 * scripts/test-installation.pl: Likewise.
2078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2080 * All files with FSF copyright notices: Update copyright dates
2081 using scripts/update-copyrights.
2082 * locale/programs/charmap-kw.h: Regenerated.
2083 * locale/programs/locfile-kw.h: Likewise.
2085 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2087 * timezone/zdump.c: Update from tzcode 2018i.
2088 * timezone/zic.c: Likewise.
2090 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2092 regex: improve Gnulib port to AIX
2093 From the glibc point of view, this removes duplicate macro
2094 definitions and is obviously safe.
2095 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2096 * posix/regex_internal.h:
2097 (__attribute__, __attribute_warn_unused_result__):
2098 Remove; already defined elsewhere.
2100 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2103 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2104 copying operation. (ncopies had the wrong type, resulting in an
2105 integer wraparound and too few elements being copied.)
2107 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2110 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2111 <asm/syscalls.h> exists with __has_include__ before including it.
2113 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2115 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2118 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2120 * hurd/lookup-retry: Include <unistd.h>.
2121 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2122 Release it on return. Handle "pid" magical lookup retry.
2124 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2127 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2128 (t_fmt_ampm): Likewise.
2129 * localedata/locales/aa_ER (t_fmt): Likewise.
2130 (t_fmt_ampm): Likewise.
2131 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2132 (t_fmt_ampm): Likewise.
2133 * localedata/locales/aa_ET (t_fmt): Likewise.
2134 (t_fmt_ampm): Likewise.
2135 * localedata/locales/am_ET (t_fmt): Likewise.
2136 (t_fmt_ampm): Likewise.
2137 * localedata/locales/byn_ER (t_fmt): Likewise.
2138 (t_fmt_ampm): Likewise.
2139 * localedata/locales/om_ET (t_fmt): Likewise.
2140 (t_fmt_ampm): Likewise.
2141 * localedata/locales/sid_ET (t_fmt): Likewise.
2142 (t_fmt_ampm): Likewise.
2143 * localedata/locales/so_DJ (t_fmt): Likewise.
2144 (t_fmt_ampm): Likewise.
2145 * localedata/locales/so_ET (t_fmt): Likewise.
2146 (t_fmt_ampm): Likewise.
2147 * localedata/locales/so_SO (t_fmt): Likewise.
2148 (t_fmt_ampm): Likewise.
2149 * localedata/locales/ti_ER (t_fmt): Likewise.
2150 (t_fmt_ampm): Likewise.
2151 * localedata/locales/ti_ET (t_fmt): Likewise.
2152 (t_fmt_ampm): Likewise.
2153 * localedata/locales/tig_ER (t_fmt): Likewise.
2154 (t_fmt_ampm): Likewise.
2155 * localedata/locales/wal_ET (t_fmt): Likewise.
2156 (t_fmt_ampm): Likewise.
2158 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2159 * localedata/locales/ar_IN (t_fmt): Likewise.
2160 * localedata/locales/bhb_IN (t_fmt): Likewise.
2161 * localedata/locales/bho_IN (t_fmt): Likewise.
2162 * localedata/locales/bi_VU (t_fmt): Likewise.
2163 * localedata/locales/bn_BD (t_fmt): Likewise.
2164 * localedata/locales/bn_IN (t_fmt): Likewise.
2165 * localedata/locales/brx_IN (t_fmt): Likewise.
2166 * localedata/locales/doi_IN (t_fmt): Likewise.
2167 * localedata/locales/en_HK (t_fmt): Likewise.
2168 (t_fmt_ampm): Likewise.
2169 * localedata/locales/en_IN (t_fmt): Likewise.
2170 * localedata/locales/en_PH (t_fmt): Likewise.
2171 * localedata/locales/gu_IN (t_fmt): Likewise.
2172 * localedata/locales/hi_IN (t_fmt): Likewise.
2173 * localedata/locales/hif_FJ (t_fmt): Likewise.
2174 * localedata/locales/hne_IN (t_fmt): Likewise.
2175 * localedata/locales/kn_IN (t_fmt): Likewise.
2176 * localedata/locales/kok_IN (t_fmt): Likewise.
2177 * localedata/locales/ks_IN (t_fmt): Likewise.
2178 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2179 * localedata/locales/mag_IN (t_fmt): Likewise.
2180 * localedata/locales/mai_IN (t_fmt): Likewise.
2181 * localedata/locales/mjw_IN (t_fmt): Likewise.
2182 * localedata/locales/ml_IN (t_fmt): Likewise.
2183 * localedata/locales/mni_IN (t_fmt): Likewise.
2184 * localedata/locales/mr_IN (t_fmt): Likewise.
2185 * localedata/locales/ms_MY (t_fmt): Likewise.
2186 * localedata/locales/pa_IN (t_fmt): Likewise.
2187 * localedata/locales/raj_IN (t_fmt): Likewise.
2188 * localedata/locales/sa_IN (t_fmt): Likewise.
2189 * localedata/locales/sat_IN (t_fmt): Likewise.
2190 * localedata/locales/sd_IN (t_fmt): Likewise.
2191 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2192 * localedata/locales/tcy_IN (t_fmt): Likewise.
2193 * localedata/locales/the_NP (t_fmt): Likewise.
2194 * localedata/locales/to_TO (t_fmt): Likewise.
2195 * localedata/locales/ur_IN (t_fmt): Likewise.
2197 * localedata/locales/hif_FJ (d_t_fmt): Set to
2198 "%A %d %b %Y %I:%M:%S %p".
2199 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2201 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2202 * localedata/locales/ar_BH (t_fmt): Likewise.
2203 * localedata/locales/ar_DZ (t_fmt): Likewise.
2204 * localedata/locales/ar_EG (t_fmt): Likewise.
2205 * localedata/locales/ar_IQ (t_fmt): Likewise.
2206 * localedata/locales/ar_JO (t_fmt): Likewise.
2207 * localedata/locales/ar_KW (t_fmt): Likewise.
2208 * localedata/locales/ar_LB (t_fmt): Likewise.
2209 * localedata/locales/ar_LY (t_fmt): Likewise.
2210 * localedata/locales/ar_OM (t_fmt): Likewise.
2211 * localedata/locales/ar_QA (t_fmt): Likewise.
2212 * localedata/locales/ar_SD (t_fmt): Likewise.
2213 * localedata/locales/ar_SS (t_fmt): Likewise.
2214 * localedata/locales/ar_SY (t_fmt): Likewise.
2215 * localedata/locales/ar_TN (t_fmt): Likewise.
2216 * localedata/locales/ar_YE (t_fmt): Likewise.
2218 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2219 (t_fmt_ampm): Likewise.
2220 * localedata/locales/gez_ET (t_fmt): Likewise.
2221 (t_fmt_ampm): Likewise.
2223 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2224 (t_fmt_ampm): Likewise.
2225 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2227 * localedata/locales/zh_HK (t_fmt):
2228 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2230 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2231 because this locale does not use the 12-hour clock.
2232 (t_fmt): Set to "%Z %H:%M:%S".
2233 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2235 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2236 because this locale does not use the 12-hour clock.
2237 (t_fmt): Set to "%H:%M:%S %Z".
2238 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2240 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2241 because this locale does not use the 12-hour clock.
2242 (t_fmt): Set to "%T".
2243 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2244 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2246 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2247 because this locale does not use the 12-hour clock.
2248 (t_fmt): Set to "%H:%M:%S %Z".
2249 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2251 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2252 because this locale does not use the 12-hour clock.
2253 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2254 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2256 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2260 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2261 (t_fmt_ampm): Likewise.
2262 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2263 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2264 (d_fmt): Set to "%-d.%-m.%y".
2266 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2268 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2269 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2270 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2272 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2273 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2274 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2276 * support/blob_repeat.c (check_mul_overflow_size_t,
2277 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2279 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2281 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2283 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2285 regex: simplify Gnulib port
2286 This simplifies the code, by removing stuff intended for porting
2287 to Gnulib but no longer needed there.
2288 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2289 uses of libc_hidden_def, weak_alias.
2290 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2291 _Restrict_ except for public-facing headers.
2292 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2293 Remove; already defined elsewhere.
2294 * posix/regex.c, posix/regex_internal.h:
2295 Use __GNUC_PREREQ instead of rolling our own.
2296 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2298 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2300 * benchtests/bench-strlen.c (generic_strlen): New function.
2301 (memchr_strlen): New function.
2303 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2305 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2306 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2307 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2309 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2313 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2315 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2316 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2317 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2318 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2319 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2320 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2321 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2323 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2326 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2327 PLT reference in libc.so.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2329 _Q_lltoq and _Q_qtod PLT references in libc.so.
2331 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2333 * benchtests/bench-memchr.c: Cleanup defines.
2334 * benchtests/bench-memcmp.c: Likewise.
2335 * benchtests/bench-memset.c: Likewise.
2336 * benchtests/bench-memset-large.c: Likewise.
2337 * benchtests/bench-memset-walk.c: Likewise.
2338 * benchtests/bench-stpcpy.c: Likewise.
2339 * benchtests/bench-stpncpy.c: Likewise.
2340 * benchtests/bench-strcat.c: Likewise.
2341 * benchtests/bench-strchr.c: Likewise.
2342 * benchtests/bench-strcmp.c: Likewise.
2343 * benchtests/bench-strcpy.c: Likewise.
2344 * benchtests/bench-strcspn.c: Likewise.
2345 * benchtests/bench-string.h: Likewise.
2346 * benchtests/bench-strlen.c: Likewise.
2347 * benchtests/bench-strncat.c: Likewise.
2348 * benchtests/bench-strncmp.c: Likewise.
2349 * benchtests/bench-strncpy.c: Likewise.
2350 * benchtests/bench-strnlen.c: Likewise.
2351 * benchtests/bench-strpbrk.c: Likewise.
2352 * benchtests/bench-strrchr.c: Likewise.
2353 * benchtests/bench-strspn.c: Likewise.
2355 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2357 * stdlib/longlong.h: Update from GCC.
2360 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2361 * configure: Regenerated.
2362 * manual/install.texi (Tools for Compilation): Update minimum GCC
2364 * INSTALL: Regenerated.
2366 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2368 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2370 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2372 * malloc/malloc.c (mremap_chunk): Additional checks.
2374 2018-12-21 Mao Han <han_mao@c-sky.com>
2376 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2377 * scripts/build-many-glibcs.py: Add C-SKY targets.
2378 * sysdeps/csky/Implies: New file.
2379 * sysdeps/csky/Makefile: Likewise.
2380 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2381 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2382 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2383 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2384 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2385 * sysdeps/csky/abiv2/memmove.S: Likewise.
2386 * sysdeps/csky/abiv2/memset.S: Likewise.
2387 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2388 * sysdeps/csky/abiv2/start.S: Likewise.
2389 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2390 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2391 * sysdeps/csky/abiv2/strlen.S: Likewise.
2392 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2393 * sysdeps/csky/abort-instr.h: Likewise.
2394 * sysdeps/csky/atomic-machine.h: Likewise.
2395 * sysdeps/csky/bits/endian.h: Likewise.
2396 * sysdeps/csky/bits/fenv.h: Likewise.
2397 * sysdeps/csky/bits/link.h: Likewise.
2398 * sysdeps/csky/bits/setjmp.h: Likewise.
2399 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2400 * sysdeps/csky/bsd-setjmp.S: Likewise.
2401 * sysdeps/csky/configure: Likewise.
2402 * sysdeps/csky/configure.ac: Likewise.
2403 * sysdeps/csky/dl-machine.h: Likewise.
2404 * sysdeps/csky/dl-procinfo.c: Likewise.
2405 * sysdeps/csky/dl-procinfo.h: Likewise.
2406 * sysdeps/csky/dl-sysdep.h: Likewise.
2407 * sysdeps/csky/dl-tls.h: Likewise.
2408 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2409 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2410 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2411 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2412 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2413 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2414 * sysdeps/csky/fpu/fegetround.c: Likewise.
2415 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2416 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2417 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2418 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2419 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2420 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2421 * sysdeps/csky/fpu/fesetround.c: Likewise.
2422 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2423 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2424 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2425 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2426 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2427 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2428 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2429 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2430 * sysdeps/csky/fpu_control.h: Likewise.
2431 * sysdeps/csky/gccframe.h: Likewise.
2432 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2433 * sysdeps/csky/ldsodefs.h: Likewise.
2434 * sysdeps/csky/libc-tls.c: Likewise.
2435 * sysdeps/csky/linkmap.h: Likewise.
2436 * sysdeps/csky/machine-gmon.h: Likewise.
2437 * sysdeps/csky/memusage.h: Likewise.
2438 * sysdeps/csky/nofpu/Implies: Likewise.
2439 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2440 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2441 * sysdeps/csky/nptl/Makefile: Likewise.
2442 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2443 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2444 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2445 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2446 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2447 * sysdeps/csky/nptl/tls.h: Likewise.
2448 * sysdeps/csky/preconfigure: Likewise.
2449 * sysdeps/csky/sfp-machine.h: Likewise.
2450 * sysdeps/csky/sotruss-lib.c: Likewise.
2451 * sysdeps/csky/stackinfo.h: Likewise.
2452 * sysdeps/csky/sysdep.h: Likewise.
2453 * sysdeps/csky/tininess.h: Likewise.
2454 * sysdeps/csky/tst-audit.h: Likewise.
2455 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2456 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2457 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2458 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2459 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2460 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2461 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2462 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2463 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2464 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2465 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2466 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2467 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2468 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2469 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2470 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2471 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2472 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2473 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2474 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2475 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2476 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2479 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2480 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2481 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2482 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2485 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2486 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2487 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2488 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2489 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2490 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2491 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2492 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2493 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2494 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2495 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2496 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2497 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2498 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2500 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2502 * include/time.h (__difftime64): Add.
2503 * time/difftime.c (subtract): convert to 64-bit time.
2504 * time/difftime.c (__difftime64): Add.
2505 * time/difftime.c (__difftime): Wrap around __difftime64.
2507 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2509 * manual/examples/add.c: Remove redundant "if not".
2510 * manual/examples/argp-ex1.c: Likewise.
2511 * manual/examples/argp-ex2.c: Likewise.
2512 * manual/examples/argp-ex3.c: Likewise.
2513 * manual/examples/argp-ex4.c: Likewise.
2514 * manual/examples/atexit.c: Likewise.
2515 * manual/examples/db.c: Likewise.
2516 * manual/examples/dir.c: Likewise.
2517 * manual/examples/dir2.c: Likewise.
2518 * manual/examples/execinfo.c: Likewise.
2519 * manual/examples/filecli.c: Likewise.
2520 * manual/examples/filesrv.c: Likewise.
2521 * manual/examples/fmtmsgexpl.c: Likewise.
2522 * manual/examples/genpass.c: Likewise.
2523 * manual/examples/inetcli.c: Likewise.
2524 * manual/examples/inetsrv.c: Likewise.
2525 * manual/examples/isockad.c: Likewise.
2526 * manual/examples/longopt.c: Likewise.
2527 * manual/examples/memopen.c: Likewise.
2528 * manual/examples/memstrm.c: Likewise.
2529 * manual/examples/mkdirent.c: Likewise.
2530 * manual/examples/mkfsock.c: Likewise.
2531 * manual/examples/mkisock.c: Likewise.
2532 * manual/examples/mygetpass.c: Likewise.
2533 * manual/examples/pipe.c: Likewise.
2534 * manual/examples/popen.c: Likewise.
2535 * manual/examples/rprintf.c: Likewise.
2536 * manual/examples/search.c: Likewise.
2537 * manual/examples/select.c: Likewise.
2538 * manual/examples/setjmp.c: Likewise.
2539 * manual/examples/sigh1.c: Likewise.
2540 * manual/examples/sigusr.c: Likewise.
2541 * manual/examples/stpcpy.c: Likewise.
2542 * manual/examples/strdupa.c: Likewise.
2543 * manual/examples/strftim.c: Likewise.
2544 * manual/examples/subopt.c: Likewise.
2545 * manual/examples/swapcontext.c: Likewise.
2546 * manual/examples/termios.c: Likewise.
2547 * manual/examples/testopt.c: Likewise.
2548 * manual/examples/testpass.c: Likewise.
2549 * manual/examples/timeval_subtract.c: Likewise.
2551 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2553 * sysdeps/x86/fpu/math_private.h: New file.
2554 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2556 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2561 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2563 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2564 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2565 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2566 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2568 (_dl_show_auxv): Give a special treatment to
2569 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2570 and AT_L3_CACHEGEOMETRY.
2571 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2572 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2573 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2574 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2576 2018-12-19 Andreas Schwab <schwab@suse.de>
2578 * nscd/connections.c (check_use): Don't abort on invalid len.
2580 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2582 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2583 values in the 64bit value cases.
2585 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2591 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2597 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2600 (__gmtime64_r): Add.
2602 (__gmtime64_r): Add.
2603 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2609 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2612 (__localtime64_r): Add.
2614 (__localtime64_r): Add.
2615 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2617 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2619 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2620 kernel_sigction definition.
2622 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2624 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2626 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2627 __syscall_rt_sigaction.
2628 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2629 (kernel_sigaction): Use Linux generic defintion.
2631 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2632 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2633 (__syscall_rt_sigaction): Remove implementation.
2634 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2636 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2637 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2638 INTERNAL_SYSCALL): Remove definitions.
2639 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2640 action and signal set size.
2641 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2642 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2644 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2645 James Clarke <jrtc27@jrtc27.com>
2648 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2649 Define if SA_RESTORER is defined.
2650 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2651 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2653 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2654 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2656 (HAS_SA_RESTORER): Define.
2657 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2658 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2659 (HAS_SA_RESTORER): Define.
2660 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2661 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2662 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2663 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2666 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2668 * sysdeps/unix/sysv/linux/kernel-features.h
2669 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2671 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2672 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2673 (__ASSUME_ST_INO_64_BIT): Likewise.
2674 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2675 <kernel-features.h>.
2676 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2677 Remove conditional code.
2678 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2679 <kernel-features.h>.
2680 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2681 Remove conditional code.
2682 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2683 <kernel-features.h>.
2684 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2685 Remove conditional code.
2686 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2687 <kernel-features.h>.
2688 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2689 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2693 * sysdeps/s390/multiarch/ifunc-resolve.h
2694 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2695 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2696 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2697 Delete macro definition.
2698 (s390_libc_ifunc_init): Rename to
2699 s390_libc_ifunc_expr_stfle_init.
2700 * sysdeps/s390/bzero: Use
2701 s390_libc_ifunc_expr_stfle_init instead of
2702 s390_libc_ifunc_init.
2703 * sysdeps/s390/memcmp.c: Likewise.
2704 * sysdeps/s390/memcpy.c: Likewise.
2705 * sysdeps/s390/mempcpy.c: Likewise.
2706 * sysdeps/s390/memset.c: Likewise.
2708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2710 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2711 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2715 * sysdeps/s390/multiarch/Makefile
2716 (sysdep_routines): Remove wmemcmp variants.
2717 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2718 * sysdeps/s390/multiarch/ifunc-impl-list.c
2719 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2720 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2721 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2722 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2723 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2724 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2725 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2726 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2730 * sysdeps/s390/multiarch/Makefile
2731 (sysdep_routines): Remove wmemset variants.
2732 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2733 * sysdeps/s390/multiarch/ifunc-impl-list.c
2734 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2735 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2736 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2737 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2738 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2739 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2740 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2741 * sysdeps/s390/ifunc-wmemset.h: New file.
2743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2745 * sysdeps/s390/multiarch/Makefile
2746 (sysdep_routines): Remove wmemchr variants.
2747 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2748 * sysdeps/s390/multiarch/ifunc-impl-list.c
2749 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2750 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2751 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2752 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2753 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2754 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2755 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2756 * sysdeps/s390/ifunc-wmemchr.h: New file.
2758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2760 * sysdeps/s390/multiarch/Makefile
2761 (sysdep_routines): Remove wcscspn variants.
2762 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2763 * sysdeps/s390/multiarch/ifunc-impl-list.c
2764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2765 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2766 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2767 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2768 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2769 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2770 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2771 * sysdeps/s390/ifunc-wcscspn.h: New file.
2773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2775 * sysdeps/s390/multiarch/Makefile
2776 (sysdep_routines): Remove wcspbrk variants.
2777 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2778 * sysdeps/s390/multiarch/ifunc-impl-list.c
2779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2780 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2781 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2782 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2783 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2784 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2785 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2786 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2790 * sysdeps/s390/multiarch/Makefile
2791 (sysdep_routines): Remove wcsspn variants.
2792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2793 * sysdeps/s390/multiarch/ifunc-impl-list.c
2794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2795 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2796 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2797 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2798 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2799 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2800 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2801 * sysdeps/s390/ifunc-wcsspn.h: New file.
2803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2805 * sysdeps/s390/multiarch/Makefile
2806 (sysdep_routines): Remove wcsrchr variants.
2807 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2808 * sysdeps/s390/multiarch/ifunc-impl-list.c
2809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2810 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2811 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2812 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2813 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2814 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2815 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2816 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2820 * sysdeps/s390/multiarch/Makefile
2821 (sysdep_routines): Remove wcschrnul variants.
2822 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2823 * sysdeps/s390/multiarch/ifunc-impl-list.c
2824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2825 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2826 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2827 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2828 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2829 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2830 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2831 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2835 * sysdeps/s390/multiarch/Makefile
2836 (sysdep_routines): Remove wcschr variants.
2837 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2838 * sysdeps/s390/multiarch/ifunc-impl-list.c
2839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2840 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2841 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2842 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2843 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2844 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2845 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2846 * sysdeps/s390/ifunc-wcschr.h: New file.
2848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2850 * sysdeps/s390/multiarch/Makefile
2851 (sysdep_routines): Remove wcsncmp variants.
2852 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2853 * sysdeps/s390/multiarch/ifunc-impl-list.c
2854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2855 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2856 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2857 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2858 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2859 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2860 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2861 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2865 * sysdeps/s390/multiarch/Makefile
2866 (sysdep_routines): Remove wcscmp variants.
2867 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2868 * sysdeps/s390/multiarch/ifunc-impl-list.c
2869 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2870 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2871 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2872 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2873 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2874 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2875 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2876 * sysdeps/s390/ifunc-wcscmp.h: New file.
2878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2880 * sysdeps/s390/multiarch/Makefile
2881 (sysdep_routines): Remove wcsncat variants.
2882 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2883 * sysdeps/s390/multiarch/ifunc-impl-list.c
2884 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2885 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2886 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2887 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2888 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2889 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2890 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2891 * sysdeps/s390/ifunc-wcsncat.h: New file.
2893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2895 * sysdeps/s390/multiarch/Makefile
2896 (sysdep_routines): Remove wcscat variants.
2897 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2898 * sysdeps/s390/multiarch/ifunc-impl-list.c
2899 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2900 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2901 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2902 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2903 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2904 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2905 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2906 * sysdeps/s390/ifunc-wcscat.h: New file.
2908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2910 * sysdeps/s390/multiarch/Makefile
2911 (sysdep_routines): Remove wcpncpy variants.
2912 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2913 * sysdeps/s390/multiarch/ifunc-impl-list.c
2914 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2915 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2916 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2917 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2918 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2919 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2920 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2921 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2923 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2925 * sysdeps/s390/multiarch/Makefile
2926 (sysdep_routines): Remove wcsncpy variants.
2927 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2928 * sysdeps/s390/multiarch/ifunc-impl-list.c
2929 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2930 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2931 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2932 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2933 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2934 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2935 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2936 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2940 * sysdeps/s390/multiarch/Makefile
2941 (sysdep_routines): Remove wcpcpy variants.
2942 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2943 * sysdeps/s390/multiarch/ifunc-impl-list.c
2944 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2945 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2946 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2947 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2948 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2949 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2950 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2951 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2955 * sysdeps/s390/multiarch/Makefile
2956 (sysdep_routines): Remove wcscpy variants.
2957 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2958 * sysdeps/s390/multiarch/ifunc-impl-list.c
2959 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2960 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2961 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2962 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2963 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2964 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2965 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2966 * sysdeps/s390/ifunc-wcscpy.h: New file.
2968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2970 * sysdeps/s390/multiarch/Makefile
2971 (sysdep_routines): Remove wcsnlen variants.
2972 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2973 * sysdeps/s390/multiarch/ifunc-impl-list.c
2974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2975 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2976 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2977 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2978 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2979 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2980 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2981 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2985 * sysdeps/s390/multiarch/Makefile
2986 (sysdep_routines): Remove wcslen variants.
2987 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2988 * sysdeps/s390/multiarch/ifunc-impl-list.c
2989 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2990 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2991 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2992 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2993 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2994 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2995 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2996 * sysdeps/s390/ifunc-wcslen.h: New file.
2998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3000 * sysdeps/s390/multiarch/Makefile
3001 (sysdep_routines): Remove memrchr variants.
3002 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3003 * sysdeps/s390/multiarch/ifunc-impl-list.c
3004 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3005 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3006 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3007 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3008 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3009 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3010 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3011 * sysdeps/s390/ifunc-memrchr.h: New file.
3013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3015 * sysdeps/s390/multiarch/Makefile
3016 (sysdep_routines): Remove memccpy variants.
3017 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3018 * sysdeps/s390/multiarch/ifunc-impl-list.c
3019 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3020 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3021 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3022 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3023 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3024 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3025 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3026 * sysdeps/s390/ifunc-memccpy.h: New file.
3028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3030 * sysdeps/s390/multiarch/Makefile
3031 (sysdep_routines): Remove rawmemchr variants.
3032 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3033 * sysdeps/s390/multiarch/ifunc-impl-list.c
3034 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3035 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3036 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3037 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3038 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3039 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3040 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3041 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3043 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3045 * sysdeps/s390/multiarch/Makefile
3046 (sysdep_routines): Remove memchr variants.
3047 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3048 * sysdeps/s390/multiarch/ifunc-impl-list.c
3049 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3050 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3051 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3052 * sysdeps/s390/multiarch/memchr.c: Move to ...
3053 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3054 * sysdeps/s390/ifunc-memchr.h: New file.
3055 * sysdeps/s390/s390-64/memchr.S: Move to ...
3056 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3057 for 31/64bit and ifunc handling.
3058 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3059 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3060 * sysdeps/s390/s390-32/memchr.S: Likewise.
3062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3064 * sysdeps/s390/multiarch/Makefile
3065 (sysdep_routines): Remove strcspn variants.
3066 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3067 * sysdeps/s390/multiarch/ifunc-impl-list.c
3068 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3069 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3070 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3071 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3072 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3073 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3074 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3075 * sysdeps/s390/ifunc-strcspn.h: New file.
3077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3079 * sysdeps/s390/multiarch/Makefile
3080 (sysdep_routines): Remove strpbrk variants.
3081 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3082 * sysdeps/s390/multiarch/ifunc-impl-list.c
3083 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3084 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3085 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3086 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3087 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3088 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3089 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3090 * sysdeps/s390/ifunc-strpbrk.h: New file.
3092 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3094 * sysdeps/s390/multiarch/Makefile
3095 (sysdep_routines): Remove strspn variants.
3096 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3097 * sysdeps/s390/multiarch/ifunc-impl-list.c
3098 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3099 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3100 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3101 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3102 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3103 * sysdeps/s390/multiarch/strspn.c: Move to ...
3104 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3105 * sysdeps/s390/ifunc-strspn.h: New file.
3107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3109 * sysdeps/s390/multiarch/Makefile
3110 (sysdep_routines): Remove strrchr variants.
3111 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3112 * sysdeps/s390/multiarch/ifunc-impl-list.c
3113 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3114 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3115 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3116 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3117 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3118 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3119 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3120 * sysdeps/s390/ifunc-strrchr.h: New file.
3122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3124 * sysdeps/s390/multiarch/Makefile
3125 (sysdep_routines): Remove strchrnul variants.
3126 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3127 * sysdeps/s390/multiarch/ifunc-impl-list.c
3128 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3129 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3130 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3131 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3132 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3133 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3134 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3135 * sysdeps/s390/ifunc-strchrnul.h: New file.
3137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3139 * sysdeps/s390/multiarch/Makefile
3140 (sysdep_routines): Remove strchr variants.
3141 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3142 * sysdeps/s390/multiarch/ifunc-impl-list.c
3143 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3144 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3145 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3146 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3147 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3148 * sysdeps/s390/multiarch/strchr.c: Move to ...
3149 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3150 * sysdeps/s390/ifunc-strchr.h: New file.
3152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3154 * sysdeps/s390/multiarch/Makefile
3155 (sysdep_routines): Remove strncmp variants.
3156 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3157 * sysdeps/s390/multiarch/ifunc-impl-list.c
3158 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3159 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3160 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3161 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3162 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3163 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3164 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3165 * sysdeps/s390/ifunc-strncmp.h: New file.
3167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3169 * sysdeps/s390/multiarch/Makefile
3170 (sysdep_routines): Remove strcmp variants.
3171 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3172 * sysdeps/s390/multiarch/ifunc-impl-list.c
3173 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3174 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3175 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3176 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3177 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3178 * sysdeps/s390/ifunc-strcmp.h: New file.
3179 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3180 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3181 for 31/64bit and ifunc handling.
3182 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3183 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3184 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3188 * sysdeps/s390/multiarch/Makefile
3189 (sysdep_routines): Remove strncat variants.
3190 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3191 * sysdeps/s390/multiarch/ifunc-impl-list.c
3192 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3193 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3194 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3195 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3196 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3197 * sysdeps/s390/multiarch/strncat.c: Move to ...
3198 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3199 * sysdeps/s390/ifunc-strncat.h: New file.
3201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3203 * sysdeps/s390/multiarch/Makefile
3204 (sysdep_routines): Remove strcat variants.
3205 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3206 * sysdeps/s390/multiarch/ifunc-impl-list.c
3207 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3208 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3209 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3210 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3211 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3212 * sysdeps/s390/multiarch/strcat.c: Move to ...
3213 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3214 * sysdeps/s390/ifunc-strcat.h: New file.
3216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3218 * sysdeps/s390/multiarch/Makefile
3219 (sysdep_routines): Remove stpncpy variants.
3220 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3221 * sysdeps/s390/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3223 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3224 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3225 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3226 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3227 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3228 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3229 * sysdeps/s390/ifunc-stpncpy.h: New file.
3231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3233 * sysdeps/s390/multiarch/Makefile
3234 (sysdep_routines): Remove strncpy variants.
3235 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3236 * sysdeps/s390/multiarch/ifunc-impl-list.c
3237 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3238 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3239 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3240 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3241 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3242 * sysdeps/s390/ifunc-strncpy.h: New file.
3243 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3244 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3245 and adjust ifunc handling.
3246 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3247 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3248 and adjust ifunc handling.
3249 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3250 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3254 * sysdeps/s390/multiarch/Makefile
3255 (sysdep_routines): Remove stpcpy variants.
3256 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3257 * sysdeps/s390/multiarch/ifunc-impl-list.c
3258 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3259 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3260 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3261 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3262 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3263 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3264 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3265 * sysdeps/s390/ifunc-stpcpy.h: New file.
3267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3269 * sysdeps/s390/multiarch/Makefile
3270 (sysdep_routines): Remove strcpy variants.
3271 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3272 * sysdeps/s390/multiarch/ifunc-impl-list.c
3273 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3274 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3275 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3276 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3277 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3278 * sysdeps/s390/ifunc-strcpy.h: New file.
3279 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3280 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3281 for 31/64bit and ifunc handling.
3282 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3283 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3284 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3288 * sysdeps/s390/multiarch/Makefile
3289 (sysdep_routines): Remove strnlen variants.
3290 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3293 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3294 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3295 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3296 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3297 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3298 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/ifunc-strnlen.h: New file.
3301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3303 * sysdeps/s390/multiarch/Makefile
3304 (sysdep_routines): Remove strlen variants.
3305 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3306 * sysdeps/s390/multiarch/ifunc-impl-list.c
3307 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3308 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3309 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3310 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3311 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3312 * sysdeps/s390/multiarch/strlen.c: Move to ...
3313 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3314 * sysdeps/s390/ifunc-strlen.h: New file.
3316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3318 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3319 * sysdeps/s390/multiarch/ifunc-impl-list.c
3320 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3321 * sysdeps/s390/ifunc-memmem.h: New file.
3322 * sysdeps/s390/memmem.c: Likewise.
3323 * sysdeps/s390/memmem-c.c: Likewise.
3324 * sysdeps/s390/memmem-vx.c: Likewise.
3326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3328 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3329 * sysdeps/s390/multiarch/ifunc-impl-list.c
3330 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3331 * sysdeps/s390/ifunc-strstr.h: New file.
3332 * sysdeps/s390/strstr.c: Likewise.
3333 * sysdeps/s390/strstr-c.c: Likewise.
3334 * sysdeps/s390/strstr-vx.c: Likewise.
3336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3338 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3339 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3340 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3341 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3343 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3344 * sysdeps/s390/memmove-c.c: New file.
3345 * sysdeps/s390/memmove.c: Likewise.
3346 * sysdeps/s390/multiarch/ifunc-impl-list.c
3347 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3351 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3352 * sysdeps/s390/configure.ac: Add check for z13 support.
3353 * sysdeps/s390/configure: Regenerated.
3355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3357 * sysdeps/s390/memcopy.h: New file.
3359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3361 * sysdeps/s390/s390-32/bcopy.S: Remove.
3362 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3366 * sysdeps/s390/ifunc-memcpy.h: New File.
3367 * sysdeps/s390/memcpy.S: Move to ...
3368 * sysdeps/s390/memcpy-z900.S ... here.
3369 Move implementations from memcpy-s390x.s to here.
3370 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3371 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3372 Remove memcpy/mempcpy variants.
3373 * sysdeps/s390/Makefile (sysdep_routines):
3374 Add memcpy/mempcpy variants.
3375 * sysdeps/s390/multiarch/ifunc-impl-list.c
3376 (__libc_ifunc_impl_list): Adjust ifunc variants for
3378 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3380 * sysdeps/s390/memcpy.c: ... here.
3381 Adjust ifunc variants for memcpy.
3382 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3383 * sysdeps/s390/mempcpy.c: ... here.
3384 Adjust ifunc variants for mempcpy.
3385 * sysdeps/s390/mempcpy.S: Delete file.
3387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3389 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3390 * sysdeps/s390/memcpy.S: ... here.
3391 Adjust to be usable for 31/64bit.
3392 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3393 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3394 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3395 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3396 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3397 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3398 Adjust to be usable for 31/64bit.
3399 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3400 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3401 * sysdeps/s390/multiarch/memcpy.c: ... here.
3402 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3404 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3406 * sysdeps/s390/ifunc-memcmp.h: New File.
3407 * sysdeps/s390/memcmp.S: Move to ...
3408 * sysdeps/s390/memcmp-z900.S ... here.
3409 Move implementations from memcmp-s390x.s to here.
3410 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3411 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3412 Remove memcmp variants.
3413 * sysdeps/s390/Makefile (sysdep_routines):
3414 Add memcmp variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Adjust ifunc variants for
3418 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3420 * sysdeps/s390/memcmp.c: ... here.
3421 Adjust ifunc variants for memcmp.
3423 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3425 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3426 * sysdeps/s390/memcmp.S: ... here.
3427 Adjust to be usable for 31/64bit.
3428 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3429 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3430 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3432 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3433 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3434 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3435 Adjust to be usable for 31/64bit.
3436 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3437 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3438 * sysdeps/s390/multiarch/memcmp.c: ... here.
3439 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3443 * sysdeps/s390/s390-32/bzero.S: Delete file.
3444 * sysdeps/s390/s390-64/bzero.S: Likewise.
3445 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3446 * sysdeps/s390/bzero.c: New file.
3447 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3448 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3449 * sysdeps/s390/multiarch/ifunc-impl-list.c
3450 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3454 * sysdeps/s390/ifunc-memset.h: New File.
3455 * sysdeps/s390/memset.S: Move to ...
3456 * sysdeps/s390/memset-z900.S ... here.
3457 Move implementations from memset-s390x.s to here.
3458 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3459 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3460 Remove memset variants.
3461 * sysdeps/s390/Makefile (sysdep_routines):
3462 Add memset variants.
3463 * sysdeps/s390/multiarch/ifunc-impl-list.c
3464 (__libc_ifunc_impl_list): Adjust ifunc variants for
3466 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3468 * sysdeps/s390/memset.c: ... here.
3469 Adjust ifunc variants for memset.
3471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3473 * sysdeps/s390/s390-64/memset.S: Move to ...
3474 * sysdeps/s390/memset.S: ... here.
3475 Adjust to be usable for 31/64bit.
3476 * sysdeps/s390/s390-32/memset.S: Delete File.
3477 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3478 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3480 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3481 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3482 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3483 Adjust to be usable for 31/64bit.
3484 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3485 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3486 * sysdeps/s390/multiarch/memset.c: ... here.
3487 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3491 * sysdeps/s390/multiarch/ifunc-resolve.h
3492 (s390_libc_ifunc_init, s390_libc_ifunc,
3493 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3497 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3498 * sysdeps/s390/configure.ac: Add check for z10 support.
3499 * sysdeps/s390/configure: Regenerated.
3501 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3503 * sysdeps/i386/atomic-machine.h: Merged with ...
3504 * sysdeps/x86_64/atomic-machine.h: To ...
3505 * sysdeps/x86/atomic-machine.h: This. New file.
3507 2018-12-18 Florian Weimer <fweimer@redhat.com>
3509 Rewrite locale/gen-translit.pl in Python.
3510 * locale/Makefile (generated): Add C-translit.h.
3511 (before-compile): Add $(objpfx)C-translit.h.
3512 (C-translit.h): Move to $(objpfx). Create target directory.
3513 Build using Python script.
3514 * locale/gen-translit.py: New file.
3515 * locale/gen-translit.pl: Remove file.
3516 * locale/C-translit.h.in: Change comment character to '#' for
3517 easier parsing without a C preprocessor.
3518 * locale/C-translit.h: Remove generated file.
3519 * manual/install.texi (Tools for Compilation): Do not mention
3521 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3522 Remove locale/C-translit.h.
3523 * scripts/update-copyrights: Likewise.
3524 * INSTALL: Regenerate.
3526 2018-12-18 Florian Weimer <fweimer@redhat.com>
3529 * localedata/locales/bi_VU: Remove executable bit from file.
3531 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3534 (__localtime64): Add.
3535 * manual/maint.texi: Document Y2038 symbol handling.
3537 (__localtime64): Add.
3538 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3540 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3542 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3545 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3546 to allow extra macros from first or second sources.
3547 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3548 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3549 (tests-special): Add $(objpfx)tst-mman-consts.out.
3550 ($(objpfx)tst-mman-consts.out): New makefile target.
3552 2018-12-17 Mao Han <han_mao@c-sky.com>
3554 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3555 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3556 without stat64 system call support.
3557 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3558 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3559 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3560 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3561 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3562 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3563 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3564 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3565 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3566 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3567 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3569 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3571 regex: fix storage-exhaustion error
3573 * posix/regexec.c (get_subexp):
3574 Do not continue if storage is exhausted.
3576 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3578 regex: fix heap-use-after-free error
3580 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3581 https://debbugs.gnu.org/32592
3582 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3583 call extend_buffers which reallocates the re_string_t internal buffer.
3584 Local variable 'buf' was not updated in such case, resulting in
3586 * posix/regexec.c (get_subexp): Update 'buf' after call to
3589 2018-12-15 Florian Weimer <fweimer@redhat.com>
3591 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3592 (minimum_stride_size): Use it.
3593 (support_blob_repeat_allocate): Likewise.
3595 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3602 2018-12-14 Florian Weimer <fweimer@redhat.com>
3604 * manual/process.texi (Process Creation Concepts): Remove
3605 documentation of process (ID) lifetime. List more process
3606 creation functions. Reference Process Identification section.
3607 (Process Identification): Add information about process ID
3608 lifetime. Describe Linux thread/task IDs.
3609 * manual/signal.texi (Signaling Another Process): Mention that the
3610 signal is always sent to the process.
3612 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3614 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3615 and tst-ldbl-efgcvt.
3616 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3617 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3618 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3619 (fcvt_tests, output_error, output_r_error, do_test): Use the
3620 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3621 select the type of floating-point variables and arguments; to
3622 produce extra tests for double and conversion specifiers for
3623 printf; and to set the names of called functions.
3624 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3625 in tst-efgcvt-template.c.
3626 * misc/tst-ldbl-efgcvt.c: Likewise.
3628 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3630 * nss/Makefile (tst-nss-test3.out): New rule.
3632 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3634 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3637 2018-12-13 fanjinke <fanjinke@hygon.cn>
3639 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3642 2018-12-13 Andreas Schwab <schwab@suse.de>
3645 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3646 (__pthread_rwlock_rdlock_full): Update expected value for
3647 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3648 * nptl/tst-rwlock-pwn.c: New file.
3649 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3651 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3653 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3656 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3658 * benchtests/scripts/compare_bench.py (do_compare): write to
3659 stderr in casestat is not present.
3660 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3661 stderr in case timings field is not present. Also string showing
3662 the output filename goes into the stderr.
3664 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3666 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3667 and ZeroDivisorError exceptions.
3668 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3669 argument to loop through user provided statistics.
3670 * benchtests/scripts/compare_bench.py (main): Include the --stats
3673 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3675 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3678 2018-12-12 Florian Weimer <fweimer@redhat.com>
3680 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3681 clause to copyright header.
3683 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3686 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3687 registers saved in the stack frame.
3688 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3689 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3691 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3693 * include/bits/monetary-ldbl.h: New file.
3694 * include/bits/printf-ldbl.h: Likewise.
3695 * include/bits/stdio-ldbl.h: Likewise.
3696 * include/bits/stdlib-ldbl.h: Likewise.
3697 * include/bits/syslog-ldbl.h: Likewise.
3698 * include/bits/wchar-ldbl.h: Likewise.
3700 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3702 * libio/libio.h: Remove redirection for _IO_vfprintf.
3704 2018-12-11 Andreas Schwab <schwab@suse.de>
3706 * Makerules: Remove all references to abilist-pattern.
3707 (update-all-abi): Simplify find expression.
3709 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3712 * math/auto-libm-test-in: Add new test case.
3713 * math/auto-libm-test-out-pow: Regenerated.
3714 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3716 2018-12-10 DJ Delorie <dj@redhat.com>
3719 * support/test-container.c: Move postclean step to before we
3722 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3724 * scripts/gen-as-const.py (main): Handle --python option.
3725 * scripts/gen-py-const.awk: Remove.
3726 * Makerules (py-const-script): Use gen-as-const.py.
3727 ($(py-const)): Likewise.
3728 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3729 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3730 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3731 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3732 ~PTHREAD_MUTEX_NO_ELISION_NP.
3733 * manual/README.pretty-printers: Update reference to
3736 * scripts/glibcextract.py: New file.
3737 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3738 or tempfile. Import glibcexctract.
3739 (compute_c_consts): Remove. Moved to glibcextract.py.
3740 (gen_test): Update reference to compute_c_consts.
3742 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3743 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3744 * sysdeps/unix/sysv/linux/Makefile
3745 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3746 Redirect stderr as well as stdout.
3748 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3751 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3752 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3753 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3754 ALWAYS_USE_VSYSCALL.
3755 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3756 ALWAYS_USE_VSYSCALL.
3757 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3758 ALWAYS_USE_VSYSCALL.
3760 2018-12-10 Florian Weimer <fweimer@redhat.com>
3763 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3764 offset instead of count for clarity. Fix typo in comment.
3765 (__old_getdents64): Keep track of previous offset. Use it to call
3767 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3768 that d_off is never zero.
3770 2018-12-10 Andreas Schwab <schwab@suse.de>
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3773 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3775 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3776 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3778 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3780 * timezone/private.h: Update from tzcode 2018g.
3781 * timezone/tzfile.h: Likewise.
3782 * timezone/tzselect.ksh: Likewise.
3783 * timezone/zdump.c: Likewise.
3784 * timezone/zic.c: Likewise.
3786 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3789 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3790 (do_test): Adjust buffer size and fix format.
3792 2018-12-07 DJ Delorie <dj@redhat.com>
3795 * malloc/tst-tcfree3.c: New.
3796 * malloc/Makefile: Add it.
3798 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3800 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3802 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3804 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3805 used as a mask for the mode argument of __vfscanf_internal and
3806 __vfwscanf_internal.
3807 * stdio-common/vfscanf-internal.c
3808 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3809 (__strtof128_internal): Define to __wcstof128_internal.
3810 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3811 __strtof128_internal or __wcstof128_internal when the format of
3812 long double is the same as _Float128.
3814 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3816 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3817 * posix/confstr.c (confstr): Rename to __confstr.
3818 (__confstr): Add hidden def.
3819 (confstr): Add weak alias for __confstr.
3820 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3823 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3825 * NEWS: Mention getcpu.
3826 * include/sched.h (__getcpu): New libc_hidden_proto.
3827 * manual/resource.texi: Document getcpu.
3828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3829 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3831 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3835 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3836 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3839 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3842 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3853 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3854 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3855 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3856 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3862 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3863 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3866 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3868 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3870 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3872 2018-12-07 Florian Weimer <fweimer@redhat.com>
3875 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3876 * posix/Versions (GLIBC_2.29): Export
3877 posix_spawn_file_actions_addfchdir_np.
3878 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3879 * posix/spawn_faction_destroy.c
3880 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3881 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3882 and the field action.fchdir_action.
3883 * posix/tst-spawn-chdir.c (add_chdir): New function.
3884 (do_test): Add do_fchdir loop. Call add_chdir.
3885 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3886 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3887 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3888 posix_spawn_file_actions_addfchdir_np.
3889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3891 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3893 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3894 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3896 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3898 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3902 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3904 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3907 (GLIBC_2.29): Likewise.
3908 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3909 (GLIBC_2.29): Likewise.
3910 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3911 (GLIBC_2.29): Likewise.
3912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3913 (GLIBC_2.29): Likewise.
3914 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3917 (GLIBC_2.29): Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3919 (GLIBC_2.29): Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3921 (GLIBC_2.29): Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3923 (GLIBC_2.29): Likewise.
3924 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3926 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3928 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3930 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3931 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3933 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3937 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3940 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3942 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3943 trailing whitespace removed.
3944 * scripts/config.guess: Update to version 2018-11-28.
3945 * scripts/config.sub: Update to version 2018-11-28.
3946 * scripts/install-sh: Update to version 2018-03-11.20.
3947 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3948 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3950 2018-12-07 Florian Weimer <fweimer@redhat.com>
3954 * inet/tst-if_index-long.c: New file.
3955 * inet/Makefile (tests): Add tst-if_index-long.
3957 2018-12-07 Florian Weimer <fweimer@redhat.com>
3959 * support/check.h (support_record_failure_is_failed): Declare.
3960 * support/descriptors.h: New file.
3961 * support/support_descriptors.c: Likewise.
3962 * support/tst-support_descriptors.c: Likewise.
3963 * support/support_record_failure.c
3964 (support_record_failure_is_failed): New function.
3965 * support/Makefile (libsupport-routines): Add support_descriptors.
3966 (tests): Add tst-support_descriptors.
3968 2018-12-05 Zack Weinberg <zackw@panix.com>
3969 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3971 * stdio-common/vfprintf-internal.c
3972 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3973 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3975 and __no_long_double.
3976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3977 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3978 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3979 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3980 and __nldbl_*syslog* functions.
3981 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3982 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3983 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3984 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3985 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3986 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3987 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3988 (__nldbl_vwprintf, __nldbl_wprintf):
3989 Directly call the appropriate __v*printf_internal routine, passing
3990 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3992 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3993 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3994 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3995 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3996 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3997 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3998 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3999 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4000 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4001 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4002 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4003 (__nldbl_syslog, __nldbl_vsyslog):
4004 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4005 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4007 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4010 2018-12-05 Zack Weinberg <zackw@panix.com>
4011 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4014 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4015 Moved here from debug/vsprintf_chk.c.
4016 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4017 and completion logic for the strfile to match exactly what
4018 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4019 _IO_str_init_static_internal instead of maxlen-1.
4020 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4021 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4022 __vsprintf_internal.
4024 * debug/vsprintf_chk.c (__vsprintf_chk)
4025 * debug/sprintf_chk.c (__sprintf_chk):
4026 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4027 'flags' argument is positive, and slen as maxlen. No need to lock
4028 the FILE and/or construct a temporary FILE. Minimize and normalize
4029 header inclusions and variable names. Do not libc_hidden_def anything.
4031 * debug/asprintf_chk.c (__asprintf_chk)
4032 * debug/dprintf_chk.c (__dprintf_chk)
4033 * debug/fprintf_chk.c (__fprintf_chk)
4034 * debug/fwprintf_chk.c (__fwprintf_chk)
4035 * debug/printf_chk.c (__printf_chk)
4036 * debug/snprintf_chk.c (__snprintf_chk)
4037 * debug/swprintf_chk.c (__swprintf_chk)
4038 * debug/vasprintf_chk.c (__vasprintf_chk)
4039 * debug/vdprintf_chk.c (__vdprintf_chk)
4040 * debug/vfprintf_chk.c (__vfprintf_chk)
4041 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4042 * debug/vprintf_chk.c (__vprintf_chk)
4043 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4044 * debug/vswprintf_chk.c (__vswprintf_chk)
4045 * debug/vwprintf_chk.c (__vwprintf_chk)
4046 * debug/wprintf_chk.c (__wprintf_chk):
4047 Directly call the corresponding vxxprintf_internal function, passing
4048 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4049 the FILE and/or construct a temporary FILE. Minimize and normalize
4050 header inclusions and variable names. Do not libc_hidden_def anything.
4052 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4053 __obstack_vprintf_internal.
4054 (__obstack_vprintf_chk): Convert into a wrapper that calls
4055 __obstack_vprintf_internal (these two functions already had the
4056 same code) and move to new file...
4057 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4059 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4060 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4061 * debug/Makefile (routines): Add vobprintf_chk.
4063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4064 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4065 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4066 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4067 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4068 (__nldbl___obstack_vfprintf_chk):
4069 Directly call the corresponding vxxprintf_internal function,
4070 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4071 duplicate comparison of slen with 0 or maxlen from the corresponding
4072 non-__nldbl function.
4074 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4075 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4076 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4077 Remove libc_hidden_proto.
4079 * stdio-common/vfprintf-internal.c
4080 (__vfprintf_internal, __vfwprintf_internal):
4081 Do not check _IO_FLAGS2_FORTIFY.
4082 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4083 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4084 a comment explaining why it has the maxlen argument.
4085 (_IO_acquire_lock_clear_flags2_fct): Remove.
4086 (_IO_acquire_lock_clear_flags2): Remove.
4087 (_IO_release_lock): Remove conditional statement which will
4089 (_IO_acquire_lock): Remove variable which is now unused.
4090 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4091 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4093 * stdio-common/Makefile (tests): Add tst-bz11319 and
4094 tst-bz11319-fortify2.
4095 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4096 * stdio-common/tst-bz11319-fortify2.c: New file.
4097 * stdio-common/tst-bz11319.c: Likewise.
4099 2018-12-05 Zack Weinberg <zackw@panix.com>
4100 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4102 * misc/syslog.c: Include libioP.h, not iolibio.h.
4103 (__vsyslog_internal): New function with the former body of
4104 __vsyslog_chk; takes mode_flags argument same as
4105 __v*printf_internal. Call __vfprintf_internal directly.
4107 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4108 Remove libc_hidden_def.
4109 (__syslog, __syslog_chk): Use __vsyslog_internal.
4110 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4112 * include/sys/syslog.h: Add multiple inclusion guard.
4113 Add prototype for __vsyslog_internal.
4114 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4117 Use __vsyslog_internal.
4119 2018-12-05 Zack Weinberg <zackw@panix.com>
4120 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4122 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4123 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4124 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4126 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4127 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4129 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4130 Include wctype.h here if COMPILE_WPRINTF is defined.
4131 Define __vfprintf_internal or __vfwprintf_internal, depending
4133 Temporarily, on entry to this function, update mode_flags
4134 according to the environmental settings corresponding to
4135 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4136 Throughout, check mode_flags instead of __ldbl_is_dbl and
4137 _IO_FLAGS2_FORTIFY on the destination FILE.
4138 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4139 Include vfprintf-internal.c. Don't include wctype.h.
4140 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4141 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4143 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4144 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4146 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4148 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4149 and add mode_flags argument; use __vfprintf_internal.
4150 (__vdprintf): New function. Alias vdprintf to this.
4151 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4152 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4153 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4154 (__obstack_printf): Use __obstack_printf_internal.
4155 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4156 public aliases __vsnprintf and vsnprintf.
4157 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4159 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4160 public aliases _IO_vsprintf and vsprintf.
4161 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4162 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4163 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4164 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4165 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4167 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4168 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4169 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4170 * stdio-common/printf.c: Use __vfprintf_internal.
4172 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4173 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4174 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4176 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4177 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4178 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4179 __vfwprintf_internal.
4181 * libio/libio.h: Remove libc_hidden_proto and declaration for
4183 Remove declaration of _IO_vfwprintf.
4184 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4186 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4188 * include/stdio.h: Add prototype for __vasprintf.
4189 (__vsnprintf): Remove declaration, because there are no more
4191 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4192 declaration, because there are no more internal calls.
4194 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4195 __vsnprintf_internal, instead of _IO_vsnprintf.
4196 * argp/argp-help.c (__argp_error, __argp_failure): Use
4197 __vasprintf_internal, instead of _IO_vasprintf.
4198 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4199 redefine, because there are no more internal calls.
4201 2018-12-05 Zack Weinberg <zackw@panix.com>
4202 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4204 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4205 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4206 Include libio/strfile.h instead of libioP.h.
4207 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4208 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4209 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4210 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4211 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4212 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4213 necessary. Do not set __no_long_double. Normalize variable names.
4214 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4215 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4216 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4217 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4218 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4219 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4220 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4221 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4222 Do not set __no_long_double. Normalize variable names.
4224 2018-12-05 Zack Weinberg <zackw@panix.com>
4225 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4227 * stdio-common/isoc99_scanf.c
4228 * stdio-common/isoc99_fscanf.c
4229 * stdio-common/isoc99_sscanf.c
4230 * stdio-common/isoc99_vscanf.c
4231 * stdio-common/isoc99_vfscanf.c
4232 * stdio-common/isoc99_vsscanf.c
4233 * wcsmbs/isoc99_wscanf.c
4234 * wcsmbs/isoc99_fwscanf.c
4235 * wcsmbs/isoc99_swscanf.c
4236 * wcsmbs/isoc99_vwscanf.c
4237 * wcsmbs/isoc99_vfwscanf.c
4238 * wcsmbs/isoc99_vswscanf.c:
4239 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4240 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4241 No need to lock and unlock the FILE passed to that function.
4243 * stdio-common/vfscanf-internal.c
4244 (__vfscanf_internal, __vfwscanf_internal):
4245 Don't look at _IO_FLAGS2_SCANF_STD.
4246 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4247 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4248 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4250 2018-12-05 Zack Weinberg <zackw@panix.com>
4251 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4253 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4254 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4255 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4256 * libio/strfile.h: Add multiple inclusion guard.
4257 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4259 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4260 consistency with the other version of this file.
4261 (ldbl_compat_symbol): New macro.
4262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4265 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4266 Define __vfscanf_internal or __vfwscanf_internal, depending on
4267 COMPILE_WSCANF; don't define any other public symbols.
4268 Remove errval and code to set errp.
4269 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4270 as the mode_flags argument.
4271 (encode_error, conv_error, input_error): Don't set errval.
4272 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4273 Include vfscanf-internal.c.
4274 * stdio-common/vfscanf.c: New file defining the public entry
4275 point vfscanf, which calls __vfscanf_internal.
4276 * stdio-common/vfwscanf.c: New file defining the public entry
4277 point vfwscanf, which calls __vfwscanf_internal.
4279 * stdio-common/iovfscanf.c: New file.
4280 * stdio-common/iovfwscanf.c: Likewise.
4282 * stdio-common/Makefile (routines): Add vfscanf-internal,
4283 vfwscanf-internal, iovfscanf, iovfwscanf.
4284 * stdio-common/Versions: Mention GLIBC_2.29, so that
4285 it can be used in SHLIB_COMPAT expressions.
4286 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4287 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4288 Call __vfscanf_internal, instead of _IO_vfscanf.
4289 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4291 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4294 * libio/iovsscanf.c: Clean up includes, when possible. Use
4295 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4296 __vfscanf_internal or __vfwscanf_internal directly.
4297 * libio/iovswscanf.c: Likewise.
4298 * libio/swscanf.c: Likewise.
4299 * libio/vscanf.c: Likewise.
4300 * libio/vwscanf.c: Likewise.
4301 * libio/wscanf.c: Likewise.
4302 * stdio-common/isoc99_fscanf.c: Likewise.
4303 * stdio-common/isoc99_scanf.c: Likewise.
4304 * stdio-common/isoc99_sscanf.c: Likewise.
4305 * stdio-common/isoc99_vfscanf.c: Likewise.
4306 * stdio-common/isoc99_vscanf.c: Likewise.
4307 * stdio-common/isoc99_vsscanf.c: Likewise.
4308 * stdio-common/scanf.c: Likewise.
4309 * stdio-common/sscanf.c: Likewise.
4310 * wcsmbs/isoc99_fwscanf.c: Likewise.
4311 * wcsmbs/isoc99_swscanf.c: Likewise.
4312 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4313 * wcsmbs/isoc99_vswscanf.c: Likewise.
4314 * wcsmbs/isoc99_vwscanf.c: Likewise.
4315 * wcsmbs/isoc99_wscanf.c: Likewise.
4317 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4320 (__tz_compute): Replace time_t with __time64_t.
4321 (__tz_convert): Replace time_t* with __time64_t.
4322 (__offtime): Replace time_t* with __time64_t.
4324 (__gmtime_r): Adjust call to __tz_convert.
4327 (__localtime_r): Likewise.
4328 (localtime): Likewise.
4329 * time/offtime.c: Replace time_t with __time64_t.
4330 * time/tzset.c: Likewise.
4332 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4334 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4335 dynamic linker unless [$(run-built-tests) = yes].
4337 2018-12-03 DJ Delorie <dj@delorie.com>
4339 * support/test-container.c (check_for_unshare_hints): New.
4340 (main): Call it if unshare fails. Add support for "su" scriptlet
4343 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4345 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4346 'START' to indicate that start text should be output.
4347 (gen_test): Likewise.
4348 (main): Generate 'START' for first symbol or '--' line, or at end
4349 of input if not previously generated.
4351 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4354 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4355 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4356 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4357 ALWAYS_USE_VSYSCALL.
4359 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4362 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4365 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4368 * locale/programs/localedef.c: Declare boolean hard_links default true.
4369 (options): Add --no-hard-links option.
4370 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4371 * locale/programs/localedef.h: Declare prototype for hard_links.
4372 * locale/programs/locfile.c (write_locale_data): Don't use hard
4373 links if hard_links is false.
4375 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4377 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4379 (__cache_sysconf): Likewise.
4380 (init_cacheinfo): Likewise.
4381 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4382 populate COMMON_CPUID_INDEX_80000007 and
4383 COMMON_CPUID_INDEX_80000008.
4384 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4385 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4386 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4387 (init_cpu_features): Use _Static_assert on
4388 index_arch_Fast_Unaligned_Load.
4389 __get_cpuid_registers and __get_arch_feature. Updated for
4390 cpu_features_basic. Set stepping in cpu_features.
4391 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4392 (FEATURE_INDEX_2): New.
4393 (FEATURE_INDEX_MAX): Changed to enum.
4394 (COMMON_CPUID_INDEX_D_ECX_1): New.
4395 (COMMON_CPUID_INDEX_80000007): Likewise.
4396 (COMMON_CPUID_INDEX_80000008): Likewise.
4397 (cpuid_registers): Likewise.
4398 (cpu_features_basic): Likewise.
4399 (CPU_FEATURE_USABLE): Likewise.
4400 (bit_arch_XXX_Usable): Likewise.
4401 (cpu_features): Use cpuid_registers and cpu_features_basic.
4402 (bit_arch_XXX): Reweritten.
4403 (bit_cpu_XXX): Likewise.
4404 (index_cpu_XXX): Likewise.
4405 (reg_XXX): Likewise.
4406 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4408 (CHECK_CPU_FEATURE): New.
4409 (CHECK_CPU_FEATURE_USABLE): Likewise.
4410 (cpu_kinds): Likewise.
4411 (do_test): Print vendor, family, model and stepping. Check
4412 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4413 (TEST_FUNCTION): Removed.
4414 Include <support/test-driver.c> instead of
4415 "../../test-skeleton.c".
4416 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4417 Check POPCNT instead of POPCOUNT.
4418 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4420 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4422 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4423 there is no element in `consts'.
4425 2018-12-01 Florian Weimer <fweimer@redhat.com>
4427 * support/support_capture_subprocess.c
4428 (support_capture_subprocess): Check that pipe descriptors have
4429 expected values. Close original pipe descriptors in subprocess.
4431 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4434 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4435 attr with __pthread_default_barrierattr.
4436 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4437 attr with __pthread_default_condattr.
4438 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4439 attr with __pthread_default_mutexattr.
4440 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4441 attr with __pthread_default_rwlockattr.
4443 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4445 * manual/tunables.texi (POSIX Thread Tunables): New node.
4446 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4447 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4448 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4449 __pthread_tunables_init.
4450 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4451 (max_adaptive_count): Define.
4452 * nptl/pthread_mutex_conf.c: New file.
4453 * nptl/pthread_mutex_conf.h: New file.
4454 * sysdeps/generic/adaptive_spin_count.h: New file.
4455 * sysdeps/nptl/dl-tunables.list: New file.
4456 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4457 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4458 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4461 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4464 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4465 * stdlib/on_exit.c (__on_exit): Likewise.
4466 * stdlib/Makefile (tests): Add tst-bz20544.
4467 * stdlib/tst-bz20544.c: New test.
4469 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4472 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4473 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4476 2018-11-30 Florian Weimer <fweimer@redhat.com>
4478 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4479 Extend error logging.
4480 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4483 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4485 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4486 __sigismember instead of sigismember.
4487 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4488 cancel_handler): New definitions.
4489 (do_system): Use posix_spawn instead of fork and execl and remove
4491 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4492 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4493 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4494 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4496 * sysdeps/unix/sysv/linux/system.c: Likewise.
4500 * NEWS: Add new semantic for atfork with popen and system.
4501 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4504 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4507 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4508 modification order when accessing reloc_result->addr.
4509 * include/link.h (reloc_result): Add field init.
4510 * nptl/Makefile (tests): Add tst-audit-threads.
4511 (modules-names): Add tst-audit-threads-mod1 and
4512 tst-audit-threads-mod2.
4513 Add rules to build tst-audit-threads.
4514 * nptl/tst-audit-threads-mod1.c: New file.
4515 * nptl/tst-audit-threads-mod2.c: Likewise.
4516 * nptl/tst-audit-threads.c: Likewise.
4517 * nptl/tst-audit-threads.h: Likewise.
4519 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4521 * scripts/gen-as-const.py: New file.
4522 * scripts/gen-as-const.awk: Remove.
4523 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4525 ($(objpfx)test-as-const-%.c): Likewise.
4527 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4529 * elf/dl-exception.c: Include <_itoa.h>.
4531 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4533 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4534 returned by __f_setlk.
4536 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4537 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4539 * elf/Makefile (tests-internal): Add tst-create_format1.
4540 * elf/dl-exception.c (_dl_exception_create_format): Support
4542 * elf/tst-create_format1.c: New file.
4544 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4546 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4547 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4549 * argp/argp-help.c (__argp_failure): Likewise.
4551 2018-11-29 Mao Han <han_mao@c-sky.com>
4553 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4554 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4555 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4556 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4557 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4558 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4559 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4560 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4561 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4562 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4563 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4564 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4565 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4566 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4567 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4568 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4569 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4570 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4571 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4572 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4573 (R_CKCORE_TLS_TPOFF32): New defines.
4575 2018-11-29 Florian Weimer <fweimer@redhat.com>
4577 * posix/Makefile (before-compile): Remove testcases.h and
4579 (generated): Add testcases.h and ptestcases.h.
4580 (testcases.h, ptestcases.h): Move to $(objpfx).
4581 (runtests.o): Add dependency on testcases.h.
4582 (runptests.o): Add dependency on ptestcases.h.
4583 * posix/testcases.h, posix/ptestcases.h: Remove files.
4584 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4585 not touch posix/testcases.h and posix/ptestcases.h.
4587 2018-11-28 Florian Weimer <fweimer@redhat.com>
4589 support: Add signal support to support_capture_subprocess_check.
4590 * support/capture_subprocess.h (support_capture_subprocess_check):
4591 Adjust comment and rename parameter.
4592 * support/support_capture_subprocess_check.c
4593 (print_actual_status): New function.
4594 (support_capture_subprocess_check): Support negative
4595 status_or_signal. Call print_actual_status.
4596 * support/tst-support_capture_subprocess.c (do_test): Call
4597 support_capture_subprocess_check.
4598 * libio/tst-vtables-common.c (termination_status)
4599 (init_termination_status): Remove.
4600 (check_for_termination): Adjust support_capture_subprocess_check
4602 (do_test): Remove call to init_termination_status.
4604 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4606 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4607 source directory instead of a copy.
4608 (CommandList.create_copy_dir): Remove.
4610 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4612 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4614 2018-11-28 Florian Weimer <fweimer@redhat.com>
4616 * support/support.h (support_quote_string): Do not use str
4619 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4621 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4622 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4624 2018-11-27 Florian Weimer <fweimer@redhat.com>
4626 * support/support.h (support_quote_string): Declare.
4627 * support/support_quote_string.c: New file.
4628 * support/tst-support_quote_string.c: Likewise.
4629 * support/Makefile (libsupport-routines): Add
4630 support_quote_string.
4631 (tests): Add tst-support_quote_string.
4633 2018-11-27 Florian Weimer <fweimer@redhat.com>
4637 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4638 descriptor leak in case of ENODEV error.
4640 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4643 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4644 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4647 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4649 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4650 Error for unknown lines.
4652 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4654 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4655 Touch additional files.
4657 2018-11-26 Florian Weimer <fweimer@redhat.com>
4660 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4663 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4667 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4668 SHARED. Include sysdep.h.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4670 ALWAYS_USE_VSYSCALL.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4672 ALWAYS_USE_VSYSCALL.
4674 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4677 * nptl/Makefile (tests-static): Add tst-cond11-static.
4679 * nptl/tst-cond11-static.c: New File.
4680 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4681 tst-affinity-static.
4683 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4685 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4686 (USE_VSYSCALL): Likewise.
4687 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4688 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4690 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4695 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4698 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4699 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4702 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4704 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4705 (tst-cet-legacy-1a-ARGS): New.
4706 ($(objpfx)tst-cet-legacy-1a): New target.
4707 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4709 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4711 * conform/conformtest.py (CompileSubTest.__init__): Set
4712 self.run_early to False.
4713 (ExecuteSubTest.__init__): Likewise.
4714 (HeaderTests.run): Try running all non-optional, non-XFAILed
4715 compilation tests in a single execution of the compiler.
4717 * conform/conformtest.py (CompileSubTest): New class.
4718 (ExecuteSubTest): Likewise.
4719 (ElementTest.run): Rename to gen_subtests. Append tests to
4720 self.subtests instead of running them.
4721 (ConstantTest.run): Likewise.
4722 (SymbolTest.run): Likewise.
4723 (TypeTest.run): Likewise.
4724 (TagTest.run): Likewise.
4725 (FunctionTest.run): Likewise.
4726 (VariableTest.run): Likewise.
4727 (MacroFunctionTest.run): Likewise.
4728 (MacroStrTest.run): Likewise.
4729 (HeaderTests.handle_test_line): Generate subtests for tests.
4730 (HeaderTests.run): Run subtests for tests.
4732 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4734 * math/Versions (GLIBC_2.29): Add pow.
4735 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4737 * math/w_pow.c: New file.
4738 * sysdeps/i386/fpu/w_pow.c: New file.
4739 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4741 and add necessary aliases.
4742 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4743 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4744 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4763 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4765 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4768 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4770 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4771 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4772 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4774 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4776 * math/Versions (GLIBC_2.29): Add log2.
4777 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4779 * math/w_log2.c: New file.
4780 * sysdeps/i386/fpu/w_log2.c: New file.
4781 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4782 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4783 and add necessary aliases.
4784 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4785 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4786 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4788 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4790 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4792 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4793 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4794 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4795 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4796 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4798 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4805 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4811 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4813 * math/Versions (GLIBC_2.29): Add log.
4814 * math/w_log_compat.c (__log_compat): Change to versioned compat
4816 * math/w_log.c: New file.
4817 * sysdeps/i386/fpu/w_log.c: New file.
4818 * sysdeps/ia64/fpu/e_log.S: Update.
4819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4820 and add necessary aliases.
4821 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4822 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4823 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4826 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4827 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4828 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4831 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4832 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4833 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4834 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4835 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4840 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4841 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4842 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4843 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4845 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4846 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4847 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4849 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4850 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4851 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4852 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4854 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4856 * math/Versions (GLIBC_2.29): Add exp and exp2.
4857 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4858 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4859 * math/w_exp_compat.c (__exp_compat): Likewise.
4860 * math/w_exp.c: New file.
4861 * math/w_exp2.c: New file.
4862 * sysdeps/i386/fpu/w_exp.c: New file.
4863 * sysdeps/i386/fpu/w_exp2.c: New file.
4864 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4865 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4866 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4867 and add necessary aliases.
4868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4869 and add necessary aliases.
4870 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4871 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4872 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4873 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4874 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4876 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4877 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4878 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4879 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4880 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4881 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4882 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4883 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4884 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4885 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4886 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4891 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4893 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4898 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4899 (__ieee754_exp): Rename to __exp.
4900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4901 (__ieee754_exp): Rename to __exp.
4902 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4903 (__ieee754_exp): Rename to __exp.
4904 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4906 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4908 2018-11-20 DJ Delorie <dj@redhat.com>
4910 * malloc/malloc.c (tcache_entry): Add key field.
4911 (tcache_put): Set it.
4912 (tcache_get): Likewise.
4913 (_int_free): Check for double free in tcache.
4914 * malloc/tst-tcfree1.c: New.
4915 * malloc/tst-tcfree2.c: New.
4916 * malloc/Makefile: Run the new tests.
4917 * manual/probes.texi: Document memory_tcache_double_free probe.
4919 * dlfcn/dlerror.c (check_free): Prevent double frees.
4921 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4923 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4925 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4927 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4928 in tests. Use names for format arguments.
4929 (ConstantTest.run): Likewise.
4930 (SymbolTest.run): Likewise.
4931 (TypeTest.run): Likewise.
4932 (TagTest.run): Likewise.
4933 (FunctionTest.run): Likewise.
4934 (VariableTest.run): Likewise.
4935 (MacroFunctionTest.run): Likewise.
4936 (MacroStrTest.run): Likewise.
4937 (HeaderTests.__init__): Set self.num_tests.
4938 (HeaderTests.handle_test_line): Set test.num. Increment
4941 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4943 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4944 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4947 2018-11-19 Mao Han <han_mao@c-sky.com>
4949 * scripts/config.guess: Update to version 2018-08-29.
4950 * scripts/config.sub: Update to version 2018-08-29.
4952 2018-11-19 Florian Weimer <fweimer@redhat.com>
4954 support: Print timestamps in timeout handler.
4955 * support/support_test_main.c (print_timestamp): New function.
4956 (signal_handler): Use it to print the termination time and the
4957 time of the last write to standard output.
4959 2018-11-16 Zack Weinberg <zackw@panix.com>
4960 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4962 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4963 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4965 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4966 and add flags argument. Check flags instead of __ldbl_is_dbl when
4967 deciding whether to set is_long_double.
4968 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4969 passing zero for flags argument.
4970 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4973 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4974 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4975 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4976 variable names. Remove libc_hidden_def/libc_hidden_proto from
4977 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4978 longer called from within the library.
4979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4980 for __nldbl___vstrfmon_l, declare it explicitly.
4982 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4984 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4986 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4988 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4989 F_SETLK64, F_SETLKW64, respectively.
4990 * sysdeps/mach/hurd/f_setlk.c: New file.
4991 * sysdeps/mach/hurd/f_setlk.h: New file.
4992 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4994 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4995 (__libc_fcntl): Move non-flock operations to...
4996 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4997 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4999 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5001 mktime: DEBUG_MKTIME cleanup
5002 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5003 And it’s no longer needed now that glibc and Gnulib both have
5004 their own testing mechanisms for mktime.
5005 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5007 mktime: fix non-EOVERFLOW errno handling
5009 mktime was not properly reporting failures when the underlying
5010 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5011 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5012 The problem could happen on non-glibc platforms, with Gnulib.
5013 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5014 (tm_diff): ... this simpler function, which does not change errno.
5015 All callers changed to deal with errno themselves.
5016 (ranged_convert, __mktime_internal): Return failure immediately if
5017 the underlying function reports any failure other than EOVERFLOW.
5018 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5021 mktime: fix bug with Y2038 DST transition
5023 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5024 mishandle a DST transition that jumps over the Y2038 boundary.
5025 No such DST transitions are known so this is only a theoretical
5026 bug, but we might as well do things right.
5028 mktime: make more room for overflow
5030 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5031 This is so that we can add tm_diff results to a previous guess,
5032 which will be useful in a later patch.
5034 mktime: simplify offset guess
5036 * time/mktime.c (__mktime_internal): Omit excess precision.
5038 mktime: new test for mktime failure
5040 Based on a test suggested by Albert Aribaud in:
5041 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5042 * time/Makefile (tests): Add bug-mktime4.
5043 * time/bug-mktime4.c: New file.
5045 mktime: fix EOVERFLOW bug
5047 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5048 Include libc-config.h, not config.h, for __set_errno.
5049 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5051 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5053 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5054 __attribute_copy__ to copy attributes from name. Drop static qualifier
5055 to avoid warnings about leaf attribute not having effect on static
5058 2018-11-13 Florian Weimer <fweimer@redhat.com>
5060 * malloc/malloc.c (fastbin_push_entry): New function.
5061 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5062 (REMOVE_FB): Remove macro.
5063 (_int_malloc): Use fastbin_pop_entry and reindent.
5064 (_int_free): Use fastbin_push_entry.
5065 (malloc_consolidate): Use atomic_exchange_acquire.
5067 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5069 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5070 alias attribute, not with strong_alias.
5072 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5073 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5074 with additional parameter thread.
5075 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5076 in terms of __hidden_ver2.
5077 (hidden_tls_def): New macro.
5078 (libc_hidden_tls_def): Likewise.
5079 (rtld_hidden_tls_def): Likewise.
5080 (libm_hidden_tls_def): Likewise.
5081 (libmvec_hidden_tls_def): Likewise.
5082 (libresolv_hidden_tls_def): Likewise.
5083 (librt_hidden_tls_def): Likewise.
5084 (libdl_hidden_tls_def): Likewise.
5085 (libnss_files_hidden_tls_def): Likewise.
5086 (libnsl_hidden_tls_def): Likewise.
5087 (libnss_nisplus_hidden_tls_def): Likewise.
5088 (libutil_hidden_tls_def): Likewise.
5089 (libutil_hidden_tls_def): Likweise.
5090 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5091 libc_hidden_tls_def.
5092 (__sim_disabled_exceptions_thread): Likewise.
5093 (__sim_round_mode_thread): Likewise.
5095 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5096 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5097 copy attributes from name.
5099 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5101 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5102 Use __attribute_copy__ to copy attributes from name.
5104 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5105 with __hidden_ver1 call.
5106 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5107 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5108 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5109 (__cosf): Do not declare here.
5110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5111 (__sincosf): Do not declare here.
5112 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5113 (__sinf): Do not declare here.
5115 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5116 (__BIG_ENDIAN): Likewise.
5117 (__BYTE_ORDER): Likewise.
5118 (strong_alias): Likewise.
5119 (_strong_alias): Likewise.
5121 2018-11-12 Florian Weimer <fweimer@redhat.com>
5123 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5124 function. Move after the definition of in_smallbin_range. Do not
5125 use __builtin_expect for paths that lead to a noreturn function.
5126 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5127 because it is unclear whether this is in fact an unlikely
5129 (_int_malloc, _int_free): Adjust.
5130 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5132 * malloc/arena.c (heap_trim): Likewise.
5134 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5136 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5137 it, free it if needed.
5138 (reauthenticate): Test and use ccwdir.
5139 (child_init_port): In non-resetids case, test and use ccwdir.
5140 (child_chdir): New nested function to set ccwdir.
5141 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5142 * hurd/hurd/port.h (_hurd_port_move): New function.
5143 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5144 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5145 * hurd/Versions (_hurd_port_move): Export function.
5146 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5148 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5149 of dtablesize for allocating dtable_cloexec.
5151 2018-11-09 Martin Sebor <msebor@redhat.com>
5153 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5154 it's already defined.
5155 (_strong_alias): Use __attribute_copy__.
5156 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5157 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5158 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5159 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5160 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5161 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5162 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5163 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5164 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5165 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5166 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5167 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5168 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5169 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5170 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5171 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5172 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5173 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5174 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5176 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5178 * misc/tst-efgcvt.c: Include support/check.h and
5179 support/test-driver.c. Do not include test-skeleton.c.
5180 (error_count): Remove.
5181 (output_error): Replace increments to error_count with calls to
5182 support_record_failure.
5183 (output_r_error): Likewise.
5184 (special): Likewise.
5185 (do_test): Unconditionally return zero.
5186 (TEST_FUNCTION): Remove.
5188 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5190 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5192 ($(linknamespace-header-tests)): Likewise.
5194 * conform/conformtest.py: New file.
5195 * conform/conformtest.pl: Remove.
5196 * conform/GlibcConform.pm: Likewise.
5197 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5198 (KEYWORDS_C99): Likewise.
5199 (KEYWORDS): Likewise.
5200 * conform/Makefile ($(conformtest-header-tests)): Use
5201 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5202 option. Use --header instead of --headers.
5203 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5205 * conform/data/spawn.h-data: Likewise.
5206 * conform/data/fcntl.h-data (openat): Add space after function
5208 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5209 (wcscasecmp_l): Likewise.
5210 * conform/data/termios.h-data (c_cc): Add space after element
5213 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5215 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5216 instead of manually comparing and reporting mismatching strings.
5217 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5218 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5220 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5222 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5223 __ASSUME_SOCKETCALL.
5224 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5225 (__ASSUME_SOCKETCALL): Remove.
5226 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5227 (__ASSUME_SOCKETCALL): Likewise.
5228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5229 (__ASSUME_SOCKETCALL): Likewise.
5230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5231 (__ASSUME_SOCKETCALL): Likewise.
5232 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5233 (__ASSUME_SOCKETCALL): Likewise.
5234 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5235 (__ASSUME_SOCKETCALL): Likewise.
5236 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5237 (__ASSUME_SOCKETCALL): Likewise.
5239 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5242 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5243 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5244 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5245 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5246 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5249 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5252 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5254 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5258 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5260 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5262 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5264 * support/support_test_compare_string.c
5265 (support_test_compare_string): Fix printf format.
5267 2018-11-07 Florian Weimer <fweimer@redhat.com>
5269 Implement TEST_COMPARE_STRING.
5270 * support/check.h (TEST_COMPARE_STRING): Define.
5271 (support_test_compare_string): Declare.
5272 * support/Makefile (libsupport-routines): Add
5273 support_test_compare_string.
5274 (tests): Add tst-test_compare_string.
5275 * support/support_test_compare_string.c: New file.
5276 * support/tst-test_compare_string.c: Likewise.
5278 2018-11-07 Andreas Schwab <schwab@suse.de>
5281 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5282 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5285 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5289 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5290 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5291 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5294 2018-11-06 Florian Weimer <fweimer@redhat.com>
5297 * posix/Makefile (routines): Add spawn_faction_addchdir.
5298 (tests): Add tst-spawn-chdir.
5299 * posix/Versions (GLIBC_2.29): Add
5300 posix_spawn_file_actions_addchdir_np.
5301 * posix/spawn_faction_addchdir.c: New file.
5302 * posix/spawn_faction_destroy.c
5303 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5304 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5305 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5307 * posix/tst-spawn-chdir.c: New file.
5308 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5309 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5310 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5311 posix_spawn_file_actions_addchdir_np.
5312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5314 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5316 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5317 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5319 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5321 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5323 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5325 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5327 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5329 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5330 (GLIBC_2.29): Likewise.
5331 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5332 (GLIBC_2.29): Likewise.
5333 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5334 (GLIBC_2.29): Likewise.
5335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5336 (GLIBC_2.29): Likewise.
5337 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5340 (GLIBC_2.29): Likewise.
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5342 (GLIBC_2.29): Likewise.
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5344 (GLIBC_2.29): Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5346 (GLIBC_2.29): Likewise.
5347 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5351 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5353 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5358 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5360 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5363 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5365 * misc/Makefile (tests): Add tst-ldbl-error.
5366 * misc/tst-ldbl-error.c: New file.
5368 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5370 * misc/Makefile (tests): Add tst-ldbl-warn.
5371 * misc/tst-ldbl-warn.c: New file.
5373 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5375 * argp/Makefile (tests): Add tst-ldbl-argp.
5376 * argp/tst-ldbl-argp.c: New file.
5378 2018-11-05 Arjun Shankar <arjun@redhat.com>
5380 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5381 __gconv_path_elem and call __gconv_get_path unconditionally.
5383 2018-11-05 Andreas Schwab <schwab@suse.de>
5386 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5387 creating the first helper thread failed.
5389 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5391 * sysdeps/mach/hurd/msync.c: New file.
5393 2018-11-02 Florian Weimer <fweimer@redhat.com>
5395 * support/shell-container.c (copy_func): Call
5396 support_copy_file_range instead of copy_file_range to support
5397 cross-device copies.
5399 2018-11-02 Florian Weimer <fweimer@redhat.com>
5401 * support/test-container.c: Include <libc-pointer-arith.h> for
5404 2018-11-01 Zong Li <zong@andestech.com>
5406 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5407 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5408 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5409 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5411 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5412 variable to avoid overlap arguments.
5414 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5416 * posix/bug-regex22.c (main): Use puts with distinct error
5417 messages for unexpected success of re_compile_pattern, not printf
5418 with NULL argument to %s.
5420 * stdio-common/bug22.c: Include <libc-diag.h>.
5421 (do_test): Disable -Wformat-overflow= warnings around fprintf
5422 calls outputting more than INT_MAX characters.
5423 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5424 around printf call with NULL %s argument.
5427 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5428 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5430 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5431 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5432 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5433 (__ASSUME_SENDTO_SYSCALL): Likewise.
5434 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5435 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5437 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5438 (__ASSUME_CONNECT_SYSCALL): Likewise.
5439 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5440 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5441 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5443 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5445 [__LINUX_KERNEL_VERSION >= 0x040400]
5446 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5450 (setsockopt): Likewise.
5452 2018-11-01 Fredrik Noring <noring@nocrew.org>
5454 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5455 with the ISA override.
5457 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5459 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5462 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5464 * manual/errno.texi (EIEIO): Document how translators should
5465 translate the error message.
5466 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5467 printing trailing whitespaces refused by git.
5468 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5469 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5470 * hurd/Makefile (user-interfaces): Add pci.
5472 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5474 * conform/linknamespace.py: New file.
5475 * conform/linknamespace.pl: Remove file.
5476 * conform/Makefile ($(linknamespace-header-tests)): Use
5477 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5480 2018-10-30 Florian Weimer <fweimer@redhat.com>
5482 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5485 2018-10-30 Florian Weimer <fweimer@redhat.com>
5487 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5489 2018-10-30 Florian Weimer <fweimer@redhat.com>
5491 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5492 support_blob_repeat.
5494 2018-10-30 Florian Weimer <fweimer@redhat.com>
5496 Avoid spurious test failures in stdlib/test-bz22786.
5497 * support/Makefile (libsupport-routines): Add blob_repeat.
5498 (tests): Add tst-support_blob_repeat.
5499 * support/blob_repeat.h: New file.
5500 * support/blob_repeat.c: Likewise.
5501 * support/tst-support_blob_repeat.c: Likewise.
5502 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5503 support_blob_repeat_allocate.
5505 2018-10-30 Andreas Schwab <schwab@suse.de>
5508 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5509 Don't use tail call.
5510 * elf/tst-unwind-main.c: New file.
5511 * elf/Makefile (tests): Add tst-unwind-main.
5512 (CFLAGS-tst-unwind-main.c): Define.
5514 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5517 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5519 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5521 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5523 * conform/glibcconform.py: Do not import shutil.
5524 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5527 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5528 critic_missing for versions before 3.4.
5529 * configure: Regenerated.
5530 * manual/install.texi (Tools for Compilation): Document
5531 requirement for Python to build glibc.
5532 * INSTALL: Regenerated.
5533 * Rules [PYTHON]: Make code unconditional.
5534 * benchtests/Makefile [PYTHON]: Likewise.
5535 * conform/Makefile [PYTHON]: Likewise.
5536 * manual/Makefile [PYTHON]: Likewise.
5537 * math/Makefile [PYTHON]: Likewise.
5539 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5542 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5543 answer to interrupt_operation, return EIEIO instead of EINTR.
5544 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5545 _hurd_intr_rpc_msg_about_to global point to start of controlled
5546 assembly snippet. Make it check canceled flag.
5547 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5548 the _hurd_intr_rpc_msg_about_to point.
5549 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5550 issue, remove cancel flag check.
5552 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5554 * scripts/build-many-glibcs.py: Remove compatibility for missing
5555 os.cpu_count and re.fullmatch.
5557 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5560 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5561 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5562 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5564 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5566 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5569 2018-10-25 Florian Weimer <fweimer@redhat.com>
5573 XFAIL siginfo_t si_band conform test on sparc64.
5574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5575 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5577 (conformtest-xfail-conds): Add sparc64-linux.
5578 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5580 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5582 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5584 * elf/elf.h (NT_MIPS_DSP): New macro.
5585 (NT_MIPS_FP_MODE): Likewise.
5587 2018-10-25 Zong Li <zong@andestech.com>
5589 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5590 name by adding the file extension (.so).
5592 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5594 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5595 (test-xfail-ISO11/threads.h/linknamespace,
5596 test-xfail-ISO11/threads.h/conform): Add.
5598 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5600 * math/gen-libm-test.py: Import os.
5601 (ALL_FLOATS_MANUAL): New constant.
5602 (ALL_FLOATS_SUFFIX): Likewise.
5603 (Ulps.all_functions): New function.
5604 (real_all_ulps): Likewise.
5605 (generate_err_table_sub): Likewise.
5606 (generate_err_table): Likewise.
5607 (main): Handle -s and -m options.
5608 * manual/libm-err-tab.pl: Remove.
5609 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5610 instead of libm-err-tab.pl.
5611 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5613 * manual/install.texi (Tools for Compilation): Document
5614 requirement for Python to build manual.
5615 * INSTALL: Regenerated.
5617 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5619 * bits/time64.h: New file.
5620 * include/time.h: Replace internal_time_t with __time64_t.
5621 * posix/bits/types (__time64_t): Add.
5622 * stdlib/Makefile: Add bits/time64.h to includes.
5623 * time/tzfile.c: Replace internal_time_t with __time64_t.
5625 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5627 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5628 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5629 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5630 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5631 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5633 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5634 * posix/spawn_faction_addclose.c
5635 (__posix_spawn_file_actions_addclose): Add hidden definition.
5636 * posix/spawn_faction_adddup2.c
5637 (__posix_spawn_file_actions_adddup2): Likewise.
5638 * posix/spawn_faction_destroy.c
5639 (__posix_spawn_file_actions_destroy): Likewise.
5640 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5642 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5643 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5644 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5646 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5647 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5650 2018-10-24 Andreas Schwab <schwab@suse.de>
5653 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5655 * elf/cache.c (print_cache): Likewise.
5657 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5659 * bits/timesize.h: New file.
5660 * stdlib/Makefile (headers): Add bits/timesize.h.
5661 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5662 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5663 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5664 (__SEM_PAD_AFTER_TIME): Likewise.
5665 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5666 (__SHM_PAD_AFTER_TIME): Likewise.
5667 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5668 (__MSQ_PAD_BEFORE_TIME): Likewise.
5669 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5670 (__SEM_PAD_BEFORE_TIME): Likewise.
5671 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5672 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5673 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5674 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5676 (__MSQ_PAD_BEFORE_TIME): Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5678 (__SEM_PAD_BEFORE_TIME): Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5680 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5681 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5682 (__MSQ_PAD_BEFORE_TIME): Likewise.
5683 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5684 (__SEM_PAD_BEFORE_TIME): Likewise.
5685 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5686 (__SHM_PAD_BEFORE_TIME): Likewise.
5687 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5688 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5689 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5691 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5693 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5694 USE_RDTSCP is defined.
5695 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5696 USE_RDTSCP is defined.
5698 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5700 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5704 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5705 independently of other flags.
5707 2018-10-23 Florian Weimer <fweimer@redhat.com>
5709 * time/tst-mktime2.c (N_STRINGS): Remove.
5710 (set_timezone): New function.
5711 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5712 (mktime_test1): Report localtime failure and check errno value.
5714 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5715 (do_test): Remove alarm call. Use set_timezone and array_length.
5717 2018-10-23 Andreas Schwab <schwab@suse.de>
5719 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5720 (__start_context): Use END instead of PSEUDO_END.
5722 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5727 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5731 * wcsmbs/c32rtomb.c: New file.
5732 * wcsmbs/mbrtoc32.c: Likewise.
5733 * wcsmbs/tst-c32-state.c: Likewise.
5734 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5735 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5736 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5737 (tests): Add tst-c32-state.
5738 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5741 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5743 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5744 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5746 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5749 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5750 pair and return 0 in that case, and use saved character to
5751 interpret following character.
5752 * wcsmbs/tst-c16-surrogate.c: New file.
5753 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5754 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5755 Depend on $(gen-locales)
5757 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5760 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5761 (struct siginfo_t): Use correct type for si_band.
5763 2018-10-19 Florian Weimer <fweimer@redhat.com>
5766 * resource/bits/types/struct_rusage.h (struct rusage): Update
5767 comment on struct. Remove extraneous field comment.
5769 2018-10-18 David S. Miller <davem@davemloft.net>
5771 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5772 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5773 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5774 sysdep_routines in subdir elf.
5775 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5776 version for __vdso_clock_gettime.
5777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5779 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5780 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5782 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5784 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5786 * sysdeps/i386/init-arch.h: Removed.
5787 * sysdeps/i386/i586/init-arch.h: Likewise.
5788 * sysdeps/i386/i686/init-arch.h: Likewise.
5789 * sysdeps/i386/i686/hp-timing.h: Likewise.
5790 * sysdeps/x86_64/hp-timing.h: Likewise.
5791 * sysdeps/i386/isa.h: New file.
5792 * sysdeps/i386/i586/isa.h: Likewise.
5793 * sysdeps/i386/i686/isa.h: Likewise.
5794 * sysdeps/x86_64/isa.h: Likewise.
5795 * sysdeps/x86/hp-timing.h: New file.
5796 * sysdeps/x86/init-arch.h: Include <isa.h>.
5798 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5800 * math/libm-test-pow.inc (pow_test_data): Do not allow
5801 divide-by-zero exception for pow(+/- 0, -Inf).
5803 2018-10-17 Zack Weinberg <zackw@panix.com>
5805 * manual/job.texi (Job Control is Optional): Remove node, as
5806 job control has not been optional in quite some time.
5807 (Job Control): Mention briefly that systems older than
5808 POSIX.1-2001 might not support job control.
5809 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5810 defined on systems conforming to POSIX.1-2001.
5812 2018-10-17 Arjun Shankar <arjun@redhat.com>
5815 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5817 * (__gconv_read_conf): Mark function static.
5818 * (once): New static variable.
5819 * (__gconv_load_conf): New function.
5820 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5821 * iconv/gconv_db.c (once): Remove static variable.
5822 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5824 * (__gconv_find_transform): Likewise.
5825 * iconv/tst-iconv-mt.c: New test.
5826 * iconv/Makefile: Add tst-iconv_mt.
5828 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5832 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5833 (shmatt_t): Define as __syscall_ulong_t.
5834 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5835 and [__SHM_PAD_AFTER_TIME].
5836 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5837 Define shm_segsz and associated padding based on
5838 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5839 Use __syscall_ulong_t instead of unsigned long int.
5840 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5842 [__USE_MISC] (struct shm_info): Likewise.
5843 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5844 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5845 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5847 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5848 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5849 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5850 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5852 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5853 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5857 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5858 (SHMLBA): Remove macro.
5859 (__getpagesize): Remove function declaration.
5860 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5862 (SHMLBA): Remove macro.
5863 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5865 (SHMLBA): Remove macro.
5866 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5868 (SHMLBA): Remove macro.
5869 (__getpagesize): Remove function declaration.
5870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5872 (SHMLBA): Remove macro.
5873 (__getshmlba): Remove function declaration.
5874 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5875 (SHMLBA): Remove macro.
5876 (__getpagesize): Remove function declaration.
5877 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5878 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5879 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5880 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5881 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5882 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5883 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5884 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5885 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5886 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5888 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5891 * nptl/tst-mutex10.c: New File.
5892 * nptl/Makefile (tests): Add tst-mutex10.
5893 (tst-mutex10-ENV): New variable.
5894 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5895 Ensure that elision path is used if elision is available.
5896 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5898 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5900 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5901 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5902 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5903 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5905 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5906 (__pthread_mutex_cond_lock_adjust): Likewise.
5907 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5909 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5910 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5911 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5912 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5914 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5915 Use atomic_load_relaxed and atomic_store_relaxed.
5916 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5917 Use atomic_store_relaxed.
5919 2018-10-17 Andreas Schwab <schwab@suse.de>
5921 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5922 * crypt/badsalttest.c (TIMEOUT): Likewise.
5923 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5924 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5925 * io/test-lfs.c (TIMEOUT): Likewise.
5926 * libio/tst-atime.c (TIMEOUT): Likewise.
5927 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5928 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5929 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5930 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5931 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5932 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5933 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5934 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5935 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5936 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5937 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5938 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5939 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5940 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5941 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5942 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5943 * nptl/tst-once2.c (TIMEOUT): Likewise.
5944 * nptl/tst-once3.c (TIMEOUT): Likewise.
5945 * nptl/tst-once4.c (TIMEOUT): Likewise.
5946 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5947 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5948 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5949 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5950 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5951 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5952 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5953 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5954 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5955 * posix/tst-chmod.c (TIMEOUT): Likewise.
5956 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5957 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5958 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5959 * posix/tst-regex2.c (TIMEOUT): Likewise.
5960 * posix/tst-waitid.c (TIMEOUT): Likewise.
5961 * rt/tst-aio.c (TIMEOUT): Likewise.
5962 * rt/tst-aio10.c (TIMEOUT): Likewise.
5963 * rt/tst-aio4.c (TIMEOUT): Likewise.
5964 * rt/tst-aio5.c (TIMEOUT): Likewise.
5965 * rt/tst-aio6.c (TIMEOUT): Likewise.
5966 * rt/tst-aio64.c (TIMEOUT): Likewise.
5967 * rt/tst-aio7.c (TIMEOUT): Likewise.
5968 * rt/tst-aio9.c (TIMEOUT): Likewise.
5969 * rt/tst-clock.c (TIMEOUT): Likewise.
5970 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5971 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5972 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5973 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5974 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5975 * rt/tst-timer4.c (TIMEOUT): Likewise.
5976 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5977 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5978 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5979 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5980 * time/tst-ftime.c (TIMEOUT): Likewise.
5981 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5983 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5985 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5986 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5989 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5993 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5994 instead of <bits/wordsize.h>.
5995 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5996 and [__SEM_PAD_AFTER_TIME].
5997 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5998 __syscall_ulong_t instead of unsigned long int.
5999 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6000 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6001 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6003 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6004 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6005 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6006 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6009 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6011 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6013 regex: simplify by using intprops.h
6015 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6016 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6017 intprops.h defines them.
6019 regex: __builtin_expect → __glibc_unlikely
6021 This refactoring was prompted by a problem when the regex code is
6022 used as part of Gnulib and when the builder’s compiler does not grok
6023 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6024 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6025 Although this refactoring does not fix the problem directly,
6026 we might as well have Gawk use the now-preferred glibc style for when
6027 __builtin_expect is unavailable.
6028 * posix/regex_internal.h (BE): Remove.
6029 All uses replaced by __glibc_unlikely or __glibc_likely.
6031 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6035 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6036 instead of <bits/wordsize.h>.
6037 (msgqnum_t): Define as __syscall_ulong_t.
6038 (msglen_t): Likewise.
6039 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6040 and [__MSQ_PAD_AFTER_TIME].
6041 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6042 __syscall_ulong_t instead of unsigned long int.
6043 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6044 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6045 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6048 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6049 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6050 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6053 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6055 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6057 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6058 (struct shmid_ds): Condition padding after time fields on
6060 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6061 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6062 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6064 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6065 (struct semid_ds): Condition padding after time fields on
6067 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6068 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6069 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6070 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6072 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6073 (struct msqid_ds): Condition padding after time fields on
6075 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6076 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6077 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6078 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6080 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6082 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6084 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6086 * libio/tst-readline.c (TIMEOUT): Define.
6088 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6090 mktime fix for Gnulib + coreutils
6092 This fix affects only Gnulib. Problem discovered when
6093 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6095 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6096 Do not define since it is not used. Defining an unused static
6097 function prompts a warning from GCC when Coreutils is configured
6098 with --enable-gcc-warnings.
6100 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6102 * benchtests/scripts/compare_bench.py (main): set float type on
6105 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6108 * localedata/locales/kl_GL (mon): Update, the relative case.
6109 (alt_mon): Add, fill with month names in the nominative case.
6110 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6111 (d_fmt): Set to "%b %d %Y".
6113 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6115 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6116 <bits/mman-linux.h>.
6117 (PROT_READ): Don't define here.
6118 (PROT_WRITE): Likewise.
6119 (PROT_EXEC): Likewise.
6120 (PROT_NONE): Likewise.
6121 (PROT_GROWSDOWN): Likewise.
6122 (PROT_GROWSUP): Likewise.
6123 (MAP_SHARED): Likewise.
6124 (MAP_PRIVATE): Likewise.
6125 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6126 [__USE_MISC] (MAP_FILE): Likewise.
6127 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6128 [__USE_MISC] (MAP_ANON): Likewise.
6129 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6130 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6131 (MCL_CURRENT): Likewise.
6132 (MCL_FUTURE): Likewise.
6133 (MCL_ONFAULT): Likewise.
6134 [__USE_MISC] (MADV_NORMAL): Likewise.
6135 [__USE_MISC] (MADV_RANDOM): Likewise.
6136 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6137 [__USE_MISC] (MADV_WILLNEED): Likewise.
6138 [__USE_MISC] (MADV_DONTNEED): Likewise.
6139 [__USE_MISC] (MADV_FREE): Likewise.
6140 [__USE_MISC] (MADV_REMOVE): Likewise.
6141 [__USE_MISC] (MADV_DONTFORK): Likewise.
6142 [__USE_MISC] (MADV_DOFORK): Likewise.
6143 [__USE_MISC] (MADV_HWPOISON): Likewise.
6144 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6145 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6146 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6147 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6148 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6149 (__MAP_ANONYMOUS): New macro.
6150 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6151 <bits/mman-linux.h> inclusion.
6152 (MAP_FIXED): Likewise.
6153 (MS_SYNC): Likewise.
6154 (MS_ASYNC): Likewise.
6155 (MS_INVALIDATE): Likewise.
6156 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6157 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6158 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6159 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6160 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6161 [__USE_MISC] (MADV_DODUMP): Likewise.
6162 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6163 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6168 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6169 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6170 Add test-nldbl-redirect.
6171 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6172 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6173 $(objpfx)libnldbl_nonshared.a.
6175 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6177 * support/support.h (support_objdir_elf_ldso): New variable.
6178 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6179 * support/Makefile (CFLAGS-support_paths.c): Add definition
6180 for OBJDIR_ELF_LDSO_PATH.
6181 * support/test-container.c (main): Search for the ld.so
6182 which is also used by the testsuite.
6184 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6187 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6188 should be "sap" rather than "sab".
6189 (day): Fix spelling of Sunday, should be "sapaat" rather than
6192 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6194 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6196 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6199 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6200 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6201 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6203 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6205 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6207 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6209 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6211 (CFLAGS-elision-unlock.c): Likewise.
6212 (CFLAGS-elision-timed.c): Likewise.
6213 (CFLAGS-elision-trylock.c): Likewise.
6214 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6216 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6219 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6220 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6221 new fd_to_filename interface.
6222 * libio/freopen64.c (freopen64): Likewise.
6223 * libio/tst-memstream.h: New file.
6224 * libio/tst-memstream4.c: Likewise.
6225 * libio/tst-wmemstream4.c: Likewise.
6226 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6227 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6228 and remove internal dynamic allocation.
6230 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6233 (MREMAP_MAYMOVE): Do not define here.
6234 [__USE_GNU] (MREMAP_FIXED): Likewise.
6235 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6236 (MREMAP_MAYMOVE): Define here instead.
6237 [__USE_GNU] (MREMAP_FIXED): Likewise.
6238 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6239 (MREMAP_MAYMOVE): Remove.
6240 [__USE_GNU] (MREMAP_FIXED): Likewise.
6242 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6244 * math/fromfp.h: Do not include <math_private.h>.
6245 * math/s_cacosh_template.c: Likewise.
6246 * math/s_casin_template.c: Likewise.
6247 * math/s_casinh_template.c: Likewise.
6248 * math/s_ccos_template.c: Likewise.
6249 * math/s_cproj_template.c: Likewise.
6250 * math/s_fdim_template.c: Likewise.
6251 * math/s_fmaxmag_template.c: Likewise.
6252 * math/s_fminmag_template.c: Likewise.
6253 * math/s_iseqsig_template.c: Likewise.
6254 * math/s_ldexp_template.c: Likewise.
6255 * math/s_nextdown_template.c: Likewise.
6256 * math/w_log1p_template.c: Likewise.
6257 * math/w_scalbln_template.c: Likewise.
6258 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6259 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6260 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6261 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6262 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6263 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6264 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6265 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6266 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6267 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6268 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6269 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6270 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6271 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6272 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6273 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6274 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6279 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6280 * sysdeps/ieee754/k_standardf.c: Likewise.
6281 * sysdeps/ieee754/k_standardl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6284 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6290 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6291 * sysdeps/ieee754/s_signgam.c: Likewise.
6292 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6293 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6294 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6295 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6296 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6297 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6298 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6299 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6300 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6301 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6302 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6303 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6304 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6305 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6306 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6307 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6308 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6309 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6310 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6311 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6312 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6313 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6314 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6315 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6316 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6317 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6318 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6319 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6320 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6321 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6322 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6323 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6324 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6325 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6326 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6327 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6328 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6330 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6332 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6335 * sysdeps/i386/dl-cet.c: Removed.
6336 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6338 (_dl_runtime_profile_shstk): Likewise.
6339 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6340 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6342 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6345 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6346 do_test_with_invalid_iov): New tests.
6347 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6348 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6349 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6351 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6352 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6353 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6355 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6357 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6358 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6359 (MATH_REDIRECT_BINARY_ARGS): New macro.
6360 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6361 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6362 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6364 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6366 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6367 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6377 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6378 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6383 * sysdeps/generic/math_private_calls.h
6384 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6385 Do not declare and define as an inline function.
6386 * math/divtc3.c (__divtc3): Use copysign functions instead of
6387 __copysign variants.
6388 * math/multc3.c (__multc3): Likewise.
6389 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6390 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6391 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6392 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6394 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6395 (__ieee754_yn): Likewise.
6396 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6397 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6398 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6399 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6400 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6402 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6409 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6410 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6413 (__ieee754_ynf): Likewise.
6414 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6415 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6420 (__ieee754_ynl): Likewise.
6421 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6422 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6426 (__ieee754_ynl): Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6436 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6437 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6438 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6440 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6441 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6442 using MATH_REDIRECT.
6443 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6445 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6448 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6456 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6457 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6459 (round): Redirect to __round.
6460 (__roundl): Call round instead of __round.
6461 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6463 [_ARCH_PWR5X] (__roundf): Likewise.
6464 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6465 functions instead of __round variants.
6466 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6473 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6476 (__ieee754_expl): Call roundl instead of __roundl.
6478 2018-09-27 Andreas Schwab <schwab@suse.de>
6481 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6482 (do_test): Make st1 static.
6484 2018-09-26 Andreas Schwab <schwab@suse.de>
6487 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6488 * elf/Makefile (tests): Add tst-unwind-ctor.
6489 (modules-names): Add tst-unwind-ctor-lib.
6490 ($(objpfx)tst-unwind-ctor): Depend on
6491 $(objpfx)tst-unwind-ctor-lib.so.
6493 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6495 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6496 file. Most contents moved from ....
6497 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6498 and include <bits/mman-map-flags-generic.h>.
6499 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6500 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6501 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6502 <bits/mman-map-flags-generic.h>.
6503 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6504 macros defined in <bits/mman-map-flags-generic.h>.
6505 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6506 <bits/mman-map-flags-generic.h>.
6507 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6508 defined in <bits/mman-map-flags-generic.h>.
6510 2018-09-26 Andreas Schwab <schwab@suse.de>
6512 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6515 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6516 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6517 Fangrui Song <maskray@google.com>
6520 * config.make.in (have-textrel_ifunc): New define.
6521 * configure.ac: Add check if linker supports textrel relocation with
6523 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6525 (CFLAGS-tst-ifunc-textrel.c): New rule.
6526 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6527 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6528 * elf/tst-ifunc-textrel.c: New file.
6530 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6532 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6533 <bits/procfs-prregset.h>.
6534 (prgregset_t): Define using __prgregset_t.
6535 (prfpregset_t): Define using __prfpregset_t.
6536 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6537 (sysdep_headers): Add bits/procfs-prregset.h.
6538 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6539 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6540 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6541 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6543 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6544 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6545 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6547 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6548 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6549 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6550 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6551 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6552 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6553 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6554 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6555 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6556 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6557 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6558 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6559 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6560 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6562 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6563 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6564 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6565 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6566 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6568 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6569 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6572 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6573 AArch64 version. Include <bits/procfs.h>.
6574 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6575 (sysdep_headers): Add bits/procfs.h.
6576 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6577 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6578 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6579 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6580 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6581 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6582 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6583 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6584 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6585 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6586 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6587 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6588 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6589 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6590 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6591 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6592 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6594 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6596 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6599 2018-09-25 Arjun Shankar <arjun@redhat.com>
6601 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6602 (__gconv_max_path_elem_len): Likewise.
6603 (__gconv_nmodules): Likewise.
6604 (__gconv_get_path): Likewise.
6605 (path_elem): Move to ...
6606 * iconv/gconv_conf.c: ... here.
6607 (__gconv_get_path): Mark function static.
6608 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6609 * iconv/gconv_open.c: ... here.
6611 2018-09-24 Andreas Schwab <schwab@suse.de>
6613 * scripts/haveversions.awk: New file.
6614 * Makerules ($(common-objpfx)Versions.def)
6615 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6616 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6618 * Makeconfig ($(common-objpfx)Versions.def)
6619 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6620 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6622 ($(common-objpfx)Versions.mk): New rule. Include it.
6623 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6624 Emit error if build-obsolete-nsl = yes.
6625 * manual/install.texi (Configuring and compiling): Describe
6626 --enable-obsolete-nsl as unavaiable after version 2.28.
6627 * INSTALL: Regenerate.
6629 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6631 * NEWS: Add note about new TLE support on powerpc64le.
6632 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6633 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6635 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6636 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6637 * sysdeps/powerpc/powerpc32/sysdep.h,
6638 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6639 ABORT_TRANSACTION): Remove macros.
6640 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6641 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6642 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6644 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6645 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6647 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6649 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6652 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6653 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6654 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6655 which is the same as in it_IT.
6656 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6657 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6659 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6661 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6662 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6663 using MATH_REDIRECT.
6664 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6666 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6668 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6676 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6677 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6678 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6680 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6681 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6682 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6684 (ceil): Redirect to __ceil.
6685 (floor): Redirect to __floor.
6686 (trunc): Redirect to __trunc.
6687 (__truncl): Call trunc instead of __trunc.
6688 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6690 [_ARCH_PWR5X] (__truncf): Likewise.
6691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6692 trunc functions instead of __trunc variants.
6693 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6702 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6703 [__i586__ || __pentium__].
6704 [__i486__]: Handle explicitly.
6705 (HAS_CPUID): Define to 1 if above macros are undefined.
6706 (HAS_I586): Likewise.
6707 (HAS_I686): Likewise.
6709 2018-09-20 Florian Weimer <fweimer@redhat.com>
6711 * misc/tst-gethostid.c: New file.
6712 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6713 (tst-gethostid): Link with -ldl.
6715 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6717 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6718 value from gethostbyname_r.
6720 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6722 * stdlib/tst-setcontext9.c (f1): Rename to...
6724 (f1b): New function implementing lower half of f1 in alternate stack.
6726 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6728 Fix mktime localtime offset confusion
6730 * include/time.h (__mktime_internal): The localtime offset is now
6731 of type long int instead of time_t. This is the longstanding type
6732 in glibc, and it is more than enough to represent difference
6733 between localtime and gmtime even if it is 32 bits and time_t is
6734 64. Changing it now will let us avoid an unnecessary change when
6735 time_t is widened to 64 bits on 32-bit platforms.
6736 * time/mktime-internal.h (mktime_offset_t): Now long int.
6738 Merge mktime, timegm from upstream Gnulib
6739 [BZ #23603][BZ #16346]
6740 This fixes some obscure problems with integer overflow.
6741 Although it looks scary, it is almost all a byte-for-byte copy
6742 from Gnulib, and the Gnulib code has been tested reasonably well.
6743 * include/intprops.h: New file, copied from Gnulib.
6744 * include/verify.h, time/mktime-internal.h:
6745 New tiny files, simplified from Gnulib.
6746 * time/mktime.c: Copy from Gnulib. This has the following changes:
6747 Do not include config.h if DEBUG_MKTIME is nonzero.
6748 Include stdbool.h, intprops.h, verify.h.
6749 Include string.h only if needed.
6750 Include stdlib.h on MS-Windows.
6751 Include mktime-internal.h.
6752 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6753 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6754 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6755 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6756 simplify later conditionals; default the others to zero. Use
6757 these conditionals to express only the code needed on the current
6758 platform. In uses of these conditionals, explicitly spell out how
6759 _LIBC affects things, so it’s easier to review from a glibc
6761 (WRAPV): Remove; no longer needed now that we have
6762 systematic overflow checking.
6763 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6764 compartmentalize tzset issues. Move system-dependent tzsettish
6765 code here from mktime.
6766 (verify): Remove; now done by verify.h. All uses changed.
6767 (long_int): Use a more-conservative definition, to avoid
6769 (SHR): Remove, replacing with ...
6770 (shr): New function, which means we needn’t worry about side
6771 effects in args, and conversion analysis is simpler.
6772 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6773 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6774 (time_t_avg, time_t_add_ok): Remove.
6775 (mktime_min, mktime_max): New constants.
6776 (leapyear, isdst_differ): Use bool for booleans.
6777 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6778 Use long_int, not time_t, for mktime differences.
6779 (long_int_avg): New function, replacing time_t_avg.
6780 INT_ADD_WRAPV replaces time_t_add_ok.
6781 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6783 (convert_time): New function.
6784 (ranged_convert): Use it.
6785 (__mktime_internal): Last arg now points to mktime_offset_t, not
6786 time_t. All uses changed. This is a no-op on glibc, where
6787 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6788 offset guess. Directly check for integer overflow instead of
6789 using a heuristic that works only 99.9...% of the time.
6790 Access *OFFSET only once, to avoid an unlikely race if the
6791 compiler delays a load and if this cascades into a signed integer
6793 (mktime): Move tzsettish code to my_tzset, and move
6794 localtime_offset to within mktime so that it doesn’t
6795 need a separate ifdef.
6796 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6797 instead of localtime.
6798 * time/timegm.c: Copy from Gnulib. This has the following changes:
6799 Include mktime-internal.h.
6800 [!_LIBC]: Include config.h and time.h. Do not include
6801 timegm.h or time_r.h. Make __mktime_internal a macro,
6802 and include mktime-internal.h to get its declaration.
6803 (timegm): Temporary is now mktime_offset_t, not time_t.
6804 This affects only Gnulib.
6806 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6809 * string/test-strstr.c (pr23637): New function.
6810 (test_main): Add tests with longer needles.
6811 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6812 * string/strstr.c (AVAILABLE): Likewise.
6814 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6816 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6818 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6820 * NEWS: Mention pow improvements.
6821 * math/Makefile (type-double-routines): Add e_pow_log_data.
6822 * sysdeps/generic/math_private.h (__exp1): Remove.
6823 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6824 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6825 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6827 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6828 (exp_inline): Remove.
6829 (__ieee754_exp): Only single double input is handled.
6830 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6831 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6832 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6833 (__pow_log_data): Define.
6834 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6835 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6836 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6837 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6839 (CFLAGS-e_pow-fma4.c): Likewise.
6841 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6843 Simplify tzfile fstat failure code
6845 * time/tzfile.c (__tzfile_read): Simplify slightly.
6847 Fix tzfile low-memory assertion failure
6849 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6850 when registering time zone abbreviations.
6852 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6854 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6855 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6856 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6857 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6858 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6859 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6860 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6862 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6866 (__ceill): Call ceil instead of __ceil.
6867 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6869 (__floorl): Call floor instead of __floor.
6871 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6873 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6874 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6875 using MATH_REDIRECT.
6876 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6878 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6881 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6885 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6890 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6891 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6896 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6898 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6899 functions instead of __ceil variants.
6900 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6901 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6905 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6906 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6908 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6909 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6912 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6914 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6915 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6916 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6917 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6918 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6919 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6920 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6921 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6922 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6923 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6924 (ILL_BADIADDR): Remove constant.
6925 (TRAP_BRANCH): Likewise.
6926 (TRAP_HWBKPT): Likewise.
6928 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6932 Remove [_MIPS_SIM = _ABIN32] conditional case.
6933 (struct elf_prpsinfo): Likewise.
6936 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6937 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6938 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6940 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6941 elf_prpsinfo): Likewise.
6942 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6943 elf_prpsinfo): Likewise.
6944 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6947 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6948 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6949 using MATH_REDIRECT.
6950 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6952 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6953 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6954 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6955 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6958 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6962 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6963 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6964 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6965 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6966 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6967 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6969 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6970 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6975 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6977 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6978 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6980 * math/e_scalbf.c (invalid_fn): Likewise.
6981 * math/e_scalbl.c (invalid_fn): Likewise.
6982 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6984 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6987 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6988 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6990 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6994 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6995 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6997 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6998 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7000 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7001 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7002 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7003 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7004 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7005 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7006 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7007 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7008 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7009 && !NO_MATH_REDIRECT] (floor): Likewise.
7010 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7012 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7015 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7016 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7019 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7024 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7025 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7028 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7029 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7030 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7032 [_ARCH_PWR5X] (__floorf): Likewise.
7033 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7035 [__SSE4_1__] (__floorf): Likewise.
7036 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7037 instead of __floor variants.
7038 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7039 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7040 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7041 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7042 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7043 * math/w_tgamma_compat.c (__tgamma): Likewise.
7044 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7045 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7046 * math/w_tgammal_compat.c (__tgammal): Likewise.
7047 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7050 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7052 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7055 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7056 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7058 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7066 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7067 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7068 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7069 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7071 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7073 * elf/Makefile (modules-names-tests): New variable.
7075 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7077 * NEWS: Mention log2 improvements.
7078 * math/Makefile (type-double-routines): Add e_log2_data.
7079 * sysdeps/i386/fpu/e_log2_data.c: New file.
7080 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7081 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7082 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7083 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7085 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7087 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7089 * NEWS: Mention log improvement.
7090 * math/Makefile (type-double-routines): Add e_log_data.
7091 * sysdeps/i386/fpu/e_log_data.c: New file.
7092 * sysdeps/ia64/fpu/e_log_data.c: New file.
7093 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7094 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7095 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7096 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7097 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7098 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7100 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7101 Xuepeng Guo <xuepeng.guo@intel.com>
7104 * sysdeps/i386/start.S: Include <sysdep.h>
7105 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7106 enabled. Add cfi_undefined (eip).
7108 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7112 (EXTRACT_WORDS64): Likewise.
7113 (INSERT_WORDS64): Likewise.
7114 (GET_FLOAT_WORD): Likewise.
7115 (SET_FLOAT_WORD): Likewise.
7117 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7119 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7120 build, but not for second build if --full-gcc. Use
7121 --enable-languages=all for second build if --full-gcc.
7122 (get_parser): Add --full-gcc option.
7123 (main): Update call to Context.
7125 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7128 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7129 Single Quotation Mark).
7130 (thousands_sep): Likewise.
7131 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7132 * localedata/locales/it_IT (thousands_sep): Use ".".
7133 (grouping): Use "3;3".
7135 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7137 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7138 x86_64 and i686 configs using --enable-obsolete-rpc
7139 --enable-obsolete-nsl.
7141 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7143 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7145 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7147 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7148 Increment size of new_argv by one.
7150 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7153 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7154 * localedata/locales/ar_IN (d_fmt): Likewise.
7155 * localedata/locales/bhb_IN (d_fmt): Likewise.
7156 * localedata/locales/bho_IN (d_fmt): Likewise.
7157 * localedata/locales/bn_BD (d_fmt): Likewise.
7158 * localedata/locales/bn_IN (d_fmt): Likewise.
7159 * localedata/locales/doi_IN (d_fmt): Likewise.
7160 * localedata/locales/gu_IN (d_fmt): Likewise.
7161 * localedata/locales/hi_IN (d_fmt): Likewise.
7162 * localedata/locales/hne_IN (d_fmt): Likewise.
7163 * localedata/locales/kn_IN (d_fmt): Likewise.
7164 * localedata/locales/mag_IN (d_fmt): Likewise.
7165 * localedata/locales/mai_IN (d_fmt): Likewise.
7166 * localedata/locales/mjw_IN (d_fmt): Likewise.
7167 * localedata/locales/ml_IN (d_fmt): Likewise.
7168 * localedata/locales/mni_IN (d_fmt): Likewise.
7169 * localedata/locales/mr_IN (d_fmt): Likewise.
7170 * localedata/locales/pa_IN (d_fmt): Likewise.
7171 * localedata/locales/raj_IN (d_fmt): Likewise.
7172 * localedata/locales/sat_IN (d_fmt): Likewise.
7173 * localedata/locales/sd_IN (d_fmt): Likewise.
7174 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7175 * localedata/locales/ta_IN (d_fmt): Likewise.
7176 * localedata/locales/ta_LK (d_fmt): Likewise.
7177 * localedata/locales/tcy_IN (d_fmt): Likewise.
7178 * localedata/locales/ur_IN (d_fmt): Likewise.
7180 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7181 * localedata/locales/ks_IN (d_fmt): Likewise.
7182 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7184 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7185 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7186 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7187 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7189 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7191 * NEWS: Mention exp and exp2 improvements.
7192 * math/Makefile (libm-support): Remove t_exp.
7193 (type-double-routines): Add math_err and e_exp_data.
7194 * sysdeps/aarch64/libm-test-ulps: Update.
7195 * sysdeps/arm/libm-test-ulps: Update.
7196 * sysdeps/i386/fpu/e_exp_data.c: New file.
7197 * sysdeps/i386/fpu/math_err.c: New file.
7198 * sysdeps/i386/fpu/t_exp.c: Remove.
7199 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7200 * sysdeps/ia64/fpu/math_err.c: New file.
7201 * sysdeps/ia64/fpu/t_exp.c: Remove.
7202 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7203 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7204 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7206 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7207 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7208 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7209 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7210 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7211 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7212 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7213 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7214 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7215 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7219 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7221 * sysdeps/alpha/fpu/math_private.h: Remove.
7223 * sysdeps/generic/math_private.h
7224 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7225 Move this inline function ....
7226 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7227 * include/math.h [!_ISOMAC]: To here....
7229 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7231 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7233 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7234 * include/fenv.h [!_ISOMAC]: ... to here.
7235 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7236 (feraiseexcept): Likewise.
7237 * math/fromfp.h: Do not include <fenv_private.h>.
7238 * math/s_cexp_template.c: Likewise.
7239 * math/s_csin_template.c: Likewise.
7240 * math/s_csinh_template.c: Likewise.
7241 * math/s_ctan_template.c: Likewise.
7242 * math/s_ctanh_template.c: Likewise.
7243 * math/s_iseqsig_template.c: Likewise.
7244 * math/w_acos_compat.c: Likewise.
7245 * math/w_acosf_compat.c: Likewise.
7246 * math/w_acosl_compat.c: Likewise.
7247 * math/w_asin_compat.c: Likewise.
7248 * math/w_asinf_compat.c: Likewise.
7249 * math/w_asinl_compat.c: Likewise.
7250 * math/w_j0_compat.c: Likewise.
7251 * math/w_j0f_compat.c: Likewise.
7252 * math/w_j0l_compat.c: Likewise.
7253 * math/w_j1_compat.c: Likewise.
7254 * math/w_j1f_compat.c: Likewise.
7255 * math/w_j1l_compat.c: Likewise.
7256 * math/w_jn_compat.c: Likewise.
7257 * math/w_jnf_compat.c: Likewise.
7258 * math/w_log10_compat.c: Likewise.
7259 * math/w_log10f_compat.c: Likewise.
7260 * math/w_log10l_compat.c: Likewise.
7261 * math/w_log2_compat.c: Likewise.
7262 * math/w_log2f_compat.c: Likewise.
7263 * math/w_log2l_compat.c: Likewise.
7264 * math/w_log_compat.c: Likewise.
7265 * math/w_logf_compat.c: Likewise.
7266 * math/w_logl_compat.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7272 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7273 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7274 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7275 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7276 * sysdeps/ieee754/k_standardl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7294 * math/w_ilogb_template.c: Include <fenv.h> instead of
7296 * math/w_llogb_template.c: Likewise.
7297 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7298 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7300 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7302 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7303 * math/fromfp.h: Include <fenv_private.h>.
7304 * math/math-narrow.h: Likewise.
7305 * math/s_cexp_template.c: Likewise.
7306 * math/s_csin_template.c: Likewise.
7307 * math/s_csinh_template.c: Likewise.
7308 * math/s_ctan_template.c: Likewise.
7309 * math/s_ctanh_template.c: Likewise.
7310 * math/s_iseqsig_template.c: Likewise.
7311 * math/w_acos_compat.c: Likewise.
7312 * math/w_acosf_compat.c: Likewise.
7313 * math/w_acosl_compat.c: Likewise.
7314 * math/w_asin_compat.c: Likewise.
7315 * math/w_asinf_compat.c: Likewise.
7316 * math/w_asinl_compat.c: Likewise.
7317 * math/w_ilogb_template.c: Likewise.
7318 * math/w_j0_compat.c: Likewise.
7319 * math/w_j0f_compat.c: Likewise.
7320 * math/w_j0l_compat.c: Likewise.
7321 * math/w_j1_compat.c: Likewise.
7322 * math/w_j1f_compat.c: Likewise.
7323 * math/w_j1l_compat.c: Likewise.
7324 * math/w_jn_compat.c: Likewise.
7325 * math/w_jnf_compat.c: Likewise.
7326 * math/w_llogb_template.c: Likewise.
7327 * math/w_log10_compat.c: Likewise.
7328 * math/w_log10f_compat.c: Likewise.
7329 * math/w_log10l_compat.c: Likewise.
7330 * math/w_log2_compat.c: Likewise.
7331 * math/w_log2f_compat.c: Likewise.
7332 * math/w_log2l_compat.c: Likewise.
7333 * math/w_log_compat.c: Likewise.
7334 * math/w_logf_compat.c: Likewise.
7335 * math/w_logl_compat.c: Likewise.
7336 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7337 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7338 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7339 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7364 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7368 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7369 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7370 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7371 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7372 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7373 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7374 * sysdeps/ieee754/k_standardl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7411 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7413 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7414 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7415 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7416 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7417 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7418 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7419 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7420 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7421 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7422 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7423 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7424 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7425 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7426 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7427 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7428 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7429 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7430 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7431 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7432 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7433 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7434 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7435 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7436 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7437 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7438 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7439 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7440 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7441 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7442 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7443 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7444 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7445 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7447 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7450 * include/stdio.h (__libc_fatal): Mention newline in comment.
7451 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7452 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7454 * nss/nsswitch.c (__nss_next2): Likewise.
7455 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7456 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7457 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7458 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7459 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7460 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7461 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7463 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7464 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7465 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7466 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7467 (__netlink_assert_response): Likewise.
7469 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7471 * conform/glibcconform.py: New file.
7472 * conform/list-header-symbols.py: Likewise.
7473 * conform/list-header-symbols.pl: Remove.
7474 * conform/Makefile (tests-special): Only add linknamespace tests
7476 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7478 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7481 * support/Makefile (libsupport-routines): Add
7482 support_copy_file_range and xcopy_file_range.
7483 * support/support.h: Include <sys/types.h>.
7484 (support_copy_file_range): New prototype.
7485 * support/support_copy_file_range.c: New file. Copied and
7486 modified from io/copy_file_range-compat.c.
7487 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7488 instead of copy_file_range.
7489 * support/xcopy_file_range.c: New file.
7490 * support/xunistd.h (xcopy_file_range): New prototype.
7492 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7494 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7495 xpthread_create and xpthread_join.
7497 2018-08-30 Florian Weimer <fweimer@redhat.com>
7499 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7501 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7503 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7506 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7508 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7509 and minus_oflow as non-finite.
7511 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7513 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7514 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7515 moved to fenv_private.h except for ...
7516 (TOINT_INTRINSICS): Kept in math_private.h.
7517 (roundtoint): Likewise.
7518 (converttoint): Likewise.
7519 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7520 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7521 * sysdeps/arm/math_private.h: Remove.
7522 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7524 * sysdeps/generic/math_private.h: ... this file. Include
7525 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7526 Include <fenv_private.h>. Remove functions and macros moved to
7528 * sysdeps/i386/fpu/math_private.h: Remove.
7529 * sysdeps/mips/math_private.h: Move to ....
7530 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7531 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7532 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7533 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7534 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7535 * sysdeps/powerpc/fpu/math_private.h: Do not include
7537 * sysdeps/riscv/rvf/math_private.h: Move to ....
7538 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7539 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7541 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7542 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7543 * sysdeps/sparc/fpu/math_private.h: Remove.
7544 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7545 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7546 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7548 * sysdeps/x86_64/fpu/math_private.h: Do not include
7549 <sysdeps/i386/fpu/fenv_private.h>.
7551 2018-08-28 Florian Weimer <fweimer@redhat.com>
7554 * posix/tst-regcomp-truncated.c: New file.
7555 * posix/Makefile (tests): Add it.
7556 (tst-regcomp-truncated.out): Depend on generated locales.
7558 2018-08-28 Florian Weimer <fweimer@redhat.com>
7560 * support/test-container.c (main): Treat unshare failure with
7561 EPERM as an unsupported test.
7563 2018-08-28 Florian Weimer <fweimer@redhat.com>
7566 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7567 * nscd/netgroupcache.c
7568 (addgetnetgrentX): Add tofreep parameter. Do not free
7569 heap-allocated buffer.
7570 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7571 (addgetnetgrentX_ignore): New function.
7572 (addgetnetgrent): Call it.
7573 (readdgetnetgrent): Likewise.
7575 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7577 * string/memmem.c: Use memcmp for first match.
7579 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7582 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7584 2018-08-27 DJ Delorie <dj@redhat.com>
7586 * support/Makefile (others): Don't list programs explicitly as a
7587 dependency of "others".
7589 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/generic/math-tests-trap-force.h: New file.
7592 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7593 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7594 * sysdeps/powerpc/math-tests.h: Remove file.
7595 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7597 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7598 Torvald Riegel <triegel@redhat.com>
7601 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7602 Update r to include the set wake-request flag if waiters are
7603 remaining after spinning.
7605 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7609 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7612 regex: fix uninitialized memory access
7613 I introduced this bug into gnulib in commit
7614 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7615 eventually it was merged into glibc. The bug was found by
7616 project-repo <bugs@feusi.co> and reported here:
7617 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7618 Diagnosis and draft fix reported by Assaf Gordon here:
7619 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7620 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7621 * posix/regex_internal.c (build_wcs_upper_buffer):
7622 Fix bug when mbrtowc returns 0.
7624 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7626 * po/be.po: Update translation.
7628 2018-08-24 DJ Delorie <dj@delorie.com>
7630 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7633 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7636 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7637 create temporary files in source tree.
7639 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7641 * sysdeps/generic/math-tests-trap.h: New file.
7642 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7643 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7644 * sysdeps/aarch64/math-tests.h: Remove file.
7645 * sysdeps/arm/math-tests.h: Likewise.
7646 * sysdeps/riscv/math-tests.h: Likewise.
7647 * sysdeps/aarch64/math-tests-trap.h: New file.
7648 * sysdeps/arm/math-tests-trap.h: Likewise.
7649 * sysdeps/riscv/math-tests-trap.h: Likewise.
7651 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7653 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7654 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7655 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7656 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7657 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7658 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7666 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7667 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7668 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7672 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7674 * sysdeps/generic/math-tests-exceptions.h: New file.
7675 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7676 (EXCEPTION_TESTS_float): Do not define here.
7677 (EXCEPTION_TESTS_double): Likewise.
7678 (EXCEPTION_TESTS_long_double): Likewise.
7679 (EXCEPTION_TESTS_float128): Likewise.
7680 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7682 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7683 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7684 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7685 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7686 * sysdeps/mips/math-tests.h: Likewise.
7687 * sysdeps/nios2/math-tests.h: Likewise.
7688 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7689 (EXCEPTION_TESTS_float): Do not define here.
7690 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7691 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7692 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7694 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7696 * NEWS: Move optimized sinf entry to 2.29.
7698 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7700 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7702 2018-08-22 DJ Delorie <dj@redhat.com>
7704 * Makefile (testroot.pristine): New rules to initialize the
7705 test-in-container "testroot".
7706 * Makerules (all-testsuite): Add tests-container.
7707 * Rules (tests-expected): Add tests-container.
7708 (binaries-all-tests): Likewise.
7709 (tests-container): New, run these tests in the testroot container.
7710 * support/Makefile (others): Add *-container, support_paths.c,
7711 xmkdirp, and links-dso-program.
7712 * support/links-dso-program-c.c: New.
7713 * support/links-dso-program.cc: New.
7714 * support/test-container.c: New.
7715 * support/shell-container.c: New.
7716 * support/echo-container.c: New.
7717 * support/true-container.c: New.
7718 * support/xmkdirp.c: New.
7719 * support/xsymlink.c: New.
7720 * support/support_paths.c: New.
7721 * support/support.h: Add support paths prototypes.
7722 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7724 * nss/tst-nss-test3.c: Convert to test-in-container.
7725 * nss/tst-nss-test3.root/: New.
7727 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7729 regex: port Gnulib code to z/OS POSIX environment
7730 Problem reported by Arnold Robbins in:
7731 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7732 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7735 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7737 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7738 (ROUNDING_TESTS_double): Remove.
7739 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7740 (ROUNDING_TESTS_double): Remove.
7741 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7742 (ROUNDING_TESTS_double): Remove.
7743 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7744 (ROUNDING_TESTS_float): Remove.
7745 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7746 (ROUNDING_TESTS_float): Remove.
7747 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7748 (ROUNDING_TESTS_float): Remove.
7749 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7751 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7752 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7754 * sysdeps/generic/math-tests-rounding.h: New file.
7755 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7756 (ROUNDING_TESTS_float): Do not define here.
7757 (ROUNDING_TESTS_double): Likewise.
7758 (ROUNDING_TESTS_long_double): Likewise.
7759 (ROUNDING_TESTS_float128): Likewise.
7760 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7761 (ROUNDING_TESTS_double): Undefine before defining.
7762 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7763 (ROUNDING_TESTS_double): Undefine before defining.
7764 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7765 (ROUNDING_TESTS_double): Undefine before defining.
7766 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7767 (ROUNDING_TESTS_float): Undefine before defining.
7768 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7769 (ROUNDING_TESTS_float): Undefine before defining.
7770 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7771 (ROUNDING_TESTS_float): Undefine before defining.
7772 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7773 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7775 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7776 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7777 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7778 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7779 (ROUNDING_TESTS_float): Do not define here.
7780 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7781 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7782 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7783 (ROUNDING_TESTS_float): Likewise.
7784 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7785 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7786 * sysdeps/mips/math-tests.h [__mips_soft_float]
7787 (ROUNDING_TESTS_float): Likewise.
7788 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7789 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7790 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7791 (ROUNDING_TESTS_double): Likewise.
7792 (ROUNDING_TESTS_long_double): Likewise.
7794 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7796 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7797 (PF_XDP): New macro.
7798 (AF_XDP): New macro.
7799 (SOL_XDP): New macro.
7801 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7803 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7804 (TCP_INQ): Likewise.
7805 (TCP_CM_INQ): Likewise.
7806 (TCP_REPAIR_ON): Likewise.
7807 (TCP_REPAIR_OFF): Likewise.
7808 (TCP_REPAIR_OFF_NO_WP): Likewise.
7809 (struct tcp_zerocopy_receive): New type.
7811 2018-08-21 Florian Weimer <fweimer@redhat.com>
7813 * support/support.h (support_descriptor_supports_holes): Declare.
7814 * support/Makefile (libsupport-routines): Add
7815 support_descriptor_supports_holes.
7816 * support/support_descriptor_supports_holes.c: New file.
7817 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7818 and stop testing if holes are not supported.
7819 * io/test-lfs.c (do_prepare): Likewise.
7820 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7822 * timezone/tst-tzset.c (create_tz_file): Likewise.
7823 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7825 (do_prepare): Set it.
7826 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7828 2018-08-21 Florian Weimer <fweimer@redhat.com>
7831 * Makeconfig (+cflags): Do not sort (and deduplicate).
7833 2018-08-21 Florian Weimer <fweimer@redhat.com>
7835 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7836 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7838 2018-08-20 Florian Weimer <fweimer@redhat.com>
7840 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7841 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7843 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7845 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7846 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7847 and ssi_arch members.
7849 * elf/elf.c (NT_VMCOREDD): New macro.
7850 (AT_MINSIGSTKSZ): Likewise.
7852 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7855 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7856 s_cosf-ppc64 and s_cosf-power8.
7857 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7858 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7860 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7867 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7868 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7870 2018-08-17 Florian Weimer <fweimer@redhat.com>
7872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7874 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7876 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7878 2018-08-16 Florian Weimer <fweimer@redhat.com>
7880 * configure.ac: Add --with-nonshared-cflags option.
7881 * config.make.in (extra-nonshared-cflags): Set variable.
7882 * Makeconfig (CFLAGS-.oS): Use it.
7883 * manual/install.texi (Configuring and compiling): Document
7884 --with-nonshared-cflags.
7885 * configure: Regenerate.
7886 * INSTALL: Likewise.
7888 2018-08-16 Florian Weimer <fweimer@redhat.com>
7890 * Makeconfig (ASFLAGS): Always append required assembler flags.
7892 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7894 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7895 (malloc_consolidate): Likewise.
7897 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7899 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7901 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7903 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7906 * benchtests/bench-strlen.c: Print performance numbers in json.
7908 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7910 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7911 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7912 only for little endian.
7913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7914 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7915 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7917 Add check for little endian.
7918 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7919 (__strcmp_power9): Add check for little endian.
7920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7921 Add check for little endian.
7922 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7923 (__strncmp_power9): Add check for little endian.
7924 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7925 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7926 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7927 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7928 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7930 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7932 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7933 [!STRLEN](STRLEN): Set to __strlen.
7934 * sysdeps/aarch64/multiarch/strlen.c: New file.
7935 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7936 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7937 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7938 (__libc_ifunc_impl_list): Add strlen.
7939 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7940 strlen_generic and strlen_asimd.
7942 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7945 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7946 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7948 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7952 2018-08-14 Florian Weimer <fweimer@redhat.com>
7955 * include/stdio.h (__vfxprintf): Declare.
7956 * stdio-common/fxprintf.c (__vfxprintf): New function.
7957 (__fxprintf): Call it.
7958 * misc/err.c (convert_and_print): Remove function.
7959 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7960 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7961 * misc/Makefile (tests): Add tst-warn-wide.
7962 * misc/tst-warn-wide.c: New file.
7964 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7965 Szabolcs Nagy <szabolcs.nagy@arm.com>
7967 * NEWS: Mention sinf, cosf, sincosf.
7968 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7969 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7970 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7971 constants rather than including generic sincosf.h.
7972 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7973 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7974 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7975 (reduced_cos): Remove.
7976 (sinf_poly): New function.
7977 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7979 2018-08-14 Florian Weimer <fweimer@redhat.com>
7983 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7984 processing, bail out if no room, and close the stream before
7986 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7987 (tst-nss-files-alias-leak): Link with libdl.
7988 (tst-nss-files-alias-leak.out): Depend on nss_files.
7990 * nss/tst-nss-files-alias-leak.c: New file.
7992 2018-08-14 Florian Weimer <fweimer@redhat.com>
7994 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7995 server_user, stat_user.
7997 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7999 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8001 (io_pgetevents): New syscall.
8004 * manual/install.texi (Configuring and compiling): Do not list
8005 tools used for testing pretty printers here.
8006 (Tools for Compilation): List Python, PExpect and GDB here.
8007 Update descriptions of uses of Perl and Python.
8008 * INSTALL: Regenerate.
8010 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8013 2018-08-13 Florian Weimer <fweimer@redhat.com>
8015 * misc/error.c (error): Add missing va_end call.
8016 (error_at_line): Likewise.
8018 2018-08-13 Florian Weimer <fweimer@redhat.com>
8020 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8022 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8024 * benchtests/scripts/benchout.schema.json (properties): Add
8027 * benchtests/bench-skeleton.c (main): Add duration and
8028 iterations attributes.
8030 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8032 regex: Gnulib unibyte RRI uses bytes not chars
8033 Adjust the non-glibc code to agree with what Gawk needs for
8034 rational range interpretation (RRI) for regular expression ranges.
8035 In unibyte locales, Gawk wants ranges to use the underlying byte
8036 rather than the character code point. This change does not affect
8038 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8039 In unibyte locales, use the byte value rather than
8040 running it through btowc.
8042 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8044 * sysdeps/generic/math-tests-snan.h: New file.
8045 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8046 (SNAN_TESTS_float): Do not define here.
8047 (SNAN_TESTS_double): Likewise.
8048 (SNAN_TESTS_long_double): Likewise.
8049 (SNAN_TESTS_float128): Likewise.
8050 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8051 * sysdeps/i386/fpu/math-tests.h: Remove file.
8052 * sysdeps/ia64/math-tests-snan.h: New file.
8053 * sysdeps/ia64/math-tests.h: Remove file.
8054 * sysdeps/x86/math-tests.h: Likewise.
8055 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8057 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8058 Szabolcs Nagy <szabolcs.nagy@arm.com>
8060 * math/Makefile: Add s_sincosf_data.c.
8061 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8062 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8063 (sincosf_poly): Likewise.
8064 (reduce_small): Likewise.
8065 (reduce_large): Likewise.
8066 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8067 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8068 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8069 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8071 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8072 Szabolcs Nagy <szabolcs.nagy@arm.com>
8074 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8075 (converttoint): Use lround.
8076 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8077 document the semantics when TOINT_INTRINSICS is set.
8078 (converttoint): Likewise.
8079 (TOINT_RINT): Remove.
8080 (TOINT_SHIFT): Remove.
8081 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8084 2018-08-10 Florian Weimer <fweimer@redhat.com>
8087 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8089 (__old_getdents64): Use getdents64. Convert entries without
8091 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8092 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8093 tst-readdir64-compat.
8095 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8097 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8100 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8102 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8103 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8104 code to s390x-mcount.h and #include it.
8105 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8109 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8111 * stdlib/Versions: Remove __fentry__.
8112 * sysdeps/i386/Versions: Add __fentry__.
8113 * sysdeps/x86_64/Versions: Add __fentry__.
8115 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8117 * sysdeps/s390/Makefile: Register the new tests.
8118 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8119 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8120 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8121 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8122 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8123 * sysdeps/s390/tst-dl-runtime.c: New file.
8125 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8127 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8130 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8132 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8135 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8137 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8140 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8142 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8145 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8147 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8148 Use symbolic offsets for stack variables.
8150 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8152 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8153 Use symbolic offsets for stack variables.
8155 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8157 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8158 Use symbolic offsets for stack variables.
8160 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8162 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8163 Use symbolic offsets for stack variables.
8165 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8167 * math/gen-libm-test.py: New file.
8168 * math/gen-libm-test.pl: Remove.
8169 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8170 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8172 ($(libm-test-c-noauto-obj)): Likewise.
8173 ($(libm-test-c-auto-obj)): Likewise.
8174 ($(libm-test-c-narrow-obj)): Likewise.
8175 (regen-ulps): Likewise.
8176 * math/README.libm-test: Update references to gen-libm-test.pl.
8177 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8178 referencing gen-libm-test.pl.
8179 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8180 * math/libm-test-support.c: Likewise.
8181 * math/libm-test-support.h: Likewise.
8182 * sysdeps/generic/libm-test-ulps: Likewise.
8184 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8186 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8189 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8191 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8192 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8194 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8196 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8198 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8199 __pthread_setspecific): Add hidden proto.
8200 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8201 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8203 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8205 * benchtests/bench-string.h (buf1_size, buf2_size): New
8207 (init_sizes): New function.
8208 (test_init): Use it.
8209 (alloc_buf, exit_error): New functions.
8210 (alloc_bufs): Use ALLOC_BUF.
8211 (realloc_bufs): Remove.
8212 * benchtests/bench-memcmp.c (do_test): Adjust.
8213 * benchtests/bench-memset-large.c (do_test): Likewise.
8214 * benchtests/bench-memset-walk.c (do_test): Likewise.
8215 * benchtests/bench-memset.c (do_test): Likewise.
8216 * benchtests/bench-strncmp.c (do_test): Likewise.
8218 2018-08-06 Andreas Schwab <schwab@suse.de>
8220 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8221 of CONST_THREAD_AREA.
8223 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8225 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8226 (STATE_SAVE_MASK): Likewise.
8227 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8228 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8229 (STATE_SAVE_MASK): Likewise.
8230 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8231 instead of <cpu-features.h>.
8233 2018-08-03 DJ Delorie <dj@redhat.com>
8235 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8236 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8238 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8240 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8242 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8244 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8245 * math/libm-test-logb.inc (logb_test_data): Likewise.
8247 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8249 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8250 * string/strstr.c (AVAILABLE): Likewise.
8252 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8254 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8256 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8257 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8258 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8260 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8262 * po/be.po: Update translation.
8264 * po/be.po: Update translation.
8266 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8268 * sysdeps/x86/cpu-features-offsets.sym
8269 (rtld_global_ro_offsetof): Removed.
8270 (CPU_FEATURES_SIZE): Likewise.
8271 (CPUID_OFFSET): Likewise.
8272 (CPUID_SIZE): Likewise.
8273 (CPUID_EAX_OFFSET): Likewise.
8274 (CPUID_EBX_OFFSET): Likewise.
8275 (CPUID_ECX_OFFSET): Likewise.
8276 (CPUID_EDX_OFFSET): Likewise.
8277 (FAMILY_OFFSET): Likewise.
8278 (MODEL_OFFSET): Likewise.
8279 (FEATURE_OFFSET): Likewise.
8280 (FEATURE_SIZ): Likewise.
8281 (COMMON_CPUID_INDEX_1): Likewise.
8282 (COMMON_CPUID_INDEX_7): Likewise.
8283 (FEATURE_INDEX_1): Likewise.
8284 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8286 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8288 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8289 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8290 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8291 (install-locales): Depend on install-locale-archive.
8292 (install-locale-archive): Define.
8293 (install-locale-files): Define.
8294 (build-one-locale): Define macro.
8295 * manual/install.texi (Running make install): Document.
8296 * manual/INSTALL: Regenerate.
8298 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8300 * benchtests/scripts/compare_strings.py: Import traceback.
8301 (parse_file): Pretty-print error.
8303 * NEWS: Mention the change.
8304 * elf/dl-tunables.list: Rename tune namespace to cpu.
8305 * sysdeps/powerpc/dl-tunables.list: Likewise.
8306 * sysdeps/x86/dl-tunables.list: Likewise.
8307 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8309 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8310 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8311 * manual/README.tunables: Likewise.
8312 * manual/tunables.texi: Likewise.
8313 * sysdeps/powerpc/cpu-features.c: Likewise.
8314 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8315 (init_cpu_features): Likewise.
8316 * sysdeps/x86/cpu-features.c: Likewise.
8317 * sysdeps/x86/cpu-features.h: Likewise.
8318 * sysdeps/x86/cpu-tunables.c: Likewise.
8319 * sysdeps/x86_64/Makefile: Likewise.
8320 * sysdeps/x86/dl-cet.c: Likewise.
8322 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8325 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8326 [__mips_hard_float].
8327 (FE_UNDERFLOW): Likewise.
8328 (FE_OVERFLOW): Likewise.
8329 (FE_DIVBYZERO): Likewise.
8330 (FE_INVALID): Likewise.
8331 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8332 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8333 (FE_UPWARD): Likewise.
8334 (FE_DOWNWARD): Likewise.
8335 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8336 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8337 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8338 [__mips_hard_float].
8339 (FP_ROUNDMODE): Likewise.
8340 (FP_RND_NEAREST): Likewise.
8341 (FP_RND_ZERO): Likewise.
8342 (FP_RND_PINF): Likewise.
8343 (FP_RND_MINF): Likewise.
8344 (FP_EX_INVALID): Likewise.
8345 (FP_EX_OVERFLOW): Likewise.
8346 (FP_EX_UNDERFLOW): Likewise.
8347 (FP_EX_DIVZERO): Likewise.
8348 (FP_EX_INEXACT): Likewise.
8349 (FP_INIT_ROUNDMODE): Likewise.
8350 * sysdeps/mips/nofpu/fesetenv.c: New file.
8351 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8353 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8355 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8356 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8357 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8358 conditional on [FE_UPWARD].
8360 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8362 regex: fix memory leak in Gnulib
8363 Problem and fix reported by Assaf Gordon in:
8364 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8365 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8366 range_ends members too, as they are defined in 'struct
8367 re_charset_t' even if not _LIBC. This affects only Gnulib.
8369 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8371 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8373 (get_common_indices): This.
8374 (init_cpu_features): Updated.
8376 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8378 * sysdeps/generic/math-tests-snan-payload.h: New file.
8379 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8380 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8381 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8382 * sysdeps/generic/math-tests.h: Include
8383 <math-tests-snan-payload.h>.
8384 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8385 * sysdeps/hppa/math-tests.h: Remove file.
8386 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8387 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8388 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8391 * sysdeps/generic/math-tests-snan-cast.h: New file.
8392 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8393 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8394 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8395 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8397 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8399 * version.h (RELEASE): Set to "development".
8400 (VERSION): Set to "2.28.9000".
8401 * NEWS (2.29): New section.
8403 * version.h (RELEASE): Set to "stable".
8404 (VERSION): Set to "2.28".
8405 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8406 * NEWS: Add the list of bugs fixed in 2.28.
8408 * po/ca.po: Update to latest version.
8409 * po/cs.po: Likewise
8410 * po/da.po: Likewise
8411 * po/el.po: Likewise
8412 * po/eo.po: Likewise
8413 * po/es.po: Likewise
8414 * po/fi.po: Likewise
8415 * po/fr.po: Likewise
8416 * po/gl.po: Likewise
8417 * po/hu.po: Likewise
8418 * po/ia.po: Likewise
8419 * po/id.po: Likewise
8420 * po/it.po: Likewise
8421 * po/ja.po: Likewise
8422 * po/ko.po: Likewise
8423 * po/lt.po: Likewise
8424 * po/nb.po: Likewise
8425 * po/nl.po: Likewise
8426 * po/pt_BR.po: Likewise
8427 * po/ru.po: Likewise
8428 * po/rw.po: Likewise
8429 * po/sk.po: Likewise
8430 * po/sl.po: Likewise
8431 * po/tr.po: Likewise
8432 * po/zh_CN.po: Likewise
8433 * po/zh_TW.po: Likewise
8435 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8437 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8439 (init): ... before initializing libpthread.
8441 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8442 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8443 (__mach_setup_tls): ... new function.
8444 (mach_setup_tls): New alias.
8445 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8446 __mach_setup_thread.
8447 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8448 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8449 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8450 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8452 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8454 * manual/install.texi: Update versions.
8455 * INSTALL: Regenerate.
8457 * manual/contrib.texi (Contributors): Update contributions.
8459 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8461 * po/be.po: Update translations.
8463 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8465 * sysdeps/sh/libm-test-ulps: Update.
8467 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8469 * po/bg.po: Update translations.
8470 * po/de.po: Likewise.
8471 * po/hr.po: Likewise.
8472 * po/pt_BR.po: Likewise.
8473 * po/sv.po: Likewise.
8474 * po/vi.po: Likewise.
8476 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8479 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8480 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8481 (CFLAGS-tst-cet-property-1.o): New.
8482 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8483 ($(objpfx)tst-cet-property-2): Likewise.
8484 ($(objpfx)tst-cet-property-2.out): Likewise.
8485 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8486 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8487 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8488 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8489 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8491 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8494 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8496 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8498 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8499 __sbrk): Do not set attribute_hidden.
8500 * sysdeps/mach/hurd/not-errno.h: New file.
8501 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8502 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8504 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8506 * po/uk.po: Update translations.
8507 * po/cs.po: Likewise.
8508 * po/pl.po: Likewise.
8510 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8513 parse beyond the note end.
8515 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8517 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8518 kernel does not support OFD locks.
8519 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8521 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8523 * sysdeps/mach/hurd/Versions (libc): Make __access and
8524 __access_noerrno external so they can override the ld symbols.
8525 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8526 __writev, __open64, __access_noerrno extern so they can be overrided.
8527 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8528 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8530 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8532 * po/libc.pot: Regenerate.
8534 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8536 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8538 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8541 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8543 (init_cpu_features): Call get_extended_indices for both Intel
8545 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8546 Remove "for AMD" comment.
8548 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8551 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8552 COMMON_CPUID_INDEX_80000001.
8554 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8556 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8557 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8559 2018-07-26 Florian Weimer <fweimer@redhat.com>
8561 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8562 aliases for symbols not in the implementation namespace.
8564 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8567 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8568 lowercase in LATIN script.
8569 * localedata/Makefile (test-input): Add en_US.UTF-8.
8570 * localedata/en_US.UTF-8.in: New file.
8571 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8572 and restore old tests.
8573 * posix/tst-regexloc.c (do_test): Add back range expression test.
8575 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8577 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8579 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8581 * nptl/threads.h: Move to ...
8582 * sysdeps/nptl/threads.h: ... here.
8583 * sysdeps/hurd/stdc-predef.h: New file.
8585 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8587 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8588 tst-cet-setcontext-1 if CET is enabled.
8589 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8590 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8592 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8594 * include/threads.h: Move to ...
8595 * sysdeps/nptl/threads.h: ... here.
8596 * sysdeps/htl/threads.h: New file.
8597 * conform/Makefile (linknamespace-libs-ISO11): Use
8598 static-thread-library instead of linking libpthread.
8599 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8601 2018-07-25 Florian Weimer <fweimer@redhat.com>
8603 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8604 nanoseconds into seconds.
8605 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8606 (do_test): Likewise.
8607 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8608 (do_test): Likewise. Avoid nanosecond overflow and spurious
8609 timeouts due to system load.
8610 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8611 (child_wait): Increment it.
8612 (do_test): Wait as long as necessary until all expected threads
8615 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8616 H.J. Lu <hongjiu.lu@intel.com>
8618 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8620 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8621 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8622 (__push___start_context): New.
8623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8625 (__getcontext): Record the current shadow stack base. Save the
8626 caller's shadow stack pointer and base.
8627 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8628 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8629 (__push___start_context): New prototype.
8630 (__makecontext): Call __push___start_context to allocate a new
8631 shadow stack, push __start_context onto the new stack as well
8632 as the new shadow stack.
8633 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8635 (__setcontext): Restore the target shadow stack.
8636 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8638 (__swapcontext): Record the current shadow stack base. Save
8639 the caller's shadow stack pointer and base. Restore the target
8641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8642 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8643 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8645 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8647 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8648 tst-setcontext8 and tst-setcontext9.
8649 * stdlib/tst-setcontext6.c: New file.
8650 * stdlib/tst-setcontext7.c: Likewise.
8651 * stdlib/tst-setcontext8.c: Likewise.
8652 * stdlib/tst-setcontext9.c: Likewise.
8654 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8656 * stdlib/Makefile ((tests): Add tst-setcontext5.
8657 * stdlib/tst-setcontext5.c: New file.
8659 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8661 * stdlib/Makefile (tests): Add tst-setcontext4.
8662 * stdlib/tst-setcontext4.c: New file.
8664 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8666 * stdlib/Makefile (tests): Add tst-swapcontext1.
8667 * stdlib/tst-swapcontext1.c: New test.
8669 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8671 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8672 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8673 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8674 and tst-cet-legacy-4c.
8675 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8676 and tst-cet-legacy-mod-4.
8677 (CFLAGS-tst-cet-legacy-2.c): New.
8678 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8679 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8680 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8681 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8682 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8683 ($(objpfx)tst-cet-legacy-1): Likewise.
8684 ($(objpfx)tst-cet-legacy-2): Likewise.
8685 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8686 ($(objpfx)tst-cet-legacy-2a): Likewise.
8687 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8688 ($(objpfx)tst-cet-legacy-4): Likewise.
8689 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8690 ($(objpfx)tst-cet-legacy-4a): Likewise.
8691 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8692 (tst-cet-legacy-4a-ENV): Likewise.
8693 ($(objpfx)tst-cet-legacy-4b): Likewise.
8694 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8695 (tst-cet-legacy-4b-ENV): Likewise.
8696 ($(objpfx)tst-cet-legacy-4c): Likewise.
8697 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8698 (tst-cet-legacy-4c-ENV): Likewise.
8699 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8700 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8701 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8702 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8703 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8704 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8705 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8706 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8707 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8708 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8709 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8711 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8714 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8716 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8717 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8720 2018-07-25 Andreas Schwab <schwab@suse.de>
8723 * locale/weightwc.h (findidx): Handle the case where usrc is a
8724 prefix of cp but one character too short.
8726 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8728 * NEWS: Add ISO C threads addition.
8730 2018-07-24 Florian Weimer <fweimer@redhat.com>
8732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8733 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8734 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8737 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8739 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8740 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8741 <sys/prctl.h> and <asm/prctl.h>.
8742 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8743 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8745 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8746 ARCH_CET_LEGACY_BITMAP.
8747 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8748 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8749 * sysdeps/x86/libc-start.c: Include <startup.h>.
8751 2018-07-24 Florian Weimer <fweimer@redhat.com>
8753 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8754 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8756 2018-07-24 Rical Jasan <rj@2c3t.io>
8757 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8758 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8761 * manual/debug.texi: Update adjacent chapter name.
8762 * manual/probes.texi: Likewise.
8763 * manual/threads.texi (ISO C Threads): New section.
8764 (POSIX Threads): Convert to a section.
8766 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8767 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8770 * nptl/Makefile (tests): Add new test files.
8771 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8772 * nptl/tst-cnd-basic.c: Likewise.
8773 * nptl/tst-cnd-broadcast.c: Likewise.
8774 * nptl/tst-cnd-timedwait.c: Likewise.
8775 * nptl/tst-mtx-basic.c: Likewise.
8776 * nptl/tst-mtx-recursive.c: Likewise.
8777 * nptl/tst-mtx-timedlock.c: Likewise.
8778 * nptl/tst-mtx-trylock.c: Likewise.
8779 * nptl/tst-thrd-basic.c: Likewise.
8780 * nptl/tst-thrd-detach.c: Likewise.
8781 * nptl/tst-thrd-sleep.c: Likewise.
8782 * nptl/tst-tss-basic.c: Likewise.
8784 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8787 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8788 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8790 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8793 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8794 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8796 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8797 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8798 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8799 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8800 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8809 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8811 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8812 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8817 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8818 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8819 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8820 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8821 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8823 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8824 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8825 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8826 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8827 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8828 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8829 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8830 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8831 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8832 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8834 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8841 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8842 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8843 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8844 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8847 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8851 * conform/data/threads.h-data (thread_local): New macro.
8852 (TSS_DTOR_ITERATIONS): Likewise.
8854 (tss_dtor_t): Likewise.
8855 (tss_create): New function.
8856 (tss_get): Likewise.
8857 (tss_set): Likewise.
8858 (tss_delete): Likewise.
8859 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8860 tss_get, and tss_set objects.
8861 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8862 * nptl/tss_create.c: New file.
8863 * nptl/tss_delete.c: Likewise.
8864 * nptl/tss_get.c: Likewise.
8865 * nptl/tss_set.c: Likewise.
8866 * sysdeps/nptl/threads.h (thread_local): New define.
8867 (TSS_DTOR_ITERATIONS): Likewise.
8868 (tss_t): New typedef.
8869 (tss_dtor_t): Likewise.
8870 (tss_create): New prototype.
8871 (tss_get): Likewise.
8872 (tss_set): Likewise.
8873 (tss_delete): Likewise.
8876 * conform/data/threads.h-data (cnd_t): New type.
8877 (cnd_init): New function.
8878 (cnd_signal): Likewise.
8879 (cnd_broadcast): Likewise.
8880 (cnd_wait): Likewise.
8881 (cnd_timedwait): Likewise.
8882 (cnd_destroy): Likewise.
8883 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8884 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8886 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8887 * nptl/cnd_broadcast.c: New file.
8888 * nptl/cnd_destroy.c: Likewise.
8889 * nptl/cnd_init.c: Likewise.
8890 * nptl/cnd_signal.c: Likewise.
8891 * nptl/cnd_timedwait.c: Likewise.
8892 * nptl/cnd_wait.c: Likewise.
8893 * sysdeps/nptl/threads.h (cnd_t): New type.
8894 (cnd_init): New prototype.
8895 (cnd_signa): Likewise.
8896 (cnd_broadcast): Likewise.
8897 (cnd_wait): Likewise.
8898 (cnd_timedwait): Likewise.
8899 (cnd_destroy): Likewise.
8902 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8903 (once_flag): New type.
8904 (call_once): New function.
8905 * nptl/Makefile (libpthread-routines): Add call_once object.
8906 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8907 * nptl/call_once.c: New file.
8908 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8909 (once_flag): New type.
8910 (call_once): New prototype.
8913 * conform/data/threads.h-data (mtx_plain): New constant.
8914 (mtx_recursive): Likewise.
8915 (mtx_timed): Likewise.
8917 (mtx_init): New function.
8918 (mtx_lock): Likewise.
8919 (mtx_timedlock): Likewise.
8920 (mtx_trylock): Likewise.
8921 (mtx_unlock): Likewise.
8922 (mtx_destroy): Likewise.
8923 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8924 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8925 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8926 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8927 * nptl/mtx_destroy.c: New file.
8928 * nptl/mtx_init.c: Likewise.
8929 * nptl/mtx_lock.c: Likewise.
8930 * nptl/mtx_timedlock.c: Likewise.
8931 * nptl/mtx_trylock.c: Likewise.
8932 * nptl/mtx_unlock.c: Likewise.
8933 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8934 (mtx_recursive): Likewise.
8935 (mtx_timed): Likewise.
8937 (mtx_init): New prototype.
8938 (mtx_lock): Likewise.
8939 (mtx_timedlock): Likewise.
8940 (mtx_trylock): Likewise.
8941 (mtx_unlock): Likewise.
8942 (mtx_destroy): Likewise.
8945 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8946 (linknamespace-libs-ISO11): Add libpthread.a.
8947 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8949 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8950 * nptl/Makefile (headers): Add threads.h.
8951 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8952 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8954 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8955 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8956 thrd_join, thrd_sleep, and thrd_yield symbols.
8957 * nptl/descr.h (struct pthread): Add c11 field.
8958 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8959 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8960 routine with expected function prototype.
8961 (__pthread_create_2_1): Add C11 threads check based on attribute
8963 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8964 * nptl/thrd_create.c: New file.
8965 * nptl/thrd_current.c: Likewise.
8966 * nptl/thrd_detach.c: Likewise.
8967 * nptl/thrd_equal.c: Likewise.
8968 * nptl/thrd_exit.c: Likewise.
8969 * nptl/thrd_join.c: Likewise.
8970 * nptl/thrd_priv.h: Likewise.
8971 * nptl/thrd_sleep.c: Likewise.
8972 * nptl/thrd_yield.c: Likewise.
8973 * include/threads.h: Likewise.
8975 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8977 * bits/indirect-return.h: New file.
8978 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8979 * sysdeps/x86/bits/indirect-return.h: Likewise.
8980 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8981 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8982 (swapcontext): Add __INDIRECT_RETURN.
8983 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8984 (prepare_test_buffer): Use it.
8986 2018-07-24 Andreas Schwab <schwab@suse.de>
8989 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8990 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8992 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8994 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8995 Redefine if shadow stack is enabled.
8996 (SYSCALL_ERROR_LABEL): Likewise.
8997 (__vfork): Pop shadow stack and jump back to to caller directly
8998 when shadow stack is in use.
8999 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9000 Redefine if shadow stack is enabled.
9001 (SYSCALL_ERROR_LABEL): Likewise.
9002 (__vfork): Pop shadow stack and jump back to to caller directly
9003 when shadow stack is in use.
9005 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9007 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9010 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9013 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9015 * scripts/build-many-glibcs.py (Context.checkout): Default
9016 binutils version to 2.31 branch.
9018 2018-07-20 Zong Li <zong@andestech.com>
9020 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9021 URL of gcc's tarball.
9023 2018-07-20 Florian Weimer <fweimer@redhat.com>
9026 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9027 not compare an extra byte after the end of the weights.
9029 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9031 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9033 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9035 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9036 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9037 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9038 list of libraries whose stack executability is expected.
9039 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9040 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9042 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9043 libc.so libpthread.so.
9045 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9047 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9049 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9051 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9053 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9055 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9057 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9058 library to improve command line parsing.
9059 (__main__): make schema file as optional parameter (--schema),
9060 defaulting to benchtests/scripts/benchout.schema.json.
9061 (main): move out of the parsing stuff to __main_ and leave it
9062 only as caller of main comparison functions.
9064 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9066 * NEWS: Add a note for Intel CET status.
9067 * manual/install.texi: Likewise.
9068 * INSTALL: Regenerated.
9070 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9073 * localedata/locales/oc_FR (mon): Rename to...
9074 (alt_mon): This, then update October (typo fix).
9075 (mon): New content (genitive case, month names preceded by
9079 * localedata/locales/oc_FR (abday): Update all items.
9080 (day): Update Wednesday and Saturday (typo fixes).
9081 (abmon): Update all items, except May.
9082 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9083 (LC_IDENTIFICATION): Bump the revision number and date.
9084 Keep the "category" entries in alphabetic order.
9085 (LC_ADDRESS): Remove no longer needed comment.
9086 (LC_COLLATE): Use “copy "ca_ES"”.
9087 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9090 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9092 * grp/tst_fgetgrent.c: Include <unistd.h>.
9093 (main): Use mkstemp instead of tmpnam.
9094 * io/test-utime.c (main): Likewise.
9095 * posix/annexc.c (macrofile): Change to modifiable array.
9096 (main): Remove macrofile here.
9097 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9099 (check_header): Do not remove macrofile here.
9100 * posix/bug-getopt1.c: Include <stdlib.h>.
9101 (do_test): Use mkstemp instead of tmpnam.
9102 * posix/bug-getopt2.c: Include <stdlib.h>.
9103 (do_test): Use mkstemp instead of tmpnam.
9104 * posix/bug-getopt3.c: Include <stdlib.h>.
9105 (do_test): Use mkstemp instead of tmpnam.
9106 * posix/bug-getopt4.c: Include <stdlib.h>.
9107 (do_test): Use mkstemp instead of tmpnam.
9108 * posix/bug-getopt5.c: Include <stdlib.h>.
9109 (do_test): Use mkstemp instead of tmpnam.
9110 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9111 (main): Use mkstemp instead of tmpnam.
9112 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9113 (main): Use mkstemp instead of tmpnam.
9114 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9115 (main): use mkstemp instead of tmpnam.
9116 * stdlib/isomac.c (macrofile): Change to modifiable array.
9117 (main): Remove macrofile here.
9118 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9120 (check_header): Do not remove macrofile here.
9122 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9124 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9125 glibc.tune.x86_shstk.
9127 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9129 * NEWS: Mention --enable-cet.
9130 * manual/install.texi: Document --enable-cet.
9131 * INSTALL: Regenerated.
9133 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9135 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9136 Add _CET_NOTRACK before indirect jump to jump table.
9138 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9140 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9141 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9144 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9146 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9147 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9150 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9153 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9156 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9159 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9162 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9165 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9167 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9169 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9172 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9175 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9177 * sysdeps/i386/i686/multiarch/memset-sse2.S
9178 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9181 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9183 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9184 indirect jump to jump table.
9186 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9189 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9193 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9196 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9200 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9203 _CET_NOTRACK before indirect jump to jump table.
9205 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9208 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9211 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9213 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9214 indirect jump to jump table.
9216 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9219 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9220 (LOCALES): Likewise.
9221 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9222 * localedata/locales/sah_RU: New file.
9223 * localedata/sah_RU.UTF-8.in: New file.
9225 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9229 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9230 _CET_ENDBR to indirect jump targets and adjust jump destination
9232 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9234 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9235 _CET_ENDBR to indirect jump targets and adjust jump destination
9237 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9239 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9240 _CET_ENDBR to indirect jump targets and adjust jump destination
9243 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9245 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9248 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9250 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9252 (_dl_tlsdesc_undefweak): Likewise.
9253 (_dl_tlsdesc_dynamic): Likewise.
9254 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9255 (_dl_tlsdesc_resolve_rel): Likewise.
9256 (_dl_tlsdesc_resolve_rela): Likewise.
9257 (_dl_tlsdesc_resolve_hold): Likewise.
9258 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9259 (_dl_tlsdesc_undefweak): Likewise.
9260 (_dl_tlsdesc_dynamic): Likewise.
9261 (_dl_tlsdesc_resolve_rela): Likewise.
9262 (_dl_tlsdesc_resolve_hold): Likewise.
9264 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9266 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9268 * sysdeps/x86_64/crti.S (_init): Likewise.
9271 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9274 * localedata/locales/os_RU (mon): Rename to...
9276 (mon): Import from CLDR (genitive case).
9278 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9280 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9281 cet-tunables.h> when CET is enabled.
9283 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9286 * configure.ac: Add --enable-cet.
9287 * configure: Regenerated.
9288 * elf/Makefille (all-built-dso): Add a comment.
9289 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9290 Include <dl-prop.h>.
9291 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9293 * elf/dl-open.c: Include <dl-prop.h>.
9294 (dl_open_worker): Call _dl_open_check.
9295 * elf/rtld.c: Include <dl-prop.h>.
9296 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9298 * sysdeps/generic/dl-prop.h: New file.
9299 * sysdeps/i386/dl-cet.c: Likewise.
9300 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9301 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9302 * sysdeps/x86/cet-tunables.h: Likewise.
9303 * sysdeps/x86/check-cet.awk: Likewise.
9304 * sysdeps/x86/configure: Likewise.
9305 * sysdeps/x86/configure.ac: Likewise.
9306 * sysdeps/x86/dl-cet.c: Likewise.
9307 * sysdeps/x86/dl-procruntime.c: Likewise.
9308 * sysdeps/x86/dl-prop.h: Likewise.
9309 * sysdeps/x86/libc-start.h: Likewise.
9310 * sysdeps/x86/link_map.h: Likewise.
9311 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9313 (_dl_runtime_profile): Likewise.
9314 (_dl_runtime_resolve_shstk): New.
9315 (_dl_runtime_profile_shstk): Likewise.
9316 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9318 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9319 (CFLAGS-.os): Likewise.
9320 (CFLAGS-.op): Likewise.
9321 (CFLAGS-.oS): Likewise.
9322 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9324 (tests-special): Add $(objpfx)check-cet.out.
9325 (cet-built-dso): New.
9326 (+$(cet-built-dso:=.note)): Likewise.
9327 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9328 ($(objpfx)check-cet.out): New.
9329 (generated): Add check-cet.out.
9330 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9332 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9333 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9334 (init_cpu_features): Call get_cet_status to check CET status
9335 and update dl_x86_feature_1 with CET status. Call
9336 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9337 (set_x86_shstk). Disable and lock CET in libc.a.
9338 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9339 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9340 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9341 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9342 (_CET_ENDBR): Define if not defined.
9343 (ENTRY): Add _CET_ENDBR.
9344 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9346 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9348 (_dl_runtime_profile): Likewise.
9350 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9354 restore r2 on longjmp.
9355 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9357 Added rules to build test tst-setjmp-bug21895-static.
9358 Added module setjmp-bug21895 and rules to build a shared object from it.
9359 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9360 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9362 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9364 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9365 * benchtests/bench-strstr.c: Likewise.
9366 * string/memmem.c (FASTSEARCH): Define.
9367 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9368 Add support for FASTSEARCH.
9369 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9370 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9371 (FASTSEARCH): Define.
9372 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9373 * string/test-strstr.c: Likewise.
9375 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9378 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9380 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9381 H.J. Lu <hongjiu.lu@intel.com>
9383 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9384 (__longjmp): Restore shadow stack pointer if shadow stack is
9385 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9386 isn't defined for __longjmp_cancel.
9387 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9388 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9389 and SHADOW_STACK_POINTER_OFFSET is defined.
9390 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9391 (setjmp): Save shadow stack pointer if shadow stack is enabled
9392 and SHADOW_STACK_POINTER_OFFSET is defined.
9393 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9394 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9395 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9398 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9399 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9400 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9401 Remove jmp_buf-ssp.sym.
9402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9404 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9405 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9406 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9408 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9409 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9410 (__longjmp): Restore shadow stack pointer if shadow stack is
9411 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9412 isn't defined for __longjmp_cancel.
9413 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9414 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9415 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9417 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9420 * nptl/pthread_create.c: Include <tls-setup.h>.
9421 (__pthread_create_2_1): Call tls_setup_tcbhead.
9422 * sysdeps/generic/tls-setup.h: New file.
9423 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9424 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9425 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9427 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9429 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9430 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9431 (X86_FEATURE_1_SHSTK): Likewise.
9432 (CET_ENABLED): Likewise.
9433 (IBT_ENABLED): Likewise.
9434 (SHSTK_ENABLED): Likewise.
9436 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9439 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9440 (LOCALES): Likewise.
9441 * localedata/dsb_DE.UTF-8.in: New file.
9442 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9444 2018-07-12 Florian Weimer <fweimer@redhat.com>
9446 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9447 __mprotect, not mprotect.
9449 2018-07-11 Florian Weimer <fweimer@redhat.com>
9451 * io/Makefile (headers): Add bits/statx.h.
9453 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9455 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9456 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9458 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9459 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9462 2018-07-10 Florian Weimer <fweimer@redhat.com>
9464 * io/Makefile (routines): Add statx.
9465 (tests-internal): Add tst-statx.
9466 * io/Versions (GLIBC_2.28): Export statx.
9467 * io/bits/statx.h: New file.
9468 * io/sys/stat.h [__USE_GNU]: Include it.
9469 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9470 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9472 * io/statx.c: New file.
9473 * io/statx_generic.: Likewise.
9474 * io/tst-statx.: Likewise.
9475 * include/bits/statx.h: Likewise.
9476 * sysdeps/unix/sysv/linux/kernel-features.h
9477 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9479 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9483 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9484 * sysdeps/unix/sysv/linux/statx.c: New file.
9485 * manual/filesys.texi: Note that statx is undocumented.
9486 * sysdeps/**/libc*.abilist: Update.
9488 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9490 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9491 a kernel issue which lead to test failure in some cases.
9493 2018-07-10 Florian Weimer <fweimer@redhat.com>
9496 * posix/regexec.c (check_node_accept_bytes): When comparing
9497 weights, do not compare an extra byte after the end of the
9500 2018-07-10 Florian Weimer <fweimer@redhat.com>
9502 * libio/readline.c: Fix copyright year.
9503 * libio/tst-readline.c Likewise.
9504 * nss/tst-nss-files-hosts-getent.c: Likewise.
9506 2018-07-06 Florian Weimer <fweimer@redhat.com>
9509 * nss/nss_files/files-XXX.c (internal_getent): Use
9510 __libc_readline_unlocked. Seek back to the start of the line if
9511 parsing failes with ERANGE.
9512 (get_contents_ret, get_contents): Remove.
9513 * nss/tst-nss-files-hosts-getent.c: New file.
9514 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9515 (tst-nss-files-hosts-getent): Link with -ldl.
9517 2018-07-06 Florian Weimer <fweimer@redhat.com>
9519 * include/stdio.h (__libc_readline_unlocked): Declare.
9520 (__ftello64, __fseeko64): Declare aliases.
9521 * libio/readline.c: New file.
9522 * libio/tst-readline.c: Likewise.
9523 (routines): Add readline.
9524 (tests-internal): Add tst-readlime.
9525 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9526 __libc_readline_unlocked.
9527 * libio/fseeko.c (__fseeko): Rename from fseeko.
9528 (fseeko): Add alias.
9529 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9530 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9531 (fseeko64): Add alias.
9532 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9533 * libio/ftello64.c (__ftello64): Rename from ftello64.
9534 (ftello64): Add alias.
9536 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9538 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9541 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9543 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9544 Use dl_hwcap without masking.
9545 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9548 2018-07-06 Florian Weimer <fweimer@redhat.com>
9550 * conform/conformtest.pl (checknamespace): Escape literal braces
9551 in regular expressions.
9553 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9555 * sysdeps/x86/cpu-features.c (get_common_indeces):
9556 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9557 * sysdeps/x86/cpu-features.c (init_cpu_features):
9558 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9560 2018-07-05 Florian Weimer <fweimer@redhat.com>
9562 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9564 (CFLAGS-elf-init.oS): Likewise.
9566 2018-07-05 Florian Weimer <fweimer@redhat.com>
9567 Carlos O'Donell <carlos@redhat.com>
9569 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9570 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9571 with stack protector enabled because there is no risk of infinite
9574 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9578 * libc-abis (ABSOLUTE): New ABI.
9579 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9580 * NEWS: Mention the new ABI.
9582 2018-07-05 Florian Weimer <fweimer@redhat.com>
9585 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9586 (RENAME_WHITEOUT): Define.
9587 [__USE_GNU] (renameat2): Declare.
9588 * stdio-common/Makefile (routines): Add renameat2.
9589 (tests): Add tst-renameat2.
9590 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9591 * stdio-common/renameat2.c: New file.
9592 * stdio-common/tst-renameat2.c: Likewise.
9593 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9594 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9596 * sysdeps/unix/sysv/linux/kernel-features.h
9597 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9598 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9599 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9600 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9601 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9602 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9603 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9604 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9605 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9606 * include/stdio.h (__renameat): Add alias for renameat.
9607 * stdio-common/renameat.c (__renameat): Rename from renameat.
9608 Add hidden definition and alias.
9609 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9610 * sysdeps/mach/hurd/renameat.c: Likewise.
9611 * sysdeps/**/libc*.abilist: Add renameat2.
9613 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9615 * posix/bug-regex33.c: Fix build after regex sync.
9617 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9620 * localedata/tst-langinfo-setlocale.c: New file.
9621 * localedata/tst-langinfo-setlocale-static.c: New file.
9622 * localedata/tst-langinfo-newlocale.c: New file.
9623 * localedata/tst-langinfo-newlocale-static.c: New file.
9624 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9625 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9626 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9627 (tests-static): Remove tst-langinfo-static. Add
9628 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9629 (tests-special): Remove $(objpfx)tst-langinfo.out,
9630 $(objpfx)tst-langinfo-static.out. Add
9631 $(objpfx)tst-langinfo-setlocale.out,
9632 $(objpfx)tst-langinfo-newlocale.out,
9633 $(objpfx)tst-langinfo-setlocale-static.out,
9634 $(objpfx)tst-langinfo-newlocale-static.out.
9635 ($(objpfx)tst-langinfo.out): Remove.
9636 ($(objpfx)tst-langinfo-static.out): Remove.
9637 ($(objpfx)tst-langinfo-newlocale.out): New target.
9638 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9639 (test-xfail-tst-langinfo-newlocale-static): Add.
9640 ($(objpfx)tst-langinfo-setlocale.out): New target.
9641 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9642 * localedata/tst-langinfo.c: Call test_locale.
9643 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9646 2018-07-04 Florian Weimer <fweimer@redhat.com>
9648 testrun.sh: Implement --tool=strace, --tool=valgrind
9649 * Makefile (testrun-script): Define variable.
9650 (testrun.sh): Use variable.
9651 * manual/install.texi (Tools for Compilation): make 4.0 or later
9653 * configure.ac: Check for make 4.0 or later.
9654 * INSTALL: Regenerate.
9655 * configure: Likewise.
9657 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9663 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9664 * posix/PCRE.tests: Remove invalid test.
9665 * posix/bug-regex28.c: Fix expected values for used syntax.
9666 * posix/bug-regex37.c: New file.
9667 * posix/bug-regex38.c: Likewise.
9668 * posix/regcomp.c: Sync with gnulib.
9669 * posix/regex.c: Likewise.
9670 * posix/regex.h: Likewise.
9671 * posix/regex_internal.c: Likewise.
9672 * posix/regex_internal.h: Likewise.
9673 * posix/regexec.c: Likewise.
9675 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9678 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9679 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9680 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9681 * localedata/unicode-gen/PropList.txt: likewise.
9682 * localedata/unicode-gen/UnicodeData.txt: likewise.
9683 * localedata/charmaps/UTF-8: Regenerate.
9684 * localedata/locales/i18n_ctype: likewise.
9685 * localedata/locales/tr_TR: likewise.
9686 * localedata/locales/translit_circle: likewise.
9687 * localedata/locales/translit_cjk_compat: likewise.
9688 * localedata/locales/translit_combining: likewise.
9689 * localedata/locales/translit_compat: likewise.
9690 * localedata/locales/translit_font: likewise.
9691 * localedata/locales/translit_fraction: likewise.
9693 2018-07-03 Florian Weimer <fweimer@redhat.com>
9696 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9697 * stdio-common/tst-printf.sh: Adjust expected output.
9700 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9702 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9705 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9707 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9708 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9709 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9710 * stdio-common/tst-printfsz-islongdouble.c: New file.
9711 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9713 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9714 [subdir == stdio-common] (tests-internal): Add
9715 test-printf-size-ieee128, and test-printf-size-ibm128.
9716 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9717 (CFLAGS-test-printf-size-ibm128.c): New variables.
9718 [subdir == stdio-common] (tests-special): Add
9719 $(objpfx)test-printf-size-ieee128.out and
9720 $(objpfx)test-printf-size-ibm128.out.
9721 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9722 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9723 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9724 __printf_sizeieee128.
9725 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9727 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9729 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9732 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9734 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9735 (exp2f_inline): Likewise.
9736 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9737 (__math_uflowf): Likewise.
9738 (__math_may_uflowf): Likewise.
9739 (__math_divzerof): Likewise.
9740 (__math_invalidf): Likewise.
9741 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9742 (__math_oflowf): Likewise.
9743 (__math_uflowf): Likewise.
9744 (__math_may_uflowf): Likewise.
9745 (__math_divzerof): Likewise.
9746 (__math_invalidf): Likewise.
9748 2018-06-29 DJ Delorie <dj@redhat.com>
9749 Carlos O'Donell <carlos@redhat.com>
9752 * include/libc-symbols.h: Comment the freeres framework.
9753 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9754 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9755 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9756 * dlfcn/dlerror.c: Include libc-symbols.h
9757 (__dlerror_main_freeres): New function.
9758 * dlfcn/dlfreeres.c: New file.
9759 * dlfcn/sdlfreeres.c: New file.
9760 * include/dlfcn.h: Declare __dlerror_main_freeres.
9761 * malloc/set-freeres.c: Declare __libdl_freeres, and
9762 __libpthread_freeres.
9763 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9764 the releavant libraries are loaded.
9765 * malloc/thread-freeres.c: Add comments.
9766 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9767 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9768 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9769 (__free_stacks): Rename to...
9770 (free_stacks): ...this. Mark static.
9771 (queue_stack): Call free_stacks.
9772 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9773 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9774 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9775 ptr_freeres element from struct.
9776 (pthread_functions): Remove .ptr_freeres from struct initializer.
9777 [SHARED] (nptl_freeres): Remove.
9778 * nptl/nptlfreeres.c: New file.
9780 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9781 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9783 (__free_stacks): Rename to...
9784 (__nptl_stacks_freeres): ...this.
9785 (__shm_directory_freeres): Declare.
9786 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9787 (__nptl_unwind_freeres): ...this.
9788 * resolv/res-close.c: Add comment.
9789 * resolv/resolv_conf.c: Include libc-symbols.h.
9790 * string/strerror_l.c: Include libc-symbols.h.
9791 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9792 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9793 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9794 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9796 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9798 * stdlib/tst-strfmon_l.c: Add tests for long double.
9800 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9803 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9804 * localedata/locales/dsb_DE: New file.
9806 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9809 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9811 (alt_mon): New entry, import from CLDR (nominative case).
9813 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9816 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9818 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9820 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9821 Use vector registers.
9823 * sysdeps/aarch64/multiarch/memmove_falkor.S
9824 (__memcpy_falkor): Use vector registers.
9826 2018-06-29 Martin Sebor <msebor@redhat.com>
9828 * manual/stdio.texi (Customizing Printf): Mention interaction
9831 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9834 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9835 `st_value' is 0 if `st_shndx' is SHN_ABS.
9836 * elf/tst-absolute-zero.c: New file.
9837 * elf/tst-absolute-zero-lib.c: New file.
9838 * elf/tst-absolute-zero-lib.lds: New file.
9839 * elf/Makefile (tests): Add `tst-absolute-zero'.
9840 (modules-names): Add `tst-absolute-zero-lib'.
9841 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9842 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9843 ($(objpfx)tst-absolute-zero: New dependency.
9845 2018-06-29 Zack Weinberg <zackw@panix.com>
9847 * configure.ac: New command-line option --disable-crypt.
9848 Force --disable-nss-crypt when --disable-crypt is given, with a
9849 warning if it was explicitly enabled.
9850 * configure: Regenerate.
9851 * config.make.in: New boolean substitution variable $(build-crypt).
9852 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9853 when $(build-crypt).
9854 * manual/install.texi: Document --disable-crypt.
9855 * INSTALL: Regenerate.
9857 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9859 * conform/Makefile: Only include libcrypt.a in
9860 linknamespace-libs-xsi and linknamespace-libs-XPG4
9861 when $(build-crypt).
9862 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9863 USE_CRYPT to 1 when $(build-crypt).
9864 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9865 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9866 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9868 2018-06-29 Zack Weinberg <zackw@panix.com>
9870 * crypt/crypt.h, posix/unistd.h: Update comments and
9871 prototypes for crypt and crypt_r.
9873 * manual/crypt.texi (Cryptographic Functions): New initial
9875 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9876 (Unpredictable Bytes): Improve initial exposition. Clarify error
9877 behavior of getentropy and getrandom.
9878 * manual/examples/genpass.c: Generate a salt using getentropy
9879 instead of the current time. Use hash $5$ (SHA-2-256).
9880 * manual/examples/testpass.c: Demonstrate validation against
9881 hashes generated with three different one-way functions.
9883 * manual/intro.texi: crypt.texi does not need an overview
9886 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9887 * manual/terminal.texi: Consistently refer to "passphrases"
9888 * instead of "passwords", and to the "user database" instead
9889 * of the "password database".
9890 * manual/users.texi: Similarly. Add notes about how actual
9891 passphrase hashes are now stored in the shadow database.
9892 Remove 20-year-old junk todo note.
9894 2018-06-29 Zack Weinberg <zackw@panix.com>
9896 * manual/crypt.texi: Use a normal top-level @node declaration.
9897 Move most of the introductory text to the 'crypt' section.
9898 Move the example programs below the @deftypefun for 'crypt_r'.
9899 Move the 'getpass' section...
9900 * manual/terminal.texi: ...here.
9902 2018-06-29 Zack Weinberg <zackw@panix.com>
9903 Florian Weimer <fweimer@redhat.com>
9905 * posix/unistd.h: Do not declare encrypt.
9906 (_XOPEN_CRYPT): Remove macro definition.
9907 (crypt): Declare only for _USE_MISC.
9908 * stdlib/stdlib.h: Do not declare setkey.
9909 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9910 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9912 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9913 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9914 into compat symbols. Don't define initial_perm if it's not
9916 * crypt/cert.c: Link explicitly with the expected versions for
9917 setkey and encrypt. If they are not available at all, mark
9918 the test as unsupported.
9920 * sunrpc/des_crypt.c: Unconditionally block linkage with
9921 cbc_crypt and ecb_crypt for new binaries.
9922 * sunrpc/des_soft.c: Unconditionally block linkage with
9923 des_setparity for new binaries.
9925 * manual/crypt.texi: Remove the entire "DES Encryption"
9926 section. Also remove the paragraph talking about FIPS 140-2
9927 from the introduction.
9928 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9929 of libgcrypt for "real" encryption, not DES.
9930 * manual/conf.texi (Constants for Sysconf): Mention that
9931 _XOPEN_CRYPT is no longer impelemented.
9933 * conform/data/unistd.h-data: Remove crypt function declaration.
9935 2018-06-29 Florian Weimer <fweimer@redhat.com>
9938 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9939 (disallow_malloc_check): Remove variable.
9940 (__malloc_check_init): Adjust.
9941 (malloc_set_state): Update comment.
9942 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9945 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9948 * localedata/locales/ast_ES (mon): Rename to...
9950 (mon): Import from CLDR (genitive case).
9952 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9953 Jakub Sitnicki <jkbs@redhat.com>
9956 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9959 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9961 * manual/llio.texi: Remove spurious space.
9963 2018-06-28 Florian Weimer <fweimer@redhat.com>
9966 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9969 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9971 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9972 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9973 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9974 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9975 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9976 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9977 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9979 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9982 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9983 Copy and null-terminate entries that are not terminated, in
9984 addition to empty ones.
9986 2018-06-27 Florian Weimer <fweimer@redhat.com>
9989 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9990 (extend_alloca_account): Remove.
9991 * manual/stdio.texi (Variable Arguments Output): Update comment.
9993 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9995 * nptl/sockperf.c: Remove file.
9997 2018-06-27 Florian Weimer <fweimer@redhat.com>
10000 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10001 scratch_buffer instead of extend_alloca.
10003 2018-06-27 Florian Weimer <fweimer@redhat.com>
10006 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10007 scratch_buffer instead of extend_alloca. Update comments.
10009 2018-06-27 Florian Weimer <fweimer@redhat.com>
10012 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10013 instead of extend_alloca.
10015 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10018 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10019 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10021 * scripts/test-installation.pl: Put temporary files in build
10022 directory, not /tmp.
10023 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10024 (CFLAGS-bug4.c): Likewise.
10025 (CFLAGS-bug5.c): Likewise.
10026 (CFLAGS-test-fseek.c): Likewise.
10027 (CFLAGS-test-popen.c): Likewise.
10028 (CFLAGS-test_rdwr.c): Likewise.
10029 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10031 * stdio-common/bug4.c (main): Likewise.
10032 * stdio-common/bug5.c (main): Likewise.
10033 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10034 * stdio-common/test-popen.c (do_test): Likewise.
10035 * stdio-common/test_rdwr.c (main): Likewise.
10037 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10039 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10040 (sem_open): Set sem.newsem.pad to zero for valgrind.
10042 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10045 * NEWS: Mention fcntl64 addition.
10046 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10047 * login/utmp_file.c: Likewise.
10048 * sysdeps/posix/fdopendir.c: Likewise.
10049 * sysdeps/posix/opendir.c: Likewise.
10050 * sysdeps/unix/pt-fcntl.c: Likewise.
10051 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10052 __fcntl64_nocancel_adjusted): New prototype.
10053 (__fcntl_nocancel_adjusted): Remove prototype.
10054 * io/Makefile (routines): Add fcntl64.
10055 (CFLAGS-fcntl64.c): New rule.
10056 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10057 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10058 * io/fcntl.h (fcntl64): Add prototype and redirect if
10059 __USE_FILE_OFFSET64 is defined.
10060 * io/fcntl64.c: New file.
10061 * manual/llio.text: Add a note for which commands fcntl acts a
10062 cancellation point.
10063 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10064 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10065 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10067 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10068 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10070 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10071 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10072 to __fcntl64_nocancel.
10073 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10074 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10075 to __fcntl64_nocancel.
10076 * sysdeps/generic/not-cancel.h: Likewise.
10077 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10078 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10079 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10080 (fcntl64): New symbol.
10081 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10083 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10086 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10087 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10089 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10090 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10091 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10092 fcntl64): Likewise.
10093 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10094 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10095 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10096 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10097 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10098 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10099 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10100 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10101 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10106 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10107 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10110 2018-06-26 Florian Weimer <fweimer@redhat.com>
10112 Run thread shutdown functions in an explicit order.
10113 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10115 (__libc_thread_freeres): Call thread shutdown functions
10117 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10118 * include/string.h (__strerror_thread_freeres): Declare.
10119 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10120 arena_thread_freeres. No longer static. Remove thread shutdown
10122 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10124 * resolv/res-close.c (__res_thread_freeres): Renamed from
10125 res_thread_freeres. No longer static. Remove thread shutdown
10127 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10128 * resolv/resolv_conf.c (freeres): Remove incorrect section
10129 attribute and use libc_freeres_fn.
10130 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10131 strerror_thread_freeres. No longer static. Remove thread
10132 shutdown hook registration.
10133 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10134 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10135 shutdown hook registration.
10136 * Makerules (shlib.lds): Do not provide section boundary symbols
10137 for __libc_thread_subfreeres.
10138 * manual/memory.texi (Basic Allocation): Update comment.
10140 2018-06-26 Florian Weimer <fweimer@redhat.com>
10142 Remove always-defined _RPC_THREAD_SAFE_ macro.
10143 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10144 Do not define _RPC_THREAD_SAFE_.
10145 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10147 * sunrpc/clnt_perr.c: Likewise.
10148 * sunrpc/clnt_raw.c: Likewise.
10149 * sunrpc/clnt_simp.c: Likewise.
10150 * sunrpc/key_call.c: Likewise.
10151 * sunrpc/rpc_common.c: Likewise.
10152 * sunrpc/rpc_main.c: Likewise.
10153 * sunrpc/rpc_thread.c: Likewise.
10154 * sunrpc/svc.c: Likewise.
10155 * sunrpc/svc_raw.c: Likewise.
10156 * sunrpc/svc_simple.c: Likewise.
10157 * sumrpc/svcauth_des.c: Likewise.
10159 2018-06-26 Florian Weimer <fweimer@redhat.com>
10161 * libio/Makefile (tests-internal): Add tst-vtables,
10162 tst-vtables-interposed.
10163 * libio/tst-vtables.c: New file.
10164 * libio/tst-vtables-common.c: Likewise.
10165 * libio/tst-vtables-interposed.c: Likewise.
10167 2018-06-26 Florian Weimer <fweimer@redhat.com>
10169 * support/support_test_main.c (support_test_main): Only call
10170 setvbuf if not disables.
10171 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10172 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10174 2018-06-26 Florian Weimer <fweimer@redhat.com>
10177 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10179 2018-06-25 Florian Weimer <fweimer@redhat.com>
10182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10183 Use struct scratch_buffer instead of extend_alloca.
10185 2018-06-25 Florian Weimer <fweimer@redhat.com>
10188 * nss/getent.c (initgroups_keys): Use dynarray instead of
10191 2018-06-25 Florian Weimer <fweimer@redhat.com>
10194 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10195 Use struct scratch_buffer instead of extend_alloca.
10197 2018-06-25 Florian Weimer <fweimer@redhat.com>
10200 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10201 back to malloc directly, without stack allocations.
10203 2018-06-25 Florian Weimer <fweimer@redhat.com>
10206 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10209 2018-06-25 Florian Weimer <fweimer@redhat.com>
10212 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10214 * nscd/hstcache.c (addhstbyX): Likewise.
10215 * nscd/pwdcache.c (addpwbyX): Likewise.
10216 * nscd/servicescache.c (addservbyX): Likewise.
10218 2018-06-25 Florian Weimer <fweimer@redhat.com>
10221 * nscd/connections.c (read_cmdline): New function.
10222 (restart): Use it. Update comment.
10224 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10227 * localedata/locales/csb_PL (mon): Rename to...
10229 (abmon): Rename to...
10230 (ab_alt_mon): This.
10231 (mon): Add with proper genitive forms, copy from Wikipedia.
10234 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10237 * localedata/locales/csb_PL (mon): Fix typos:
10238 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10239 (yesstr): Add, value is "jo".
10240 (nostr): Add, value is "nié".
10242 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10244 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10245 all log1p and significand functions on m680x0.
10246 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10247 of s_significand.c..
10248 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10249 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10250 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10251 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10252 s_log1p.c and include it..
10254 2018-06-21 Vincent Chen <vincentc@andestech.com>
10256 * elf/elf.h (R_NDS32_NONE): New define.
10257 (R_NDS32_32_RELA): Likewise.
10258 (R_NDS32_COPY): Likewise.
10259 (R_NDS32_GLOB_DAT): Likewise.
10260 (R_NDS32_JUMP_SLOT): Likewise.
10261 (R_NDS32_RELATIVE): Likewise.
10262 (R_NDS32_TLS_TPOFF): Likewise.
10263 (R_NDS32_TLS_DESC): Likewise.
10265 2018-06-21 Mark Wielaard <mark@klomp.org>
10267 * elf/elf.h (R_BPF_MAP_FD): Removed.
10268 (R_BPF_64_64, R_BPF_64_32): New.
10270 2018-06-21 Florian Weimer <fweimer@redhat.com>
10273 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10274 Renamed from libc_feholdsetround_ctx.
10275 (default_libc_feresetround_ctx): Renamed from
10276 libc_feresetround_ctx.
10277 (default_libc_feholdsetround_noex_ctx): Renamed from
10278 libc_feholdsetround_noex_ctx.
10279 (default_libc_feresetround_noex_ctx): Renamed from
10280 libc_feresetround_noex_ctx.
10281 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10282 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10283 forwardning to the old implementations under the new names.
10284 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10285 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10286 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10287 (libc_feresetround_ctx): Forward to default implements for i386
10288 and MATH_SET_BOTH_ROUNDING_MODES.
10289 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10290 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10292 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10294 * string/tst-cmp.c: Include <libc-diag.h>.
10295 (strncmp_max): Disable -Wstringop-overflow= around call to
10297 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10300 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10301 (main): Disable -Wunused-value around call to strpbrk.
10302 * string/bug-strspn1.c: Include <libc-diag.h>.
10303 (main): Disable -Wunused-value around call to strspn.
10305 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10308 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10309 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10311 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10313 * math/Makefile (libm-calls): Move s_significandF to...
10314 (gen-libm-calls): ... here.
10315 * math/s_significand_template.c: New file.
10316 * math/s_significand.c: Removed.
10317 * math/s_significandf.c: Removed.
10318 * math/s_significandl.c: Removed.
10319 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10320 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10322 * math/e_exp2_template.c (declare_mgen_finite_alias,
10323 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10324 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10325 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10327 2018-06-20 Florian Weimer <fweimer@redhat.com>
10329 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10331 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10335 floating-point number to strtod functions rather than possibly
10336 negating result of those functions.
10337 * stdio-common/tst-scanf-round.c: New file.
10338 * stdio-common/Makefile (tests): Add tst-scanf-round.
10339 ($(objpfx)tst-scanf-round): Depend on $(libm).
10341 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10343 * sysdeps/mach/hurd/localplt.data: Move to...
10344 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10345 R_386_GLOB_DAT like on Linux i386.
10347 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10349 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10350 (SHM_STAT_ANY): New macro.
10351 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10352 (SHM_STAT_ANY): Likewise.
10353 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10354 (SHM_STAT_ANY): Likewise.
10355 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10356 (SHM_STAT_ANY): Likewise.
10357 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10358 (SHM_STAT_ANY): Likewise.
10359 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10360 (SHM_STAT_ANY): Likewise.
10361 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10362 (SHM_STAT_ANY): Likewise.
10363 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10364 (SHM_STAT_ANY): Likewise.
10365 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10366 (SHM_STAT_ANY): Likewise.
10367 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10368 (SHM_STAT_ANY): Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10370 (SHM_STAT_ANY): Likewise.
10371 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10372 (SHM_STAT_ANY): Likewise.
10374 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10375 (SEM_STAT_ANY): New macro.
10376 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10377 (SEM_STAT_ANY): Likewise.
10378 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10379 (SEM_STAT_ANY): Likewise.
10380 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10381 (SEM_STAT_ANY): Likewise.
10382 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10383 (SEM_STAT_ANY): Likewise.
10384 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10385 (SEM_STAT_ANY): Likewise.
10386 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10387 (SEM_STAT_ANY): Likewise.
10388 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10389 (SEM_STAT_ANY): Likewise.
10390 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10391 (SEM_STAT_ANY): Likewise.
10392 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10393 (SEM_STAT_ANY): Likewise.
10395 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10396 (MSG_STAT_ANY): New macro.
10397 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10398 (MSG_STAT_ANY): Likewise.
10399 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10400 (MSG_STAT_ANY): Likewise.
10401 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10402 (MSG_STAT_ANY): Likewise.
10403 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10404 (MSG_STAT_ANY): Likewise.
10405 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10406 (MSG_STAT_ANY): Likewise.
10407 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10408 (MSG_STAT_ANY): Likewise.
10409 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10410 (MSG_STAT_ANY): Likewise.
10411 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10412 (MSG_STAT_ANY): Likewise.
10413 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10414 (MSG_STAT_ANY): Likewise.
10416 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10417 (MAP_TYPE): Change value to 0x2b.
10419 2018-06-18 Florian Weimer <fweimer@redhat.com>
10422 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10423 socket with SOCK_CLOEXEC.
10425 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10428 * sysdeps/powerpc/powerpc64/le/Makefile
10429 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10430 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10431 (gnulib-tests): Also add $(f128-loader-link) for
10432 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10434 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10436 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10437 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10439 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10440 (sendfile64): New strong alias.
10441 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10442 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10443 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10444 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10446 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10447 ___pthread_get_cleanup_stack.
10448 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10449 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10450 * mach/shortcut.awk: Make syscall stubs include
10451 <mach-shortcuts-hidden.h> and add hidden definition.
10452 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10453 (__mach_msg): Add hidden prototype.
10454 * mach/msg.c: Include <mach.h>.
10455 (__mach_msg): Add hidden definition.
10456 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10457 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10458 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10459 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10460 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10461 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10462 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10463 prototype and definition.
10464 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10465 hidden target for _hurd_self_sigstate.
10467 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10470 * stdlib/tst-strtod-nan-sign-main.c: New file.
10471 * stdlib/tst-strtod-nan-sign.c: Likewise.
10472 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10473 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10474 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10475 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10476 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10478 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10481 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10484 2018-06-14 Florian Weimer <fweimer@redhat.com>
10487 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10488 that the result stays within the ISO-8859-1 range.
10489 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10490 characters are defined in IBM273.
10492 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10494 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10495 __mach_task_self): Remove attribute_hidden.
10497 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10499 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10500 ignore -Wrestrict for one test.
10502 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10503 Szabolcs Nagy <szabolcs.nagy@arm.com>
10505 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10507 2018-06-14 Florian Weimer <fweimer@redhat.com>
10509 * scripts/update-abilist.sh: Accept empty list of files to patch.
10511 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10513 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10514 test-xfail-check-abi-libmachuser): Add.
10515 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10516 __libc_read and __libc_write to __read and __write.
10517 * sysdeps/hurd/include/hurd/port.h: New file.
10518 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10519 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10520 __thread_switch, __evc_wait): Move declarations to...
10521 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10523 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10524 use PLT to call _hurd_self_sigstate.
10526 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10529 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10530 MAX_EXP as overflowing.
10531 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10533 (round_str): Output also whether result overflows in each rounding
10535 * stdlib/tst-strtod-round-data: Add more tests.
10536 * stdlib/tst-strtod-round-data.h: Regenerated.
10537 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10538 (TEST): Handle extra arguments for overflow flags.
10539 (struct test_overflow): New type.
10540 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10541 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10542 (test_in_one_mode): Take argument with overflow information.
10543 (do_test): Update calls to test_in_one_mode.
10545 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10547 * elf/dl-load (_dl_dst_substitute): Correct comment.
10548 (_dl_dst_count): Likewise.
10550 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10551 lll_futex_timed_wait.
10553 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10556 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10558 * math/test-nan-const.c: New file.
10559 * math/Makefile (tests): Add test-nan-const.
10560 (CFLAGS-test-nan-const.c): New variable.
10562 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10564 * benchtests/scripts/compare_strings.py (process_results): Add
10565 funcs argument. Compare only functions which are selected.
10566 (main): Check if base function is among selected functions.
10567 Pass selected functions to process_results.
10568 (__main__): Add -f/--functions argument.
10570 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10571 Hongbo Zhang <hongbo.zhang@linaro.org>
10573 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10574 __memcpy_falkor for phecda core.
10575 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10576 __memmove_falkor for phecda core.
10577 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10578 __memset_falkor for phecda core.
10579 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10581 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10582 macro to identify phecda core.
10584 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10585 Andreas Schwab <schwab@suse.de>
10586 Dmitry V. Levin <ldv@altlinux.org>
10587 Florian Weimer <fweimer@redhat.com>
10594 * elf/dl-dst.h: Remove DL_DST_COUNT.
10595 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10596 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10597 (is_dst): Comment. Support ELF gABI.
10598 (_dl_dst_count): Comment. Simplify and count DSTs.
10599 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10600 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10603 2018-06-12 Zack Weinberg <zackw@panix.com>
10605 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10606 * sysdeps/unix/sysv/linux/dl-sysdep.c
10607 Include not-cancel.h. Use __close_nocancel instead of __close,
10608 __open64_nocancel instead of __open, __read_nocancel instead of
10609 __libc_read, and __write_nocancel instead of __libc_write.
10611 * csu/check_fds.c (check_one_fd)
10612 * sysdeps/posix/fdopendir.c (__fdopendir)
10613 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10614 instead of __fcntl and/or __libc_fcntl.
10616 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10617 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10618 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10619 Use __open64_nocancel instead of __open_nocancel.
10621 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10622 hidden_proto declarations to the end and issue them if either
10623 IS_IN(libc) or IS_IN(rtld).
10624 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10625 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10626 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10627 read_nocancel, waitpid_nocancel, write_nocancel.
10629 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10630 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10631 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10633 * nptl/pt-fcntl.c: New file.
10634 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10635 (libpthread-routines): Add pt-fcntl.
10636 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10637 (__libc_fcntl): Remove attribute_hidden.
10638 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10639 __fcntl_nocancel_adjusted, not fcntl_common.
10640 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10641 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10642 to fcntl_nocancel.c.
10643 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10646 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10648 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10649 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10650 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10651 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10652 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10653 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10654 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10655 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10656 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10657 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10658 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10659 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10660 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10661 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10662 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10663 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10664 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10665 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10666 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10667 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10669 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10670 libpthread-routines.
10671 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10674 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10675 __libc_read, and __write instead of __libc_write. Define
10676 __open64 in addition to __open.
10678 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10682 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10683 to _private_tm[3] and add __glibc_reserved2.
10684 Add _Static_assert of offset of __private_ss == 0x30.
10685 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10686 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10688 2018-06-12 Florian Weimer <fweimer@redhat.com>
10690 x86: Make strncmp usable from rtld.
10691 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10692 __strncmp_ia32 if in libc (and not in rtld).
10693 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10694 strncmp if not in libc (and not to __strncmp_sse2).
10696 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10699 * localedata/locales/gd_GB (mon): Rename to...
10701 (mon): Import from CLDR (genitive case).
10702 * localedata/locales/hsb_DE (mon): Rename to...
10704 (mon): Import from CLDR (genitive case).
10705 * localedata/locales/wa_BE (mon): Rename to...
10707 (mon): Add, fill with the proper genitive forms, but CLDR data
10708 is incomplete; completed according to the comments in this file.
10709 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10711 * localedata/locales/wa_BE (country_name): Reword
10712 "Beljike" -> "Beldjike".
10714 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10718 cases of non-finite arguments.
10719 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10721 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10724 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10726 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10729 * include/unistd.h (__execvpex): New prototype.
10730 * posix/Makefile (tests): Add tst-spawn4.
10731 (tests-internal): Add tst-spawn4-compat.
10732 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10733 * posix/tst-spawn4-compat.c: New file.
10734 * posix/tst-spawn4.c: Likewise.
10735 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10736 binaries as shell scripts.
10737 * sysdeps/posix/spawni.c (__spawni): Likewise.
10739 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10742 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10743 ($(all-built-dso:=.dynsym): New target.
10744 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10745 ($(objpfx)check-initfini.out): New target.
10746 (generated): Add check-initfini.out.
10747 * scripts/check-initfini.awk: New file.
10748 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10750 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10752 * sysdeps/arm/crti.S (_init): Mark as hidden.
10754 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10756 * sysdeps/i386/crti.S (_init): Mark as hidden.
10758 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10760 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10762 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10764 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10766 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10768 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10770 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10772 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10774 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10776 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10778 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10780 * sysdeps/sh/crti.S (_init): Mark as hidden.
10782 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10784 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10787 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10789 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10790 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10791 and TF redirection to KFtype and KF only when the default
10792 long double type is not the IEEE 128-bit floating point type.
10794 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10798 (HWCAP_USCAT): Likewise.
10799 (HWCAP_ILRCPC): Likewise.
10800 (HWCAP_FLAGM): Likewise.
10801 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10803 (_dl_aarch64_cap_flags): Add new flag names.
10805 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10806 (MAP_FIXED_NOREPLACE): New macro.
10807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10808 (MAP_FIXED_NOREPLACE): Likewise.
10809 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10810 (MAP_FIXED_NOREPLACE): Likewise.
10811 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10812 (MAP_FIXED_NOREPLACE): Likewise.
10813 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10814 (MAP_FIXED_NOREPLACE): Likewise.
10815 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10816 (MAP_FIXED_NOREPLACE): Likewise.
10817 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10818 (MAP_FIXED_NOREPLACE): Likewise.
10819 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10820 (MAP_FIXED_NOREPLACE): Likewise.
10821 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10822 (MAP_FIXED_NOREPLACE): Likewise.
10823 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10824 (MAP_FIXED_NOREPLACE): Likewise.
10825 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10826 (MAP_FIXED_NOREPLACE): Likewise.
10827 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10828 (MAP_FIXED_NOREPLACE): Likewise.
10829 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10830 (MAP_FIXED_NOREPLACE): Likewise.
10831 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10832 (MAP_FIXED_NOREPLACE): Likewise.
10833 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10834 (MAP_FIXED_NOREPLACE): Likewise.
10836 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10839 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10841 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10844 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10846 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10848 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10850 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10852 * benchtests/scripts/compare_string.py: (process_results) Catch
10853 exception in non-existent base_func and catch exception in
10854 non-existent attribute.
10855 (parse_file) Catch exception if input file does not exist.
10857 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10859 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10860 options to avoid diff calculation and omit header, respectively.
10861 (main): process --no-diff and --no-header
10863 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10864 H.J. Lu <hongjiu.lu@intel.com>
10866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10867 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10870 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10871 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10872 and __wcsncmp_sse2.
10873 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10874 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10875 AVX unaligned load is fast and vzeroupper is preferred.
10876 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10877 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10878 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10879 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10880 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10881 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10882 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10883 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10884 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10885 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10888 2018-06-01 Florian Weimer <fweimer@redhat.com>
10890 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10891 configuring with --disable-multi-arch, building with
10892 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10895 2018-06-01 Florian Weimer <fweimer@redhat.com>
10897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10898 results from building with “-march=x86-64 -mtune=generic
10899 -mfpmath=sse” and running on a Haswell-era CPU.
10901 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10904 * soft-fp/sqrttf2.c: Remove file.
10905 * soft-fp/sqrtdf2.c: Move to ....
10906 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10908 (__sqrtdf2): Make conditional on
10909 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10911 * soft-fp/sqrtsf2.c: Move to ....
10912 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10914 (__sqrtsf2): Make conditional on
10915 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10917 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10918 (gcc-double-routines): Remove sqrtdf2.
10919 (gcc-quad-routines): Remove sqrttf2.
10920 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10921 Do not filter out sqrtsf2 and sqrtdf2.
10922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10923 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10925 2018-06-01 Florian Weimer <fweimer@redhat.com>
10927 * sysdeps/generic/libcidn.abilist: Remove file.
10929 2018-06-01 Florian Weimer <fweimer@redhat.com>
10932 * libio/strfile.h (struct _IO_str_fields): Rename members to
10933 discourage their use and add comment.
10934 (_IO_STR_DYNAMIC): Remove unused macro.
10935 * libio/strops.c (_IO_str_init_static_internal): Do not use
10936 callback pointers. Call malloc and free.
10937 (_IO_str_overflow): Do not use callback pointers. Call malloc
10939 (enlarge_userbuf): Likewise.
10940 (_IO_str_finish): Call free.
10941 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10942 _allocate_buffer_unused.
10943 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10945 (enlarge_userbuf): Likewise.
10946 (_IO_wstr_finish): Call free.
10947 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10948 _allocate_buffer_unused, _free_buffer_unused.
10949 * libio/memstream.c (__open_memstream): Likewise.
10950 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10951 * libio/wmemstream.c (open_wmemstream): Likewise.
10953 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10955 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10958 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10960 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10961 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10962 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10964 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10966 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10968 2018-05-29 Florian Weimer <fweimer@redhat.com>
10970 * support/Makefile (libsupport-routines): Add
10971 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10972 xpthread_barrierattr_setpshared.
10973 * support/xpthread_barrierattr_destroy.c: New file.
10974 * support/xpthread_barrierattr_init.c: Likewise.
10975 * support/xpthread_barrierattr_setpshared.c: Likewise.
10977 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10980 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10981 _r_debug and update DT_DEBUG for debugger.
10983 2018-05-29 Florian Weimer <fweimer@redhat.com>
10985 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10986 (tst-strtod5i.out): Likewise.
10988 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10990 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10991 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10992 (sparc64-quad-routines): New variable. Moved from ....
10993 [$(subdir) = soft-fp] (sysdep_routines): Add
10994 $(sparc64-quad-routines). Moved from ....
10995 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10996 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10997 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10999 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11000 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11001 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11002 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11003 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11004 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11005 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11006 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11007 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11008 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11009 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11010 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11011 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11012 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11013 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11014 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11015 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11016 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11017 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11018 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11019 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11020 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11021 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11022 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11023 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11024 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11025 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11026 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11027 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11028 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11029 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11030 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11031 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11032 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11033 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11034 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11035 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11036 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11037 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11038 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11039 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11040 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11041 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11042 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11043 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11044 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11045 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11046 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11047 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11048 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11049 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11050 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11051 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11052 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11053 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11054 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11056 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11058 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11059 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11060 (sparc32-quad-routines): New variable. Moved from ....
11061 [$(subdir) = soft-fp] (sysdep_routines): Add
11062 $(sparc32-quad-routines). Moved from ....
11063 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11064 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11066 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11067 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11068 * sysdeps/sparc/sparc32/q_add.c: ... here.
11069 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11070 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11071 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11072 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11073 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11074 * sysdeps/sparc/sparc32/q_div.c: ... here.
11075 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11076 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11077 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11078 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11079 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11080 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11081 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11082 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11083 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11084 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11085 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11086 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11087 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11088 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11089 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11090 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11091 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11092 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11093 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11094 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11096 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11097 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11098 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11099 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11100 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11101 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11102 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11103 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11104 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11105 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11106 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11107 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11108 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11109 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11110 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11111 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11112 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11113 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11114 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11115 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11116 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11117 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11118 * sysdeps/sparc/sparc32/q_util.c: ... here.
11119 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11120 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11122 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11124 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11125 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11127 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11128 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11129 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11130 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11132 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11138 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11139 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11141 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11144 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11147 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11149 * sysdeps/sh/Implies: Remove sh/soft-fp.
11150 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11151 * sysdeps/sh/sfp-machine.h: ... here.
11153 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11155 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11156 (__mempcpy_erms): Skip zero length.
11157 (__memmove_erms): Likewise.
11158 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11159 (__memset_erms): Likewise.
11161 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11163 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11164 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11165 Add functions moved from ....
11166 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11167 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11168 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11170 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11171 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11172 * sysdeps/alpha/e_sqrtl.c: ... here.
11173 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11174 * sysdeps/alpha/local-soft-fp.h: ... here.
11175 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11176 * sysdeps/alpha/ots_add.c: ... here.
11177 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11178 * sysdeps/alpha/ots_cmp.c: ... here.
11179 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11180 * sysdeps/alpha/ots_cmpe.c: ... here.
11181 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11182 * sysdeps/alpha/ots_cvtqux.c: ... here.
11183 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11184 * sysdeps/alpha/ots_cvtqx.c: ... here.
11185 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11186 * sysdeps/alpha/ots_cvttx.c: ... here.
11187 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11188 * sysdeps/alpha/ots_cvtxq.c: ... here.
11189 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11190 * sysdeps/alpha/ots_cvtxt.c: ... here.
11191 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11192 * sysdeps/alpha/ots_div.c: ... here.
11193 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11194 * sysdeps/alpha/ots_mul.c: ... here.
11195 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11196 * sysdeps/alpha/ots_nintxq.c: ... here.
11197 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11198 * sysdeps/alpha/ots_sub.c: ... here.
11199 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11200 * sysdeps/alpha/sfp-machine.h: ... here.
11202 2018-05-23 Florian Weimer <fweimer@redhat.com>
11210 Switch to extern IDNA implementation (libidn2).
11211 * libidn: Remove subdirectory.
11212 * LICENSES: Do not mention licensing conditions for the removed
11214 * config.h.in (HAVE_LIBIDN): Remove.
11215 * include/dlfcn.h (__libc_dlopen): Update comment.
11216 * include/idna.h: Remove file.
11217 * inet/Makefile (routines): Add idna.
11218 (tests-static, tests-internal): Add tst-idna_name_classify.
11219 (LOCALES): Generate locales for tests.
11220 (tst-idna_name_classify.out): Depend on generated locales.
11221 * inet/idna_name_classify.c: New file.
11222 * inet/tst-idna_name_classify.c: Likewise.
11223 * inet/net-internal.h (__idna_to_dns_encoding)
11224 (__idna_from_dns_encoding): Declare.
11225 * inet/net-internal.h (enum idna_name_classification): Define.
11226 (__idna_name_classify): Declare.
11227 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11228 __idna_from_dns_encoding.
11229 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11230 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11231 name as a fallback in case of encoding errors.
11232 (getnameinfo): Use DEPRECATED_NI_IDN.
11233 * inet/idna.c: New file.
11234 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11235 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11236 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11237 (modules-names): Add tst-no-libidn2.
11238 (extra-test-objs): Add tst-no-libidn2.os.
11239 (LDFLAGS-tst-no-libidn2.so): Set soname.
11240 (LOCALES): Set, and generate locales.
11241 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11242 (tst-resolv-ai_idn-latin1): Likewise.
11243 (tst-resolv-ai_idn-nolibidn2): Likewise.
11244 (tst-resolv-ai_idn.out): Depend on locales.
11245 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11246 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11248 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11249 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11250 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11251 * resolv/tst-resolv-ai_idn.c: New file.
11252 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11253 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11254 * resolv/tst-no-libidn2.c: Likewise.
11255 * support/support_format_addrinfo.c (format_ai_flags): Do not
11256 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11257 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11258 (gaih_inet): Call __idna_to_dns_encoding and
11259 __idna_from_dns_encoding, and use the original (punycode) name if
11260 __idna_from_dns_encoding fails due to an encoding error.
11261 (getaddrinfo): Use DEPRECATED_AI_IDN.
11262 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11263 * sysdeps/unix/inet/configure: Remove file.
11264 * sysdeps/unix/inet/configure.ac: Likewise.
11266 2018-05-23 Florian Weimer <fweimer@redhat.com>
11268 Implement allocate_once.
11269 * include/allocate_once.h: New file.
11270 * misc/allocate_once.c: Likewise.
11271 * misc/tst-allocate_once.c: Likewise.
11272 * misc/Makefile (routines): Add allocate_once.
11273 (tests-internal): Add tst-allocate_once.
11274 (generated): Add tst-allocate_once.mtrace,
11275 tst-allocate_once-mem.out.
11276 (tests-special): Add tst-allocate_once-mem.out.
11277 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11278 (tst-allocate_once-mem.out): Call mtrace.
11279 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11281 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11284 * string/test-memcpy.c (do_test1): New function.
11285 (test_main): Call it.
11287 2018-05-23 Andreas Schwab <schwab@suse.de>
11291 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11292 (L(preloop_large)): Save initial destination pointer in %r11 and
11293 use it instead of %rax after the loop.
11294 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11296 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11298 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11299 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11300 -I../soft-fp. Moved from ....
11301 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11302 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11303 * sysdeps/aarch64/e_sqrtl.c: ... here.
11304 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11305 * sysdeps/aarch64/sfp-machine.h: ... here.
11307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11308 -Wmaybe-uninitialized around access to fq[0].
11309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11313 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11314 aliases for non-libc case of versioned symbols.
11315 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11316 (llseek): Define as compat symbol if
11317 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11319 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11320 Make into a compat symbol, disabled for minimum symbol version
11321 GLIBC_2.28 and later.
11322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11324 2018-05-22 Florian Weimer <fweimer@redhat.com>
11326 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11327 not add -mpreferred-stack-boundary=4.
11328 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11329 (stack-align-test-flags): Likewise.
11330 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11332 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11333 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11334 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11335 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11336 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11337 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11338 (CFLAGS-tst-align2.c): Likewise.
11340 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11342 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11343 (index_arch_Prefer_FSRM): Likewise.
11344 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11345 Also check Prefer_FSRM.
11346 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11347 Also return OPTIMIZE (erms) for Prefer_FSRM.
11349 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11351 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11352 (index_cpu_FSRM): Likewise.
11353 (reg_FSRM): Likewise.
11355 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11357 * math/gen-tgmath-tests.py: Import sys.
11358 (Tests.__init__): Initialize macros_seen.
11359 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11360 if requested to do so for this macro.
11361 (Tests.add_all_tests): Take argument for macro for which to
11363 (Tests.check_macro_list): New function.
11364 (main): Handle check-list argument and argument specifying macro
11365 for which to generate tests.
11366 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11367 [PYTHON] (tgmath3-macro-tests): Likewise.
11368 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11369 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11370 not test-tgmath3.c.
11371 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11372 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11374 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11375 [PYTHON] ($(foreach
11376 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11378 [PYTHON] (tests-special): Add
11379 $(objpfx)test-tgmath3-macro-list.out.
11380 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11382 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11383 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11387 * time/tzset.c (SECSPERDAY): Cast to time_t.
11388 * time/tst-y2039.c: New file.
11389 * time/Makefile (tests): Add tst-y2039.
11391 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11393 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11394 (PREFETCH_ONE_SET): Remove duplicate line.
11396 2018-05-17 Florian Weimer <fweimer@redhat.com>
11398 * sysdeps/generic/math-type-macros-double.h: Include
11399 <math-nan-payload-double.h> after <libm-alias-double.h>.
11400 * sysdeps/generic/math-type-macros-float.h: Include
11401 <math-nan-payload-float.h> after <libm-alias-float.h>.
11402 * sysdeps/generic/math-type-macros-float128.h: Include
11403 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11404 * sysdeps/generic/math-type-macros-ldouble.h: Include
11405 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11407 2018-05-17 Andreas Schwab <schwab@suse.de>
11409 * resolv/res_send.c (__res_context_send): Don't set errno when
11410 returing error after malloc failure.
11412 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11414 * nptl/allocatestack.c (allocate_stack): Remove the
11415 !__ASSUME_PRIVATE_FUTEX paths.
11416 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11417 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11419 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11420 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11421 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11422 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11423 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11424 !__ASSUME_PRIVATE_FUTEX path.
11425 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11426 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11427 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11428 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11429 !__ASSUME_PRIVATE_FUTEX macros.
11430 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11431 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11433 * sysdeps/unix/sysv/linux/kernel-features.h
11434 (__ASSUME_PRIVATE_FUTEX): Removed.
11436 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11438 * math/Makefile (libm-narrow-fns): Add div.
11439 (libm-test-funcs-narrow): Likewise.
11440 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11441 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11442 * math/gen-auto-libm-tests.c (test_functions): Add div.
11443 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11444 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11445 (NARROW_DIV_TRIVIAL): Likewise.
11446 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11448 (__ddivl): Likewise.
11449 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11451 (CFLAGS-nldbl-ddiv.c): New variable.
11452 (CFLAGS-nldbl-fdiv.c): Likewise.
11453 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11457 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11458 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11459 * math/auto-libm-test-in: Add tests of div.
11460 * math/auto-libm-test-out-narrow-div: New generated file.
11461 * math/libm-test-narrow-div.inc: New file.
11462 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11464 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11465 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11466 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11467 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11476 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11477 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11478 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11479 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11481 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11507 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11510 * nscd/nscd-client.h (sendfileall): Remove prototype.
11511 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11512 (handle_request): Use writeall instead of sendfileall.
11513 * nscd/aicache.c (addhstaiX): Likewise.
11514 * nscd/grpcache.c (cache_addgr): Likewise.
11515 * nscd/hstcache.c (cache_addhst): Likewise.
11516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11517 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11518 * nscd/pwdcache.c (cache_addpw): Likewise.
11519 * nscd/servicescache.c (cache_addserv): Likewise.
11520 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11521 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11525 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11527 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11528 Include <string/strncat.c>.
11529 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11531 (__GI___strncat): New hidden alias.
11533 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11535 * sysdeps/mips/mips32/libm-test-ulps: Update.
11536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11538 2018-05-16 Florian Weimer <fweimer@redhat.com>
11540 * support/Makefile (libsupport-routines): Add support_quote_blob,
11541 support_test_compare_blob.
11542 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11543 * support/check.h (TEST_COMPARE_BLOB): Define.
11544 (support_test_compare_blob): Declare.
11545 * support/support.h (support_quote_blob): Declare.
11546 * support/support_quote_blob.c: New file.
11547 * support/support_test_compare_blob.c: Likewise.
11548 * support/tst-support_quote_blob.c: Likewise.
11549 * support/tst-test_compare_blob.c: Likewise.
11551 2018-05-16 Florian Weimer <fweimer@redhat.com>
11553 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11554 of <strtod_nan_double.h>.
11555 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11556 instead of SET_MANTISSA.
11557 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11558 of include <strtod_nan_float.h>.
11559 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11560 instead of <strtod_nan_ldouble.h>.
11561 * stdlib/strtod_nan_double.h: Move to ...
11562 * sysdeps/generic/math-nan-payload-double.h: ... here.
11563 (FLOAT): Remove definition.
11564 (SET_MANTISSA): Rename to ...
11565 (SET_NAN_PAYLOAD): ... this.
11566 * stdlib/strtod_nan_float.h: Move to ...
11567 * sysdeps/generic/math-nan-payload-float.h: ... here.
11568 (FLOAT): Remove definition.
11569 (SET_MANTISSA): Rename to ...
11570 (SET_NAN_PAYLOAD): ... this.
11571 * sysdeps/generic/math-type-macros-double.h: Include
11572 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11573 instead of <math-svid-compat.h>.
11574 * sysdeps/generic/math-type-macros-float.h: Include
11575 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11576 instead of <math-svid-compat.h>.
11577 * sysdeps/generic/math-type-macros-float128.h: Include
11578 <math-nan-payload-float128.h>.
11579 * sysdeps/generic/math-type-macros-ldouble.h: Include
11580 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11581 instead of <math-svid-compat.h>.
11582 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11583 check for definition.
11584 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11585 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11586 Include <ieee754_float128.h>.
11587 (FLOAT): Remove definition.
11588 (SET_MANTISSA): Rename to ...
11589 (SET_NAN_PAYLOAD): ... this.
11590 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11591 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11592 Do not include <float128_private.h>.
11593 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11595 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11596 (FLOAT): Remove definition.
11597 (SET_MANTISSA): Rename to ...
11598 (SET_NAN_PAYLOAD): ... this.
11599 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11600 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11601 (FLOAT): Remove definition.
11602 (SET_MANTISSA): Rename to ...
11603 (SET_NAN_PAYLOAD): ... this.
11604 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11605 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11606 (FLOAT): Remove definition.
11607 (SET_MANTISSA): Rename to ...
11608 (SET_NAN_PAYLOAD): ... this.
11609 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11610 of "../stdlib/strtod_nan_double.h".
11611 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11612 of "../stdlib/strtod_nan_float.h".
11613 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11614 instead of "../stdlib/strtod_nan_ldouble.h".
11615 * manual/arith.texi (Parsing of Floats): Adjust comment.
11617 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11619 * math/Makefile (libm-narrow-fns): Add mul.
11620 (libm-test-funcs-narrow): Likewise.
11621 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11622 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11623 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11624 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11625 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11626 (NARROW_MUL_TRIVIAL): Likewise.
11627 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11628 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11630 (__dmull): Likewise.
11631 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11633 (CFLAGS-nldbl-dmul.c): New variable.
11634 (CFLAGS-nldbl-fmul.c): Likewise.
11635 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11637 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11639 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11640 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11641 * math/auto-libm-test-in: Add tests of mul.
11642 * math/auto-libm-test-out-narrow-mul: New generated file.
11643 * math/libm-test-narrow-mul.inc: New file.
11644 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11645 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11646 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11647 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11648 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11649 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11657 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11658 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11659 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11660 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11661 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11663 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11689 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11691 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11692 with *%eax in call.
11694 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11696 * sysdeps/i386/ldsodefs.h: Removed.
11697 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11698 * sysdeps/x86/ldsodefs.h: This.
11699 (La_i86_regs): New.
11700 (La_i86_retval): Likewise.
11701 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11702 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11704 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11706 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11709 2018-05-13 Alan Modra <amodra@gmail.com>
11711 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11712 R_PARISC_TLS_DTPOFF32 reloc addend.
11714 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11716 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11717 * math/math.h: Restrict the prototype definition for the functions
11718 issignaling(_Float128) and iszero(_Float128); and template
11719 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11720 __HAVE_FLOAT128_UNLIKE_LDBL.
11721 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11722 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11723 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11724 __f128() constants; define the type _Float128 as long double;
11725 and reuse long double in __CFLOAT128.
11727 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11729 * sysdeps/generic/math_private.h: Do not include
11731 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11733 * math/fromfp.h: Include <math-barriers.h>.
11734 * math/math-narrow.h: Likewise.
11735 * math/s_nextafter.c: Likewise.
11736 * math/s_nexttowardf.c: Likewise.
11737 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11738 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11739 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11740 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11741 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11742 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11743 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11757 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11759 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11762 * sysdeps/ieee754/k_standardl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11783 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11784 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11786 2018-05-11 Florian Weimer <fweimer@redhat.com>
11788 Use 64-bit epoch values in the time zone file parser.
11789 * include/time.h (internal_time_t): Define.
11790 (__tzfile_compute): Use it.
11791 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11793 (transitions): Switch to internal_time_t.
11794 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11796 (__tzfile_compute): Use internal_time_t for timer argument. Check
11797 for truncation before calling __offtime.
11799 2018-05-11 Florian Weimer <fweimer@redhat.com>
11802 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11803 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11805 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11806 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11807 export without --enable-obsolete-rpc.
11808 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11809 symbol. This should not have been exported, ever.
11811 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11814 * localedata/locales/gd_GB (abmon): Fix typo in May:
11815 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11817 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11819 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11820 Use multiple registers to copy data in loop tail.
11822 * sysdeps/aarch64/multiarch/memmove_falkor.S
11823 (__memmove_falkor): Use multiple registers to move data in
11826 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11828 * math/math-underflow.h: New file.
11829 * sysdeps/generic/math_private.h: Do not include <float.h>.
11830 (fabs_tg): Remove macro. Moved to math-underflow.h.
11831 (min_of_type_f): Likewise.
11832 (min_of_type_): Likewise.
11833 (min_of_type_l): Likewise.
11834 (min_of_type_f128): Likewise.
11835 (min_of_type): Likewise.
11836 (math_check_force_underflow): Likewise.
11837 (math_check_force_underflow_nonneg): Likewise.
11838 (math_check_force_underflow_complex): Likewise.
11839 * math/e_exp2_template.c: Include <math-underflow.h>.
11840 * math/k_casinh_template.c: Likewise.
11841 * math/s_catan_template.c: Likewise.
11842 * math/s_catanh_template.c: Likewise.
11843 * math/s_ccosh_template.c: Likewise.
11844 * math/s_cexp_template.c: Likewise.
11845 * math/s_clog10_template.c: Likewise.
11846 * math/s_clog_template.c: Likewise.
11847 * math/s_csin_template.c: Likewise.
11848 * math/s_csinh_template.c: Likewise.
11849 * math/s_csqrt_template.c: Likewise.
11850 * math/s_ctan_template.c: Likewise.
11851 * math/s_ctanh_template.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11873 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11875 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11881 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11882 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11920 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11929 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11930 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11932 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11937 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11939 * sysdeps/generic/math-barriers.h: New file.
11940 * sysdeps/generic/math_private.h [!math_opt_barrier]
11941 (math_opt_barrier): Move to math-barriers.h.
11942 [!math_opt_barrier] (math_force_eval): Likewise.
11943 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11944 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11946 (math_force_eval): Likewise.
11947 * sysdeps/alpha/fpu/math-barriers.h: New file.
11948 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11950 (math_force_eval): Likewise.
11951 * sysdeps/x86/fpu/math-barriers.h: New file.
11952 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11954 (math_force_eval): Likewise.
11955 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11956 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11957 multiple-include guard for rename.
11958 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11959 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11961 (math_force_eval): Likewise.
11963 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11967 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11969 * stdlib/Makefile (test-bz22786): New test.
11970 * stdlib/test-bz22786.c: New test.
11972 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11974 * include/math-narrow-eval.h: New file. Contents moved from ....
11975 * sysdeps/generic/math_private.h: ... here.
11976 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11977 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11978 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11979 * stdlib/strtod_l.c: Likewise.
11980 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11981 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11982 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11995 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12002 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12003 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12004 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12005 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12007 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12008 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12010 2018-05-08 Andreas Schwab <schwab@suse.de>
12012 * sysdeps/nptl/internaltypes.h: Fix comment.
12014 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12016 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12017 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12020 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12022 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12023 of I into loop header.
12024 * benchtests/bench-memmove-walk.c
12025 (test_main): Likewise.
12027 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12030 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12031 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12033 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12036 * elf/dl-load.c (open_verify): Fix stack overflow.
12037 * elf/Makefile (tst-big-note): New test.
12038 * elf/tst-big-note-lib.S: New.
12039 * elf/tst-big-note.c: New.
12041 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12043 * scripts/abilist.awk: Ignore absolute symbols.
12044 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12045 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12046 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12047 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12048 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12049 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12050 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12051 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12052 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12053 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12054 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12055 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12085 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12137 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12151 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12179 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12200 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12290 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12305 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12323 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12344 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12358 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12397 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12400 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12401 Use atomic_load_acquire to load __tid.
12403 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12405 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12406 Restore the pointer into %rdx, after syscall and use %rdx,
12407 instead of %rsi, to restore context.
12409 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12411 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12412 Pop the pointer into %rdx after syscall and use %rdx, instead
12413 of %rsi, to restore context.
12415 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12417 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12418 handlers after setjmp.
12419 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12421 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12422 <libc-pointer-arith.h>.
12423 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12424 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12425 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12426 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12427 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12428 * sysdeps/x86/__longjmp_cancel.S: New file.
12429 * sysdeps/x86/longjmp.c: Likewise.
12430 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12432 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12434 * NEWS: Add ustat.h deprecation entry.
12435 * bits/ustat.h: Remove file.
12436 * misc/sys/ustat.h: Likewise.
12437 * misc/ustat.h: Likewise.
12438 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12439 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12440 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12441 compatibility mode.
12442 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12443 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12444 generic Linux implementation.
12446 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12448 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12449 * math/w_expl_compat.c: Likewise.
12450 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12452 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12454 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12456 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12458 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12459 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12460 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12462 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12465 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12466 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12469 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12471 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12473 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12474 * math/w_asin_template.c: Likewise.
12475 * math/w_atanh_template.c: Likewise.
12477 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12479 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12480 to powerpc/powerpc64/be for big-endian.
12481 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12484 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12485 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12486 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12487 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12488 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12490 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12491 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12492 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12494 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12495 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12496 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12497 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12498 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12499 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12500 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12501 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12502 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12503 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12504 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12505 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12506 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12507 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12508 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12509 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12510 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12511 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12512 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12513 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12514 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12515 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12517 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12518 adjusted to imply powerpc64 and older processors on powerpc64/be.
12519 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12520 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12521 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12522 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12523 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12524 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12525 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12526 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12527 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12528 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12529 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12530 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12531 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12532 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12533 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12534 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12535 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12536 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12537 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12538 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12539 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12540 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12541 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12542 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12543 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12544 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12545 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12546 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12547 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12548 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12549 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12551 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12552 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12553 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12554 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12556 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12557 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12559 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12561 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12562 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12563 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12564 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12565 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12566 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12567 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12568 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12569 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12570 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12573 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12574 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12575 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12576 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12577 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12578 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12579 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12580 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12581 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12582 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12583 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12585 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12586 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12587 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12588 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12589 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12590 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12591 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12592 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12593 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12594 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12595 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12596 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12598 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12599 and adjusted to imply olders processors.
12600 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12601 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12602 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12603 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12604 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12605 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12606 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12607 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12608 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12609 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12610 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12629 powerpc64 and adjusted.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12635 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/tile: Remove.
12638 * sysdeps/unix/sysv/linux/tile: Likewise.
12639 * README (tilegx-*-linux-gnu): Remove from list of supported
12641 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12642 contribution of support for generic Linux kernel syscall
12644 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12645 tilegx configurations.
12646 (Config.install_linux_headers): Do not handle tile.
12647 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12649 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12650 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12651 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12652 conditional undefine and redefine.
12653 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12655 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12656 conditional undefine and redefine.
12658 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12660 * signal/tst-sigaction.c: New file to test BZ #23069.
12661 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12663 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12666 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12667 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12668 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12669 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12671 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12673 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12674 _DIRENT_MATCHES_DIRENT64 is not defined.
12675 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12676 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12678 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12679 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12681 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12683 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12684 version to GCC 8 branch.
12686 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12688 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12689 (check_no_hidden): Use type of original function when declaring
12692 * sysdeps/unix/sysv/linux/sys/ptrace.h
12693 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12694 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12695 (struct __ptrace_seccomp_metadata): New type.
12696 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12697 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12698 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12699 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12700 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12701 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12703 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12705 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12706 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12707 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12708 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12709 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12710 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12711 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12713 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12715 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12717 * dirent/versionsort.c (versionsort): Likewise.
12718 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12719 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12720 * dirent/versionsort64.c (versionsort64): Likewise.
12721 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12722 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12723 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12724 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12725 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12728 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12729 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12730 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12734 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12736 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12738 * elf/elf.h (NT_PPC_PKEY): New macro.
12740 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12743 * localedata/locales/hr_HR: fix thousands_sep and
12746 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12748 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12749 (XTABS): Define to TAB3.
12751 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12753 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12755 * dirent/scandir-tail-common.c: New file.
12756 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12757 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12758 * dirent/scandir.c: Use scandir-tail-common.c.
12759 * dirent/scandirat.c: Likewise.
12760 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12761 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12762 if _DIRENT_MATCHES_DIRENT64 is defined.
12763 * dirent/scandirat64.c (scandirat64): Likewise.
12764 * include/dirent.h (__scandir_tail): Only define iff
12765 _DIRENT_MATCHES_DIRENT64 is not defined.
12766 (__scandir64_tail): Define regardless.
12767 (__scandirat, scandirat64): Remove libc_hidden_proto.
12768 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12769 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12771 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12774 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12776 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12778 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12780 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12782 (_dl_aarch64_cap_flags): Add asimdfhm.
12784 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12786 * sysdeps/nios2/libm-test-ulps: Update.
12788 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12790 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12791 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12793 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12795 (_DIRENT_MATCHES_DIRENT64): Undef
12796 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12797 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12798 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12799 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12800 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12801 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12802 use getdents64 syscalls as base.
12803 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12804 symbol if required.
12805 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12806 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12807 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12810 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12811 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12812 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12814 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12815 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12817 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12819 * scripts/test_printers_common.py (init_test): Disable lock elision.
12821 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12823 * math/test-tgmath.c (count_double, count_float,
12824 count_ldouble, count_cdouble, count_cfloat,
12825 count_cldouble): Use volatile int.
12827 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12829 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12830 (conformtest-xfail-conds): Add i386-gnu.
12831 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12833 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12834 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12835 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12836 msqid_ds.msg_lrpid): Likewise.
12837 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12839 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12840 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12841 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12842 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12844 (struct statvfs64): Likewise.
12845 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12847 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12848 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12849 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12850 instead of wait_queue.
12851 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12852 instead of vm_area_struct.
12853 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12854 struct sched_param definition to it.
12855 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12856 * bits/types/struct_sched_param.h: New file.
12857 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12858 <bits/types/struct_sched_param.h> instead of <sched.h>.
12859 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12860 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12861 generic version but include <bits/pthreadtypes.h> to make struct
12862 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12863 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12865 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12866 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12867 [__USE_XOPEN] (OFDEL): New macro.
12868 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12869 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12870 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12872 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12873 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12874 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12876 * sysdeps/i386/sys/ucontext.h: Likewise.
12877 * sysdeps/m68k/sys/ucontext.h: Likewise.
12878 * sysdeps/mips/sys/ucontext.h: Likewise.
12879 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12880 * sysdeps/mach/hurd/i386/Makefile
12881 (test-xfail-POSIX/fcntl.h/conform): Add.
12882 (test-xfail-POSIX/signal.h/conform): Add.
12883 (test-xfail-POSIX/semaphore.h/conform): Add.
12884 (test-xfail-POSIX/regex.h/conform): Add.
12885 (test-xfail-POSIX/aio.h/conform): Add.
12886 (test-xfail-POSIX/mqueue.h/conform): Add.
12887 (test-xfail-POSIX/sys/types.h/conform): Add.
12888 (test-xfail-UNIX98/fcntl.h/conform): Add.
12889 (test-xfail-UNIX98/netdb.h/conform): Add.
12890 (test-xfail-UNIX98/signal.h/conform): Add.
12891 (test-xfail-UNIX98/semaphore.h/conform): Add.
12892 (test-xfail-UNIX98/regex.h/conform): Add.
12893 (test-xfail-UNIX98/aio.h/conform): Add.
12894 (test-xfail-UNIX98/ftw.h/conform): Add.
12895 (test-xfail-UNIX98/mqueue.h/conform): Add.
12896 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12897 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12898 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12899 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12900 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12901 (test-xfail-UNIX98/sys/types.h/conform): Add.
12902 (test-xfail-UNIX98/stdlib.h/conform): Add.
12903 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12904 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12905 (test-xfail-POSIX2008/netdb.h/conform): Add.
12906 (test-xfail-POSIX2008/signal.h/conform): Add.
12907 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12908 (test-xfail-POSIX2008/regex.h/conform): Add.
12909 (test-xfail-POSIX2008/aio.h/conform): Add.
12910 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12911 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12912 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12913 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12914 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12915 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12916 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12917 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12918 (test-xfail-XOPEN2K/signal.h/conform): Add.
12919 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12920 (test-xfail-XOPEN2K/regex.h/conform): Add.
12921 (test-xfail-XOPEN2K/aio.h/conform): Add.
12922 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12923 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12924 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12925 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12926 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12927 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12928 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12929 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12930 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12931 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12932 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12933 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12934 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12935 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12936 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12937 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12938 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12939 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12940 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12941 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12942 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12943 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12944 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12945 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12946 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12947 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12948 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12950 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12951 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12953 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12955 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12956 --enable-obsolete for powerpc-linux-gnuspe.
12958 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12960 * conform/data/sys/un.h-data: Allow sun_ prefix.
12961 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12963 * sysdeps/mach/include/mach.h: Likewise.
12964 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12965 * sysdeps/mach/include/mach_error.h: Likewise.
12967 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12969 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12970 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12971 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12972 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12974 2018-04-16 Andreas Schwab <schwab@suse.de>
12977 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12979 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12981 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12982 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12984 2018-04-12 DJ Delorie <dj@redhat.com>
12986 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12989 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12991 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12992 (struct kernel_sigaction): Use the same definition on 31bit as is used
12995 2018-04-09 Florian Weimer <fweimer@redhat.com>
12998 * resolv/res_send.c (send_dg): Use designated initializers instead
12999 of assignment to zero-initialize other fields of struct mmsghdr.
13001 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13003 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13004 __READDIR_ALIAS): Undefine after usage.
13005 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13006 __READDIR_R_ALIAS): Likewise.
13007 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13008 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13009 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13010 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13011 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13012 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13013 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13015 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13017 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13019 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13020 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13021 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13022 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13023 * sysdeps/unix/sysv/linux/readdir.c: New file.
13024 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13025 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13026 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13028 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13030 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13032 * manual/charset.texi (Converting a Character): Fix typo.
13034 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13038 * sysdeps/arm/libm-test-ulps: Update.
13040 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13041 as base implementation.
13042 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13043 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13046 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13047 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13048 remove unrequired definitions and update comments.
13049 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13050 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13052 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13053 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13054 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13055 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13056 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13057 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13058 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13059 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13060 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13061 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13062 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13063 and RESET_SA_RESTORER hooks.
13065 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13067 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13069 2018-04-05 Florian Weimer <fweimer@redhat.com>
13071 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13072 integer overflow, memory leak on error, and indeterminate errno
13073 value. Add a null wide character to terminate the result string.
13074 * manual/charset.texi (Converting a Character): Mention embedded
13075 null bytes in the mbrtowc input string. Explain what happens in
13076 the -2 result case. Do not claim that mbrtowc is simple or
13077 obvious to use. Adjust the description of the code example. Use
13078 @code, not @var, for concrete variables.
13080 2018-04-05 Florian Weimer <fweimer@redhat.com>
13082 * manual/examples/mbstouwcs.c: New file.
13083 * manual/charset.texi (Converting a Character): Include it.
13085 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13087 * include/dirent.h (dirfd): Add hidden proto.
13088 * dirent/dirfd.c (dirfd): Add hidden def.
13089 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13090 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13092 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13094 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13095 sin, cos and sincos to 1 ULP.
13097 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13100 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13102 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13103 * elf/tst-absolute-sym.c: New file.
13104 * elf/tst-absolute-sym-lib.c: New file.
13105 * elf/tst-absolute-sym-lib.lds: New file.
13106 * elf/Makefile (tests): Add `tst-absolute-sym'.
13107 (modules-names): Add `tst-absolute-sym-lib'.
13108 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13109 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13110 ($(objpfx)tst-absolute-sym): New dependency.
13113 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13115 (SYMBOL_ADDRESS): New macro.
13116 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13117 SYMBOL_ADDRESS for symbol address calculation.
13118 * elf/dl-runtime.c (_dl_fixup): Likewise.
13119 (_dl_profile_fixup): Likewise.
13120 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13121 * elf/rtld.c (dl_main): Likewise.
13122 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13123 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13124 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13125 (elf_machine_rela): Likewise.
13126 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13127 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13128 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13129 (elf_machine_rela): Likewise.
13130 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13131 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13132 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13133 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13135 (elf_machine_reloc): Likewise.
13136 (elf_machine_got_rel): Likewise.
13137 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13138 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13143 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13148 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13153 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13156 2018-04-04 Zack Weinberg <zackw@panix.com>
13158 * sysdeps/generic/internal-signals.h: Include signal.h,
13159 sigsetops.h, and stdbool.h.
13160 (__libc_signal_block_all): Actually block all signals.
13161 (__libc_signal_block_app): Likewise.
13162 (__libc_signal_restore_set): Actually restore the signal mask.
13164 2018-04-04 Florian Weimer <fweimer@redhat.com>
13166 inet: Actually build and run tst-deadline.
13167 * inet/Makefile (tests-internal): Add tst-deadline and do not
13168 overwrite the variable.
13169 (tests-static-internal): Remove variable.
13171 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13174 * bits/uio-ext.h (RWF_APPEND): New.
13175 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13176 * manual/llio.texi: Document RWF_APPEND.
13177 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13178 (RWF_SUPPORTED): Add RWF_APPEND.
13180 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13183 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13184 check for internal nptl signals.
13185 * nptl/sigaction.c (__sigaction): Likewise.
13186 * signal/sigaddset.c (sigaddset): Likewise.
13187 * signal/sigdelset.c (sigdelset): Likewise.
13188 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13189 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13191 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13192 to filter out internal nptl signals.
13193 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13194 also check realtime signals using standard macros.
13195 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13196 __is_internal_signal, __libc_signal_block_all,
13197 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13198 * sysdeps/nptl/sigfillset.c: Remove file.
13199 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13200 Change return to bool.
13201 (__clear_internal_signals): Remove SIGTIMER clean since it is
13202 equal to SIGCANEL on Linux.
13203 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13204 signal set was constructed using standard functions.
13206 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13208 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13209 ifname is too long.
13210 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13211 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13212 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13214 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13215 * signal/sigaddset.c: Include <sigsetopts.h>.
13216 * signal/sigdelset.c: Likewise.
13218 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13222 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13223 logic as sin and cos.
13225 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13227 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13228 inputs. Return correct sign.
13229 (do_sincos): Remove small input check before do_sin, let do_sin set
13234 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13236 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13237 (do_cos_slow): Likewise.
13238 (do_sin_slow): Likewise.
13239 (reduce_and_compute): Likewise.
13244 (sloww1): Likewise.
13245 (sloww2): Likewise.
13247 (bslow1): Likewise.
13248 (bslow2): Likewise.
13249 (cslow2): Likewise.
13251 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13253 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13254 (do_cos): Remove corp parameter and calculations.
13255 (do_sin): Likewise.
13256 (do_sincos): Remove cor variable.
13257 (__sin): Use do_sincos for huge inputs.
13259 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13260 (reduce_and_compute_sincos): Remove unused function.
13262 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13264 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13265 reduce_sincos, improve accuracy to 136 bits.
13266 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13267 (__sin): Use improved reduction and simplified do_sincos calculation.
13269 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13271 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13273 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13274 (do_sincos_2): Likewise.
13275 (__sin): Remove middle range reduction case.
13277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13280 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13282 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13286 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13288 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13290 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13293 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13295 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13296 Remove definitions.
13297 (opendir_oflags): Use O_DIRECTORY regardless.
13298 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13299 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13301 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13303 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13304 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13306 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13307 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13308 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13309 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13310 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13311 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13313 * htl/Makefile: Bump licence to LGPL 2.1+.
13314 * htl/alloca_cutoff.c: Likewise.
13315 * htl/cthreads-compat.c: Likewise.
13316 * htl/lockfile.c: Likewise.
13317 * htl/pt-alloc.c: Likewise.
13318 * htl/pt-cancel.c: Likewise.
13319 * htl/pt-cleanup.c: Likewise.
13320 * htl/pt-create.c: Likewise.
13321 * htl/pt-dealloc.c: Likewise.
13322 * htl/pt-detach.c: Likewise.
13323 * htl/pt-exit.c: Likewise.
13324 * htl/pt-getattr.c: Likewise.
13325 * htl/pt-initialize.c: Likewise.
13326 * htl/pt-internal.h: Likewise.
13327 * htl/pt-join.c: Likewise.
13328 * htl/pt-self.c: Likewise.
13329 * htl/pt-setcancelstate.c: Likewise.
13330 * htl/pt-setcanceltype.c: Likewise.
13331 * htl/pt-sigmask.c: Likewise.
13332 * htl/pt-spin-inlines.c: Likewise.
13333 * htl/pt-testcancel.c: Likewise.
13334 * htl/pt-yield.c: Likewise.
13335 * htl/tests/test-1.c: Likewise.
13336 * htl/tests/test-10.c: Likewise.
13337 * htl/tests/test-11.c: Likewise.
13338 * htl/tests/test-12.c: Likewise.
13339 * htl/tests/test-13.c: Likewise.
13340 * htl/tests/test-14.c: Likewise.
13341 * htl/tests/test-15.c: Likewise.
13342 * htl/tests/test-16.c: Likewise.
13343 * htl/tests/test-17.c: Likewise.
13344 * htl/tests/test-2.c: Likewise.
13345 * htl/tests/test-3.c: Likewise.
13346 * htl/tests/test-4.c: Likewise.
13347 * htl/tests/test-5.c: Likewise.
13348 * htl/tests/test-6.c: Likewise.
13349 * htl/tests/test-7.c: Likewise.
13350 * htl/tests/test-8.c: Likewise.
13351 * htl/tests/test-9.c: Likewise.
13352 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13353 * sysdeps/htl/bits/cancelation.h: Likewise.
13354 * sysdeps/htl/bits/pthread-np.h: Likewise.
13355 * sysdeps/htl/bits/pthread.h: Likewise.
13356 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13357 * sysdeps/htl/bits/semaphore.h: Likewise.
13358 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13359 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13360 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13361 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13362 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13363 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13364 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13365 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13366 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13367 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13368 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13369 * sysdeps/htl/old_pt-atfork.c: Likewise.
13370 * sysdeps/htl/pt-atfork.c: Likewise.
13371 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13372 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13373 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13374 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13375 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13376 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13377 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13378 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13379 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13380 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13381 * sysdeps/htl/pt-attr-init.c: Likewise.
13382 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13383 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13384 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13385 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13386 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13387 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13388 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13389 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13390 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13391 * sysdeps/htl/pt-attr.c: Likewise.
13392 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13393 * sysdeps/htl/pt-barrier-init.c: Likewise.
13394 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13395 * sysdeps/htl/pt-barrier.c: Likewise.
13396 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13397 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13398 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13399 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13400 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13401 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13402 * sysdeps/htl/pt-cond-init.c: Likewise.
13403 * sysdeps/htl/pt-cond-signal.c: Likewise.
13404 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13405 * sysdeps/htl/pt-cond-wait.c: Likewise.
13406 * sysdeps/htl/pt-cond.c: Likewise.
13407 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13408 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13409 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13410 * sysdeps/htl/pt-condattr-init.c: Likewise.
13411 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13412 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13413 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13414 * sysdeps/htl/pt-equal.c: Likewise.
13415 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13416 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13417 * sysdeps/htl/pt-getschedparam.c: Likewise.
13418 * sysdeps/htl/pt-getspecific.c: Likewise.
13419 * sysdeps/htl/pt-init-specific.c: Likewise.
13420 * sysdeps/htl/pt-key-create.c: Likewise.
13421 * sysdeps/htl/pt-key-delete.c: Likewise.
13422 * sysdeps/htl/pt-key.h: Likewise.
13423 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13424 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13425 * sysdeps/htl/pt-mutex-init.c: Likewise.
13426 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13427 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13428 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13429 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13430 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13431 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13432 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13433 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13434 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13435 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13436 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13437 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13438 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13439 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13440 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13441 * sysdeps/htl/pt-mutexattr.c: Likewise.
13442 * sysdeps/htl/pt-once.c: Likewise.
13443 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13444 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13445 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13446 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13447 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13448 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13449 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13450 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13451 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13452 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13453 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13454 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13455 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13456 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13457 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13458 * sysdeps/htl/pt-setschedparam.c: Likewise.
13459 * sysdeps/htl/pt-setschedprio.c: Likewise.
13460 * sysdeps/htl/pt-setspecific.c: Likewise.
13461 * sysdeps/htl/pt-spin.c: Likewise.
13462 * sysdeps/htl/pt-startup.c: Likewise.
13463 * sysdeps/htl/pthread.h: Likewise.
13464 * sysdeps/htl/sem-close.c: Likewise.
13465 * sysdeps/htl/sem-destroy.c: Likewise.
13466 * sysdeps/htl/sem-getvalue.c: Likewise.
13467 * sysdeps/htl/sem-init.c: Likewise.
13468 * sysdeps/htl/sem-open.c: Likewise.
13469 * sysdeps/htl/sem-post.c: Likewise.
13470 * sysdeps/htl/sem-timedwait.c: Likewise.
13471 * sysdeps/htl/sem-trywait.c: Likewise.
13472 * sysdeps/htl/sem-unlink.c: Likewise.
13473 * sysdeps/htl/sem-wait.c: Likewise.
13474 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13475 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13476 * sysdeps/mach/htl/pt-block.c: Likewise.
13477 * sysdeps/mach/htl/pt-spin.c: Likewise.
13478 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13479 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13480 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13481 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13482 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13483 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13484 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13485 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13486 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13487 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13488 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13489 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13490 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13491 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13492 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13493 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13494 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13495 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13496 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13497 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13498 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13499 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13500 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13501 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13502 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13503 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13504 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13505 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13506 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13507 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13508 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13509 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13510 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13511 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13512 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13513 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13514 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13515 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13516 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13517 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13518 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13519 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13520 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13522 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13523 * README: Remove the mention of out-of-tree patches needed for
13526 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13527 (UTIME_NOW, UTIME_OMIT): Define macros.
13529 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13530 instead of pthread_detach.
13531 (__cthread_fork): Call __pthread_create instead of pthread_create.
13532 (__cthread_keycreate): Call __pthread_key_create instead of
13533 pthread_key_create.
13534 (__cthread_getspecific): Call __pthread_getspecific instead of
13535 pthread_getspecific.
13536 (__cthread_setspecific): Call __pthread_setspecific instead of
13537 pthread_setspecific.
13538 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13539 __pthread_mutex_unlock instead of pthread_mutex_lock and
13540 pthread_mutex_unlock.
13541 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13542 ___pthread_get_cleanup_stack.
13543 (__pthread_get_cleanup_stack): New strong alias.
13544 * htl/pt-create.c: Include <pthreadP.h>.
13545 (entry_point): Call __pthread_exit instead of pthread_exit.
13546 (pthread_create): Rename to __pthread_create.
13547 (pthread_create): New strong alias.
13548 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13549 (pthread_detach): New strong alias.
13550 (__pthread_detach): Call __pthread_cond_broadcast instead of
13551 pthread_cond_broadcast.
13552 * htl/pt-exit.c: Include <pthreadP.h>.
13553 (__pthread_exit): Call __pthread_setcancelstate and
13554 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13555 __pthread_get_cleanup_stack.
13556 * htl/pt-testcancel.c: Include <pthreadP.h>.
13557 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13558 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13559 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13560 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13561 pthread_attr_getstacksize.
13562 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13563 Rename to __pthread_attr_getstackaddr.
13564 (pthread_attr_getstackaddr): New strong alias.
13565 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13566 Rename to __pthread_attr_getstacksize.
13567 (pthread_attr_getstacksize): New strong alias.
13568 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13569 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13570 (pthread_attr_setstack): New strong alias.
13571 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13572 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13573 pthread_attr_getstacksize, pthread_attr_setstacksize and
13574 pthread_attr_setstackaddr.
13575 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13576 Rename to __pthread_attr_setstackaddr.
13577 (pthread_attr_setstackaddr): New strong alias.
13578 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13579 Rename to __pthread_attr_setstacksize.
13580 (pthread_attr_setstacksize): New strong alias.
13581 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13582 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13584 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13585 (__pthread_key_create): New hidden def.
13586 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13587 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13588 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13589 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13590 __pthread_setspecific, __pthread_setcancelstate,
13591 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13592 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13593 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13595 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13596 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13597 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13598 (pthread_attr_setstackaddr): New strong alias.
13599 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13600 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13601 (pthread_attr_setstacksize): New strong alias.
13602 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13603 (call_exit): Call __pthread_exit instead of pthread_exit.
13604 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13605 (_pthread_mutex_init): New hidden definition.
13606 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13607 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13608 instead of pthread_attr_init and pthread_attr_setstack.
13610 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13611 __vm_deallocate instead of vm_allocate and vm_deallocate.
13612 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13614 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13616 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13618 * hurd/siginfo.c: Include <libioP.h>.
13619 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13620 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13622 * mach/devstream.c: Include <libioP.h>.
13623 (dealloc_ref): Call __mach_port_deallocate instead of
13624 mach_port_deallocate.
13625 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13626 Call __mach_port_deallocate instead of mach_port_deallocate.
13627 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13629 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13631 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13632 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13633 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13635 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13637 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13638 instead of sysconf.
13639 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13640 __clock_gettime instead of clock_gettime.
13641 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13642 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13643 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13644 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13645 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13647 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13648 __clock_gettime and __nanosleep instead of clock_gettime and
13650 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13651 __hurd_catch_signal.
13652 (hurd_catch_signal): New strong alias.
13653 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13654 __hurd_catch_signal instead of hurd_catch_signal.
13655 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13656 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13657 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13658 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13659 (_hurd_thread_sigstate): Add hidden def.
13660 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13662 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13663 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13664 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13665 __hurd_file_name_path_lookup.
13666 (hurd_file_name_path_lookup): New strong alias.
13667 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13668 hurd_file_name_path_lookup.
13669 * mach/errstring.c (mach_error_type): Add hidden def.
13670 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13671 * mach/mutex-init.c (__mutex_init): Add hidden def.
13672 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13673 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13674 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13675 * sysdeps/mach/hurd/getcwd.c
13676 (_hurd_canonicalize_directory_name_internal): Rename to
13677 __hurd_canonicalize_directory_name_internal.
13678 (_hurd_canonicalize_directory_name_internal): New strong alias.
13679 (__canonicalize_directory_name_internal, __getcwd): Call
13680 __hurd_canonicalize_directory_name_internal instead of
13681 _hurd_canonicalize_directory_name_internal.
13682 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13683 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13685 * sysdeps/hurd/include/hurd.h: New file.
13686 * sysdeps/hurd/include/hurd/fd.h: New file.
13687 * sysdeps/hurd/include/hurd/signal.h: New file.
13688 * sysdeps/mach/include/lock-intern.h: New file.
13689 * sysdeps/mach/include/mach.h: New file.
13690 * sysdeps/mach/include/mach/mig_support.h: New file.
13691 * sysdeps/mach/include/mach_error.h: New file.
13692 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13694 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13695 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13696 _HEADER_H_HIDDEN_DEF macro.
13697 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13698 _hurd_fd_error_signal): Add hidden prototype.
13699 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13701 * libio/iolibio.h (_IO_puts): New hidden prototype.
13702 * libio/ioputs.c (_IO_puts): New hidden def.
13703 * sysdeps/mach/hurd/localplt.data: New file.
13705 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13706 Amos Jeffries <squid3@treenet.co.nz>
13707 David Michael <fedora.dm0@gmail.com>
13708 Marco Gerards <marco@gnu.org>
13709 Marcus Brinkmann <marcus@gnu.org>
13710 Neal H. Walfield <neal@gnu.org>
13711 Pino Toscano <toscano.pino@tiscali.it>
13712 Richard Braun <rbraun@sceen.net>
13713 Roland McGrath <roland@gnu.org>
13714 Samuel Thibault <samuel.thibault@ens-lyon.org>
13715 Thomas DiModica <ricinwich@yahoo.com>
13716 Thomas Schwinge <tschwinge@gnu.org>
13718 * htl: New directory.
13719 * sysdeps/htl: New directory.
13720 * sysdeps/hurd/htl: New directory.
13721 * sysdeps/i386/htl: New directory.
13722 * sysdeps/mach/htl: New directory.
13723 * sysdeps/mach/hurd/htl: New directory.
13724 * sysdeps/mach/hurd/i386/htl: New directory.
13725 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13726 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13727 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13729 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13731 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13732 signals in thread created for runing timers.
13734 2018-04-01 Florian Weimer <fweimer@redhat.com>
13736 * support/support_format_addrinfo.c (support_format_addrinfo):
13737 Include unknown error number in formatted result.
13739 2018-03-29 Florian Weimer <fweimer@redhat.com>
13741 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13744 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13746 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13747 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13748 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13749 (__ASSUME_CLONE_BACKWARDS): Define.
13751 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13755 early when linux sentinel value is set.
13757 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13759 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13761 2018-03-27 Andreas Schwab <schwab@suse.de>
13764 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13765 allocation of private copy of nsaddr_list fails.
13767 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13770 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13771 * sysdeps/unix/sysv/linux/umount.c: ... here.
13772 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13773 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13774 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13775 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13777 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13780 2018-03-26 Andreas Schwab <schwab@suse.de>
13782 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13783 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13784 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13785 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13786 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13787 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13788 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13789 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13790 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13791 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13792 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13793 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13794 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13795 (R_RISCV_NUM): Define.
13797 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13799 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13800 TLS declaration of errno.
13801 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13803 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13804 (ARCH_SETUP_TLS): Likewise.
13805 * sysdeps/mach/hurd/libc-start.h: New file copied from
13806 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13807 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13808 instead of __libc_setup_tls.
13809 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13810 __libc_setup_tls before initializing libpthread and running _hurd_init
13811 which starts the signal thread.
13812 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13814 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13816 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13819 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13820 after it is defined.
13822 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13823 Max Horn <max@quendi.de>
13827 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13829 * string/test-memmove.c (do_test2): New testcase.
13831 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13833 * sysdeps/generic/frame.h: Remove file.
13834 * sysdeps/arm/frame.h: Likewise.
13835 * sysdeps/hppa/frame.h: Likewise.
13836 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13838 (GET_FRAME): Likewise.
13839 (GET_STACK): Likewise.
13840 (CALL_SIGHANDLER): Likewise.
13841 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13843 (GET_FRAME): Likewise.
13844 (GET_STACK): Likewise.
13845 (CALL_SIGHANDLER): Likewise.
13846 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13847 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13848 (GET_FRAME): Likewise.
13849 (GET_STACK): Likewise.
13850 (CALL_SIGHANDLER): Likewise.
13851 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13852 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13853 (GET_FRAME): Likewise.
13854 (GET_STACK): Likewise.
13855 (ADVANCE_STACK_FRAME): Likewise.
13856 (CALL_SIGHANDLER): Likewise.
13857 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13858 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13859 (GET_FRAME): Likewise.
13860 (GET_STACK): Likewise.
13861 (CALL_SIGHANDLER): Likewise.
13862 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13863 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13864 (GET_FRAME): Likewise.
13865 (GET_STACK): Likewise.
13866 (CALL_SIGHANDLER): Likewise.
13867 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13868 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13869 (GET_FRAME): Likewise.
13870 (GET_STACK): Likewise.
13871 (CALL_SIGHANDLER): Likewise.
13872 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13873 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13874 (GET_FRAME): Likewise.
13875 (GET_STACK): Likewise.
13876 (CALL_SIGHANDLER): Likewise.
13877 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13878 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13879 (GET_FRAME): Likewise.
13880 (GET_STACK): Likewise.
13881 (CALL_SIGHANDLER): Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13883 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13884 (GET_FRAME): Likewise.
13885 (GET_STACK): Likewise.
13886 (CALL_SIGHANDLER): Likewise.
13887 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13888 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13889 (GET_FRAME): Likewise.
13890 (GET_STACK): Likewise.
13891 (CALL_SIGHANDLER): Likewise.
13892 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13893 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13894 (GET_FRAME): Likewise.
13895 (GET_STACK): Likewise.
13896 (CALL_SIGHANDLER): Likewise.
13897 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13898 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13899 (GET_FRAME): Likewise.
13900 (GET_STACK): Likewise.
13901 (CALL_SIGHANDLER): Likewise.
13902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13903 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13904 (FIRST_FRAME_POINTER): Likewise.
13905 (ADVANCE_STACK_FRAME): Likewise.
13906 (GET_STACK): Likewise.
13907 (GET_FRAME): Likewise.
13908 (CALL_SIGHANDLER): Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13910 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13911 (ADVANCE_STACK_FRAME): Likewise.
13912 (GET_STACK): Likewise.
13913 (GET_FRAME): Likewise.
13914 (CALL_SIGHANDLER): Likewise.
13915 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13917 (GET_FRAME): Likewise.
13918 (GET_STACK): Likewise.
13919 (CALL_SIGHANDLER): Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13922 (GET_FRAME): Likewise.
13923 (GET_STACK): Likewise.
13924 (CALL_SIGHANDLER): Likewise.
13926 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13928 * sysdeps/x86_64/backtrace.c: Move to ....
13929 * debug/backtrace.c: ... here.
13930 * sysdeps/aarch64/backtrace.c: Remove file.
13931 * sysdeps/alpha/backtrace.c: Likewise.
13932 * sysdeps/hppa/backtrace.c: Likewise.
13933 * sysdeps/ia64/backtrace.c: Likewise.
13934 * sysdeps/mips/backtrace.c: Likewise.
13935 * sysdeps/nios2/backtrace.c: Likewise.
13936 * sysdeps/riscv/backtrace.c: Likewise.
13937 * sysdeps/sh/backtrace.c: Likewise.
13938 * sysdeps/tile/backtrace.c: Likewise.
13940 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13943 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13946 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13949 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13950 possibly overflowing computations.
13952 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13954 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13955 values from Linux-specific section now that it is in the GNU section.
13956 * sysdeps/gnu/errlist.c: Regenerate.
13958 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13960 * math/Makefile (libm-narrow-fns): Add sub.
13961 (libm-test-funcs-narrow): Likewise.
13962 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13963 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13964 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13965 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13966 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13967 (NARROW_SUB_TRIVIAL): Likewise.
13968 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13970 (__dsubl): Likewise.
13971 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13973 (CFLAGS-nldbl-dsub.c): New variable.
13974 (CFLAGS-nldbl-fsub.c): Likewise.
13975 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13979 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13980 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13981 * math/auto-libm-test-in: Add tests of sub.
13982 * math/auto-libm-test-out-narrow-sub: New generated file.
13983 * math/libm-test-narrow-sub.inc: New file.
13984 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13987 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13988 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13989 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13998 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13999 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14000 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14001 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14003 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14031 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14034 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14036 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14038 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14040 2018-03-18 Richard Braun <rbraun@sceen.net>
14042 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14045 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14047 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14048 (__libc_cleanup_fct): Define function.
14049 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14050 __libc_cleanup_end): Rewrite implementation using
14051 __attribute__ ((__cleanup__)).
14052 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14053 * hurd/Makefile (routines): Add hurdlock.
14054 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14056 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14057 * hurd/hurdpid.c: Include <lowlevellock.h>
14058 (_S_msg_proc_newids): Use lll_wait to synchronize.
14059 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14060 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14061 * mach/Makefile (lock-headers): Remove machine-lock.h.
14062 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14064 (__spin_lock_t): New type.
14065 (__SPIN_LOCK_INITIALIZER): New macro.
14066 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14067 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14068 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14069 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14070 (__mutex_init): Initialize with lll.
14071 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14072 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14074 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14075 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14076 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14077 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14078 (__setpgid): Use lll for synchronization.
14079 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14080 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14081 instead of <cthreads.h>.
14082 (_IO_lock_inexpensive): New macro
14083 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14084 (__libc_lock_self0): New declaration.
14085 (__libc_lock_owner_self): New macro.
14086 (__libc_key_t): Remove type.
14087 (_LIBC_LOCK_INITIALIZER): New macro.
14088 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14089 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14090 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14091 __libc_lock_define_initialized_recursive,
14092 __rtld_lock_define_initialized_recursive,
14093 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14094 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14095 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14096 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14097 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14098 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14099 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14101 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14102 * hurd/hurdlock.c: New file.
14103 * hurd/hurdlock.h: New file.
14104 * mach/lowlevellock.h: New file
14106 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14108 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14110 when opening a symlink with O_NOFOLLOW.
14111 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14112 path when flags contains O_NOFOLLOW.
14113 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14114 if flags contains O_DIRECTORY and the result is a directory.
14115 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14116 oneself when the pointer given in D is nul (as set by ext2fs).
14117 * sysdeps/mach/hurd/mlockall.c: New file.
14118 * sysdeps/mach/hurd/munlockall.c: New file.
14120 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14122 * hurd/hurdsig.c: Include <pthread.h>.
14123 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14124 get the signal thread stack layout.
14125 * hurd/Makefile (headers): Remove threadvar.h.
14126 (inline-headers): Remove threadvar.h.
14127 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14128 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14129 __hurd_threadvar_max, __hurd_errno_location.
14130 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14131 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14132 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14133 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14134 unless TLS is not initialized yet, in which case we do not need a
14135 critical section yet anyway.
14136 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14138 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14140 (__hurd_threadvar_index): Remove enum.
14141 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14142 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14144 (__hurd_reply_port0): New variable declaration.
14145 (__hurd_local_reply_port): New macro.
14146 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14147 (interrupted_reply_port_location): Add thread_t parameter. Use it
14148 with THREAD_TCB to access thread-local variables.
14149 (_hurdsig_abort_rpcs): Pass ss->thread to
14150 interrupted_reply_port_location.
14151 (_hurd_internal_post_signal): Likewise.
14152 (_hurdsig_init): Use presence of cthread_fork instead of
14153 __hurd_threadvar_stack_mask to start signal thread by hand.
14154 Remove signal thread threadvar initialization.
14155 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14156 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14157 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14159 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14161 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14162 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14163 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14164 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14165 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14166 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14167 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14169 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14170 <hurd/threadvar.h>.
14171 [IS_IN(rtld)] (rtld_errno): New variable.
14172 [IS_IN(rtld)] (__errno_location): New weak function.
14173 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14174 * sysdeps/mach/hurd/errno.c: Remove file.
14175 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14176 (__fork): Remove THREADVAR_SPACE macro and its use.
14177 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14179 (init): Do not initialize threadvar.
14180 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14182 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14183 __hurd_local_reply_port instead of threadvar.
14184 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14185 _hurd_sigstate fields.
14186 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14187 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14188 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14189 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14190 instead of threadvar.
14191 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14192 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14193 (use_threadvar, global_reply_port): Remove variables.
14194 (__hurd_reply_port0): New variable.
14195 (__mig_get_reply_port): Use __hurd_local_reply_port and
14196 __hurd_reply_port0 instead of threadvar.
14197 (__mig_dealloc_reply_port): Likewise.
14198 (__mig_init): Do not initialize threadvar.
14199 * sysdeps/mach/hurd/profil.c: Fix comment.
14200 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14201 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14202 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14203 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14204 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14205 __cthread_setspecific.
14206 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14207 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14208 __cthread_t instead of cthread_fork, cthread_detach,
14209 pthread_getattr_np, pthread_attr_getstack.
14210 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14211 __cthread_keycreate.
14212 (cthread_getspecific): Rename to __cthread_getspecific.
14213 (cthread_setspecific): Rename to __cthread_setspecific.
14214 (__libc_getspecific): Use __cthread_getspecific instead of
14215 cthread_getspecific.
14216 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14217 __cthread_keycreate instead of cthread_keycreate.
14218 (__libc_setspecific): Use __cthread_setspecific instead of
14219 cthread_setspecific.
14220 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14223 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14224 testing whether it is defined.
14226 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14228 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14230 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14231 * sysdeps/mach/i386/thread_state.h
14232 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14234 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14236 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14238 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14239 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14241 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14243 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14244 descriptor instead of creating a new one.
14245 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14247 * mach/setup-thread.c: Include <ldsodefs.h>.
14248 (__mach_setup_thread): Call _dl_allocate_tls, pass
14249 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14250 MACHINE_THREAD_STATE_FLAVOR, before getting
14251 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14252 MACHINE_THREAD_STATE_FLAVOR with the result.
14253 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14254 MACHINE_THREAD_STATE_FIX_NEW.
14255 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14256 too. Add original thread parameter.
14258 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14260 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14261 Remove inline function.
14263 * sysdeps/i386/fpu/libm-test-ulps: Update.
14264 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14266 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14268 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14271 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14273 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14274 (__sincos_code): Remove define and undefine.
14275 [__FAST_MATH__] (__sincos): Remove inline function.
14276 [__FAST_MATH__] (__sincosf): Remove inline function.
14277 [__FAST_MATH__] (__sincosl): Remove inline function.
14278 (__atan2l): Remove inline functions.
14279 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14280 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14282 (floor): Remove inline function.
14284 [__FAST_MATH__] (__ldexp_code): Remove macro.
14285 [__FAST_MATH__] (ldexp): Remove inline function.
14286 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14287 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14288 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14289 [__USE_ISOC99] (__lrint_code): Remove macro.
14290 [__USE_ISOC99] (__llrint_code): Likewise.
14291 [__USE_ISOC99] (lrintf): Remove inline function.
14292 [__USE_ISOC99] (lrint): Likewise.
14293 [__USE_ISOC99] (lrintl): Likewise.
14294 [__USE_ISOC99] (llrint): Likewise.
14295 [__USE_ISOC99] (llrintf): Likewise.
14296 [__USE_ISOC99] (llrintl): Likewise.
14298 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14300 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14301 (__ieee754_sqrtf): Remove.
14302 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14303 (__ieee754_sqrtf): Remove.
14304 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14305 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14306 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14307 (__ieee754_sqrtf): Remove.
14308 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14309 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14312 (__ieee754_sqrt): Remove.
14313 (__ieee754_sqrtf): Remove.
14314 (__ieee754_sqrtl): Remove.
14315 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14316 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14317 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14318 (__ieee754_sqrtf): Remove.
14319 (__ieee754_sqrtl): Remove.
14321 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14323 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14324 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14325 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14326 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14327 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14328 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14329 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14330 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14332 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14333 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14334 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14335 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14336 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14337 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14338 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14339 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14340 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14341 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14342 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14343 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14345 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14346 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14348 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14349 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14350 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14356 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14357 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14360 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14361 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14362 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14365 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14366 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14368 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14369 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14370 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14371 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14373 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14375 * include/math.h (sqrt): Declare with asm redirect.
14378 (sqrtf128): Likewise.
14379 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14380 nonlib and libnldbl with -fmath-errno.
14381 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14382 * math/w_sqrt_template.c: Likewise.
14383 * math/w_sqrtf_compat.c: Likewise.
14384 * math/w_sqrtl_compat.c: Likewise.
14385 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14386 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14387 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14390 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14392 * benchtests/Makefile: Define _ISOMAC.
14393 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14394 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14395 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14396 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14397 * benchtests/bench-timing.h: Define attribute_hidden.
14399 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14401 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14404 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14407 * localedata/locales/cs_CZ (mon): Rename to...
14409 (mon): Import from CLDR (genitive case).
14411 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14414 * localedata/locales/el_CY (abmon): Rename to...
14415 (ab_alt_mon): This.
14416 (abmon): Import from CLDR (abbreviated genitive case).
14417 * localedata/locales/el_GR (abmon): Rename to...
14418 (ab_alt_mon): This.
14419 (abmon): Import from CLDR (abbreviated genitive case).
14421 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14424 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14426 2018-03-15 Robert Buj <robert.buj@gmail.com>
14429 * localedata/locales/ca_ES (abmon): Rename to...
14430 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14431 (mon): Rename to...
14433 (abmon): Import from CLDR (genitive case, month names preceded by
14436 (abday): Synchronize with CLDR.
14437 (d_t_fmt): Likewise.
14441 (LC_TIME): Improve indentation.
14442 (LC_TELEPHONE): Likewise.
14443 (LC_NAME): Likewise.
14444 (LC_ADDRESS): Likewise.
14446 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14448 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14449 (lrintf): Remove definitions used only with old GCC.
14450 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14451 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14452 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14453 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14454 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14455 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14456 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14457 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14458 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14459 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14460 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14461 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14462 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14463 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14464 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14465 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14466 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14467 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14468 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14469 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14470 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14471 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14472 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14473 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14474 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14475 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14476 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14477 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14479 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14481 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14482 instruction to unbreak builds with binutils 2.26 and older.
14484 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14486 * sysdeps/aarch64/strncmp.S (count): New macro.
14487 (strncmp): Store misaligned length in SRC1 in COUNT.
14488 (mutual_align): Adjust.
14489 (misaligned8): Load dword at a time when it is safe.
14491 2018-03-12 Zack Weinberg <zackw@panix.com>
14495 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14496 if the _IO_EOF_SEEN bit is already set; update commentary.
14497 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14498 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14500 * support/support_openpty.c, support/tty.h: New files.
14501 * support/Makefile (libsupport-routines): Add support_openpty.
14503 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14505 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14506 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14508 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14510 * po/pt_BR.po: Update translations.
14512 2018-03-12 David Michael <fedora.dm0@gmail.com>
14514 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14515 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14516 get a port to the startup server.
14518 2018-03-11 Zack Weinberg <zackw@panix.com>
14520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14521 before nldbl-compat.h.
14523 2018-03-10 Zack Weinberg <zackw@panix.com>
14525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14526 math.h or math_private.h.
14528 * sysdeps/alpha/fpu/s_isnan.c
14529 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14530 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14531 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14532 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14533 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14534 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14535 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14536 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14537 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14543 Include math_private.h.
14545 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14546 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14547 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14548 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14549 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14550 * sysdeps/powerpc/power7/fpu/s_logb.c:
14551 Include math.h and math_private.h.
14553 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14554 uses of $at in .set noat / .set at.
14556 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14558 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14559 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14560 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14564 2018-03-09 Florian Weimer <fweimer@redhat.com>
14566 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14569 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14572 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14573 Add nop before __startcontext, add explaining comments.
14575 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14578 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14580 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14582 Do not build hardware transactional code for __SPE__.
14583 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14584 (__lll_trylock_elision): Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14586 (__lll_unlock_elision): Likewise.
14588 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14589 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14590 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14591 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14592 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14593 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14594 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14595 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14596 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14597 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14598 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14599 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14600 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14601 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14602 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14604 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14606 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14607 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14608 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14609 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14610 (__ASSUME_CLONE_BACKWARDS): Define.
14611 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14612 __clone2 if __NR_clone2 is defined.
14613 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14614 (__ASSUME_CLONE_BACKWARDS): Likewise.
14615 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14616 (__ASSUME_CLONE_BACKWARDS): Likewise.
14617 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14618 (__ASSUME_CLONE2): Likewise.
14619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14620 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14621 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14622 variants and the define architecture can use.
14623 (__ASSUME_CLONE_DEFAULT): Define as default.
14624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14625 (__ASSUME_CLONE_BACKWARDS): Likewise.
14626 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14627 (__ASSUME_CLONE_BACKWARDS): Likewise.
14628 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14629 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14631 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14633 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14635 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14638 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14639 (do_test_limit): Likewise.
14641 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14642 for every implementation.
14643 (do_test): Likewise.
14645 * benchtests/bench-strncmp.c: Convert output to json.
14647 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14649 * io/futimens.c: Add missing start-of-file descriptive comment.
14650 * io/utime.c: Likewise.
14651 * misc/futimesat.c: Likewise.
14652 * misc/utimes.c: Likewise.
14653 * sysdeps/mach/hurd/futimesat.c: Likewise.
14654 * sysdeps/mach/hurd/utimes.c: Likewise.
14655 * sysdeps/posix/utime.c: Likewise.
14656 * sysdeps/posix/utimes.c: Likewise.
14657 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14658 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14659 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14660 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14662 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14664 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14666 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14667 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14668 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14669 (__futimens): Move implementation to...
14670 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14671 utime_tvalue_from_tspec): ... new helper functions.
14672 (hurd_futimens): New function.
14673 * sysdeps/mach/hurd/futimesat.c: New file.
14674 * sysdeps/mach/hurd/utimensat.c: New file.
14676 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14678 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14679 UTIME_OMIT): New macros.
14680 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14681 before reverting to converting time spec to time value and calling
14683 * sysdeps/mach/hurd/utime-helper.c: New file.
14684 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14685 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14686 reverting to utime_tvalue_from_tval and __file_utimes.
14687 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14688 (__lutimes): Just call hurd_futimens after lookup.
14689 * sysdeps/mach/hurd/utimes.c: Likewise.
14691 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14693 * bits/sigaction.h: Add include guard.
14694 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14695 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14696 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14697 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14698 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14699 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14701 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14702 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14704 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14706 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14707 -Wmaybe-uninitialized for -Os.
14708 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14711 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14713 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14714 __INO_T_MATCHES_INO64_T is defined.
14715 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14716 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14718 * dirent/alphasort64.c: Likewise.
14719 * dirent/scandir.c: Likewise.
14720 * dirent/scandir64-tail.c: Likewise.
14721 * dirent/scandir64.c: Likewise.
14722 * dirent/scandirat.c: Likewise.
14723 * dirent/scandirat64.c: Likewise.
14724 * dirent/versionsort.c: Likewise.
14725 * dirent/versionsort64.c: Likewise.
14726 * include/dirent.h: Likewise.
14728 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14729 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14730 for socketpair endpoint.
14731 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14732 WRITE_BUFFER_SIZE as buffer size for sending socket.
14733 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14734 issue on system where send is implemented with sendto syscall.
14735 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14736 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14737 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14738 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14741 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14742 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14743 sa_restorer for vDSO case.
14744 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14746 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14748 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14749 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14750 * hurd/hurd/ioctl.h: Include <mach/port.h>
14751 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14752 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14753 <mach/mach_types.h> and <mach/message.h>.
14754 (headers): Move mach/param.h to bits/mach/param.h.
14755 * sysdeps/mach/i386/mach/param.h: Move file to ...
14756 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14757 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14759 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14760 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14761 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14762 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14763 trivial, for C++ conformity.
14764 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14765 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14766 Process mig output through $(migheadersed).
14767 * hurd/Makefile (migheadersed): Define variable.
14768 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14769 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14771 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14772 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14773 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14774 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14775 <bits/types/sigset_t.h>.
14776 [!defined __USE_GNU]: Do not #error out.
14777 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14778 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14779 Include <stddef.h> and <bits/types/sigset_t.h>
14780 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14781 instead of sighandler_t.
14782 * stdlib/errno.h (error_t): Move definition to...
14783 * bits/types/error_t.h: ... new header.
14784 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14785 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14786 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14787 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14788 * hurd/hurd.h: Include <bits/types/error_t.h>
14789 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14790 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14791 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14792 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14793 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14794 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14795 * sysdeps/mach/hurd/futimens.c: New file.
14797 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14800 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14801 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14802 * nscd/gai.c (__nss_hosts_database): Readd definition.
14803 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14804 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14805 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14807 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14809 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14810 (ifunc_one): Likewise.
14812 2018-03-01 DJ Delorie <dj@delorie.com>
14815 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14818 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14820 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14821 `match_pid' parameter.
14822 (td_ta_thr_iter): Update accordingly.
14824 2018-03-01 Florian Weimer <fweimer@redhat.com>
14826 * nptl/Makefile (install-lib-ldscripts): Remove.
14827 (install): Remove rule.
14828 ($(inst_libdir)/libpthread.so): Likewise.
14830 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14833 * localedata/locales/an_ES: update month and day names,
14834 improve d_fmt, improve postal_fmt, add country_post,
14837 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14839 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14840 Ukrainian instead of Bulgarian.
14842 2018-03-01 Florian Weimer <fweimer@redhat.com>
14844 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14847 2018-03-01 Florian Weimer <fweimer@redhat.com>
14849 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14850 * nptl/Makefile (routines): Add pthread_atfork.
14851 (static-only-routines): Set to pthread_atfork.
14852 (libpthread-routines): Remove pthread_atfork.
14853 (libpthread-static-only-routines): Remove.
14854 (install): Update comment.
14855 (libpthread.so): Do not install libpthread_nonshared.a.
14856 (tests): Do not link with libpthread_nonshared.a.
14857 (generated): Remove libpthread_nonshared.a.
14858 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14859 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14860 with libpthread_nonshared.a.
14862 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14865 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14866 (libc_feholdexcept_setroundf128): New macro.
14867 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14870 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14872 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14873 * include/inttypes.h: New file.
14875 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14877 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14878 -Os in two more places.
14880 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14882 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14883 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14884 be sorted correctly at the moment because of a bug.
14886 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14888 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14889 treat ñ as a primary different character, sync the collation
14890 for Spanish with CLDR.
14891 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14892 * localedata/Makefile: Add new test files.
14893 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14894 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14896 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14897 * localedata/am_ET.UTF-8.in: New test file.
14898 * localedata/az_AZ.UTF-8.in: Likewise.
14899 * localedata/be_BY.UTF-8.in: Likewise.
14900 * localedata/ber_DZ.UTF-8.in: Likewise.
14901 * localedata/ber_MA.UTF-8.in: Likewise.
14902 * localedata/bg_BG.UTF-8.in: Likewise.
14903 * localedata/br_FR.UTF-8.in: Likewise.
14904 * localedata/cmn_TW.UTF-8.in: Likewise.
14905 * localedata/crh_UA.UTF-8.in: Likewise.
14906 * localedata/csb_PL.UTF-8.in: Likewise.
14907 * localedata/cv_RU.UTF-8.in: Likewise.
14908 * localedata/cy_GB.UTF-8.in: Likewise.
14909 * localedata/dz_BT.UTF-8.in: Likewise.
14910 * localedata/eo.UTF-8.in: Likewise.
14911 * localedata/es_ES.UTF-8.in: Likewise.
14912 * localedata/fa_IR.UTF-8.in: Likewise.
14913 * localedata/fi_FI.UTF-8.in: Likewise.
14914 * localedata/fil_PH.UTF-8.in: Likewise.
14915 * localedata/fur_IT.UTF-8.in: Likewise.
14916 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14917 * localedata/ha_NG.UTF-8.in: Likewise.
14918 * localedata/ig_NG.UTF-8.in: Likewise.
14919 * localedata/ik_CA.UTF-8.in: Likewise.
14920 * localedata/kk_KZ.UTF-8.in: Likewise.
14921 * localedata/ku_TR.UTF-8.in: Likewise.
14922 * localedata/ky_KG.UTF-8.in: Likewise.
14923 * localedata/ln_CD.UTF-8.in: Likewise.
14924 * localedata/mi_NZ.UTF-8.in: Likewise.
14925 * localedata/ml_IN.UTF-8.in: Likewise.
14926 * localedata/mn_MN.UTF-8.in: Likewise.
14927 * localedata/mr_IN.UTF-8.in: Likewise.
14928 * localedata/mt_MT.UTF-8.in: Likewise.
14929 * localedata/nb_NO.UTF-8.in: Likewise.
14930 * localedata/om_KE.UTF-8.in: Likewise.
14931 * localedata/os_RU.UTF-8.in: Likewise.
14932 * localedata/ps_AF.UTF-8.in: Likewise.
14933 * localedata/ro_RO.UTF-8.in: Likewise.
14934 * localedata/ru_RU.UTF-8.in: Likewise.
14935 * localedata/sc_IT.UTF-8.in: Likewise.
14936 * localedata/se_NO.UTF-8.in: Likewise.
14937 * localedata/sq_AL.UTF-8.in: Likewise.
14938 * localedata/sv_SE.UTF-8.in: Likewise.
14939 * localedata/szl_PL.UTF-8.in: Likewise.
14940 * localedata/tg_TJ.UTF-8.in: Likewise.
14941 * localedata/tk_TM.UTF-8.in: Likewise.
14942 * localedata/tt_RU.UTF-8.in: Likewise.
14943 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14944 * localedata/ug_CN.UTF-8.in: Likewise.
14945 * localedata/uz_UZ.UTF-8.in: Likewise.
14946 * localedata/vi_VN.UTF-8.in: Likewise.
14947 * localedata/yi_US.UTF-8.in: Likewise.
14948 * localedata/yo_NG.UTF-8.in: Likewise.
14949 * localedata/zh_CN.UTF-8.in: Likewise.
14950 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14951 file and fix bugs in the collation.
14952 * localedata/locales/az_AZ: Likewise.
14953 * localedata/locales/be_BY: Likewise.
14954 * localedata/locales/ber_DZ: Likewise.
14955 * localedata/locales/ber_MA: Likewise.
14956 * localedata/locales/bg_BG: Likewise.
14957 * localedata/locales/br_FR: Likewise.
14958 * localedata/locales/br_FR@euro: Likewise.
14959 * localedata/locales/ca_ES: Likewise.
14960 * localedata/locales/cns11643_stroke: Likewise.
14961 * localedata/locales/crh_UA: Likewise.
14962 * localedata/locales/cs_CZ: Likewise.
14963 * localedata/locales/csb_PL: Likewise.
14964 * localedata/locales/cv_RU: Likewise.
14965 * localedata/locales/cy_GB: Likewise.
14966 * localedata/locales/da_DK: Likewise.
14967 * localedata/locales/dz_BT: Likewise.
14968 * localedata/locales/en_CA: Likewise.
14969 * localedata/locales/eo: Likewise.
14970 * localedata/locales/es_CU: Likewise.
14971 * localedata/locales/es_EC: Likewise.
14972 * localedata/locales/es_ES: Likewise.
14973 * localedata/locales/es_US: Likewise.
14974 * localedata/locales/et_EE: Likewise.
14975 * localedata/locales/fa_IR: Likewise.
14976 * localedata/locales/fi_FI: Likewise.
14977 * localedata/locales/fil_PH: Likewise.
14978 * localedata/locales/fur_IT: Likewise.
14979 * localedata/locales/gez_ER@abegede: Likewise.
14980 * localedata/locales/ha_NG: Likewise.
14981 * localedata/locales/hr_HR: Likewise.
14982 * localedata/locales/hsb_DE: Likewise.
14983 * localedata/locales/hu_HU: Likewise.
14984 * localedata/locales/ig_NG: Likewise.
14985 * localedata/locales/ik_CA: Likewise.
14986 * localedata/locales/is_IS: Likewise.
14987 * localedata/locales/iso14651_t1_pinyin: Likewise.
14988 * localedata/locales/kk_KZ: Likewise.
14989 * localedata/locales/ku_TR: Likewise.
14990 * localedata/locales/ky_KG: Likewise.
14991 * localedata/locales/ln_CD: Likewise.
14992 * localedata/locales/lt_LT: Likewise.
14993 * localedata/locales/lv_LV: Likewise.
14994 * localedata/locales/mi_NZ: Likewise.
14995 * localedata/locales/ml_IN: Likewise.
14996 * localedata/locales/mn_MN: Likewise.
14997 * localedata/locales/mr_IN: Likewise.
14998 * localedata/locales/mt_MT: Likewise.
14999 * localedata/locales/nb_NO: Likewise.
15000 * localedata/locales/om_KE: Likewise.
15001 * localedata/locales/os_RU: Likewise.
15002 * localedata/locales/pl_PL: Likewise.
15003 * localedata/locales/ps_AF: Likewise.
15004 * localedata/locales/ro_RO: Likewise.
15005 * localedata/locales/ru_RU: Likewise.
15006 * localedata/locales/ru_UA: Likewise.
15007 * localedata/locales/sc_IT: Likewise.
15008 * localedata/locales/se_NO: Likewise.
15009 * localedata/locales/si_LK: Likewise.
15010 * localedata/locales/sq_AL: Likewise.
15011 * localedata/locales/sv_FI: Likewise.
15012 * localedata/locales/sv_FI@euro: Likewise.
15013 * localedata/locales/sv_SE: Likewise.
15014 * localedata/locales/szl_PL: Likewise.
15015 * localedata/locales/tg_TJ: Likewise.
15016 * localedata/locales/ti_ER: Likewise.
15017 * localedata/locales/tk_TM: Likewise.
15018 * localedata/locales/tl_PH: Likewise.
15019 * localedata/locales/tr_TR: Likewise.
15020 * localedata/locales/tt_RU: Likewise.
15021 * localedata/locales/tt_RU@iqtelif: Likewise.
15022 * localedata/locales/ug_CN: Likewise.
15023 * localedata/locales/uk_UA: Likewise.
15024 * localedata/locales/uz_UZ: Likewise.
15025 * localedata/locales/uz_UZ@cyrillic: Likewise.
15026 * localedata/locales/vi_VN: Likewise.
15027 * localedata/locales/yi_US: Likewise.
15028 * localedata/locales/yo_NG: Likewise.
15030 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15032 * gen-locales.mk: Make test files which contain @ modifiers in their
15034 * localedata/gen-locale.sh: Likewise.
15036 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15038 * posix/tst-fnmatch.input: Fix results for range expressions
15040 * posix/tst-regexloc.c: Do not use a range expression for
15041 de_DE.ISO-8859-1 locale.
15043 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15045 * posix/bug-regex5.c: Fix test case because with the new
15046 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15047 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15052 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15053 downloaded from ISO, the collation order of @-. and space has changed.
15054 Therefore, this test file needed to be adapted.
15055 * localedata/fr_CA.UTF-8.in: Likewise.
15056 * localedata/fr_FR.UTF-8.in: Likewise.
15057 * localedata/uk_UA.UTF-8.in: Likewise.
15059 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15061 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15062 order of ȥ in the new iso14651_t1_common file.
15063 * localedata/pl_PL.UTF-8.in: Likewise.
15065 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15067 * localedata/locales/iso14651_t1_common: Add sections for various
15068 scripts to the iso14651_t1_common file.
15070 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15072 * localedata/locales/iso14651_t1_common: Use the code point of a
15073 character in the fourth collation level instead of IGNORE for all
15074 entries which have IGNORE on all 4 levels.
15076 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15078 * localedata/locales/iso14651_t1_common: Add some convenient collation
15079 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15080 rules similar to those in CLDR.
15082 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15084 * localedata/locales/iso14651_t1_common: The new version of this
15085 file downloaded from ISO contained several syntax errors which
15086 are fixed by this patch.
15088 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15090 * localedata/locales/iso14651_t1_common: replace all <U.....>
15091 with <U000.....> because glibc understands only 4 digit or 8 digit
15093 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15095 * localedata/locales/iso14651_t1_common: Necessary changes
15096 to make the file downloaded from ISO usable by glibc.
15098 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15101 * localedata/locales/iso14651_t1_common: Update file to
15102 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15104 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15106 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15107 of <nptl/pthreadP.h>
15108 (thread_attr_compare): Move function to...
15109 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15110 * sysdeps/nptl/timer_routines.h: ... new header.
15111 * sysdeps/mach/hurd/gai_misc.h: New file.
15113 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15115 * string/strcoll_l.c: Include <libc-diag.h>.
15116 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15117 declarations of seq1 and seq2.
15120 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15121 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15123 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15128 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15129 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15130 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15131 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15132 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15134 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15137 macros used in __ptrace_request.
15139 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15142 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15145 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15149 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15152 * ctype/ctype.c (tolower): Use libc_hidden_def.
15153 (toupper): Likewise.
15154 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15155 [!_ISOMAC] (toupper): Likewise.
15157 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15159 * localedata/Makefile: Remove --quiet argument when
15162 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15165 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15167 * localedata/locales/pt_PT (LC_TIME): likewise
15169 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15172 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15173 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15174 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15176 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15180 * nptl/Makefile (routines): Remove unregister-atfork.
15181 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15182 (fork_handler_alloc): Remove function.
15183 (fork_handlers, fork_handler_init): New variables.
15184 (__fork_lock): Rename to atfork_lock.
15185 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15186 to use a dynamic array to add/remove atfork handlers.
15187 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15188 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15189 Remove declaration.
15190 (fork_handler): Remove next, refcntr, and need_signal member.
15191 (__run_fork_handler_type): New enum.
15192 (__run_fork_handlers): New prototype.
15193 * nptl/register-atfork.c: Remove file.
15194 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15196 * sysdeps/nptl/nptl-signals.h: Move to ...
15197 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15199 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15200 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15201 unnecessary check for SIGTIMER.
15202 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15203 remove unnecessary removal of SIGTIMER.
15204 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15205 include-signals.h rename.
15206 * nptl/pthreadP.h: Likewise.
15207 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15208 __is_internal_signal instead of __nptl_is_internal_signal.
15210 2018-02-22 Andrew Waterman <andrew@sifive.com>
15213 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15214 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15215 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15216 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15218 2018-02-22 DJ Delorie <dj@delorie.com>
15220 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15222 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15224 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15225 do_misaligned, not misaligned8.
15227 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15229 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15230 Add memcpy_thunderx2.
15231 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15233 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15234 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15235 and IS_THUNDERX2PA checks.
15236 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15237 Use macro to set name appropriately.
15238 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15239 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15240 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15242 (IS_THUNDERX2): New macro.
15244 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15246 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15248 2018-02-21 Zack Weinberg <zackw@panix.com>
15250 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15251 Define here, unconditionally.
15252 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15253 * libio/libioP.h: Remove #if 0 blocks.
15254 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15255 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15256 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15258 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15259 Assume weak_alias is always defined.
15261 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15262 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15263 Remove #if 0 and #ifdef TODO blocks.
15264 Assume text_set_element is always defined.
15266 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15267 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15268 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15270 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15271 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15272 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15273 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15274 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15275 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15276 Reformat bit flags for _flags field to make occupancy clearer.
15278 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15279 Keep definitions consistent with those in libio/libio.h.
15281 * libio/libio.h (_IO_file_flags): Remove macro.
15282 All uses changed to _flags.
15284 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15285 (__HAVE_COLUMN, _IO_BE): Don't define.
15286 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15287 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15288 * libio/libioP.h (EOF): Don't define.
15289 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15290 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15291 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15292 testing _IO_UNIFIED_JUMPTABLES.
15294 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15295 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15296 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15297 (_IO_size_t): Delete; all uses changed to size_t.
15298 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15299 (_IO_off_t): Delete; all uses changed to off_t.
15300 (_IO_off64_t): Delete; all uses changed to off64_t.
15301 (_IO_pid_t): Delete; all uses changed to pid_t.
15302 (_IO_uid_t): Delete; all uses changed to uid_t.
15303 (_IO_wint_t): Delete; all uses changed to wint_t.
15304 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15305 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15306 (_IO_cookie_io_functions_t): Delete; all uses changed to
15307 cookie_io_functions_t.
15308 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15309 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15310 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15311 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15313 * libio/iofopncook.c: Remove unnecessary forward declarations.
15314 * libio/iolibio.h: Correct outdated commentary.
15315 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15316 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15317 Remove unnecessary casts.
15318 * stdio-common/getline.c: Use _IO_getdelim directly.
15319 Don't redefine ssize_t.
15320 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15321 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15322 Remove outdated comments.
15323 * stdio-common/vfscanf.c: Don't redefine va_list.
15325 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15326 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15327 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15328 which are always true, and __cplusplus, which is always false.
15330 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15334 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15335 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15336 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15337 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15339 [!_ISOMAC] (putc_unlocked): Likewise.
15340 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15341 define inline if [__USE_EXTERN_INLINES].
15342 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15347 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15348 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15349 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15350 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15351 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15353 * time/tzfile.c (__tzfile_read): Likewise.
15355 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15358 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15360 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15362 * io/fcntl.h: Fix a typo in a comment.
15364 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15367 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15368 define _DEFAULT_SOURCE.
15369 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15371 2018-02-21 Florian Weimer <fweimer@redhat.com>
15374 * elf/cache.c (save_cache): Call fsync on temporary file before
15376 (save_aux_cache): Call fdatasync on temporary file before renaming
15379 2018-02-21 Florian Weimer <fweimer@redhat.com>
15382 * include/caller.h: Remove file.
15383 * elf/dl-caller.c: Likewise.
15384 * elf/Makefile (dl-routines): Remove dl-caller.
15385 (shared-only-routines): Do not add dl-caller.
15386 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15388 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15390 (dl_open_worker): Do not call __check_caller.
15391 (_dl_open): Do not set caller_dl_open member.
15392 * elf/rtld.c (_rtld_global_ro): Do not initialize
15393 _dl_check_caller member.
15394 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15395 _dl_check_caller member.
15396 (_dl_check_caller): Remove declaration.
15397 * sysdeps/unix/sysv/linux/dl-execstack.c
15398 (_dl_make_stack_executable): Do not call __check_caller.
15400 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15403 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15405 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15407 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15410 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15413 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15414 of 199606L, 200112L, and 200809L.
15415 (_XOPEN_SOURCE): Document special values of 600 and 700.
15416 (_ISOC11_SOURCE): Document macro.
15417 (_ATFILE_SOURCE): Likewise.
15418 (_FORTIFY_SOURCE): Likewise.
15420 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15424 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15425 and define as weak alias of __ferror_unlocked. Use
15427 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15429 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15430 function if [__USE_EXTERN_INLINES].
15431 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15434 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15437 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15439 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15442 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15443 the GLIBC_2.1 version.
15445 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15448 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15449 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15450 intl/tst-gettext-de.po from po/de.po by removing the
15451 POT-Creation-Date line.
15452 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15454 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15457 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15459 * mach/Makefile (headers): Add mach/param.h.
15460 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15461 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15462 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15463 (__ptsname_r): Move implementation to...
15464 (__ptsname_internal): ... new function. Add filling the STP
15467 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15469 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15472 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15474 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15477 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15479 * nptl/Makefile (tst-mutex8-ENV): Delete.
15480 * nptl/tst-mutex8.c (check_type):
15481 Add runtime check if mutex will be elided.
15483 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15487 * manual/install.texi (Configuring and compiling): Describe
15488 passing CC and CFLAGS on configure command line, not as
15489 environment variables. Use @code markup on those variables.
15490 Specify what options go in CC and what go in CFLAGS. Note the
15491 requirement to compile with optimization.
15492 * INSTALL: Regenerated.
15495 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15496 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15497 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15498 __sigprocmask instead of sigprocmask.
15499 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15501 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15502 __sigsetjmp and sigprocmask.
15505 * include/argz.h (argz_next): Use libc_hidden_proto.
15506 (__argz_next): Likewise.
15507 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15508 (argz_next): Use libc_hidden_weak.
15511 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15513 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15517 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15519 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15523 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15524 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15525 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15526 (__feof_unlocked): New declaration, and inline function if
15527 [__USE_EXTERN_INLINES].
15528 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15529 instead of feof_unlocked.
15530 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15531 * nss/nsswitch.c (nss_parse_file): Likewise.
15532 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15534 * time/getdate.c (__getdate_r): Likewise.
15535 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15536 Define as macro to call __feof_unlocked.
15538 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15540 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15542 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15544 * math/Makefile: Remove mpexp.c and mplog.c
15545 * sysdeps/i386/fpu/mpexp.c: Delete file.
15546 * sysdeps/i386/fpu/mplog.c: Likewise.
15547 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15548 * sysdeps/ia64/fpu/mplog.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15550 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15551 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15552 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15553 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15554 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15555 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15556 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15557 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15558 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15561 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15562 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15563 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15564 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15566 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15568 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15570 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15572 * sysdeps/sh/libm-test-ulps: Update.
15574 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15576 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15579 2018-02-12 Zack Weinberg <zackw@panix.com>
15582 * posix/sys/types.h: Don't include sys/sysmacros.h.
15583 * misc/sys/sysmacros.h: Remove the conditional deprecation
15584 warnings for the macros defined by this header.
15586 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15588 * manual/probes.texi: Remove slowexp probes.
15589 * math/Makefile: Remove slowexp.
15590 * sysdeps/generic/math_private.h (__slowexp): Remove.
15591 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15592 document error bounds.
15593 * sysdeps/i386/fpu/slowexp.c: Remove.
15594 * sysdeps/ia64/fpu/slowexp.c: Remove.
15595 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15596 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15597 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15598 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15599 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15600 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15603 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15605 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15607 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15610 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15611 * benchtests/pow-inputs: Update comment for slow path cases.
15612 * manual/probes.texi (slowpow_p10): Delete removed probe.
15613 (slowpow_p10): Likewise.
15614 * math/Makefile: Remove halfulp.c and slowpow.c.
15615 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15616 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15617 (__halfulp): Remove.
15618 (__slowpow): Remove.
15619 * sysdeps/i386/fpu/halfulp.c: Delete file.
15620 * sysdeps/i386/fpu/slowpow.c: Likewise.
15621 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15622 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15624 improve comments and add error analysis.
15625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15626 (power1): Remove function:
15627 (log1): Remove error argument, add error analysis.
15628 (my_log2): Remove function.
15629 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15631 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15632 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15633 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15634 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15635 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15636 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15637 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15638 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15639 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15640 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15642 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15644 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15646 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15647 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15649 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15652 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15653 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15654 and PTRACE_SETHBPREGS.
15656 2018-02-10 Zack Weinberg <zackw@panix.com>
15659 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15661 * malloc/tst-malloc-stats-cancellation.c: New test case.
15662 * malloc/Makefile: Add new test case.
15664 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15666 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15668 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15670 * math/Makefile (libm-narrow-fns): Add add.
15671 (libm-test-funcs-narrow): Likewise.
15672 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15673 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15674 * math/gen-auto-libm-tests.c (test_functions): Add add.
15675 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15676 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15677 (NARROW_ADD_TRIVIAL): Likewise.
15678 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15680 (__daddl): Likewise.
15681 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15683 (CFLAGS-nldbl-dadd.c): New variable.
15684 (CFLAGS-nldbl-fadd.c): Likewise.
15685 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15689 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15690 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15691 * math/auto-libm-test-in: Add tests of add.
15692 * math/auto-libm-test-out-narrow-add: New generated file.
15693 * math/libm-test-narrow-add.inc: New file.
15694 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15696 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15697 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15698 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15699 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15708 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15709 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15710 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15711 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15713 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15721 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15722 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15730 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15741 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15742 (f128-pairs): New variable.
15743 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15744 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15746 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15747 Also make tests add $(f128-loader-link) to gnulib-tests.
15749 2018-02-09 DJ Delorie <dj@redhat.com>
15752 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15753 64-bit ELF type for 64-bit ELF objects.
15755 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15757 * math/libm-test-driver.c (snan_tests_arg): New variable.
15758 * math/libm-test-support.h (snan_tests_arg): New declaration.
15759 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15761 * math/Makefile (test-type-pairs): New variable.
15762 (test-type-pairs-f64xf128-yes): Likewise.
15763 (tests): Add test-narrow-macros.
15764 (libm-test-funcs-narrow): New variable.
15765 (libm-test-c-narrow): Likewise.
15766 (generated): Add $(libm-test-c-narrow).
15767 (libm-tests-base-narrow): New variable.
15768 (libm-tests-narrow): Likewise.
15769 (libm-tests): Add $(libm-tests-narrow).
15770 (libm-tests-for-type): Handle $(libm-tests-narrow).
15771 (libm-test-c-narrow-obj): New variable.
15772 ($(libm-test-c-narrow-obj)): New rule.
15773 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15774 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15775 $(o-iterator) to set dependencies and CFLAGS.
15776 * math/gen-auto-libm-tests.c: Document use for narrowing
15778 (output_for_one_input_case): Take argument NARROW.
15779 (generate_output): Likewise. Update call to
15780 output_for_one_input_case.
15781 (main): Take --narrow option. Update call to generate_output.
15782 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15783 (apply_lit): Update call to _apply_lit.
15784 (apply_arglit): New function.
15785 (parse_args): Handle "a" arguments.
15786 (parse_auto_input): Handle format names using ":".
15787 * math/README.libm-test: Document "a" parameter type.
15788 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15789 (ARG_TYPE_TRUE_MIN): Likewise.
15790 (ARG_TYPE_MAX): Likwise.
15791 (ARG_MIN_EXP): Likewise.
15792 (ARG_MAX_EXP): Likewise.
15793 (ARG_MANT_DIG): Likewise.
15794 (TEST_COND_arg_ibm128): Likewise.
15795 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15796 (TEST_COND_arg_fmt): New macro.
15797 (init_max_error): Update prototype.
15798 * math/libm-test-support.c (test_ibm128): New variable.
15799 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15800 instead of using [TEST_COND_ibm128] conditional.
15801 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15802 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15803 [TEST_NARROW] (TEST_MSG): New definition.
15804 (arg_plus_zero): New macro.
15805 (arg_minus_zero): Likewise.
15806 (arg_plus_infty): Likewise.
15807 (arg_minus_infty): Likewise.
15808 (arg_qnan_value_pl): Likewise.
15809 (arg_qnan_value): Likewise.
15810 (arg_snan_value_pl): Likewise.
15811 (arg_snan_value): Likewise.
15812 (arg_max_value): Likewise.
15813 (arg_min_value): Likewise.
15814 (arg_min_subnorm_value): Likewise.
15815 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15816 (RUN_TEST_LOOP_aa_f): New macro.
15817 (TEST_SUFF): New macro.
15818 (TEST_SUFF_STR): Likewise.
15819 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15820 (TEST_COND_any_ibm128): New macro.
15821 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15822 this_func. Update call to init_max_error.
15823 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15824 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15825 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15826 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15827 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15828 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15829 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15830 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15831 * math/test-math-vector.h (TEST_NARROW): Likewise.
15832 * math/test-arg-double.h: New file.
15833 * math/test-arg-float128.h: Likewise.
15834 * math/test-arg-float32x.h: Likewise.
15835 * math/test-arg-float64.h: Likewise.
15836 * math/test-arg-float64x.h: Likewise.
15837 * math/test-arg-ldouble.h: Likewise.
15838 * math/test-math-narrow.h: Likewise.
15839 * math/test-narrow-macros.c: Likewise.
15840 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15841 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15842 test-narrow-macros-ldbl-64.
15843 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15845 * math/bits/mathcalls-narrow.h: New file.
15846 * include/bits/mathcalls-narrow.h: Likewise.
15847 * math/math-narrow.h: Likewise.
15848 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15849 (__MATHCALL_NARROW_ARGS_2): Likewise.
15850 (__MATHCALL_NARROW_ARGS_3): Likewise.
15851 (__MATHCALL_NARROW_NORMAL): Likewise.
15852 (__MATHCALL_NARROW_REDIR): Likewise.
15853 (__MATHCALL_NARROW): Likewise.
15854 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15855 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15857 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15858 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15859 (libm-narrow-fns): New variable.
15860 (libm-narrow-types-basic): Likewise.
15861 (libm-narrow-types-ldouble-yes): Likewise.
15862 (libm-narrow-types-float128-yes): Likewise.
15863 (libm-narrow-types-float128-alias-yes): Likewise.
15864 (libm-narrow-types): Likewise.
15865 (libm-routines): Add narrowing functions.
15866 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15867 (libc_feholdexcept_setroundf128): New macro.
15868 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15869 * sysdeps/ieee754/float128/float128_private.h: Include
15870 <math/math-narrow.h>.
15871 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15872 Undefine and redefine.
15873 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15874 (libm_alias_float_ldouble): Undefine and redefine.
15875 (libm_alias_double_ldouble): Likewise.
15877 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15879 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15881 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15884 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15886 * manual/creature.texi: Convert references to gcc.info to gcc.
15887 * manual/stdio.texi: Likewise.
15888 * manual/string.texi: Likewise.
15890 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15893 * posix/bits/types.h (__int_least8_t): New typedef.
15894 (__uint_least8_t): Likewise.
15895 (__int_least16_t): Likewise.
15896 (__uint_least16_t): Likewise.
15897 (__int_least32_t): Likewise.
15898 (__uint_least32_t): Likewise.
15899 (__int_least64_t): Likewise.
15900 (__uint_least64_t): Likewise.
15901 * sysdeps/generic/stdint.h (int_least8_t): Define using
15903 (int_least16_t): Define using __int_least16_t.
15904 (int_least32_t): Define using __int_least32_t.
15905 (int_least64_t): Define using __int_least64_t.
15906 (uint_least8_t): Define using __uint_least8_t.
15907 (uint_least16_t): Define using __uint_least16_t.
15908 (uint_least32_t): Define using __uint_least32_t.
15909 (uint_least64_t): Define using __uint_least64_t.
15910 * wcsmbs/uchar.h: Include <bits/types.h>.
15911 (char16_t): Define using __uint_least16_t conditional only on
15913 (char32_t): Define using __uint_least32_t conditional only on
15915 * wcsmbs/test-char-types.c: New file.
15916 * wcsmbs/Makefile (tests): Add test-char-types.
15918 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15921 2018-02-07 Zack Weinberg <zackw@panix.com>
15923 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15924 Delete all contents except for definitions of _G_HAVE_MMAP and
15925 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15926 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15927 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15930 * libio/libio.h: Don't include bits/_G_config.h here.
15931 Include stddef.h with __need_wchar_t defined. Include
15932 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15933 Define _IO_iconv_t here, directly.
15934 Don't define _IO_HAVE_ST_BLKSIZE.
15935 * libio/libioP.h: Include _G_config.h here. Move include of
15936 shlib-compat.h up with rest of includes. Simplify conditionals
15937 controlling definition of _IO_JUMPS_OFFSET.
15939 * csu/init.c: Remove always-true #if around entire file.
15940 Don't include stdio.h. Set _IO_stdin_used to hardwired
15941 constant 0x20001, and update commentary.
15942 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15943 Replace all uses of _G_va_list with __gnuc_va_list.
15944 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15945 instead of #if _IO_HAVE_ST_BLKSIZE.
15946 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15947 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15950 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15951 multiple-include guard to match.
15952 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15954 Remove preprocessor conditionals that are always true and/or
15955 redundant to other preprocessor conditionals in the same nest.
15956 Include shlib-compat.h unconditionally.
15957 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15958 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15959 defined after including stdio.h.
15960 Use __BEGIN_DECLS/__END_DECLS.
15962 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15963 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15964 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15966 2018-02-07 Zack Weinberg <zackw@panix.com>
15968 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15969 New single-type headers split from _G_config.h.
15970 * libio/bits/types/cookie_io_functions_t.h
15971 * libio/bits/types/struct_FILE.h
15972 New single-type headers split from libio.h.
15974 * libio/Makefile: Install the above new headers. Don't install
15975 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15977 * libio/_G_config.h, libio/libio.h: Delete file.
15979 * libio/bits/libio.h: Remove improper-inclusion guard.
15980 Include stdio.h and don't repeat anything that it does.
15981 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15982 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15983 __io_read_fn as cookie_read_function_t,
15984 __io_write_fn as cookie_write_function_t,
15985 __io_seek_fn as cookie_seek_function_t,
15986 __io_close_fn as cookie_close_function_t,
15987 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15988 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15989 here, in the "compatibility defines" section. Remove an #if 0
15990 block. Use the "body" macros from bits/types/struct_FILE.h to
15991 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15992 and _IO_ferror_unlocked.
15993 Move prototypes of __uflow and __overflow...
15995 * libio/stdio.h: ...here. Don't include bits/libio.h.
15996 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15997 directly from stdarg.h. Include bits/types/__fpos_t.h,
15998 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15999 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16000 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16001 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16002 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16003 __ssize_t, not _IO_ssize_t. Unconditionally define
16004 BUFSIZ as 8192 and EOF as (-1).
16006 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16007 macros from bits/types/struct_FILE.h instead of _IO_* macros
16008 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16009 instead of _IO_ssize_t.
16010 * libio/bits/stdio2.h: Similarly.
16012 * libio/iolibio.h: Add multiple-include guard.
16013 Include bits/libio.h after stdio.h.
16014 * libio/libioP.h: Add multiple-include guard.
16015 Include stdio.h and bits/libio.h before iolibio.h.
16017 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16018 * include/bits/types/cookie_io_functions_t.h
16019 * include/bits/types/struct_FILE.h: New wrappers.
16021 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16022 Get definitions of _G_fpos_t and _G_fpos64_t from
16023 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16024 respectively. Remove improper-inclusion guards.
16026 * conform/data/stdio.h-data: Update expectations of va_list.
16027 * scripts/check-installed-headers.sh: Remove special case for
16028 libio.h and _G_config.h.
16030 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16034 * include/sys/sysmacros.h [!_ISOMAC]
16035 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16036 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16037 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16038 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16040 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16041 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16043 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16044 Undefine and redefine to add use __gnu_dev_ prefix.
16045 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16047 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16048 and define as hidden inline function.
16049 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16051 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16053 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16054 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16055 (gnu_dev_minor): Likewise.
16056 (gnu_dev_makedev): Likewise.
16057 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16059 * posix/wordexp.c (exec_comm_child): Likewise.
16060 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16061 instead of minor and __gnu_dev_major instead of major.
16062 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16063 __gnu_dev_major instead of major.
16064 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16065 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16066 instead of gnu_dev_minor.
16067 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16068 (SLAVE_P): Likewise.
16069 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16070 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16074 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16076 * locale/weightwc.h (findidx): Likewise.
16078 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16080 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16081 (slowlog_inexact): Likewise
16082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16083 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16085 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16088 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16089 missing second underscore to parameter name.
16091 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16097 * bits/byteswap.h: Update file comment. Do not include
16098 <bits/byteswap-16.h>.
16099 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16101 (__bswap_16): Define as inline function.
16102 (__bswap_constant_32): Reformat definition.
16103 (__bswap_32): Always define as inline function, not macro, using
16104 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16105 otherwise __bswap_constant_32.
16106 (__bswap_constant_64): Reformat definition. Do not use
16107 __extension__ here.
16108 (__bswap_64): Always define as inline function, not macro. Use
16109 __extension__ on function definition. Use __builtin_bswap64 if
16110 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16111 * string/test-endian-file-scope.c: New file.
16112 * string/test-endian-sign-conversion.c: Likewise.
16113 * string/Makefile (headers): Remove bits/byteswap-16.h.
16114 (tests): Add test-endian-file-scope and
16115 test-endian-sign-conversion.
16116 (CFLAGS-test-endian-sign-conversion.c): New variable.
16117 * bits/byteswap-16.h: Remove file.
16118 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16119 * sysdeps/ia64/bits/byteswap.h: Likewise.
16120 * sysdeps/m68k/bits/byteswap.h: Likewise.
16121 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16122 * sysdeps/s390/bits/byteswap.h: Likewise.
16123 * sysdeps/tile/bits/byteswap.h: Likewise.
16124 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16125 * sysdeps/x86/bits/byteswap.h: Likewise.
16128 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16129 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16130 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16131 199901L] (__restrict): Define to restrict.
16134 * string/testcopy.c: Include <support/support.h>. Do not include
16135 <malloc.h>. Use <support/test-driver.c>.
16136 (main): Rename to do_test. Make static. Use xmalloc instead of
16140 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16141 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16142 (SSIZE_MAX): Define to INT_MAX.
16143 * posix/test-ssize-max.c: New file.
16144 * posix/Makefile (tests): Add test-ssize-max.
16147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16148 <support/support.h>. Do not include <malloc.h>.
16149 (query_auxv): Use xmalloc instead of malloc.
16152 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16153 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16156 2018-02-06 Florian Weimer <fweimer@redhat.com>
16159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16160 Use scratch_buffer instead of extend_alloca.
16162 2018-02-06 Zack Weinberg <zackw@panix.com>
16164 * libio/stdio.h: Don't define getc or putc as macros.
16165 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16166 not _IO_getc and _IO_putc.
16168 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16169 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16171 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16173 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16174 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16176 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16179 * elf/elf.h (NT_PRFPREG): New macro.
16180 (NT_S390_VXRS_LOW): Likewise.
16181 (NT_S390_VXRS_HIGH): Likewise.
16182 (NT_S390_GS_CB): Likewise.
16183 (NT_S390_GS_BC): Likewise.
16184 (NT_S390_RI_CB): Likewise.
16186 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16187 (MAP_SYNC): New macro.
16188 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16190 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16191 (MAP_SYNC): Likewise.
16192 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16193 (MAP_SYNC): Likewise.
16194 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16195 (MAP_SYNC): Likewise.
16196 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16197 (MAP_SYNC): Likewise.
16198 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16199 (MAP_SYNC): Likewise.
16200 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16201 (MAP_SYNC): Likewise.
16202 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16204 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16208 (MAP_SHARED_VALIDATE): New macro.
16209 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16210 (MAP_SHARED_VALIDATE): Likewise.
16212 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16214 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16215 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16218 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16220 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16221 (DT_NUM): Updated to 35.
16223 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16225 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16226 __builtin_expect with __glibc_likely and __glibc_unlikely.
16227 (elf_machine_rela): Likewise.
16228 (elf_machine_lazy_rel): Likewise.
16230 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16233 __builtin_expect with __glibc_likely and __glibc_unlikely.
16234 (elf_machine_lazy_rel): Likewise.
16236 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16239 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16241 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16243 2018-02-05 Andreas Schwab <schwab@suse.de>
16246 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16249 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16251 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16252 not check against PTHREAD_STACK_MIN.
16254 2018-02-02 Sean McKean <smckean83@gmail.com>
16257 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16259 2018-02-02 Florian Weimer <fweimer@redhat.com>
16262 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16263 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16264 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16265 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16266 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16267 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16268 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16269 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16270 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16271 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16272 * misc/tst-preadvwritev2.c (do_test): Call it.
16273 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16275 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16277 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16279 * benchtests/bench-memcmp.c: Print json instead of plain text.
16281 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16284 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16286 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16288 (s390_sthyi): New syscall.
16290 * sysdeps/generic/ldbl-classify-compat.h: New file.
16291 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16292 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16293 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16294 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16295 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16296 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16297 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16298 <ldbl-classify-compat.h>.
16299 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16300 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16301 <ldbl-classify-compat.h>.
16302 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16303 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16304 <ldbl-classify-compat.h>.
16305 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16307 <ldbl-classify-compat.h>.
16308 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16310 <ldbl-classify-compat.h>.
16311 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16313 <ldbl-classify-compat.h>.
16314 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16315 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16316 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16317 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16318 * sysdeps/microblaze/math_private.h: Likewise.
16319 * sysdeps/nios2/math_private.h: Likewise.
16320 * sysdeps/sh/math_private.h: Likewise.
16322 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16323 * sysdeps/m68k/coldfire/math_private.h: ... here.
16324 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16325 * sysdeps/tile/math_private.h: Likewise.
16326 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16328 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16331 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16333 (libc_fetestexcept): Likewise.
16334 (libc_feupdateenv_test): Likewise.
16335 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16336 (libc_fetestexcept): Likewise.
16337 (libc_feupdateenv_test): Likewise.
16338 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16339 (libc_fetestexcept): Likewise.
16340 (libc_feupdateenv_test): Likewise.
16341 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16342 (libc_fetestexcept): Likewise.
16343 (libc_feupdateenv_test): Likewise.
16345 * sysdeps/generic/math_private.h
16346 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16347 New inline function.
16348 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16351 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16352 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16353 * sysdeps/generic/math_private.h
16354 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16356 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16358 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16360 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16362 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16364 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16366 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16367 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16368 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16369 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16370 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16371 (__fegetenv): Likewise.
16372 (fesetenv): Likewise.
16373 (__fesetenv): Likewise.
16374 (feupdateenv): Likewise.
16375 (__feupdateenv): Likewise.
16376 (fegetround): Likewise.
16377 (__fegetround): Likewise.
16378 (fesetround): Likewise.
16379 (__fesetround): Likewise.
16381 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16382 (feraiseexcept): New macro.
16383 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16384 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16386 (__feraiseexcept): Likewise.
16387 (feclearexcept): Likewise.
16388 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16389 (__feraiseexcept): Likewise.
16390 (feclearexcept): Likewise.
16391 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16392 (__feraiseexcept): Likewise.
16393 (feclearexcept): Likewise.
16394 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16395 (__feraiseexcept): Likewise.
16396 (feclearexcept): Likewise.
16397 (fetestexcept): Likewise.
16399 * sysdeps/m68k/coldfire/math-tests.h: New file.
16401 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16402 * sysdeps/m68k/bits/fenv.h: ... here.
16403 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16405 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16407 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16409 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16411 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16413 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16415 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16416 (__FE_UNDEFINED): New enum constant.
16417 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16419 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16421 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16423 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16424 to match generic bits/fenv.h.
16425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16428 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16430 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16431 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16432 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16433 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16435 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16436 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16437 Joseph Myers <joseph@codesourcery.com>
16440 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16441 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16442 computation using c.
16443 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16444 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16445 computation using c.
16447 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16449 * version.h (RELEASE): Set to "development".
16450 (VERSION): Set to "2.27.9000".
16451 * NEWS (2.28): New section.
16453 * version.h (RELEASE): Set to "stable".
16454 (VERSION): Set to "2.27".
16455 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16457 * NEWS: Add the list of bugs fixed in 2.27.
16459 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16461 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16462 against PTHREAD_STACK_MIN.
16464 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16466 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16468 (Rafal Luzynski, Andreas Schwab): Update.
16470 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16473 * NEWS: List the languages which actually use the alternative
16474 months feature in this release. Also explain that "alt_mon" and
16475 "ab_alt_mon" are optional.
16477 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16480 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16482 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16484 * manual/install.texi (Tools for Compilation): Update the newest
16485 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16486 * INSTALL: Regenerated.
16488 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16490 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16491 instead of __builtin_expect.
16493 2018-01-30 Florian Weimer <fweimer@redhat.com>
16495 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16497 * nss/tst-nss-getpwent.c (do_test): Likewise.
16499 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16502 * localedata/locales/hr_HR (mon): Rename to...
16504 (mon): Import from CLDR (genitive case).
16505 (d_t_fmt): Update the comment.
16507 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16509 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16510 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16511 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16513 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16515 * mach/Versions: Fix version when __mach_host_self_ was added.
16516 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16517 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16518 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16519 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16520 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16521 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16522 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16523 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16524 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16525 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16526 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16527 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16528 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16529 || to respect codestyle.
16530 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16531 (do_test_bz20181): Rename accordingly.
16532 * malloc/malloc.c: Include <assert.h>.
16533 (assert): Do not define.
16534 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16535 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16536 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16537 * sysdeps/mach/hurd/hp-timing.h: New file.
16538 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16540 2018-01-29 Darius Rad <darius@bluespec.com>
16542 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16544 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16546 * sysdeps/init_array/crti.S (.section .init_array): Add
16547 PREINIT_FUNCTION when defined.
16548 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16549 * config.h.in: Regenerate.
16550 * manual/platform.texi: Add RISC-V documenation for
16551 __riscv_flush_icache.
16552 * sysdeps/riscv/__longjmp.S: New file.
16553 * sysdeps/riscv/backtrace.c: Likewise.
16554 * sysdeps/riscv/bits/endian.h: Likewise.
16555 * sysdeps/riscv/bits/setjmp.h: Likewise.
16556 * sysdeps/riscv/bits/wordsize.h: Likewise.
16557 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16558 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16559 * sysdeps/riscv/dl-trampoline.S: Likewise.
16560 * sysdeps/riscv/gccframe.h: Likewise.
16561 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16562 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16563 * sysdeps/riscv/machine-gmon.h: Likewise.
16564 * sysdeps/riscv/memusage.h: Likewise.
16565 * sysdeps/riscv/setjmp.S: Likewise.
16566 * sysdeps/riscv/sys/asm.h: Likewise.
16567 * sysdeps/riscv/tls-macros.h: Likewise.
16568 * sysdeps/riscv/dl-tls.h: New file.
16569 * sysdeps/riscv/libc-tls.c: Likewise.
16570 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16571 * sysdeps/riscv/nptl/tls.h: Likewise.
16572 * sysdeps/riscv/stackinfo.h: Likewise.
16573 * sysdeps/riscv/bits/fenv.h: New file.
16574 * sysdeps/riscv/e_sqrtl.c: Likewise.
16575 * sysdeps/riscv/fpu_control.h: Likewise.
16576 * sysdeps/riscv/math-tests.h: Likewise.
16577 * sysdeps/riscv/nofpu/Implies: Likewise.
16578 * sysdeps/riscv/sfp-machine.h: Likewise.
16579 * sysdeps/riscv/tininess.h: Likewise.
16580 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16581 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16582 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16583 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16584 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16585 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16586 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16587 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16588 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16589 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16590 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16591 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16592 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16593 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16594 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16595 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16596 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16597 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16598 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16599 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16600 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16601 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16602 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16603 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16604 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16605 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16606 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16607 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16608 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16609 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16610 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16611 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16612 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16613 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16614 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16615 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16616 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16617 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16618 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16619 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16620 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16621 * sysdeps/riscv/rvf/math_private.h: Likewise.
16622 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16623 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16624 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16625 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16626 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16627 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16628 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16629 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16630 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16631 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16632 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16633 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16634 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16635 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16636 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16637 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16638 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16639 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16640 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16641 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16642 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16643 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16644 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16645 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16646 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16647 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16648 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16649 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16650 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16651 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16652 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16653 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16654 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16655 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16656 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16657 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16658 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16659 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16660 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16661 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16662 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16663 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16664 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16665 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16666 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16667 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16668 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16669 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16670 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16671 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16672 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16673 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16674 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16675 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16676 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16677 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16678 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16679 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16680 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16681 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16682 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16683 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16684 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16685 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16689 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16690 * sysdeps/riscv/Implies: New file.
16691 * sysdeps/riscv/Makefile: Likewise.
16692 * sysdeps/riscv/configure: Likewise.
16693 * sysdeps/riscv/configure.ac: Likewise.
16694 * sysdeps/riscv/nptl/Makefile: Likewise.
16695 * sysdeps/riscv/preconfigure: Likewise.
16696 * sysdeps/riscv/rv64/Implies-after: Likewise.
16697 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16698 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16699 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16700 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16701 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16702 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16703 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16704 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16705 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16706 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16707 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16708 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16709 (Config): Likewise.
16711 2018-01-29 Florian Weimer <fweimer@redhat.com>
16714 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16715 libnsl_hidden_proto.
16716 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16717 libnsl_hidden_proto.
16718 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16719 * nis/Makefile (libnsl-routines): Add nss-default only for
16720 build-obsolete-nsl.
16721 * nis/nis_defaults.c (__nis_default_ttl): Add
16722 libnsl_hidden_nolink_def.
16723 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16725 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16726 * nis/ypclnt.c (yp_maplist): Likewise.
16728 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16731 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16733 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16735 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16736 clean -dxfq for git updates when replacing sources.
16738 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16739 --disable-libcilkrts unconditionally, not just for the final GCC
16742 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16745 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16748 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16751 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16754 * localedata/locales/be_BY (mon): Rename to...
16755 (alt_mon): This, then synchronize with CLDR (nominative case).
16756 (abmon): Rename to...
16757 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16758 (mon): Import from CLDR (genitive case).
16760 * localedata/locales/be_BY@latin (mon): Rename to...
16762 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16764 * localedata/locales/be_BY@latin (lang_name): Reworded to
16765 "biełaruskaja mova".
16767 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16770 * localedata/locales/el_CY (mon): Renamed to...
16772 (mon): Import from CLDR (genitive case).
16773 * localedata/locales/el_GR: Likewise.
16775 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16778 * localedata/locales/ru_RU (mon): Rename to...
16780 (abmon): Rename to...
16781 (ab_alt_mon): This.
16782 (mon): Import from CLDR (genitive case).
16783 (abmon): Copy from the old content except the 5th month which is
16784 now in the genitive case, even when abbreviated.
16785 * localedata/locales/ru_UA: Likewise.
16786 * time/tst-strptime.c (day_tests): Add an actual example of
16787 a difference between %b and %Ob in Russian.
16789 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16791 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16792 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16794 * resolv/res-close.c: Include <stdlib.h>.
16795 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16796 <sys/wait.h>, <time.h>, <sys/uio.h>.
16797 (NOT_CANCEL_H): Add inclusion guard.
16798 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16799 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16800 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16802 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16803 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16804 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16806 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16807 timer_ptr2id to cast struct timer_node * to void *.
16808 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16809 --disable-libcilkrts to gcc configure.
16810 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16811 and make them the default for now.
16812 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16813 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16814 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16815 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16816 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16818 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16819 __task_terminate would ever return successfully.
16820 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16822 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16823 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16824 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16825 critical section to make code simpler and avoid warning.
16826 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16827 critical section to make code simpler and avoid warning.
16828 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16829 const char * instead of char *.
16830 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16831 __hurd_file_name_split, hurd_file_name_split,
16832 __hurd_directory_name_split, hurd_directory_name_split,
16833 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16834 hurd_file_name_path_lookup): Make lookup function parameter take a
16835 const char *name instead of char *name.
16836 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16837 __hurd_directory_name_split): Likewise.
16838 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16839 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16840 * sysdeps/mach/hurd/check_native.c: New file.
16841 * sysdeps/mach/hurd/check_pf.c: New file.
16842 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16843 (__freeifaddrs): Define macro to freeifaddrs.
16844 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16845 * sysdeps/mach/libmachuser.abilist: New file.
16846 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16847 (do_test_bz20181): Rename accordingly.
16848 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16849 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16851 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16852 version only if __USE_EXTERN_INLINES is defined.
16853 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16854 __hurd_sockfail): Likewise.
16855 (_hurd_fd_get): Always declare functions, and provide inline versions
16856 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16857 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16858 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16859 _hurd_port_set): Always declare functions, and provide inline versions
16860 only if __USE_EXTERN_INLINES and _LIBC are defined and
16862 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16863 _hurd_critical_section_unlock): Likewise.
16864 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16865 * __hurd_threadvar_location): Likewise.
16866 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16867 _hurd_userlink_clear): Likewise.
16868 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16869 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16870 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16871 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16872 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16873 __spin_lock_locked): Likewise.
16874 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16875 __spin_lock_locked): Likewise.
16876 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16877 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16878 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16879 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16880 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16881 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16882 _POSIX_NO_TRUNC): Define to 0.
16883 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16884 check size against PTHREAD_STACK_MIN.
16885 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16886 IS_IN(libpthread)]: Include <sigsetops.h>.
16887 * mach/Makefile (user-interfaces): Add mach/gnumach.
16888 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16889 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16890 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16891 instead of invalid -1.
16892 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16893 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16894 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16897 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16899 * hurd/fcntl-internal.h: New file.
16901 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16903 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16905 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16907 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16910 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16911 Build only shared objects.
16913 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16915 * README: Update for hppa.
16917 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16919 * sysdeps/sparc/fpu/libm-test-ulps: Update
16920 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16922 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16926 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16929 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16930 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16931 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16932 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16935 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16938 * bits/types/__cancel_jmp_buf_tag.h: New file.
16939 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16940 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16941 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16942 * nptl/Makefile (headers): Add
16943 bits/types/__cancel_jmp_buf_tag.h.
16944 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16945 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16946 * sysdeps/nptl/pthread.h: Include
16947 <bits/types/__cancel_jmp_buf_tag.h>.
16948 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16950 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16952 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16955 * localedata/locales/uk_UA (mon): Renamed to...
16957 (alt_digits): "0" removed and then renamed to...
16959 (date_fmt): Definition changed not to use the alternative
16962 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16964 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16965 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16966 * elf/elf.h (EF_RISCV_RVC): New define.
16967 (EF_RISCV_FLOAT_ABI): Likewise.
16968 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16969 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16970 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16971 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16972 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16974 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16976 2018-01-25 Andreas Schwab <schwab@suse.de>
16978 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16980 * sysdeps/gnu/configure: Regenerate.
16981 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16982 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16984 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16985 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16986 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16987 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16990 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16992 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16993 URL, and run autoconf, make it the default for now.
16995 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16997 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16998 soft-float ColdFire configuration.
17000 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17001 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17002 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17004 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17007 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17009 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17011 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17014 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17015 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17016 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17019 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17022 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17023 Rename to __reserved and add comment.
17024 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17025 Rename to __reserved.
17027 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17029 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17030 i686-gnu configurations.
17031 (Context.run_builds): Include mig, gnumach and hurd in components
17033 (Context.checkout): Add mig, gnumach and hurd to components.
17034 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17036 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17037 (Config.build): Install gnumach headers, build mig and install
17038 hurd headers for 'gnu' OS.
17039 (Config.install_gnumach_headers): New function.
17040 (Config.install_hurd_headers): Likewise.
17041 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17042 when building for 'gnu' OS.
17044 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17046 * manual/tunables.texi (Hardware Capability Tunables): Fix
17049 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17051 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17052 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17053 (ALTMON_11, ALTMON_12): Improve documentation.
17054 * manual/time.texi (strftime): Likewise.
17056 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17059 * localedata/locales/pl_PL: Alternative month names added,
17060 primary month names are genitive now.
17061 * time/tst-strptime.c (day_tests): Actually use a genitive case
17062 of a month name in Polish language.
17064 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17067 * manual/locale.texi: Document ALTMON_1..12 constants for
17068 nl_langinfo. Specify when to use ALTMON instead of MON.
17069 * manual/time.texi (strftime, strptime): Document GNU extension
17070 permitting O modifier with %B and %b. Specify when to use
17073 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17076 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17077 names, define them as the same as abbreviated month names explicitly.
17078 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17079 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17080 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17081 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17082 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17083 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17084 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17085 _NL_WABALTMON_12): New enum constants.
17086 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17087 wab_alt_mon, and ab_alt_mon_defined members.
17088 (time_output): Output ab_alt_mon and wab_alt_mon members.
17089 (time_read): Read them, initialize them as copies of abmon and wabmon
17090 respectively if they are missing, initialize ab_alt_mon_defined.
17091 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17092 * locale/programs/locfile-kw.h: Regenerate.
17093 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17094 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17096 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17097 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17098 (__strftime_internal): Handle %Ob and %Oh formats.
17099 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17100 (__strptime_internal): Handle %Ob and %Oh formats.
17101 * time/tst-strptime.c (day_tests): Add more tests to parse different
17102 forms of month names including the new %Ob format specifier.
17104 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17107 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17108 define them as the same as primary full month names explicitly.
17109 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17110 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17111 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17112 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17113 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17114 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17115 _NL_WALTMON_12): New enum constants.
17116 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17117 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17119 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17120 walt_mon, and alt_mon_defined members.
17121 (time_output): Output alt_mon and walt_mon members.
17122 (time_read): Read them, initialize them as copies of mon and wmon
17123 respectively if they are missing, initialize alt_mon_defined.
17124 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17125 * locale/programs/locfile-kw.h: Regenerate.
17126 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17127 * localedata/tst-langinfo.c (map): Add tests for the new constants
17128 ALTMON_1 .. ALTMON_12.
17129 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17131 * time/strftime_l.c (f_altmonth): New macro.
17132 (__strftime_internal): Handle %OB format.
17133 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17134 (__strptime_internal): Handle %OB format.
17135 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17136 of month names including the new %OB format specifier.
17138 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17141 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17142 from ABORT_TRANSACTION.
17143 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17144 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17145 ABORT_TRANSACTION_IMPL): Likewise.
17146 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17147 Linux code, but remove the code that aborts transactions.
17149 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17151 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17153 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17155 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17156 in date: "2004-14-09" should be "2004-09-14".
17157 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17158 "2003-15-09" should be "2003-09-15".
17160 2018-01-18 Arjun Shankar <arjun@redhat.com>
17166 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17168 (_int_memalign): check for integer overflow before calling
17170 * malloc/tst-malloc-too-large.c: New test.
17171 * malloc/Makefile: Add tst-malloc-too-large.
17173 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17175 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17176 in date: "2017-24-07" should be "2017-07-24".
17177 * localedata/locales/mai_IN: Likewise.
17178 * localedata/locales/mai_NP: Likewise.
17180 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17182 * po/ru.po: Update translations.
17184 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17187 * sysdeps/hppa/backtrace.c: New file.
17189 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17192 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17193 align La_x86_64_retval to VEC_SIZE.
17195 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17197 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17198 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17200 2018-01-16 Florian Weimer <fweimer@redhat.com>
17202 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17203 Move tst-thread-exit-clobber ...
17204 [$(CXX)] (tests-unsupported): ... to here.
17206 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17208 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17209 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17210 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17211 (_dl_aarch64_cap_flags): Update.
17212 (_DL_HWCAP_COUNT): Update.
17214 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17216 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17217 (_DL_HWCAP_LAST): Remove.
17218 (_DL_HWCAP_COUNT): Move to ...
17219 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17220 (_DL_HWCAP_COUNT): ... here.
17222 2018-01-16 Florian Weimer <fweimer@redhat.com>
17224 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17225 mode with GNU extensions.
17227 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17229 * elf/elf.h (NT_ARM_SVE): Define.
17231 2018-01-15 Florian Weimer <fweimer@redhat.com>
17234 * nptl/tst-minstack-throw.cc: New file.
17235 * nptl/Makefile (tests): Add tst-minstack-throw.
17236 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17237 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17239 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17241 * scripts/build-many-glibcs.py (Context.checkout): Default
17242 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17245 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17248 * elf/elf.h (DF_1_STUB): Define.
17249 (DF_1_PIE): Define.
17251 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17254 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17255 Do not add 0.5 to integer or out-of-range arguments.
17257 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17259 * po/bg.po: Update translations.
17260 * po/cs.po: Likewise.
17261 * po/de.po: Likewise.
17262 * po/ko.po: Likewise.
17263 * po/pl.po: Likewise.
17264 * po/sv.po: Likewise.
17265 * po/uk.po: Likewise.
17266 * po/vi.po: Likewise.
17268 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17270 * aarch64/start.S (_start): Use __wrap_main.
17271 (__wrap_main): New local symbol.
17273 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17277 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17278 generic_getcwd if the path returned by getcwd syscall is not absolute.
17279 * io/tst-getcwd-abspath.c: New test.
17280 * io/Makefile (tests): Add tst-getcwd-abspath.
17282 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17284 * malloc/malloc.c (malloc_consolidate): Add size check.
17286 2018-01-12 Florian Weimer <fweimer@redhat.com>
17288 * support/write_message.c (write_message): Preserve errno.
17289 * support/check.c (print_failure): Likewise.
17290 * support/support_test_verify_impl.c (support_test_verify_impl):
17292 * support/support_test_compare_failure.c
17293 (support_test_compare_failure): Likewise.
17295 2018-01-12 Florian Weimer <fweimer@redhat.com>
17298 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17299 Prevent installation of libnsl.so.
17300 (libnsl-inhibit-o): Do not build (or install) static libraries.
17302 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17305 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17306 before the day number which may produce a double space.
17307 (date_fmt): Likewise.
17309 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17312 instead of fegetenv.
17314 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17318 comment to say exceptions are discarded.
17319 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17321 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17324 2018-01-11 Florian Weimer <fweimer@redhat.com>
17326 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17329 2018-01-11 Florian Weimer <fweimer@redhat.com>
17332 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17333 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17335 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17339 negative arguments in test for NaN or infinity argument.
17341 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17343 * po/libc.pot: Regenerate.
17345 2018-01-10 Florian Weimer <fweimer@redhat.com>
17348 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17349 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17351 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17353 * hurd/hurd/fd.h: Include <fcntl.h>
17354 (__hurd_at_flags): New function.
17355 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17356 with call to __hurd_at_flags.
17357 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17358 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17360 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17361 (__access_noerrno): Use __faccessat_common instead of access_common.
17362 (__access): Likewise.
17363 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17364 with a call to __faccessat.
17365 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17366 (__faccessat_common): ... this. Move implementation of __access into it when
17367 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17368 reauthenticate_cwdir_at helper to implement AT mechanism.
17369 (__faccessat_noerrno): New function, just calls __faccessat_common.
17370 (__faccessat): New function, just calls __faccessat_common.
17371 (faccessat): Define weak alias.
17373 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17377 (CFLAGS-s_fmaxmagl.c): New variable.
17378 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17382 long int for arguments of possibly overflowing addition or
17384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17386 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17389 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17390 (CFLAGS-e_remainderl.c): New variable.
17393 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17395 (CFLAGS-s_cacoshl.c): Likewise.
17396 (CFLAGS-s_casinhl.c): Likewise.
17397 (CFLAGS-s_catanl.c): Likewise.
17398 (CFLAGS-s_catanhl.c): Likewise.
17399 (CFLAGS-s_cexpl.c): Likewise.
17400 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17401 (CFLAGS-s_csinhl.c): Likewise.
17402 (CFLAGS-s_clogl.c): Likewise.
17403 (CFLAGS-s_clog10l.c): Likewise.
17404 (CFLAGS-s_csinl.c): Likewise.
17405 (CFLAGS-s_csqrtl.c): Likewise.
17407 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17408 2017-01-09 Svante Signell <svante.signell@gmail.com>
17410 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17411 (_hurd_exec_paths): New function.
17412 * hurd/hurd.h (_hurd_exec): Deprecate function.
17413 (_hurd_exec_paths): Declare function.
17414 * hurd/Versions: Export _hurd_exec_paths.
17415 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17416 (__execve): Use __getcwd to build absolute path, and use
17417 _hurd_exec_paths instead of _hurd_exec.
17418 * sysdeps/mach/hurd/spawni.c: Likewise.
17419 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17422 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17424 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17425 test instead of failing in case of ENOENT returned by posix_openpt.
17427 2018-01-08 Florian Weimer <fweimer@redhat.com>
17429 resolv: Support binary labels in test framework.
17430 * support/resolv_test.c (struct to_be_freed): Remove.
17431 (struct compressed_name): New.
17432 (allocate_compressed_name, ascii_tolower)
17433 (compare_compressed_name): New functions.
17434 (struct resolv_response_builder): Update type of
17435 compression_offsets for use with tsearch. Rempve to_be_freed.
17436 (response_push_pointer_to_free): Remove function.
17437 (resolv_response_add_name): Rewrite using struct compressed_name
17438 and tsearch instead of hsearch_r.
17439 (response_builder_allocate): Remove initialization of
17440 compression_offsets.
17441 (response_builder_free): Update for removal of to_be_freed. Use
17442 tdestroy instead of hdestroy_r.
17443 * resolv/Makefile (tests): Add tst-resolv-binary.
17444 (tst-resolv-binary): Link with -lresolv -lpthread.
17446 2018-01-08 Florian Weimer <fweimer@redhat.com>
17448 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17449 time. Pass positive flag instead of negative flag to
17450 support_test_compare_failure.
17451 (support_test_compare_failure): Change negative parameter to
17453 * support/support_test_compare_failure.c (report)
17454 (support_test_compare_failure): Likewise.
17455 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17456 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17458 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17461 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17462 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17463 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17465 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17467 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17470 Add s_sincosf-sse2 and s_sincosf-fma.
17471 (CFLAGS-s_sincosf-fma.c): New.
17472 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17473 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17474 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17475 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17476 __sincosf is defined.
17478 2018-01-08 Florian Weimer <fweimer@redhat.com>
17480 * nptl/tst-thread-exit-clobber.cc: New file.
17481 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17483 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17484 (tests): Add tst-thread-exit-clobber.
17485 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17487 2018-01-08 Florian Weimer <fweimer@redhat.com>
17489 * support/check.h (support_static_assert): Define.
17490 (TEST_COMPARE): Use it.
17492 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17494 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17495 [!__RLIM_T_MATCHES_RLIM64_T]
17496 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17497 __getrlimit64. Add libc_hidden_weak.
17499 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17501 * elf/elf.h (R_RISCV_NONE): New define.
17502 (R_RISCV_32): Likewise.
17503 (R_RISCV_64): Likewise.
17504 (R_RISCV_RELATIVE): Likewise.
17505 (R_RISCV_COPY): Likewise.
17506 (R_RISCV_JUMP_SLOT): Likewise.
17507 (R_RISCV_TLS_DTPMOD32): Likewise.
17508 (R_RISCV_TLS_DTPMOD64): Likewise.
17509 (R_RISCV_TLS_DTPREL32): Likewise.
17510 (R_RISCV_TLS_DTPREL64): Likewise.
17511 (R_RISCV_TLS_TPREL32): Likewise.
17512 (R_RISCV_TLS_TPREL64): Likewise.
17513 * Makerules (make-link-multidir): Make directories before linking into
17515 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17517 (VDSO_HASH_LINUX_4_15): Likewise.
17518 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17519 in subdirectories of lib.
17520 * nptl/Makefile (/librt.so): Always depend on
17521 "$(shared-thread-library)".
17523 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17525 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17526 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17527 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17529 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17530 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17532 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17533 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17534 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17535 * sysdeps/gnu/glob-lstat-compat.c: New file.
17536 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17537 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17539 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17541 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17542 Reserve 16 chars to reloc_addr before calling _itoa_word.
17544 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17547 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17548 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17550 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17551 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17553 * resource/tst-getrlimit.c: Add copyright header.
17555 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17556 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17558 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17559 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17560 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17561 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17563 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17564 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17565 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17566 RLIM64_INFINITY): Fix values to match the kernel ones.
17567 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17568 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17569 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17570 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17571 getrlimit64@@GLIBC_2_27.
17572 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17574 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17575 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17576 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17577 setrlimit, getrlimit64 and setrlimit64.
17579 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17582 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17583 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17585 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17587 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17588 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17589 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17591 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17595 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17596 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17600 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17601 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17602 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17603 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17605 2018-01-04 Florian Weimer <fweimer@redhat.com>
17608 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17609 Align the stack before calling exit.
17610 * stdlib/tst-makecontext-align.c: New file.
17611 * stdlib/Makefile (tests): Add tst-makecontext-align.
17613 2018-01-04 Florian Weimer <fweimer@redhat.com>
17615 Add support for calling dlvsym from libc.so.
17616 * include/dlfcn.h (__libc_dlvsym): Declare.
17617 * elf/Makefile (tests-static-internal): Add
17618 tst-libc_dlvsym-static.
17619 (tests-internal): Add tst-libc_dlvsym.
17620 (modules-names): Add tst-libc_dlvsym-dso.
17621 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17622 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17623 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17624 object tst-libc_dlvsym-dso.so needs to be built before running
17626 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17627 * elf/Versions: Export __libc_dlvsym.
17628 * elf/dl-libc.c (struct do_dlvsym_args): New.
17629 (do_dlvsym, __libc_dlvsym): New functions.
17630 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17631 (_dl_open_hook2): New variable.
17632 (__libc_register_dl_open_hook): Set it.
17633 * elf/tst-libc_dlvsym-dso.c: New file.
17634 * elf/tst-libc_dlvsym-static.c: Likewise.
17635 * elf/tst-libc_dlvsym.c: Likewise.
17636 * elf/tst-libc_dlvsym.h: Likewise.
17638 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17640 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17641 include <sys/mount.h>.
17643 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17645 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17646 Add __NO_MATH_ERRNO__ check.
17648 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17650 * sysdeps/mips/mips32/libm-test-ulps: Update.
17651 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17653 2018-01-02 Florian Weimer <fweimer@redhat.com>
17655 * misc/tst-pselect.c: Add copyright header.
17657 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17659 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17661 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17663 (settrlimit): Rename into setrlimit.
17664 (__sttrlimit): Rename into __setrlimit.
17666 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17667 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17668 never defined in that case.
17670 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17672 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17674 * sysdeps/arm/libm-test-ulps: Update.
17676 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17677 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17679 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17681 * NEWS: Add cosf and sincosf to list of optimized functions.
17683 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17686 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17687 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17688 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17689 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17691 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17694 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17696 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17697 making a copy of it.
17699 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17701 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17702 trailing whitespace removed.
17703 * scripts/config.guess: Update to version 2018-01-01.
17704 * scripts/config.sub: Update to version 2018-01-01.
17705 * scripts/move-if-change: Update from gnulib.
17707 * NEWS: Update copyright dates.
17708 * catgets/gencat.c (print_version): Likewise.
17709 * csu/version.c (banner): Likewise.
17710 * debug/catchsegv.sh: Likewise.
17711 * debug/pcprofiledump.c (print_version): Likewise.
17712 * debug/xtrace.sh (do_version): Likewise.
17713 * elf/ldconfig.c (print_version): Likewise.
17714 * elf/ldd.bash.in: Likewise.
17715 * elf/pldd.c (print_version): Likewise.
17716 * elf/sotruss.sh: Likewise.
17717 * elf/sprof.c (print_version): Likewise.
17718 * iconv/iconv_prog.c (print_version): Likewise.
17719 * iconv/iconvconfig.c (print_version): Likewise.
17720 * locale/programs/locale.c (print_version): Likewise.
17721 * locale/programs/localedef.c (print_version): Likewise.
17722 * login/programs/pt_chown.c (print_version): Likewise.
17723 * malloc/memusage.sh (do_version): Likewise.
17724 * malloc/memusagestat.c (print_version): Likewise.
17725 * malloc/mtrace.pl: Likewise.
17726 * manual/libc.texinfo: Likewise.
17727 * nptl/version.c (banner): Likewise.
17728 * nscd/nscd.c (print_version): Likewise.
17729 * nss/getent.c (print_version): Likewise.
17730 * nss/makedb.c (print_version): Likewise.
17731 * posix/getconf.c (main): Likewise.
17732 * scripts/test-installation.pl: Likewise.
17733 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17735 * All files with FSF copyright notices: Update copyright dates
17736 using scripts/update-copyrights.
17737 * locale/programs/charmap-kw.h: Regenerated.
17738 * locale/programs/locfile-kw.h: Likewise.
17740 2017-12-31 Zack Weinberg <zackw@panix.com>
17742 * libio/bits/libio-ldbl.h: Correct check for improper
17743 inclusion. Add own multiple include guard.
17745 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17746 Dmitry V. Levin <ldv@altlinux.org>
17750 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17751 string token expansion. Check for NULL pointer or empty string possibly
17752 returned by expand_dynamic_string_token.
17753 (decompose_rpath): Check for empty path after dynamic string
17756 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17759 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17761 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17762 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17763 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17764 and PTRACE_SYSCALL.
17765 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17770 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17772 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17773 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17774 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17775 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17777 bits/ptrace-shared.h.
17778 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17779 <bits/ptrace-shared.h>.
17780 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17781 __ptrace_peeksiginfo_flags, ptrace): Remove.
17782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17786 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17788 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17791 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17792 end of the loop. Improve comments.
17794 2017-12-29 Zack Weinberg <zackw@panix.com>
17797 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17798 might be set on success.
17800 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17803 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17804 is unchanged on success.
17806 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17808 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17810 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17811 expand_dynamic_string_token): Likewise.
17812 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17815 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17818 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17819 is set and name contains ':', and all code depending on these checks.
17821 2017-12-24 Zack Weinberg <zackw@panix.com>
17823 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17824 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17826 * libio/libio.h: Rename the original version of this file to
17827 libio/bits/libio.h. Error out if not included by stdio.h or the
17829 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17830 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17831 if not included by bits/libio.h or the stub _G_config.h.
17832 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17833 sysdeps/unix/sysv/linux/bits. Error out if not included by
17834 bits/libio.h or the stub _G_config.h.
17835 * libio/stdio.h: Include bits/libio.h, not libio.h.
17836 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17837 well as libio.h and _G_config.h.
17839 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17840 * libio/strfile.h, stdio-common/vfscanf.c
17841 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17842 Include stdio.h, not _G_config.h nor libio.h.
17843 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17844 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17846 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17848 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17851 * stdlib/getrandom.c (getrandom): Fix comment.
17852 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17854 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17857 * manual/arith.texi (strtoul): Fix a typo.
17860 * manual/arith.texi (finite): Fix the description of the return
17863 2017-12-22 Eric Blake <ebb9@byu.net>
17865 Avoid gcc warnings on cygwin
17866 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17867 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17868 Avoid unused variable.
17870 2017-12-22 Florian Weimer <fweimer@redhat.com>
17872 * io/Makefile (routines): Add copy_file_range.
17873 (tests): Add tst-copy_file_range.
17874 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17875 * io/Versions (GLIBC_2.27): Export copy_file_range.
17876 * io/copy_file_range-compat.c: New file.
17877 * io/copy_file_range.c: Likewise.
17878 * io/tst-copy_file_range-compat.c: Likewise.
17879 * io/tst-copy_file_range.c: Likewise.
17880 * manual/llio.texi (Copying File Data): New section.
17881 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17882 * support/Makefile (libsupport-routines): Add support-xfstat,
17883 xftruncate, xlseek.
17884 * support/support-xfstat.c: New file.
17885 * support/xftruncate.c: Likewise.
17886 * support/xlseek.c: Likewise.
17887 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17888 * sysdeps/unix/sysv/linux/**.abilist: Update.
17889 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17891 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17893 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17894 disable-multi-arch variant to aarch64-linux-gnu.
17896 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17898 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17899 trailing whitespace removed.
17900 * scripts/config.guess: Update to version 2017-12-17.
17901 * scripts/config.sub: Update to version 2017-11-23.
17902 * scripts/install-sh: Update to version 2017-09-23.17.
17903 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17905 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17907 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17908 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17909 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17910 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17911 * sysdeps/tile/crtn.S: Likewise.
17912 * sysdeps/tile/dl-start.S (_start): Likewise.
17913 * sysdeps/tile/dl-trampoline.S: Likewise.
17914 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17915 * sysdeps/tile/start.S (_start): Likewise.
17916 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17917 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17918 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17919 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17920 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17921 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17922 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17924 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17926 * sysdeps/tile/preconfigure: Remove tilegx folder.
17927 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17928 * sysdeps/tile/Implies: ... here.
17929 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17930 * sysdeps/tile/Makefile: ... here.
17931 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17932 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17933 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17934 * sysdeps/tile/bits/wordsize.h: ... here.
17935 * sysdeps/tile/tilegx/*: Move to ...
17936 * sysdeps/tile/*: ... here.
17937 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17938 * sysdeps/tile/tilegx32/Implies: ... here.
17939 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17940 * sysdeps/tile/tilegx64/Implies: ... here.
17941 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17943 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17944 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17945 * sysdeps/unix/sysv/linux/tile/*: ... here.
17946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17947 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17949 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17951 * README: Remove tilepro-*-linux-gnu from supported architecture.
17952 * scripts/build-many-glibcs.py: Likewise.
17953 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17954 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17955 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17956 elf_machine_matches_host, elf_machine_dynamic,
17957 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17958 howto, elf_machine_rela): Likewise.
17959 * sysdeps/tile/dl-start.S (_start): Likewise.
17960 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17961 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17962 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17963 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17964 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17965 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17967 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17968 * sysdeps/tile/preconfigure: Likewise.
17969 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17970 POINTER_CHK_GUARD): Likewise.
17971 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17972 * sysdeps/tile/start.S (_start): Likewise.
17973 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17975 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17976 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17978 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17979 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17980 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17982 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17983 * sysdeps/tile/tilepro/Implies: Remove file.
17984 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17985 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17986 * sysdeps/tile/tilepro/memchr.c: Likewise.
17987 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17988 * sysdeps/tile/tilepro/memset.c: Likewise.
17989 * sysdeps/tile/tilepro/memusage.h: Likewise.
17990 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17991 * sysdeps/tile/tilepro/strchr.c: Likewise.
17992 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17993 * sysdeps/tile/tilepro/strlen.c: Likewise.
17994 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17995 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17996 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17997 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17998 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18000 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18002 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18014 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18015 tilepro mention in comment.
18017 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18018 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18019 * nptl/pthread_join_common.c: New file: common function used on
18020 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18021 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18022 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18023 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18024 (cleanup): Move definition to pthread_join_common.c.
18025 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18026 Remove superflous checks.
18027 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18030 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18032 * sysdeps/aarch64/libm-test-ulps: Update.
18034 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18036 * sysdeps/aarch64/memset.S (MEMSET): Define.
18038 2017-12-20 Florian Weimer <fweimer@redhat.com>
18041 nptl: Provide full implementation of pthread_self in libc.so.
18042 * nptl/Makefile (routines): Add pthread_self.
18043 (libpthread-routines): Replace pthread_self with
18044 compat-pthread_self.
18045 * nptl/forward.c (pthread_self): Remove.
18046 * nptl/nptl-init.c (pthread_functions): Do not initialize
18048 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18049 * nptl/compat-pthread_self.c: New file.
18050 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18051 Remove ptr_pthread_self.
18053 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18055 * posix/regcomp.c: Fix spelling in comments.
18056 * posix/regex.h: Likewise.
18057 * posix/regex_internal.c: Likewise.
18058 * posix/regexec.c: Likewise.
18060 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18063 * math/Makefile [C++] (tests): Add test for iseqsig.
18064 * math/math.h [C++] (iseqsig): New implementation, which does
18065 not rely on __MATH_TG/__builtin_types_compatible_p.
18066 * math/test-math-iseqsig.cc: New file.
18067 * sysdeps/powerpc/powerpc64le/Makefile
18068 (CFLAGS-test-math-iseqsig.cc): New variable.
18070 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18072 * elf/dl-load.c (is_trusted_path): Remove.
18073 (fillin_rpath): Remove check_trusted argument and its use,
18074 all callers changed.
18076 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18079 * Makeconfig (link-pie-before-libc): Replace -pie with
18080 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18081 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18082 (tst-dlopen-aout-no-pie): New.
18083 (LDFLAGS-tst-prelink): Removed.
18084 (tst-prelink-no-pie): New.
18085 (LDFLAGS-tst-main1): Removed.
18086 (tst-main1-no-pie): New.
18087 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18088 (tst-gmon-no-pie): New.
18090 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18092 * manual/install.texi: Document that --enable-static-pie
18094 * INSTALL: Regenerated.
18096 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18099 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18102 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18106 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18110 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18113 <errno.h>. Include "eexp.tbl".
18114 (half): New constant.
18116 (__ieee754_exp): Rewrite.
18117 (__slowexp): Remove prototype.
18118 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18119 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18120 * sysdeps/i386/fpu/slowexp.c: Likewise.
18121 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18122 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18123 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18124 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18126 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18127 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18129 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18130 (CPPFLAGS-slowexp.c): Remove variable.
18131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18132 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18133 (CFLAGS-slowexp-fma.c): Remove variable.
18134 (CFLAGS-slowexp-fma4.c): Likewise.
18135 (CFLAGS-slowexp-avx.c): Likewise.
18136 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18140 * math/Makefile (type-double-routines): Remove slowexp.
18141 * manual/probes.texi (slowexp_p6): Remove.
18142 (slowexp_p32): Likewise.
18144 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18146 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18149 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18151 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18155 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18158 <errno.h>. Include "eexp.tbl".
18159 (half): New constant.
18161 (__ieee754_exp): Rewrite.
18162 (__slowexp): Remove prototype.
18163 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18164 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18165 * sysdeps/i386/fpu/slowexp.c: Likewise.
18166 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18167 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18170 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18171 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18172 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18174 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18175 (CPPFLAGS-slowexp.c): Remove variable.
18176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18177 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18178 (CFLAGS-slowexp-fma.c): Remove variable.
18179 (CFLAGS-slowexp-fma4.c): Likewise.
18180 (CFLAGS-slowexp-avx.c): Likewise.
18181 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18185 * math/Makefile (type-double-routines): Remove slowexp.
18186 * manual/probes.texi (slowexp_p6): Remove.
18187 (slowexp_p32): Likewise.
18189 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18190 James Clarke <jrtc27@jrtc27.com>
18193 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18196 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18199 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18202 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18205 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18206 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18207 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18208 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18211 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18214 * bits/types/__cancel_jmp_buf_tag.h: New file.
18215 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18216 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18217 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18218 * nptl/Makefile (headers): Add
18219 bits/types/__cancel_jmp_buf_tag.h.
18220 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18221 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18222 * sysdeps/nptl/pthread.h: Include
18223 <bits/types/__cancel_jmp_buf_tag.h>.
18224 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18226 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18228 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18230 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18231 --enable-static-pie variants to x86_64, x32 and i686.
18233 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18236 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18237 argument for attrubutes. All callers changed.
18238 (__inline_mathop1): Likewise. All callers changed.
18239 (__inline_mathop): Likewise. All callers changed.
18240 [__USE_MISC] (scalbn): Use __inline_forward instead of
18241 __inline_forward_c.
18242 [__USE_ISOC99] (scalbln): Likewise.
18243 [__USE_ISOC99] (nearbyint): Likewise.
18244 [__USE_ISOC99] (lrint): Likewise.
18245 [__USE_MISC] (scalbnf): Likewise.
18246 [__USE_ISOC99] (scalblnf): Likewise.
18247 [__USE_ISOC99] (nearbyintf): Likewise.
18248 [__USE_ISOC99] (lrintf): Likewise.
18249 [__USE_MISC] (scalbnl): Likewise.
18250 [__USE_ISOC99] (scalblnl): Likewise.
18251 [__USE_ISOC99] (nearbyintl): Likewise.
18252 [__USE_ISOC99] (lrintl): Likewise.
18253 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18254 __inline_mathop and __m81_defun changed.
18256 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18257 CPU or FPU for ARM hard-float configurations.
18259 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18261 * nptl/tst-attr3.c: Include <libc-diag.h>.
18262 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18264 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18266 * string/tester.c (test_strncat): Also disable -Warray-bounds
18267 warnings for two tests.
18269 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18272 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18273 $(cc-pie-default) == yes.
18274 * config.make.in (cc-pie-default): New.
18275 * configure.ac (libc_cv_pie_default): Renamed to ...
18276 (libc_cv_cc_pie_default): This.
18277 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18278 * configure: Regenerated.
18280 2017-12-18 Florian Weimer <fweimer@redhat.com>
18283 ld.so: Harden dl-libc/libdl hooks.
18284 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18285 (rtld_active): New function.
18286 * dlfcn/dladdr.c (__dladdr): Call it.
18287 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18288 * dlfcn/dlclose.c (__dlcose): Likewise.
18289 * dlfcn/dlerror.c (__dlerror): Likewise.
18290 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18291 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18292 * dlfcn/dlopen.c (__dlopen): Likewise.
18293 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18294 * dlfcn/dlsym.c (__dlsym): Likewise.
18295 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18296 * libio/vtables.c (_IO_vtable_check): Likewise.
18297 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18298 (__libc_dlclose): Likewise.
18299 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18302 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18305 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18306 buffers for readlink input and output.
18308 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18311 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18312 inhibit_stack_protector.
18315 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18316 inhibit_stack_protector.
18318 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18321 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18322 code and invocation.
18324 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18326 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18328 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18331 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18333 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18335 * sysdeps/s390/fpu/libm-test-ulps: Update.
18337 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18341 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18343 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18344 constants to s_sincosf.h file.
18345 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18346 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18348 * sysdeps/ieee754/flt-32/s_sincosf.h:
18351 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18354 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18357 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18360 * INSTALL: Regenerated.
18361 * Makeconfig (real-static-start-installed-name): New.
18362 (pic-default): Updated for --enable-static-pie.
18363 (pie-default): New for --enable-static-pie.
18364 (default-pie-ldflag): Likewise.
18365 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18366 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18367 Replace $(static-start-installed-name) with
18368 $(real-static-start-installed-name).
18369 (+prectorT): Updated for --enable-static-pie.
18370 (+postctorT): Likewise.
18371 (CFLAGS-.o): Add $(pie-default).
18372 (CFLAGS-.op): Likewise.
18373 * NEWS: Mention --enable-static-pie.
18374 * config.h.in (ENABLE_STATIC_PIE): New.
18375 * configure.ac (--enable-static-pie): New configure option.
18376 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18377 (have-static-pie): Likewise.
18378 Enable static PIE if linker supports --no-dynamic-linker.
18379 (ENABLE_STATIC_PIE): New AC_DEFINE.
18380 (enable-static-pie): New LIBC_CONFIG_VAR.
18381 * configure: Regenerated.
18382 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18383 gr$(start-installed-name) for --enable-static-pie.
18384 (extra-objs): Likewise.
18385 (install-lib): Likewise.
18386 (extra-objs): Add static-reloc.o and static-reloc.os
18387 ($(objpfx)$(start-installed-name)): Also depend on
18388 $(objpfx)static-reloc.o.
18389 ($(objpfx)r$(start-installed-name)): New.
18390 ($(objpfx)g$(start-installed-name)): Also depend on
18391 $(objpfx)static-reloc.os.
18392 ($(objpfx)gr$(start-installed-name)): New.
18393 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18395 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18397 * csu/static-reloc.c: New file.
18398 * elf/Makefile (routines): Add dl-reloc-static-pie.
18399 (elide-routines.os): Likewise.
18400 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18401 (tst-tls1-static-non-pie-no-pie): New.
18402 * elf/dl-reloc-static-pie.c: New file.
18403 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18404 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18405 STATIC_PIE_BOOTSTRAP.
18406 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18407 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18408 (tests-static): Likewise.
18409 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18410 (tst-gmon-static-no-pie): New.
18411 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18412 (CRT-tst-gmon-static-pie): Likewise.
18413 (tst-gmon-static-pie-ENV): Likewise.
18414 (tests-special): Likewise.
18415 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18416 (clean-tst-gmon-static-pie-data): Likewise.
18417 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18418 * gmon/tst-gmon-static-pie.c: New file.
18419 * manual/install.texi: Document --enable-static-pie.
18420 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18421 (_dl_get_dl_main_map): Likewise.
18422 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18423 * sysdeps/x86_64/configure.ac: Likewise.
18424 * sysdeps/i386/configure: Regenerated.
18425 * sysdeps/x86_64/configure: Likewise.
18426 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18427 (ASFLAGS-.op): Likewise.
18429 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18431 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18432 * posix/tst-mmap-offset.c (fname): Use /tmp.
18433 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18435 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18437 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18439 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18441 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18444 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18446 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18447 --with-float=hard for arm-linux-gnueabihf configurations.
18450 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18451 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18452 ($(mo-installed)): Use $(objpfx)%.mo.
18453 (realclean): Remove rule.
18455 * po/Makefile (linguas): Remove rule and dependencies.
18456 (linguas.mo): Likewise.
18457 (.PHONY): Do not depend on linguas and linguas.mo.
18458 (podir): Remove variable.
18459 (pofiles): Likewise.
18460 [$(pofiles)] (%.po): Remove rule.
18462 * sysdeps/sparc/sparc32/Makefile
18463 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18464 start-of-line whitespace in argument of echo.
18465 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18466 with whitespace. Generate __wrap_.udiv alias.
18467 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18468 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18469 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18470 * sysdeps/sparc/sparc32/urem.S: Likewise.
18472 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18474 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18475 for aligned inputs.
18477 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18479 * benchtests/bench-strcmp.c: Print output in JSON format.
18481 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18483 2017-12-14 Florian Weimer <fweimer@redhat.com>
18487 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18488 the expanded path string.
18490 2017-12-14 Florian Weimer <fweimer@redhat.com>
18494 * elf/dl-load.c (system_dirs): Update comment.
18495 (nsystem_dirs_len): Use array_length.
18496 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18498 2017-12-14 Florian Weimer <fweimer@redhat.com>
18500 Simplify compiling most of support/ outside of glibc.
18501 * support/check_addrinfo.c: Include <string.h>.
18502 * support/check_dns_packet.c: Likewise.
18503 * support/check_hostent.c: Likewise.
18504 * support/support_can_chroot.c: Include <support/xunistd.h>.
18505 * support/support_format_addrinfo.c: Include <stdlib.h>
18506 * support/support_format_dns_packet.c: Include <stdbool.h>.
18507 * support/support_format_hostent.c: Include <stdlib.h>.
18508 * support/support_format_netent.c: Likewise.
18509 * support/support_write_string.c: Include <support/xunistd.h>.
18510 * support/xdlfcn.c: Include <stddef.h>.
18512 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18516 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18517 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18520 (sysdeps_routines): Add memset-niagara7.
18521 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18525 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18526 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18527 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18528 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18529 Add niagara7 option.
18530 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18534 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18535 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18537 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18541 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18542 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18543 and __memmove_niagara7.
18544 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18545 Add niagara7 option.
18546 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18547 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18548 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18549 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18550 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18552 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18554 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18555 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18556 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18557 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18559 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18560 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18561 _dl_sparc_cap_flags array.
18562 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18564 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18566 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18567 time whenever possible.
18569 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18571 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18572 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18574 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18576 * soft-fp/fmadf4.c: Move to ....
18577 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18578 * soft-fp/fmasf4.c: Move to ....
18579 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18580 * soft-fp/fmatf4.c: Move to ....
18581 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18582 * sysdeps/ieee754/soft-fp/Makefile: New file.
18583 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18584 * sysdeps/arm/preconfigure: Regenerated.
18585 * sysdeps/arm/nofpu/Implies: New file.
18586 * sysdeps/arm/s_fma.c: Remove file.
18587 * sysdeps/arm/s_fmaf.c: Likewise.
18588 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18589 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18590 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18591 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18592 * sysdeps/microblaze/s_fma.c: Remove file.
18593 * sysdeps/microblaze/s_fmaf.c: Likewise.
18594 * sysdeps/mips/mips32/nofpu/Implies: New file.
18595 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18596 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18597 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18598 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18599 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18600 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18601 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18603 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18604 * sysdeps/nios2/s_fma.c: Remove file.
18605 * sysdeps/nios2/s_fmaf.c: Likewise.
18606 * sysdeps/sh/nofpu/Implies: New file.
18607 * sysdeps/sh/s_fma.c: Remove file.
18608 * sysdeps/sh/s_fmaf.c: Likewise.
18609 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18610 * sysdeps/tile/s_fma.c: Remove file.
18611 * sysdeps/tile/s_fmaf.c: Likewise.
18613 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18615 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18616 Add s_cosf-sse2 and s_cosf-fma.
18617 (CFLAGS-s_cosf-fma.c): New.
18618 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18619 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18620 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18622 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18624 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18626 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18628 * libio/Makefile (tests): Add tst-bz22415.
18629 (tst-bz22415-ENV): New rule.
18630 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18631 (tests-special): Add tst-bz22415-mem.out.
18632 ($(objpfx)tst-bz22415-mem.out): New rule.
18633 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18634 in case of a successful seek operation.
18635 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18636 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18637 buffer is required.
18638 * libio/tst-bz22415.c: New test.
18640 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18642 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18644 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18645 __IPC_64 to 0 to avoid IPC_64 being set.
18647 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18650 * math/bits/mathcalls.h (nextafter): Remove const.
18651 (nexttoward): Likewise.
18653 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18655 * configure.ac (--with-fp): Remove configure option.
18656 (with_fp_cond): New variable.
18657 (libc_cv_with_fp): New configure test. Use this variable instead
18659 * configure: Regenerated.
18660 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18661 * manual/install.texi (Configuring and compiling): Remove
18663 * INSTALL: Regenerated.
18664 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18665 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18666 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18667 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18668 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18669 use --without-fp to configure glibc.
18671 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18673 * manual/locale.texi (nl_langinfo): Fix a typo.
18675 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18678 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18680 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18682 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18683 (CFLAGS-argp-parse.c): Likewise.
18684 (CFLAGS-argp-fmtstream.c): Likewise.
18685 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18686 (CPPFLAGS-sha512-crypt.c): Likewise.
18687 (CPPFLAGS-md5-crypt.c): Likewise.
18688 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18689 (CFLAGS-stack_chk_fail_local.c): Likewise.
18690 (CFLAGS-backtrace.c): Likewise.
18691 (CFLAGS-sprintf_chk.c): Likewise.
18692 (CFLAGS-snprintf_chk.c): Likewise.
18693 (CFLAGS-vsprintf_chk.c): Likewise.
18694 (CFLAGS-vsnprintf_chk.c): Likewise.
18695 (CFLAGS-asprintf_chk.c): Likewise.
18696 (CFLAGS-vasprintf_chk.c): Likewise.
18697 (CFLAGS-obprintf_chk.c): Likewise.
18698 (CFLAGS-dprintf_chk.c): Likewise.
18699 (CFLAGS-vdprintf_chk.c): Likewise.
18700 (CFLAGS-printf_chk.c): Likewise.
18701 (CFLAGS-fprintf_chk.c): Likewise.
18702 (CFLAGS-vprintf_chk.c): Likewise.
18703 (CFLAGS-vfprintf_chk.c): Likewise.
18704 (CFLAGS-gets_chk.c): Likewise.
18705 (CFLAGS-fgets_chk.c): Likewise.
18706 (CFLAGS-fgets_u_chk.c): Likewise.
18707 (CFLAGS-fread_chk.c): Likewise.
18708 (CFLAGS-fread_u_chk.c): Likewise.
18709 (CFLAGS-swprintf_chk.c): Likewise.
18710 (CFLAGS-vswprintf_chk.c): Likewise.
18711 (CFLAGS-wprintf_chk.c): Likewise.
18712 (CFLAGS-fwprintf_chk.c): Likewise.
18713 (CFLAGS-vwprintf_chk.c): Likewise.
18714 (CFLAGS-vfwprintf_chk.c): Likewise.
18715 (CFLAGS-fgetws_chk.c): Likewise.
18716 (CFLAGS-fgetws_u_chk.c): Likewise.
18717 (CFLAGS-read_chk.c): Likewise.
18718 (CFLAGS-pread_chk.c): Likewise.
18719 (CFLAGS-pread64_chk.c): Likewise.
18720 (CFLAGS-recv_chk.c): Likewise.
18721 (CFLAGS-recvfrom_chk.c): Likewise.
18722 (CFLAGS-tst-longjmp_chk.c): Likewise.
18723 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18724 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18725 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18726 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18727 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18728 (CFLAGS-tst-chk1.c): Likewise.
18729 (CFLAGS-tst-chk2.c): Likewise.
18730 (CFLAGS-tst-chk3.c): Likewise.
18731 (CFLAGS-tst-chk4.cc): Likewise.
18732 (CFLAGS-tst-chk5.cc): Likewise.
18733 (CFLAGS-tst-chk6.cc): Likewise.
18734 (CFLAGS-tst-lfschk1.c): Likewise.
18735 (CFLAGS-tst-lfschk2.c): Likewise.
18736 (CFLAGS-tst-lfschk3.c): Likewise.
18737 (CFLAGS-tst-lfschk4.cc): Likewise.
18738 (CFLAGS-tst-lfschk5.cc): Likewise.
18739 (CFLAGS-tst-lfschk6.cc): Likewise.
18740 (CFLAGS-tst-ssp-1.c): Likewise.
18741 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18742 (CFLAGS-scandir64.c): Likewise.
18743 (CFLAGS-scandir-tail.c): Likewise.
18744 (CFLAGS-scandir64-tail.c): Likewise.
18745 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18746 (CFLAGS-dl-tunables.c): Likewise.
18747 (CFLAGS-dl-runtime.c): Likewise.
18748 (CFLAGS-dl-lookup.c): Likewise.
18749 (CFLAGS-dl-iterate-phdr.c): Likewise.
18750 (CFLAGS-vismain.c): Likewise.
18751 (CFLAGS-tst-linkall-static.c): Likewise.
18752 (CFLAGS-tst-linkall-static.c): Likewise.
18753 (CPPFLAGS-dl-load.c): Likewise.
18754 (CFLAGS-ldconfig.c): Likewise.
18755 (CFLAGS-dl-cache.c): Likewise.
18756 (CFLAGS-cache.c): Likewise.
18757 (CFLAGS-rtld.c): Likewise.
18758 (CFLAGS-multiload.c): Likewise.
18759 (CFLAGS-filtmod1.c): Likewise.
18760 (CFLAGS-tst-align.c): Likewise.
18761 (CFLAGS-tst-align2.c): Likewise.
18762 (CFLAGS-tst-alignmod.c): Likewise.
18763 (CFLAGS-tst-alignmod2.c): Likewise.
18764 (CPPFLAGS-tst-execstack.c): Likewise.
18765 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18766 (CFLAGS-tst-latepthreadmod.c): Likewise.
18767 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18768 (CFLAGS-getgrnam_r.c): Likewise.
18769 (CFLAGS-getgrent_r.c): Likewise.
18770 (CFLAGS-getgrent.c): Likewise.
18771 (CFLAGS-fgetgrent.c): Likewise.
18772 (CFLAGS-fgetgrent_r.c): Likewise.
18773 (CFLAGS-putgrent.c): Likewise.
18774 (CFLAGS-initgroups.c): Likewise.
18775 (CFLAGS-getgrgid.c): Likewise.
18776 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18777 (CFLAGS-getsgent.c): Likewise.
18778 (CFLAGS-fgetsgent.c): Likewise.
18779 (CFLAGS-fgetsgent_r.c): Likewise.
18780 (CFLAGS-putsgent.c): Likewise.
18781 (CFLAGS-getsgnam.c): Likewise.
18782 (CFLAGS-getsgnam_r.c): Likewise.
18783 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18784 (CFLAGS-iconv_charmap.c): Likewise.
18785 (CFLAGS-dummy-repertoire.c): Likewise.
18786 (CFLAGS-charmap.c): Likewise.
18787 (CFLAGS-linereader.c): Likewise.
18788 (CFLAGS-simple-hash.c): Likewise.
18789 (CFLAGS-gconv_conf.c): Likewise.
18790 (CFLAGS-iconvconfig.c): Likewise.
18791 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18792 (CFLAGS-gethstbyad.c): Likewise.
18793 (CFLAGS-gethstbynm_r.c): Likewise.
18794 (CFLAGS-gethstbynm.c): Likewise.
18795 (CFLAGS-gethstbynm2_r.c): Likewise.
18796 (CFLAGS-gethstbynm2.c): Likewise.
18797 (CFLAGS-gethstent_r.c): Likewise.
18798 (CFLAGS-gethstent.c): Likewise.
18799 (CFLAGS-rcmd.c): Likewise.
18800 (CFLAGS-getnetbynm_r.c): Likewise.
18801 (CFLAGS-getnetbynm.c): Likewise.
18802 (CFLAGS-getnetbyad_r.c): Likewise.
18803 (CFLAGS-getnetbyad.c): Likewise.
18804 (CFLAGS-getnetent_r.c): Likewise.
18805 (CFLAGS-getnetent.c): Likewise.
18806 (CFLAGS-getaliasent_r.c): Likewise.
18807 (CFLAGS-getaliasent.c): Likewise.
18808 (CFLAGS-getrpcent_r.c): Likewise.
18809 (CFLAGS-getrpcent.c): Likewise.
18810 (CFLAGS-getservent_r.c): Likewise.
18811 (CFLAGS-getservent.c): Likewise.
18812 (CFLAGS-getprtent_r.c): Likewise.
18813 (CFLAGS-getprtent.c): Likewise.
18814 (CFLAGS-either_ntoh.c): Likewise.
18815 (CFLAGS-either_hton.c): Likewise.
18816 (CFLAGS-getnetgrent.c): Likewise.
18817 (CFLAGS-getnetgrent_r.c): Likewise.
18818 (CFLAGS-tst-checks-posix.c): Likewise.
18819 (CFLAGS-tst-sockaddr.c): Likewise.
18820 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18821 (CFLAGS-tst-translit.c): Likewise.
18822 (CFLAGS-tst-gettext2.c): Likewise.
18823 (CFLAGS-tst-codeset.c): Likewise.
18824 (CFLAGS-tst-gettext3.c): Likewise.
18825 (CFLAGS-tst-gettext4.c): Likewise.
18826 (CFLAGS-tst-gettext5.c): Likewise.
18827 (CFLAGS-tst-gettext6.c): Likewise.
18828 * io/Makefile (CFLAGS-open.c): Likewise.
18829 (CFLAGS-open64.c): Likewise.
18830 (CFLAGS-creat.c): Likewise.
18831 (CFLAGS-creat64.c): Likewise.
18832 (CFLAGS-fcntl.c): Likewise.
18833 (CFLAGS-poll.c): Likewise.
18834 (CFLAGS-ppoll.c): Likewise.
18835 (CFLAGS-lockf.c): Likewise.
18836 (CFLAGS-statfs.c): Likewise.
18837 (CFLAGS-fstatfs.c): Likewise.
18838 (CFLAGS-statvfs.c): Likewise.
18839 (CFLAGS-fstatvfs.c): Likewise.
18840 (CFLAGS-fts.c): Likewise.
18841 (CFLAGS-fts64.c): Likewise.
18842 (CFLAGS-ftw.c): Likewise.
18843 (CFLAGS-ftw64.c): Likewise.
18844 (CFLAGS-lockf.c): Likewise.
18845 (CFLAGS-posix_fallocate.c): Likewise.
18846 (CFLAGS-posix_fallocate64.c): Likewise.
18847 (CFLAGS-fallocate.c): Likewise.
18848 (CFLAGS-fallocate64.c): Likewise.
18849 (CFLAGS-read.c): Likewise.
18850 (CFLAGS-write.c): Likewise.
18851 (CFLAGS-test-stat.c): Likewise.
18852 (CFLAGS-test-lfs.c): Likewise.
18853 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18854 (CFLAGS-fputc.c): Likewise.
18855 (CFLAGS-fputwc.c): Likewise.
18856 (CFLAGS-freopen64.c): Likewise.
18857 (CFLAGS-freopen.c): Likewise.
18858 (CFLAGS-fseek.c): Likewise.
18859 (CFLAGS-fseeko64.c): Likewise.
18860 (CFLAGS-fseeko.c): Likewise.
18861 (CFLAGS-ftello64.c): Likewise.
18862 (CFLAGS-ftello.c): Likewise.
18863 (CFLAGS-fwide.c): Likewise.
18864 (CFLAGS-genops.c): Likewise.
18865 (CFLAGS-getc.c): Likewise.
18866 (CFLAGS-getchar.c): Likewise.
18867 (CFLAGS-getwc.c): Likewise.
18868 (CFLAGS-getwchar.c): Likewise.
18869 (CFLAGS-iofclose.c): Likewise.
18870 (CFLAGS-iofflush.c): Likewise.
18871 (CFLAGS-iofgetpos64.c): Likewise.
18872 (CFLAGS-iofgetpos.c): Likewise.
18873 (CFLAGS-iofgets.c): Likewise.
18874 (CFLAGS-iofgetws.c): Likewise.
18875 (CFLAGS-iofputs.c): Likewise.
18876 (CFLAGS-iofputws.c): Likewise.
18877 (CFLAGS-iofread.c): Likewise.
18878 (CFLAGS-iofsetpos64.c): Likewise.
18879 (CFLAGS-iofsetpos.c): Likewise.
18880 (CFLAGS-ioftell.c): Likewise.
18881 (CFLAGS-iofwrite.c): Likewise.
18882 (CFLAGS-iogetdelim.c): Likewise.
18883 (CFLAGS-iogetline.c): Likewise.
18884 (CFLAGS-iogets.c): Likewise.
18885 (CFLAGS-iogetwline.c): Likewise.
18886 (CFLAGS-ioputs.c): Likewise.
18887 (CFLAGS-ioseekoff.c): Likewise.
18888 (CFLAGS-ioseekpos.c): Likewise.
18889 (CFLAGS-iosetbuffer.c): Likewise.
18890 (CFLAGS-iosetvbuf.c): Likewise.
18891 (CFLAGS-ioungetc.c): Likewise.
18892 (CFLAGS-ioungetwc.c): Likewise.
18893 (CFLAGS-oldfileops.c): Likewise.
18894 (CFLAGS-oldiofclose.c): Likewise.
18895 (CFLAGS-oldiofgetpos64.c): Likewise.
18896 (CFLAGS-oldiofgetpos.c): Likewise.
18897 (CFLAGS-oldiofsetpos64.c): Likewise.
18898 (CFLAGS-oldiofsetpos.c): Likewise.
18899 (CFLAGS-peekc.c): Likewise.
18900 (CFLAGS-putc.c): Likewise.
18901 (CFLAGS-putchar.c): Likewise.
18902 (CFLAGS-putwc.c): Likewise.
18903 (CFLAGS-putwchar.c): Likewise.
18904 (CFLAGS-rewind.c): Likewise.
18905 (CFLAGS-wfileops.c): Likewise.
18906 (CFLAGS-wgenops.c): Likewise.
18907 (CFLAGS-oldiofopen.c): Likewise.
18908 (CFLAGS-iofopen.c): Likewise.
18909 (CFLAGS-iofopen64.c): Likewise.
18910 (CFLAGS-oldtmpfile.c): Likewise.
18911 (CFLAGS-tst_putwc.c): Likewise.
18912 * locale/Makefile (CFLAGS-md5.c): Likewise.
18913 (CFLAGS-charmap.c): Likewise.
18914 (CFLAGS-locfile.c): Likewise.
18915 (CFLAGS-charmap-dir.c): Likewise.
18916 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18917 (CFLAGS-getpt.c): Likewise.
18918 (CFLAGS-pt_chown.c): Likewise.
18919 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18920 (CFLAGS-obstack.c): Likewise.
18921 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18922 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18923 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18924 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18925 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18926 (CFLAGS-test-tgmath.c): Likewise.
18927 (CFLAGS-test-tgmath2.c): Likewise.
18928 (CFLAGS-test-tgmath-ret.c): Likewise.
18929 (CFLAGS-test-powl.c): Likewise.
18930 (CFLAGS-test-snan.c): Likewise.
18931 (CFLAGS-test-signgam-finite.c): Likewise.
18932 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18933 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18934 (CFLAGS-test-signgam-uchar.c): Likewise.
18935 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18936 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18937 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18938 (CFLAGS-test-signgam-uint.c): Likewise.
18939 (CFLAGS-test-signgam-uint-init.c): Likewise.
18940 (CFLAGS-test-signgam-uint-static.c): Likewise.
18941 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18942 (CFLAGS-test-signgam-ullong.c): Likewise.
18943 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18944 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18945 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18946 (CFLAGS-test-math-cxx11.cc): Likewise.
18947 (CFLAGS-test-math-isinff.cc): Likewise.
18948 (CFLAGS-test-math-iszero.cc): Likewise.
18949 (CFLAGS-test-math-issignaling.cc): Likewise.
18950 (CFLAGS-test-math-iscanonical.cc): Likewise.
18951 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18952 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18953 (CFLAGS-test-flt-eval-method.c): Likewise.
18954 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18955 (CFLAGS-test-finite-macros.c): Likewise.
18956 * misc/Makefile (CFLAGS-select.c): Likewise.
18957 (CFLAGS-tsearch.c): Likewise.
18958 (CFLAGS-lsearch.c): Likewise.
18959 (CFLAGS-pselect.c): Likewise.
18960 (CFLAGS-readv.c): Likewise.
18961 (CFLAGS-writev.c): Likewise.
18962 (CFLAGS-preadv.c): Likewise.
18963 (CFLAGS-preadv64.c): Likewise.
18964 (CFLAGS-pwritev.c): Likewise.
18965 (CFLAGS-pwritev64.c): Likewise.
18966 (CFLAGS-preadv2.c): Likewise.
18967 (CFLAGS-preadv64v2.c): Likewise.
18968 (CFLAGS-pwritev2.c): Likewise.
18969 (CFLAGS-pwritev64v2.c): Likewise.
18970 (CFLAGS-usleep.c): Likewise.
18971 (CFLAGS-syslog.c): Likewise.
18972 (CFLAGS-error.c): Likewise.
18973 (CFLAGS-getpass.c): Likewise.
18974 (CFLAGS-mkstemp.c): Likewise.
18975 (CFLAGS-mkstemp64.c): Likewise.
18976 (CFLAGS-getsysstats.c): Likewise.
18977 (CFLAGS-getusershell.c): Likewise.
18978 (CFLAGS-err.c): Likewise.
18979 (CFLAGS-tst-tsearch.c): Likewise.
18980 (CFLAGS-msync.c): Likewise.
18981 (CFLAGS-fdatasync.c): Likewise.
18982 (CFLAGS-fsync.c): Likewise.
18983 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18984 (CFLAGS-unwind.c): Likewise.
18985 (CFLAGS-unwind-forcedunwind.c): Likewise.
18986 (CFLAGS-pthread_cancel.c): Likewise.
18987 (CFLAGS-pthread_setcancelstate.c): Likewise.
18988 (CFLAGS-pthread_setcanceltype.c): Likewise.
18989 (CFLAGS-cancellation.c): Likewise.
18990 (CFLAGS-libc-cancellation.c): Likewise.
18991 (CFLAGS-pthread_exit.c): Likewise.
18992 (CFLAGS-forward.c): Likewise.
18993 (CFLAGS-pthread_testcancel.c): Likewise.
18994 (CFLAGS-pthread_join.c): Likewise.
18995 (CFLAGS-pthread_timedjoin.c): Likewise.
18996 (CFLAGS-pthread_once.c): Likewise.
18997 (CFLAGS-pthread_cond_wait.c): Likewise.
18998 (CFLAGS-sem_wait.c): Likewise.
18999 (CFLAGS-sem_timedwait.c): Likewise.
19000 (CFLAGS-fcntl.c): Likewise.
19001 (CFLAGS-lockf.c): Likewise.
19002 (CFLAGS-pread.c): Likewise.
19003 (CFLAGS-pread64.c): Likewise.
19004 (CFLAGS-pwrite.c): Likewise.
19005 (CFLAGS-pwrite64.c): Likewise.
19006 (CFLAGS-wait.c): Likewise.
19007 (CFLAGS-waitpid.c): Likewise.
19008 (CFLAGS-sigwait.c): Likewise.
19009 (CFLAGS-msgrcv.c): Likewise.
19010 (CFLAGS-msgsnd.c): Likewise.
19011 (CFLAGS-tcdrain.c): Likewise.
19012 (CFLAGS-open.c): Likewise.
19013 (CFLAGS-open64.c): Likewise.
19014 (CFLAGS-pause.c): Likewise.
19015 (CFLAGS-recv.c): Likewise.
19016 (CFLAGS-send.c): Likewise.
19017 (CFLAGS-accept.c): Likewise.
19018 (CFLAGS-sendto.c): Likewise.
19019 (CFLAGS-connect.c): Likewise.
19020 (CFLAGS-recvfrom.c): Likewise.
19021 (CFLAGS-recvmsg.c): Likewise.
19022 (CFLAGS-sendmsg.c): Likewise.
19023 (CFLAGS-close.c): Likewise.
19024 (CFLAGS-read.c): Likewise.
19025 (CFLAGS-write.c): Likewise.
19026 (CFLAGS-nanosleep.c): Likewise.
19027 (CFLAGS-sigsuspend.c): Likewise.
19028 (CFLAGS-msync.c): Likewise.
19029 (CFLAGS-fdatasync.c): Likewise.
19030 (CFLAGS-fsync.c): Likewise.
19031 (CFLAGS-pt-system.c): Likewise.
19032 (CFLAGS-tst-cleanup2.c): Likewise.
19033 (CFLAGS-tst-cleanupx2.c): Likewise.
19034 (CFLAGS-flockfile.c): Likewise.
19035 (CFLAGS-ftrylockfile.c): Likewise.
19036 (CFLAGS-funlockfile.c): Likewise.
19037 (CFLAGS-tst-initializers1.c): Likewise.
19038 (CFLAGS-tst-initializers1-c89.c): Likewise.
19039 (CFLAGS-tst-initializers1-c99.c): Likewise.
19040 (CFLAGS-tst-initializers1-c11.c): Likewise.
19041 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19042 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19043 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19044 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19045 (CFLAGS-nscd_getgr_r.c): Likewise.
19046 (CFLAGS-nscd_gethst_r.c): Likewise.
19047 (CFLAGS-nscd_getai.c): Likewise.
19048 (CFLAGS-nscd_initgroups.c): Likewise.
19049 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19050 (CFLAGS-pause.c): Likewise.
19051 (CFLAGS-pread.c): Likewise.
19052 (CFLAGS-pread64.c): Likewise.
19053 (CFLAGS-pwrite.c): Likewise.
19054 (CFLAGS-pwrite64.c): Likewise.
19055 (CFLAGS-sleep.c): Likewise.
19056 (CFLAGS-wait.c): Likewise.
19057 (CFLAGS-waitid.c): Likewise.
19058 (CFLAGS-waitpid.c): Likewise.
19059 (CFLAGS-getopt.c): Likewise.
19060 (CFLAGS-wordexp.c): Likewise.
19061 (CFLAGS-sysconf.c): Likewise.
19062 (CFLAGS-pathconf.c): Likewise.
19063 (CFLAGS-fpathconf.c): Likewise.
19064 (CFLAGS-spawn.c): Likewise.
19065 (CFLAGS-spawnp.c): Likewise.
19066 (CFLAGS-spawni.c): Likewise.
19067 (CFLAGS-glob.c): Likewise.
19068 (CFLAGS-glob64.c): Likewise.
19069 (CFLAGS-getconf.c): Likewise.
19070 (CFLAGS-nanosleep.c): Likewise.
19071 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19072 (CFLAGS-getpwent.c): Likewise.
19073 (CFLAGS-getpw.c): Likewise.
19074 (CFLAGS-fgetpwent_r.c): Likewise.
19075 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19076 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19077 (CFLAGS-mq_timedreceive.c): Likewise.
19078 (CFLAGS-mq_timedsend.c): Likewise.
19079 (CFLAGS-clock_nanosleep.c): Likewise.
19080 (CFLAGS-librt-cancellation.c): Likewise.
19081 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19082 (CFLAGS-getspent.c): Likewise.
19083 (CFLAGS-fgetspent.c): Likewise.
19084 (CFLAGS-fgetspent_r.c): Likewise.
19085 (CFLAGS-putspent.c): Likewise.
19086 (CFLAGS-getspnam.c): Likewise.
19087 (CFLAGS-getspnam_r.c): Likewise.
19088 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19089 (CFLAGS-sigsuspend.c): Likewise.
19090 (CFLAGS-sigtimedwait.c): Likewise.
19091 (CFLAGS-sigwait.c): Likewise.
19092 (CFLAGS-sigwaitinfo.c): Likewise.
19093 (CFLAGS-sigreturn.c): Likewise.
19094 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19095 (CFLAGS-vfwprintf.c): Likewise.
19096 (CFLAGS-tmpfile.c): Likewise.
19097 (CFLAGS-tmpfile64.c): Likewise.
19098 (CFLAGS-tempname.c): Likewise.
19099 (CFLAGS-psignal.c): Likewise.
19100 (CFLAGS-vprintf.c): Likewise.
19101 (CFLAGS-cuserid.c): Likewise.
19102 (CFLAGS-errlist.c): Likewise.
19103 (CFLAGS-siglist.c): Likewise.
19104 (CFLAGS-scanf15.c): Likewise.
19105 (CFLAGS-scanf17.c): Likewise.
19106 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19107 (CFLAGS-msort.c): Likewise.
19108 (CFLAGS-qsort.c): Likewise.
19109 (CFLAGS-system.c): Likewise.
19110 (CFLAGS-fmtmsg.c): Likewise.
19111 (CFLAGS-strfmon.c): Likewise.
19112 (CFLAGS-strfmon_l.c): Likewise.
19113 (CFLAGS-strfromd.c): Likewise.
19114 (CFLAGS-strfromf.c): Likewise.
19115 (CFLAGS-strfroml.c): Likewise.
19116 (CFLAGS-tst-bsearch.c): Likewise.
19117 (CFLAGS-tst-qsort.c): Likewise.
19118 (CFLAGS-tst-makecontext2.c): Likewise.
19119 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19120 (CFLAGS-xnlm_prot.c): Likewise.
19121 (CFLAGS-xrstat.c): Likewise.
19122 (CFLAGS-xyppasswd.c): Likewise.
19123 (CFLAGS-xklm_prot.c): Likewise.
19124 (CFLAGS-xrex.c): Likewise.
19125 (CFLAGS-xsm_inter.c): Likewise.
19126 (CFLAGS-xmount.c): Likewise.
19127 (CFLAGS-xrusers.c): Likewise.
19128 (CFLAGS-xspray.c): Likewise.
19129 (CFLAGS-xnfs_prot.c): Likewise.
19130 (CFLAGS-xrquota.c): Likewise.
19131 (CFLAGS-xkey_prot.c): Likewise.
19132 (CFLAGS-auth_unix.c): Likewise.
19133 (CFLAGS-key_call.c): Likewise.
19134 (CFLAGS-pmap_rmt.c): Likewise.
19135 (CFLAGS-clnt_perr.c): Likewise.
19136 (CFLAGS-openchild.c): Likewise.
19137 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19138 (CFLAGS-msgsnd.c): Likewise.
19139 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19140 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19141 (CFLAGS-tzset.c): Likewise.
19142 (CFLAGS-getdate.c): Likewise.
19143 (CFLAGS-test_time.c): Likewise.
19144 (CPPFLAGS-tst-tzname.c): Likewise.
19145 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19146 (CFLAGS-zic.c): Likewise.
19147 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19148 (CFLAGS-wcswidth.c): Likewise.
19149 (CFLAGS-wcstol.c): Likewise.
19150 (CFLAGS-wcstoul.c): Likewise.
19151 (CFLAGS-wcstoll.c): Likewise.
19152 (CFLAGS-wcstoull.c): Likewise.
19153 (CFLAGS-wcstod.c): Likewise.
19154 (CFLAGS-wcstold.c): Likewise.
19155 (CFLAGS-wcstof128.c): Likewise.
19156 (CFLAGS-wcstof.c): Likewise.
19157 (CFLAGS-wcstol_l.c): Likewise.
19158 (CFLAGS-wcstoul_l.c): Likewise.
19159 (CFLAGS-wcstoll_l.c): Likewise.
19160 (CFLAGS-wcstoull_l.c): Likewise.
19161 (CFLAGS-wcstod_l.c): Likewise.
19162 (CFLAGS-wcstold_l.c): Likewise.
19163 (CFLAGS-wcstof128_l.c): Likewise.
19164 (CFLAGS-wcstof_l.c): Likewise.
19165 (CPPFLAGS-tst-wchar-h.c): Likewise.
19166 (CPPFLAGS-wcstold_l.c): Likewise.
19168 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19170 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19172 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19173 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19175 * manual/tunables.texi (Hardware Capability Tunables): Document
19176 glibc.tune.cached_memopt.
19177 * sysdeps/powerpc/cpu-features.c: New file.
19178 * sysdeps/powerpc/cpu-features.h: New file.
19179 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19180 _dl_powerpc_cpu_features.
19181 * sysdeps/powerpc/dl-tunables.list: New file.
19182 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19184 (INIT_ARCH): Initialize use_aligned_memopt.
19185 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19186 IS_IN(rtld))]: Restrict dl_platform_init availability and
19187 initialize CPU features used by tunables.
19188 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19189 Add memcpy-power8-cached.
19190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19191 __memcpy_power8_cached.
19192 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19196 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19198 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19199 (CFLAGS-noinl-tester.c): Likewise.
19200 (CFLAGS-tst-strlen.c): Likewise.
19201 (CFLAGS-stratcliff.c): Likewise.
19202 (CFLAGS-test-ffs.c): Likewise.
19203 (CFLAGS-tst-inlcall.c): Likewise.
19204 (CFLAGS-tst-xbzero-opt.c): Likewise.
19205 (CFLAGS-memcpy.c): Likewise.
19206 (CFLAGS-wordcopy.c): Likewise.
19208 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19210 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19211 Store r15 on stack and add cfi rule.
19212 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19215 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19218 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19221 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19223 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19224 Add s_sinf-sse2 and s_sinf-fma.
19225 (CFLAGS-s_sinf-fma.c): New.
19226 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19227 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19230 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19232 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19234 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19237 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19238 part of result to imaginary part of argument if it is zero and the
19239 real part of the argument is not finite.
19240 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19241 of result to real part of argument if it is zero and the imaginary
19242 part of the argument is not finite.
19244 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19247 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19248 and to the list of locales to be built for testing.
19249 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19250 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19251 and build the collation rules upon that.
19253 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19255 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19256 * manual/math.texi (Mathematics): Document support for _Float32.
19257 * math/Makefile (test-types): Add float32.
19258 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19259 * stdlib/Versions (GLIBC_2.27): Likewise.
19260 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19261 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19262 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19263 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19264 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19265 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19267 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19268 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19269 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19271 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19274 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19275 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19278 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19280 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19281 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19283 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19284 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19285 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19286 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19305 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19306 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19307 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19308 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19309 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19314 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19323 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19329 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19330 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19332 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19334 * stdlib/strtof.c: Include <bits/floatn.h>
19335 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19336 and later undefine as macro. Define as weak alias if
19338 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19339 and later undefine as macro. Define as weak alias if
19341 * stdlib/strtof_l.c: Include <bits/floatn.h>
19342 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19343 and later undefine as macro. Define as weak alias if
19345 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19346 and later undefine as macro. Define as weak alias if
19349 * stdlib/strfromf.c: Include <bits/floatn.h>.
19350 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19351 and later undefine as macro and define as weak alias.
19353 * math/test-float32.h: New file.
19355 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19356 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19357 (libm_alias_float_other_r): Create f32 alias.
19358 (libm_alias_float_r): Use semicolon before call to
19359 libm_alias_float_other_r.
19361 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19362 second argument to libm_alias_float_other.
19363 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19364 second argument to libm_alias_float_other.
19365 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19366 argument to libm_alias_float_other.
19369 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19370 real part of result for argument 0 + i * NaN.
19371 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19372 results for tests of 0 + i * NaN.
19374 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19376 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19378 2017-12-06 David S. Miller <davem@davemloft.net>
19380 * sysdeps/sparc/fpu/libm-test-ulps: Update
19381 exp_{downward,towardzero,upward} ulps.
19383 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19385 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19388 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19390 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19397 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19400 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19401 and to the list of locales to be built for testing.
19402 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19403 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19404 and build the collation rules upon that.
19406 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19408 * NEWS: Add sinf to list of optimized functions.
19410 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19412 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19413 (__HAVE_FLOAT32X): Likewise.
19414 * manual/math.texi (Mathematics): Document support for _Float64
19416 * math/Makefile (test-types): Add float64 and float32x.
19417 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19419 * stdlib/Versions (GLIBC_2.27): Likewise.
19420 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19421 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19423 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19424 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19425 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19426 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19427 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19428 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19429 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19430 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19431 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19432 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19434 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19435 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19436 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19437 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19438 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19441 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19444 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19446 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19447 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19464 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19473 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19482 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19483 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19488 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19489 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19491 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19493 * bits/floatn-common.h: Include <bits/long-double.h>.
19494 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19495 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19496 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19497 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19498 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19499 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19500 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19501 (__builtin_huge_valf64): Use __builtin_huge_vall.
19502 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19503 (__builtin_inff64): Use __builtin_infl.
19504 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19505 (__builtin_nanf64): Use __builtin_nanl.
19506 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19507 (__builtin_nansf64): Use __builtin_nansl.
19509 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19510 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19511 Carlos O'Donnell <carlos@redhat.com>
19513 * elf/dl-tunables.list: Add elision parameters.
19514 * manual/tunables.texi: Add entries about elision tunable.
19515 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19516 Add callback functions to dynamically enable/disable elision.
19517 Add multiple callbacks functions to set elision parameters.
19518 Deleted __libc_enable_secure check.
19519 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19520 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19521 * configure: Regenerated.
19522 * configure.ac: Option enable_lock_elision was deleted.
19523 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19524 * config.make.in: Remove references to enable_lock_elision.
19525 * manual/install.texi: Elision configure option was removed.
19526 * INSTALL: Regenerated to remove enable_lock_elision.
19528 Disable elision so it can verify error case for destroying a mutex.
19529 * sysdeps/powerpc/nptl/elide.h:
19530 Cleanup ENABLE_LOCK_ELISION check.
19531 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19532 * sysdeps/s390/configure: Regenerated.
19533 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19534 * nptl/tst-mutex8.c:
19535 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19536 * sysdeps/powerpc/powerpc32/sysdep.h:
19537 Deleted all ENABLE_LOCK_ELISION checks.
19538 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19539 * sysdeps/powerpc/sysdep.h: Likewise.
19540 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19542 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19543 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19544 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19545 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19546 enable-lock-elision.
19548 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19550 * stdlib/strtod.c: Include <bits/floatn.h>.
19551 (BUILD_DOUBLE): New macro.
19552 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19553 (strtof64): Define and later undefine as macro. Define as weak
19554 alias if [!USE_WIDE_CHAR].
19555 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19556 (wcstof64): Define and later undefine as macro. Define as weak
19557 alias if [USE_WIDE_CHAR].
19558 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19559 (strtof32x): Define and later undefine as macro. Define as weak
19560 alias if [!USE_WIDE_CHAR].
19561 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19562 (wcstof32x): Define and later undefine as macro. Define as weak
19563 alias if [USE_WIDE_CHAR].
19564 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19565 (BUILD_DOUBLE): New macro.
19566 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19567 (strtof64_l): Define and later undefine as macro. Define as weak
19568 alias if [!USE_WIDE_CHAR].
19569 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19570 (wcstof64_l): Define and later undefine as macro. Define as weak
19571 alias if [USE_WIDE_CHAR].
19572 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19573 (strtof32x_l): Define and later undefine as macro. Define as weak
19574 alias if [!USE_WIDE_CHAR].
19575 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19576 (wcstof32x_l): Define and later undefine as macro. Define as weak
19577 alias if [USE_WIDE_CHAR].
19579 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19581 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19582 (reduced): Use ones as double instead of integer.
19584 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19586 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19588 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19590 * stdlib/strfromd.c: Include <bits/floatn.h>.
19591 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19592 and later undefine as macro and define as weak alias.
19593 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19596 * math/test-float32x.h: New file.
19597 * math/test-float64.h: Likewise.
19599 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19600 (libm_alias_double_other_r_f64): New macro.
19601 (libm_alias_double_other_r_f32x): Likewise.
19602 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19603 libm_alias_double_other_r_f32x.
19604 (libm_alias_double_r): Use semicolon before call to
19605 libm_alias_double_other_r.
19606 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19608 (libm_alias_double_other_r_f64): New macro.
19609 (libm_alias_double_other_r_f32x): Likewise.
19610 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19611 libm_alias_double_other_r_f32x.
19613 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19615 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19617 (SINF_FUNC): Likewise. Replace floor with simple casts.
19619 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19622 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19623 and to the list of locales to be built for testing.
19624 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19625 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19626 and build the collation rules upon that.
19628 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19630 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19631 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19632 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19633 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19634 instead of __insn__xxx.
19635 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19636 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19637 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19638 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19639 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19640 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19642 2017-12-05 Florian Weimer <fweimer@redhat.com>
19644 Linux: Implement interfaces for memory protection keys
19645 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19647 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19648 * support/xunistd.h (xsysconf): Declare.
19649 * support/xraise.c: New file.
19650 * support/xsigaction.c: Likewise.
19651 * support/xsignal.c: Likewise.
19652 * support/xsysconf.c: Likewise.
19653 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19654 pkey_set, pkey_get, pkey_mprotect.
19655 [misc] (tests): Add tst-pkey.
19656 (tst-pkey): Link with -lpthread.
19657 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19658 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19660 (PKEY_DISABLE_WRITE): Define.
19661 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19663 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19664 (SEGV_PKUERR): Add.
19665 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19666 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19667 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19668 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19670 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19671 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19672 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19673 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19674 * sysdeps/unix/sysv/linux/**.abilist: Update.
19676 2017-12-05 Florian Weimer <fweimer@redhat.com>
19678 * support/tst-test_compare.c (subprocess): Use long long instead
19679 of long argument for consistent type width across 32-bit and
19680 64-bit architectures.
19681 (do_test): Adjust expected output.
19683 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19685 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19686 (cosf): Define using libm_alias_float.
19687 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19688 (fabsf): Define using libm_alias_float.
19689 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19690 (fmaf): Define using libm_alias_float.
19691 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19692 (rintf): Define using libm_alias_float.
19693 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19694 (sinf): Define using libm_alias_float.
19695 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19696 <libm-alias-float.h>.
19697 (modff): Define using libm_alias_float.
19698 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19699 <libm-alias-float.h>.
19700 (logbf): Define using libm_alias_float.
19701 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19702 <libm-alias-float.h>.
19703 (ceilf): Define using libm_alias_float.
19704 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19705 <libm-alias-float.h>.
19706 (copysignf): Define using libm_alias_float.
19707 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19708 <libm-alias-float.h>.
19709 (floorf): Define using libm_alias_float.
19710 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19711 <libm-alias-float.h>.
19712 (llrintf): Define using libm_alias_float.
19713 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19714 <libm-alias-float.h>.
19715 (llroundf): Define using libm_alias_float.
19716 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19717 <libm-alias-float.h>.
19718 (lrintf): Define using libm_alias_float.
19719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19720 <libm-alias-float.h>.
19721 (lroundf): Define using libm_alias_float.
19722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19723 <libm-alias-float.h>.
19724 (nearbyintf): Define using libm_alias_float.
19725 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19726 <libm-alias-float.h>.
19727 (rintf): Define using libm_alias_float.
19728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19729 <libm-alias-float.h>.
19730 (roundf): Define using libm_alias_float.
19731 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19732 <libm-alias-float.h>.
19733 (truncf): Define using libm_alias_float.
19734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19735 Include <libm-alias-float.h>.
19736 (ceilf): Define using libm_alias_float.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19738 Include <libm-alias-float.h>.
19739 (copysignf): Define using libm_alias_float.
19740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19741 Include <libm-alias-float.h>.
19742 (floorf): Define using libm_alias_float.
19743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19744 Include <libm-alias-float.h>.
19745 (llrintf): Define using libm_alias_float.
19746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19747 Include <libm-alias-float.h>.
19748 (llroundf): Define using libm_alias_float.
19749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19750 Include <libm-alias-float.h>.
19751 (logbf): Define using libm_alias_float.
19752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19753 Include <libm-alias-float.h>.
19754 (lrintf): Define using libm_alias_float.
19755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19756 Include <libm-alias-float.h>.
19757 (lroundf): Define using libm_alias_float.
19758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19759 Include <libm-alias-float.h>.
19760 (modff): Define using libm_alias_float.
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19762 Include <libm-alias-float.h>.
19763 (roundf): Define using libm_alias_float.
19764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19765 Include <libm-alias-float.h>.
19766 (truncf): Define using libm_alias_float.
19767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19768 <libm-alias-float.h>.
19769 (llrintf): Define using libm_alias_float.
19770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19771 <libm-alias-float.h>.
19772 (llroundf): Define using libm_alias_float.
19773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19774 <libm-alias-float.h>.
19775 (ceilf): Define using libm_alias_float.
19776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19777 <libm-alias-float.h>.
19778 (floorf): Define using libm_alias_float.
19779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19780 <libm-alias-float.h>.
19781 (llroundf): Define using libm_alias_float.
19782 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19783 <libm-alias-float.h>.
19784 (lroundf): Define using libm_alias_float.
19785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19786 <libm-alias-float.h>.
19787 (roundf): Define using libm_alias_float.
19788 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19789 <libm-alias-float.h>.
19790 (truncf): Define using libm_alias_float.
19791 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19792 <libm-alias-float.h>.
19793 (copysignf): Define using libm_alias_float.
19794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19795 <libm-alias-float.h>.
19796 (llrintf): Define using libm_alias_float.
19797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19798 <libm-alias-float.h>.
19799 (llroundf): Define using libm_alias_float.
19800 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19801 <libm-alias-float.h>.
19802 (lrintf): Define using libm_alias_float.
19803 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19804 <libm-alias-float.h>.
19805 (lroundf): Define using libm_alias_float.
19806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19807 <libm-alias-float.h>.
19808 (ceilf): Define using libm_alias_float.
19809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19810 <libm-alias-float.h>.
19811 (copysignf): Define using libm_alias_float.
19812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19813 <libm-alias-float.h>.
19814 (cosf): Define using libm_alias_float.
19815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19816 <libm-alias-float.h>.
19817 (floorf): Define using libm_alias_float.
19818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19819 <libm-alias-float.h>.
19820 (llrintf): Define using libm_alias_float.
19821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19822 <libm-alias-float.h>.
19823 (llroundf): Define using libm_alias_float.
19824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19825 <libm-alias-float.h>.
19826 (logbf): Define using libm_alias_float.
19827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19828 <libm-alias-float.h>.
19829 (modff): Define using libm_alias_float.
19830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19831 <libm-alias-float.h>.
19832 (roundf): Define using libm_alias_float.
19833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19834 <libm-alias-float.h>.
19835 (sinf): Define using libm_alias_float.
19836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19837 <libm-alias-float.h>.
19838 (truncf): Define using libm_alias_float.
19839 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19840 <libm-alias-float.h>.
19841 (ceilf): Define using libm_alias_float.
19842 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19843 <libm-alias-float.h>.
19844 (copysignf): Define using libm_alias_float.
19845 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19846 <libm-alias-float.h>.
19847 (floorf): Define using libm_alias_float.
19848 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19849 <libm-alias-float.h>.
19850 (llrintf): Define using libm_alias_float.
19851 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19852 <libm-alias-float.h>.
19853 (llroundf): Define using libm_alias_float.
19854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19855 <libm-alias-float.h>.
19856 (nearbyintf): Define using libm_alias_float.
19857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19858 <libm-alias-float.h>.
19859 (rintf): Define using libm_alias_float.
19860 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19861 <libm-alias-float.h>.
19862 (roundf): Define using libm_alias_float.
19863 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19864 <libm-alias-float.h>.
19865 (truncf): Define using libm_alias_float.
19866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19867 <libm-alias-float.h>.
19868 (ceilf): Define using libm_alias_float.
19869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19870 <libm-alias-float.h>.
19871 (floorf): Define using libm_alias_float.
19872 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19873 <libm-alias-float.h>.
19874 (llroundf): Define using libm_alias_float.
19875 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19876 <libm-alias-float.h>.
19877 (roundf): Define using libm_alias_float.
19878 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19879 <libm-alias-float.h>.
19880 (truncf): Define using libm_alias_float.
19881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19882 <libm-alias-float.h>.
19883 (copysignf): Define using libm_alias_float.
19884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19885 <libm-alias-float.h>.
19886 (llrintf): Define using libm_alias_float.
19887 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19888 <libm-alias-float.h>.
19889 (llroundf): Define using libm_alias_float.
19890 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19891 <libm-alias-float.h>.
19892 (cosf): Define using libm_alias_float.
19893 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19894 <libm-alias-float.h>.
19895 (llrintf): Define using libm_alias_float.
19896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19897 <libm-alias-float.h>.
19898 (llroundf): Define using libm_alias_float.
19899 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19900 <libm-alias-float.h>.
19901 (sinf): Define using libm_alias_float.
19903 2017-12-04 Florian Weimer <fweimer@redhat.com>
19905 * support/check.h (TEST_COMPARE): Define.
19906 (support_test_compare_failure): Declare.
19907 * support/Makefile (libsupport-routines): Add
19908 support_test_compare_failure.
19909 (tests): Add tst-test_compare.
19910 * support /support_test_compare_failure.c: New file.
19911 * support/tst-test_compare.c: Likewise.
19913 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19916 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19917 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19918 available, this rewrite of the collation rules does reproduce
19919 the test file in the same order.
19921 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19924 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19925 digraphs in the month and day names. Using single code points for
19926 digraphs is deprecated. While there are dedicated Unicode
19927 codepoints, for the digraphs, these are included for backwards
19928 compatibility and modern texts use a sequence of Basic Latin
19929 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19930 This makes the month and day names agree exactly with CLDR now,
19931 CLDR does not use the single code points for the digraphs either.
19933 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19935 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19937 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19939 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19942 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19944 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19945 Define only for libc.so.
19947 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19950 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19951 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19952 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19955 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19958 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19960 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19963 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19964 PREINIT_FUNCTION_WEAK is nonzero.
19965 (gmon_initializer): New function. Put procedure label for it in
19966 .init_array section.
19967 (_init): Don't call PREINIT_FUNCTION.
19968 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19969 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19970 value when map argument is null.
19972 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19973 depi instruction from PIC pc-relative sequence.
19974 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19975 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19976 (elf_machine_load_address): Likewise.
19977 (elf_machine_runtime_setup): Likewise.
19979 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19981 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19982 <libm-alias-double.h>.
19983 (logb): Define using libm_alias_double.
19984 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19985 <libm-alias-double.h>.
19986 (copysign): Define using libm_alias_double.
19987 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19988 <libm-alias-double.h>.
19989 (llrint): Define using libm_alias_double.
19990 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19991 <libm-alias-double.h>.
19992 (llround): Define using libm_alias_double.
19993 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19994 <libm-alias-double.h>.
19995 (lrint): Define using libm_alias_double.
19996 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19997 <libm-alias-double.h>.
19998 (lround): Define using libm_alias_double.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20000 Include <libm-alias-double.h>.
20001 (copysign): Define using libm_alias_double.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20003 Include <libm-alias-double.h>.
20004 (llrint): Define using libm_alias_double.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20006 Include <libm-alias-double.h>.
20007 (llround): Define using libm_alias_double.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20009 <libm-alias-double.h>.
20010 (logb): Define using libm_alias_double.
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20012 Include <libm-alias-double.h>.
20013 (lrint): Define using libm_alias_double.
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20015 Include <libm-alias-double.h>.
20016 (lround): Define using libm_alias_double.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20018 <libm-alias-double.h>.
20019 (llrint): Define using libm_alias_double.
20020 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20021 <libm-alias-double.h>.
20022 (llround): Define using libm_alias_double.
20023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20024 <libm-alias-double.h>.
20025 (llround): Define using libm_alias_double.
20026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20027 <libm-alias-double.h>.
20028 (lround): Define using libm_alias_double.
20029 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20030 <libm-alias-double.h>.
20031 (copysign): Define using libm_alias_double.
20032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20033 <libm-alias-double.h>.
20034 (llrint): Define using libm_alias_double.
20035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20036 <libm-alias-double.h>.
20037 (llround): Define using libm_alias_double.
20038 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20039 <libm-alias-double.h>.
20040 (lrint): Define using libm_alias_double.
20041 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20042 <libm-alias-double.h>.
20043 (lround): Define using libm_alias_double.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20045 <libm-alias-double.h>.
20046 (copysign): Define using libm_alias_double.
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20048 <libm-alias-double.h>.
20049 (llrint): Define using libm_alias_double.
20051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20052 <libm-alias-double.h>.
20053 (llround): Define using libm_alias_double.
20054 (lround): Likewise.
20055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20056 <libm-alias-double.h>.
20057 (logb): Define using libm_alias_double.
20058 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20059 <libm-alias-double.h>.
20060 (copysign): Define using libm_alias_double.
20061 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20062 <libm-alias-double.h>.
20063 (llrint): Define using libm_alias_double.
20065 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20066 <libm-alias-double.h>.
20067 (llround): Define using libm_alias_double.
20068 (lround): Likewise.
20069 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20070 <libm-alias-double.h>.
20071 (llround): Define using libm_alias_double.
20072 (lround): Likewise.
20073 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20074 <libm-alias-double.h>.
20075 (copysign): Define using libm_alias_double.
20076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20077 <libm-alias-double.h>.
20078 (llrint): Define using libm_alias_double.
20080 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20081 <libm-alias-double.h>.
20082 (llround): Define using libm_alias_double.
20083 (lround): Likewise.
20084 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20085 <libm-alias-double.h>.
20086 (llrint): Define using libm_alias_double.
20088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20089 <libm-alias-double.h>.
20090 (llround): Define using libm_alias_double.
20091 (lround): Likewise.
20093 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20096 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20097 compat symbol based on llround.
20099 * sysdeps/powerpc/power7/fpu/s_logb.c
20100 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20101 symbol based on __logb, not on logb.
20102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20103 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20105 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20107 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20108 (rint): Define using libm_alias_double.
20109 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20110 <libm-alias-double.h>.
20111 (modf): Define using libm_alias_double.
20112 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20113 <libm-alias-double.h>.
20114 (ceil): Define using libm_alias_double.
20115 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20116 <libm-alias-double.h>.
20117 (floor): Define using libm_alias_double.
20118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20119 <libm-alias-double.h>.
20120 (nearbyint): Define using libm_alias_double.
20121 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20122 <libm-alias-double.h>.
20123 (rint): Define using libm_alias_double.
20124 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20125 <libm-alias-double.h>.
20126 (round): Define using libm_alias_double.
20127 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20128 <libm-alias-double.h>.
20129 (trunc): Define using libm_alias_double.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20131 <libm-alias-double.h>.
20132 (ceil): Define using libm_alias_double.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20134 Include <libm-alias-double.h>.
20135 (floor): Define using libm_alias_double.
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20137 <libm-alias-double.h>.
20138 (modf): Define using libm_alias_double.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20140 Include <libm-alias-double.h>.
20141 (round): Define using libm_alias_double.
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20143 Include <libm-alias-double.h>.
20144 (trunc): Define using libm_alias_double.
20145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20146 <libm-alias-double.h>.
20147 (ceil): Define using libm_alias_double.
20148 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20149 <libm-alias-double.h>.
20150 (floor): Define using libm_alias_double.
20151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20152 <libm-alias-double.h>.
20153 (round): Define using libm_alias_double.
20154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20155 <libm-alias-double.h>.
20156 (trunc): Define using libm_alias_double.
20157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20158 <libm-alias-double.h>.
20159 (ceil): Define using libm_alias_double.
20160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20161 <libm-alias-double.h>.
20162 (floor): Define using libm_alias_double.
20163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20164 <libm-alias-double.h>.
20165 (modf): Define using libm_alias_double.
20166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20167 <libm-alias-double.h>.
20168 (round): Define using libm_alias_double.
20169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20170 <libm-alias-double.h>.
20171 (trunc): Define using libm_alias_double.
20172 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20173 <libm-alias-double.h>.
20174 (ceil): Define using libm_alias_double.
20175 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20176 <libm-alias-double.h>.
20177 (floor): Define using libm_alias_double.
20178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20179 <libm-alias-double.h>.
20180 (nearbyint): Define using libm_alias_double.
20181 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20182 <libm-alias-double.h>.
20183 (rint): Define using libm_alias_double.
20184 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20185 <libm-alias-double.h>.
20186 (round): Define using libm_alias_double.
20187 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20188 <libm-alias-double.h>.
20189 (trunc): Define using libm_alias_double.
20190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20191 <libm-alias-double.h>.
20192 (ceil): Define using libm_alias_double.
20193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20194 <libm-alias-double.h>.
20195 (floor): Define using libm_alias_double.
20196 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20197 <libm-alias-double.h>.
20198 (round): Define using libm_alias_double.
20199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20200 <libm-alias-double.h>.
20201 (trunc): Define using libm_alias_double.
20203 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20204 (fabs): Define using libm_alias_double.
20205 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20206 (fma): Define using libm_alias_double.
20207 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20208 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20209 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20210 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20212 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20214 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20217 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20218 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20221 due redirect macro.
20223 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20225 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20227 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20229 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20230 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20231 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20232 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20235 (libm-sysdep_routines): Add s_nearbyintf-generic and
20236 s_nearbyint-generic.
20237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20250 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20261 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20272 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20283 (sysdep_calls): New rule.
20284 (sysdep_routines): Use sysdep_calls as base.
20285 (libm-sysdep_routines): Add generic rule for symbols shared with
20286 libc. Add s_copysign-generic and s_copysign-generic objects.
20287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20296 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20299 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20300 the list of locales to be built for testing.
20301 * localedata/is_IS.UTF-8.in: New file.
20302 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20305 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20307 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20308 <libm-alias-float.h>.
20309 (fabsf): Define using libm_alias_float.
20311 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20313 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20315 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20317 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20318 <libm-alias-float.h>.
20319 (fabsf): Define using libm_alias_float.
20320 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20321 <libm-alias-float.h>.
20322 (lrintf): Define using libm_alias_float.
20323 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20324 <libm-alias-float.h>.
20325 (rintf): Define using libm_alias_float.
20327 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20328 <libm-alias-double.h>.
20329 (fabs): Define using libm_alias_double.
20330 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20331 <libm-alias-double.h>.
20332 (lrint): Define using libm_alias_double.
20333 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20334 <libm-alias-double.h>.
20335 (rint): Define using libm_alias_double.
20337 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20338 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20339 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20340 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20341 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20342 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20343 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20344 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20345 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20346 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20347 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20348 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20349 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20350 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20351 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20352 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20353 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20354 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20356 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20357 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20358 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20360 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20361 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20362 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20364 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20365 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20366 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20367 s_expm1_template.c.
20368 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20369 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20370 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20372 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20373 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20374 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20375 s_floor_template.c.
20376 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20377 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20378 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20379 s_frexp_template.c.
20380 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20381 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20382 s_lrint_template.c.
20383 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20384 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20385 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20387 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20388 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20389 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20390 s_nearbyint_template.c.
20391 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20392 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20393 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20394 s_remquo_template.c.
20395 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20396 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20397 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20399 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20400 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20401 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20403 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20404 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20405 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20406 s_sincos_template.c.
20407 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20408 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20409 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20411 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20412 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20413 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20415 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20416 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20417 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20418 s_trunc_template.c.
20419 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20420 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20421 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20422 s_atan.c instead of including s_atan.c.
20423 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20424 s_atanf.c instead of including s_atanf.c.
20425 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20426 s_atanl.c instead of including s_atanl.c.
20427 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20428 instead of s_atan.c.
20429 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20430 instead of s_atanf.c.
20431 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20432 instead of s_atanl.c.
20434 * scripts/update-copyrights: Do not handle intl/plural.c
20437 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20440 * configure.ac (BISON): Require to be present.
20441 * configure: Regenerated.
20442 * intl/Makefile (generated): Add plural.c.
20443 [$(BISON) != no]: Make code unconditional.
20444 (plural.c): Change rule to $(objpfx)plural.c.
20445 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20446 * intl/plural.c: Remove.
20447 * manual/install.texi (Tools for Compilation): Document bison as
20449 * INSTALL: Regenerated.
20451 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20453 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20454 <libm-alias-double.h>.
20455 (llrint): Define using libm_alias_double.
20456 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20457 <libm-alias-float.h>.
20458 (llrintf): Define using libm_alias_float.
20459 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20460 <libm-alias-ldouble.h>.
20461 (llrintl): Define using libm_alias_ldouble.
20463 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20464 declare_mgen_alias instead of weak_alias.
20465 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20466 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20467 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20469 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20471 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20473 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20474 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20475 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20477 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20478 Add submul_1-generic.
20479 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20480 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20483 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20484 Add addmul_1-generic.
20485 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20486 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20487 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20489 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20491 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20492 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20495 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20497 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20498 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20499 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20501 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20503 According to CLDR, collation rules for Serbian and Bosnian
20504 should be the same as for Croatian.
20507 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20508 and to the list of locales to be built for testing.
20509 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20510 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20511 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20512 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20514 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20516 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20517 to make test case pass.
20518 * localedata/hr_HR.UTF-8.in: Add more test strings.
20520 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20522 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20524 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20526 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20527 the list of locales to built for testing.
20528 * localedata/hr_HR.UTF-8.in: New file.
20530 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20533 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20535 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20536 CLDR (except use ligatures for the digraphs, CLDR does not use
20537 the ligatures), add first_workday, some fixes in the date and time
20539 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20541 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20542 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20543 Add int_p_cs_precedes and int_n_cs_precedes.
20544 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20545 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20547 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20548 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20550 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20551 and lang_lib. Change postal_fmt.
20553 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20555 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20557 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20558 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20559 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20560 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20561 * sysdeps/generic/setjmpP.h: New file.
20562 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20563 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20564 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20565 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20566 Add jmp_buf-ssp.sym.
20567 (tests): Add tst-saved_mask-1.
20569 2017-11-30 Arjun Shankar <arjun@redhat.com>
20573 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20574 instead of request2size.
20576 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20579 (__lllrint): Remove alias.
20580 (lllrint): Likewise.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20582 (__lllrintf): Likewise.
20583 (lllrintf): Likewise.
20585 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20586 <libm-alias-float.h>.
20587 (copysignf): Define using libm_alias_float.
20588 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20589 <libm-alias-float.h>.
20590 (fabsf): Define using libm_alias_float.
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20592 Include <libm-alias-float.h>.
20593 (copysignf): Define using libm_alias_float.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20595 <libm-alias-float.h>.
20596 (fabsf): Define using libm_alias_float.
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20598 <libm-alias-float.h>.
20599 (fdimf): Define using libm_alias_float.
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20601 <libm-alias-float.h>.
20602 (fmaf): Define using libm_alias_float.
20603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20604 <libm-alias-float.h>.
20605 (llrintf): Define using libm_alias_float.
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20607 Include <libm-alias-float.h>.
20608 (nearbyintf): Define using libm_alias_float.
20609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20610 <libm-alias-float.h>.
20611 (rintf): Define using libm_alias_float.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20613 <libm-alias-float.h>.
20614 (llrintf): Define using libm_alias_float.
20615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20616 <libm-alias-float.h>.
20617 (lrintf): Define using libm_alias_float.
20618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20619 <libm-alias-float.h>.
20620 (nearbyintf): Define using libm_alias_float.
20621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20622 <libm-alias-float.h>.
20623 (rintf): Define using libm_alias_float.
20624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20625 <libm-alias-float.h>.
20626 (ceilf): Define using libm_alias_float.
20627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20628 <libm-alias-float.h>.
20629 (floorf): Define using libm_alias_float.
20630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20631 <libm-alias-float.h>.
20632 (fmaf): Define using libm_alias_float.
20633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20634 <libm-alias-float.h>.
20635 (lrintf): Define using libm_alias_float.
20636 (llrintf): Likewise.
20637 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20638 <libm-alias-float.h>.
20639 (nearbyintf): Define using libm_alias_float.
20640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20641 <libm-alias-float.h>.
20642 (rintf): Define using libm_alias_float.
20643 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20644 <libm-alias-float.h>.
20645 (truncf): Define using libm_alias_float.
20646 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20647 <libm-alias-float.h>.
20648 (copysignf): Define using libm_alias_float.
20649 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20650 <libm-alias-float.h>.
20651 (fabsf): Define using libm_alias_float.
20652 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20653 <libm-alias-float.h>.
20654 (lrintf): Define using libm_alias_float.
20655 (llrintf): Likewise.
20656 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20657 <libm-alias-float.h>.
20658 (nearbyintf): Define using libm_alias_float.
20659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20660 <libm-alias-float.h>.
20661 (rintf): Define using libm_alias_float.
20663 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20665 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20666 <libm-alias-double.h>.
20667 (copysign): Define using libm_alias_double.
20668 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20669 <libm-alias-double.h>.
20670 (fabs): Define using libm_alias_double.
20671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20672 Include <libm-alias-double.h>.
20673 (copysign): Define using libm_alias_double.
20674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20675 <libm-alias-double.h>.
20676 (fabs): Define using libm_alias_double.
20677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20678 <libm-alias-double.h>.
20679 (fdim): Define using libm_alias_double.
20680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20681 <libm-alias-double.h>.
20682 (fma): Define using libm_alias_double.
20683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20684 <libm-alias-double.h>.
20685 (llrint): Define using libm_alias_double.
20686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20687 Include <libm-alias-double.h>.
20688 (nearbyint): Define using libm_alias_double.
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20690 <libm-alias-double.h>.
20691 (rint): Define using libm_alias_double.
20692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20693 <libm-alias-double.h>.
20694 (fabs): Define using libm_alias_double.
20695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20696 <libm-alias-double.h>.
20697 (llrint): Define using libm_alias_double.
20698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20699 <libm-alias-double.h>.
20700 (nearbyint): Define using libm_alias_double.
20701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20702 <libm-alias-double.h>.
20703 (rint): Define using libm_alias_double.
20704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20705 <libm-alias-double.h>.
20706 (ceil): Define using libm_alias_double.
20707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20708 <libm-alias-double.h>.
20709 (floor): Define using libm_alias_double.
20710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20711 <libm-alias-double.h>.
20712 (fma): Define using libm_alias_double.
20713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20714 <libm-alias-double.h>.
20715 (lrint): Define using libm_alias_double.
20716 (llrint): Likewise.
20717 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20718 <libm-alias-double.h>.
20719 (nearbyint): Define using libm_alias_double.
20720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20721 <libm-alias-double.h>.
20722 (rint): Define using libm_alias_double.
20723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20724 <libm-alias-double.h>.
20725 (trunc): Define using libm_alias_double.
20726 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20727 <libm-alias-double.h>.
20728 (copysign): Define using libm_alias_double.
20729 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20730 <libm-alias-double.h>.
20731 (fabs): Define using libm_alias_double.
20732 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20733 <libm-alias-double.h>.
20734 (lrint): Define using libm_alias_double.
20735 (llrint): Likewise.
20736 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20737 <libm-alias-double.h>.
20738 (nearbyint): Define using libm_alias_double.
20739 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20740 <libm-alias-double.h>.
20741 (rint): Define using libm_alias_double.
20744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20746 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20748 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20749 SPARC --disable-multi-arch glibc variants.
20751 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20752 <libm-alias-float.h>.
20753 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20755 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20756 <libm-alias-float.h>.
20757 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20759 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20760 <libm-alias-float.h>.
20761 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20763 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20764 <libm-alias-float.h>.
20765 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20767 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20768 <libm-alias-float.h>.
20769 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20772 <libm-alias-float.h>.
20773 (ceilf): Define using libm_alias_float.
20774 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20775 <libm-alias-float.h>.
20776 (floorf): Define using libm_alias_float.
20777 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20778 <libm-alias-float.h>.
20779 (fmaf): Define using libm_alias_float.
20780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20781 <libm-alias-float.h>.
20782 (nearbyintf): Define using libm_alias_float.
20783 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20784 <libm-alias-float.h>.
20785 (rintf): Define using libm_alias_float.
20786 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20787 <libm-alias-float.h>.
20788 (truncf): Define using libm_alias_float.
20789 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20790 (copysignf): Define using libm_alias_float.
20791 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20792 (cosf): Define using libm_alias_float.
20793 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20794 (fabsf): Define using libm_alias_float.
20795 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20796 (fmaxf): Define using libm_alias_float.
20797 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20798 (fminf): Define using libm_alias_float.
20799 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20800 (llrintf): Define using libm_alias_float.
20801 [!__ILP32__] (lrintf): Likewise.
20802 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20803 (sincosf): Define using libm_alias_float.
20804 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20805 (sinf): Define using libm_alias_float.
20806 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20807 (lrintf): Define using libm_alias_float.
20809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20810 <libm-alias-double.h>.
20811 (atan): Define using libm_alias_double.
20812 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20813 <libm-alias-double.h>.
20814 (ceil): Define using libm_alias_double.
20815 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20816 <libm-alias-double.h>.
20817 (floor): Define using libm_alias_double.
20818 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20819 <libm-alias-double.h>.
20820 (fma): Define using libm_alias_double.
20821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20822 <libm-alias-double.h>.
20823 (nearbyint): Define using libm_alias_double.
20824 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20825 <libm-alias-double.h>.
20826 (rint): Define using libm_alias_double.
20827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20828 <libm-alias-double.h>.
20829 (sin): Define using libm_alias_double.
20831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20832 <libm-alias-double.h>.
20833 (tan): Define using libm_alias_double.
20834 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20835 <libm-alias-double.h>.
20836 (trunc): Define using libm_alias_double.
20837 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20838 (copysign): Define using libm_alias_double.
20839 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20840 (fabs): Define using libm_alias_double.
20841 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20842 (fmax): Define using libm_alias_double.
20843 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20844 (fmin): Define using libm_alias_double.
20845 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20846 (llrint): Define using libm_alias_double.
20847 [!__ILP32__] (lrint): Likewise.
20848 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20849 (lrint): Define using libm_alias_double.
20851 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20854 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20864 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20874 (libm-sysdep_routines): Add s_nearbyint-generic and
20875 s_nearbyintf-generic objects.
20876 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20881 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20884 Add s_finitef-generic and s_finite-generic objects.
20885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20890 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20893 Add s_isinff-generic and s_isinf-generic objects.
20894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20902 Add s_isnanf-generic and s_isnan-generic objects.
20903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20910 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20914 (sysdep_routines): Use sysdep_calls as base.
20915 (libm-sysdep_routines): Add generic rule for symbols shared with
20916 libc. Add s_signbit-generic and s_signbitf-generic objects.
20917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20924 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20926 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20927 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20928 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20929 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20930 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20931 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20932 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20933 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20934 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20935 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20936 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20937 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20938 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20939 libm_alias_float_r.
20940 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20941 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20943 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20944 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20945 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20946 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20947 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20948 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20949 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20950 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20951 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20952 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20954 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20956 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20957 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20958 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20959 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20960 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20961 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20962 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20963 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20964 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20965 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20966 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20967 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20968 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20969 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20970 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20971 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20972 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20973 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20974 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20976 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20977 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20978 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20979 * sysdeps/ia64/fpu/w_lgammaf_main.c
20980 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20981 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20983 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20984 Alexandre Oliva <aoliva@redhat.com>
20987 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20988 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20990 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20992 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20993 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20994 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20995 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20996 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20997 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20998 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20999 instead of “ifdef DIACRIT_BACKWARD”.
21001 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21003 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21004 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21005 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21006 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21007 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21008 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21015 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21016 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21017 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21018 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21019 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21020 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21022 ($(have-as-vis3) == yes): Remove conditional.
21023 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21039 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21042 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21044 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21045 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21046 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21047 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21048 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21049 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21050 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21051 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21052 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21053 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21054 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21055 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21056 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21057 libm_alias_double_r.
21058 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21060 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21061 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21062 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21063 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21064 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21065 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21066 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21067 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21068 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21069 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21070 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21072 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21074 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21075 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21076 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21077 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21078 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21079 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21080 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21081 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21082 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21083 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21084 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21085 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21086 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21087 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21088 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21089 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21090 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21091 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21093 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21094 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21095 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21096 * sysdeps/ia64/fpu/w_lgamma_main.c
21097 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21098 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21100 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21102 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21103 address of $global$ into %dp register earlier. Use pc-relative
21104 instruction sequence for PIC case.
21106 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21108 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21109 (asinhf): Define using libm_alias_float.
21110 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21111 (atanf): Define using libm_alias_float.
21112 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21113 (cbrtf): Define using libm_alias_float.
21114 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21115 (ceilf): Define using libm_alias_float.
21116 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21117 (copysignf): Define using libm_alias_float.
21118 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21119 (expm1f): Define using libm_alias_float.
21120 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21121 (fabsf): Define using libm_alias_float.
21122 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21123 (floorf): Define using libm_alias_float.
21124 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21125 (fmaxf): Define using libm_alias_float.
21126 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21127 (fminf): Define using libm_alias_float.
21128 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21129 (frexpf): Define using libm_alias_float.
21130 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21131 (llrintf): Define using libm_alias_float.
21132 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21133 (logbf): Define using libm_alias_float.
21134 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21135 (lrintf): Define using libm_alias_float.
21136 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21137 (nearbyintf): Define using libm_alias_float.
21138 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21139 (remquof): Define using libm_alias_float.
21140 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21141 (rintf): Define using libm_alias_float.
21142 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21143 (truncf): Define using libm_alias_float.
21144 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21145 <libm-alias-float.h>.
21146 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21148 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21149 <libm-alias-float.h>.
21150 (expf): Define using libm_alias_float, or libm_alias_float_other
21152 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21153 <libm-alias-float.h>.
21154 (log2f): Define using libm_alias_float, or libm_alias_float_other
21156 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21157 <libm-alias-float.h>.
21158 (logf): Define using libm_alias_float, or libm_alias_float_other
21160 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21161 <libm-alias-float.h>.
21162 (powf): Define using libm_alias_float, or libm_alias_float_other
21164 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21165 <libm-alias-float.h>.
21166 (cosf): Define using libm_alias_float.
21167 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21168 <libm-alias-float.h>.
21169 (sincosf): Define using libm_alias_float.
21170 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21171 <libm-alias-float.h>.
21172 (sinf): Define using libm_alias_float.
21173 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21174 (fmaxf): Define using libm_alias_float.
21175 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21176 (fminf): Define using libm_alias_float.
21177 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21178 <libm-alias-float.h>.
21179 (fmaf): Define using libm_alias_float.
21181 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21182 (asinh): Define using libm_alias_double.
21183 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21184 (atan): Define using libm_alias_double.
21185 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21186 (cbrt): Define using libm_alias_double.
21187 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21188 (ceil): Define using libm_alias_double.
21189 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21190 (copysign): Define using libm_alias_double.
21191 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21192 (expm1): Define using libm_alias_double.
21193 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21194 (fabs): Define using libm_alias_double.
21195 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21196 (fdim): Define using libm_alias_double.
21197 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21198 (floor): Define using libm_alias_double.
21199 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21200 (fmax): Define using libm_alias_double.
21201 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21202 (fmin): Define using libm_alias_double.
21203 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21204 (frexp): Define using libm_alias_double.
21205 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21206 (llrint): Define using libm_alias_double.
21207 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21208 (logb): Define using libm_alias_double.
21209 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21210 (lrint): Define using libm_alias_double.
21211 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21212 (nearbyint): Define using libm_alias_double.
21213 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21214 (remquo): Define using libm_alias_double.
21215 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21216 (rint): Define using libm_alias_double.
21217 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21218 (trunc): Define using libm_alias_double.
21219 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21220 (fmax): Define using libm_alias_double.
21221 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21222 (fmin): Define using libm_alias_double.
21223 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21224 (fma): Define using libm_alias_double.
21226 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21229 * elf/dl-hwcaps.c (ROUND): Removed.
21230 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21231 and ELF_NOTE_NEXT_OFFSET.
21232 * elf/dl-load.c (ROUND): Removed.
21233 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21234 * elf/readelflib.c (ROUND): Removed.
21235 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21236 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21237 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21238 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21240 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21243 [!__fmaf] (fmaf): Define using libm_alias_float.
21245 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21246 [!__fma] (fma): Define using libm_alias_double.
21247 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21249 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21252 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21253 and implement the collation rules for cs from CLDR on top of that.
21254 * Makefile: Add cs_CZ.UTF-8 to test-input.
21255 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21257 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21259 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21261 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21262 Icarus Sparry <icarus.w.sparry@intel.com>
21264 * benchtests/Makefile:Add BENCHSET to allow subsets of
21265 benchmarks to be run.
21266 * benchtests/README: Add documentation for: Running subsets of
21269 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21271 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21272 range of tests names.
21274 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21275 result from property and remove "max", min" and "mean" from
21276 required properties based on benchtests/bench-skeleton.c.
21278 2017-11-28 Florian Weimer <fweimer@redhat.com>
21281 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21282 due to Internet requirement.
21283 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21285 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21287 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21289 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21290 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21291 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21292 (sysdep_routines): Add memset-ultra1.
21293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21296 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21297 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21298 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21299 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21300 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21306 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21307 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21308 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21309 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21310 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21311 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21312 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21315 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21316 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21317 (sysdep_routines): Add memcpy-ultra1.
21318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21321 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21323 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21324 (cfloat_versions): Take function argument without trailing 'f'.
21325 Call libm_alias_float_other.
21326 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21327 * sysdeps/alpha/fpu/cargf.c: Likewise.
21328 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21329 * sysdeps/alpha/fpu/conjf.c: Likewise.
21330 * sysdeps/alpha/fpu/crealf.c: Likewise.
21331 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21332 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21333 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21334 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21335 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21336 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21337 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21338 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21339 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21340 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21341 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21342 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21343 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21344 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21345 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21346 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21347 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21348 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21349 (clog10f): Use libm_alias_float_other.
21350 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21351 (ceilf): Define using libm_alias_float.
21352 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21353 (copysignf): Define using libm_alias_float.
21354 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21355 (fabsf): Define using libm_alias_float.
21356 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21357 (floorf): Define using libm_alias_float.
21358 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21359 (fmaxf): Define using libm_alias_float.
21360 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21361 (fminf): Define using libm_alias_float.
21362 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21363 (lrintf): Define using libm_alias_float.
21364 (llrintf): Likewise.
21365 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21366 (lroundf): Define using libm_alias_float.
21367 (llroundf): Likewise.
21368 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21369 (rintf): Define using libm_alias_float.
21370 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21371 (truncf): Define using libm_alias_float.
21373 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21374 (ceilf): Define using libm_alias_float.
21375 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21376 (floorf): Define using libm_alias_float.
21377 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21378 (fmaf): Define using libm_alias_float.
21379 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21380 (fmaxf): Define using libm_alias_float.
21381 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21382 (fminf): Define using libm_alias_float.
21383 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21384 (llrintf): Define using libm_alias_float.
21385 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21386 (llroundf): Define using libm_alias_float.
21387 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21388 (lrintf): Define using libm_alias_float.
21389 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21390 (lroundf): Define using libm_alias_float.
21391 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21392 <libm-alias-float.h>.
21393 (nearbyintf): Define using libm_alias_float.
21394 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21395 (rintf): Define using libm_alias_float.
21396 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21397 (roundf): Define using libm_alias_float.
21398 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21399 (truncf): Define using libm_alias_float.
21401 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21402 (ceil): Define using libm_alias_double.
21403 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21404 (copysign): Define using libm_alias_double.
21405 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21406 (fabs): Define using libm_alias_double.
21407 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21408 (floor): Define using libm_alias_double.
21409 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21410 (fmax): Define using libm_alias_double.
21411 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21412 (fmin): Define using libm_alias_double.
21413 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21414 (lrint): Define using libm_alias_double.
21415 (llrint): Likewise.
21416 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21417 (lround): Define using libm_alias_double.
21418 (llround): Likewise.
21419 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21420 (rint): Define using libm_alias_double.
21421 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21422 (trunc): Define using libm_alias_double.
21424 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21425 (libm_alias_double_r): Add semicolon after weak_alias call.
21427 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21429 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21430 (ceil): Define using libm_alias_double.
21431 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21432 (floor): Define using libm_alias_double.
21433 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21434 (fma): Define using libm_alias_double.
21435 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21436 (fmax): Define using libm_alias_double.
21437 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21438 (fmin): Define using libm_alias_double.
21439 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21440 (llrint): Define using libm_alias_double.
21441 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21442 (llround): Define using libm_alias_double.
21443 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21444 (lrint): Define using libm_alias_double.
21445 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21446 (lround): Define using libm_alias_double.
21447 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21448 (nearbyint): Define using libm_alias_double.
21449 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21450 (rint): Define using libm_alias_double.
21451 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21452 (round): Define using libm_alias_double.
21453 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21454 (trunc): Define using libm_alias_double.
21456 2017-11-27 Florian Weimer <fweimer@redhat.com>
21458 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21459 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21460 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21461 (tests): Add tst-mlock2.
21462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21464 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21465 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21466 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21467 for mlock. Document mlock2.
21469 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21471 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21472 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21474 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21476 * sysdeps/x86/Makeconfig: New file.
21477 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21478 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21479 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21480 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21481 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21482 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21483 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21485 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21486 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21487 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21488 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21489 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21490 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21491 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21492 * manual/math.texi (Mathematics): Document support for _Float64x.
21493 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21494 * stdlib/Versions (GLIBC_2.27): Likewise.
21495 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21500 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21501 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21503 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21505 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21506 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21511 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21512 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21513 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21515 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21523 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21524 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21526 2017-11-27 Andreas Schwab <schwab@suse.de>
21528 * elf/Makefile (dl-routines): Add dl-sort-maps.
21529 * elf/dl-sort-maps.c: New file.
21530 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21531 (_dl_sort_maps): Declare.
21532 * elf/dl-fini.c (_dl_sort_fini): Remove.
21533 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21534 * elf/dl-close.c (_dl_close_worker): Likewise.
21535 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21537 * elf/dl-open.c (dl_open_worker): Likewise.
21539 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21541 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21542 using libm_alias_float128.
21543 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21545 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21547 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21548 (setpayloadsigf128): Likewise.
21549 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21551 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21554 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21555 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21556 -mfloat128 to CFLAGS.
21558 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21560 (CFLAGS-libm-test-support-float64x.c): New variable.
21561 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21562 $(f128-loader-link) to gnulib-tests.
21564 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21565 (libm_alias_float128_other_r): If
21566 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21568 (libm_alias_float128_r): Add semicolon after weak_alias call.
21569 * sysdeps/generic/libm-alias-ldouble.h
21570 (libm_alias_ldouble_other_r_f128): New macro.
21571 (libm_alias_ldouble_other_r_f64x): Likewise.
21572 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21573 and libm_alias_ldouble_other_r_f64x.
21574 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21575 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21576 (libm_alias_ldouble_other_r_f128): New macro.
21577 (libm_alias_ldouble_other_r_f64x): Likewise.
21578 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21579 and libm_alias_ldouble_other_r_f64x.
21581 * stdlib/strfroml.c: Always include <stdlib.h>.
21582 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21583 undefine as macro and define as weak alias.
21584 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21585 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21587 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21588 Define and later undefine as macro and define as weak alias.
21590 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21591 Define and later undefine as macro. Define as weak alias if
21593 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21594 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21595 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21596 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21597 Define and later undefine as macro. Define as weak alias if
21599 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21600 Define and later undefine as macro. Define as weak alias if
21602 * sysdeps/ieee754/float128/strtof128_l.c
21603 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21604 Define and later undefine as macro. Define as weak alias if
21606 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21607 Define and later undefine as macro. Define as weak alias if
21609 * sysdeps/ieee754/ldbl-128/strtold_l.c
21610 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21611 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21612 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21613 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21614 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21615 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21616 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21617 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21618 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21619 * sysdeps/ieee754/ldbl-96/strtold_l.c
21620 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21621 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21622 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21623 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21625 * math/test-float64x.h: New file.
21626 * math/Makefile (type-float64x-yes): New variable.
21627 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21629 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21630 function-like macro.
21631 (min_of_type_): Likewise.
21632 (min_of_type_l): Likewise.
21633 (min_of_type_f128): Likewise.
21634 (min_of_type): Pass () as last argument of __MATH_TG.
21636 * stdlib/tst-strtod-round-skeleton.c
21637 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21640 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21641 for combinations of long double with _Float64 and _Float64x.
21643 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21644 (__DECL_SIMD_cosf32): Likewise.
21645 (__DECL_SIMD_cosf64): Likewise.
21646 (__DECL_SIMD_cosf32x): Likewise.
21647 (__DECL_SIMD_cosf64x): Likewise.
21648 (__DECL_SIMD_cosf128x): Likewise.
21649 (__DECL_SIMD_sinf16): Likewise.
21650 (__DECL_SIMD_sinf32): Likewise.
21651 (__DECL_SIMD_sinf64): Likewise.
21652 (__DECL_SIMD_sinf32x): Likewise.
21653 (__DECL_SIMD_sinf64x): Likewise.
21654 (__DECL_SIMD_sinf128x): Likewise.
21655 (__DECL_SIMD_sincosf16): Likewise.
21656 (__DECL_SIMD_sincosf32): Likewise.
21657 (__DECL_SIMD_sincosf64): Likewise.
21658 (__DECL_SIMD_sincosf32x): Likewise.
21659 (__DECL_SIMD_sincosf64x): Likewise.
21660 (__DECL_SIMD_sincosf128x): Likewise.
21661 (__DECL_SIMD_logf16): Likewise.
21662 (__DECL_SIMD_logf32): Likewise.
21663 (__DECL_SIMD_logf64): Likewise.
21664 (__DECL_SIMD_logf32x): Likewise.
21665 (__DECL_SIMD_logf64x): Likewise.
21666 (__DECL_SIMD_logf128x): Likewise.
21667 (__DECL_SIMD_expf16): Likewise.
21668 (__DECL_SIMD_expf32): Likewise.
21669 (__DECL_SIMD_expf64): Likewise.
21670 (__DECL_SIMD_expf32x): Likewise.
21671 (__DECL_SIMD_expf64x): Likewise.
21672 (__DECL_SIMD_expf128x): Likewise.
21673 (__DECL_SIMD_powf16): Likewise.
21674 (__DECL_SIMD_powf32): Likewise.
21675 (__DECL_SIMD_powf64): Likewise.
21676 (__DECL_SIMD_powf32x): Likewise.
21677 (__DECL_SIMD_powf64x): Likewise.
21678 (__DECL_SIMD_powf128x): Likewise.
21680 * stdlib/Versions (libc): Move entries for wcstof128 and
21681 wcstof128_l to ....
21682 * wcsmbs/Versions (libc): ... here.
21683 Include <float128-abi.h>.
21685 2017-11-24 Florian Weimer <fweimer@redhat.com>
21687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21688 bits/mman-shared.h.
21689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21690 <bits/mman-shared.h>.
21691 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21693 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21694 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21695 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21696 <bits/mman-shared.h>.
21698 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21701 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21702 posix_memalign/free.
21703 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21705 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21708 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21709 and implement the collation rules for pl from CLDR on top of that.
21710 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21711 of locales to be built for testing.
21712 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21714 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21716 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21717 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21718 libm_alias_ldouble_other.
21719 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21720 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21721 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21722 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21723 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21724 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21725 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21726 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21727 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21728 libm_alias_ldouble_r.
21729 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21730 libm_alias_ldouble_other.
21731 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21732 (log10l): Likewise.
21733 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21734 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21735 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21736 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21737 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21738 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21739 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21740 (atan2l): Likewise.
21741 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21742 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21743 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21744 libm_alias_ldouble.
21745 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21747 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21748 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21749 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21751 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21752 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21753 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21754 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21755 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21756 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21757 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21758 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21759 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21760 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21761 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21762 libm_alias_ldouble.
21763 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21764 libm_alias_ldouble_other.
21765 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21766 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21767 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21768 libm_alias_ldouble.
21769 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21770 libm_alias_ldouble_other.
21771 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21772 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21773 * sysdeps/ia64/fpu/w_lgammal_main.c
21774 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21775 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21777 2017-11-23 Florian Weimer <fweimer@redhat.com>
21779 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21780 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21781 alike. Remove freeres marker.
21782 * malloc/arena.c (arena_thread_freeres): Call
21783 tcache_thread_shutdown.
21785 2017-11-23 Florian Weimer <fweimer@redhat.com>
21788 Export nscd hash function as __nss_hash.
21789 * include/nss.h (__nss_hash): Declare.
21790 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21792 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21793 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21795 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21796 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21797 * nss/Makefiles (routines): Add nss_hash.
21798 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21799 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21800 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21801 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21803 2017-11-23 Florian Weimer <fweimer@redhat.com>
21806 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21807 Return error code, not -1.
21808 * signal/tst-sigwait-eintr.c: New file.
21809 * signal/Makefile (tests): Add tst-sigwait-eintr.
21811 2017-11-23 Florian Weimer <fweimer@redhat.com>
21813 Linux: Add memfd_create system call wrapper
21814 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21817 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21818 [__USE_GNU] (memfd_create): Declare.
21819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21820 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21821 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21822 * sysdeps/unix/sysv/linux/**.abilist: Update.
21823 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21825 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21827 * localedata/gen-locale.sh: Fix typo in variable name.
21829 * resolv/res_debug.c (p_secstodate): Condition definition on
21830 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21831 directly as __p_secstodate, and as a compat symbol. Do not use
21832 libresolv_hidden_def.
21833 * resolv/resolv.h (p_secstodate): Remove macro and function
21835 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21836 using p_secstodate.
21837 * include/resolv.h (__p_secstodate): Do not use
21838 libresolv_hidden_proto.
21839 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21840 (tests-internal): ... here.
21841 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21842 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21843 and declare and use __p_secstodate and use compat_symbol_reference
21845 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21846 implementation returning 77.
21849 * resolv/res_debug.c: Include <libc-diag.h>.
21850 (p_secstodate): Assert time_t at least as wide as u_long. On
21851 overflow, use integer seconds since the epoch as output, or use
21852 "<overflow>" as output and set errno to EOVERFLOW if integer
21853 seconds since the epoch would be 14 or more characters.
21854 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21856 * resolv/tst-p_secstodate.c: New file.
21857 * resolv/Makefile (tests): Add tst-p_secstodate.
21858 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21860 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21861 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21862 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21864 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21866 * posix/regcomp.c (init_word_char): Add comments.
21868 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21871 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21872 strlen to compute length of ut_user and set trailing NUL byte of
21875 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21878 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21879 using “copy "iso14651_t1"” and then implementing the
21880 collation rules for lv from CLDR on top of that.
21881 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21882 of locales to be built for testing.
21883 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21886 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21888 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21889 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21890 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21891 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21892 [__USE_MISC] (MADV_HWPOISON): New macro.
21893 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21895 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21897 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21898 -Wmissing-braces on GCC 4.9.
21900 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21902 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21903 * sysdeps/s390/s390-32/start.S (_start): Likewise
21904 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21905 (thread_start): Likewise.
21906 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21907 (thread_start): Likewise.
21908 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21909 (__makecontext_ret): Likewise.
21910 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21911 (__makecontext_ret): Likewise.
21913 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21915 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21916 __wcschrnul): Remove attribute_hidden.
21918 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21920 regex: don't assume uint64_t or uint32_t
21921 This avoids -Werror=overflow errors for 32-bit systems in
21922 the 64-bit case. Problem reported by Joseph Myers in:
21923 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21924 Also, when this code is used in Gnulib it ports to platforms
21925 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21926 them, and on some 32-bit compilers there is no uint64_t.
21927 Problem reported by Gianluigi Tiesi in:
21928 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21929 * posix/regcomp.c (init_word_char): Don't assume that the types
21930 uint64_t and uint32_t exist. Adapted from Gnulib patch
21931 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21932 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21934 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21936 * sysdeps/aarch64/memset-reg.h: New file.
21937 * sysdeps/aarch64/memset.S: Use it.
21938 (__memset): Rename to MEMSET macro.
21939 [ZVA_MACRO]: Use zva_macro.
21940 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21941 Add memset_generic and memset_falkor.
21942 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21943 (__libc_ifunc_impl_list): Add memset ifuncs.
21944 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21945 local variable zva_size.
21946 * sysdeps/aarch64/multiarch/memset.c: New file.
21947 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21948 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21949 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21950 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21951 (DCZID_DZP_MASK): New macro.
21952 (DCZID_BS_MASK): Likewise.
21953 (init_cpu_features): Read and set zva_size.
21954 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21955 (struct cpu_features): New member zva_size.
21957 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21958 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21959 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21961 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21962 backwards. Fix timing computation.
21963 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21964 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21965 on memset by N at a time. Fix timing computation.
21967 2017-11-20 Florian Weimer <fweimer@redhat.com>
21969 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21970 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21972 2017-11-19 Florian Weimer <fweimer@redhat.com>
21974 manual: Document mprotect
21975 * manual/memory.texi (Memory Protection): New section.
21976 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21977 documentation of PROT_* flags and reference the Memory Protection
21980 2017-11-19 Florian Weimer <fweimer@redhat.com>
21982 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21983 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21984 (Scatter-Gather): ... to here. Remove misleading comment.
21986 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21988 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21991 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21992 when /proc/<pid>/setgroups does not exist.
21994 2017-11-18 Florian Weimer <fweimer@redhat.com>
21996 * sysdeps/unix/sysv/linux/tst-ttyname.c
21997 (become_root_in_mount_ns): Remove.
21998 (do_in_chroot_1): Call support_enter_mount_namespace.
21999 (do_in_chroot_2): Likewise.
22000 (do_test): Call support_become_root early.
22002 2017-11-18 Florian Weimer <fweimer@redhat.com>
22004 * support/namespace.h (support_enter_mount_namespace): Declare.
22005 * support/support_enter_mount_namespace.c: New file.
22006 * support/Makefile (libsupport-routines): Add
22007 support_enter_mount_namespace.
22009 2017-11-18 Florian Weimer <fweimer@redhat.com>
22011 * support/temp_file.c (support_create_temp_directory): Use
22012 test_dir and do not rely on the presence of the XXXXXX suffix.
22013 * support/temp_file.h (support_create_temp_directory): Update
22015 * support/tst-xreadlink.c (do_test): Adjust.
22016 * support/support_chroot.c (support_chroot_create): Likewise.
22018 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22020 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22022 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22025 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22027 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22028 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22029 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22030 (ceill): Define using libm_alias_ldouble.
22031 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22032 <libm-alias-ldouble.h>.
22033 (copysignl): Define using libm_alias_ldouble.
22034 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22035 (fabsl): Define using libm_alias_ldouble.
22036 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22037 (floorl): Define using libm_alias_ldouble.
22038 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22039 (fmaxl): Define using libm_alias_ldouble.
22040 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22041 (fminl): Define using libm_alias_ldouble.
22042 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22043 (llrintl): Define using libm_alias_ldouble.
22044 (lrintl): Likewise.
22045 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22046 <libm-alias-ldouble.h>.
22047 (nearbyintl): Define using libm_alias_ldouble.
22048 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22049 (truncl): Define using libm_alias_ldouble.
22050 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22051 <libm-alias-ldouble.h>.
22052 (lrintl): Define using libm_alias_ldouble.
22054 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22055 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22056 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22057 (asinhl): Define using libm_alias_ldouble.
22058 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22059 (atanl): Define using libm_alias_ldouble.
22060 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22061 (cbrtl): Define using libm_alias_ldouble.
22062 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22063 (ceill): Define using libm_alias_ldouble.
22064 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22065 (copysignl): Define using libm_alias_ldouble.
22066 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22067 (fabsl): Define using libm_alias_ldouble.
22068 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22069 (floorl): Define using libm_alias_ldouble.
22070 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22071 (fmaxl): Define using libm_alias_ldouble.
22072 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22073 (fminl): Define using libm_alias_ldouble.
22074 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22075 (frexpl): Define using libm_alias_ldouble.
22076 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22077 (llrintl): Define using libm_alias_ldouble.
22078 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22079 (logbl): Define using libm_alias_ldouble.
22080 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22081 (lrintl): Define using libm_alias_ldouble.
22082 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22083 (nearbyintl): Define using libm_alias_ldouble.
22084 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22085 (nextafterl): Define using libm_alias_ldouble.
22086 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22087 (remquol): Define using libm_alias_ldouble.
22088 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22089 (rintl): Define using libm_alias_ldouble.
22090 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22091 (truncl): Define using libm_alias_ldouble.
22092 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22093 (fmaxl): Define using libm_alias_ldouble.
22094 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22095 (fminl): Define using libm_alias_ldouble.
22097 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22098 to C syntax instead of availability and properties of types.
22099 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22100 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22101 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22102 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22103 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22104 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22106 2017-11-17 Florian Weimer <fweimer@redhat.com>
22108 support_become_root: Enable file creation in namespaces.
22109 * support/support_become_root.c (setup_mapping): New function.
22110 (support_become_root): Call it.
22112 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22114 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22117 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22119 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22120 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22122 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22124 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22126 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22129 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22131 * INSTALL: Fix botched up regeneration.
22133 * NEWS: Update sourceare link to https.
22134 * configure.ac: Likewise.
22135 * crypt/md5test-giant.c: Likewise.
22136 * dlfcn/bug-atexit1.c: Likewise.
22137 * dlfcn/bug-atexit2.c: Likewise.
22138 * localedata/README: Likewise.
22139 * malloc/tst-mallocfork.c: Likewise.
22140 * manual/install.texi: Likewise.
22141 * nptl/tst-pthread-getattr.c: Likewise.
22142 * stdio-common/tst-fgets.c: Likewise.
22143 * stdio-common/tst-fwrite.c: Likewise.
22144 * sunrpc/Makefile: Likewise.
22145 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22146 * wcsmbs/tst-mbrtowc2.c: Likewise.
22147 * configure: Regenerate.
22148 * INSTALL: Regenerate.
22150 2017-11-15 Martin Sebor <msebor@redhat.com>
22152 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22153 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22154 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22156 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22159 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22160 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22164 Defer is_pty check until end of the function.
22165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22168 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22169 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22170 (ttyname): Likewise.
22171 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22172 (__ttyname_r): Likewise.
22174 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22177 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22179 * manual/terminal.texi (Is It a Terminal):
22180 Mention ENODEV for ttyname and ttyname_r.
22182 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22184 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22185 constant and macro.
22187 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22188 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22189 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22190 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22191 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22192 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22194 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22196 * signal/sigrelse.c (sigrelse): Optimize implementation.
22198 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22199 (__sigpause): Rely on __sigsuspend to implement single thread
22200 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22202 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22204 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22205 kernel version to 4.14.
22207 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22210 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22211 Check if ifname is too long.
22213 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22215 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22217 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22219 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22220 was accidentally lost.
22222 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22224 * localedata/locales/az_IR: Add standard copyright header.
22226 2017-11-15 Florian Weimer <fweimer@redhat.com>
22229 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22230 not just the top one. Output a new "subheaps" statistic.
22232 2017-11-15 Florian Weimer <fweimer@redhat.com>
22235 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22236 under the per-arena lock.
22237 * malloc/Makefile (tests): Add tst-malloc_info.
22238 (tst-malloc_info): Link with libpthread.
22239 * malloc/tst-malloc_info.c: New file.
22241 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22244 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22245 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22246 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22247 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22248 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22249 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22250 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22251 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22252 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22254 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22255 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22256 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22257 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22258 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22259 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22260 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22261 (__floating_type): Likewise.
22262 (__real_integer_type): Likewise.
22263 (__complex_integer_type): Likewise.
22264 (__expr_is_real): Likewise.
22265 (__tgmath_real_type_sub): Likewise.
22266 (__tgmath_real_type): Likewise.
22267 (__tgmath_complex_type_sub): Likewise.
22268 (__tgmath_complex_type): Likewise.
22269 (__TGMATH_F128): Likewise.
22270 (__TGMATH_CF128): Likewise.
22271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22273 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22276 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22278 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22279 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22280 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22281 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22283 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22284 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22286 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22287 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22288 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22290 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22291 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22292 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22296 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22298 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22299 for stpncpy calls for GCC 8.
22300 (test_strncat): Disable -Wstringop-truncation warning for strncat
22301 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22302 strncat call for GCC 7.
22303 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22305 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22308 * string/bug-strncat1.c: Include <libc-diag.h>.
22309 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22311 2017-11-13 Claude Paroz <claude@2xlibre.net>
22314 * localedata/locales/aa_DJ: Improved readibility by replacing
22315 <Uxxxx> sequences in the ASCII printable range by their ASCII
22316 character equivalents.
22317 * localedata/locales/aa_ER: Likewise.
22318 * localedata/locales/aa_ER@saaho: Likewise.
22319 * localedata/locales/aa_ET: Likewise.
22320 * localedata/locales/af_ZA: Likewise.
22321 * localedata/locales/agr_PE: Likewise.
22322 * localedata/locales/ak_GH: Likewise.
22323 * localedata/locales/am_ET: Likewise.
22324 * localedata/locales/anp_IN: Likewise.
22325 * localedata/locales/ar_AE: Likewise.
22326 * localedata/locales/ar_BH: Likewise.
22327 * localedata/locales/ar_DZ: Likewise.
22328 * localedata/locales/ar_EG: Likewise.
22329 * localedata/locales/ar_IN: Likewise.
22330 * localedata/locales/ar_IQ: Likewise.
22331 * localedata/locales/ar_JO: Likewise.
22332 * localedata/locales/ar_KW: Likewise.
22333 * localedata/locales/ar_LB: Likewise.
22334 * localedata/locales/ar_LY: Likewise.
22335 * localedata/locales/ar_MA: Likewise.
22336 * localedata/locales/ar_OM: Likewise.
22337 * localedata/locales/ar_QA: Likewise.
22338 * localedata/locales/ar_SA: Likewise.
22339 * localedata/locales/ar_SD: Likewise.
22340 * localedata/locales/ar_SS: Likewise.
22341 * localedata/locales/ar_SY: Likewise.
22342 * localedata/locales/ar_TN: Likewise.
22343 * localedata/locales/ar_YE: Likewise.
22344 * localedata/locales/as_IN: Likewise.
22345 * localedata/locales/ast_ES: Likewise.
22346 * localedata/locales/ayc_PE: Likewise.
22347 * localedata/locales/az_AZ: Likewise.
22348 * localedata/locales/az_IR: Likewise.
22349 * localedata/locales/be_BY: Likewise.
22350 * localedata/locales/be_BY@latin: Likewise.
22351 * localedata/locales/bem_ZM: Likewise.
22352 * localedata/locales/ber_DZ: Likewise.
22353 * localedata/locales/ber_MA: Likewise.
22354 * localedata/locales/bg_BG: Likewise.
22355 * localedata/locales/bhb_IN: Likewise.
22356 * localedata/locales/bho_IN: Likewise.
22357 * localedata/locales/bi_VU: Likewise.
22358 * localedata/locales/bn_BD: Likewise.
22359 * localedata/locales/bn_IN: Likewise.
22360 * localedata/locales/bo_CN: Likewise.
22361 * localedata/locales/bo_IN: Likewise.
22362 * localedata/locales/br_FR: Likewise.
22363 * localedata/locales/brx_IN: Likewise.
22364 * localedata/locales/bs_BA: Likewise.
22365 * localedata/locales/byn_ER: Likewise.
22366 * localedata/locales/ca_AD: Likewise.
22367 * localedata/locales/ca_ES: Likewise.
22368 * localedata/locales/ca_FR: Likewise.
22369 * localedata/locales/ca_IT: Likewise.
22370 * localedata/locales/ce_RU: Likewise.
22371 * localedata/locales/chr_US: Likewise.
22372 * localedata/locales/cmn_TW: Likewise.
22373 * localedata/locales/crh_UA: Likewise.
22374 * localedata/locales/cs_CZ: Likewise.
22375 * localedata/locales/csb_PL: Likewise.
22376 * localedata/locales/cv_RU: Likewise.
22377 * localedata/locales/cy_GB: Likewise.
22378 * localedata/locales/da_DK: Likewise.
22379 * localedata/locales/de_AT: Likewise.
22380 * localedata/locales/de_BE: Likewise.
22381 * localedata/locales/de_CH: Likewise.
22382 * localedata/locales/de_DE: Likewise.
22383 * localedata/locales/de_IT: Likewise.
22384 * localedata/locales/de_LI: Likewise.
22385 * localedata/locales/de_LU: Likewise.
22386 * localedata/locales/doi_IN: Likewise.
22387 * localedata/locales/dv_MV: Likewise.
22388 * localedata/locales/dz_BT: Likewise.
22389 * localedata/locales/el_CY: Likewise.
22390 * localedata/locales/el_GR: Likewise.
22391 * localedata/locales/en_AG: Likewise.
22392 * localedata/locales/en_AU: Likewise.
22393 * localedata/locales/en_BW: Likewise.
22394 * localedata/locales/en_CA: Likewise.
22395 * localedata/locales/en_DK: Likewise.
22396 * localedata/locales/en_GB: Likewise.
22397 * localedata/locales/en_HK: Likewise.
22398 * localedata/locales/en_IE: Likewise.
22399 * localedata/locales/en_IL: Likewise.
22400 * localedata/locales/en_IN: Likewise.
22401 * localedata/locales/en_NG: Likewise.
22402 * localedata/locales/en_NZ: Likewise.
22403 * localedata/locales/en_PH: Likewise.
22404 * localedata/locales/en_SG: Likewise.
22405 * localedata/locales/en_US: Likewise.
22406 * localedata/locales/en_ZA: Likewise.
22407 * localedata/locales/en_ZM: Likewise.
22408 * localedata/locales/en_ZW: Likewise.
22409 * localedata/locales/eo: Likewise.
22410 * localedata/locales/es_AR: Likewise.
22411 * localedata/locales/es_BO: Likewise.
22412 * localedata/locales/es_CL: Likewise.
22413 * localedata/locales/es_CO: Likewise.
22414 * localedata/locales/es_CR: Likewise.
22415 * localedata/locales/es_CU: Likewise.
22416 * localedata/locales/es_DO: Likewise.
22417 * localedata/locales/es_EC: Likewise.
22418 * localedata/locales/es_ES: Likewise.
22419 * localedata/locales/es_GT: Likewise.
22420 * localedata/locales/es_HN: Likewise.
22421 * localedata/locales/es_MX: Likewise.
22422 * localedata/locales/es_NI: Likewise.
22423 * localedata/locales/es_PA: Likewise.
22424 * localedata/locales/es_PE: Likewise.
22425 * localedata/locales/es_PR: Likewise.
22426 * localedata/locales/es_PY: Likewise.
22427 * localedata/locales/es_SV: Likewise.
22428 * localedata/locales/es_US: Likewise.
22429 * localedata/locales/es_UY: Likewise.
22430 * localedata/locales/es_VE: Likewise.
22431 * localedata/locales/et_EE: Likewise.
22432 * localedata/locales/eu_ES: Likewise.
22433 * localedata/locales/eu_ES@euro: Likewise.
22434 * localedata/locales/fa_IR: Likewise.
22435 * localedata/locales/ff_SN: Likewise.
22436 * localedata/locales/fi_FI: Likewise.
22437 * localedata/locales/fil_PH: Likewise.
22438 * localedata/locales/fo_FO: Likewise.
22439 * localedata/locales/fr_BE: Likewise.
22440 * localedata/locales/fr_CA: Likewise.
22441 * localedata/locales/fr_CH: Likewise.
22442 * localedata/locales/fr_FR: Likewise.
22443 * localedata/locales/fr_LU: Likewise.
22444 * localedata/locales/fur_IT: Likewise.
22445 * localedata/locales/fy_DE: Likewise.
22446 * localedata/locales/fy_NL: Likewise.
22447 * localedata/locales/ga_IE: Likewise.
22448 * localedata/locales/gd_GB: Likewise.
22449 * localedata/locales/gez_ER: Likewise.
22450 * localedata/locales/gez_ET: Likewise.
22451 * localedata/locales/gl_ES: Likewise.
22452 * localedata/locales/gu_IN: Likewise.
22453 * localedata/locales/gv_GB: Likewise.
22454 * localedata/locales/ha_NG: Likewise.
22455 * localedata/locales/hak_TW: Likewise.
22456 * localedata/locales/he_IL: Likewise.
22457 * localedata/locales/hi_IN: Likewise.
22458 * localedata/locales/hif_FJ: Likewise.
22459 * localedata/locales/hne_IN: Likewise.
22460 * localedata/locales/hr_HR: Likewise.
22461 * localedata/locales/hsb_DE: Likewise.
22462 * localedata/locales/ht_HT: Likewise.
22463 * localedata/locales/hu_HU: Likewise.
22464 * localedata/locales/hy_AM: Likewise.
22465 * localedata/locales/i18n: Likewise.
22466 * localedata/locales/ia_FR: Likewise.
22467 * localedata/locales/id_ID: Likewise.
22468 * localedata/locales/ig_NG: Likewise.
22469 * localedata/locales/ik_CA: Likewise.
22470 * localedata/locales/is_IS: Likewise.
22471 * localedata/locales/it_CH: Likewise.
22472 * localedata/locales/it_IT: Likewise.
22473 * localedata/locales/iu_CA: Likewise.
22474 * localedata/locales/ja_JP: Likewise.
22475 * localedata/locales/ka_GE: Likewise.
22476 * localedata/locales/kk_KZ: Likewise.
22477 * localedata/locales/kl_GL: Likewise.
22478 * localedata/locales/kn_IN: Likewise.
22479 * localedata/locales/ko_KR: Likewise.
22480 * localedata/locales/kok_IN: Likewise.
22481 * localedata/locales/ks_IN: Likewise.
22482 * localedata/locales/ks_IN@devanagari: Likewise.
22483 * localedata/locales/ku_TR: Likewise.
22484 * localedata/locales/kw_GB: Likewise.
22485 * localedata/locales/ky_KG: Likewise.
22486 * localedata/locales/lb_LU: Likewise.
22487 * localedata/locales/lg_UG: Likewise.
22488 * localedata/locales/li_BE: Likewise.
22489 * localedata/locales/li_NL: Likewise.
22490 * localedata/locales/lij_IT: Likewise.
22491 * localedata/locales/ln_CD: Likewise.
22492 * localedata/locales/lo_LA: Likewise.
22493 * localedata/locales/lt_LT: Likewise.
22494 * localedata/locales/lv_LV: Likewise.
22495 * localedata/locales/lzh_TW: Likewise.
22496 * localedata/locales/mag_IN: Likewise.
22497 * localedata/locales/mai_IN: Likewise.
22498 * localedata/locales/mg_MG: Likewise.
22499 * localedata/locales/mhr_RU: Likewise.
22500 * localedata/locales/mi_NZ: Likewise.
22501 * localedata/locales/mk_MK: Likewise.
22502 * localedata/locales/ml_IN: Likewise.
22503 * localedata/locales/mn_MN: Likewise.
22504 * localedata/locales/mni_IN: Likewise.
22505 * localedata/locales/mr_IN: Likewise.
22506 * localedata/locales/ms_MY: Likewise.
22507 * localedata/locales/mt_MT: Likewise.
22508 * localedata/locales/my_MM: Likewise.
22509 * localedata/locales/nan_TW: Likewise.
22510 * localedata/locales/nan_TW@latin: Likewise.
22511 * localedata/locales/nb_NO: Likewise.
22512 * localedata/locales/nds_DE: Likewise.
22513 * localedata/locales/nds_NL: Likewise.
22514 * localedata/locales/ne_NP: Likewise.
22515 * localedata/locales/nhn_MX: Likewise.
22516 * localedata/locales/niu_NU: Likewise.
22517 * localedata/locales/niu_NZ: Likewise.
22518 * localedata/locales/nl_AW: Likewise.
22519 * localedata/locales/nl_BE: Likewise.
22520 * localedata/locales/nl_NL: Likewise.
22521 * localedata/locales/nn_NO: Likewise.
22522 * localedata/locales/nr_ZA: Likewise.
22523 * localedata/locales/nso_ZA: Likewise.
22524 * localedata/locales/oc_FR: Likewise.
22525 * localedata/locales/om_ET: Likewise.
22526 * localedata/locales/om_KE: Likewise.
22527 * localedata/locales/or_IN: Likewise.
22528 * localedata/locales/os_RU: Likewise.
22529 * localedata/locales/pa_IN: Likewise.
22530 * localedata/locales/pa_PK: Likewise.
22531 * localedata/locales/pap_AW: Likewise.
22532 * localedata/locales/pap_CW: Likewise.
22533 * localedata/locales/pl_PL: Likewise.
22534 * localedata/locales/ps_AF: Likewise.
22535 * localedata/locales/pt_BR: Likewise.
22536 * localedata/locales/pt_PT: Likewise.
22537 * localedata/locales/quz_PE: Likewise.
22538 * localedata/locales/raj_IN: Likewise.
22539 * localedata/locales/ro_RO: Likewise.
22540 * localedata/locales/ru_RU: Likewise.
22541 * localedata/locales/ru_UA: Likewise.
22542 * localedata/locales/rw_RW: Likewise.
22543 * localedata/locales/sa_IN: Likewise.
22544 * localedata/locales/sat_IN: Likewise.
22545 * localedata/locales/sc_IT: Likewise.
22546 * localedata/locales/sd_IN: Likewise.
22547 * localedata/locales/sd_IN@devanagari: Likewise.
22548 * localedata/locales/se_NO: Likewise.
22549 * localedata/locales/sgs_LT: Likewise.
22550 * localedata/locales/shs_CA: Likewise.
22551 * localedata/locales/si_LK: Likewise.
22552 * localedata/locales/sid_ET: Likewise.
22553 * localedata/locales/sk_SK: Likewise.
22554 * localedata/locales/sl_SI: Likewise.
22555 * localedata/locales/sm_WS: Likewise.
22556 * localedata/locales/so_DJ: Likewise.
22557 * localedata/locales/so_ET: Likewise.
22558 * localedata/locales/so_KE: Likewise.
22559 * localedata/locales/so_SO: Likewise.
22560 * localedata/locales/sq_AL: Likewise.
22561 * localedata/locales/sq_MK: Likewise.
22562 * localedata/locales/sr_ME: Likewise.
22563 * localedata/locales/sr_RS: Likewise.
22564 * localedata/locales/sr_RS@latin: Likewise.
22565 * localedata/locales/ss_ZA: Likewise.
22566 * localedata/locales/st_ZA: Likewise.
22567 * localedata/locales/sv_FI: Likewise.
22568 * localedata/locales/sv_SE: Likewise.
22569 * localedata/locales/sw_KE: Likewise.
22570 * localedata/locales/sw_TZ: Likewise.
22571 * localedata/locales/szl_PL: Likewise.
22572 * localedata/locales/ta_IN: Likewise.
22573 * localedata/locales/ta_LK: Likewise.
22574 * localedata/locales/tcy_IN: Likewise.
22575 * localedata/locales/te_IN: Likewise.
22576 * localedata/locales/tg_TJ: Likewise.
22577 * localedata/locales/th_TH: Likewise.
22578 * localedata/locales/the_NP: Likewise.
22579 * localedata/locales/ti_ER: Likewise.
22580 * localedata/locales/ti_ET: Likewise.
22581 * localedata/locales/tig_ER: Likewise.
22582 * localedata/locales/tk_TM: Likewise.
22583 * localedata/locales/tl_PH: Likewise.
22584 * localedata/locales/tn_ZA: Likewise.
22585 * localedata/locales/to_TO: Likewise.
22586 * localedata/locales/tpi_PG: Likewise.
22587 * localedata/locales/tr_CY: Likewise.
22588 * localedata/locales/tr_TR: Likewise.
22589 * localedata/locales/ts_ZA: Likewise.
22590 * localedata/locales/tt_RU: Likewise.
22591 * localedata/locales/tt_RU@iqtelif: Likewise.
22592 * localedata/locales/ug_CN: Likewise.
22593 * localedata/locales/uk_UA: Likewise.
22594 * localedata/locales/unm_US: Likewise.
22595 * localedata/locales/ur_IN: Likewise.
22596 * localedata/locales/ur_PK: Likewise.
22597 * localedata/locales/uz_UZ: Likewise.
22598 * localedata/locales/uz_UZ@cyrillic: Likewise.
22599 * localedata/locales/ve_ZA: Likewise.
22600 * localedata/locales/vi_VN: Likewise.
22601 * localedata/locales/wa_BE: Likewise.
22602 * localedata/locales/wae_CH: Likewise.
22603 * localedata/locales/wal_ET: Likewise.
22604 * localedata/locales/wo_SN: Likewise.
22605 * localedata/locales/xh_ZA: Likewise.
22606 * localedata/locales/yi_US: Likewise.
22607 * localedata/locales/yo_NG: Likewise.
22608 * localedata/locales/yue_HK: Likewise.
22609 * localedata/locales/yuw_PG: Likewise.
22610 * localedata/locales/zh_CN: Likewise.
22611 * localedata/locales/zh_HK: Likewise.
22612 * localedata/locales/zh_SG: Likewise.
22613 * localedata/locales/zh_TW: Likewise.
22614 * localedata/locales/zu_ZA: Likewise.
22616 2017-11-13 Florian Weimer <fweimer@redhat.com>
22618 * support/next_to_fault.h, support/next_to_fault.c: New files.
22619 * support/Makefile (libsupport-routines): Add next_to_fault.
22620 * resolv/tst-inet_pton.c (struct next_to_fault)
22621 (next_to_fault_allocate, next_to_fault_free): Remove.
22622 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22624 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22626 * elf/dl-support.c: Include <dl-procruntime.c>.
22627 * include/link.h: Include <link_map.h>.
22628 * sysdeps/generic/dl-procruntime.c: New file.
22629 * sysdeps/generic/link_map.h: Likewise.
22630 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22631 the writable ld.so namespace.
22633 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22635 timezone: pacify GCC -Wstringop-truncation
22636 Problem reported by Martin Sebor in:
22637 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22638 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22640 2017-11-12 Florian Weimer <fweimer@redhat.com>
22642 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22644 (tests): Add tst-xreadlink.
22645 * support/support.h (xstrndup): Declare.
22646 * support/xunistd.h (xunlink, xreadlink): Declare.
22647 * support/temp_file.h (support_create_temp_directory): Declare.
22648 * support/temp_file.c (support_create_temp_directory): New function.
22649 * support/support_chroot.c (support_chroot_create): Use it.
22650 * support/xreadlink.c: New file.
22651 * support/xstrndup.c: Likewise.
22652 * support/xunlink.c: Likewise.
22653 * support/tst-xreadlink.c: Likewise.
22655 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22657 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22659 2017-11-11 Florian Weimer <fweimer@redhat.com>
22663 * resolv/res_comp.c (printable_string, binary_hnok)
22664 (binary_leading_dash): New functions.
22665 (res_hnok): Reimplement using these functions and ns_name_pton.
22666 (res_ownok): Likewise.
22667 (res_mailok): Reimplement using printable_string, ns_name_pton and
22669 (res_dnok): Reimplement using printable_string and ns_name_pton.
22670 * resolv/tst-res_hnok.c (tests): Add additional tests.
22671 (LETTERDIGITS, PRINTABLE): Define.
22672 (do_test): Adjust one_char results.
22674 2017-11-11 Florian Weimer <fweimer@redhat.com>
22677 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22678 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22680 2017-11-11 Florian Weimer <fweimer@redhat.com>
22682 * resolv/tst-ns_name_pton.c: New file.
22683 * resolv/Makefile (tests): Add tst-ns_name_pton.
22684 (tst-ns_name_pton): Link against libresolv.
22686 2017-11-11 Florian Weimer <fweimer@redhat.com>
22688 * resolv/tst-res_hnok.c: New file.
22689 * resolv/Makefile (tests): Add tst-res_hnok.
22690 (tst-res_hnok): Link against libresolv.
22692 2017-11-11 Florian Weimer <fweimer@redhat.com>
22694 * resolv/tst-resolv-network.c: Use test framework instead explicit
22697 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22699 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22700 <jmp_buf-macros.h>.
22701 [!_ISOMAC] (STR_HELPER): New.
22702 [!_ISOMAC] (STR): Likewise.
22703 [!_ISOMAC] (TEST_SIZE): Likewise.
22704 [!_ISOMAC] (TEST_ALIGN): Likewise.
22705 [!_ISOMAC] (TEST_OFFSET): Likewise.
22706 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22707 field offsets of jmp_buf as well as sigjmp_buf.
22708 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22709 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22710 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22711 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22712 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22713 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22714 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22715 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22716 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22717 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22719 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22721 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22726 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22727 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22728 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22729 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22730 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22735 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22736 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22737 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22739 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22743 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22745 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22747 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22749 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22751 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22753 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22755 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22757 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22759 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22761 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22763 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22765 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22767 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22769 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22771 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22773 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22775 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22777 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22779 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22781 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22783 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22785 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22787 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22789 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22791 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22793 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22795 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22797 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22799 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22801 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22803 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22805 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22807 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22809 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22811 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22813 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22815 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22817 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22819 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22821 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22823 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22825 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22827 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22829 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22831 * stdlib/tst-strtod.h (F16): New macro.
22837 (IF_FLOAT16): Likewise.
22838 (IF_FLOAT32): Likewise.
22839 (IF_FLOAT64): Likewise.
22840 (IF_FLOAT32X): Likewise.
22841 (IF_FLOAT64X): Likewise.
22842 (IF_FLOAT128X): Likewise.
22843 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22844 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22845 (STRTOD_TEST_FOREACH): Likewise.
22846 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22847 (CHOOSE_f64): Likewise.
22848 (CHOOSE_f32x): Likewise.
22849 (CHOOSE_f64x): Likewise.
22851 2017-11-07 Andreas Schwab <schwab@suse.de>
22853 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22855 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22858 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22860 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22863 2017-11-07 Claude Paroz <claude@2xlibre.net>
22866 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22868 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22870 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22873 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22876 * nptl/allocatestack.c (allocate_stack): Check if
22877 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22878 __PTHREAD_MUTEX_HAVE_PREV is defined.
22879 * nptl/descr.h (pthread): Likewise.
22880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22882 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22883 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22884 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22885 * sysdeps/nptl/bits/thread-shared-types.h
22886 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22888 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22889 of __WORDSIZE for internal layout.
22890 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22891 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22892 instead of __WORDSIZE whether to use an union for __spins and __list
22894 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22896 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22899 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22902 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22905 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22908 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22909 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22911 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22912 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22914 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22917 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22920 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22923 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22926 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22927 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22929 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22930 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22932 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22933 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22935 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22936 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22938 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22939 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22942 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22944 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22945 checks for expected input type size.
22946 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22947 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22949 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22950 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22951 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22952 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22953 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22954 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22955 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22956 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22957 superflous runtime assert check.
22958 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22960 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22962 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22964 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22966 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22968 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22970 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22971 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22972 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22974 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22976 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22978 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22980 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22982 * nptl/pthread_attr_setinheritsched.c
22983 (__pthread_attr_setinheritsched): Likewise.
22984 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22986 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22988 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22989 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22990 __old_pthread_attr_setstack): Likewise.
22991 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22993 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22995 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22997 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22998 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23000 * nptl/tst-typesizes.c: Remove file.
23002 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23003 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23004 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23005 checks for internal pthread_mutex_t offsets.
23006 * sysdeps/aarch64/nptl/pthread-offsets.h
23007 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23008 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23009 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23010 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23011 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23012 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23013 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23014 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23015 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23016 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23017 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23018 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23019 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23020 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23021 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23022 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23023 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23024 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23026 2017-11-07 Florian Weimer <fweimer@redhat.com>
23028 * bits/mman-linux.h: Move ...
23029 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23031 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23034 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23036 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23037 Redefine STRNLEN as __strnlen_power8.
23039 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23041 * signal/sighold.c (sighold): Optimize implementation.
23043 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23044 __NR_rt_sigqueueinfo.
23046 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23048 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23049 assume __NR_rt_sigtimedwait.
23050 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23051 and add LIBC_CANCEL_HANDLED for cancellation marking.
23052 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23054 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23055 (sysdeps_routines): Add memchr_noneon.
23056 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23057 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23058 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23059 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23060 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23061 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23062 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23064 * sysdeps/arm/arm-ifunc.h: New file.
23065 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23066 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23067 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23068 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23069 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23070 (__memcpy_neon): Avoid create hidden alias.
23071 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23072 (__memcpy_vfp): Likewise.
23073 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23074 (sysdep_routines): Add memcpy_arm.
23075 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23077 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23080 * Makerules (make-link-multidir): New.
23081 * config.make.in (multidir): New.
23082 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23083 * configure: Regenerated.
23084 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23085 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23086 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23089 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23092 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23093 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23095 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23097 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23100 2017-11-04 Florian Weimer <fweimer@redhat.com>
23102 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23104 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23106 * math/math.h [__HAVE_DISTINCT_FLOAT16
23107 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23108 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23109 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23110 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23111 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23112 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23113 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23114 (__MATH_TG_F32): New macro.
23115 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23116 (__MATH_TG_F64X): Likewise.
23117 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23118 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23120 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23122 * po/de.po: Update translations.
23123 * po/ru.po: Likewise.
23125 2017-11-03 Florian Weimer <fweimer@redhat.com>
23127 * manual/filesys.texi (Hard Links): Document linkat.
23129 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23131 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23132 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23133 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23134 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23135 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23136 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23137 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23138 the same as _Float128.
23139 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23140 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23141 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23144 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23146 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23148 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23150 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23151 (strtof32x): Likewise.
23152 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23153 (strtof64x): Likewise.
23154 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23155 (strtof128x): Likewise.
23156 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23157 (strfromf16): Likewise.
23158 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23159 (strfromf32): Likewise.
23160 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23161 (strfromf64): Likewise.
23162 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23163 (strfromf32x): Likewise.
23164 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23165 (strfromf64x): Likewise.
23166 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23167 (strfromf128x): Likewise.
23168 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23169 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23170 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23171 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23172 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23173 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23175 2017-11-03 Richard Henderson <rth@twiddle.net>
23177 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23179 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23181 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23183 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23185 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23186 DT_TLSDESC_GOT initialization.
23187 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23188 (_dl_tlsdesc_resolve_hold): Likewise.
23189 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23190 (_dl_tlsdesc_resolve_hold): Likewise.
23191 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23192 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23194 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23196 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23198 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23201 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23202 non-lazily for R_ARM_TLS_DESC.
23204 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23207 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23208 R_ARM_TLS_DESC case.
23209 (elf_machine_lazy_rel): Remove the prelink check.
23211 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23213 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23214 DT_TLSDESC_GOT initialization.
23215 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23216 (_dl_tlsdesc_resolve_rela): Likewise.
23217 (_dl_tlsdesc_resolve_hold): Likewise.
23218 (_dl_tlsdesc_undefweak): Remove ldar.
23219 (_dl_tlsdesc_dynamic): Likewise.
23220 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23221 (_dl_tlsdesc_resolve_rela): Likewise.
23222 (_dl_tlsdesc_resolve_hold): Likewise.
23223 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23224 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23225 (_dl_tlsdesc_resolve_rela): Likewise.
23226 (_dl_tlsdesc_resolve_hold): Likewise.
23228 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23230 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23231 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23233 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23235 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23236 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23238 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23240 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23242 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23243 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23244 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23245 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23246 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23247 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23248 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23249 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23250 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23251 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23252 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23254 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23257 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23258 * localedata/locales/tpi_PG: Add standard header.
23260 2017-11-02 Florian Weimer <fweimer@redhat.com>
23262 test-errno-linux: quotactl can fail with EPERM in containers.
23263 * sysdeps/unix/sysv/linux/test-errno-linux.c
23264 (LIST, LIST_FORWARD): New macros.
23265 (check_error_in_list): New function.
23266 (test_wrp_rv): Accept list of permitted error codes.
23267 (test_wrp_rv2): Remove.
23268 (test_wrp): Call test_wrp_rv with list of error codes.
23269 (test_wrp2): Accept list of error codes.
23270 (do_test): Adjust. Allow EPERM for quotactl.
23272 2017-11-02 Florian Weimer <fweimer@redhat.com>
23274 * stdio-common/bug16.c (do_test): Use array_length.
23275 * stdio-common/errlist.c (_sys_nerr): Likewise.
23276 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23277 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23278 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23279 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23280 (do_test): Use array_length.
23281 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23282 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23283 * stdio-common/tst-printf-round.c (do_test): Likewise.
23284 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23285 (CHECK): Use array_length.
23286 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23287 * stdio-common/tstscanf.c (main): Likewise.
23288 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23290 2017-11-02 Florian Weimer <fweimer@redhat.com>
23292 Add array_length and array_end macros.
23293 * include/array_length.h: New file.
23295 2017-11-02 Florian Weimer <fweimer@redhat.com>
23298 * posix/tst-glob-tilde.c (do_noescape): New variable.
23299 (one_test): Process it.
23300 (do_test): Set do_noescape. Add unescaping test case.
23302 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23305 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23306 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23307 with appropriate macros defined and undefined.
23308 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23309 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23310 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23311 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23312 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23313 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23314 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23315 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23316 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23317 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23320 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23321 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23322 that for long double. Do not condition define and undefine of
23323 _Mdouble_complex_ on [__CFLOAT128].
23325 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23327 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23328 of <sysdeps/generic/sysdep.h>.
23329 (ALIGNARG): Removed.
23330 (ASM_SIZE_DIRECTIVE): Likewise.
23333 (ENTRY_CHK): Likewise.
23334 (END_CHK): Likewise.
23335 (syscall_error): Likewise.
23336 (mcount): Likewise.
23337 (PSEUDO_END): Likewise.
23339 (atom_text_section): Likewise.
23340 * sysdeps/x86/sysdep.h: New file.
23341 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23342 of <sysdeps/generic/sysdep.h>.
23343 (ALIGNARG): Removed.
23344 (ASM_SIZE_DIRECTIVE): Likewise.
23347 (ENTRY_CHK): Likewise.
23348 (END_CHK): Likewise.
23349 (syscall_error): Likewise.
23350 (mcount): Likewise.
23351 (PSEUDO_END): Likewise.
23353 (atom_text_section): Likewise.
23355 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23357 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23358 category of LC_CTYPE set to "i18n:2012".
23359 * localedata/locales/i18n_ctype: Regenerate.
23361 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23363 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23365 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23366 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23368 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23369 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23371 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23373 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23376 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23378 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23380 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23382 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23383 (CMPLXF32X): Likewise.
23384 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23385 (CMPLXF64X): Likewise.
23386 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23387 (CMPLXF128X): Likewise.
23390 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23391 (__MATH_EVAL_FMT2): Define to add 0.0f.
23393 2017-10-31 Alan Modra <amodra@gmail.com>
23395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23411 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23412 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23413 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23414 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23415 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23422 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23423 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23425 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23426 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23427 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23428 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23429 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23430 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23431 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23432 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23433 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23437 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23438 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23439 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23440 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23441 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23442 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23443 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23445 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23446 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23448 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23450 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23451 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23452 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23453 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23455 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23459 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23462 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23464 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23465 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23468 include sysdep.h and math_ldbl_opt.h.
23470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23471 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23497 2017-10-31 Alan Modra <amodra@gmail.com>
23499 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23500 string/strncase_l.c, not string/strncase.c.
23501 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23502 (libc_hidden_def): Redefine.
23504 2017-10-31 Alan Modra <amodra@gmail.com>
23506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23507 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23508 (__strcasecmp): Don't define.
23510 2017-10-31 Alan Modra <amodra@gmail.com>
23512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23518 2017-10-31 Alan Modra <amodra@gmail.com>
23520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23523 2017-10-31 Alan Modra <amodra@gmail.com>
23525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23526 Redefine only when SHARED.
23528 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23530 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23531 Include <bits/math-finite.h> with appropriate macros defined and
23533 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23534 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23535 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23536 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23537 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23539 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23540 [!_Mlong_double_] (_Mlong_double_): Likewise.
23541 [!_Mfloat16_] (_Mfloat16_): Likewise.
23542 [!_Mfloat32_] (_Mfloat32_): Likewise.
23543 [!_Mfloat64_] (_Mfloat64_): Likewise.
23544 [!_Mfloat128_] (_Mfloat128_): Likewise.
23545 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23546 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23547 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23548 (_Mdouble_): Define without indirection through those macros.
23549 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23550 [!_Mfloat128_] (_Mfloat128_): Likewise.
23551 [_Mlong_double_] (_Mlong_double_): Likewise.
23552 (_Mdouble_): Define without indirection through those macros.
23553 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23554 not add -D_Mlong_double_=double.
23555 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23556 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23558 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23560 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23562 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23564 * sysdeps/x86/libc-start.c: Reformat.
23566 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23569 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23570 (1): Renamed to ...
23573 (L(Src2)): Likewise.
23574 (L(1)): Renamed to ...
23577 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23579 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23580 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23581 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23582 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23583 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23584 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23585 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23586 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23587 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23588 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23589 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23590 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23591 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23592 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23593 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23594 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23595 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23596 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23597 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23598 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23599 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23600 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23601 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23602 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23603 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23604 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23605 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23606 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23607 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23608 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23609 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23610 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23611 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23612 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23613 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23614 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23615 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23616 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23617 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23618 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23619 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23620 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23621 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23622 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23623 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23624 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23625 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23626 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23627 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23628 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23629 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23630 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23631 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23632 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23633 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23634 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23635 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23636 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23637 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23638 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23639 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23640 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23641 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23642 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23643 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23644 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23646 2017-10-30 Florian Weimer <fweimer@redhat.com>
23648 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23650 * io/tst-mkdirat.c (do_test): Likewise.
23651 * io/tst-mkfifoat.c (do_test): Likewise.
23652 * io/tst-mknodat.c (do_test): Likewise.
23653 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23654 * locale/programs/locale.c (select_dirs): Likewise.
23655 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23656 * posix/bug-glob2.c (my_readdir): Likewise.
23657 * posix/tst-dir.c (main): Likewise.
23658 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23659 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23661 2017-10-30 Florian Weimer <fweimer@redhat.com>
23663 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23666 2017-10-30 Florian Weimer <fweimer@redhat.com>
23668 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23669 Convert to support/test-driver.c.
23670 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23671 New macro parameters.
23672 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23673 * posix/tst-gnuglob.c: New file.
23674 * posix/tst-gnuglob64.c: Likewise.
23675 * posix/Makefile (tests): Add tst-gnuglob64.
23677 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23680 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23681 and use a better translation for March in “mon”.
23682 * localedata/locales/csb_PL: Use more ASCII to improve the
23683 readability of the source.
23685 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23688 * localedata/locales/km_KH: Use ASCII as much
23689 as possible for better readability of the source and
23690 remove useless comments.
23691 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23692 was commented out and apparently wrong anyway because it was
23693 using Lao characters. If Buddhist era should be used
23694 for km_KH, a native speaker should write the correct formaat
23696 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23697 (According to CLDR, the first weekday for Cambodia is Sunday).
23698 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23699 (These were using Lao characters which must be wrong. If we get
23700 the correct data from a native speaker, we could add it back, until
23701 then it is better not to have name_mr and name_mrs at all than
23704 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23706 * locale/loadlocale.c: Correct size of
23707 _nl_value_type_LC_<category> arrays.
23709 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23711 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23712 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23713 with appropriate macros defined and undefined.
23714 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23715 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23716 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23717 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23718 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23720 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23722 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23725 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23727 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23728 with lowercase letters to make it agree with CLDR.
23730 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23733 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23734 first letters of yesstr and nostr in yesexpr and noexpr,
23735 not for the full words.
23736 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23737 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23738 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23739 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23740 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23741 first letters of yesstr and nostr in yesexpr and noexpr,
23742 until now only English was matched in yesexpr and noexpr.
23743 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23744 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23745 fil but not for tl. As tl and fil are very similar, using fil
23746 is probably better than using English.
23748 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23751 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23752 in yesstr and nostr.
23754 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23756 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23757 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23758 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23760 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23762 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23764 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23766 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23767 (SNANF128X): Likewise.
23769 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23770 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23771 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23772 (HUGE_VAL_F32): Likewise.
23773 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23774 (HUGE_VAL_F64): Likewise.
23775 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23776 (HUGE_VAL_F32X): Likewise.
23777 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23778 (HUGE_VAL_F64X): Likewise.
23779 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23780 (HUGE_VAL_F128X): Likewise.
23782 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23784 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23785 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23786 for the br_FR locale.
23788 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23791 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23793 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23795 * locale/programs/record-status.h: Define globals, and function
23796 prototypes. Move function bodies...
23797 * locale/programs/record-status.c: ... to here. New file.
23798 * iconv/Makefile (iconv_prog-modules): Add record-status.
23799 * locale/Makefile (lib-modules): Likewise.
23800 * iconv/iconv_prog.c: Remove verbose.
23801 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23802 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23803 record a warning about ASCII compatibility.
23804 * locale/programs/ld-monetary.c (monetary_finish): If
23805 warn_int_curr_symbol is true then record a warning about the symbol
23806 not being in our ISO 4217 list.
23807 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23808 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23809 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23810 (OPT_NO_WARN): Define.
23811 (OPT_WARN): Define.
23812 (options): Add entry for --no-warnings, and --warnings.
23813 (set_warnings): New function to enable/disable warnings.
23814 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23815 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23816 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23817 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23818 Pass flags to generate_locale.
23819 (generate_locale): Accept new flag argument and pass it to localedef
23821 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23822 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23824 * localedata/Makefile (test-input-data): Use full file name.
23825 * localedata/da_DK.in: Rename to...
23826 * localedata/da_DK.ISO-8859-1.in: ...this.
23827 * localedata/de_DE.in: Rename to...
23828 * localedata/de_DE.ISO-8859-1.in: ...this.
23829 * localedata/en_US.in: Rename to...
23830 * localedata/en_US.ISO-8859-1.in: ...this.
23831 * localedata/fr_FR.in: Rename to...
23832 * localedata/fr_FR.UTF-8.in: ... this.
23833 * localedata/hr_HR.in: Rename to...
23834 * localedata/hr_HR.ISO-8859-2.in: ...this.
23835 * localedata/hu_HU.in: Rename to...
23836 * localedata/hu_HU.UTF-8.in: ...this.
23837 * localedata/si_LK.in: Rename to...
23838 * localedata/si_LK.UTF-8.in: ...this.
23839 * localedata/sv_SE.in: Rename to...
23840 * localedata/sv_SE.ISO-8859-1.in: ...this.
23841 * localedata/tr_TR.in: Rename to...
23842 * localedata/tr_TR.UTF-8.in: ...this.
23843 * localedata/uk_UA.in: Rename to...
23844 * localedata/uk_UA.UTF-8.in: ...this.
23845 * localedata/sort-test.sh: Test file is locale name with the
23848 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23849 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23851 * localedata/locales/i18n_ctype: Regenerate.
23852 * localedata/locales/tr_TR: Likewise.
23853 * localedata/locales/translit_circle: Likewise.
23854 * localedata/locales/translit_cjk_compat: Likewise.
23855 * localedata/locales/translit_combining: Likewise.
23856 * localedata/locales/translit_compat: Likewise.
23857 * localedata/locales/translit_font: Likewise.
23858 * localedata/locales/translit_fraction: Likewise.
23860 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23862 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23863 lxvd2x/stxvd2x with lvx/stvx.
23864 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23866 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23868 * include/alloc_buffer.h: Replace "if if " with "if " in
23870 * sysdeps/mips/memcpy.S: Likkewise.
23871 * sysdeps/mips/memset.S: Likewise.
23872 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23879 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23882 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23883 yesexpr and noexpr.
23884 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23885 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23886 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23887 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23888 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23889 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23890 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23894 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23895 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23896 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23897 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23898 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23899 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23900 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23901 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23902 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23903 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23904 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23905 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23907 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23909 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23910 as possible for better readability of the source.
23911 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23912 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23913 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23914 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23915 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23916 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23917 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23918 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23919 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23920 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23921 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23922 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23923 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23924 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23925 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23926 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23927 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23928 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23929 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23930 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23931 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23932 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23933 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23934 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23935 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23936 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23937 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23938 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23939 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23940 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23941 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23942 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23943 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23944 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23945 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23946 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23947 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23948 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23949 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23950 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23951 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23952 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23953 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23954 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23955 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23956 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23957 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23958 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23959 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23960 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23961 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23962 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23963 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23964 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23965 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23966 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23967 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23968 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23969 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23970 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23971 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23972 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23973 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23974 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23975 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23976 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23977 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23978 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23979 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23980 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23981 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23982 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23983 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23984 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23985 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23986 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23987 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23988 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23989 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23990 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23991 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23992 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23993 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23994 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23995 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23996 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23997 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23998 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23999 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24000 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24001 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24002 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24003 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24004 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24005 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24006 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24007 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24008 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24009 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24010 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24011 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24012 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24013 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24014 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24015 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24016 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24017 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24018 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24019 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24020 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24021 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24022 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24023 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24024 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24025 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24026 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24027 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24028 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24029 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24030 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24031 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24032 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24033 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24034 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24035 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24036 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24037 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24038 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24039 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24040 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24041 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24042 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24043 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24044 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24045 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24046 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24047 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24048 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24049 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24050 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24051 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24052 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24053 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24054 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24055 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24056 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24057 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24058 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24059 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24060 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24061 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24062 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24063 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24064 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24065 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24066 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24067 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24068 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24069 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24070 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24071 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24072 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24073 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24074 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24075 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24076 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24077 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24078 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24079 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24080 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24081 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24082 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24083 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24084 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24086 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24088 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24089 (Use first letters of yesstr and nostr correctly instead of using
24092 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24094 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24095 (Use first letters of yesstr and nostr correctly).
24097 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24099 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24100 also check for the first characters of yesstr and nostr.
24101 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24102 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24104 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24106 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24107 also check for Chinese characters.
24109 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24111 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24112 match also for the contents of yesstr and nostr. As the first letter
24113 of yesstr and nostr is equal, checking only for the first letter
24116 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24118 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24119 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24121 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24123 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24124 of main contributor.
24126 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24128 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24129 instead of using English.
24131 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24133 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24134 by including the first letters of nostr and yesexpr in the regexp.
24135 Also make it more readable by using ASCII where possible.
24137 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24139 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24140 the first letter of nostr in the regexp. It agrees with CLDR now.
24141 Also make it more readable by using ASCII where possible.
24143 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24145 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24146 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24147 these strings contain a U+17D6 (which somewhat looks like a colon)
24148 instead of a real colon to separate the full words for “yes”
24149 and “no” from the single letter responses.
24151 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24153 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24154 it agree with CLDR (include the first letter of yesstr).
24155 Also make it more readable by using ASCII where possible.
24157 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24159 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24160 and improve yesexpr and noexpr. The yesstr and nostr apparently
24161 came from CLDR. And CLDR has a bug there: these strings contain
24162 a U+0903 (which looks like a colon) instead of a real colon
24163 to separate the full words for “yes” and “no” from the single
24166 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24168 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24169 letters of the full yesstr and nostr in yesexpr and noexpr.
24171 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24173 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24174 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24175 * localedata/locales/an_ES: Make source more readable by using ASCII
24178 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24181 * localedata/locales/yuw_PG: New file.
24182 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24183 * locale/iso-639.def: Add Yau (Uruwa).
24185 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24187 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24189 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24191 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24192 (__libc_realloc): Likewise.
24193 (_mid_memalign): Likewise.
24194 (__libc_calloc): Likewise.
24196 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24198 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24199 by adding the generic +1 and -0 as in all other locales.
24200 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24201 day names and make it more readable by using ASCII where possible.
24203 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24205 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24206 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24208 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24210 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24211 WNOHANG in waitpid call.
24213 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24215 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24216 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24218 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24219 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24220 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24221 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24222 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24223 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24224 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24225 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24228 2017-10-23 Michael Collison <michael.collison@arm.com>
24230 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24231 with __builtin_sqrt.
24232 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24233 with __builtin_sqrtf.
24234 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24235 with __builtin_ceil.
24236 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24237 with __builtin_ceilf.
24238 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24239 with __builtin_floor.
24240 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24241 with __builtin_floorf.
24242 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24243 with __builtin_fma.
24244 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24245 with __builtin_fmaf.
24246 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24247 with __builtin_fmax.
24248 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24249 with __builtin_fmaxf.
24250 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24251 with __builtin_fmin.
24252 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24253 with __builtin_fminf.
24254 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24255 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24256 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24257 with builtin_rint and conversion to int.
24258 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24259 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24260 with builtin_llround.
24261 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24262 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24263 with builtin_rint and conversion to long int.
24264 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24265 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24266 with builtin_lround.
24267 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24268 with builtin_lroundf.
24269 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24270 statements with __builtin_nearbyint.
24271 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24272 statements with __builtin_nearbyintf.
24273 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24274 with __builtin_rint.
24275 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24276 with __builtin_rintf.
24277 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24278 with __builtin_round.
24279 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24280 with __builtin_roundf.
24281 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24282 with __builtin_trunc.
24283 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24284 with __builtin_truncf.
24285 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24286 and s_l[l]round[f].c too.
24288 2017-10-23 Alan Modra <amodra@gmail.com>
24290 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24291 Adjust stack after restoring regs. Add missing LR cfi_restore.
24293 2017-10-23 Alan Modra <amodra@gmail.com>
24295 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24296 Move LR save and frame setup/teardown and LR restore to
24297 immediately around memset call. Provide cfi.
24299 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24301 * sysdeps/i386/fpu/e_powf.S: Removed.
24302 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24303 * sysdeps/i386/fpu/w_powf.c: Likewise.
24304 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24305 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24306 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24308 (CFLAGS-e_powf-sse2.c): New.
24309 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24310 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24312 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24314 * sysdeps/i386/fpu/e_log2f.S: Removed.
24315 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24316 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24317 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24318 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24319 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24321 (CFLAGS-e_log2f-sse2.c): New.
24322 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24323 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24325 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24329 (CFLAGS-e_powf-fma.c): New.
24330 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24331 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24333 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24337 (CFLAGS-e_log2f-fma.c): New.
24338 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24339 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24341 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24343 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24345 (CFLAGS-e_logf-fma.c): New.
24346 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24347 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24349 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24351 * sysdeps/i386/fpu/e_logf.S: Removed.
24352 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24353 * sysdeps/i386/fpu/w_logf.c: Likewise.
24354 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24355 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24356 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24357 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24359 (CFLAGS-e_logf-sse2.c): New.
24360 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24361 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24363 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24365 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24366 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24367 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24369 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24371 (CFLAGS-e_exp2f-sse2.c): New.
24372 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24373 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.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_exp2f-fma.c): New.
24380 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24381 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24383 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24386 * sysdeps/i386/fpu/e_expf.S: Likewise.
24387 * sysdeps/i386/fpu/math_errf.c: Likewise.
24388 * sysdeps/i386/fpu/w_expf.c: Likewise.
24389 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24390 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24391 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24392 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24393 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24394 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24395 Remove e_expf-ia32.
24396 (CFLAGS-e_expf-sse2.c): New.
24397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24398 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24400 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24402 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24403 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24404 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24405 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24407 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24409 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24410 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24412 (__redirect_expf): This.
24413 (SYMBOL_NAME): Changed to expf.
24414 (__ieee754_expf): Renamed to ...
24416 (__GI___expf): This.
24417 (__ieee754_expf): Add strong_alias.
24418 (__expf_finite): Likewise.
24420 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24422 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24425 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24428 2017-10-21 Florian Weimer <fweimer@redhat.com>
24430 * posix/Makefile (tests): Add tst-glob-tilde.
24431 (tests-special): Add tst-glob-tilde-mem.out
24432 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24433 (tst-glob-tilde-mem.out): Add mtrace check.
24434 * posix/tst-glob-tilde.c: New file.
24436 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24438 * bits/floatn-common.h: New file.
24439 * math/Makefile (headers): Add bits/floatn-common.h.
24440 * bits/floatn.h: Include <bits/floatn-common.h>.
24441 * sysdeps/ia64/bits/floatn.h: Likewise.
24442 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24443 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24444 * sysdeps/powerpc/bits/floatn.h: Likewise.
24445 * sysdeps/x86/bits/floatn.h: Likewise.
24447 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24449 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24450 indicates whether compiler emits an warning for alias for
24451 functions with incompatible types.
24454 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24455 the auxiliary process is terminated by a signal before calling _exit
24458 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24461 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24463 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24464 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24465 and bit_arch_XSAVEC_Usable if needed.
24466 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24467 and bit_arch_Use_dl_runtime_resolve_opt.
24468 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24470 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24471 (bit_arch_Prefer_No_AVX512): Updated.
24472 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24473 (bit_arch_XSAVEC_Usable): New.
24474 (STATE_SAVE_OFFSET): Likewise.
24475 (STATE_SAVE_MASK): Likewise.
24476 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24477 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24478 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24479 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24480 (index_arch_XSAVEC_Usable): New.
24481 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24482 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24483 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24485 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24486 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24487 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24488 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24489 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24490 _dl_runtime_resolve_xsavec.
24491 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24493 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24494 instead of VEC_SIZE.
24495 (REGISTER_SAVE_BND0): Removed.
24496 (REGISTER_SAVE_BND1): Likewise.
24497 (REGISTER_SAVE_BND3): Likewise.
24498 (REGISTER_SAVE_RAX): Always defined to 0.
24500 (_dl_runtime_resolve_avx): Likewise.
24501 (_dl_runtime_resolve_avx_slow): Likewise.
24502 (_dl_runtime_resolve_avx_opt): Likewise.
24503 (_dl_runtime_resolve_avx512): Likewise.
24504 (_dl_runtime_resolve_avx512_opt): Likewise.
24505 (_dl_runtime_resolve_sse): Likewise.
24506 (_dl_runtime_resolve_sse_vex): Likewise.
24508 (_dl_runtime_resolve_fxsave): Likewise.
24509 (USE_XSAVE): Likewise.
24510 (_dl_runtime_resolve_xsave): Likewise.
24511 (USE_XSAVEC): Likewise.
24512 (_dl_runtime_resolve_xsavec): Likewise.
24513 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24515 (_dl_runtime_resolve_avx512_opt): Likewise.
24516 (_dl_runtime_resolve_avx): Likewise.
24517 (_dl_runtime_resolve_avx_opt): Likewise.
24518 (_dl_runtime_resolve_sse): Likewise.
24519 (_dl_runtime_resolve_sse_vex): Likewise.
24520 (_dl_runtime_resolve_fxsave): New.
24521 (_dl_runtime_resolve_xsave): Likewise.
24522 (_dl_runtime_resolve_xsavec): Likewise.
24524 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24528 * posix/glob.c (__glob): Fix one-byte overflow.
24530 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24532 * malloc/malloc.c (sysdep-cancel.h): Add include.
24534 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24536 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24538 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24540 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24541 (tests): Remove $(objpfx)ga_test depdendency.
24542 * resolv/ga_test.c: Remove file.
24544 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24547 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24548 * localedata/locales/kab_DZ: New file.
24550 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24552 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24553 _dl_relocate_static_pie instead of _dl_start to compute load
24554 address in static PIE.
24556 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24558 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24560 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24563 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24564 * localedata/locales/shn_MM: New file.
24566 2017-10-20 Florian Weimer <fweimer@redhat.com>
24569 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24570 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24571 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24572 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24573 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24574 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24576 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24580 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24585 * sysdeps/mips/bits/long-double.h: Move to ....
24586 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24588 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24590 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24592 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24593 H.J. Lu <hongjiu.lu@intel.com>
24596 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24597 GLRO(dl_platform) to NULL.
24598 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24599 (modules-names): Add tst-platformmod-1 and
24600 x86_64/tst-platformmod-2.
24601 (CFLAGS-tst-platform-1.c): New.
24602 (CFLAGS-tst-platformmod-1.c): Likewise.
24603 (CFLAGS-tst-platformmod-2.c): Likewise.
24604 (LDFLAGS-tst-platformmod-2.so): Likewise.
24605 ($(objpfx)tst-platform-1): Likewise.
24606 ($(objpfx)tst-platform-1.out): Likewise.
24607 (tst-platform-1-ENV): Likewise.
24608 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24609 * sysdeps/x86_64/tst-platform-1.c: New file.
24610 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24611 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24613 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24616 * locale/iso-639.def: Add Karbi.
24617 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24618 * localedata/locales/mjw_IN: New file.
24620 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24622 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24623 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24624 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24625 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24626 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24627 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24628 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24630 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24631 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24632 * manual/math.texi (Mathematics): Document additional architecture
24633 support for _Float128.
24634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24638 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24639 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24640 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24642 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24643 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24644 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24645 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24647 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24650 2017-10-18 Renlin Li <renlin.li@arm.com>
24652 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24653 _DYNAMIC symbol to calculate load address.
24655 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24657 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24658 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24660 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24661 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24663 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24666 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24667 and improve readability by using more ASCII.
24668 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24669 and improve readability by using more ASCII.
24671 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24673 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24674 not all targets support atomics on bool.
24676 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24678 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24679 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24681 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24682 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24683 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24684 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24685 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24686 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24688 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24690 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24693 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24696 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24697 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24698 (do_check_remalloced_chunk): Fix build bug.
24699 (do_check_malloc_state): Add assert that checks arena->top.
24700 (malloc_consolidate): Remove initialization.
24701 (int_mallinfo): Remove call to malloc_consolidate.
24702 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24704 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24706 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24707 (have_fastchunks): Remove.
24708 (clear_fastchunks): Remove.
24709 (set_fastchunks): Remove.
24710 (malloc_state): Add have_fastchunks.
24711 (malloc_init_state): Use have_fastchunks.
24712 (do_check_malloc_state): Remove incorrect invariant checks.
24713 (_int_malloc): Use have_fastchunks.
24714 (_int_free): Likewise.
24715 (malloc_consolidate): Likewise.
24717 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24719 * malloc/malloc.c (tcache_put): Inline.
24720 (tcache_get): Inline.
24722 2017-10-17 Jordi Mallach <jordi@gnu.org>
24724 Aurelien Jarno <aurelien@aurel32.net>
24726 * localedata/locales/ca_ES@valencia: New file.
24727 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24729 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24732 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24735 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24737 * scripts/build-many-glibcs.py (Context.add_all_configs):
24738 Add arm-linux-gnueabihf multiarch extra_glibcs.
24740 * sysdeps/generic/ifunc-init.h: New file.
24741 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24743 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24746 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24747 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24748 * stdlib/tst-strfmon_l.c: adapt test case.
24750 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24752 * sysdeps/generic/float128-abi.h: New file.
24753 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24754 non-__prefixed symbols to ....
24755 * math/Versions: ... here. Include <float128-abi.h>.
24756 * stdlib/Versions ... and here. Include <float128-abi.h>
24758 2017-10-16 Florian Weimer <fweimer@redhat.com>
24760 * version.h (VERSION): Switch to ".9000" as the development
24763 2017-10-16 Florian Weimer <fweimer@redhat.com>
24766 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24767 compat_symbol_reference to access non-default version.
24769 2017-10-16 Florian Weimer <fweimer@redhat.com>
24771 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24773 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24775 * include/shlib-compat.h (compat_symbol_reference): Update
24778 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24780 * math/Makefile (test-types): Add
24781 $(type-float128-$(float128-alias-fcts)).
24782 * math/test-float128.h (TYPE_STR): Define conditional on
24783 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24784 (ULP_IDX): Likewise.
24785 (ULP_I_IDX): Likewise.
24787 * stdlib/strtold.c: Include <bits/floatn.h>
24788 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24789 and later undefine as macro. Define as weak alias if
24791 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24792 and later undefine as macro. Define as weak alias if
24794 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24795 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24796 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24797 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24798 Define and later undefine as macro. Define as weak alias if
24800 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24802 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24803 Define and later undefine as macro. Define as weak alias if
24805 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24806 Define and later undefine as macro. Define as weak alias if
24809 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24811 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24812 record_verbose messages.
24814 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24817 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24818 to silence -O3 -Wall warning with GCC 7.
24820 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24822 * Makeconfig (+link-static-before-libc): Use the first of
24823 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24824 * gmon/Makefile (tests): Add tst-gmon-static.
24825 (tests-static): Likewise.
24826 (CFLAGS-tst-gmon-static.c): New.
24827 (CRT-tst-gmon-static): Likewise.
24828 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24829 (tst-gmon-static-ENV): Likewise.
24830 (tests-special): Likewise.
24831 ($(objpfx)tst-gmon-static.out): Likewise.
24832 (clean-tst-gmon-static-data): Likewise.
24833 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24834 * gmon/tst-gmon-static-gprof.sh: New file.
24835 * gmon/tst-gmon-static.c: Likewise.
24837 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24840 * locale/programs/linereader.c (get_string): Don't warn on
24841 non-symbolic character.
24844 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24848 * locale/programs/record-status.h: New file
24849 * locale/programs/locale.c: Add comment.
24850 * locale/programs/charmap-dir.c: Don't include error.h.
24851 (charmap_opendir): Use record_error.
24852 * locale/programs/charmap.c: Don't include error.h.
24853 (charmap_read): Use record_error, and record_warning.
24854 (parse_charmap): Likewise.
24855 * locale/programs/ld-address.c: Don't include error.h.
24856 (address_finish): Use record_error, and record_warning.
24857 * locale/programs/ld-collate.c: Don't include error.h.
24858 (collate_finish): Use record_error, and record_error_at_line.
24859 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24860 (ctype_class_new): Likewise.
24861 (ctype_map_new): Likewise.
24862 (set_one_default): Likewise.
24863 (set_class_defaults): Likewise.
24864 (translit_flatten): Likewise.
24865 (allocate_arrays): Use record_error, and record_verbose.
24866 * locale/programs/ld-identification.c: Don't include error.h.
24867 (indentation_finish): Use record_error and record_warning.
24868 * locale/programs/ld-measurement.c: Don't include error.h.
24869 (measurement_finish): Use record_error.
24870 * locale/programs/ld-messages.c
24871 (message_finish): Likewise.
24872 * locale/programs/ld-monetary.c
24873 (monetary_finish): Likewise.
24874 * locale/programs/ld-name.c (name_finish): Use record_error
24875 and record_warning.
24876 * locale/programs/ld-numeric.c
24877 (numeric_finish): Use record_error.
24878 * locale/programs/ld-paper.c: Don't include error.h.
24879 (paper_finish): Use record_error.
24880 * locale/programs/ld-telephone.c: Don't include error.h.
24881 (telephone_finish): Use record_error.
24882 * locale/programs/ld-time.c (time_finish): Likewise.
24883 * locale/programs/linereader.h (lr_error): Make inline func.
24884 * locale/programs/localedef.c: Define recorded_warning_count,
24885 and recorded_error_count.
24886 (main): Use record_error. Use recorded_error_count and
24887 recorded_warning_count to issue correct error returns.
24888 (add_to_readlist): Use record_error.
24889 (find_locale): Likewise.
24890 (load_locale): Likewise.
24891 * locale/programs/localedef.h: Remove be_quiet
24892 and WITH_CUR_LOCALE.
24893 * locale/programs/locarchive.c (compare_from_file): Use
24895 * locale/programs/locfile.c (write_locale_data): Use
24897 * locale/programs/repertoire.c: Dont include error.h.
24898 (repertoire_complain): Use record_error.
24899 * localedata/tst-fmon.sh: Expect failures from localedef.
24900 * localedata/tst-locale.sh: Likewise.
24901 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24903 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24904 (REPORTS): Likewise.
24906 (i18n): Rename to...
24907 (i18n_ctype): ...this.
24908 (i18n-report): Rename to...
24909 (i18n_ctype-report): ...this.
24910 * localedata/locales/i18n_ctype: Regenerate.
24911 * localedata/locales/i18n: copy i18n_ctype.
24913 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24915 * stdlib/strfroml.c: Include <bits/floatn.h>.
24916 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24917 Define before include of <stdlib.h> and undefine afterwards, then
24918 define as weak alias.
24920 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24921 Undefine and restore default definition. Use
24922 libm_alias_ldouble_other.
24924 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24927 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24930 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24932 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24933 Assign sym_map to be map for local symbols, as TLS relocations
24934 use sym_map to determine whether the symbol is defined and to
24935 extract the TLS information.
24936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24939 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24942 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24943 (math_force_eval): Add powerpc version.
24946 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24948 (do_test): Likewise.
24949 * stdio-common/tst-printf.sh: Likewise.
24950 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24951 ifdef clause in order to set the carry bit right. Replace r0 by
24952 0 without changing the behavior.
24954 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24956 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24957 <libm-alias-ldouble.h>.
24958 (fabsl): Define using libm_alias_ldouble.
24959 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24960 <libm-alias-ldouble.h>.
24961 (fabsl): Define using libm_alias_ldouble.
24963 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24964 Remove conditional code.
24966 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24967 Rename to __clog10_internal_l.
24968 (__clog10_internal_l): Define aliases using
24969 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24972 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24974 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24975 * benchtests/sincosf-inputs: New file.
24976 * benchtests/cosf-inputs: New file.
24977 * benchtests/sinf-inputs: New file.
24979 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24981 * posix/tst-spawn.c (do_test): Wait for both children.
24983 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24986 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24987 tests-pie): Add tst-gmon-pie.
24988 (CFLAGS-tst-gmon-pie.c): New.
24989 (CRT-tst-gmon-pie): Likewise.
24990 (tst-gmon-pie-ENV): Likewise.
24991 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24992 ($(objpfx)tst-gmon-pie.out): Likewise.
24993 (clean-tst-gmon-pie-data): Likewise.
24994 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24995 * gmon/gmon.c [PIC]: Include <link.h>.
24996 [PIC] (callback): New function.
24997 (write_hist): Add an argument for load address. Subtract load
24999 (write_call_graph): Likewise.
25000 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25001 it to write_hist and write_call_graph.
25002 * gmon/tst-gmon-pie.c: New file.
25004 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25006 * math/Makefile (test-types-basic): New variable.
25007 (test-types): Likewise.
25008 (libm-test-support): Use $(test-types) instead of $(types).
25009 (libm-tests-base-normal): Likewise.
25010 (libm-tests-base-finite): Likewise.
25011 (libm-tests-base-inline): Likewise.
25012 (generated): Likewise.
25013 ($(objpfx)libm-test-support-$(t).c): Likewise.
25014 (libm-tests-for-type iterator): Likewise.
25015 (libm-test-support iterator): Likewise.
25016 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25017 (ulp_idx): Use ULP_IDX.
25018 * math/test-ldouble.h: Include <float.h>.
25019 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25020 (ULP_IDX): New macro.
25021 (ULP_I_IDX): Likewise.
25022 * math/test-double.h (ULP_IDX): Likewise.
25023 (ULP_I_IDX): Likewise.
25024 * math/test-float.h (ULP_IDX): Likewise.
25025 (ULP_I_IDX): Likewise.
25026 * math/test-float128.h (ULP_IDX): Likewise.
25027 (ULP_I_IDX): Likewise.
25029 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25031 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25032 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25033 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25034 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25035 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25036 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25037 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25040 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25041 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25042 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25043 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25045 (SINGLE_THREAD_BY_GLOBAL): Define.
25046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25048 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25050 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25052 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25054 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25055 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25059 2017-10-11 Andreas Schwab <schwab@suse.de>
25061 * nis/Makefile (aux): Remove.
25062 * nscd/Makefile (aux): Add nscd_hash.
25063 (nscd-modules): Likewise.
25064 ($(objpfx)nscd): Don't depend on libnsl.
25065 * nscd/nscd_hash.c: New file.
25066 * nscd/nscd_hash.h: Likewise.
25067 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25068 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25069 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25070 instead of <nis/rpcsvc/nis.h>.
25071 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25073 2017-10-11 Florian Weimer <fweimer@redhat.com>
25076 Avoid large NSS buffers with many addresses, aliases.
25077 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25078 using dynarrays and struct alloc_buffer.
25079 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25080 (tst-nss-files-hosts-multi): Link with -ldl.
25081 * nss/tst-nss-files-hosts-multi.c: New file.
25083 2017-10-11 Florian Weimer <fweimer@redhat.com>
25086 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25087 scratch_buffer. Eliminate gotos.
25089 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25091 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25092 libm_alias_ldouble_other.
25093 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25094 undefine and redefine.
25095 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25096 (exp10l): Do not define here.
25097 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25098 (weak_alias): Undefine and redefine.
25099 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25100 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25101 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25102 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25104 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25105 [!__fma] (fma): Define using libm_alias_double.
25106 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25107 [!__fmaf] (fmaf): Define using libm_alias_float.
25108 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25109 (fmal): Define using libm_alias_ldouble.
25111 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25115 (libm_alias_double_other): Likewise.
25116 (libm_alias_double_r): Use libm_alias_double_other_r.
25117 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25119 (libm_alias_float_other): Likewise.
25120 (libm_alias_float_r): Use libm_alias_float_other_r.
25121 * sysdeps/generic/libm-alias-float128.h
25122 (libm_alias_float128_other_r): New macro.
25123 (libm_alias_float128_other): Likewise.
25124 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25125 * sysdeps/generic/libm-alias-ldouble.h
25126 (libm_alias_ldouble_other_r): New macro.
25127 (libm_alias_ldouble_other): Likewise.
25128 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25129 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25130 (libm_alias_double_other_r): New macro.
25131 (libm_alias_double_other): Likewise.
25132 (libm_alias_double_r): Use libm_alias_double_other_r.
25133 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25134 (libm_alias_ldouble_other_r): New macro.
25135 (libm_alias_ldouble_other): Likewise.
25136 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25137 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25138 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25139 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25140 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25141 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25142 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25143 * math/w_exp2f.c: Use libm_alias_float_other.
25144 * math/w_expf.c: Likewise.
25145 * math/w_log2f.c: Likewise.
25146 * math/w_logf.c: Likewise.
25147 * math/w_powf.c: Likewise.
25148 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25149 [!__exp2f]: Use libm_alias_float_other.
25150 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25151 [!__expf]: Use libm_alias_float_other.
25152 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25153 [!__log2f]: Use libm_alias_float_other.
25154 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25155 [!__logf]: Use libm_alias_float_other.
25156 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25157 [!__powf]: Use libm_alias_float_other.
25159 2017-10-10 Florian Weimer <fweimer@redhat.com>
25161 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25163 (_nss_files_gethostbyname3_r): Call it.
25165 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25167 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25168 error. Remove default definition of declare_mgen_alias.
25169 [!declare_mgen_alias_r]: Likewise.
25170 * sysdeps/generic/math-type-macros-double.h
25171 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25172 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25173 (declare_mgen_alias_r): Likewise.
25174 * sysdeps/generic/math-type-macros-float128.h
25175 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25176 * sysdeps/generic/math-type-macros-ldouble.h
25177 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25178 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25180 (declare_mgen_alias_r_s): Likewise.
25181 (declare_mgen_alias_r): Likewise.
25182 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25183 (lgamma_r): Define using libm_alias_double_r.
25184 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25185 (lgammaf_r): Define using libm_alias_float_r.
25186 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25187 (lgammal_r): Define using libm_alias_ldouble_r.
25188 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25189 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25191 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25193 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25194 extern declaration.
25196 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25198 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25200 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25203 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25204 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25205 * math/Makefile (test-math-cxx11): New test.
25206 * math/test-math-cxx11.cc: New file.
25208 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25210 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25212 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25213 call to allocate the slave pty file descriptor.
25215 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25217 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25218 [!__fma] (fma): Define using libm_alias_double.
25219 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25220 [!__fma] (fma): Define using libm_alias_double.
25222 * sysdeps/ieee754/float128/float128_private.h: Include
25223 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25224 (libm_alias_ldouble_r): Undefine and redefine.
25225 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25226 <libm-alias-ldouble.h>.
25227 (asinhl): Define using libm_alias_ldouble.
25228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25229 <libm-alias-ldouble.h>.
25230 (atanl): Define using libm_alias_ldouble.
25231 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25232 <libm-alias-ldouble.h>.
25233 (cbrtl): Define using libm_alias_ldouble.
25234 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25235 <libm-alias-ldouble.h>.
25236 (ceill): Define using libm_alias_ldouble.
25237 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25238 <libm-alias-ldouble.h>.
25239 (copysignl): Define using libm_alias_ldouble.
25240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25241 <libm-alias-ldouble.h>.
25242 (cosl): Define using libm_alias_ldouble.
25243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25244 <libm-alias-ldouble.h>.
25245 (erfl): Define using libm_alias_ldouble.
25247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25248 <libm-alias-ldouble.h>.
25249 (expm1l): Define using libm_alias_ldouble.
25250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25251 <libm-alias-ldouble.h>.
25252 (fabsl): Define using libm_alias_ldouble.
25253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25254 <libm-alias-ldouble.h>.
25255 (floorl): Define using libm_alias_ldouble.
25256 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25257 <libm-alias-ldouble.h>.
25258 (fmal): Define using libm_alias_ldouble.
25259 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25260 <libm-alias-ldouble.h>.
25261 (frexpl): Define using libm_alias_ldouble.
25262 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25263 libm_alias_ldouble.
25264 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25265 <libm-alias-ldouble.h>.
25266 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25267 libm_alias_ldouble.
25268 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25269 <libm-alias-ldouble.h>.
25270 (getpayloadl): Define using libm_alias_ldouble.
25271 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25272 <libm-alias-ldouble.h>.
25273 (llrintl): Define using libm_alias_ldouble.
25274 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25275 <libm-alias-ldouble.h>.
25276 (llroundl): Define using libm_alias_ldouble.
25277 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25278 <libm-alias-ldouble.h>.
25279 (logbl): Define using libm_alias_ldouble.
25280 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25281 <libm-alias-ldouble.h>.
25282 (lrintl): Define using libm_alias_ldouble.
25283 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25284 <libm-alias-ldouble.h>.
25285 (lroundl): Define using libm_alias_ldouble.
25286 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25287 <libm-alias-ldouble.h>.
25288 (modfl): Define using libm_alias_ldouble.
25289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25290 <libm-alias-ldouble.h>.
25291 (nearbyintl): Define using libm_alias_ldouble.
25292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25293 <libm-alias-ldouble.h>.
25294 (nextafterl): Define using libm_alias_ldouble.
25295 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25296 <libm-alias-ldouble.h>.
25297 (nextupl): Define using libm_alias_ldouble.
25298 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25299 <libm-alias-ldouble.h>.
25300 (remquol): Define using libm_alias_ldouble.
25301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25302 <libm-alias-ldouble.h>.
25303 (rintl): Define using libm_alias_ldouble.
25304 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25305 <libm-alias-ldouble.h>.
25306 (roundevenl): Define using libm_alias_ldouble.
25307 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25308 <libm-alias-ldouble.h>.
25309 (roundl): Define using libm_alias_ldouble.
25310 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25311 using libm_alias_ldouble.
25312 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25313 <libm-alias-ldouble.h>.
25314 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25315 Define using libm_alias_ldouble.
25316 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25317 <libm-alias-ldouble.h>.
25318 (sincosl): Define using libm_alias_ldouble.
25319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25320 <libm-alias-ldouble.h>.
25321 (sinl): Define using libm_alias_ldouble.
25322 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25323 <libm-alias-ldouble.h>.
25324 (tanhl): Define using libm_alias_ldouble.
25325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25326 <libm-alias-ldouble.h>.
25327 (tanl): Define using libm_alias_ldouble.
25328 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25329 <libm-alias-ldouble.h>.
25330 (totalorderl): Define using libm_alias_ldouble.
25331 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25332 <libm-alias-ldouble.h>.
25333 (totalordermagl): Define using libm_alias_ldouble.
25334 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25335 <libm-alias-ldouble.h>.
25336 (truncl): Define using libm_alias_ldouble.
25337 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25338 libm_alias_ldouble.
25339 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25340 libm_alias_ldouble.
25341 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25342 <libm-alias-ldouble.h>.
25343 (weak_alias): Do not undefine and redefine.
25344 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25345 (copysignl): Define with long_double_symbol only if [IS_IN
25347 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25348 <libm-alias-ldouble.h>.
25349 (weak_alias): Do not undefine and redefine.
25350 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25351 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25352 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25353 <libm-alias-ldouble.h>.
25354 (weak_alias): Do not undefine and redefine.
25355 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25356 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25357 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25358 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25361 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25364 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25367 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25374 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25382 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25385 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25386 (tcache_thread_freeres): Set tcache_shutting_down before
25387 freeing the tcache.
25388 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25389 * malloc/tst-malloc-tcache-leak.c: New file.
25391 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25393 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25394 back to powerpc32 file.
25395 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25396 (memrchr): Add __memrchr_power8 to ifunc list.
25397 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25398 extra bytes for unaligned inputs.
25400 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25402 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25403 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25408 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25410 * sysdeps/arm/libm-test-ulps: Update.
25412 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25413 <libm-alias-ldouble.h>.
25414 (asinhl): Define using libm_alias_ldouble.
25415 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25416 <libm-alias-ldouble.h>.
25417 (cbrtl): Define using libm_alias_ldouble.
25418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25419 <libm-alias-ldouble.h>.
25420 (copysignl): Define using libm_alias_ldouble.
25421 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25422 <libm-alias-ldouble.h>.
25423 (cosl): Define using libm_alias_ldouble.
25424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25425 <libm-alias-ldouble.h>.
25426 (erfl): Define using libm_alias_ldouble.
25428 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25429 <libm-alias-ldouble.h>.
25430 (fmal): Define using libm_alias_ldouble.
25431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25432 <libm-alias-ldouble.h>.
25433 (frexpl): Define using libm_alias_ldouble.
25434 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25435 libm_alias_ldouble.
25436 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25437 <libm-alias-ldouble.h>.
25438 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25439 libm_alias_ldouble.
25440 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25441 <libm-alias-ldouble.h>.
25442 (getpayloadl): Define using libm_alias_ldouble.
25443 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25444 <libm-alias-ldouble.h>.
25445 (llrintl): Define using libm_alias_ldouble.
25446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25447 <libm-alias-ldouble.h>.
25448 (llroundl): Define using libm_alias_ldouble.
25449 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25450 <libm-alias-ldouble.h>.
25451 (lrintl): Define using libm_alias_ldouble.
25452 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25453 <libm-alias-ldouble.h>.
25454 (lroundl): Define using libm_alias_ldouble.
25455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25456 <libm-alias-ldouble.h>.
25457 (modfl): Define using libm_alias_ldouble.
25458 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25459 <libm-alias-ldouble.h>.
25460 (nextupl): Define using libm_alias_ldouble.
25461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25462 <libm-alias-ldouble.h>.
25463 (remquol): Define using libm_alias_ldouble.
25464 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25465 <libm-alias-ldouble.h>.
25466 (roundevenl): Define using libm_alias_ldouble.
25467 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25468 <libm-alias-ldouble.h>.
25469 (roundl): Define using libm_alias_ldouble.
25470 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25471 using libm_alias_ldouble.
25472 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25473 <libm-alias-ldouble.h>.
25474 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25475 <libm-alias-ldouble.h>.
25476 (setpayloadsigl): Define using libm_alias_ldouble.
25477 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25478 <libm-alias-ldouble.h>.
25479 (sincosl): Define using libm_alias_ldouble.
25480 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25481 <libm-alias-ldouble.h>.
25482 (sinl): Define using libm_alias_ldouble.
25483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25484 <libm-alias-ldouble.h>.
25485 (tanhl): Define using libm_alias_ldouble.
25486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25487 <libm-alias-ldouble.h>.
25488 (tanl): Define using libm_alias_ldouble.
25489 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25490 <libm-alias-ldouble.h>.
25491 (totalorderl): Define using libm_alias_ldouble.
25492 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25493 <libm-alias-ldouble.h>.
25494 (totalordermagl): Define using libm_alias_ldouble.
25495 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25496 libm_alias_ldouble.
25497 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25498 libm_alias_ldouble.
25500 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25502 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25504 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25505 (__libc_ifunc_impl_list): Likewise.
25506 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25507 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25509 * benchtests/bench-memmove-walk.c: New file.
25510 * benchtests/Makefile (string-benchset): Add it.
25512 * benchtests/bench-memset-walk.c: New file.
25513 * benchtests/Makefile (string-benchset): Add it.
25515 * benchtests/bench-memcpy-walk.c: New file.
25516 * benchtests/Makefile (string-benchset): Add it.
25518 2017-10-05 Florian Weimer <fweimer@redhat.com>
25520 nscd: Eliminate compilation time dependency in the build output.
25521 * nscd/nscd_stat.c (STATDATA_VERSION)
25522 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25523 (STATDATA_VERSION_FULL): New macro definitions.
25524 (compilation): Remove.
25525 (struct statdata): Adjust version member.
25526 (send_stats): Set version from STATDATA_VERSION_FULL.
25527 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25529 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25531 * configure.ac (--enable-add-ons): Remove option.
25532 (machine): Do not mention add-ons in comment.
25533 (LIBC_PRECONFIGURE): Likewise.
25534 (add_ons): Remove variable and sanity checks and logic to locate
25536 (add_ons_automatic): Remove variable.
25537 (configured_add_ons): Likewise.
25538 (add_ons_sfx): Likewise.
25539 (add_ons_pfx): Likewise.
25540 (add_on_subdirs): Likewise.
25541 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25542 consideration of add-ons in Implies handling.
25543 (sysdeps_add_ons): Likewise.
25544 * configure: Regenerated.
25545 * libidn/configure.ac: Remove.
25546 * libidn/configure: Likewise.
25547 * sysdeps/unix/inet/configure.ac: New file.
25548 * sysdeps/unix/inet/configure: New generated file.
25549 * sysdeps/unix/inet/Subdirs: Add libidn.
25550 * Makeconfig (sysdeps-srcdirs): Remove variable.
25551 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25552 ($(common-objpfx)config.status): Do not depend on add-on files.
25553 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25555 (all-subdirs): Do not include $(add-on-subdirs).
25556 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25557 * config.make.in (add-ons): Remove variable.
25558 (add-on-subdirs): Likewise.
25559 (sysdeps-add-ons): Likewise.
25560 * manual/Makefile (add-chapters): Remove.
25561 ($(objpfx)texis): Do not depend on $(add-chapters).
25562 (nonexamples): Do not handle $(add-chapters).
25563 (examples): Do not handle $(add-ons).
25564 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25566 * manual/install.texi (Installation): Do not mention add-ons.
25567 (--enable-add-ons): Do not document configure option.
25568 * INSTALL: Regenerated.
25569 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25570 * manual/maint.texi (Hierarchy Conventions): Do not mention
25572 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25574 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25576 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25577 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25579 2017-10-05 Andreas Schwab <schwab@suse.de>
25582 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25583 (_IO_flush_all_lockp): Always lock list_all_lock.
25584 (_IO_flush_all_linebuffered): Likewise.
25585 (_IO_unbuffer_all): Likewise.
25587 2017-10-05 Florian Weimer <fweimer@redhat.com>
25590 Do not flush stdio streams on abort.
25591 * stdlib/abort.c (fflush): Remove macro definition.
25592 (abort): Remove stages related to stdio flushing.
25594 2017-10-05 Florian Weimer <fweimer@redhat.com>
25596 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25598 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25602 2017-10-05 Florian Weimer <fweimer@redhat.com>
25604 * support/support_format_hostent.c (support_format_hostent): Add
25605 more error information for NETDB_INTERNAL.
25607 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25609 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25610 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25611 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25612 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25613 AC_DEFINE if multi-arch is enabled.
25614 * sysdeps/i386/configure: Regenerated.
25616 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25618 * Makeconfig (+link-static-before-libc): Use
25619 $(DEFAULT-LDFLAGS-$(@F)).
25620 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25621 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25622 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25624 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25626 * elf/Makefile (tests): Add tst-main1.
25627 (modules-names): Add tst-main1mod.
25628 ($(objpfx)tst-main1): New.
25629 (CRT-tst-main1): Likewise.
25630 (LDFLAGS-tst-main1): Likewise.
25631 (LDLIBS-tst-main1): Likewise.
25632 (tst-main1mod.so-no-z-defs): Likewise.
25633 * elf/tst-main1.c: New file.
25634 * elf/tst-main1mod.c: Likewise.
25636 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25638 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25640 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25642 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25643 (fma): Define using libm_alias_double.
25644 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25645 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25647 (fmal): Do not define as compat symbol here.
25648 * sysdeps/alpha/fpu/s_fma.c: New file.
25650 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25652 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25654 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25657 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25659 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25661 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25662 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25663 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25664 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25666 Include <math_ldbl_opt.h>
25667 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25669 (compat_symbol): Undefine and redefine.
25670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25672 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25673 (compat_symbol): Undefine and redefine.
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25675 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25676 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25677 GLIBC_2_1 for libm.
25678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25679 GLIBC_2.0 copysignl symbol.
25680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25681 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25683 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25685 2017-10-04 Florian Weimer <fweimer@redhat.com>
25687 * scripts/check-local-headers.sh: Ignore nspr4 header file
25688 directory in addition to nspr.
25690 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25693 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25694 * configure: Regenerate.
25695 * crypt/Makefile (nss-cpp-flags): New variable.
25696 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25697 (CPPFLAGS-md5-crypt.c): Use it.
25698 * scripts/check-local-headers.sh: Ignore nspr header file
25701 2017-10-04 Andreas Schwab <schwab@suse.de>
25703 * nis/Makefile (services): Remove compat.
25704 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25705 ($(objpfx)libnss_compat.so): Remove rule.
25706 * nis/Versions (libnss_compat): Remove.
25707 * nss/Makefile (services): Add compat.
25708 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25709 * nss/Versions (libnss_compat): Define.
25710 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25711 Don't include <rpc/types.h>. Replace bool_t by bool.
25712 * nss/nss_compat/compat-initgroups.c: Likewise.
25713 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25714 instead of <rpcsrv/ypclnt.h>.
25715 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25716 yp_get_default_domain.
25717 * nss/nss_compat/compat-pwd.c: Likewise.
25718 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25719 yp_get_default_domain.
25720 * nss/nss_compat/nisdomain.c: New file.
25721 * nss/nss_compat/nisdomain.h: Likewise.
25723 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25727 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25729 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25735 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25737 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25738 "movl main@GOTOFF(%ebx), %eax".
25740 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25742 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25743 allow undefined _DYNAMIC in PIE libc.a.
25744 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25747 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25749 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25752 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25754 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25757 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25759 * math/test-math-iscanonical.cc (error): Replace bool with int.
25761 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25763 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25764 (modf): Define using libm_alias_double, only if [!__modf].
25765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25766 <libm-alias-double.h>.
25767 (modf): Define using libm_alias_double, only if [!__modf].
25768 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25769 compat symbol here.
25770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25771 (weak_alias): Do not undefine and redefine.
25772 (strong_alias): Likewise.
25773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25774 (weak_alias): Likewise.
25775 (strong_alias): Likewise.
25777 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25778 (logb): Define using libm_alias_double, only if [!__logb].
25779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25780 <libm-alias-double.h>.
25781 (logb): Define using libm_alias_double, only if [!__logb].
25782 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25784 (weak_alias): Do not undefine and redefine.
25785 (strong_alias): Likewise.
25786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25787 (weak_alias): Likewise.
25788 (strong_alias): Likewise.
25790 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25792 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25793 Check SHARED instead PIC.
25795 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25798 [!__fmaf] (fmaf): Define using libm_alias_float.
25800 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25801 (frexp): Define using libm_alias_double.
25802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25803 <libm-alias-double.h>.
25804 (frexp): Define using libm_alias_double.
25805 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25806 compat symbol here.
25808 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25811 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25812 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25813 (CFLAGS-test-math-iscanonical.cc): New variable.
25814 * math/test-math-iscanonical.cc: New file.
25815 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25816 Provide a C++ implementation based on function overloading,
25817 rather than using __MATH_TG, which uses C-only builtins.
25818 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25820 * sysdeps/powerpc/powerpc64le/Makefile
25821 (CFLAGS-test-math-iscanonical.cc): New variable.
25823 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25825 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25826 (ceil): Define using libm_alias_double.
25827 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25828 (floor): Define using libm_alias_double.
25829 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25830 <libm-alias-double.h>.
25831 (llround): Define using libm_alias_double.
25832 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25833 <libm-alias-double.h>.
25834 (lround): Define using libm_alias_double.
25835 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25836 <libm-alias-double.h>.
25837 (nearbyint): Define using libm_alias_double.
25838 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25839 <libm-alias-double.h>.
25840 (remquo): Define using libm_alias_double.
25841 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25842 (rint): Define using libm_alias_double.
25843 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25844 (round): Define using libm_alias_double.
25845 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25846 (trunc): Define using libm_alias_double.
25847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25848 <libm-alias-double.h>.
25849 (ceil): Define using libm_alias_double.
25850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25851 <libm-alias-double.h>.
25852 (floor): Define using libm_alias_double.
25853 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25854 <libm-alias-double.h>.
25855 (llround): Define using libm_alias_double.
25856 [_LP64] (lround): Likewise.
25857 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25858 <libm-alias-double.h>.
25859 [!_LP64] (lround): Define using libm_alias_double.
25860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25861 <libm-alias-double.h>.
25862 (nearbyint): Define using libm_alias_double.
25863 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25864 <libm-alias-double.h>.
25865 (remquo): Define using libm_alias_double.
25866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25867 <libm-alias-double.h>.
25868 (rint): Define using libm_alias_double.
25869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25870 <libm-alias-double.h>.
25871 (round): Define using libm_alias_double.
25872 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25873 <libm-alias-double.h>.
25874 (trunc): Define using libm_alias_double.
25875 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25876 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25877 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25878 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25879 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25880 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25881 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25882 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25883 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25885 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25887 * math/w_remainder.c: New file.
25888 * math/w_remainderf.c: New file.
25889 * math/w_remainderl.c: New file.
25891 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25893 * elf/rtld.c (BOOTSTRAP_MAP): New.
25894 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25895 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25897 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25899 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25902 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25904 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25905 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25906 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25907 rtld_hidden_data_ver): Define to empty.
25908 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25909 __assert_perror_fail): Likewise.
25910 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25911 (__rewinddir): Likewise.
25912 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25913 (__profile_frequency): Likewise.
25914 * include/setjmp.h (__sigsetjmp): Likewise.
25915 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25916 __libc_sigaction): Likewise.
25917 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25918 not set hidden attribute.
25919 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25920 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25921 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25922 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25923 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25924 __fxstatat64): Likewise.
25925 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25926 (__uname): Likewise.
25927 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25928 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25929 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25930 (NO_RTLD_HIDDEN): Set.
25931 * sysdeps/mach/hurd/configure: Refresh.
25932 * config.h.in: Refresh.
25934 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25936 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25937 (atan): Define using libm_alias_double.
25938 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25939 (tan): Define using libm_alias_double.
25940 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25941 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25943 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25944 define as weak alias of __atan. Do not define any aliases if
25946 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25947 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25949 as weak alias of __tan. Do not define any aliases if [__tan].
25950 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25951 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25954 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25956 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25957 and define as weak alias of __atan.
25958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25961 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25962 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25963 define as weak alias of __tan.
25965 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25967 * math/w_lgamma.c: New file.
25968 * math/w_lgammaf.c: New file.
25969 * math/w_lgammal.c: New file.
25971 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25973 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25974 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25975 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25976 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25977 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25978 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25979 * sysdeps/i386/fpu/w_log2f.c: New file.
25980 * sysdeps/i386/fpu/w_logf.c: New file.
25981 * sysdeps/i386/fpu/w_powf.c: New file.
25982 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25983 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25984 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25986 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25987 H.J. Lu <hongjiu.lu@intel.com>
25989 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25990 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25991 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25992 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25993 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25995 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25996 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25997 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25998 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25999 * sysdeps/i386/fpu/w_exp2f.c: New file.
26000 * sysdeps/i386/fpu/w_expf.c: New file.
26001 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26002 * sysdeps/x86_64/fpu/w_expf.c: New file.
26004 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26006 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26009 * math/w_log2f.c: New file.
26010 * math/w_logf.c: New file.
26011 * math/w_powf.c: New file.
26012 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26013 * math/w_logf_compat.c (__logf_compat): Likewise.
26014 * math/w_powf_compat.c (__powf_compat): Likewise.
26015 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26016 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26017 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26018 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26020 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26022 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26023 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26024 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26025 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26026 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26027 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26028 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26039 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26040 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26047 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26051 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26053 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26054 (sysdep_routines): Add memrchr_power8.
26055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26056 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26057 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26059 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26060 (memrchr): Add __memrchr_power8 to ifunc list.
26061 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26066 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26067 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26069 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26070 (__posix_fallocate64_l64): Likewise.
26072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26075 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26076 (__sched_setaffinity_new): Add libc_hidden_proto and
26079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26082 * include/glob.h (__glob64): Add libc_hidden_proto.
26083 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26089 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26095 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26100 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26106 * csu/version.c (__libc_print_version): Add attribute_hidden.
26108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26111 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26116 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26121 * nscd/nscd_helper.c (__nis_hash): New prototype.
26123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26126 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26127 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26129 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26130 * termios/tcgetattr.c (__tcgetattr): Likewise.
26132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26135 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26136 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26137 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26138 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26139 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26144 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26149 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26150 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26155 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26160 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26161 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26166 * include/ifreq.h: New file.
26167 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26168 (__ifreq): Likewise.
26169 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26170 (__ifreq): Likewise.
26172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26175 * include/idna.h: New file.
26176 * inet/getnameinfo.c: Include <idna.h> instead of
26178 (__idna_to_unicode_lzlz): Removed.
26179 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26181 (__idna_to_ascii_lz): Removed.
26182 (__idna_to_unicode_lzlz): Likewise.
26184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26187 * include/plural-exp.h: New file.
26188 * intl/plural-exp.c: Include <plural-exp.h> instead of
26191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26194 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26195 "getsourcefilter.h".
26196 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26197 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26198 "getsourcefilter.h".
26199 (__get_sol): Removed.
26201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26204 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26206 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26211 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26217 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26222 * include/search.h (__tdestroy): Add libc_hidden_proto.
26223 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26228 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26233 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26239 * include/signal.h (__kill): Add libc_hidden_proto.
26240 (__sigblock): Likewise.
26241 (__sigprocmask): Likewise.
26242 (__sigaltstack): Likewise.
26243 * signal/kill.c (__kill): Add libc_hidden_def.
26244 * signal/sigblock.c (__sigblock): Likewise.
26245 * signal/sigprocmask.c (__sigprocmask): Likewise.
26246 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26247 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26248 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26249 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26250 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26252 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26254 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26255 (__sigprocmask): Likewise.
26256 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26258 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26259 (__sigprocmask): Likewise.
26260 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26266 * include/string.h (__strsep): Add libc_hidden_proto.
26267 * string/strsep.c (__strsep): Add libc_hidden_def.
26269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26272 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26274 (__spawni): Likewise.
26276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26279 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26280 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26286 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26291 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26292 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26293 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26294 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26295 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26297 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26298 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26303 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26304 (__dcigettext): Likewise.
26306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26309 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26311 (__get_nprocs): Likewise.
26312 (__get_phys_pages): Likewise.
26313 (__get_avphys_pages): Likewise.
26314 (__get_child_max): Add attribute_hidden.
26315 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26316 (__get_nprocs): Likewise.
26317 (__get_phys_pages): Likewise.
26318 (__get_avphys_pages): Likewise.
26319 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26321 (__get_nprocs): Likewise.
26322 (__get_phys_pages): Likewise.
26323 (__get_avphys_pages): Likewise.
26324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26326 (__get_nprocs_conf): Likewise.
26327 (__get_phys_pages): Likewise.
26328 (__get_avphys_pages): Likewise.
26330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26333 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26335 (__netlink_close): Likewise.
26336 (__netlink_free_handle): Likewise.
26337 (__netlink_request): Likewise.
26339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26342 * include/rpc/rpc.h (__rpc_thread_variables): Add
26344 (__rpc_thread_svc_cleanup): Likewise.
26345 (__rpc_thread_clnt_cleanup): Likewise.
26346 (__rpc_thread_key_cleanup): Likewise.
26348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26351 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26352 (__writev): Likewise.
26353 * misc/readv.c (__readv): Add libc_hidden_def.
26354 * misc/writev.c (__writev): Likewise.
26355 * sysdeps/posix/readv.c (__readv): Likewise.
26356 * sysdeps/posix/writev.c (__writev): Likewise.
26357 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26358 (__readv): Likewise.
26359 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26360 (__writev): Likewise.
26362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26365 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26366 (__regcomp): Add libc_hidden_proto.
26367 (__regexec): Likewise.
26368 (__regfree): Likewise.
26369 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26370 (__regfree): Likewise.
26371 * posix/regexec.c (__regexec): Likewise.
26373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26376 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26377 (__getutent): Likewise.
26378 (__getutid): Likewise.
26379 (__getutline): Likewise.
26380 (__pututline): Likewise.
26381 (__getutent_r): Likewise.
26382 (__getutid_r): Likewise.
26383 (__getutline_r): Likewise.
26384 (__utmpname): Add attribute_hidden.
26385 (__setutent): Likewise.
26386 (__endutent): Likewise.
26387 * login/getutent.c (__getutent): Add libc_hidden_def.
26388 * login/getutent_r.c (__getutent_r): Likewise.
26389 (__pututline): Likewise.
26390 * login/getutid.c (__getutid): Likewise.
26391 * login/getutid_r.c (__getutid_r): Likewise.
26392 * login/getutline.c (__getutline): Likewise.
26393 * login/getutline_r.c (__getutline_r): Likewise.
26394 * login/updwtmp.c (__updwtmp): Likewise.
26396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26399 * include/dirent.h (__opendir): Always add attribute_hidden.
26400 (__fdopendir): Likewise.
26401 (__closedir): Likewise.
26402 (__readdir): Likewise.
26403 (__readdir64): Add libc_hidden_proto.
26404 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26405 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26406 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26407 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26413 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26414 * include/netdb.h (__gethostbyaddr_r): Likewise.
26415 (__gethostbyname_r): Likewise.
26416 (__gethostbyname2_r): Likewise.
26417 (__getnetbyaddr_r): Likewise.
26418 (__getnetbyname_r): Likewise.
26419 (__getservbyname_r): Likewise.
26420 (__getservbyport_r): Likewise.
26421 (__getprotobyname_r): Likewise.
26422 (__getprotobynumber_r): Likewise.
26423 (__getnetgrent_r): Likewise.
26424 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26425 (__getrpcbynumber_r): Likewise.
26426 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26431 * include/stdio.h (__fcloseall): Add attribute_hidden.
26432 (__getline): Likewise.
26433 (__path_search): Likewise.
26434 (__gen_tempname): Likewise.
26435 (__libc_message): Likewise.
26436 (__flockfile): Likewise.
26437 (__funlockfile): Likewise.
26438 (__fxprintf): Likewise.
26439 (__fxprintf_nocancel): Likewise.
26441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26444 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26445 (__sgetsgent_r): Likewise.
26447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26450 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26451 (__statfs64): Likewise.
26452 (__fstatfs64): Likewise.
26453 * include/sys/statvfs.h (__statvfs64): Likewise.
26454 (__fstatvfs64): Likewise.
26455 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26456 (__statfs_filesize_max): Likewise.
26457 (__statfs_symlinks): Likewise.
26458 (__statfs_chown_restricted): Likewise.
26460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26463 * include/time.h (__tzstring): Add attribute_hidden.
26464 (__tzfile_read): Likewise.
26465 (__tzfile_compute): Likewise.
26466 (__tzfile_default): Likewise.
26467 (__tzset_parse_tz): Likewise.
26468 (__offtime): Likewise.
26469 (__asctime_r): Likewise.
26470 (__tzset): Likewise.
26471 (__tz_convert): Likewise.
26472 (__getdate_r): Likewise.
26473 (__getclktck): Likewise.
26475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26478 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26479 (__nscd_unmap): Likewise.
26480 (__nscd_cache_search): Likewise.
26481 (__nscd_get_nl_timestamp): Likewise.
26482 (__nscd_getpwnam_r): Likewise.
26483 (__nscd_getpwuid_r): Likewise.
26484 (__nscd_getgrnam_r): Likewise.
26485 (__nscd_getgrgid_r): Likewise.
26486 (__nscd_gethostbyname_r): Likewise.
26487 (__nscd_gethostbyname2_r): Likewise.
26488 (__nscd_gethostbyaddr_r): Likewise.
26489 (__nscd_getai): Likewise.
26490 (__nscd_getgrouplist): Likewise.
26491 (__nscd_getservbyname_r): Likewise.
26492 (__nscd_getservbyport_r): Likewise.
26493 (__nscd_innetgr): Likewise.
26494 (__nscd_setnetgrent): Likewise.
26496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26499 * include/gmp.h: Declare internal functions only if _ISOMAC is
26501 (__mpn_extract_double): Add attribute_hidden.
26502 (__mpn_extract_long_double): Likewise.
26503 (__mpn_extract_float128): Likewise.
26504 (__mpn_construct_float): Likewise.
26505 (__mpn_construct_double): Likewise.
26506 (__mpn_construct_long_double): Likewise.
26507 (__mpn_construct_float128): Likewise.
26508 (mpn_add_1): Likewise.
26509 (mpn_addmul_1): Likewise.
26510 (mpn_add_n): Likewise.
26511 (mpn_cmp): Likewise.
26512 (mpn_divrem): Likewise.
26513 (mpn_lshift): Likewise.
26514 (mpn_mul): Likewise.
26515 (mpn_mul_1): Likewise.
26516 (mpn_rshift): Likewise.
26517 (mpn_sub_1): Likewise.
26518 (mpn_submul_1): Likewise.
26519 (mpn_sub_n): Likewise.
26521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26524 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26525 (__wcscat): Likewise.
26526 (__btowc): Likewise.
26527 (__wcrtomb): Likewise.
26528 (__mbsrtowcs): Likewise.
26529 (__wcsrtombs): Likewise.
26530 (__mbsnrtowcs): Likewise.
26531 (__wcsnrtombs): Likewise.
26532 (__wcsncpy): Likewise.
26533 (__wcpncpy): Likewise.
26534 (__wmemcpy): Likewise.
26535 (__wmempcpy): Likewise.
26536 (__wmemmove): Likewise.
26537 (__wcschrnul): Likewise.
26538 (__vfwscanf): Likewise.
26539 (__vswprintf): Likewise.
26540 (__fwprintf): Likewise.
26541 (__vfwprintf): Likewise.
26543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26546 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26547 (__getgrgid_r): Likewise.
26548 (__getgrnam_r): Likewise.
26549 * include/pwd.h (__getpwuid_r): Likewise.
26550 (__getpwnam_r): Likewise.
26551 (__fgetpwent_r): Likewise.
26552 * include/shadow.h (__getspnam_r): Likewise.
26553 (__sgetspent_r): Likewise.
26554 (__fgetspent_r): Likewise.
26556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26559 * include/unistd.h (__access): Add attribute_hidden.
26560 (__lseek64): Likewise.
26561 (__libc_pread64): Likewise.
26562 (__pipe2): Likewise.
26563 (__sleep): Likewise.
26564 (__chdir): Likewise.
26565 (__fchdir): Likewise.
26566 (__getcwd): Likewise.
26567 (__rmdir): Likewise.
26568 (__execvpe): Likewise.
26569 (__execve): Likewise.
26570 (__setsid): Likewise.
26571 (__getuid): Likewise.
26572 (__geteuid): Likewise.
26573 (__getgid): Likewise.
26574 (__getegid): Likewise.
26575 (__getgroups): Likewise.
26576 (__group_member): Likewise.
26577 (__ttyname_r): Likewise.
26578 (__isatty): Likewise.
26579 (__readlink): Likewise.
26580 (__unlink): Likewise.
26581 (__gethostname): Likewise.
26582 (__profil): Likewise.
26583 (__getdtablesize): Likewise.
26585 (__ftruncate): Likewise.
26586 (__ftruncate64): Likewise.
26588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26591 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26592 * argp/argp-fs-xinl.c: Likewise.
26593 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26594 * argp/argp-parse.c: Include <argp.h>.
26595 * argp/argp-xinl.c: Likewise.
26596 * include/argp-fmtstream.h: New file.
26597 * include/argp.h (__argp_error): Add attribute_hidden.
26598 (__argp_failure): Likewise.
26599 (__argp_input): Likewise.
26600 (__argp_state_help): Likewise.
26602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26605 * include/wchar.h (____wcstof_l_internal): New prototype.
26606 (____wcstod_l_internal): Likewise.
26607 (____wcstold_l_internal): Likewise.
26608 (____wcstol_l_internal): Likewise.
26609 (____wcstoul_l_internal): Likewise.
26610 (____wcstoll_l_internal): Likewise.
26611 (____wcstoull_l_internal): Likewise.
26612 (____wcstof128_l_internal): Likewise.
26613 * sysdeps/ieee754/float128/wcstof128.c
26614 (____wcstof128_l_internal): Removed.
26615 * sysdeps/ieee754/float128/wcstof128_l.c
26616 (____wcstof128_l_internal): Likewise.
26617 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26618 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26619 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26620 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26621 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26622 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26623 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26624 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26625 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26626 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26631 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26632 instead of <sys/statvfs.h>.
26633 (__internal_statvfs): Removed.
26634 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26635 instead of <sys/statvfs.h>.
26636 (__internal_statvfs64): Removed.
26637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26638 "internal_statvfs.h" instead of <sys/statvfs.h>.
26639 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26640 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26641 instead of <sys/statvfs.h>.
26642 (__internal_statvfs): Removed.
26643 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26644 instead of <sys/statvfs.h>.
26645 (__internal_statvfs64): Removed.
26647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26650 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26651 (__gconv_close): Likewise.
26652 (__gconv): Likewise.
26653 (__gconv_find_transform): Likewise.
26654 (__gconv_lookup_cache): Likewise.
26655 (__gconv_compare_alias_cache): Likewise.
26656 (__gconv_load_cache): Likewise.
26657 (__gconv_get_path): Likewise.
26658 (__gconv_close_transform): Likewise.
26659 (__gconv_release_cache): Likewise.
26660 (__gconv_find_shlib): Likewise.
26661 (__gconv_release_shlib): Likewise.
26662 (__gconv_get_builtin_trans): Likewise.
26663 (__gconv_compare_alias): Likewise.
26664 * include/dlfcn.h (_dlerror_run): Likewise.
26665 * include/stdio.h (__fortify_fail_abort): Likewise.
26666 * include/time.h (__tz_compute): Likewise.
26667 (__strptime_internal): Likewise.
26668 * intl/gettextP.h (_nl_find_domain): Likewise.
26669 (_nl_load_domain): Likewise.
26670 (_nl_find_msg): Likewise.
26671 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26672 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26673 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26674 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26675 (__gai_find_request): Likewise.
26676 (__gai_remove_request): Likewise.
26677 (__gai_notify): Likewise.
26678 (__gai_notify_only): Likewise.
26679 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26680 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26681 (_dl_non_dynamic_init): Likewise.
26682 (_dl_aux_init): Likewise.
26683 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26684 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26686 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26687 (__wcsmbs_clone_conv): Likewise.
26688 (__wcsmbs_named_conv): Likewise.
26690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26693 * include/stdlib.h (__random): Add attribute_hidden.
26694 (__random_r): Likewise.
26695 (__srandom_r): Likewise.
26696 (__initstate_r): Likewise.
26697 (__setstate_r): Likewise.
26698 (__erand48_r): Likewise.
26699 (__nrand48_r): Likewise.
26700 (__jrand48_r): Likewise.
26701 (__srand48_r): Likewise.
26702 (__seed48_r): Likewise.
26703 (__lcong48_r): Likewise.
26704 (__drand48_iterate): Likewise.
26705 (__setenv): Likewise.
26706 (__unsetenv): Likewise.
26707 (__clearenv): Likewise.
26708 (__ptsname_r): Likewise.
26709 (__posix_openpt): Likewise.
26710 (__add_to_environ): Likewise.
26711 (__realpath): Add libc_hidden_proto.
26712 (__ecvt_r): Likewise.
26713 (__fcvt_r): Likewise.
26714 (__qecvt_r): Likewise.
26715 (__qfcvt_r): Likewise.
26716 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26717 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26722 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26723 * include/time.h (__mktime_internal): Likewise.
26724 * libio/iolibio.h (__fopen_internal): Likewise.
26726 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26728 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26730 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26731 Correct offset used to restore PIC register.
26733 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26736 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26737 code to load address of __getcontext_ret when generating PIC code.
26739 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26741 * elf/Makefile (tests-static-internal): Add
26742 tst-tls1-static-non-pie.
26743 (LDFLAGS-tst-tls1-static-non-pie): New.
26744 * elf/tst-tls1-static-non-pie.c: New file.
26746 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26748 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26749 (asinh): Define using libm_alias_double.
26750 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26751 (cbrt): Define using libm_alias_double.
26752 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26753 <libm-alias-double.h>.
26754 (copysign): Define using libm_alias_double.
26755 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26756 (erf): Define using libm_alias_double.
26758 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26759 (expm1): Define using libm_alias_double.
26760 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26761 (fabs): Define using libm_alias_double.
26762 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26764 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26765 <libm-alias-double.h>.
26766 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26768 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26769 <libm-alias-double.h>.
26770 (getpayload): Define using libm_alias_double.
26771 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26772 <libm-alias-double.h>.
26773 (llrint): Define using libm_alias_double.
26774 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26775 (lrint): Define using libm_alias_double.
26776 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26777 <libm-alias-double.h>.
26778 (nextup): Define using libm_alias_double.
26779 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26780 <libm-alias-double.h>.
26781 (roundeven): Define using libm_alias_double.
26782 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26784 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26785 <libm-alias-double.h>.
26786 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26787 using libm_alias_double.
26788 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26789 (cos): Define using libm_alias_double.
26791 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26792 <libm-alias-double.h>.
26793 (sincos): Define using libm_alias_double.
26794 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26795 (tanh): Define using libm_alias_double.
26796 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26797 <libm-alias-double.h>.
26798 (totalorder): Define using libm_alias_double.
26799 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26800 <libm-alias-double.h>.
26801 (totalordermag): Define using libm_alias_double.
26802 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26804 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26806 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26807 <libm-alias-double.h>.
26808 (getpayload): Define using libm_alias_double.
26809 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26810 <libm-alias-double.h>.
26811 (roundeven): Define using libm_alias_double.
26812 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26813 <libm-alias-double.h>.
26814 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26815 <libm-alias-double.h>.
26816 (totalorder): Define using libm_alias_double.
26817 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26818 <libm-alias-double.h>.
26819 (totalordermag): Define using libm_alias_double.
26820 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26821 libc compat symbol here.
26822 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26823 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26824 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26825 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26826 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26827 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26828 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26829 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26830 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26831 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26833 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26835 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26836 _dl_relocate_static_pie instead of _dl_start to compute load
26837 address in static PIE. Return 0 if _DYNAMIC is undefined for
26840 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26842 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26843 _DYNAMIC is undefined for static executable.
26845 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26847 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26849 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26853 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26856 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26857 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26858 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26860 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26861 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26862 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26864 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26865 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26866 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26868 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26869 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26871 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26873 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26875 * math/bits/cmathcalls.h (cimag): Remove inline.
26876 (creal): Remove inline.
26877 (conj): Remove inline.
26879 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26881 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26882 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26883 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26884 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26885 (issignalingf_inline): Likewise.
26886 (POWF_LOG2_TABLE_BITS): Likewise.
26887 (POWF_LOG2_POLY_ORDER): Likewise.
26888 (POWF_SCALE_BITS): Likewise.
26889 (POWF_SCALE): Likewise.
26890 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26891 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26892 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26894 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26896 * math/Makefile (type-float-routines): Add e_log2f_data.
26897 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26898 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26899 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26900 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26901 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26902 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26903 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26905 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26907 * math/Makefile (type-float-routines): Add e_logf_data.
26908 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26909 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26910 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26911 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26912 * sysdeps/i386/fpu/e_logf_data.c: New file.
26913 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26914 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26916 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26918 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26919 undefined _DYNAMIC in PIE libc.a.
26920 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26923 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26925 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26926 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26927 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26928 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26929 (__signbit): Remove.
26930 (__signbitl): Remove.
26931 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26932 (__signbit): Remove.
26933 (__signbitl): Remove.
26934 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26935 (__signbit): Remove.
26936 (__signbitl): Remove.
26937 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26938 (__signbit): Remove.
26939 (__signbitl): Remove.
26940 * sysdeps/tile/bits/mathinline.h: Delete file.
26941 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26942 (__signbit): Remove.
26943 (__signbitl): Remove.
26945 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26947 * math/math.h: Improve handling of C99 isgreater macros.
26948 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26949 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26950 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26951 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26952 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26954 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26956 * sysdeps/aarch64/libm-test-ulps: Update.
26958 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26962 math_opt_barrier on argument when doing arithmetic on it.
26963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26964 Likewise. Use math_force_eval not math_opt_barrier after
26966 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26967 math_opt_barrier on argument when doing arithmetic on it.
26968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26971 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26973 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26975 (__freeifaddrs): Likewise.
26977 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26979 * include/dirent.h (__dirfd): New declaration.
26980 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26982 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26983 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26984 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26985 * include/unistd.h (__revoke): New declaration.
26986 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26988 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26989 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26991 * include/dirent.h (__seekdir): New declaration.
26992 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26993 redefine as weak alias.
26994 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26996 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26997 and use libc_hidden_def on them.
26998 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27000 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27001 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27002 instead of getifaddrs and freeifaddrs.
27004 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27007 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27008 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27009 (__dso_handle): Remove declaration.
27010 * dlfcn/tstatexit.c (__dso_handle): Removed.
27011 (main): Don't check __dso_handle.
27012 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27013 (main): Don't check __dso_handle.
27014 * include/dso_handle.h: New file.
27015 * malloc/mtrace.c: Include <dso_handle.h>.
27016 (mtrace): Pass __dso_handle directly.
27017 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27018 (__dso_handle): Remove declaration.
27019 (__pthread_atfork): Pass __dso_handle directly.
27020 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27021 (__dso_handle): Removed.
27022 * posix/wordexp-test.c: Include <dso_handle.h>.
27023 (__dso_handle): Remove declaration.
27024 (__app_register_atfork): Pass __dso_handle directly.
27025 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27026 (__dso_handle): Remove declaration.
27027 (at_quick_exit): Pass __dso_handle directly.
27028 * stdlib/atexit.c: Include <dso_handle.h>.
27029 (__dso_handle): Remove declaration.
27030 (atexit): Pass __dso_handle directly.
27031 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27032 (__dso_handle): Removed.
27034 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27036 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27039 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27041 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27042 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27043 values to correct default value for given type.
27045 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27048 * elf/Makefile (tests): Add tst-debug1.
27049 ($(objpfx)tst-debug1): New.
27050 ($(objpfx)tst-debug1.out): Likewise.
27051 ($(objpfx)tst-debug1mod1.so): Likewise.
27052 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27053 with p_filesz == 0.
27054 * elf/tst-debug1.c: New file.
27056 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27058 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27059 Define using __ifunc.
27061 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27063 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27066 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27069 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27071 2017-09-26 Florian Weimer <fweimer@redhat.com>
27073 * resolv/Makefile (tests-internal): Fix typo in comment.
27075 2017-09-26 Florian Weimer <fweimer@redhat.com>
27077 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27079 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27081 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27082 Use an union instead of a max_align_t array for __space,
27083 so that __space is the same size on all platforms.
27084 * malloc/scratch_buffer_grow_preserve.c
27085 (__libc_scratch_buffer_grow_preserve): Likewise.
27088 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27090 * posix/Makefile (routines): Add glob-lstat-compat and
27091 glob64-lstat-compat.
27092 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27093 * posix/glob-lstat-compat.c: New file.
27094 * posix/glob64-lstat-compat.c: Likewise.
27095 * posix/tst-glob_lstat_compat.c: Likewise.
27096 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27097 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27098 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27099 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27101 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27102 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27103 * posix/glob.c (glob_lstat): New function.
27104 (glob): Rename to __glob and add versioned symbol to 2.27.
27105 (glob_in_dir): Use glob_lstat.
27106 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27107 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27108 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27110 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27111 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27112 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27113 gl_lstat on glob call.
27114 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27115 and glob64 symbols.
27116 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27117 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27118 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27119 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27120 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27121 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27122 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27123 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27124 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27125 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27126 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27127 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27130 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27132 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27133 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27134 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27135 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27139 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27140 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27141 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27143 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27145 * configure.ac (AS): Require binutils 2.25 or later.
27146 * configure: Regenerated.
27148 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27151 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27154 2017-09-25 DJ Delorie <dj@redhat.com>
27157 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27160 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27162 * sysdeps/ieee754/dbl-64/sincos32.h
27163 [SINCCOS32_H]: Remove define.
27164 [SINCOS32_H]: Define.
27166 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27168 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27170 * math/w_exp2f.c: New file.
27171 * math/w_expf.c: New file.
27172 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27173 * math/w_expf_compat.c (__expf_compat): Likewise.
27174 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27175 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27176 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27177 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27178 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27179 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27180 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27182 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27183 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27184 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27185 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27186 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27187 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27196 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27198 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27199 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27200 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27205 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27209 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27211 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27212 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27213 (roundtoint, converttoint): Likewise.
27214 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27215 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27216 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27217 * sysdeps/ieee754/flt-32/math_config.h: New file.
27218 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27219 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27220 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27221 * sysdeps/i386/fpu/math_errf.c: New file.
27222 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27223 * sysdeps/ia64/fpu/math_errf.c: New file.
27224 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27225 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27227 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27229 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27230 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27231 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27232 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27233 to make sure that these symbols are defined.
27234 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27236 (__need_NULL): Do not define.
27237 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27239 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27240 CMGROUP_MAX, cmsgcred): Do not define.
27241 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27243 * bits/socket.h: Likewise.
27244 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27245 __gettimeofday instead of gettimeofday.
27246 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27247 instead of settimeofday.
27249 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27251 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27252 (asinhf): Define using libm_alias_float.
27253 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27254 (atanf): Define using libm_alias_float.
27255 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27256 (cbrtf): Define using libm_alias_float.
27257 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27258 (ceilf): Define using libm_alias_float.
27259 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27260 <libm-alias-float.h>.
27261 (copysignf): Define using libm_alias_float.
27262 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27263 (cosf): Define using libm_alias_float.
27264 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27265 (erff): Define using libm_alias_float.
27267 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27268 (expm1f): Define using libm_alias_float.
27269 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27270 (fabsf): Define using libm_alias_float.
27271 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27272 (floorf): Define using libm_alias_float.
27273 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27274 (frexpf): Define using libm_alias_float.
27275 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27277 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27278 <libm-alias-float.h>.
27279 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27281 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27282 <libm-alias-float.h>.
27283 (getpayloadf): Define using libm_alias_float.
27284 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27285 <libm-alias-float.h>.
27286 (llrintf): Define using libm_alias_float.
27287 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27288 <libm-alias-float.h>.
27289 (llroundf): Define using libm_alias_float.
27290 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27291 (logbf): Define using libm_alias_float.
27292 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27293 (lrintf): Define using libm_alias_float.
27294 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27295 (lroundf): Define using libm_alias_float.
27296 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27297 (modff): Define using libm_alias_float.
27298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27299 <libm-alias-float.h>.
27300 (nearbyintf): Define using libm_alias_float.
27301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27302 <libm-alias-float.h>.
27303 (nextafterf): Define using libm_alias_float.
27304 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27305 <libm-alias-float.h>.
27306 (nextupf): Define using libm_alias_float.
27307 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27308 <libm-alias-float.h>.
27309 (remquof): Define using libm_alias_float.
27310 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27311 (rintf): Define using libm_alias_float.
27312 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27313 <libm-alias-float.h>.
27314 (roundevenf): Define using libm_alias_float.
27315 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27316 (roundf): Define using libm_alias_float.
27317 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27318 using libm_alias_float.
27319 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27320 <libm-alias-float.h>.
27321 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27322 Define using libm_alias_float.
27323 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27324 <libm-alias-float.h>.
27325 (sincosf): Define using libm_alias_float.
27326 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27327 (sinf): Define using libm_alias_float.
27328 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27329 (tanf): Define using libm_alias_float.
27330 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27331 (tanhf): Define using libm_alias_float.
27332 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27333 <libm-alias-float.h>.
27334 (totalorderf): Define using libm_alias_float.
27335 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27336 <libm-alias-float.h>.
27337 (totalordermagf): Define using libm_alias_float.
27338 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27339 (truncf): Define using libm_alias_float.
27340 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27342 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27345 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27348 math/math.h: Let fpclassify use the builtin in C++ mode, even
27349 when optimazing for size.
27351 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27353 * csu/Makefile (generated): Do not add version-info.h.
27354 (before-compile): Likewise.
27355 (all-Banner-files): Remove variable.
27356 ($(objpfx)version-info.h): Remove rule.
27357 * csu/version.c (banner): Do not include "version-info.h".
27358 * libidn/Banner: Remove.
27359 * manual/contrib.texi (Simon Josefsson): New entry.
27361 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27363 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27364 Remove conditionals on LDBL_MANT_DIG.
27365 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27366 (__ieee754_lgammal_r): Likewise.
27368 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27372 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27373 _Float128 and L(). Replace _Float128 with long double and L(x)
27374 with xL, throughout the file.
27375 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27380 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27383 sysdeps/ieee754/ldbl-128ibm.
27384 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27385 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27386 of including it. Keep _Float128 and L() intact. These will be
27387 reviewed by a separate patch.
27388 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27393 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27396 (__finitef128): Define to __redirect___finitef128.
27397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27398 (__isinff128): Define to __redirect___isinff128.
27399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27400 (__isnanf128): Define to __redirect___isnanf128.
27402 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27404 * sysdeps/powerpc/powerpc64le/Makefile
27405 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27406 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27408 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27409 Carlos O'Donell <carlos@redhat.com>
27412 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27413 * stdlib/test-dlclose-exit-race.c: New file.
27414 * stdlib/test-dlclose-exit-race-helper.c: New file.
27415 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27417 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27419 * crypt/Banner: Remove file.
27420 * nptl/Banner: Likewise.
27421 * resolv/Banner: Likewise.
27422 * soft-fp/Banner: Likewise.
27423 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27424 ($(objpfx)version.d): Remove dependency on banner.h.
27425 ($(objpfx)version.os): Likewise.
27426 * nptl/version.c (banner): Do not include banner.h.
27427 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27428 Jelinek and BIND code.
27430 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27431 Carlos O'Donell <carlos@redhat.com>
27433 * support/xdlfcn.h: New file.
27434 * support/xdlfcn.c: New file.
27435 * support/Makefile (libsupport-routines): Add xdlfcn.
27436 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27438 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27442 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27443 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27444 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27445 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27446 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27447 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27448 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27450 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27451 Ricky Zhou <rickyz@google.com>
27452 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27455 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27457 (__new_exitfn): Fail registration when we finished at_exit processing.
27458 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27459 * stdlib/on_exit.c (__on_exit): Likewise.
27460 * stdlib/exit.c (__exit_funcs_done): New variable.
27461 (__run_exit_handlers): Use __exit_funcs_lock.
27462 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27464 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27465 (test-cxa_atexit-race, test-on_exit-race): New tests.
27466 * stdlib/test-atexit-race-common.c: New file.
27467 * stdlib/test-atexit-race.c: New file.
27468 * stdlib/test-at_quick_exit-race.c: New file.
27469 * stdlib/test-cxa_atexit-race.c: New file.
27470 * stdlib/test-on_exit-race.c: New file.
27472 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27474 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27475 * benchtests/exp2f-inputs: Copy of expf-inputs.
27476 * benchtests/log2f-inputs: Copy of logf-inputs.
27478 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27480 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27481 Explicitly take address of first element of array arguments in
27482 call to INLINE_SYSCALL.
27484 2017-09-19 Andreas Schwab <schwab@suse.de>
27487 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27489 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27492 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27494 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27495 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27496 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27498 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27499 * posix/Makefile (tests): Add tst-fexecve.
27500 * posix/tst-fexecve.c: New file.
27502 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27504 * benchtests/Makefile: Add logf benchmark.
27505 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27507 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27509 * benchtests/Makefile: Add expf benchmark.
27510 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27512 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27514 * csu/Makefile: Add -funwind-tables to libc-start.c.
27515 * debug/Makefile: Add -funwind-tables to backtrace.c.
27516 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27517 * sysdeps/arm/Makefile: Likewise.
27518 * sysdeps/i386/Makefile: Likewise.
27519 * sysdeps/m68k/Makefile: Likewise.
27520 * sysdeps/mips/Makefile: Likewise.
27521 * sysdeps/nios2/Makefile: Likewise.
27522 * sysdeps/sh/Makefile: Likewise.
27523 * sysdeps/sparc/Makefile: Likewise.
27525 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27527 * benchtests/Makefile (bench-math): Add trunc and truncf.
27528 (CFLAGS-bench-trunc.c): New variable.
27529 (CFLAGS-bench-truncf.c): Likewise.
27530 * benchtests/trunc-inputs: New file.
27531 * benchtests/truncf-inputs: Likewise.
27533 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27535 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27537 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27539 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27540 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27542 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27543 (exp10l): Define as weak alias.
27544 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27545 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27547 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27548 (remainderl): Define as weak alias.
27550 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27551 (fmal): Define using libm_alias_ldouble.
27552 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27553 (acoshl): Define using libm_alias_ldouble.
27554 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27555 (acosl): Define using libm_alias_ldouble.
27556 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27557 (asinl): Define using libm_alias_ldouble.
27558 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27559 (atan2l): Define using libm_alias_ldouble.
27560 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27561 (atanhl): Define using libm_alias_ldouble.
27562 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27563 (coshl): Define using libm_alias_ldouble.
27564 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27565 (exp10l): Define using libm_alias_ldouble.
27566 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27567 (exp2l): Define using libm_alias_ldouble.
27568 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27569 (expl): Define using libm_alias_ldouble.
27570 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27571 (fmodl): Define using libm_alias_ldouble.
27572 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27573 (hypotl): Define using libm_alias_ldouble.
27574 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27575 (j0l): Define using libm_alias_ldouble.
27577 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27578 (j1l): Define using libm_alias_ldouble.
27580 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27581 (jnl): Define using libm_alias_ldouble.
27583 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27584 (log10l): Define using libm_alias_ldouble.
27585 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27586 (log2l): Define using libm_alias_ldouble.
27587 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27588 (logl): Define using libm_alias_ldouble.
27589 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27590 (powl): Define using libm_alias_ldouble.
27591 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27592 (remainderl): Define using libm_alias_ldouble.
27593 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27594 (sinhl): Define using libm_alias_ldouble.
27595 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27596 (sqrtl): Define using libm_alias_ldouble.
27597 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27598 (tgammal): Define using libm_alias_ldouble.
27599 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27600 (exp10l): Do not use long_double_symbol here.
27601 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27602 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27603 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27604 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27605 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27606 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27607 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27608 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27609 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27610 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27611 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27612 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27613 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27614 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27615 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27616 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27617 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27618 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27619 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27620 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27621 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27622 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27624 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27626 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27627 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27629 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27631 * io/read.c (read): Add libc_hidden_weak.
27632 * sysdeps/mach/hurd/read.c (read): Likewise.
27633 * io/write.c (write): Likewise.
27634 * sysdeps/mach/hurd/write.c (write): Likewise.
27635 * io/pread64.c (__pread64): Likewise.
27636 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27637 * posix/pread64.c (__pread64): Add libc_hidden_def.
27639 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27641 * benchtests/scripts/compare_strings.py: New option -g.
27642 (draw_graph): Print a message that a graph is being generated.
27643 (process_results): Generate graph only if -g is passed.
27644 (main): Process option -g.
27646 * benchtests/scripts/compare_strings.py (process_results):
27647 Better spacing for output.
27649 * benchtests/scripts/compare_strings.py: Use argparse.
27650 * benchtests/README: Document existence of compare_strings.py.
27652 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27654 * math/s_fma.c: Include <libm-alias-double.h>.
27655 (fma): Define using libm_alias_double.
27656 * math/s_nextafter.c: Include <libm-alias-double.h>.
27657 (nextafter): Define using libm_alias_double.
27658 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27659 (acos): Define using libm_alias_double.
27660 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27661 (aocsh): Define using libm_alias_double.
27662 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27663 (asin): Define using libm_alias_double.
27664 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27665 (atan2): Define using libm_alias_double.
27666 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27667 (atanh): Define using libm_alias_double.
27668 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27669 (cosh): Define using libm_alias_double.
27670 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27671 (exp10): Define using libm_alias_double.
27672 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27673 (exp2): Define using libm_alias_double.
27674 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27675 (exp): Define using libm_alias_double.
27676 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27677 (fmod): Define using libm_alias_double.
27678 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27679 (hypot): Define using libm_alias_double.
27680 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27681 (j0): Define using libm_alias_double.
27683 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27684 (j1): Define using libm_alias_double.
27686 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27687 (jn): Define using libm_alias_double.
27689 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27690 (log10): Define using libm_alias_double.
27691 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27692 (log2): Define using libm_alias_double.
27693 * math/w_log_compat.c: Include <libm-alias-double.h>.
27694 (log): Define using libm_alias_double.
27695 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27696 (pow): Define using libm_alias_double.
27697 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27698 (remainder): Define using libm_alias_double.
27699 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27700 (sinh): Define using libm_alias_double.
27701 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27702 (sqrt): Define using libm_alias_double.
27703 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27704 (tgamma): Define using libm_alias_double.
27705 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27706 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27707 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27708 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27709 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27710 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27711 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27712 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27713 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27714 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27715 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27716 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27717 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27718 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27719 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27720 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27721 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27722 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27723 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27724 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27725 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27726 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27727 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27728 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27729 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27731 * math/e_acoshl.c: Remove.
27732 * math/e_acosl.c: Likewise.
27733 * math/e_asinl.c: Likewise.
27734 * math/e_atan2l.c: Likewise.
27735 * math/e_atanhl.c: Likewise.
27736 * math/e_coshl.c: Likewise.
27737 * math/e_expl.c: Likewise.
27738 * math/e_fmodl.c: Likewise.
27739 * math/e_gammal_r.c: Likewise.
27740 * math/e_hypotl.c: Likewise.
27741 * math/e_j0l.c: Likewise.
27742 * math/e_j1l.c: Likewise.
27743 * math/e_jnl.c: Likewise.
27744 * math/e_lgammal_r.c: Likewise.
27745 * math/e_log10l.c: Likewise.
27746 * math/e_log2l.c: Likewise.
27747 * math/e_logl.c: Likewise.
27748 * math/e_powl.c: Likewise.
27749 * math/e_rem_pio2l.c: Likewise.
27750 * math/e_sinhl.c: Likewise.
27751 * math/e_sqrtf128.c: Likewise.
27752 * math/e_sqrtl.c: Likewise.
27753 * math/k_cosl.c: Likewise.
27754 * math/k_sinl.c: Likewise.
27755 * math/k_tanl.c: Likewise.
27756 * math/s_asinhl.c: Likewise.
27757 * math/s_atanl.c: Likewise.
27758 * math/s_cbrtl.c: Likewise.
27759 * math/s_erfl.c: Likewise.
27760 * math/s_expm1l.c: Likewise.
27761 * math/s_log1pl.c: Likewise.
27762 * math/s_tanhl.c: Likewise.
27764 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27768 [$(subdir) = math] (sysdep_calls): New variable. Has the
27769 previous contents of sysdep_routines, but re-sorted..
27770 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27772 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27773 defined in sysdep_calls and replace by the respective m_* names.
27774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27775 (compat_symbol): Undefine to avoid duplicated compat symbols in
27778 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27780 * math/s_fmaf.c: Include <libm-alias-float.h>.
27781 (fmaf): Define using libm_alias_float.
27782 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27783 (acosf): Define using libm_alias_float.
27784 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27785 (acoshf): Define using libm_alias_float.
27786 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27787 (asinf): Define using libm_alias_float.
27788 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27789 (atan2f): Define using libm_alias_float.
27790 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27791 (atanhf): Define using libm_alias_float.
27792 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27793 (coshf): Define using libm_alias_float.
27794 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27795 (exp10f): Define using libm_alias_float.
27796 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27797 (fmodf): Define using libm_alias_float.
27798 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27799 (hypotf): Define using libm_alias_float.
27800 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27801 (j0f): Define using libm_alias_float.
27803 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27804 (j1f): Define using libm_alias_float.
27806 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27807 (jnf): Define using libm_alias_float.
27809 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27810 (log10f): Define using libm_alias_float.
27811 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27812 (log2f): Define using libm_alias_float.
27813 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27814 (logf): Define using libm_alias_float.
27815 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27816 (powf): Define using libm_alias_float.
27817 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27818 (remainderf): Define using libm_alias_float.
27819 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27820 (sinhf): Define using libm_alias_float.
27821 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27822 (sqrtf): Define using libm_alias_float.
27823 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27824 (tgammaf): Define using libm_alias_float.
27826 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27828 * include/math.h (roundeven): Change hidden_proto call to
27830 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27832 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27833 (y0): Rename to __y0 and define as weak alias.
27834 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27835 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27837 (y0f): Rename to __y0f and define as weak alias.
27838 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27840 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27841 (y1): Rename to __y1 and define as weak alias.
27842 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27843 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27845 (y1f): Rename to __y1f and define as weak alias.
27846 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27848 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27849 (yn): Rename to __yn and define as weak alias.
27850 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27851 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27853 (ynf): Rename to __ynf and define as weak alias.
27854 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27855 (fromfp): Define as weak alias.
27856 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27857 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27858 (fromfpx): Define as weak alias.
27859 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27860 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27861 __getpayload and define as weak alias.
27862 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27863 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27864 __roundeven and define as weak alias.
27865 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27866 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27868 (setpayload): Define as weak alias.
27869 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27870 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27872 (setpayloadsig): Define as weak alias.
27873 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27874 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27875 __totalorder and define as weak alias.
27876 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27877 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27878 to __totalordermag and define as weak alias.
27879 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27880 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27881 (ufromfp): Define as weak alias.
27882 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27883 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27885 (ufromfpx): Define as weak alias.
27886 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27887 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27888 Rename to __getpayload and define as weak alias.
27889 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27890 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27891 Rename to __roundeven and define as weak alias.
27892 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27893 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27894 Rename to __totalorder and define as weak alias.
27895 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27896 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27897 (totalordermag): Rename to __totalordermag and define as weak
27899 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27900 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27902 (__roundevenl): Likewise.
27903 (__totalorderl): Likewise.
27904 (__totalordermagl): Likewise
27905 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27907 (fromfpf128): Define as weak alias.
27908 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27910 (fromfpxf128): Define as weak alias.
27911 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27913 (setpayloadf128): Define as weak alias.
27914 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27915 __setpayloadsigf128.
27916 (setpayloadsigf128): Define as weak alias.
27917 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27919 (ufromfpf128): Define as weak alias.
27920 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27922 (ufromfpxf128): Define as weak alias.
27923 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27924 (fromfpf): Define as weak alias.
27925 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27927 (fromfpxf): Define as weak alias.
27928 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27929 __getpayloadf and define as weak alias.
27930 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27931 __roundevenf and define as weak alias.
27932 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27934 (setpayloadf): Define as weak alias.
27935 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27937 (setpayloadsigf): Define as weak alias.
27938 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27939 __totalorderf and define as weak alias.
27940 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27941 Rename to __totalordermagf and define as weak alias.
27942 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27944 (ufromfpf): Define as weak alias.
27945 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27947 (ufromfpxf): Define as weak alias.
27948 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27950 (fromfpl): Define as weak alias.
27951 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27953 (fromfpxl): Define as weak alias.
27954 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27955 to __getpayloadl and define as weak alias.
27956 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27957 __roundevenl and define as weak alias.
27958 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27960 (setpayloadl): Define as weak alias.
27961 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27963 (setpayloadsigl): Define as weak alias.
27964 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27965 to __totalorderl and define as weak alias.
27966 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27967 Rename to __totalordermagl and define as weak alias.
27968 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27970 (ufromfpl): Define as weak alias.
27971 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27973 (ufromfpxl): Define as weak alias.
27974 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27976 (fromfpl): Define as weak alias.
27977 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27979 (fromfpxl): Define as weak alias.
27980 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27981 Rename to __getpayloadl and define as weak alias.
27982 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27983 to __roundevenl and define as weak alias. Call __roundeven
27984 instead of roundeven.
27985 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27987 (setpayloadl): Define as weak alias.
27988 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27990 (setpayloadsigl): Define as weak alias.
27991 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27992 Rename to __totalorderl and define as weak alias.
27993 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27994 Rename to __totalordermagl and define as weak alias.
27995 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27997 (ufromfpl): Define as weak alias.
27998 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28000 (ufromfpxl): Define as weak alias.
28001 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28003 (fromfpl): Define as weak alias.
28004 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28006 (fromfpxl): Define as weak alias.
28007 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28008 __getpayloadl and define as weak alias.
28009 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28010 __roundevenl and define as weak alias.
28011 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28013 (setpayloadl): Define as weak alias.
28014 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28016 (setpayloadsigl): Define as weak alias.
28017 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28018 __totalorderl and define as weak alias.
28019 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28020 Rename to __totalordermagl and define as weak alias.
28021 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28023 (ufromfpl): Define as weak alias.
28024 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28026 (ufromfpxl): Define as weak alias.
28028 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28030 * benchtests/bench-string.h (realloc_bufs): New function.
28031 (test_init): Call it.
28032 * benchtests/bench-memset-large.c (do_test): Likewise.
28033 * benchtests/bench-memset.c (do_test): Likewise.
28035 * benchtests/bench-memset-large.c: Print output in JSON
28037 * benchtests/bench-memset.c: Likewise.
28039 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28042 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28043 * iconvdata/Makefile: Add IBM858.
28044 * iconvdata/gconv-modules: Likewise.
28045 * iconvdata/tst-tables.sh: Likewise.
28046 * iconvdata/ibm858.c: New file.
28047 * localedata/charmaps/IBM858: Likewise.
28049 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28052 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28053 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28055 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28058 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28059 and add tel_int_fmt.
28061 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28063 * sysdeps/generic/libm-alias-float128.h: New file.
28064 * sysdeps/generic/math-type-macros-float128.h: Include
28065 <libm-alias-float128.h>.
28066 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28068 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28070 * sysdeps/generic/libm-alias-ldouble.h: New file.
28071 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28072 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28073 * sysdeps/generic/math-type-macros-ldouble.h: Include
28074 <libm-alias-ldouble.h>.
28075 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28076 libm_alias_ldouble.
28078 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28080 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28081 * math/w_exp_compat.c: ... here.
28082 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28083 * math/w_expf_compat.c: ... here.
28084 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28085 * math/w_expl_compat.c: ... here.
28086 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28087 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28088 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28089 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28091 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28093 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28095 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28097 (ldexpl): Only define as compat symbol for libc, not libm.
28098 (scalbnl): Define as compat symbol for libc here.
28099 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28100 define for [IS_IN (libc)].
28101 (__ldexpl_2): Remove alias.
28102 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28103 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28104 name in long_double_symbol call.
28105 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28106 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28107 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28108 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28109 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28111 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28112 Define as compat symbol.
28114 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28116 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28117 * sysdeps/unix/sysv/linux/alpha/Makefile
28118 [$(subdir) = csu] (sysdep_routines): Remove rule.
28120 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28122 * sysdeps/generic/libm-alias-double.h: New file.
28123 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28124 * sysdeps/generic/math-type-macros-double.h: Include
28125 <libm-alias-double.h>.
28126 [declare_mgen_alias] (declare_mgen_alias): Define to use
28128 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28129 (M_LIBM_NEED_COMPAT): Remove macro.
28130 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28131 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28132 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28134 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28135 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28136 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28137 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28138 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28139 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28140 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28141 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28142 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28143 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28144 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28145 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28146 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28147 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28148 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28149 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28150 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28151 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28152 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28153 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28154 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28155 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28156 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28157 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28158 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28159 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28160 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28161 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28162 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28164 (declare_mgen_alias): New macro.
28165 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28166 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28168 (M_LIBM_NEED_COMPAT): Remove macro.
28169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28170 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28171 <first-versions.h>.
28172 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28173 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28175 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28177 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28178 (declare_mgen_alias_2): Remove.
28179 * sysdeps/generic/math-type-macros-double.h
28180 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28182 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28184 (ldexp): Define with declare_mgen_alias.
28185 (scalbn): Likewise.
28187 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28189 * grp/initgroups.c: Include config.h.
28190 (DEFAULT_CONFIG): New macro.
28191 (internal_getgrouplist): Use DEFAULT_CONFIG.
28192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28193 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28194 (DEFAULT_DEFCONFIG): New macro.
28195 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28196 * nss/grp-lookup.c: Include config.h
28197 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28198 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28199 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28200 * manual/nss.texi: Update default values section.
28202 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28207 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28208 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28209 Handle MathVec_Prefer_No_AVX512.
28210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28211 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28214 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28216 * posix/sched_primax.c (__sched_get_priority_max): Add
28218 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28219 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28220 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28221 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28222 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28223 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28224 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28225 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28228 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28230 * sysdeps/generic/libm-alias-float.h: New file.
28231 * sysdeps/generic/math-type-macros-float.h: Include
28232 <libm-alias-float.h>.
28233 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28235 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28238 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28239 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28240 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28241 (HWCAP_IMPORTANT): Likewise.
28242 (HWCAP_X86_64): New enum.
28243 (HWCAP_X86_AVX512_1): Updated.
28244 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28245 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28246 (modules-names): Add x86_64/tst-x86_64mod-1.
28247 (LDFLAGS-tst-x86_64mod-1.so): New.
28248 ($(objpfx)tst-x86_64-1): Likewise.
28249 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28250 (tst-x86_64-1-clean): Likewise.
28251 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28252 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28254 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28256 * po/sv.po: Update translations.
28257 * po/fr.po: Likewise.
28259 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28261 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28263 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28265 * elf/rtld-Rules: Fix $(error) use.
28267 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28270 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28271 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28272 * localedata/locales/bn_BD: “Bengali” was still used in some
28273 comments. Change it to “Bangla”.
28275 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28277 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28279 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28281 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28282 thunderx2t99p1 to list of cpu names.
28283 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28284 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28286 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28288 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28289 Use strcmp instead of tunable_is_name.
28291 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28294 (F_GET_RW_HINT): New macro.
28295 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28296 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28297 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28298 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28299 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28300 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28301 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28302 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28303 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28306 (F_ADD_SEALS): New macro.
28307 [__USE_GNU] (F_GET_SEALS): Likewise.
28308 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28309 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28310 [__USE_GNU] (F_SEAL_GROW): Likewise.
28311 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28313 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28315 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28316 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28317 * posix/glob_internal.h (__glob_pattern_type):
28318 * posix/glob.c (glob):
28319 * posix/glob_pattern_p.c (__glob_pattern_p):
28322 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28323 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28324 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28325 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28326 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28328 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28330 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28331 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28333 * sysdeps/wordsize-64/glob.c: Likewise.
28334 * sysdeps/wordsize-64/glob64.c: Likewise.
28335 * sysdeps/wordsize-64/globfree.c: Likewise.
28336 * sysdeps/wordsize-64/globfree64.c: Likewise.
28337 * sysdeps/unix/sysv/linux/glob.c: New file.
28338 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28339 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28340 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28341 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28342 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28343 adds !GLOB_NO_OLD_VERSION as an extra condition.
28344 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28345 using relative path instead of absolute one.
28346 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28347 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28348 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28349 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28350 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28351 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28354 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28355 (glob): Use the same scratch buffer for both getlogin_r and
28356 getpwnam_r. Don’t require preallocation of the login name. This
28357 simplifies storage allocation, and corrects the handling of
28361 * posix/glob.c (glob): Port recent patches to platforms
28362 lacking getpwnam_r.
28363 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28364 returns an error number rather than setting errno.
28366 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28367 instead of GCC extension.
28368 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28369 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28370 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28374 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28375 * posix/bug-glob1.c: Remove file.
28376 * posix/tst-glob_symlinks.c: New file.
28377 * posix/glob.c (__lstat64): New macro.
28378 (is_dir): New function.
28379 (glob, glob_in_dir): Match symlinks even if they are dangling.
28380 (link_stat, link_exists_p): Remove. All uses removed.
28384 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28385 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28390 * posix/Makefile (routines): Add globfree, globfree64, and
28392 * posix/flexmember.h: New file.
28393 * posix/glob_internal.h: Likewise.
28394 * posix/glob_pattern_p.c: Likewise.
28395 * posix/globfree.c: Likewise.
28396 * posix/globfree64.c: Likewise.
28397 * sysdeps/gnu/globfree64.c: Likewise.
28398 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28399 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28400 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28401 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28402 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28403 * sysdeps/wordsize-64/globfree.c: Likewise.
28404 * sysdeps/wordsize-64/globfree64.c: Likewise.
28405 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28406 [NDEBUG): Remove comments.
28407 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28408 (dirent_type): New type. Use uint_fast8_t not
28409 uint8_t, as C99 does not require uint8_t.
28410 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28411 (struct readdir_result): Use dirent_type. Do not define skip_entry
28412 unless it is needed; this saves a byte on platforms lacking d_ino.
28413 (readdir_result_type, readdir_result_skip_entry):
28414 New functions, replacing ...
28415 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28416 these functions, which were removed. This makes the callers
28417 easier to read. All callers changed.
28418 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28419 (size_add_wrapv, glob_use_alloca): New static functions.
28420 (glob, glob_in_dir): Check for size_t overflow in several places,
28421 and fix some size_t checks that were not quite right.
28422 Remove old code using SHELL since Bash no longer
28424 (glob, prefix_array): Separate MS code better.
28425 (glob_in_dir): Remove old Amiga and VMS code.
28426 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28428 (glob_in_dir): Do not rely on undefined behavior in accessing
28429 struct members beyond their bounds. Use a flexible array member
28431 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28432 0/1. Caller changed.
28433 (glob): Fix memory leaks.
28434 * posix/glob64 (globfree64): Move to separate file.
28435 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28436 (globfree64): Remove hidden alias.
28437 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28439 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28441 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28443 Move compat code to separate file.
28444 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28447 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28449 * resolv/tst-resolv-qtypes.c (domain): Changed to
28450 "const char domain[] =".
28452 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28454 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28457 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28458 (TCP_MD5SIG_EXT): Likewise.
28459 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28460 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28461 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28463 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28465 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28467 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28469 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28472 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28474 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28476 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28477 before assuming that the file is empty. Avoid testing buffer content
28480 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28483 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28485 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28487 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28489 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28491 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28493 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28495 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28498 2017-09-06 Florian Weimer <fweimer@redhat.com>
28500 * malloc/dynarray_emplace_enlarge.c
28501 (__libc_dynarray_emplace_enlarge): Add missing else.
28503 2017-09-06 Florian Weimer <fweimer@redhat.com>
28506 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28507 case of failure to obtain the global conf object.
28509 2017-09-06 Florian Weimer <fweimer@redhat.com>
28512 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28513 dynarray allocation failure.
28515 2017-09-06 Florian Weimer <fweimer@redhat.com>
28517 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28518 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28519 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28521 (response): Call them. Add 'p', '6' flag processing.
28522 (test_reverse): New function.
28523 (test_get2_any): Call it.
28524 (test_no_inet6): Add 'p' test.
28525 (test_inet6): Likewise.
28527 2017-09-06 Florian Weimer <fweimer@redhat.com>
28529 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28530 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28532 (test_gai): Adjust query names. Add additional tests.
28533 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28534 test_get2. Adjust query names. Add additional tests.
28535 (test_no_inet6): New function, extracted from threadfunc.
28536 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28537 Add additional tests.
28539 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28542 * localedata/unicode-gen/utf8_gen.py: Set the width for
28543 characters with Prepended_Concatenation_Mark property to 1
28544 * localedata/charmaps/UTF-8: Updated using the improved script.
28546 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28549 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28550 use the range notation for all ranges of neighbouring characters
28551 with the same width.
28553 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28555 * sysdeps/generic/math-type-macros-double.h: Include
28556 <math-svid-compat.h>.
28557 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28558 * sysdeps/generic/math-type-macros-float.h: Include
28559 <math-svid-compat.h>.
28560 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28561 * sysdeps/generic/math-type-macros-ldouble.h: Include
28562 <math-svid-compat.h>.
28563 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28564 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28566 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28567 * math/w_acosf_compat.c: Likewise.
28568 * math/w_acosh_compat.c: Likewise.
28569 * math/w_acoshf_compat.c: Likewise.
28570 * math/w_acoshl_compat.c: Likewise.
28571 * math/w_acosl_compat.c: Likewise.
28572 * math/w_asin_compat.c: Likewise.
28573 * math/w_asinf_compat.c: Likewise.
28574 * math/w_asinl_compat.c: Likewise.
28575 * math/w_atan2_compat.c: Likewise.
28576 * math/w_atan2f_compat.c: Likewise.
28577 * math/w_atan2l_compat.c: Likewise.
28578 * math/w_atanh_compat.c: Likewise.
28579 * math/w_atanhf_compat.c: Likewise.
28580 * math/w_atanhl_compat.c: Likewise.
28581 * math/w_cosh_compat.c: Likewise.
28582 * math/w_coshf_compat.c: Likewise.
28583 * math/w_coshl_compat.c: Likewise.
28584 * math/w_exp10_compat.c: Likewise.
28585 * math/w_exp10f_compat.c: Likewise.
28586 * math/w_exp10l_compat.c: Likewise.
28587 * math/w_exp2_compat.c: Likewise.
28588 * math/w_exp2f_compat.c: Likewise.
28589 * math/w_exp2l_compat.c: Likewise.
28590 * math/w_fmod_compat.c: Likewise.
28591 * math/w_fmodf_compat.c: Likewise.
28592 * math/w_fmodl_compat.c: Likewise.
28593 * math/w_hypot_compat.c: Likewise.
28594 * math/w_hypotf_compat.c: Likewise.
28595 * math/w_hypotl_compat.c: Likewise.
28596 * math/w_j0_compat.c: Likewise.
28597 * math/w_j0f_compat.c: Likewise.
28598 * math/w_j0l_compat.c: Likewise.
28599 * math/w_j1_compat.c: Likewise.
28600 * math/w_j1f_compat.c: Likewise.
28601 * math/w_j1l_compat.c: Likewise.
28602 * math/w_jn_compat.c: Likewise.
28603 * math/w_jnf_compat.c: Likewise.
28604 * math/w_jnl_compat.c: Likewise.
28605 * math/w_lgamma_r_compat.c: Likewise.
28606 * math/w_lgammaf_r_compat.c: Likewise.
28607 * math/w_lgammal_r_compat.c: Likewise.
28608 * math/w_log10_compat.c: Likewise.
28609 * math/w_log10f_compat.c: Likewise.
28610 * math/w_log10l_compat.c: Likewise.
28611 * math/w_log2_compat.c: Likewise.
28612 * math/w_log2f_compat.c: Likewise.
28613 * math/w_log2l_compat.c: Likewise.
28614 * math/w_log_compat.c: Likewise.
28615 * math/w_logf_compat.c: Likewise.
28616 * math/w_logl_compat.c: Likewise.
28617 * math/w_pow_compat.c: Likewise.
28618 * math/w_powf_compat.c: Likewise.
28619 * math/w_powl_compat.c: Likewise.
28620 * math/w_remainder_compat.c: Likewise.
28621 * math/w_remainderf_compat.c: Likewise.
28622 * math/w_remainderl_compat.c: Likewise.
28623 * math/w_sinh_compat.c: Likewise.
28624 * math/w_sinhf_compat.c: Likewise.
28625 * math/w_sinhl_compat.c: Likewise.
28626 * math/w_sqrt_compat.c: Likewise.
28627 * math/w_sqrtf_compat.c: Likewise.
28628 * math/w_sqrtl_compat.c: Likewise.
28629 * math/w_tgamma_compat.c: Likewise.
28630 * math/w_tgammaf_compat.c: Likewise.
28631 * math/w_tgammal_compat.c: Likewise.
28632 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28633 [LIBM_SVID_COMPAT].
28634 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28635 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28636 [LIBM_SVID_COMPAT].
28637 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28638 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28639 [LIBM_SVID_COMPAT].
28640 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28641 * sysdeps/i386/fpu/w_sqrt.c: New file.
28642 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28643 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28644 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28645 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28646 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28647 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28648 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28649 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28650 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28651 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28652 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28653 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28654 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28655 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28656 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28657 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28658 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28659 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28660 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28661 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28662 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28663 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28664 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28665 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28666 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28667 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28668 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28669 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28670 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28671 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28672 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28673 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28674 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28675 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28676 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28677 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28678 * sysdeps/ia64/fpu/w_log.c: Likewise.
28679 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28680 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28681 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28682 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28683 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28684 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28685 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28686 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28687 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28688 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28689 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28690 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28691 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28692 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28693 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28694 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28695 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28696 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28697 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28698 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28699 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28700 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28701 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28703 [LIBM_SVID_COMPAT].
28704 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28705 * sysdeps/ieee754/k_standard.c: Likewise.
28706 * sysdeps/ieee754/k_standardf.c: Likewise.
28707 * sysdeps/ieee754/k_standardl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28711 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28712 long_double_symbol call on [LIBM_SVID_COMPAT].
28713 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28714 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28715 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28716 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28717 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28718 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28719 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28720 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28721 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28722 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28723 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28724 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28725 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28726 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28727 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28728 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28729 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28730 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28731 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28732 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28733 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28734 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28736 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28738 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28739 * malloc/tst-mallocstate.c: Convert from test-skeleton
28740 to test-driver. Ifdef code using TEST_COMPAT macro.
28741 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28742 * math/test-matherr.c: Likewise.
28744 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28747 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28748 comparing word with byte-swapped constant.
28750 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28753 * locale/iso-639.def: add Miskito.
28754 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28755 * localedata/locales/miq_NI: New file.
28757 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28760 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28761 (__mkdir): Likewise.
28762 * io/chmod.c (__chmod): Add libc_hidden_def.
28763 * io/mkdir.c (__mkdir): Likewise.
28764 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28765 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28766 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28767 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28769 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28771 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28775 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28776 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28778 2017-09-04 Florian Weimer <fweimer@redhat.com>
28780 * math/math.h: Issue warning if log is defined.
28782 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28784 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28785 kernel version to 4.13.
28787 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28789 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28790 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28792 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28793 just <bits/types.h>.
28794 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28795 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28796 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28797 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28798 * misc/preadv2.c: Include <errno.h>.
28799 * misc/preadv64v2.c: Include <errno.h>.
28800 * misc/pwritev2.c: Include <errno.h>.
28801 * misc/pwritev64v2.c: Include <errno.h>.
28802 * sysdeps/posix/preadv2.c: Include <errno.h>.
28803 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28804 Fix <unistd.h> inclusion.
28805 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28806 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28807 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28808 __strtoul_internal): New functions.
28809 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28810 * sysdeps/posix/system.c: Include <sigsetops.h>.
28811 * sysdeps/mach/hurd/i386/Makefile
28812 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28813 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28814 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28815 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28816 __feraiseexcept_renamed to feraiseexcept instead of
28817 __GI_feraiseexcept.
28818 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28819 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28820 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28821 RWF_NOWAIT): Define to 0 if undefined already.
28822 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28824 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28825 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28827 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28829 * manual/math.texi (pow10): Do not document.
28830 (pow10f): Likewise.
28831 (pow10l): Likewise.
28832 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28833 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28834 * math/libm-test-exp10.inc (pow10_test): Remove.
28835 (do_test): Do not call pow10.
28836 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28837 [NO_LONG_DOUBLE] (pow10l): Likewise.
28838 * math/w_exp10f_compat.c (pow10f): Likewise.
28839 * math/w_exp10l_compat.c (pow10l): Likewise.
28840 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28841 (pow10): Make into compat symbol.
28842 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28843 (pow10f): Make into compat symbol.
28844 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28845 (pow10l): Make into compat symbol.
28846 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28848 (CFLAGS-nldbl-pow10.c): Remove variable..
28849 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28850 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28851 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28852 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28853 Undefine and redefine.
28854 (pow10l): Make into compat symbol.
28855 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28856 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28857 * sysdeps/arm/libm-test-ulps: Likewise.
28858 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28859 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28860 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28861 * sysdeps/microblaze/libm-test-ulps: Likewise.
28862 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28864 * sysdeps/nios2/libm-test-ulps: Likewise.
28865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28866 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28868 * sysdeps/sh/libm-test-ulps: Likewise.
28869 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28870 * sysdeps/tile/libm-test-ulps: Likewise.
28871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28873 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28875 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28877 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28879 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28880 "../ChangeLog.old/ChangeLog.8".
28881 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28882 "../ChangeLog.old/ChangeLog.14".
28884 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28886 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28889 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28891 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28893 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28895 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28896 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28898 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28900 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28901 32 atexit handlers.
28903 2017-09-01 Zack Weinberg <zackw@panix.com>
28905 * math/math.h (HUGE_VAL): Improve commentary.
28907 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28908 Andreas Schwab <schwab@suse.de>
28911 * include/stdio.h (__gen_tempfd): New function.
28912 * stdio-common/Makefile (routines): Add gentempfd.
28913 * stdio-common/gentempfd.c: New file.
28914 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28915 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28916 unnamed file first.
28918 2017-09-01 Florian Weimer <fweimer@redhat.com>
28922 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28923 result to determine success or failure, not the errno value.
28924 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28925 (tst-nss-files-hosts-erange): Link with -ldl.
28926 * nss/tst-nss-files-hosts-erange.c: New file.
28927 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28928 (do_test): Add NO_DATA tests.
28929 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28930 (do_test): Call it.
28932 2017-09-01 Florian Weimer <fweimer@redhat.com>
28935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28936 coming from gethostbyname2_r.
28938 2017-09-01 Florian Weimer <fweimer@redhat.com>
28940 * support/namespace.h (struct support_chroot_configuration): Add
28942 (struct support_chroot): Add path_hosts, path_host_conf.
28943 * support/support_chroot.c (write_file): New function.
28944 (support_chroot_create): Call it to process /etc/resolv.conf,
28945 /etc/hosts, /etc/host.conf.
28946 (support_chroot_free): Update.
28948 2017-09-01 Florian Weimer <fweimer@redhat.com>
28950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28951 status indicates it is set.
28953 2017-09-01 Florian Weimer <fweimer@redhat.com>
28956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28957 function lookup failures more reliable.
28959 2017-09-01 Florian Weimer <fweimer@redhat.com>
28961 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28962 (getcanonname): Likewise.
28963 (gaih_inet): Likewise.
28965 2017-09-01 Florian Weimer <fweimer@redhat.com>
28967 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28968 (getcanonname): Likewise.
28969 (gaih_inet): Likewise.
28971 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28972 Richard Henderson <rth@twiddle.net>
28974 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28975 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28976 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28977 (IREG_SIZE, OREG_SIZE): New macros.
28978 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28979 (IREG_SIZE, OREG_SIZE): New macros.
28980 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28981 (IREG_SIZE): New macro.
28982 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28983 (IREG_SIZE): New macro.
28984 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28986 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28987 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28988 (__CONCATX): Handle exceptions correctly on large values that may
28990 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28991 Initialize if not already set.
28992 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28994 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28996 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28997 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28999 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29003 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29005 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29007 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29009 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29011 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29012 (NO_CANCELLATION): Likewise.
29013 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29015 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29017 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29020 (NO_CANCELLATION): Likewise.
29021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29022 (NO_CANCELLATION): Likewise.
29023 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29025 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29027 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29029 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29031 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29033 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29034 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29036 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29038 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29041 2017-08-31 Florian Weimer <fweimer@redhat.com>
29043 * include/libc-symbols.h (internal_function): Remove.
29045 2017-08-31 Florian Weimer <fweimer@redhat.com>
29047 * stdlib/fmtmsg.c (internal_addseverity): Remove
29050 2017-08-31 Florian Weimer <fweimer@redhat.com>
29052 * stdio-common/printf_fp.c (group_number): Remove
29054 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29056 2017-08-31 Florian Weimer <fweimer@redhat.com>
29058 * posix/fnmatch.c (internal_function): Remove definition.
29059 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29060 * posix/regcomp.c (peek_token, init_word_char)
29061 (duplicate_node_closure, fetch_token, peek_token)
29062 (peek_token_bracket, build_range_exp, build_collating_symbol):
29064 * posix/regex_internal.c (re_string_construct_common)
29065 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29066 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29067 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29068 (re_string_translate_buffer, re_string_reconstruct)
29069 (re_string_peek_byte_case, re_string_fetch_byte_case)
29070 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29071 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29072 (re_node_set_add_intersect, re_node_set_init_union)
29073 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29074 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29075 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29076 (re_acquire_state_context): Likewise.
29077 * posix/regex_internal.h (internal_function): Remove definition.
29078 (re_string_realloc_buffers, build_wcs_buffer)
29079 (build_wcs_upper_buffer, build_upper_buffer)
29080 (re_string_translate_buffer, re_string_context_at)
29081 (re_string_char_size_at, re_string_wchar_at)
29082 (re_string_elem_size_at): Likewise.
29083 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29084 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29085 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29086 (re_search_internal, re_search_2_stub, re_search_stub)
29087 (re_copy_regs, prune_impossible_nodes, check_matching)
29088 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29089 (free_fail_stack_return, sift_states_iter_mb)
29090 (sift_states_backward, build_sifted_states)
29091 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29092 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29093 (check_subexp_limits, sift_states_bkref, merge_state_array)
29094 (find_recover_state, transit_state, merge_state_with_log)
29095 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29096 (transit_state_mb, transit_state_bkref, get_subexp)
29097 (get_subexp_sub, find_subexp_node, check_arrival)
29098 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29099 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29100 (check_node_accept_bytes, find_collation_sequence_value)
29101 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29102 (acquire_init_state_context, check_halt_node_context)
29103 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29104 (sub_epsilon_src_nodes): Likewise.
29105 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29106 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29107 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29108 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29109 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29110 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29111 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29112 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29113 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29114 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29115 (PREADV): Likewise.
29116 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29117 (PREADV): Likewise.
29118 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29119 (PWRITEV): Likewise.
29120 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29121 (PWRITEV): Likewise.
29122 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29123 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29125 2017-08-31 Florian Weimer <fweimer@redhat.com>
29127 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29128 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29129 Remove internal_function.
29130 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29131 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29132 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29133 (__deallocate_stack, __libc_pthread_init)
29134 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29135 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29136 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29138 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29139 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29140 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29142 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29143 (__pthread_mutex_unlock_usercnt): Likewise.
29145 2017-08-31 Florian Weimer <fweimer@redhat.com>
29147 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29148 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29149 (fts_safe_changedir): Remove internal_function.
29150 * io/ftw.c (internal_function): Remove definition.
29151 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29153 2017-08-31 Florian Weimer <fweimer@redhat.com>
29155 * inet/deadline.c (__deadline_current_time)
29156 (__deadline_from_timeval, __deadline_to_ms): Remove
29158 * inet/getnameinfo.c (nrl_domainname): Likewise.
29159 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29160 * inet/inet6_option.c (add_pad): Likewise.
29161 * inet/net-internal.h (__deadline_current_time)
29162 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29163 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29164 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29165 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29167 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29169 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29170 include <bits/nan.h>.
29171 * math/Makefile (headers): Remove bits/nan.h.
29172 * bits/nan.h: Remove.
29173 * sysdeps/ieee754/bits/nan.h: Likewise.
29174 * sysdeps/mips/bits/nan.h: Likewise.
29176 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29177 not include <bits/inf.h>.
29178 * math/Makefile (headers): Remove bits/inf.h.
29179 * bits/inf.h: Remove.
29180 * sysdeps/ieee754/bits/inf.h: Likewise.
29182 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29183 bits/huge_vall.h or bits/huge_val_flt128.h.
29184 (HUGE_VAL): Define directly here.
29185 [__USE_ISOC99] (HUGE_VALF): Likewise.
29186 [__USE_ISOC99] (HUGE_VALL): Likewise.
29187 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29188 (HUGE_VAL_F128): Likewise.
29189 * math/Makefile (headers): Remove bits/huge_val.h,
29190 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29191 * bits/huge_val.h: Remove.
29192 * bits/huge_val_flt128.h: Likewise.
29193 * bits/huge_valf.h: Likewise.
29194 * bits/huge_vall.h: Likewise.
29195 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29196 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29197 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29198 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29199 * sysdeps/sh/bits/huge_val.h: Likewise.
29200 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29201 * sysdeps/x86/bits/huge_vall.h: Likewise.
29203 2017-08-31 Florian Weimer <fweimer@redhat.com>
29205 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29207 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29209 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29210 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29211 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29212 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29214 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29215 * elf/dl-libc.c (dlerror_run): Likewise.
29216 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29217 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29218 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29219 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29221 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29222 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29223 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29224 * elf/dl-profile.c (_dl_start_profile): Likewise.
29225 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29226 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29228 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29229 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29230 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29231 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29232 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29233 (_dl_allocate_tls_storage): Likewise.
29234 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29235 (_dl_check_all_versions): Likewise.
29236 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29237 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29238 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29239 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29240 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29241 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29242 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29243 internal_function from __dl_start.
29244 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29245 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29246 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29247 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29248 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29249 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29250 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29251 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29252 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29253 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29254 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29255 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29256 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29257 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29258 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29260 (struct rtld_global_ro): Remove internal_function from the
29261 _dl_lookup_symbol_x member.
29262 (_dl_symbol_value): Remove. No longer defined anywhere.
29263 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29265 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29266 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29268 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29269 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29270 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29271 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29272 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29273 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29274 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29275 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29276 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29278 2017-08-31 Florian Weimer <fweimer@redhat.com>
29280 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29281 Remove internal_function.
29282 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29284 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29287 2017-08-31 Florian Weimer <fweimer@redhat.com>
29289 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29290 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29291 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29293 2017-08-31 Florian Weimer <fweimer@redhat.com>
29295 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29296 (__gai_enqueue_request): Remove internal_function.
29297 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29298 (__gai_remove_request, __gai_notify, __gai_notify_only)
29299 (__gai_sigqueue): Likewise.
29300 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29301 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29302 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29303 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29306 2017-08-31 Florian Weimer <fweimer@redhat.com>
29308 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29309 * include/dirent.h (__opendirat, __getdents, __getdents64)
29310 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29311 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29312 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29313 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29317 2017-08-31 Florian Weimer <fweimer@redhat.com>
29319 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29321 (GETCWD_RETURN_TYPE): Likewise.
29323 2017-08-31 Florian Weimer <fweimer@redhat.com>
29325 * include/time.h (__tz_compute, __strptime_internal): Remove
29327 * time/strptime_l.c (__strptime_internal): Likewise.
29328 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29330 2017-08-31 Florian Weimer <fweimer@redhat.com>
29332 * iconv/gconv.c (__gconv): Remove internal_function.
29333 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29334 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29335 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29336 (__gconv_release_cache): Likewise.
29337 * iconv/gconv_close.c (__gconv_close): Likewise.
29338 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29339 (read_conf_file, __gconv_get_path): Likewise.
29340 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29341 (__gconv_release_step, gen_steps, increment_counter)
29342 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29343 (__gconv_close_transform, free_modules_db): Likewise.
29344 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29346 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29347 (__gconv_find_transform, __gconv_lookup_cache)
29348 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29349 (__gconv_close_transform, __gconv_release_cache)
29350 (__gconv_loaded_object, __gconv_release_shlib)
29351 (__gconv_compare_alias): Likewise.
29352 * iconv/gconv_open.c (__gconv_open): Likewise.
29353 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29354 * iconv/iconvconfig.c (add_module): Likewise.
29355 * intl/dcigettext.c (plural_lookup, guess_category_value)
29356 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29357 * intl/eval-plural.h (plural_eval): Likewise.
29358 * intl/finddomain.c (_nl_find_domain): Likewise.
29359 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29360 (_nl_load_domain, _nl_find_msg): Likewise.
29361 (internal_function): Remove definition.
29362 * intl/loadinfo.h (internal_function): Likewise.
29363 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29365 * intl/localealias.c (internal_function): Remove definition.
29366 (read_alias_file): Remove internal_function.
29367 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29368 * intl/plural-exp.h (internal_function): Remove definition.
29369 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29371 * intl/plural.c: Regenerate.
29372 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29373 * locale/coll-lookup.c (__collidx_table_lookup)
29374 (__collseq_table_lookup): Likewise.
29375 * locale/coll-lookup.h (__collidx_table_lookup)
29376 (__collseq_table_lookup): Likewise.
29377 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29378 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29379 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29380 (_nl_unload_locale): Likewise.
29381 * locale/localeinfo.h (struct __locale_data): Remove
29382 internal_function from cleanup member.
29383 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29384 (_nl_remove_locale, _nl_load_locale_from_archive)
29385 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29386 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29387 (_nl_cleanup_time): Remove internal_function.
29388 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29389 (_nl_parse_alt_digit): Likewise.
29390 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29391 (_nl_select_era_entry): Likewise.
29392 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29393 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29394 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29395 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29396 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29398 2017-08-31 Florian Weimer <fweimer@redhat.com>
29400 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29401 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29402 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29403 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29405 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29406 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29407 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29408 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29410 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29412 2017-08-31 Florian Weimer <fweimer@redhat.com>
29414 * misc/getttyent.c (skip, value): Remove internal_function.
29415 * misc/syslog.c (openlog_internal): Likewise.
29416 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29418 2017-08-31 Florian Weimer <fweimer@redhat.com>
29420 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29421 (__nss_rewrite_field): Remove internal_function.
29422 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29423 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29424 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29425 * nss/nsswitch.c (nss_parse_file, nss_getline)
29426 (nss_parse_service_list, nss_new_service): Likewise.
29427 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29428 * nss/valid_field.c (__nss_valid_field): Likewise.
29429 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29431 2017-08-31 Florian Weimer <fweimer@redhat.com>
29433 * malloc/arena.c (__malloc_fork_lock_parent)
29434 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29435 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29436 internal_function from defintions.
29437 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29438 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29439 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29440 internal_function from declarations.
29441 * malloc/malloc.c (internal_function): Do not define.
29442 (mem2mem_check): Remove internal_function from declaration.
29443 (munmap_chunk, mremap_chunk): Remove internal_function.
29444 * malloc/mtrace.c (tr_where): Likewise.
29446 2017-08-31 Florian Weimer <fweimer@redhat.com>
29448 * include/rpc/pmap_clnt.h (__get_socket): Remove
29450 * sunrpc/auth_des.c (synchronize): Likewise.
29451 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29452 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29453 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29454 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29455 (key_call): Likewise.
29456 * sunrpc/pm_getport.c (__get_socket): Likewise.
29457 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29458 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29459 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29460 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29461 (invalidate): Likewise.
29462 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29463 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29464 (set_input_fragment, get_input_bytes): Likewise.
29466 2017-08-31 Florian Weimer <fweimer@redhat.com>
29468 * malloc/malloc.c (_int_free): Remove locked variable and related
29471 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29474 * Makerules (build-module-helper-objlist): Filter out
29475 $(elf-objpfx)sofini.os.
29476 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29479 2017-08-31 Florian Weimer <fweimer@redhat.com>
29481 * libio/fcloseall.c: Assume weak_alias is defined.
29482 * libio/feof.c: Likewise.
29483 * libio/fileno.c: Likewise.
29484 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29485 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29487 (_IO_file_open): Call __open directly.
29488 (_IO_new_file_sync): Assume ESPIPE is defined.
29489 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29490 (_IO_new_file_write): Call __write directly.
29491 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29492 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29493 * libio/genops.c: Assume _LIBC is defined.
29494 (save_for_backup): Remove internal_function.
29495 * libio/getc.c: Assume weak_alias is defined.
29496 * libio/getwc.c: Likewise.
29497 * libio/iofclose.c: Assume _LIBC is defined.
29498 * libio/iofdopen.c: Likewise.
29499 (_IO_fcntl): Remove macro definition.
29500 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29501 Call __fcntl directly.
29502 * libio/iofflush.c: Assume weak_alias is defined.
29503 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29505 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29506 * libio/iofgets.c: Likewise.
29507 * libio/iofopen.c: Assume _LIBC is defined.
29508 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29509 * libio/iofputs.c: Assume weak_alias is defined.
29510 * libio/iofread.c: Likewise.
29511 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29512 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29513 * libio/ioftell.c: Assume weak_alias is defined.
29514 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29515 * libio/iofwide.c: Assume _LIBC is defined.
29516 (_IO_fwide): Drop SHARED conditional because it is implied by
29518 * libio/iofwrite.c: Assume weak_alias is defined.
29519 * libio/iogetdelim.c: Likewise.
29520 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29521 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29522 (_IO_getwline): Call __wmemcpy directly.
29523 * libio/iopopen.c: Assume _LIBC is defined.
29524 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29525 (_IO_close): Remove macro definitions.
29526 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29528 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29530 * libio/ioputs.c: Assume weak_alias is defined.
29531 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29532 * libio/iosetbuffer.c: Assume weak_alias is defined.
29533 * libio/iosetvbuf.c: Likewise.
29534 * libio/ioungetc.c: Likewise.
29535 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29536 libc_hidden_def, libc_hidden_weak, NULL are defined.
29537 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29538 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29540 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29542 (_IO_old_file_init_internal): Drop SHARED conditional because it
29543 is implied by SHLIB_COMPAT.
29544 (_IO_old_file_fopen): Call __open directly.
29545 (_IO_old_file_sync): Assume ESPIPE is defined.
29546 (_IO_old_file_write): Call __write directly.
29547 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29548 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29549 Call __fcntl directly.
29550 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29551 (_IO_old_fgetpos): Assume EIO is defined.
29552 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29553 (_IO_old_fgetpos64): Assume EIO is defined.
29554 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29555 (_IO_old_fsetpos): Assume EIO is defined.
29556 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29557 (_IO_old_fsetpos64): Assume EIO is defined.
29558 * libio/oldiopopen.c: Assume _LIBC is defined.
29559 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29560 (_IO_close): Remove macro definitions.
29561 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29563 (_IO_old_proc_close): Call __close, __waitpid directly.
29564 * libio/put.c: Assume weak_alias is defined.
29565 * libio/stdfiles.c: Assume _LIBC is defined.
29566 * libio/stdio.c: Likewise.
29567 * libio/wfileops.c: Likewise.
29568 (_IO_wfile_sync): Assume ESPIPE is defined.
29569 * libio/wgenops.c: Assume _LIBC is defined.
29570 (save_for_wbackup): Remove internal_function.
29572 2017-08-31 Florian Weimer <fweimer@redhat.com>
29574 * malloc/malloc.c (top_check): Change return type to void. Remove
29576 * malloc/hooks.c (top_check): Likewise.
29577 (malloc_check, realloc_check, memalign_check): Adjust.
29579 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29582 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29583 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29584 sigcontext and namespace requirements.
29585 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29586 * sysdeps/m68k/sys/ucontext.h: Likewise.
29587 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29588 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29589 <bits/sigcontext.h>.
29590 (__ctx): Define earlier.
29591 (mcontext_t): Define structure contents rather than using struct
29593 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29594 __glibc_reserved1 instead of __reserved.
29595 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29596 <bits/sigcontext.h>.
29597 (__ctx): Define earlier.
29598 (mcontext_t): Define structure contents rather than using struct
29600 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29601 mcontext_t instead of struct sigcontext.
29602 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29603 <bits/sigcontext.h>.
29604 (__ctx): Define earlier.
29605 (mcontext_t): Define structure contents rather than using struct
29607 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29608 <bits/sigcontext.h>.
29609 (__ctx): Define earlier.
29610 (mcontext_t): Define structure contents rather than using struct
29612 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29613 mcontext_t instead of struct sigcontext.
29614 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29615 mcontext_t instead of struct sigcontext.
29616 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29617 <bits/sigcontext.h>.
29618 (__ctx): New macro.
29619 (struct __ia64_fpreg_mcontext): New type.
29620 (mcontext_t): Define structure contents rather than using struct
29622 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29623 (uc_sigmask): Define using __ctx.
29624 (uc_stack): Likewise.
29625 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29626 <bits/sigcontext.h>.
29627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29628 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29629 <bits/sigcontext.h>.
29630 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29631 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29632 <bits/sigcontext.h>.
29633 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29634 <bits/sigcontext.h>.
29635 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29636 <bits/sigcontext.h>.
29637 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29638 <bits/sigcontext.h>.
29639 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29640 <bits/sigcontext.h>.
29641 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29642 <bits/sigcontext.h>.
29643 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29644 <bits/sigcontext.h>.
29645 (__ctx): Define earlier.
29646 (mcontext_t): Define structure contents rather than using struct
29648 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29649 <bits/sigcontext.h>. Include <bits/types.h>.
29650 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29651 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29652 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29653 (test-xfail-UNIX98/signal.h/conform): Likewise.
29654 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29655 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29656 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29657 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29658 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29659 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29660 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29661 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29662 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29664 2017-08-30 Florian Weimer <fweimer@redhat.com>
29666 * malloc/dynarray_emplace_enlarge.c
29667 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29668 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29669 * malloc/tst-dynarray.c (test_long_overflow): New function.
29670 (do_test): Call it.
29672 2017-08-30 Florian Weimer <fweimer@redhat.com>
29674 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29675 (set_arena_corrupt): Remove definitions.
29676 (mtrim): Do not check for corrupt arena.
29677 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29680 2017-08-30 Florian Weimer <fweimer@redhat.com>
29683 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29685 (ptmalloc_init): Do not set or use check_action.
29686 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29687 call to malloc_printerr. Remove return statement.
29688 (free_check): Likewise. Remove arena unlock.
29689 (top_check): Update comment. Adjust call to malloc_printerr.
29690 Remove heap repair code.
29691 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29692 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29693 (sysmalloc): Adjust call to malloc_printerr.
29694 (munmap_chunk, __libc_realloc): Likewise. Remove return
29696 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29697 Remove errout label and corresponding gotos.
29698 (_int_free): Likewise. Remove arena unlock.
29699 (do_set_mallopt_check): Do not set check_action.
29700 (malloc_printerr): Adjust parameter list. Do not mark arena as
29702 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29704 * manual/probes.texi (Memory Allocation Probes): Remove
29705 memory_mallopt_check_action.
29707 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29709 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29710 Use pointer to uint64_t instead of long int for sp.
29712 2017-08-30 Florian Weimer <fweimer@redhat.com>
29715 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29716 without printing a backtrace. Do not leak any information in the
29718 * manual/memory.texi (Heap Consistency Checking): Update.
29719 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29721 2017-08-30 Florian Weimer <fweimer@redhat.com>
29723 Do not scale NPTL tests with available number of CPUs.
29724 * nptl/tst-cond16.c (count): Set to constant value of 8.
29725 * nptl/tst-cond18.c (count): Likewise.
29727 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29730 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29731 Define to take a second argument that is a macro that
29732 concatentates a suffix, not the suffix itself.
29733 (__CONCAT_d): New macro.
29734 (__CONCAT_f): Likewise.
29735 (__CONCAT_l): Likewise.
29737 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29739 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29742 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29743 Aurelien Jarno <aurelien@aurel32.net>
29744 Maciej W. Rozycki <macro@imgtec.com>
29747 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29748 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29749 `mips16-syscall6' and `mips16-syscall7'.
29750 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29751 (CFLAGS-mips16-syscall7.c): Remove.
29752 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29753 Remove `__mips16_syscall5', `__mips16_syscall6' and
29754 `__mips16_syscall7'.
29755 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29756 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29757 `__mips_syscall_return'.
29758 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29759 (__mips16_syscall1): Likewise.
29760 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29761 (__mips16_syscall2): Likewise.
29762 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29763 (__mips16_syscall3): Likewise.
29764 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29765 (__mips16_syscall4): Likewise.
29766 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29768 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29772 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29773 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29774 `__mips16_syscall5'. Remove prototype.
29775 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29776 `__mips16_syscall6'. Remove prototype.
29777 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29778 `__mips16_syscall7'. Remove prototype.
29779 (__nomips16, __mips16_syscall_return): Move to...
29780 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29781 (__nomips16, __mips_syscall_return): ... here.
29782 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29783 `__mips16_syscall_return' to `__mips_syscall_return'.
29784 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29785 `internal_syscall##nr'.
29786 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29787 `internal_syscall##nr'.
29788 (FORCE_FRAME_POINTER): Remove.
29789 (__mips_syscall5): New prototype.
29790 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29791 (__mips_syscall6): New prototype.
29792 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29793 (__mips_syscall7): New prototype.
29794 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29795 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29796 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29797 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29798 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29799 (sysdep_routines): Add libc-do-syscall.
29800 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29801 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29803 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29806 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29807 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29808 (advise_stack_range): New function.
29809 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29810 stack non required to advise_stack_range at allocatestack.c
29812 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29814 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29816 2017-08-29 Florian Weimer <fweimer@redhat.com>
29819 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29820 __end_fct. Mangle __end_fct after setting it to NULL.
29821 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29822 (modules-names, modules-names-tests): Add
29823 tst-gconv-init-failure-mod.
29824 (gconv-modules): New target.
29825 (tst-gconv-init-failure-mod.so): Link against libsupport.
29826 (tst-gconv-init-failure): Depend on gconv-modules,
29827 tst-gconv-init-failure-mod.so.
29828 * iconv/tst-gconv-init-failure-mod.c: New file.
29829 * iconv/tst-gconv-init-failure.c: Likewise.
29830 * iconv/test-gconv-modules: Likewise.
29832 2017-08-29 Florian Weimer <fweimer@redhat.com>
29835 * iconv/gconv_db.c (free_derivation): Remove redundant
29837 (gen_steps): Unconditionally mangle __btowc_fct after
29839 (increment_counter): Likewise. Do not call init_fct for internal
29842 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29845 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29846 (_MSUF_): Remove macro.
29847 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29849 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29850 (__REDIRFROM_X): New macro.
29851 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29853 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29854 (__REDIRTO_X): Likewise.
29855 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29857 (__MATH_REDIRCALL_2): Likewise.
29858 (__MATH_REDIRCALL_INTERNAL): Likewise.
29859 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29860 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29861 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29862 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29863 * math/test-finite-macros.c: New file.
29864 * math/Makefile (tests): Add test-finite-macros.
29865 (CFLAGS-test-finite-macros.c): New variable.
29867 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29868 Jeff Law <law@redhat.com>
29871 Mangle NULL pointers in iconv/gconv.
29872 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29873 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29874 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29875 is non-NULL before demangling the end_fct. Check for NULL
29876 end_fct after demangling.
29877 (__gconv_release_step): Demangle the end_fct before checking
29878 it for NULL. Remove assert on __shlibc_handle != NULL.
29879 (gen_steps): Don't check btowc_fct for NULL before mangling.
29880 Demangle init_fct before checking for NULL.
29881 (increment_counter): Likewise.
29882 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29883 end_fct for NULL before mangling.
29884 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29887 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29890 * locale/iso-639.def: add Morisyen.
29892 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29895 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29896 (iszero): New C++ implementation that does not use
29897 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29898 signaling nans are enabled, since __builtin_types_compatible_p
29899 is a C-only feature.
29900 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29901 defined, include ieee754_float128.h for access to the union and
29902 member ieee854_float128.ieee.
29903 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29904 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29905 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29906 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29907 options of test-math-zero on powerpc64le.
29909 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29911 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29912 Change double to float.
29914 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29916 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29918 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29919 conditional code; define contents only for [LIBM_SVID_COMPAT].
29921 2017-08-28 Florian Weimer <fweimer@redhat.com>
29923 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29924 (abi-lp64_be-options): Remove.
29925 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29926 (abi-hard-options): Likewise.
29927 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29928 (abi-o32_hard-options, abi-o32_soft_2008-options)
29929 (abi-o32_hard_2008-options, abi-n32_soft-options)
29930 (abi-n32_hard-options, abi-n32_soft_2008-options)
29931 (abi-n32_hard_2008-options, abi-n64_soft-options)
29932 (abi-n64_hard-options, abi-n64_soft_2008-options)
29933 (abi-n64_hard_2008-options): Likewise.
29934 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29935 (abi-64-v1-options, abi-64-v2-options): Likewise.
29936 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29937 (abi-64-options): Likewise.
29938 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29939 (abi-64-options): Likewise.
29940 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29941 (abi-64-options): Likewise.
29942 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29943 (abi-64-options, abi-x32-options): Likewise.
29945 2017-08-28 Florian Weimer <fweimer@redhat.com>
29947 Store supported list of SYS_* system calls in the source tree.
29948 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29949 (bits/syscall.h): Generate from list file.
29950 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29951 [$(subdir) = misc] (tests): Add tst-syscall-list.
29952 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29953 [$(subdir) = misc] (tst-syscall-list-macros.list)
29954 [$(subdir) = misc] (tst-syscall-list-nr.list)
29955 (tst-syscall-list-sys.list): Helper targets for new
29956 tst-syscall-list test.
29957 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29958 tst-syscall-list.sh.
29959 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29960 target. Do not include bits/syscall.d.
29961 [$(subdir) = misc] (generated): Do not update.
29962 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29963 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29964 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29965 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29967 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29969 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29970 (tst-cxa_atexit, tst-on_exit): Likewise.
29971 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29972 tst-cxa_atexit, and tst-on_exit.
29973 * stdlib/tst-atexit-common.c: New file.
29974 * stdlib/tst-atexit.c: New file.
29975 * stdlib/tst-at_quick_exit.c: New file.
29976 * stdlib/tst-cxa_atexit.c: New file.
29977 * stdlib/tst-on_exit.c: New file.
29979 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29981 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29982 * mach/stack_chk_fail_local.c: New file.
29983 * hurd/stack_chk_fail_local.c: New file.
29984 * mach/Machrules ($(interface-library)-routines): Add
29985 stack_chk_fail_local.
29986 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29987 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29988 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29989 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29990 * hurd/Makefile (CFLAGS-hurdstartup.o,
29991 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29993 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29995 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29996 (index_cpu_*, index_arch_*): Removed.
29998 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30000 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30001 Use uint64_t instead of unsigned long.
30003 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30005 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30006 [__HAVE_DISTINCT_FLOAT128].
30008 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30009 of <bits/math-finite.h>.
30010 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30011 inclusion of <bits/math-finite.h>.
30012 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30013 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30014 __NO_LONG_DOUBLE_MATH].
30015 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30016 (__MATH_REDIRCALL_2): Likewise.
30017 (__MATH_REDIRCALL_INTERNAL): Likewise.
30018 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30019 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30020 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30037 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30039 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30040 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30041 w_sqrtf_compat-ppc32.
30043 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30045 * math/math.h [defined __cplusplus] (issignaling): In the long
30046 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30047 is not defined. Call __issignaling, otherwise.
30049 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30051 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30052 syscall definitions and replace __builtin_expect with __glibc_likely.
30053 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30055 (SYSCALL_CANCELLABLE): Removedefinition
30056 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30058 (PSEUDO_END): Likewise.
30059 [IS_IN (libpthread)] (CENABLE): Likewise.
30060 [IS_IN (libpthread)] (CDISABLE): Likewise.
30061 [IS_IN (libc)] (CENABLE): Likewise.
30062 [IS_IN (libc)] (CENABLE): Likewise.
30063 [IS_IN (librt)] (CDISABLE): Likewise.
30064 [IS_IN (librt)] (CDISABLE): Likewise.
30065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30068 (PSEUDO_END): Likewise.
30069 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30070 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30071 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30072 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30073 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30074 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30075 (CENABLE): Likewise.
30076 (CDISABLE): Likewise.
30077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30078 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30080 (PSEUDO_END): Likewise.
30081 [IS_IN (libpthread)] (CENABLE): Likewise.
30082 [IS_IN (libpthread)] (CDISABLE): Likewise.
30083 [IS_IN (libc)] (CENABLE): Likewise.
30084 [IS_IN (libc)] (CENABLE): Likewise.
30085 [IS_IN (librt)] (CDISABLE): Likewise.
30086 [IS_IN (librt)] (CDISABLE): Likewise.
30087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30088 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30090 (PSEUDO_END): Likewise.
30091 [IS_IN (libpthread)] (CENABLE): Likewise.
30092 [IS_IN (libpthread)] (CDISABLE): Likewise.
30093 [IS_IN (libc)] (CENABLE): Likewise.
30094 [IS_IN (libc)] (CENABLE): Likewise.
30095 [IS_IN (librt)] (CDISABLE): Likewise.
30096 [IS_IN (librt)] (CDISABLE): Likewise.
30097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30098 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30100 (PSEUDO_END): Likewise.
30101 [IS_IN (libpthread)] (CENABLE): Likewise.
30102 [IS_IN (libpthread)] (CDISABLE): Likewise.
30103 [IS_IN (libc)] (CENABLE): Likewise.
30104 [IS_IN (libc)] (CENABLE): Likewise.
30105 [IS_IN (librt)] (CDISABLE): Likewise.
30106 [IS_IN (librt)] (CDISABLE): Likewise.
30107 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30108 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30110 (PSEUDO_END): Likewise.
30111 [IS_IN (libpthread)] (CENABLE): Likewise.
30112 [IS_IN (libpthread)] (CDISABLE): Likewise.
30113 [IS_IN (libc)] (CENABLE): Likewise.
30114 [IS_IN (libc)] (CENABLE): Likewise.
30115 [IS_IN (librt)] (CDISABLE): Likewise.
30116 [IS_IN (librt)] (CDISABLE): Likewise.
30117 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30120 (PSEUDO_END): Likewise.
30121 [IS_IN (libpthread)] (CENABLE): Likewise.
30122 [IS_IN (libpthread)] (CDISABLE): Likewise.
30123 [IS_IN (libc)] (CENABLE): Likewise.
30124 [IS_IN (libc)] (CENABLE): Likewise.
30125 [IS_IN (librt)] (CDISABLE): Likewise.
30126 [IS_IN (librt)] (CDISABLE): Likewise.
30127 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30128 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30130 (PSEUDO_END): Likewise.
30131 [IS_IN (libpthread)] (CENABLE): Likewise.
30132 [IS_IN (libpthread)] (CDISABLE): Likewise.
30133 [IS_IN (libc)] (CENABLE): Likewise.
30134 [IS_IN (libc)] (CENABLE): Likewise.
30135 [IS_IN (librt)] (CDISABLE): Likewise.
30136 [IS_IN (librt)] (CDISABLE): Likewise.
30137 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30138 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30140 (PSEUDO_END): Likewise.
30141 [IS_IN (libpthread)] (CENABLE): Likewise.
30142 [IS_IN (libpthread)] (CDISABLE): Likewise.
30143 [IS_IN (libc)] (CENABLE): Likewise.
30144 [IS_IN (libc)] (CENABLE): Likewise.
30145 [IS_IN (librt)] (CDISABLE): Likewise.
30146 [IS_IN (librt)] (CDISABLE): Likewise.
30147 (SINGLE_THREAD_P): Likewise.
30148 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30150 (PSEUDO_END): Likewise.
30151 [IS_IN (libpthread)] (CENABLE): Likewise.
30152 [IS_IN (libpthread)] (CDISABLE): Likewise.
30153 [IS_IN (libc)] (CENABLE): Likewise.
30154 [IS_IN (libc)] (CENABLE): Likewise.
30155 [IS_IN (librt)] (CDISABLE): Likewise.
30156 [IS_IN (librt)] (CDISABLE): Likewise.
30157 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30158 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30160 (PSEUDO_END): Likewise.
30161 [IS_IN (libpthread)] (CENABLE): Likewise.
30162 [IS_IN (libpthread)] (CDISABLE): Likewise.
30163 [IS_IN (libc)] (CENABLE): Likewise.
30164 [IS_IN (libc)] (CENABLE): Likewise.
30165 [IS_IN (librt)] (CDISABLE): Likewise.
30166 [IS_IN (librt)] (CDISABLE): Likewise.
30167 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30168 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30169 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30170 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30173 (PSEUDO_END): Likewise.
30174 [IS_IN (libpthread)] (CENABLE): Likewise.
30175 [IS_IN (libpthread)] (CDISABLE): Likewise.
30176 [IS_IN (libc)] (CENABLE): Likewise.
30177 [IS_IN (libc)] (CENABLE): Likewise.
30178 [IS_IN (librt)] (CDISABLE): Likewise.
30179 [IS_IN (librt)] (CDISABLE): Likewise.
30180 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30183 (PSEUDO_END): Likewise.
30184 [IS_IN (libpthread)] (CENABLE): Likewise.
30185 [IS_IN (libpthread)] (CDISABLE): Likewise.
30186 [IS_IN (libc)] (CENABLE): Likewise.
30187 [IS_IN (libc)] (CENABLE): Likewise.
30188 [IS_IN (librt)] (CDISABLE): Likewise.
30189 [IS_IN (librt)] (CDISABLE): Likewise.
30190 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30191 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30193 (PSEUDO_END): Likewise.
30194 [IS_IN (libpthread)] (CENABLE): Likewise.
30195 [IS_IN (libpthread)] (CDISABLE): Likewise.
30196 [IS_IN (libc)] (CENABLE): Likewise.
30197 [IS_IN (libc)] (CENABLE): Likewise.
30198 [IS_IN (librt)] (CDISABLE): Likewise.
30199 [IS_IN (librt)] (CDISABLE): Likewise.
30200 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30204 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30206 (PSEUDO_END): Likewise.
30207 [IS_IN (libpthread)] (CENABLE): Likewise.
30208 [IS_IN (libpthread)] (CDISABLE): Likewise.
30209 [IS_IN (libc)] (CENABLE): Likewise.
30210 [IS_IN (libc)] (CENABLE): Likewise.
30211 [IS_IN (librt)] (CDISABLE): Likewise.
30212 [IS_IN (librt)] (CDISABLE): Likewise.
30213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30216 (PSEUDO_END): Likewise.
30217 [IS_IN (libpthread)] (CENABLE): Likewise.
30218 [IS_IN (libpthread)] (CDISABLE): Likewise.
30219 [IS_IN (libc)] (CENABLE): Likewise.
30220 [IS_IN (libc)] (CENABLE): Likewise.
30221 [IS_IN (librt)] (CDISABLE): Likewise.
30222 [IS_IN (librt)] (CDISABLE): Likewise.
30223 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30225 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30227 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30229 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30233 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30236 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30237 middle and outer with size_t instead of int. Repleace %d and
30238 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30239 "MAX (outer, nchars - 64)" to support unsigned outer and
30240 nchars. Also exit loop when outer == 0.
30242 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30244 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30245 * include/signal.h (__sigsuspend_nocancel): Likewise.
30246 * include/time.h (__nanosleep_nocancel): Likewise.
30247 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30248 * login/utmp_file.c: Include non cancellable syscall header.
30249 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30252 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30254 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30255 .byte sequences with AVX512F instructions.
30256 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30257 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30258 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30259 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30261 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30264 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30265 Steve Ellcey <sellcey@cavium.com>
30267 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30268 Use PTR_REG macro in cmp instruction.
30270 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30272 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30273 Change the return type of the ifunc resolver to match the return
30274 type of the target function.
30276 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30278 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30279 (preadv64): Likewise.
30280 (pwrite64(: Likewise.
30281 (pwritev64): Likewise.
30283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30284 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30285 (LOAD_ARGS_0): Likewise.
30286 (LOAD_ARGS_1): Likewise.
30287 (LOAD_ARGS_2): Likewise.
30288 (LOAD_ARGS_3): Likewise.
30289 (LOAD_ARGS_4): Likewise.
30290 (LOAD_ARGS_5): Likewise.
30291 (LOAD_ARGS_6): Likewise.
30292 (LOAD_REGS_0): Likewise.
30293 (LOAD_REGS_1): Likewise.
30294 (LOAD_REGS_2): Likewise.
30295 (LOAD_REGS_3): Likewise.
30296 (LOAD_REGS_4): Likewise.
30297 (LOAD_REGS_5): Likewise.
30298 (LOAD_REGS_6): Likewise.
30299 (ASM_ARGS_0): Likewise.
30300 (ASM_ARGS_1): Likewise.
30301 (ASM_ARGS_2): Likewise.
30302 (ASM_ARGS_3): Likewise.
30303 (ASM_ARGS_4): Likewise.
30304 (ASM_ARGS_5): Likewise.
30305 (ASM_ARGS_6): Likewise.
30306 (LOAD_ARGS_TYPES_1): Likewise.
30307 (LOAD_ARGS_TYPES_2): Likewise.
30308 (LOAD_ARGS_TYPES_3): Likewise.
30309 (LOAD_ARGS_TYPES_4): Likewise.
30310 (LOAD_ARGS_TYPES_5): Likewise.
30311 (LOAD_ARGS_TYPES_6): Likewise.
30312 (LOAD_REGS_TYPES_1): Likewise.
30313 (LOAD_REGS_TYPES_2): Likewise.
30314 (LOAD_REGS_TYPES_3): Likewise.
30315 (LOAD_REGS_TYPES_4): Likewise.
30316 (LOAD_REGS_TYPES_5): Likewise.
30317 (LOAD_REGS_TYPES_6): Likewise.
30318 (TYPEFY): New define.
30319 (ARGIFY): Likewise.
30320 (internal_syscall0): Likewise.
30321 (internal_syscall1): Likewise.
30322 (internal_syscall2): Likewise.
30323 (internal_syscall3): Likewise.
30324 (internal_syscall4): Likewise.
30325 (internal_syscall5): Likewise.
30326 (internal_syscall6): Likewise.
30327 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30328 (INTERNAL_SYSCALL_NCS): Remove define.
30329 (internal_syscall1): Add define.
30331 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30333 * math/w_remainder_compat.c: Remove duplicate inclusion of
30334 math-svid-compat.h.
30335 * math/w_remainderf_compat.c: Likewise.
30336 * math/w_remainderl_compat.c: Likewise.
30338 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30342 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30345 * math/tgmath.h (__floating_type): Simplify definitions.
30346 (__real_integer_type): New macro.
30347 (__complex_integer_type): Likewise.
30348 (__expr_is_real): Likewise.
30349 (__tgmath_real_type_sub): Update comment to describe handling of
30351 (__tgmath_complex_type_sub): New macro.
30352 (__tgmath_complex_type): Likewise.
30353 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30354 (__TGMATH_CF128): Use __expr_is_real.
30355 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30357 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30358 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30359 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30362 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30364 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30366 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30368 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30371 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30372 nanosleep_not_cancel with __nanosleep_nocancel.
30373 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30374 (__nanosleep_nocancel): New macro.
30375 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30377 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30379 (__nanosleep_nocancel): New prototype.
30381 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30382 pause_not_cancel with __pause_nocancel.
30383 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30384 (__pause_nocancel): New macro.
30385 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30387 (__pause_nocancel): New prototype.
30388 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30390 2017-08-22 Martin Sebor <msebor@redhat.com>
30392 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30393 to return a pointer to the same type as the target function.
30395 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30399 * include/printf.h (__printf_fphex): Add attribute_hidden.
30400 (__guess_grouping): New prototype.
30401 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30402 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30403 libc_hidden_proto and libc_hidden_def.
30404 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30405 (__vstrfmon_l): Remove the third argument passed to
30408 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30410 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30411 definition for issignaling that does not rely on __MATH_TG,
30412 since __MATH_TG uses __builtin_types_compatible_p, which is only
30413 available in C mode.
30414 (CFLAGS-test-math-issignaling.cc): New variable.
30415 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30416 * math/test-math-issignaling.cc: New test for C++ implementation
30417 of type-generic issignaling.
30418 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30419 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30420 options of test-math-issignaling on powerpc64le.
30422 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30424 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30426 (hidden_proto): Likewise.
30427 (hidden_tls_proto): Likewise.
30428 (__hidden_proto): Likewise.
30430 2017-08-22 Florian Weimer <fweimer@redhat.com>
30432 math: Statically link tests of internal functionality.
30433 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30435 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30436 (gmp-objs): Remove assignment.
30437 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30439 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30444 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30446 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30449 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30450 variable definitions above inclusion of ../Rules.
30452 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30455 case calling __builtin_unreachable.
30457 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30459 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30460 __waitpid_nocancel.
30461 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30462 (__waitpid_nocancel): New macro.
30463 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30465 (__waitpid_nocancel): Replace macro with a function.
30466 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30469 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30471 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30472 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30474 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30475 __writev_nocancel_nostatus.
30476 (write_call_graph): Likewise.
30477 (write_bb_counts): Likewise.
30478 * resolv/herror.c (herror): Likewise.
30479 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30481 (__writev_nocancel_nostatus): New macro.
30482 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30484 (__writev_nocancel_nostatus): New function.
30486 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30489 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30493 (hidden_proto): Likewise.
30494 (hidden_tls_proto): Likewise.
30495 (__hidden_proto): Likewise.
30498 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30499 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30510 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30511 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30513 GLIBC_2.0 sqrtl symbol.
30515 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30516 [__USE_MISC] (_LIB_VERSION): Likewise.
30517 [__USE_MISC] (struct exception): Likewise.
30518 [__USE_MISC] (matherr): Likewise.
30519 [__USE_MISC] (DOMAIN): Likewise.
30520 [__USE_MISC] (SING): Likewise.
30521 [__USE_MISC] (OVERFLOW): Likewise.
30522 [__USE_MISC] (UNDERFLOW): Likewise.
30523 [__USE_MISC] (TLOSS): Likewise.
30524 [__USE_MISC] (PLOSS): Likewise.
30525 [__USE_MISC] (HUGE): Likewise.
30526 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30527 * math/math-svid-compat.h: New file.
30528 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30530 * include/math.h [!_ISOMAC] (__matherr): Remove.
30531 * manual/arith.texi (FP Exceptions): Do not document matherr.
30532 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30533 (tests-internal): New variable.
30534 (install-lib): Do not add libieee.a.
30535 (non-lib.a): Likewise.
30536 (extra-objs): Do not add libieee.a and ieee-math.o.
30537 (CPPFLAGS-s_lib_version.c): Remove variable.
30538 ($(objpfx)libieee.a): Remove rule.
30539 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30540 * math/ieee-math.c: Remove.
30541 * math/libm-test-support.c (matherr): Remove.
30542 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30543 and license notices. Include <math-svid-compat.h> and
30545 (matherr): Undefine as macro. Use compat_symbol_reference.
30546 (_LIB_VERSION): Likewise.
30547 * math/test-matherr-2.c: New file.
30548 * math/test-matherr-3.c: Likewise.
30549 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30551 (__kernel_standard_f): Likewise.
30552 (__kernel_standard_l): Likewise.
30553 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30554 <math_private.h>. Include <math-svid-compat.h>.
30555 (_LIB_VERSION): Undefine as macro.
30556 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30557 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30558 [LIBM_SVID_COMPAT], use compat_symbol.
30559 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30560 <math_private.h>. Include <math-svid-compat.h>.
30561 (matherr): Undefine as macro.
30562 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30564 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30565 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30566 compat_symbol_reference.
30567 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30568 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30569 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30570 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30571 (MATHERR_D): Remove declaration.
30572 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30573 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30574 [LIBM_BUILD] (pmatherrf): Likewise.
30575 [LIBM_BUILD] (pmatherr): Likewise.
30576 [LIBM_BUILD] (pmatherrl): Likewise.
30577 (DOMAIN): Likewise.
30579 (OVERFLOW): Likewise.
30580 (UNDERFLOW): Likewise.
30583 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30584 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30586 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30587 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30589 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30590 * math/w_acos_compat.c: Likewise.
30591 * math/w_acosf_compat.c: Likewise.
30592 * math/w_acosh_compat.c: Likewise.
30593 * math/w_acoshf_compat.c: Likewise.
30594 * math/w_acoshl_compat.c: Likewise.
30595 * math/w_acosl_compat.c: Likewise.
30596 * math/w_asin_compat.c: Likewise.
30597 * math/w_asinf_compat.c: Likewise.
30598 * math/w_asinl_compat.c: Likewise.
30599 * math/w_atan2_compat.c: Likewise.
30600 * math/w_atan2f_compat.c: Likewise.
30601 * math/w_atan2l_compat.c: Likewise.
30602 * math/w_atanh_compat.c: Likewise.
30603 * math/w_atanhf_compat.c: Likewise.
30604 * math/w_atanhl_compat.c: Likewise.
30605 * math/w_cosh_compat.c: Likewise.
30606 * math/w_coshf_compat.c: Likewise.
30607 * math/w_coshl_compat.c: Likewise.
30608 * math/w_exp10_compat.c: Likewise.
30609 * math/w_exp10f_compat.c: Likewise.
30610 * math/w_exp10l_compat.c: Likewise.
30611 * math/w_exp2_compat.c: Likewise.
30612 * math/w_exp2f_compat.c: Likewise.
30613 * math/w_exp2l_compat.c: Likewise.
30614 * math/w_fmod_compat.c: Likewise.
30615 * math/w_fmodf_compat.c: Likewise.
30616 * math/w_fmodl_compat.c: Likewise.
30617 * math/w_hypot_compat.c: Likewise.
30618 * math/w_hypotf_compat.c: Likewise.
30619 * math/w_hypotl_compat.c: Likewise.
30620 * math/w_j0_compat.c: Likewise.
30621 * math/w_j0f_compat.c: Likewise.
30622 * math/w_j0l_compat.c: Likewise.
30623 * math/w_j1_compat.c: Likewise.
30624 * math/w_j1f_compat.c: Likewise.
30625 * math/w_j1l_compat.c: Likewise.
30626 * math/w_jn_compat.c: Likewise.
30627 * math/w_jnf_compat.c: Likewise.
30628 * math/w_jnl_compat.c: Likewise.
30629 * math/w_lgamma_main.c: Likewise.
30630 * math/w_lgamma_r_compat.c: Likewise.
30631 * math/w_lgammaf_main.c: Likewise.
30632 * math/w_lgammaf_r_compat.c: Likewise.
30633 * math/w_lgammal_main.c: Likewise.
30634 * math/w_lgammal_r_compat.c: Likewise.
30635 * math/w_log10_compat.c: Likewise.
30636 * math/w_log10f_compat.c: Likewise.
30637 * math/w_log10l_compat.c: Likewise.
30638 * math/w_log2_compat.c: Likewise.
30639 * math/w_log2f_compat.c: Likewise.
30640 * math/w_log2l_compat.c: Likewise.
30641 * math/w_log_compat.c: Likewise.
30642 * math/w_logf_compat.c: Likewise.
30643 * math/w_logl_compat.c: Likewise.
30644 * math/w_pow_compat.c: Likewise.
30645 * math/w_powf_compat.c: Likewise.
30646 * math/w_powl_compat.c: Likewise.
30647 * math/w_remainder_compat.c: Likewise.
30648 * math/w_remainderf_compat.c: Likewise.
30649 * math/w_remainderl_compat.c: Likewise.
30650 * math/w_scalb_compat.c: Likewise.
30651 * math/w_scalbf_compat.c: Likewise.
30652 * math/w_scalbl_compat.c: Likewise.
30653 * math/w_sinh_compat.c: Likewise.
30654 * math/w_sinhf_compat.c: Likewise.
30655 * math/w_sinhl_compat.c: Likewise.
30656 * math/w_sqrt_compat.c: Likewise.
30657 * math/w_sqrtf_compat.c: Likewise.
30658 * math/w_sqrtl_compat.c: Likewise.
30659 * math/w_tgamma_compat.c: Likewise.
30660 * math/w_tgammaf_compat.c: Likewise.
30661 * math/w_tgammal_compat.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30663 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30664 * sysdeps/ieee754/k_standard.c: Likewise.
30665 * sysdeps/ieee754/k_standardf.c: Likewise.
30666 * sysdeps/ieee754/k_standardl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30669 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30670 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30671 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30674 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30675 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30682 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30683 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30685 2017-08-21 Florian Weimer <fweimer@redhat.com>
30688 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30689 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30690 Move before inclusion of ../Rules.
30692 2017-08-21 Florian Weimer <fweimer@redhat.com>
30695 * assert/assert.h (assert): Use static_cast (bool) for C++.
30696 Use the ternary operator in the warning branch for GNU C.
30697 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30698 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30699 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30700 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30701 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30703 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30706 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30707 (__syscall_clock_gettime): Add attribute_hidden.
30708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30709 (__start_context): Likewise.
30711 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30713 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30715 (hidden_proto): Likewise.
30716 (hidden_tls_proto): Likewise.
30717 (__hidden_proto): Likewise.
30719 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30721 * include/libc-symbols.h (attribute_hidden): Enable hidden
30722 visibility in libc.a compiled with PIE.
30724 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30727 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30728 Add attribute_hidden.
30730 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30733 * Makerules (all-nonlib): Add $(others-extras).
30734 * catgets/Makefile (others-extras): New.
30735 * elf/Makefile (others-extras): Likewise.
30736 * nss/Makefile (others-extras): Likewise.
30738 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30741 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30742 * elf/dl-open.c: Include <libc-internal.h>.
30743 (__libc_multiple_libcs): Removed.
30744 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30746 * include/libc-internal.h (__libc_multiple_libcs): New.
30747 * misc/sbrk.c: Include <libc-internal.h>.
30748 (__libc_multiple_libcs): Removed.
30750 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30753 * grp/initgroups.c (__nss_group_database): Removed.
30754 (__nss_initgroups_database): Likewise.
30755 * nscd/gai.c (__nss_hosts_database): Likewise.
30756 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30757 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30758 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30759 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30760 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30761 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30763 * nss/nsswitch.c (__nss_database_custom): Define only if
30764 USE_NSCD is defined.
30765 (__nss_configure_lookup): Use __nss_database_custom only if
30766 USE_NSCD is defined.
30767 * nss/nsswitch.h (__nss_database_custom): Declare only if
30768 USE_NSCD is defined. Add attribute_hidden.
30769 (__nss_setent): Add attribute_hidden.
30770 (__nss_endent): Likewise.
30771 (__nss_getent_r): Likewise.
30772 (__nss_getent): Likewise.
30773 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30775 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30778 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30779 libc_hidden_proto and libc_hidden_def.
30781 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30784 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30785 Add libc_hidden_proto.
30786 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30787 Add libc_hidden_def.
30789 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30792 * gmon/Makefile (routines): Remove bb_init_func and
30794 (elide-routines.os): Removed.
30795 * gmon/bb_exit_func.c: Likewise.
30796 * gmon/bb_init_func.c: Likewise.
30797 * include/sys/gmon.h (__bb): Likewise.
30798 (__bb_init_func): Likewise.
30799 (__bb_exit_func): Likewise.
30800 * sysdeps/alpha/bb_init_func.S: Likewise.
30802 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30804 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30805 * include/setjmp.h (____longjmp_chk): Here. Add
30808 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30811 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30813 (__strspn_sse2): Likewise.
30815 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30817 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30818 (close_not_cancel_no_status): Likewise.
30819 (__close_nocancel): New macro.
30820 (__close_nocancel_nostatus): Likewise.
30821 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30823 (close_not_cancel): Likewise.
30824 (close_not_cancel_no_status): Likewise.
30825 (__close_nocancel): New prototype.
30826 (__close_nocancel_nostatus): New function.
30827 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30828 * catgets/open_catalog.c (__open_catalog): Replace
30829 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30830 * gmon/gmon.c (write_gmon): Likewise.
30831 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30832 * intl/loadmsgcat.c (close): Likewise.
30833 * io/ftw.c (open_dir_stream): Likewise.
30834 (ftw_startup): Likewise.
30835 * libio/fileops.c (_IO_file_open): Likewise.
30836 (_IO_file_close_mmap): Likewise.
30837 (_IO_file_close): Likewise.
30838 * libio/iopopen.c (_IO_dup2): Likewise.
30839 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30840 * locale/loadlocale.c (_nl_load_locale): Likewise.
30841 * login/utmp_file.c (pututline_file): Likewise.
30842 (endutent_file): Likewise.
30843 * misc/daemon.c (daemon): Likewise.
30844 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30845 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30846 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30847 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30849 * nscd/nscd_helper.c (open_socket): Likewise.
30850 (__nscd_open_socket): Likewise.
30851 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30852 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30853 (__nscd_innetgr): Likewise.
30854 * nss/nss_db/db-open.c (internal_setent): Likewise.
30855 * resolv/res-close.c (__res_iclose): Likewise.
30856 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30857 * sysdeps/posix/closedir.c (__closedir): Likewise.
30858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30859 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30860 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30861 (opendir_tail): Likewise.
30862 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30863 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30864 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30865 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30866 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30867 (gethostid): Likewise.
30868 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30872 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30873 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30874 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30876 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30877 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30878 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30880 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30881 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30883 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30885 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30887 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30890 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30891 (openat_not_cancel_3): Likewise.
30892 (openat64_not_cancel_3): Likewise).
30893 (openat_not_cancel_3): Likewise).
30894 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30896 (openat_not_cancel_3): Likewise.
30897 (openat64_not_cancel): Likewise.
30898 (openat64_not_cancel_3): Likewise.
30899 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30900 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30901 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30902 __open{64}_nocancel.
30903 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30904 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30905 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30907 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30910 * include/argz.h (__argz_create_sep): New function prototype.
30911 (__argz_append): Likewise.
30912 (__argz_add): Likewise.
30913 (__argz_add_sep): Likewise.
30914 (__argz_delete): Likewise.
30915 (__argz_insert): Likewise.
30916 (__argz_replace): Likewise.
30917 * string/argz.h (__argz_create_sep): Removed.
30918 (__argz_append): Likewise.
30919 (__argz_add): Likewise.
30920 (__argz_add_sep): Likewise.
30921 (__argz_delete): Likewise.
30922 (__argz_insert): Likewise.
30923 (__argz_replace): Likewise.
30925 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30927 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30928 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30929 (GNU_PROPERTY_STACK_SIZE): Likewie.
30930 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30931 (GNU_PROPERTY_LOPROC): Likewise.
30932 (GNU_PROPERTY_HIPROC): Likewise.
30933 (GNU_PROPERTY_LOUSER): Likewise.
30934 (GNU_PROPERTY_HIUSER): Likewise.
30935 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30936 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30937 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30938 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30939 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30940 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30941 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30942 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30943 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30944 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30945 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30946 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30947 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30948 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30949 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30950 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30951 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30952 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30953 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30954 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30955 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30956 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30957 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30959 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30961 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30964 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30967 * math/math.h (isinf): Check if in C or C++ mode before using
30968 __builtin_types_compatible_p, since this is a C mode feature.
30970 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30972 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30973 (__write_nocancel): New macro.
30974 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30975 Rewrite as a function prototype.
30976 (write_not_cancel): Remove macro.
30977 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30978 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30979 (write_gmon): Likewise.
30980 * libio/fileops.c (_IO_new_file_write): Likewise.
30981 * login/utmp_file.c (pututline_file): Likewise.
30982 (updwtmp_file): Likewise.
30983 * stdio-common/psiginfo.c (psiginfo): Likewise.
30984 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30985 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30986 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30988 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30991 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30992 (__read_nocancel): New macro.
30993 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30995 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30997 (__read_nocancel): New prototype.
30998 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30999 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31000 with __read_nocancel.
31001 * intl/loadmsgcat.c (read): Likewise.
31002 * libio/fileops.c (_IO_file_read): Likewise.
31003 * locale/loadlocale.c (_nl_load_locale): Likewise.
31004 * login/utmp_file.c (getutent_r_file): Likewise.
31005 (internal_getut_r): Likewise.
31006 (getutline_r_file): Likewise.
31007 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31008 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31009 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31012 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31013 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31014 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31016 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31018 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31020 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31022 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31024 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31027 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31028 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31031 2017-08-17 DJ Delorie <dj@redhat.com>
31033 * bug17079.c: Update to new test harness.
31034 * test-digits-dots.c: Likewise.
31035 * test-netdb.c: Likewise.
31036 * tst-field.c: Likewise.
31037 * tst-nss-getpwent.c: Likewise.
31038 * tst-nss-static.c: Likewise.
31039 * tst-nss-test1.c: Likewise.
31040 * tst-nss-test2.c: Likewise.
31041 * tst-nss-test3.c: Likewise.
31042 * tst-nss-test4.c: Likewise.
31043 * tst-nss-test5.c: Likewise.
31045 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31047 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31048 (open_not_cancel_2): Likewise.
31049 (open_nocancel): New macro.
31050 (open64_nocancel): Likewise.
31051 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31052 (open_not_cancel_2): Likewise.
31053 (__open_nocancel): New prototype.
31054 (__open64_nocancel): Likewise.
31055 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31057 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31058 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31059 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31060 with __open_nocancel.
31061 * csu/check_fds.c (check_one_fd): Likewise.
31062 * gmon/gmon.c (write_gmon): Likewise.
31063 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31064 * intl/loadmsgcat.c (open): Likewise.
31065 * libio/fileops.c (_IO_file_open): Likewise.
31066 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31067 * locale/loadlocale.c (_nl_load_locale): Likewise.
31068 * login/utmp_file.c (setutent_file): Likewise.
31069 * misc/daemon.c (daemon): Likewise.
31070 * nss/nss_db/db-open.c (internal_setent): Likewise.
31071 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31072 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31073 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31074 (__opendir): Likewise.
31075 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31076 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31077 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31078 (gethostid): Likewise.
31079 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31083 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31084 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31085 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31087 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31089 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31091 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31093 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31095 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31097 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31100 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31102 * benchtests/bench-skeleton.c (main): Add support for
31103 latency benchmarking.
31104 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31106 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31108 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31109 the startup object.
31111 2017-08-17 Florian Weimer <fweimer@redhat.com>
31113 * include/sys/socket.h (__opensock): Remove internal_function.
31114 * socket/opensock.c (__opensock): Likewise.
31115 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31117 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31120 * signal/bits/types/__sigval_t.h: New file.
31121 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31122 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31123 and define sigval_t using __sigval_t.
31124 * include/bits/types/__sigval_t.h: New file.
31125 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31126 instead of <bits/types/__sigval_t.h>.
31127 (struct sigevent): Use __sigval_t instead of sigval_t.
31128 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31129 instead of <bits/types/__sigval_t.h>.
31130 (siginfo_t): Use __sigval_t instead of sigval_t.
31131 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31132 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31133 (struct sigevent): Use __sigval_t instead of sigval_t.
31134 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31135 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31136 (siginfo_t): Use __sigval_t instead of sigval_t.
31137 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31139 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31141 * NEWS: Remove "[Add new features here]" for 2.27.
31143 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31145 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31148 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31150 * NEWS: Mention x86-64 FMA optimization.
31152 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31155 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31157 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31158 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31159 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31161 2017-08-16 Andreas Schwab <schwab@suse.de>
31165 * elf/ldd.bash.in: Never run file directly.
31167 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31170 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31171 (L(SP_INF_0)): Likewise.
31173 2017-08-15 Florian Weimer <fweimer@redhat.com>
31175 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31178 2017-08-15 Florian Weimer <fweimer@redhat.com>
31180 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31181 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31182 BROKEN_THREAD_SIGNALS code.
31183 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31184 request_list): Remove caller_pid member used for
31185 BROKEN_THREAD_SIGNALS.
31186 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31187 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31188 Remove BROKEN_THREAD_SIGNALS support.
31189 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31190 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31192 2017-08-15 Florian Weimer <fweimer@redhat.com>
31194 * gmon/Makefile (tests): Add tst-gmon.
31195 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31197 (tests-special): Add tst-gmon-prof.out.
31198 (tst-gmon.out): Depend on clean-tst-gmon-data.
31199 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31200 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31201 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31203 * aclocal.m4 (GPROF): Set and substitute.
31204 * config.amke.in (GPROF): Set.
31205 * configure: Regenerate.
31207 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31209 * elf/elf.h A (NT_PPC_TAR): New macro.
31210 (NT_PPC_PPR): Likewise.
31211 (NT_PPC_DSCR): Likewise.
31212 (NT_PPC_EBB): Likewise.
31213 (NT_PPC_PMU): Likewise.
31214 (NT_PPC_TM_CGPR): Likewise.
31215 (NT_PPC_TM_CFPR): Likewise.
31216 (NT_PPC_TM_CVMX): Likewise.
31217 (NT_PPC_TM_CVSX): Likewise.
31218 (NT_PPC_TM_SPR): Likewise.
31219 (NT_PPC_TM_CTAR): Likewise.
31220 (NT_PPC_TM_CPPR): Likewise.
31221 (NT_PPC_TM_CDSCR): Likewise.
31223 2017-08-15 Florian Weimer <fweimer@redhat.com>
31225 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31226 regparm (2) instead of internal_function.
31227 (_MCOUNT_DECL): Adjust.
31229 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31231 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31232 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31234 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31236 * conform/data/sys/wait.h-data (si_value): Do not expect for
31239 2017-08-14 Florian Weimer <fweimer@redhat.com>
31242 NSS: Create stubs for accidentally exported lookup functions.
31243 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31244 Remove declaration.
31245 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31246 (ether_hostton): Call __nss_ethers_lookup2 instead.
31247 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31248 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31249 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31250 (setup): Call __nss_netgroup_lookup2 instead.
31251 * nss/Makefile (routines): Add compat-lookup.
31252 * nss/Versions (GLIBC_2.27): Add symbol version.
31253 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31254 (DB_COMPAT_FCT): Remove.
31255 * nss/compat-lookup.c: New file.
31256 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31257 from databases.def.
31258 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31259 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31260 (netname2user): Call __nss_publickey_lookup2 instead.
31261 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31262 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31265 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31266 Sergei Trofimovich <slyfox@inbox.ru>
31269 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31270 Rename to MMAP2_PAGE_UNIT.
31271 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31272 __OFF_T_MATCHES_OFF64_T is not defined.
31273 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31275 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31276 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31278 2017-08-14 Florian Weimer <fweimer@redhat.com>
31280 i386: Do not set internal_function.
31281 * config.h.in (USE_REGPARMS, internal_function): Remove.
31282 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31283 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31285 2017-08-14 Florian Weimer <fweimer@redhat.com>
31287 * elf/dl-init.c (_dl_init): Remove internal_function.
31288 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31289 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31291 2017-08-14 Florian Weimer <fweimer@redhat.com>
31293 * elf/rtld.c (_dl_start): Remove internal_function.
31294 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31297 2017-08-14 Florian Weimer <fweimer@redhat.com>
31299 * elf/dl-fini.c (_dl_fini): Remove internal_function
31300 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31302 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31304 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31305 (bit_cpu_SHSTK): Likewise.
31306 (index_cpu_IBT): Likewise.
31307 (index_cpu_SHSTK): Likewise.
31308 (reg_IBT): Likewise.
31309 (reg_SHSTK): Likewise.
31310 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31311 Handle index_cpu_IBT and index_cpu_SHSTK.
31313 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31316 * po/fr.po: Fix spelling mistake.
31318 2017-08-13 Florian Weimer <fweimer@redhat.com>
31320 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31321 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31322 (_dl_catch_error, _dl_receive_error): Likewise.
31323 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31324 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31325 (_dl_deallocate_tls): Likewise.
31326 * include/dlfcn.h (_dl_addr): Likewise.
31327 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31328 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31329 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31332 2017-08-13 Florian Weimer <fweimer@redhat.com>
31334 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31335 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31337 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31339 2017-08-13 Florian Weimer <fweimer@redhat.com>
31341 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31343 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31344 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31345 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31346 internal_function from _dl_make_stack_executable_hook member.
31347 (_dl_make_stack_executable): Remove internal_function.
31348 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31350 * sysdeps/unix/sysv/linux/dl-execstack.c
31351 (_dl_make_stack_executable): Likewise.
31353 2017-08-13 Florian Weimer <fweimer@redhat.com>
31355 * sysdeps/unix/sysv/linux/netlinkaccess.h
31356 (__netlink_assert_response): Remove internal_function.
31357 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31358 (__netlink_assert_response): Likewise.
31360 2017-08-13 Florian Weimer <fweimer@redhat.com>
31362 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31364 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31366 2017-08-13 Florian Weimer <fweimer@redhat.com>
31368 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31370 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31371 * inet/netgroup.h (__internal_setnetgrent)
31372 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31373 * inet/getnetgrent_r.c (__internal_setnetgrent)
31374 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31375 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31376 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31377 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31378 * nss/nsswitch.h (db_lookup_function): Likewise.
31380 2017-08-13 Florian Weimer <fweimer@redhat.com>
31382 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31383 Remove internal_function.
31384 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31385 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31386 message argument on the stack.
31387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31390 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31392 Adapt test case data to the changes in the thousands
31396 * localedata/tst-langinfo.sh: Adapt test case data.
31397 * stdlib/tst-strfmon_l.c: Likewise.
31398 * stdlib/tst-strtod4.c: Likewise.
31399 * stdlib/tst-strtod5i.c: Likewise.
31401 2017-08-11 Florian Weimer <fweimer@redhat.com>
31404 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31405 Suppress pedantic warning resulting from statement expression.
31406 (__ASSERT_FUNCTION): Add missing __extension__.
31408 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31410 * benchtests/bench-memmove-large.c: Print output in JSON
31412 * benchtests/bench-memmove.c: Likewise.
31414 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31415 * benchtests/bench-memchr.c (do_one_test): Likewise.
31416 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31417 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31418 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31419 * benchtests/bench-memmove.c (do_one_test): Likewise.
31420 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31421 * benchtests/bench-memset.c (do_one_test): Likewise.
31422 * benchtests/bench-string.h (test_init): Remove memsets.
31424 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31427 (Computing the Width of an Integer Data Type): Rename section to
31428 "Width of an Integer Type". Remove inaccurate statement regarding
31429 lack of C language facilities for determining width of integer
31430 types, and reorder content to improve flow and context of
31433 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31435 * lang.texi (va_copy): Change standard from ISO to C99.
31436 (__va_copy): Add standard and header annotation.
31437 Update description for clarity of origins and current use.
31439 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31442 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31443 xssqrtqp requires operands to be in Vector Registers
31444 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31445 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31446 (__ieee754_sqrtf128): Likewise.
31448 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31450 * sysdeps/aarch64/memcmp.S (memcmp):
31451 Rewrite of optimized memcmp.
31453 2017-08-10 Florian Weimer <fweimer@redhat.com>
31455 Introduce ld.so exceptions.
31456 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31457 (_dl_exception_create, _dl_exception_create_format)
31458 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31459 (_dl_catch_exception): Declare.
31460 (_dl_catch_error): Update comment.
31461 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31462 errstring, malloced members with exception member.
31463 (_dl_out_of_memory): Remove.
31464 (fatal_error): New function, extracted from _dl_signal_error.
31465 (_dl_signal_exception, _dl_signal_cexception): New functions.
31466 (_dl_signal_error): Call _dl_exception_create to allocate an
31468 (_dl_catch_exception): New function, based on _dl_catch_error.
31469 (_dl_catch_error): Implement using _dl_catch_exception.
31470 * elf/dl-exception.c: New file.
31471 * elf/Makefile (dl-routines): Add dl-exception.
31472 (elide-routines.os): Likewise.
31473 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31474 _dl_exception_create_format, _dl_exception_free.
31475 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31476 _dl_signal_exception.
31477 * elf/dl-lookup.c (make_string): Remove.
31478 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31479 _dl_signal_cexception, _dl_exception_free.
31480 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31481 _dl_signal_exception.
31482 * elf/dl-sym.c (do_sym): Likewise.
31483 * elf/dl-version.c (make_string): Remove.
31484 (match_symbol): Use _dl_exception_create_format,
31485 _dl_signal_cexception, _dl_exception_free.
31486 (_dl_check_map_versions): Likewise.
31487 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31488 _dl_catch_exception.
31489 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31490 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31491 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31492 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31493 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31494 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31495 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31496 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31498 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31505 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31506 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31507 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31509 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31511 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31513 2017-08-10 Florian Weimer <fweimer@redhat.com>
31515 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31516 attribute_hidden, internal_function.
31517 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31520 2017-08-10 Florian Weimer <fweimer@redhat.com>
31522 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31523 function which calls __builtin_unreachable.
31525 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31527 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31528 Indian monetary formatting
31529 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31532 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31534 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31535 Fix typo in comment.
31538 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31539 PTRACE_SEIZE_DEVEL): Remove.
31540 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31541 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31544 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31546 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31548 * posix/bits/types.h (__qaddr_t): Remove.
31551 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31552 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31554 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31555 (ucontext_t): Use __ctx with uc_flags.
31556 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31557 (__ctxt): Likewise.
31558 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31560 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31561 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31563 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31564 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31566 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31568 (ucontext_t): Use __ctx with uc_flags.
31569 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31570 (ucontext_t): Use __ctx with uc_flags.
31571 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31572 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31573 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31574 (ucontext_t): Use __ctx with uc_flags.
31575 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31576 undefine further down.
31577 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31579 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31580 undefine further down.
31581 (ucontext_t): Use __ctx with uc_flags.
31582 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31583 undefine further down.
31584 (ucontext_t): Use __ctx with uc_flags.
31585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31586 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31587 Rename uc_pad to __glibc_reserved1.
31588 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31589 undefine further down.
31590 (ucontext_t): Use __ctx with uc_flags.
31591 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31593 (ucontext_t): Use __ctx with uc_flags.
31594 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31595 __ctx with uc_flags.
31596 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31597 (ucontext_t): Use __ctx with uc_flags.
31598 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31599 __ctx with uc_flags.
31601 2017-08-09 Florian Weimer <fweimer@redhat.com>
31604 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31605 before early return.
31607 2017-08-09 Andreas Schwab <schwab@suse.de>
31610 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31614 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31615 tst-compat-forwarder.
31616 (modules-names): Add tst-compat-forwarder-mod.
31617 ($(objpfx)tst-compat-forwarder): Depend on
31618 $(objpfx)tst-compat-forwarder-mod.so.
31619 * nptl/tst-compat-forwarder.c: New file.
31620 * nptl/tst-compat-forwarder-mod.c: New file.
31622 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31624 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31627 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31628 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31630 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31632 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31633 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31634 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31635 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31640 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31643 * manual/setjmp.texi (getcontex): Document uc_stack value
31644 compatibility differences.
31646 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31648 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31649 (old_malloc_hook): Likewise.
31650 (old_memalign_hook): Likewise.
31651 (old_realloc_hook): Likewise.
31652 (struct hdr): Likewise.
31654 (freehook): Likewise.
31655 (mallochook): Likewise.
31656 (memalignhook): Likewise.
31657 (reallochook): Likewise.
31658 (mprobe): Likewise.
31659 * malloc/mtrace.c (mallwatch): Likewise.
31660 (tr_old_free_hook): Likewise.
31661 (tr_old_malloc_hook): Likewise.
31662 (tr_old_realloc_hook): Likewise.
31663 (tr_old_memalign_hook): Likewise.
31664 (tr_where): Likewise.
31665 (lock_and_info): Likewise.
31666 (tr_freehook): Likewise.
31667 (tr_mallochook): Likewise.
31668 (tr_reallochook): Likewise.
31669 (tr_memalignhook): Likewise.
31670 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31671 * misc/mmap.c (__mmap): Likewise.
31672 * misc/mmap64.c (__mmap64): Likewise.
31673 * misc/mprotect.c (__mprotect): Likewise.
31674 * misc/msync.c (msync): Likewise.
31675 * misc/munmap.c (__munmap): Likewise.
31676 * posix/posix_madvise.c (posix_madvise): Likewise.
31677 * socket/send.c (__send): Likewise.
31678 * socket/sendto.c (__sendto): Likewise.
31679 * socket/setsockopt.c (__setsockopt): Likewise.
31680 * string/memcmp.c (__ptr_t): Remove macro.
31681 (MEMCMP): Use void * instead of ptr_t.
31682 * string/memrchr.c (__ptr_t): Remove macro.
31683 (__memrchr): Use void * instead of ptr_t.
31684 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31685 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31686 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31687 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31688 * sysdeps/mach/msync.c (msync): Likewise.
31689 * sysdeps/mach/munmap.c (__munmap): Likewise.
31690 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31692 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31693 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31694 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31695 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31696 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31697 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31698 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31699 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31701 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31702 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31703 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31704 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31705 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31706 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31707 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31708 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31711 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31712 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31713 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31714 (MEMCMP): Use void * instead of ptr_t.
31715 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31716 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31718 2017-08-08 Florian Weimer <fweimer@redhat.com>
31720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31723 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31726 * csu/libc-tls.c: Include <startup.h> first.
31727 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31728 * elf/dl-tunables.c: Include <startup.h> first.
31729 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31730 * sysdeps/generic/startup.h: New file.
31731 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31732 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31733 (I386_USE_SYSENTER): New. Defined to 0.
31735 2017-08-08 Andreas Schwab <schwab@suse.de>
31738 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31739 * nptl/pt-system.c (system): Likewise.
31741 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31744 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31746 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31747 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31748 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31749 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31750 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31751 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31752 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31754 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31757 * bits/sigaction.h (struct sigaction): Define sa_handler and
31758 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31759 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31760 [__USE_XOPEN_EXTENDED].
31761 (SA_RESTART): Likewise.
31762 (SA_NODEFER): Likewise.
31763 (SA_RESETHAND): Likewise.
31764 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31765 (struct sigaction): Define sa_handler and sa_sigaction using union
31766 also for [__USE_XOPEN_EXTENDED].
31767 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31768 [__USE_XOPEN_EXTENDED].
31769 (SA_RESTART): Likewise.
31770 (SA_NODEFER): Likewise.
31771 (SA_RESETHAND): Likewise.
31772 * sysdeps/unix/sysv/linux/bits/sigaction.h
31773 (struct sigaction): Define sa_handler and sa_sigaction using union
31774 also for [__USE_XOPEN_EXTENDED].
31775 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31776 [__USE_XOPEN_EXTENDED].
31777 (SA_RESTART): Likewise.
31778 (SA_NODEFER): Likewise.
31779 (SA_RESETHAND): Likewise.
31780 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31781 (struct sigaction): Define sa_handler and sa_sigaction using union
31782 also for [__USE_XOPEN_EXTENDED].
31783 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31784 [__USE_XOPEN_EXTENDED].
31785 (SA_RESTART): Likewise.
31786 (SA_NODEFER): Likewise.
31787 (SA_RESETHAND): Likewise.
31788 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31789 (struct sigaction): Define sa_handler and sa_sigaction using union
31790 also for [__USE_XOPEN_EXTENDED].
31791 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31792 [__USE_XOPEN_EXTENDED].
31793 (SA_RESTART): Likewise.
31794 (SA_NODEFER): Likewise.
31795 (SA_RESETHAND): Likewise.
31796 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31797 (struct sigaction): Define sa_handler and sa_sigaction using union
31798 also for [__USE_XOPEN_EXTENDED].
31799 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31800 [__USE_XOPEN_EXTENDED].
31801 (SA_RESTART): Likewise.
31802 (SA_NODEFER): Likewise.
31803 (SA_RESETHAND): Likewise.
31804 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31805 (struct sigaction): Define sa_handler and sa_sigaction using union
31806 also for [__USE_XOPEN_EXTENDED].
31807 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31808 [__USE_XOPEN_EXTENDED].
31809 (SA_RESTART): Likewise.
31810 (SA_NODEFER): Likewise.
31811 (SA_RESETHAND): Likewise.
31812 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31813 (struct sigaction): Define sa_handler and sa_sigaction using union
31814 also for [__USE_XOPEN_EXTENDED].
31815 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31816 [__USE_XOPEN_EXTENDED].
31817 (SA_RESTART): Likewise.
31818 (SA_NODEFER): Likewise. Define directly rather than as alias.
31819 (SA_RESETHAND): Likewise.
31820 (SA_INTERRUPT): Define only for [__USE_MISC].
31821 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31822 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31824 (SA_STACK): Define only for [__USE_MISC].
31825 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31826 (struct sigaction): Define sa_handler and sa_sigaction using union
31827 also for [__USE_XOPEN_EXTENDED].
31828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31829 [__USE_XOPEN_EXTENDED].
31830 (SA_RESTART): Likewise.
31831 (SA_NODEFER): Likewise.
31832 (SA_RESETHAND): Likewise.
31833 (SA_NOPTRACE): Define only for [__USE_MISC].
31835 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31836 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31837 (struct catalog_info): Likewise.
31838 * inet/htontest.c (lo): Likewise.
31840 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31841 * inet/inet_net.c (inet_network): Likewise.
31842 * inet/inet_netof.c (inet_netof): Likewise.
31843 * inet/rcmd.c (__ivaliduser): Likewise.
31844 (iruserok): Likewise.
31845 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31846 * locale/programs/locale-spec.c (locale_special): Likewise.
31847 * nis/nis_findserv.c (struct findserv_req): Likewise.
31848 (__nis_findfastest_with_timeout): Likewise.
31849 * nss/test-netdb.c (test_network): Likewise.
31850 * resolv/inet_neta.c (inet_neta): Likewise.
31851 * resolv/ns_date.c (ns_datetosecs): Likewise.
31852 (SECS_PER_DAY): Likewise.
31853 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31855 * resolv/res_comp.c (__putlong): Likewise.
31856 (__putshort): Likewise.
31857 (_getlong): Likewise.
31858 (_getshort): Likewise.
31859 * resolv/res_debug.c (p_time): Likewise.
31860 (precsize_ntoa): Likewise.
31861 (precsize_aton): Likewise.
31862 (latlon2ul): Likewise.
31863 (loc_aton): Likewise.
31864 (loc_ntoa): Likewise.
31865 * resolv/res_hconf.c (struct netaddr): Likewise.
31866 (_res_hconf_reorder_addrs): Likewise.
31867 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31868 (clnttcp_control): Likewise.
31869 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31870 (clntudp_control): Likewise.
31871 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31872 (clntunix_control): Likewise.
31873 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31874 * sunrpc/rpc/auth.h (union des_block): Likewise.
31875 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31876 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31877 (xdrrec_create): Likewise.
31878 (xdrrec_endofrecord): Likewise.
31879 (flush_out): Likewise.
31880 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31881 (xdrstdio_putlong): Likewise.
31882 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31885 * misc/sys/cdefs.h (__long_double_t): Remove.
31886 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31887 instead of __long_double_t,
31888 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31890 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31892 * benchtests/scripts/compare_strings.py: Avoid display error when
31893 running on a text terminal.
31895 * benchtests/scripts/compare_strings.py (main): Add an
31896 optional -base option.
31897 (process_results): New argument base_func.
31899 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31901 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31902 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31904 2017-08-07 Andreas Schwab <schwab@suse.de>
31906 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31907 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31908 * intl/Makefile ($(objpfx)tst-gettext.out)
31909 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31910 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31911 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31912 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31913 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31914 * posix/Makefile ($(objpfx)globtest.out)
31915 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31916 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31917 ($(objpfx)tst-printf.out): Likewise.
31918 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31919 ($(objpfx)tst-setcontext3.out): Likewise.
31921 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31924 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31925 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31926 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31927 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31929 (CFLAGS-doasin-fma.c): New.
31930 (CFLAGS-dosincos-fma.c): Likewise.
31931 (CFLAGS-e_asin-fma.c): Likewise.
31932 (CFLAGS-e_atan2-fma.c): Likewise.
31933 (CFLAGS-e_exp-fma.c): Likewise.
31934 (CFLAGS-e_log-fma.c): Likewise.
31935 (CFLAGS-e_pow-fma.c): Likewise.
31936 (CFLAGS-halfulp-fma.c): Likewise.
31937 (CFLAGS-mpa-fma.c): Likewise.
31938 (CFLAGS-mpatan-fma.c): Likewise.
31939 (CFLAGS-mpatan2-fma.c): Likewise.
31940 (CFLAGS-mpexp-fma.c): Likewise.
31941 (CFLAGS-mplog-fma.c): Likewise.
31942 (CFLAGS-mpsqrt-fma.c): Likewise.
31943 (CFLAGS-mptan-fma.c): Likewise.
31944 (CFLAGS-s_atan-fma.c): Likewise.
31945 (CFLAGS-sincos32-fma.c): Likewise.
31946 (CFLAGS-slowexp-fma.c): Likewise.
31947 (CFLAGS-slowpow-fma.c): Likewise.
31948 (CFLAGS-s_sin-fma.c): Likewise.
31949 (CFLAGS-s_tan-fma.c): Likewise.
31950 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31955 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31956 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31958 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31959 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31960 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31964 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31966 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31974 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31977 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31978 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31979 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31980 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31982 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31984 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31985 (min_of_type_f): New macro.
31986 (min_of_type_): Likewise.
31987 (min_of_type_l): Likewise.
31988 (min_of_type_f128): Likewise.
31989 (min_of_type): Define using __MATH_TG and taking an expression
31991 (math_check_force_underflow): Pass expression instead of type to
31993 (math_check_force_underflow_nonneg): Likewise.
31995 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31997 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31998 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31999 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32001 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32004 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32005 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32006 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32007 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32008 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32009 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32010 memmove_chk-nonshared and memset_chk-nonshared
32011 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32012 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32013 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32014 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32015 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32016 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32017 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32018 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32019 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32020 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32021 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32022 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32023 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32024 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32025 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32026 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32027 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32028 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32029 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32030 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32031 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32032 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32033 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32034 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32035 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32036 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32037 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32038 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32039 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32041 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32042 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32043 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32044 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32045 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32047 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32049 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32050 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32051 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32053 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32055 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32057 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32058 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32059 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32061 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32063 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32064 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32065 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32066 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32067 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32068 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32069 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32071 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32073 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32075 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32076 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32077 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32078 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32079 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32080 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32081 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32095 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32105 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32106 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32114 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32116 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32120 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32122 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32123 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32124 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32125 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32126 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32127 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32128 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32129 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32130 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32131 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32132 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32133 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32134 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32135 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32136 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32137 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32138 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32139 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32140 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32141 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32142 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32143 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32144 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32148 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32149 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32150 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32151 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32152 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32153 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32154 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32155 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32156 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32157 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32158 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32163 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32164 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32165 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32166 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32168 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32169 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32171 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32172 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32173 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32177 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32178 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32180 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32182 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32183 Don't include <sysdep.h> nor <init-arch.h>.
32184 (_ZGVbN2v_cos): Removed.
32185 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32187 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32188 Don't include <sysdep.h> nor <init-arch.h>.
32189 (_ZGVdN4v_cos): Removed.
32190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32192 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32193 Don't include <sysdep.h> nor <init-arch.h>.
32194 (_ZGVeN8v_cos): Removed.
32195 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32197 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32198 Don't include <sysdep.h> nor <init-arch.h>.
32199 (_ZGVbN2v_exp): Removed.
32200 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32202 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32203 Don't include <sysdep.h> nor <init-arch.h>.
32204 (_ZGVdN4v_exp): Removed.
32205 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32207 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32208 Don't include <sysdep.h> nor <init-arch.h>.
32209 (_ZGVeN8v_exp): Removed.
32210 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32212 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32213 Don't include <sysdep.h> nor <init-arch.h>.
32214 (_ZGVbN2v_log): Removed.
32215 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32217 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32218 Don't include <sysdep.h> nor <init-arch.h>.
32219 (_ZGVdN4v_log): Removed.
32220 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32222 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32223 Don't include <sysdep.h> nor <init-arch.h>.
32224 (_ZGVeN8v_log): Removed.
32225 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32227 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32228 Don't include <sysdep.h> nor <init-arch.h>.
32229 (_ZGVbN2vv_pow): Removed.
32230 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32232 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32233 Don't include <sysdep.h> nor <init-arch.h>.
32234 (_ZGVdN4vv_pow): Removed.
32235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32238 Don't include <sysdep.h> nor <init-arch.h>.
32239 (_ZGVeN8vv_pow): Removed.
32240 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32242 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32243 Don't include <sysdep.h> nor <init-arch.h>.
32244 (_ZGVbN2v_sin): Removed.
32245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32248 Don't include <sysdep.h> nor <init-arch.h>.
32249 (_ZGVbN4v_sin): Removed.
32250 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32252 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32253 Don't include <sysdep.h> nor <init-arch.h>.
32254 (_ZGVbN8v_sin): Removed.
32255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32258 Don't include <sysdep.h> nor <init-arch.h>.
32259 (_ZGVbN2vvv_sincos): Removed.
32260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32263 Don't include <sysdep.h> nor <init-arch.h>.
32264 (_ZGVdN4vvv_sincos): Removed.
32265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32268 Don't include <sysdep.h> nor <init-arch.h>.
32269 (_ZGVeN8vvv_sincos): Removed.
32270 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32272 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32273 Don't include <sysdep.h> nor <init-arch.h>.
32274 (_ZGVeN16v_cosf): Removed.
32275 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32277 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32278 Don't include <sysdep.h> nor <init-arch.h>.
32279 (_ZGVbN4v_cosf): Removed.
32280 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32282 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32283 Don't include <sysdep.h> nor <init-arch.h>.
32284 (_ZGVdN8v_cosf): Removed.
32285 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32287 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32288 Don't include <sysdep.h> nor <init-arch.h>.
32289 (_ZGVeN16v_expf): Removed.
32290 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32292 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32293 Don't include <sysdep.h> nor <init-arch.h>.
32294 (_ZGVbN4v_expf): Removed.
32295 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32297 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32298 Don't include <sysdep.h> nor <init-arch.h>.
32299 (_ZGVdN8v_expf): Removed.
32300 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32302 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32303 Don't include <sysdep.h> nor <init-arch.h>.
32304 (_ZGVeN16v_logf): Removed.
32305 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32307 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32308 Don't include <sysdep.h> nor <init-arch.h>.
32309 (_ZGVbN4v_logf): Removed.
32310 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32312 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32313 Don't include <sysdep.h> nor <init-arch.h>.
32314 (_ZGVdN8v_logf): Removed.
32315 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32317 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32318 Don't include <sysdep.h> nor <init-arch.h>.
32319 (_ZGVeN16vv_powf): Removed.
32320 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32322 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32323 Don't include <sysdep.h> nor <init-arch.h>.
32324 (_ZGVbN4vv_powf): Removed.
32325 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32327 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32328 Don't include <sysdep.h> nor <init-arch.h>.
32329 (_ZGVdN8vv_powf): Removed.
32330 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32333 Don't include <sysdep.h> nor <init-arch.h>.
32334 (_ZGVeN16vvv_sincosf): Removed.
32335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32338 Don't include <sysdep.h> nor <init-arch.h>.
32339 (_ZGVbN4vvv_sincosf): Removed.
32340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32342 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32343 Don't include <sysdep.h> nor <init-arch.h>.
32344 (_ZGVdN8vvv_sincosf): Removed.
32345 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32347 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32348 Don't include <sysdep.h> nor <init-arch.h>.
32349 (_ZGVeN16v_sinf): Removed.
32350 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32352 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32353 Don't include <sysdep.h> nor <init-arch.h>.
32354 (_ZGVbN4v_sinf): Removed.
32355 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32357 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32358 Don't include <sysdep.h> nor <init-arch.h>.
32359 (_ZGVdN8v_sinf): Removed.
32361 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32363 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32364 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32365 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32366 s_rint-sse4_1 and s_rintf-sse4_1.
32367 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32368 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32370 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32371 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32374 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32375 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32377 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32378 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32380 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32381 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32382 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32383 (__ceilf): Removed.
32384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32385 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32386 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32387 (__floor): Removed.
32388 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32389 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32390 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32391 (__floorf): Removed.
32392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32394 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32395 (__nearbyint): Removed.
32396 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32398 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32399 (__nearbyintf): Removed.
32400 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32401 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32402 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32404 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32405 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32406 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32407 (__rintf): Removed.
32409 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32411 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32412 SHARED. Avoid dynamic relocation against main in static PIE.
32414 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32417 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32418 (LDFLAGS-tst-prelink): Likewise.
32420 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32422 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32423 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32424 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32425 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32426 (INTERNAL_SYSCALL_NCS): Likewise.
32427 (LOADARGS_1): Likewise.
32428 (LOADARGS_5): Likewise.
32429 (RESTOREARGS_1): Likewise.
32430 (RESTOREARGS_5): Likewise.
32432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32434 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32435 (MEMPCPY_SYMBOL): Likewise.
32436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32437 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32441 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32443 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32444 (__hidden_ver1): Don't use in libc.a.
32445 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32446 (__mempcpy): Don't create a weak alias in libc.a.
32447 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32449 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32450 (__hidden_ver1): Don't use in libc.a.
32452 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32454 * config.make.in (have-insert): New.
32455 * configure.ac (libc_cv_insert): New. Set to yes if linker
32456 supports INSERT in linker script.
32457 (AC_SUBST(libc_cv_insert): New.
32458 * configure: Regenerated.
32459 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32460 if $(have-insert) == yes.
32462 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32464 * elf/Makefile (tests): Add vismain only if
32465 $(have-protected-data) == yes.
32466 (tests-pie): Likewise.
32468 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32471 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32472 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/i386/i586/memset.S
32478 (__memset_zero_constant_len_parameter): Removed.
32479 * sysdeps/i386/i686/memset.S
32480 (__memset_zero_constant_len_parameter): Likewise.
32481 * sysdeps/i386/i686/multiarch/memset_chk.S
32482 (__memset_zero_constant_len_parameter): Likewise.
32483 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32486 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32488 * stdlib/getentropy.c (getentropy): Change return type to int.
32490 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32492 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32494 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32496 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32498 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32499 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32501 (ieee_float_shape_type): Likewise.
32502 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32503 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32504 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32505 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32506 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32507 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32508 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32509 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32510 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32512 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32514 (__ieee754_yn): Likewise.
32515 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32516 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32517 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32519 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32520 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32521 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32522 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32523 (__erfc): Likewise.
32524 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32525 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32526 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32527 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32528 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32529 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32531 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32532 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32533 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32535 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32536 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32537 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32538 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32539 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32540 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32541 (__issignaling): Likewise.
32542 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32543 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32544 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32546 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32547 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32548 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32551 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32553 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32554 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32555 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32556 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32557 (__erfcf): Likewise.
32558 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32559 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32560 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32563 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32564 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32566 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32567 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32568 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32569 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32570 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32571 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32572 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32573 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32575 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32577 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32579 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32580 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32582 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32584 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32585 (__ieee754_ynl): Likewise.
32586 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32589 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32591 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32592 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32593 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32595 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32596 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32597 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32598 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32599 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32600 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32601 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32602 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32604 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32605 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32606 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32608 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32609 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32610 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32611 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32612 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32621 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32622 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32624 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32625 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32626 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32629 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32635 (__ieee754_remainderl): Likewise.
32636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32638 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32639 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32644 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32645 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32646 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32647 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32648 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32652 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32653 (__ieee754_y0l): Likewise.
32656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32657 (__ieee754_y1l): Likewise.
32660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32661 (__ieee754_ynl): Likewise.
32662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32663 (__ieee754_lgammal_r): Likewise.
32664 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32666 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32667 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32668 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32669 (__erfcl): Likewise.
32670 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32671 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32673 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32674 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32675 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32676 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32677 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32681 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32682 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32683 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32684 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32685 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32687 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32688 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32690 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32691 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32692 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32693 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32694 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32696 2017-08-03 Florian Weimer <fweimer@redhat.com>
32699 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32700 on memory allocation failure.
32702 2017-08-03 Alan Modra <amodra@gmail.com>
32704 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32705 tst-tlsopt-powerpc.c with function name change and no test harness.
32706 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32707 Call tls_get_addr_opt_test.
32708 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32709 (modules-names): Add mod-tlsopt-powerpc.
32710 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32711 (tst-tlsopt-powerpc): Depend on .so.
32712 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32713 define. Expand use in TLS_GD and TLS_LD.
32715 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32717 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32719 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32721 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32724 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32725 comparing size with that of double.
32726 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32727 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32728 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32729 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32730 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32731 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32732 unsigned __int128 types.
32734 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32736 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32737 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32738 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32739 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32740 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32742 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32744 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32746 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32748 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32750 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32753 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32754 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32756 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32758 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32761 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32762 bit-field expressions passed to sizeof or typeof.
32763 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32764 (__TGMATH_F128): Likewise.
32765 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32766 (__TGMATH_CF128): Likewise.
32767 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32768 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32769 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32770 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32771 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32772 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32773 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32774 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32775 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32776 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32777 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32778 (__TGMATH_UNARY_IMAG): Likewise.
32779 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32780 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32781 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32783 (define_vars_for_type): Handle bit_field type specially.
32784 (Tests.__init__): Declare structure with bit-field element.
32786 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32789 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32790 (MEMCPY_CHK): Define only if SHARED is defined.
32791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32796 See ChangeLog.18 for earlier changes.