1 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4 * include/string.h (__strsep): Add libc_hidden_proto.
5 * string/strsep.c (__strsep): Add libc_hidden_def.
7 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
14 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
18 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
21 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
33 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
35 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
36 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
38 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
41 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
42 (__dcigettext): Likewise.
44 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
47 * include/sys/sysinfo.h (__get_nprocs_conf): Add
49 (__get_nprocs): Likewise.
50 (__get_phys_pages): Likewise.
51 (__get_avphys_pages): Likewise.
52 (__get_child_max): Add attribute_hidden.
53 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
54 (__get_nprocs): Likewise.
55 (__get_phys_pages): Likewise.
56 (__get_avphys_pages): Likewise.
57 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
59 (__get_nprocs): Likewise.
60 (__get_phys_pages): Likewise.
61 (__get_avphys_pages): Likewise.
62 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
64 (__get_nprocs_conf): Likewise.
65 (__get_phys_pages): Likewise.
66 (__get_avphys_pages): Likewise.
68 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
71 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
73 (__netlink_close): Likewise.
74 (__netlink_free_handle): Likewise.
75 (__netlink_request): Likewise.
77 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
80 * include/rpc/rpc.h (__rpc_thread_variables): Add
82 (__rpc_thread_svc_cleanup): Likewise.
83 (__rpc_thread_clnt_cleanup): Likewise.
84 (__rpc_thread_key_cleanup): Likewise.
86 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
89 * include/sys/uio.h (__readv): Add libc_hidden_proto.
91 * misc/readv.c (__readv): Add libc_hidden_def.
92 * misc/writev.c (__writev): Likewise.
93 * sysdeps/posix/readv.c (__readv): Likewise.
94 * sysdeps/posix/writev.c (__writev): Likewise.
95 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
97 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
103 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
104 (__regcomp): Add libc_hidden_proto.
105 (__regexec): Likewise.
106 (__regfree): Likewise.
107 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
108 (__regfree): Likewise.
109 * posix/regexec.c (__regexec): Likewise.
111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
114 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
115 (__getutent): Likewise.
116 (__getutid): Likewise.
117 (__getutline): Likewise.
118 (__pututline): Likewise.
119 (__getutent_r): Likewise.
120 (__getutid_r): Likewise.
121 (__getutline_r): Likewise.
122 (__utmpname): Add attribute_hidden.
123 (__setutent): Likewise.
124 (__endutent): Likewise.
125 * login/getutent.c (__getutent): Add libc_hidden_def.
126 * login/getutent_r.c (__getutent_r): Likewise.
127 (__pututline): Likewise.
128 * login/getutid.c (__getutid): Likewise.
129 * login/getutid_r.c (__getutid_r): Likewise.
130 * login/getutline.c (__getutline): Likewise.
131 * login/getutline_r.c (__getutline_r): Likewise.
132 * login/updwtmp.c (__updwtmp): Likewise.
134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
137 * include/dirent.h (__opendir): Always add attribute_hidden.
138 (__fdopendir): Likewise.
139 (__closedir): Likewise.
140 (__readdir): Likewise.
141 (__readdir64): Add libc_hidden_proto.
142 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
143 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
144 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
145 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
151 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
152 * include/netdb.h (__gethostbyaddr_r): Likewise.
153 (__gethostbyname_r): Likewise.
154 (__gethostbyname2_r): Likewise.
155 (__getnetbyaddr_r): Likewise.
156 (__getnetbyname_r): Likewise.
157 (__getservbyname_r): Likewise.
158 (__getservbyport_r): Likewise.
159 (__getprotobyname_r): Likewise.
160 (__getprotobynumber_r): Likewise.
161 (__getnetgrent_r): Likewise.
162 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
163 (__getrpcbynumber_r): Likewise.
164 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
169 * include/stdio.h (__fcloseall): Add attribute_hidden.
170 (__getline): Likewise.
171 (__path_search): Likewise.
172 (__gen_tempname): Likewise.
173 (__libc_message): Likewise.
174 (__flockfile): Likewise.
175 (__funlockfile): Likewise.
176 (__fxprintf): Likewise.
177 (__fxprintf_nocancel): Likewise.
179 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
182 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
183 (__sgetsgent_r): Likewise.
185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
188 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
189 (__statfs64): Likewise.
190 (__fstatfs64): Likewise.
191 * include/sys/statvfs.h (__statvfs64): Likewise.
192 (__fstatvfs64): Likewise.
193 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
194 (__statfs_filesize_max): Likewise.
195 (__statfs_symlinks): Likewise.
196 (__statfs_chown_restricted): Likewise.
198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
201 * include/time.h (__tzstring): Add attribute_hidden.
202 (__tzfile_read): Likewise.
203 (__tzfile_compute): Likewise.
204 (__tzfile_default): Likewise.
205 (__tzset_parse_tz): Likewise.
206 (__offtime): Likewise.
207 (__asctime_r): Likewise.
209 (__tz_convert): Likewise.
210 (__getdate_r): Likewise.
211 (__getclktck): Likewise.
213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
216 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
217 (__nscd_unmap): Likewise.
218 (__nscd_cache_search): Likewise.
219 (__nscd_get_nl_timestamp): Likewise.
220 (__nscd_getpwnam_r): Likewise.
221 (__nscd_getpwuid_r): Likewise.
222 (__nscd_getgrnam_r): Likewise.
223 (__nscd_getgrgid_r): Likewise.
224 (__nscd_gethostbyname_r): Likewise.
225 (__nscd_gethostbyname2_r): Likewise.
226 (__nscd_gethostbyaddr_r): Likewise.
227 (__nscd_getai): Likewise.
228 (__nscd_getgrouplist): Likewise.
229 (__nscd_getservbyname_r): Likewise.
230 (__nscd_getservbyport_r): Likewise.
231 (__nscd_innetgr): Likewise.
232 (__nscd_setnetgrent): Likewise.
234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
237 * include/gmp.h: Declare internal functions only if _ISOMAC is
239 (__mpn_extract_double): Add attribute_hidden.
240 (__mpn_extract_long_double): Likewise.
241 (__mpn_extract_float128): Likewise.
242 (__mpn_construct_float): Likewise.
243 (__mpn_construct_double): Likewise.
244 (__mpn_construct_long_double): Likewise.
245 (__mpn_construct_float128): Likewise.
246 (mpn_add_1): Likewise.
247 (mpn_addmul_1): Likewise.
248 (mpn_add_n): Likewise.
250 (mpn_divrem): Likewise.
251 (mpn_lshift): Likewise.
253 (mpn_mul_1): Likewise.
254 (mpn_rshift): Likewise.
255 (mpn_sub_1): Likewise.
256 (mpn_submul_1): Likewise.
257 (mpn_sub_n): Likewise.
259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
262 * include/wchar.h (__wcsnlen): Add attribute_hidden.
263 (__wcscat): Likewise.
265 (__wcrtomb): Likewise.
266 (__mbsrtowcs): Likewise.
267 (__wcsrtombs): Likewise.
268 (__mbsnrtowcs): Likewise.
269 (__wcsnrtombs): Likewise.
270 (__wcsncpy): Likewise.
271 (__wcpncpy): Likewise.
272 (__wmemcpy): Likewise.
273 (__wmempcpy): Likewise.
274 (__wmemmove): Likewise.
275 (__wcschrnul): Likewise.
276 (__vfwscanf): Likewise.
277 (__vswprintf): Likewise.
278 (__fwprintf): Likewise.
279 (__vfwprintf): Likewise.
281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
284 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
285 (__getgrgid_r): Likewise.
286 (__getgrnam_r): Likewise.
287 * include/pwd.h (__getpwuid_r): Likewise.
288 (__getpwnam_r): Likewise.
289 (__fgetpwent_r): Likewise.
290 * include/shadow.h (__getspnam_r): Likewise.
291 (__sgetspent_r): Likewise.
292 (__fgetspent_r): Likewise.
294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
297 * include/unistd.h (__access): Add attribute_hidden.
298 (__lseek64): Likewise.
299 (__libc_pread64): Likewise.
303 (__fchdir): Likewise.
304 (__getcwd): Likewise.
306 (__execvpe): Likewise.
307 (__execve): Likewise.
308 (__setsid): Likewise.
309 (__getuid): Likewise.
310 (__geteuid): Likewise.
311 (__getgid): Likewise.
312 (__getegid): Likewise.
313 (__getgroups): Likewise.
314 (__group_member): Likewise.
315 (__ttyname_r): Likewise.
316 (__isatty): Likewise.
317 (__readlink): Likewise.
318 (__unlink): Likewise.
319 (__gethostname): Likewise.
320 (__profil): Likewise.
321 (__getdtablesize): Likewise.
323 (__ftruncate): Likewise.
324 (__ftruncate64): Likewise.
326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
329 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
330 * argp/argp-fs-xinl.c: Likewise.
331 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
332 * argp/argp-parse.c: Include <argp.h>.
333 * argp/argp-xinl.c: Likewise.
334 * include/argp-fmtstream.h: New file.
335 * include/argp.h (__argp_error): Add attribute_hidden.
336 (__argp_failure): Likewise.
337 (__argp_input): Likewise.
338 (__argp_state_help): Likewise.
340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
343 * include/wchar.h (____wcstof_l_internal): New prototype.
344 (____wcstod_l_internal): Likewise.
345 (____wcstold_l_internal): Likewise.
346 (____wcstol_l_internal): Likewise.
347 (____wcstoul_l_internal): Likewise.
348 (____wcstoll_l_internal): Likewise.
349 (____wcstoull_l_internal): Likewise.
350 (____wcstof128_l_internal): Likewise.
351 * sysdeps/ieee754/float128/wcstof128.c
352 (____wcstof128_l_internal): Removed.
353 * sysdeps/ieee754/float128/wcstof128_l.c
354 (____wcstof128_l_internal): Likewise.
355 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
356 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
357 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
358 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
359 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
360 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
361 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
362 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
363 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
364 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
369 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
370 instead of <sys/statvfs.h>.
371 (__internal_statvfs): Removed.
372 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
373 instead of <sys/statvfs.h>.
374 (__internal_statvfs64): Removed.
375 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
376 "internal_statvfs.h" instead of <sys/statvfs.h>.
377 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
378 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
379 instead of <sys/statvfs.h>.
380 (__internal_statvfs): Removed.
381 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
382 instead of <sys/statvfs.h>.
383 (__internal_statvfs64): Removed.
385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
388 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
389 (__gconv_close): Likewise.
391 (__gconv_find_transform): Likewise.
392 (__gconv_lookup_cache): Likewise.
393 (__gconv_compare_alias_cache): Likewise.
394 (__gconv_load_cache): Likewise.
395 (__gconv_get_path): Likewise.
396 (__gconv_close_transform): Likewise.
397 (__gconv_release_cache): Likewise.
398 (__gconv_find_shlib): Likewise.
399 (__gconv_release_shlib): Likewise.
400 (__gconv_get_builtin_trans): Likewise.
401 (__gconv_compare_alias): Likewise.
402 * include/dlfcn.h (_dlerror_run): Likewise.
403 * include/stdio.h (__fortify_fail_abort): Likewise.
404 * include/time.h (__tz_compute): Likewise.
405 (__strptime_internal): Likewise.
406 * intl/gettextP.h (_nl_find_domain): Likewise.
407 (_nl_load_domain): Likewise.
408 (_nl_find_msg): Likewise.
409 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
410 (EXTRACT_PLURAL_EXPRESSION): Likewise.
411 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
412 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
413 (__gai_find_request): Likewise.
414 (__gai_remove_request): Likewise.
415 (__gai_notify): Likewise.
416 (__gai_notify_only): Likewise.
417 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
418 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
419 (_dl_non_dynamic_init): Likewise.
420 (_dl_aux_init): Likewise.
421 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
422 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
424 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
425 (__wcsmbs_clone_conv): Likewise.
426 (__wcsmbs_named_conv): Likewise.
428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
431 * include/stdlib.h (__random): Add attribute_hidden.
432 (__random_r): Likewise.
433 (__srandom_r): Likewise.
434 (__initstate_r): Likewise.
435 (__setstate_r): Likewise.
436 (__erand48_r): Likewise.
437 (__nrand48_r): Likewise.
438 (__jrand48_r): Likewise.
439 (__srand48_r): Likewise.
440 (__seed48_r): Likewise.
441 (__lcong48_r): Likewise.
442 (__drand48_iterate): Likewise.
443 (__setenv): Likewise.
444 (__unsetenv): Likewise.
445 (__clearenv): Likewise.
446 (__ptsname_r): Likewise.
447 (__posix_openpt): Likewise.
448 (__add_to_environ): Likewise.
449 (__realpath): Add libc_hidden_proto.
450 (__ecvt_r): Likewise.
451 (__fcvt_r): Likewise.
452 (__qecvt_r): Likewise.
453 (__qfcvt_r): Likewise.
454 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
455 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
457 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
460 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
461 * include/time.h (__mktime_internal): Likewise.
462 * libio/iolibio.h (__fopen_internal): Likewise.
464 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
466 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
468 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
469 Correct offset used to restore PIC register.
471 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
474 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
475 code to load address of __getcontext_ret when generating PIC code.
477 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
479 * elf/Makefile (tests-static-internal): Add
480 tst-tls1-static-non-pie.
481 (LDFLAGS-tst-tls1-static-non-pie): New.
482 * elf/tst-tls1-static-non-pie.c: New file.
484 2017-09-29 Joseph Myers <joseph@codesourcery.com>
486 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
487 (asinh): Define using libm_alias_double.
488 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
489 (cbrt): Define using libm_alias_double.
490 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
491 <libm-alias-double.h>.
492 (copysign): Define using libm_alias_double.
493 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
494 (erf): Define using libm_alias_double.
496 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
497 (expm1): Define using libm_alias_double.
498 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
499 (fabs): Define using libm_alias_double.
500 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
502 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
503 <libm-alias-double.h>.
504 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
506 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
507 <libm-alias-double.h>.
508 (getpayload): Define using libm_alias_double.
509 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
510 <libm-alias-double.h>.
511 (llrint): Define using libm_alias_double.
512 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
513 (lrint): Define using libm_alias_double.
514 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
515 <libm-alias-double.h>.
516 (nextup): Define using libm_alias_double.
517 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
518 <libm-alias-double.h>.
519 (roundeven): Define using libm_alias_double.
520 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
522 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
523 <libm-alias-double.h>.
524 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
525 using libm_alias_double.
526 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
527 (cos): Define using libm_alias_double.
529 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
530 <libm-alias-double.h>.
531 (sincos): Define using libm_alias_double.
532 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
533 (tanh): Define using libm_alias_double.
534 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
535 <libm-alias-double.h>.
536 (totalorder): Define using libm_alias_double.
537 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
538 <libm-alias-double.h>.
539 (totalordermag): Define using libm_alias_double.
540 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
542 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
544 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
545 <libm-alias-double.h>.
546 (getpayload): Define using libm_alias_double.
547 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
548 <libm-alias-double.h>.
549 (roundeven): Define using libm_alias_double.
550 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
551 <libm-alias-double.h>.
552 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
553 <libm-alias-double.h>.
554 (totalorder): Define using libm_alias_double.
555 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
556 <libm-alias-double.h>.
557 (totalordermag): Define using libm_alias_double.
558 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
559 libc compat symbol here.
560 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
561 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
562 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
563 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
564 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
565 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
566 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
567 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
568 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
569 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
571 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
573 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
574 _dl_relocate_static_pie instead of _dl_start to compute load
575 address in static PIE. Return 0 if _DYNAMIC is undefined for
578 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
580 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
581 _DYNAMIC is undefined for static executable.
583 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
585 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
587 2017-09-29 Joseph Myers <joseph@codesourcery.com>
589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
591 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
593 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
594 (__ieee754_lgamma_r): Use fabs rather than __fabs.
595 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
596 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
597 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
598 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
599 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
600 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
601 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
602 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
603 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
604 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
606 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
609 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
611 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
613 * math/bits/cmathcalls.h (cimag): Remove inline.
614 (creal): Remove inline.
615 (conj): Remove inline.
617 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
619 * math/Makefile (type-float-routines): Add e_powf_log2_data.
620 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
621 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
622 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
623 (issignalingf_inline): Likewise.
624 (POWF_LOG2_TABLE_BITS): Likewise.
625 (POWF_LOG2_POLY_ORDER): Likewise.
626 (POWF_SCALE_BITS): Likewise.
627 (POWF_SCALE): Likewise.
628 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
629 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
630 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
632 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
634 * math/Makefile (type-float-routines): Add e_log2f_data.
635 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
636 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
637 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
638 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
639 * sysdeps/i386/fpu/e_log2f_data.c: New file.
640 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
641 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
643 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
645 * math/Makefile (type-float-routines): Add e_logf_data.
646 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
647 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
648 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
649 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
650 * sysdeps/i386/fpu/e_logf_data.c: New file.
651 * sysdeps/ia64/fpu/e_logf_data.c: New file.
652 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
654 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
656 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
657 undefined _DYNAMIC in PIE libc.a.
658 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
661 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
663 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
664 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
665 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
666 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
668 (__signbitl): Remove.
669 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
671 (__signbitl): Remove.
672 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
674 (__signbitl): Remove.
675 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
677 (__signbitl): Remove.
678 * sysdeps/tile/bits/mathinline.h: Delete file.
679 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
681 (__signbitl): Remove.
683 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
685 * math/math.h: Improve handling of C99 isgreater macros.
686 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
687 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
688 * sysdeps/powerpc/bits/mathinline.h: Likewise.
689 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
690 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
692 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
694 * sysdeps/aarch64/libm-test-ulps: Update.
696 2017-09-28 Joseph Myers <joseph@codesourcery.com>
699 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
700 math_opt_barrier on argument when doing arithmetic on it.
701 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
702 Likewise. Use math_force_eval not math_opt_barrier after
704 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
705 math_opt_barrier on argument when doing arithmetic on it.
706 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
709 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
711 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
713 (__freeifaddrs): Likewise.
715 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
717 * include/dirent.h (__dirfd): New declaration.
718 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
720 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
721 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
722 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
723 * include/unistd.h (__revoke): New declaration.
724 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
726 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
727 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
729 * include/dirent.h (__seekdir): New declaration.
730 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
731 redefine as weak alias.
732 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
734 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
735 and use libc_hidden_def on them.
736 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
738 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
739 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
740 instead of getifaddrs and freeifaddrs.
742 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
745 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
746 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
747 (__dso_handle): Remove declaration.
748 * dlfcn/tstatexit.c (__dso_handle): Removed.
749 (main): Don't check __dso_handle.
750 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
751 (main): Don't check __dso_handle.
752 * include/dso_handle.h: New file.
753 * malloc/mtrace.c: Include <dso_handle.h>.
754 (mtrace): Pass __dso_handle directly.
755 * nptl/pthread_atfork.c: Include <dso_handle.h>.
756 (__dso_handle): Remove declaration.
757 (__pthread_atfork): Pass __dso_handle directly.
758 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
759 (__dso_handle): Removed.
760 * posix/wordexp-test.c: Include <dso_handle.h>.
761 (__dso_handle): Remove declaration.
762 (__app_register_atfork): Pass __dso_handle directly.
763 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
764 (__dso_handle): Remove declaration.
765 (at_quick_exit): Pass __dso_handle directly.
766 * stdlib/atexit.c: Include <dso_handle.h>.
767 (__dso_handle): Remove declaration.
768 (atexit): Pass __dso_handle directly.
769 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
770 (__dso_handle): Removed.
772 2017-09-26 Joseph Myers <joseph@codesourcery.com>
774 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
777 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
779 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
780 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
781 values to correct default value for given type.
783 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
786 * elf/Makefile (tests): Add tst-debug1.
787 ($(objpfx)tst-debug1): New.
788 ($(objpfx)tst-debug1.out): Likewise.
789 ($(objpfx)tst-debug1mod1.so): Likewise.
790 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
792 * elf/tst-debug1.c: New file.
794 2017-09-26 Joseph Myers <joseph@codesourcery.com>
796 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
797 Define using __ifunc.
799 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
801 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
804 2017-09-26 Joseph Myers <joseph@codesourcery.com>
807 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
809 2017-09-26 Florian Weimer <fweimer@redhat.com>
811 * resolv/Makefile (tests-internal): Fix typo in comment.
813 2017-09-26 Florian Weimer <fweimer@redhat.com>
815 * resolv/nss_dns/dns-host.c: Fix typo in comment.
817 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
819 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
820 Use an union instead of a max_align_t array for __space,
821 so that __space is the same size on all platforms.
822 * malloc/scratch_buffer_grow_preserve.c
823 (__libc_scratch_buffer_grow_preserve): Likewise.
826 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
828 * posix/Makefile (routines): Add glob-lstat-compat and
830 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
831 * posix/glob-lstat-compat.c: New file.
832 * posix/glob64-lstat-compat.c: Likewise.
833 * posix/tst-glob_lstat_compat.c: Likewise.
834 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
835 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
836 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
837 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
839 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
840 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
841 * posix/glob.c (glob_lstat): New function.
842 (glob): Rename to __glob and add versioned symbol to 2.27.
843 (glob_in_dir): Use glob_lstat.
844 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
845 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
846 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
848 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
849 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
850 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
851 gl_lstat on glob call.
852 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
854 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
855 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
856 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
857 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
859 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
860 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
861 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
862 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
864 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
865 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
868 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
870 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
871 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
872 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
873 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
877 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
878 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
879 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
881 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
883 * configure.ac (AS): Require binutils 2.25 or later.
884 * configure: Regenerated.
886 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
889 * stdlib/test-atexit-race-common.c (do_test): Minimize required
892 2017-09-25 DJ Delorie <dj@redhat.com>
895 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
898 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
900 * sysdeps/ieee754/dbl-64/sincos32.h
901 [SINCCOS32_H]: Remove define.
902 [SINCOS32_H]: Define.
904 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
906 * math/Versions (expf): New libm symbol at GLIBC_2.27.
908 * math/w_exp2f.c: New file.
909 * math/w_expf.c: New file.
910 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
911 * math/w_expf_compat.c (__expf_compat): Likewise.
912 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
913 * sysdeps/ia64/fpu/e_expf.S: Likewise.
914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
915 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
916 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
917 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
918 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
919 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
920 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
921 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
922 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
923 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
924 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
925 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
934 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
935 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
936 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
943 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
945 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
947 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
949 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
950 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
951 (roundtoint, converttoint): Likewise.
952 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
953 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
954 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
955 * sysdeps/ieee754/flt-32/math_config.h: New file.
956 * sysdeps/ieee754/flt-32/math_errf.c: New file.
957 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
958 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
959 * sysdeps/i386/fpu/math_errf.c: New file.
960 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
961 * sysdeps/ia64/fpu/math_errf.c: New file.
962 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
963 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
965 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
967 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
968 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
969 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
970 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
971 to make sure that these symbols are defined.
972 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
974 (__need_NULL): Do not define.
975 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
977 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
978 CMGROUP_MAX, cmsgcred): Do not define.
979 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
981 * bits/socket.h: Likewise.
982 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
983 __gettimeofday instead of gettimeofday.
984 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
985 instead of settimeofday.
987 2017-09-22 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
990 (asinhf): Define using libm_alias_float.
991 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
992 (atanf): Define using libm_alias_float.
993 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
994 (cbrtf): Define using libm_alias_float.
995 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
996 (ceilf): Define using libm_alias_float.
997 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
998 <libm-alias-float.h>.
999 (copysignf): Define using libm_alias_float.
1000 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
1001 (cosf): Define using libm_alias_float.
1002 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
1003 (erff): Define using libm_alias_float.
1005 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
1006 (expm1f): Define using libm_alias_float.
1007 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
1008 (fabsf): Define using libm_alias_float.
1009 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
1010 (floorf): Define using libm_alias_float.
1011 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
1012 (frexpf): Define using libm_alias_float.
1013 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
1015 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
1016 <libm-alias-float.h>.
1017 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
1019 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
1020 <libm-alias-float.h>.
1021 (getpayloadf): Define using libm_alias_float.
1022 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
1023 <libm-alias-float.h>.
1024 (llrintf): Define using libm_alias_float.
1025 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
1026 <libm-alias-float.h>.
1027 (llroundf): Define using libm_alias_float.
1028 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
1029 (logbf): Define using libm_alias_float.
1030 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
1031 (lrintf): Define using libm_alias_float.
1032 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
1033 (lroundf): Define using libm_alias_float.
1034 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
1035 (modff): Define using libm_alias_float.
1036 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
1037 <libm-alias-float.h>.
1038 (nearbyintf): Define using libm_alias_float.
1039 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
1040 <libm-alias-float.h>.
1041 (nextafterf): Define using libm_alias_float.
1042 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
1043 <libm-alias-float.h>.
1044 (nextupf): Define using libm_alias_float.
1045 * sysdeps/ieee754/flt-32/s_remquof.c: Include
1046 <libm-alias-float.h>.
1047 (remquof): Define using libm_alias_float.
1048 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
1049 (rintf): Define using libm_alias_float.
1050 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
1051 <libm-alias-float.h>.
1052 (roundevenf): Define using libm_alias_float.
1053 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
1054 (roundf): Define using libm_alias_float.
1055 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
1056 using libm_alias_float.
1057 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
1058 <libm-alias-float.h>.
1059 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
1060 Define using libm_alias_float.
1061 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
1062 <libm-alias-float.h>.
1063 (sincosf): Define using libm_alias_float.
1064 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
1065 (sinf): Define using libm_alias_float.
1066 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
1067 (tanf): Define using libm_alias_float.
1068 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
1069 (tanhf): Define using libm_alias_float.
1070 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1071 <libm-alias-float.h>.
1072 (totalorderf): Define using libm_alias_float.
1073 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1074 <libm-alias-float.h>.
1075 (totalordermagf): Define using libm_alias_float.
1076 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
1077 (truncf): Define using libm_alias_float.
1078 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
1080 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
1083 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1086 math/math.h: Let fpclassify use the builtin in C++ mode, even
1087 when optimazing for size.
1089 2017-09-22 Joseph Myers <joseph@codesourcery.com>
1091 * csu/Makefile (generated): Do not add version-info.h.
1092 (before-compile): Likewise.
1093 (all-Banner-files): Remove variable.
1094 ($(objpfx)version-info.h): Remove rule.
1095 * csu/version.c (banner): Do not include "version-info.h".
1096 * libidn/Banner: Remove.
1097 * manual/contrib.texi (Simon Josefsson): New entry.
1099 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1102 Remove conditionals on LDBL_MANT_DIG.
1103 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
1104 (__ieee754_lgammal_r): Likewise.
1106 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
1110 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
1111 _Float128 and L(). Replace _Float128 with long double and L(x)
1112 with xL, throughout the file.
1113 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1114 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1115 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1116 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
1118 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1120 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
1121 sysdeps/ieee754/ldbl-128ibm.
1122 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
1123 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
1124 of including it. Keep _Float128 and L() intact. These will be
1125 reviewed by a separate patch.
1126 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1127 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1128 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
1131 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
1134 (__finitef128): Define to __redirect___finitef128.
1135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
1136 (__isinff128): Define to __redirect___isinff128.
1137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
1138 (__isnanf128): Define to __redirect___isnanf128.
1140 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1142 * sysdeps/powerpc/powerpc64le/Makefile
1143 (CFLAGS-tst-strtod-nan-locale.c): New variable.
1144 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
1146 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
1147 Carlos O'Donell <carlos@redhat.com>
1150 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
1151 * stdlib/test-dlclose-exit-race.c: New file.
1152 * stdlib/test-dlclose-exit-race-helper.c: New file.
1153 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
1155 2017-09-21 Joseph Myers <joseph@codesourcery.com>
1157 * crypt/Banner: Remove file.
1158 * nptl/Banner: Likewise.
1159 * resolv/Banner: Likewise.
1160 * soft-fp/Banner: Likewise.
1161 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
1162 ($(objpfx)version.d): Remove dependency on banner.h.
1163 ($(objpfx)version.os): Likewise.
1164 * nptl/version.c (banner): Do not include banner.h.
1165 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
1166 Jelinek and BIND code.
1168 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
1169 Carlos O'Donell <carlos@redhat.com>
1171 * support/xdlfcn.h: New file.
1172 * support/xdlfcn.c: New file.
1173 * support/Makefile (libsupport-routines): Add xdlfcn.
1174 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
1176 2017-09-20 Joseph Myers <joseph@codesourcery.com>
1179 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1180 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
1181 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
1182 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
1183 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
1184 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
1185 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
1186 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
1188 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
1189 Ricky Zhou <rickyz@google.com>
1190 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
1193 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
1195 (__new_exitfn): Fail registration when we finished at_exit processing.
1196 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1197 * stdlib/on_exit.c (__on_exit): Likewise.
1198 * stdlib/exit.c (__exit_funcs_done): New variable.
1199 (__run_exit_handlers): Use __exit_funcs_lock.
1200 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
1202 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
1203 (test-cxa_atexit-race, test-on_exit-race): New tests.
1204 * stdlib/test-atexit-race-common.c: New file.
1205 * stdlib/test-atexit-race.c: New file.
1206 * stdlib/test-at_quick_exit-race.c: New file.
1207 * stdlib/test-cxa_atexit-race.c: New file.
1208 * stdlib/test-on_exit-race.c: New file.
1210 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
1212 * benchtests/Makefile: Add exp2f and log2f benchmarks.
1213 * benchtests/exp2f-inputs: Copy of expf-inputs.
1214 * benchtests/log2f-inputs: Copy of logf-inputs.
1216 2017-09-19 Joseph Myers <joseph@codesourcery.com>
1218 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
1219 Explicitly take address of first element of array arguments in
1220 call to INLINE_SYSCALL.
1222 2017-09-19 Andreas Schwab <schwab@suse.de>
1225 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
1227 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
1229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
1230 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
1231 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1232 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
1233 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1234 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
1235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1236 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
1237 * posix/Makefile (tests): Add tst-fexecve.
1238 * posix/tst-fexecve.c: New file.
1240 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
1242 * benchtests/Makefile: Add logf benchmark.
1243 * benchtests/logf-inputs: Add reduced trace from wrf_r.
1245 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
1247 * benchtests/Makefile: Add expf benchmark.
1248 * benchtests/expf-inputs: Add reduced trace from wrf_r.
1250 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
1252 * csu/Makefile: Add -funwind-tables to libc-start.c.
1253 * debug/Makefile: Add -funwind-tables to backtrace.c.
1254 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
1255 * sysdeps/arm/Makefile: Likewise.
1256 * sysdeps/i386/Makefile: Likewise.
1257 * sysdeps/m68k/Makefile: Likewise.
1258 * sysdeps/mips/Makefile: Likewise.
1259 * sysdeps/nios2/Makefile: Likewise.
1260 * sysdeps/sh/Makefile: Likewise.
1261 * sysdeps/sparc/Makefile: Likewise.
1263 2017-09-19 Joseph Myers <joseph@codesourcery.com>
1265 * benchtests/Makefile (bench-math): Add trunc and truncf.
1266 (CFLAGS-bench-trunc.c): New variable.
1267 (CFLAGS-bench-truncf.c): Likewise.
1268 * benchtests/trunc-inputs: New file.
1269 * benchtests/truncf-inputs: Likewise.
1271 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1273 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
1275 2017-09-18 Joseph Myers <joseph@codesourcery.com>
1277 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
1278 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
1280 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
1281 (exp10l): Define as weak alias.
1282 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
1283 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
1285 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
1286 (remainderl): Define as weak alias.
1288 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
1289 (fmal): Define using libm_alias_ldouble.
1290 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
1291 (acoshl): Define using libm_alias_ldouble.
1292 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
1293 (acosl): Define using libm_alias_ldouble.
1294 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
1295 (asinl): Define using libm_alias_ldouble.
1296 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
1297 (atan2l): Define using libm_alias_ldouble.
1298 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
1299 (atanhl): Define using libm_alias_ldouble.
1300 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
1301 (coshl): Define using libm_alias_ldouble.
1302 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
1303 (exp10l): Define using libm_alias_ldouble.
1304 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
1305 (exp2l): Define using libm_alias_ldouble.
1306 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
1307 (expl): Define using libm_alias_ldouble.
1308 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
1309 (fmodl): Define using libm_alias_ldouble.
1310 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
1311 (hypotl): Define using libm_alias_ldouble.
1312 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
1313 (j0l): Define using libm_alias_ldouble.
1315 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
1316 (j1l): Define using libm_alias_ldouble.
1318 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
1319 (jnl): Define using libm_alias_ldouble.
1321 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
1322 (log10l): Define using libm_alias_ldouble.
1323 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
1324 (log2l): Define using libm_alias_ldouble.
1325 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
1326 (logl): Define using libm_alias_ldouble.
1327 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
1328 (powl): Define using libm_alias_ldouble.
1329 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
1330 (remainderl): Define using libm_alias_ldouble.
1331 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
1332 (sinhl): Define using libm_alias_ldouble.
1333 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
1334 (sqrtl): Define using libm_alias_ldouble.
1335 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
1336 (tgammal): Define using libm_alias_ldouble.
1337 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
1338 (exp10l): Do not use long_double_symbol here.
1339 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
1340 [LIBM_SVID_COMPAT] (remainderl): Likewise.
1341 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
1342 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1343 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1344 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1345 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1346 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1347 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1348 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
1349 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1350 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1351 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1352 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1353 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1354 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1355 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1356 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1357 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1358 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1359 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1360 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1362 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
1364 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
1365 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
1367 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
1369 * io/read.c (read): Add libc_hidden_weak.
1370 * sysdeps/mach/hurd/read.c (read): Likewise.
1371 * io/write.c (write): Likewise.
1372 * sysdeps/mach/hurd/write.c (write): Likewise.
1373 * io/pread64.c (__pread64): Likewise.
1374 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
1375 * posix/pread64.c (__pread64): Add libc_hidden_def.
1377 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1379 * benchtests/scripts/compare_strings.py: New option -g.
1380 (draw_graph): Print a message that a graph is being generated.
1381 (process_results): Generate graph only if -g is passed.
1382 (main): Process option -g.
1384 * benchtests/scripts/compare_strings.py (process_results):
1385 Better spacing for output.
1387 * benchtests/scripts/compare_strings.py: Use argparse.
1388 * benchtests/README: Document existence of compare_strings.py.
1390 2017-09-15 Joseph Myers <joseph@codesourcery.com>
1392 * math/s_fma.c: Include <libm-alias-double.h>.
1393 (fma): Define using libm_alias_double.
1394 * math/s_nextafter.c: Include <libm-alias-double.h>.
1395 (nextafter): Define using libm_alias_double.
1396 * math/w_acos_compat.c: Include <libm-alias-double.h>.
1397 (acos): Define using libm_alias_double.
1398 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
1399 (aocsh): Define using libm_alias_double.
1400 * math/w_asin_compat.c: Include <libm-alias-double.h>.
1401 (asin): Define using libm_alias_double.
1402 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
1403 (atan2): Define using libm_alias_double.
1404 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
1405 (atanh): Define using libm_alias_double.
1406 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
1407 (cosh): Define using libm_alias_double.
1408 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
1409 (exp10): Define using libm_alias_double.
1410 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
1411 (exp2): Define using libm_alias_double.
1412 * math/w_exp_compat.c: Include <libm-alias-double.h>.
1413 (exp): Define using libm_alias_double.
1414 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
1415 (fmod): Define using libm_alias_double.
1416 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
1417 (hypot): Define using libm_alias_double.
1418 * math/w_j0_compat.c: Include <libm-alias-double.h>.
1419 (j0): Define using libm_alias_double.
1421 * math/w_j1_compat.c: Include <libm-alias-double.h>.
1422 (j1): Define using libm_alias_double.
1424 * math/w_jn_compat.c: Include <libm-alias-double.h>.
1425 (jn): Define using libm_alias_double.
1427 * math/w_log10_compat.c: Include <libm-alias-double.h>.
1428 (log10): Define using libm_alias_double.
1429 * math/w_log2_compat.c: Include <libm-alias-double.h>.
1430 (log2): Define using libm_alias_double.
1431 * math/w_log_compat.c: Include <libm-alias-double.h>.
1432 (log): Define using libm_alias_double.
1433 * math/w_pow_compat.c: Include <libm-alias-double.h>.
1434 (pow): Define using libm_alias_double.
1435 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
1436 (remainder): Define using libm_alias_double.
1437 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
1438 (sinh): Define using libm_alias_double.
1439 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
1440 (sqrt): Define using libm_alias_double.
1441 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
1442 (tgamma): Define using libm_alias_double.
1443 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
1444 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
1445 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
1446 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
1447 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
1448 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
1449 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
1450 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
1451 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
1452 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
1453 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
1454 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
1455 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1456 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
1457 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
1458 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
1459 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
1460 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
1461 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1462 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1463 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1464 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1465 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1466 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1467 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1469 * math/e_acoshl.c: Remove.
1470 * math/e_acosl.c: Likewise.
1471 * math/e_asinl.c: Likewise.
1472 * math/e_atan2l.c: Likewise.
1473 * math/e_atanhl.c: Likewise.
1474 * math/e_coshl.c: Likewise.
1475 * math/e_expl.c: Likewise.
1476 * math/e_fmodl.c: Likewise.
1477 * math/e_gammal_r.c: Likewise.
1478 * math/e_hypotl.c: Likewise.
1479 * math/e_j0l.c: Likewise.
1480 * math/e_j1l.c: Likewise.
1481 * math/e_jnl.c: Likewise.
1482 * math/e_lgammal_r.c: Likewise.
1483 * math/e_log10l.c: Likewise.
1484 * math/e_log2l.c: Likewise.
1485 * math/e_logl.c: Likewise.
1486 * math/e_powl.c: Likewise.
1487 * math/e_rem_pio2l.c: Likewise.
1488 * math/e_sinhl.c: Likewise.
1489 * math/e_sqrtf128.c: Likewise.
1490 * math/e_sqrtl.c: Likewise.
1491 * math/k_cosl.c: Likewise.
1492 * math/k_sinl.c: Likewise.
1493 * math/k_tanl.c: Likewise.
1494 * math/s_asinhl.c: Likewise.
1495 * math/s_atanl.c: Likewise.
1496 * math/s_cbrtl.c: Likewise.
1497 * math/s_erfl.c: Likewise.
1498 * math/s_expm1l.c: Likewise.
1499 * math/s_log1pl.c: Likewise.
1500 * math/s_tanhl.c: Likewise.
1502 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
1506 [$(subdir) = math] (sysdep_calls): New variable. Has the
1507 previous contents of sysdep_routines, but re-sorted..
1508 [$(subdir) = math] (sysdep_routines): Re-use the contents from
1510 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
1511 defined in sysdep_calls and replace by the respective m_* names.
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
1513 (compat_symbol): Undefine to avoid duplicated compat symbols in
1516 2017-09-15 Joseph Myers <joseph@codesourcery.com>
1518 * math/s_fmaf.c: Include <libm-alias-float.h>.
1519 (fmaf): Define using libm_alias_float.
1520 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
1521 (acosf): Define using libm_alias_float.
1522 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
1523 (acoshf): Define using libm_alias_float.
1524 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
1525 (asinf): Define using libm_alias_float.
1526 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
1527 (atan2f): Define using libm_alias_float.
1528 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
1529 (atanhf): Define using libm_alias_float.
1530 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
1531 (coshf): Define using libm_alias_float.
1532 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
1533 (exp10f): Define using libm_alias_float.
1534 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
1535 (fmodf): Define using libm_alias_float.
1536 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
1537 (hypotf): Define using libm_alias_float.
1538 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
1539 (j0f): Define using libm_alias_float.
1541 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
1542 (j1f): Define using libm_alias_float.
1544 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
1545 (jnf): Define using libm_alias_float.
1547 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
1548 (log10f): Define using libm_alias_float.
1549 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
1550 (log2f): Define using libm_alias_float.
1551 * math/w_logf_compat.c: Include <libm-alias-float.h>.
1552 (logf): Define using libm_alias_float.
1553 * math/w_powf_compat.c: Include <libm-alias-float.h>.
1554 (powf): Define using libm_alias_float.
1555 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
1556 (remainderf): Define using libm_alias_float.
1557 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
1558 (sinhf): Define using libm_alias_float.
1559 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
1560 (sqrtf): Define using libm_alias_float.
1561 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
1562 (tgammaf): Define using libm_alias_float.
1564 2017-09-14 Joseph Myers <joseph@codesourcery.com>
1566 * include/math.h (roundeven): Change hidden_proto call to
1568 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
1570 [NO_LONG_DOUBLE] (__j0l): New strong alias.
1571 (y0): Rename to __y0 and define as weak alias.
1572 [NO_LONG_DOUBLE] (__y0l): New strong alias.
1573 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
1575 (y0f): Rename to __y0f and define as weak alias.
1576 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
1578 [NO_LONG_DOUBLE] (__j1l): New strong alias.
1579 (y1): Rename to __y1 and define as weak alias.
1580 [NO_LONG_DOUBLE] (__y1l): New strong alias.
1581 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
1583 (y1f): Rename to __y1f and define as weak alias.
1584 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
1586 [NO_LONG_DOUBLE] (__jnl): New strong alias.
1587 (yn): Rename to __yn and define as weak alias.
1588 [NO_LONG_DOUBLE] (__ynl): New strong alias.
1589 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
1591 (ynf): Rename to __ynf and define as weak alias.
1592 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
1593 (fromfp): Define as weak alias.
1594 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
1595 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
1596 (fromfpx): Define as weak alias.
1597 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
1598 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
1599 __getpayload and define as weak alias.
1600 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
1601 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
1602 __roundeven and define as weak alias.
1603 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
1604 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
1606 (setpayload): Define as weak alias.
1607 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
1608 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
1610 (setpayloadsig): Define as weak alias.
1611 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
1612 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
1613 __totalorder and define as weak alias.
1614 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
1615 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
1616 to __totalordermag and define as weak alias.
1617 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
1618 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
1619 (ufromfp): Define as weak alias.
1620 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
1621 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
1623 (ufromfpx): Define as weak alias.
1624 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
1625 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
1626 Rename to __getpayload and define as weak alias.
1627 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
1628 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
1629 Rename to __roundeven and define as weak alias.
1630 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
1631 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
1632 Rename to __totalorder and define as weak alias.
1633 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
1634 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
1635 (totalordermag): Rename to __totalordermag and define as weak
1637 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
1638 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
1640 (__roundevenl): Likewise.
1641 (__totalorderl): Likewise.
1642 (__totalordermagl): Likewise
1643 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
1645 (fromfpf128): Define as weak alias.
1646 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
1648 (fromfpxf128): Define as weak alias.
1649 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
1651 (setpayloadf128): Define as weak alias.
1652 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
1653 __setpayloadsigf128.
1654 (setpayloadsigf128): Define as weak alias.
1655 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
1657 (ufromfpf128): Define as weak alias.
1658 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
1660 (ufromfpxf128): Define as weak alias.
1661 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
1662 (fromfpf): Define as weak alias.
1663 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
1665 (fromfpxf): Define as weak alias.
1666 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
1667 __getpayloadf and define as weak alias.
1668 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
1669 __roundevenf and define as weak alias.
1670 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
1672 (setpayloadf): Define as weak alias.
1673 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
1675 (setpayloadsigf): Define as weak alias.
1676 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
1677 __totalorderf and define as weak alias.
1678 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
1679 Rename to __totalordermagf and define as weak alias.
1680 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
1682 (ufromfpf): Define as weak alias.
1683 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
1685 (ufromfpxf): Define as weak alias.
1686 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
1688 (fromfpl): Define as weak alias.
1689 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
1691 (fromfpxl): Define as weak alias.
1692 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
1693 to __getpayloadl and define as weak alias.
1694 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
1695 __roundevenl and define as weak alias.
1696 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
1698 (setpayloadl): Define as weak alias.
1699 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
1701 (setpayloadsigl): Define as weak alias.
1702 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
1703 to __totalorderl and define as weak alias.
1704 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
1705 Rename to __totalordermagl and define as weak alias.
1706 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
1708 (ufromfpl): Define as weak alias.
1709 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
1711 (ufromfpxl): Define as weak alias.
1712 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
1714 (fromfpl): Define as weak alias.
1715 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
1717 (fromfpxl): Define as weak alias.
1718 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
1719 Rename to __getpayloadl and define as weak alias.
1720 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
1721 to __roundevenl and define as weak alias. Call __roundeven
1722 instead of roundeven.
1723 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
1725 (setpayloadl): Define as weak alias.
1726 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
1728 (setpayloadsigl): Define as weak alias.
1729 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
1730 Rename to __totalorderl and define as weak alias.
1731 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
1732 Rename to __totalordermagl and define as weak alias.
1733 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
1735 (ufromfpl): Define as weak alias.
1736 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
1738 (ufromfpxl): Define as weak alias.
1739 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
1741 (fromfpl): Define as weak alias.
1742 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
1744 (fromfpxl): Define as weak alias.
1745 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
1746 __getpayloadl and define as weak alias.
1747 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
1748 __roundevenl and define as weak alias.
1749 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
1751 (setpayloadl): Define as weak alias.
1752 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
1754 (setpayloadsigl): Define as weak alias.
1755 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
1756 __totalorderl and define as weak alias.
1757 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
1758 Rename to __totalordermagl and define as weak alias.
1759 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
1761 (ufromfpl): Define as weak alias.
1762 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
1764 (ufromfpxl): Define as weak alias.
1766 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1768 * benchtests/bench-string.h (realloc_bufs): New function.
1769 (test_init): Call it.
1770 * benchtests/bench-memset-large.c (do_test): Likewise.
1771 * benchtests/bench-memset.c (do_test): Likewise.
1773 * benchtests/bench-memset-large.c: Print output in JSON
1775 * benchtests/bench-memset.c: Likewise.
1777 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1780 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
1781 * iconvdata/Makefile: Add IBM858.
1782 * iconvdata/gconv-modules: Likewise.
1783 * iconvdata/tst-tables.sh: Likewise.
1784 * iconvdata/ibm858.c: New file.
1785 * localedata/charmaps/IBM858: Likewise.
1787 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
1790 * locales/niu_NZ (LC_TIME): copy "niu_NU".
1791 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
1793 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1796 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
1797 and add tel_int_fmt.
1799 2017-09-14 Joseph Myers <joseph@codesourcery.com>
1801 * sysdeps/generic/libm-alias-float128.h: New file.
1802 * sysdeps/generic/math-type-macros-float128.h: Include
1803 <libm-alias-float128.h>.
1804 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1806 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1808 * sysdeps/generic/libm-alias-ldouble.h: New file.
1809 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
1810 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
1811 * sysdeps/generic/math-type-macros-ldouble.h: Include
1812 <libm-alias-ldouble.h>.
1813 [!declare_mgen_alias] (declare_mgen_alias): Define to use
1816 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1818 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
1819 * math/w_exp_compat.c: ... here.
1820 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
1821 * math/w_expf_compat.c: ... here.
1822 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
1823 * math/w_expl_compat.c: ... here.
1824 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
1825 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
1826 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
1827 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
1829 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1831 * math/w_scalbln_template.c (strong_alias): Do not undefine and
1833 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
1835 (ldexpl): Only define as compat symbol for libc, not libm.
1836 (scalbnl): Define as compat symbol for libc here.
1837 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
1838 define for [IS_IN (libc)].
1839 (__ldexpl_2): Remove alias.
1840 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
1841 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
1842 name in long_double_symbol call.
1843 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
1844 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1845 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1846 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
1847 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
1849 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
1850 Define as compat symbol.
1852 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1854 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
1855 * sysdeps/unix/sysv/linux/alpha/Makefile
1856 [$(subdir) = csu] (sysdep_routines): Remove rule.
1858 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1860 * sysdeps/generic/libm-alias-double.h: New file.
1861 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
1862 * sysdeps/generic/math-type-macros-double.h: Include
1863 <libm-alias-double.h>.
1864 [declare_mgen_alias] (declare_mgen_alias): Define to use
1866 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
1867 (M_LIBM_NEED_COMPAT): Remove macro.
1868 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
1869 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
1870 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
1872 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1873 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1874 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1875 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1876 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1877 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1878 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1879 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1880 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1881 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1882 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1883 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1884 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1885 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1886 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1887 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1888 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1889 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1890 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1891 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1892 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1893 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1894 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1895 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1896 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1897 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1898 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1899 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
1900 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
1902 (declare_mgen_alias): New macro.
1903 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
1904 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
1906 (M_LIBM_NEED_COMPAT): Remove macro.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
1908 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
1910 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
1911 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
1913 2017-09-12 Joseph Myers <joseph@codesourcery.com>
1915 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
1916 (declare_mgen_alias_2): Remove.
1917 * sysdeps/generic/math-type-macros-double.h
1918 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
1920 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
1922 (ldexp): Define with declare_mgen_alias.
1925 2017-09-12 Steve Ellcey <sellcey@cavium.com>
1927 * grp/initgroups.c: Include config.h.
1928 (DEFAULT_CONFIG): New macro.
1929 (internal_getgrouplist): Use DEFAULT_CONFIG.
1930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1931 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
1932 (DEFAULT_DEFCONFIG): New macro.
1933 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
1934 * nss/grp-lookup.c: Include config.h
1935 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
1936 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
1937 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
1938 * manual/nss.texi: Update default values section.
1940 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
1945 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
1946 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1947 Handle MathVec_Prefer_No_AVX512.
1948 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
1949 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
1952 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
1954 * posix/sched_primax.c (__sched_get_priority_max): Add
1956 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
1957 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1958 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1959 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
1960 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
1961 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
1962 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
1963 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
1966 2017-09-11 Joseph Myers <joseph@codesourcery.com>
1968 * sysdeps/generic/libm-alias-float.h: New file.
1969 * sysdeps/generic/math-type-macros-float.h: Include
1970 <libm-alias-float.h>.
1971 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1973 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
1976 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
1977 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
1978 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
1979 (HWCAP_IMPORTANT): Likewise.
1980 (HWCAP_X86_64): New enum.
1981 (HWCAP_X86_AVX512_1): Updated.
1982 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
1983 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
1984 (modules-names): Add x86_64/tst-x86_64mod-1.
1985 (LDFLAGS-tst-x86_64mod-1.so): New.
1986 ($(objpfx)tst-x86_64-1): Likewise.
1987 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
1988 (tst-x86_64-1-clean): Likewise.
1989 * sysdeps/x86_64/tst-x86_64-1.c: New file.
1990 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
1992 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1994 * po/sv.po: Update translations.
1995 * po/fr.po: Likewise.
1997 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1999 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
2001 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
2003 * elf/rtld-Rules: Fix $(error) use.
2005 2017-09-09 Mike FABIAN <mfabian@redhat.com>
2008 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
2009 * locale/iso-639.def: Change “Bengali” to “Bangla”.
2010 * localedata/locales/bn_BD: “Bengali” was still used in some
2011 comments. Change it to “Bangla”.
2013 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
2015 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
2017 2017-09-08 Steve Ellcey <sellcey@cavium.com>
2019 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
2020 thunderx2t99p1 to list of cpu names.
2021 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2022 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
2024 2017-09-08 Steve Ellcey <sellcey@cavium.com>
2026 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
2027 Use strcmp instead of tunable_is_name.
2029 2017-09-08 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2032 (F_GET_RW_HINT): New macro.
2033 [__USE_GNU] (F_SET_RW_HINT): Likewise.
2034 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
2035 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
2036 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
2037 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
2038 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
2039 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
2040 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
2041 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
2043 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2044 (F_ADD_SEALS): New macro.
2045 [__USE_GNU] (F_GET_SEALS): Likewise.
2046 [__USE_GNU] (F_SEAL_SEAL): Likewise.
2047 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
2048 [__USE_GNU] (F_SEAL_GROW): Likewise.
2049 [__USE_GNU] (F_SEAL_WRITE): Likewise.
2051 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2053 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
2054 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
2055 * posix/glob_internal.h (__glob_pattern_type):
2056 * posix/glob.c (glob):
2057 * posix/glob_pattern_p.c (__glob_pattern_p):
2060 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
2061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
2063 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
2064 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
2067 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
2068 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
2071 * sysdeps/wordsize-64/glob.c: Likewise.
2072 * sysdeps/wordsize-64/glob64.c: Likewise.
2073 * sysdeps/wordsize-64/globfree.c: Likewise.
2074 * sysdeps/wordsize-64/globfree64.c: Likewise.
2075 * sysdeps/unix/sysv/linux/glob.c: New file.
2076 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
2077 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
2078 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
2079 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2080 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
2081 adds !GLOB_NO_OLD_VERSION as an extra condition.
2082 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
2083 using relative path instead of absolute one.
2084 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
2085 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2086 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2087 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
2088 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
2089 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
2092 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
2093 (glob): Use the same scratch buffer for both getlogin_r and
2094 getpwnam_r. Don’t require preallocation of the login name. This
2095 simplifies storage allocation, and corrects the handling of
2099 * posix/glob.c (glob): Port recent patches to platforms
2101 (glob): Fix longstanding misuse of errno after getpwnam_r, which
2102 returns an error number rather than setting errno.
2104 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
2105 instead of GCC extension.
2106 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
2107 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
2108 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
2112 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
2113 * posix/bug-glob1.c: Remove file.
2114 * posix/tst-glob_symlinks.c: New file.
2115 * posix/glob.c (__lstat64): New macro.
2116 (is_dir): New function.
2117 (glob, glob_in_dir): Match symlinks even if they are dangling.
2118 (link_stat, link_exists_p): Remove. All uses removed.
2122 * posix/glob.c (struct readdir_result): Remove skip_entry member.
2123 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
2127 * posix/Makefile (routines): Add globfree, globfree64, and
2129 * posix/flexmember.h: New file.
2130 * posix/glob_internal.h: Likewise.
2131 * posix/glob_pattern_p.c: Likewise.
2132 * posix/globfree.c: Likewise.
2133 * posix/globfree64.c: Likewise.
2134 * sysdeps/gnu/globfree64.c: Likewise.
2135 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
2136 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
2137 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
2138 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
2139 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
2140 * sysdeps/wordsize-64/globfree.c: Likewise.
2141 * sysdeps/wordsize-64/globfree64.c: Likewise.
2142 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
2143 [NDEBUG): Remove comments.
2144 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
2145 (dirent_type): New type. Use uint_fast8_t not
2146 uint8_t, as C99 does not require uint8_t.
2147 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
2148 (struct readdir_result): Use dirent_type. Do not define skip_entry
2149 unless it is needed; this saves a byte on platforms lacking d_ino.
2150 (readdir_result_type, readdir_result_skip_entry):
2151 New functions, replacing ...
2152 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
2153 these functions, which were removed. This makes the callers
2154 easier to read. All callers changed.
2155 (D_INO_TO_RESULT): Now empty if there is no d_ino.
2156 (size_add_wrapv, glob_use_alloca): New static functions.
2157 (glob, glob_in_dir): Check for size_t overflow in several places,
2158 and fix some size_t checks that were not quite right.
2159 Remove old code using SHELL since Bash no longer
2161 (glob, prefix_array): Separate MS code better.
2162 (glob_in_dir): Remove old Amiga and VMS code.
2163 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
2165 (glob_in_dir): Do not rely on undefined behavior in accessing
2166 struct members beyond their bounds. Use a flexible array member
2168 (link_stat): Rename from link_exists2_p and return -1/0 instead of
2169 0/1. Caller changed.
2170 (glob): Fix memory leaks.
2171 * posix/glob64 (globfree64): Move to separate file.
2172 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
2173 (globfree64): Remove hidden alias.
2174 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
2176 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
2178 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
2180 Move compat code to separate file.
2181 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
2184 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
2186 * resolv/tst-resolv-qtypes.c (domain): Changed to
2187 "const char domain[] =".
2189 2017-09-07 Joseph Myers <joseph@codesourcery.com>
2191 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2194 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
2195 (TCP_MD5SIG_EXT): Likewise.
2196 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
2197 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
2198 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
2200 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
2202 2017-09-07 Mike FABIAN <mfabian@redhat.com>
2204 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
2206 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
2209 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
2211 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2213 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
2214 before assuming that the file is empty. Avoid testing buffer content
2217 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2220 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
2222 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
2224 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
2226 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
2228 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
2230 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
2232 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
2235 2017-09-06 Florian Weimer <fweimer@redhat.com>
2237 * malloc/dynarray_emplace_enlarge.c
2238 (__libc_dynarray_emplace_enlarge): Add missing else.
2240 2017-09-06 Florian Weimer <fweimer@redhat.com>
2243 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
2244 case of failure to obtain the global conf object.
2246 2017-09-06 Florian Weimer <fweimer@redhat.com>
2249 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
2250 dynarray allocation failure.
2252 2017-09-06 Florian Weimer <fweimer@redhat.com>
2254 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
2255 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
2256 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
2258 (response): Call them. Add 'p', '6' flag processing.
2259 (test_reverse): New function.
2260 (test_get2_any): Call it.
2261 (test_no_inet6): Add 'p' test.
2262 (test_inet6): Likewise.
2264 2017-09-06 Florian Weimer <fweimer@redhat.com>
2266 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
2267 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
2269 (test_gai): Adjust query names. Add additional tests.
2270 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
2271 test_get2. Adjust query names. Add additional tests.
2272 (test_no_inet6): New function, extracted from threadfunc.
2273 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
2274 Add additional tests.
2276 2017-09-06 Mike FABIAN <mfabian@redhat.com>
2279 * localedata/unicode-gen/utf8_gen.py: Set the width for
2280 characters with Prepended_Concatenation_Mark property to 1
2281 * localedata/charmaps/UTF-8: Updated using the improved script.
2283 2017-09-06 Mike FABIAN <mfabian@redhat.com>
2286 * localedata/unicode-gen/utf8_gen.py: Improve the script to
2287 use the range notation for all ranges of neighbouring characters
2288 with the same width.
2290 2017-09-05 Joseph Myers <joseph@codesourcery.com>
2292 * sysdeps/generic/math-type-macros-double.h: Include
2293 <math-svid-compat.h>.
2294 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
2295 * sysdeps/generic/math-type-macros-float.h: Include
2296 <math-svid-compat.h>.
2297 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
2298 * sysdeps/generic/math-type-macros-ldouble.h: Include
2299 <math-svid-compat.h>.
2300 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
2301 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
2303 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
2304 * math/w_acosf_compat.c: Likewise.
2305 * math/w_acosh_compat.c: Likewise.
2306 * math/w_acoshf_compat.c: Likewise.
2307 * math/w_acoshl_compat.c: Likewise.
2308 * math/w_acosl_compat.c: Likewise.
2309 * math/w_asin_compat.c: Likewise.
2310 * math/w_asinf_compat.c: Likewise.
2311 * math/w_asinl_compat.c: Likewise.
2312 * math/w_atan2_compat.c: Likewise.
2313 * math/w_atan2f_compat.c: Likewise.
2314 * math/w_atan2l_compat.c: Likewise.
2315 * math/w_atanh_compat.c: Likewise.
2316 * math/w_atanhf_compat.c: Likewise.
2317 * math/w_atanhl_compat.c: Likewise.
2318 * math/w_cosh_compat.c: Likewise.
2319 * math/w_coshf_compat.c: Likewise.
2320 * math/w_coshl_compat.c: Likewise.
2321 * math/w_exp10_compat.c: Likewise.
2322 * math/w_exp10f_compat.c: Likewise.
2323 * math/w_exp10l_compat.c: Likewise.
2324 * math/w_exp2_compat.c: Likewise.
2325 * math/w_exp2f_compat.c: Likewise.
2326 * math/w_exp2l_compat.c: Likewise.
2327 * math/w_fmod_compat.c: Likewise.
2328 * math/w_fmodf_compat.c: Likewise.
2329 * math/w_fmodl_compat.c: Likewise.
2330 * math/w_hypot_compat.c: Likewise.
2331 * math/w_hypotf_compat.c: Likewise.
2332 * math/w_hypotl_compat.c: Likewise.
2333 * math/w_j0_compat.c: Likewise.
2334 * math/w_j0f_compat.c: Likewise.
2335 * math/w_j0l_compat.c: Likewise.
2336 * math/w_j1_compat.c: Likewise.
2337 * math/w_j1f_compat.c: Likewise.
2338 * math/w_j1l_compat.c: Likewise.
2339 * math/w_jn_compat.c: Likewise.
2340 * math/w_jnf_compat.c: Likewise.
2341 * math/w_jnl_compat.c: Likewise.
2342 * math/w_lgamma_r_compat.c: Likewise.
2343 * math/w_lgammaf_r_compat.c: Likewise.
2344 * math/w_lgammal_r_compat.c: Likewise.
2345 * math/w_log10_compat.c: Likewise.
2346 * math/w_log10f_compat.c: Likewise.
2347 * math/w_log10l_compat.c: Likewise.
2348 * math/w_log2_compat.c: Likewise.
2349 * math/w_log2f_compat.c: Likewise.
2350 * math/w_log2l_compat.c: Likewise.
2351 * math/w_log_compat.c: Likewise.
2352 * math/w_logf_compat.c: Likewise.
2353 * math/w_logl_compat.c: Likewise.
2354 * math/w_pow_compat.c: Likewise.
2355 * math/w_powf_compat.c: Likewise.
2356 * math/w_powl_compat.c: Likewise.
2357 * math/w_remainder_compat.c: Likewise.
2358 * math/w_remainderf_compat.c: Likewise.
2359 * math/w_remainderl_compat.c: Likewise.
2360 * math/w_sinh_compat.c: Likewise.
2361 * math/w_sinhf_compat.c: Likewise.
2362 * math/w_sinhl_compat.c: Likewise.
2363 * math/w_sqrt_compat.c: Likewise.
2364 * math/w_sqrtf_compat.c: Likewise.
2365 * math/w_sqrtl_compat.c: Likewise.
2366 * math/w_tgamma_compat.c: Likewise.
2367 * math/w_tgammaf_compat.c: Likewise.
2368 * math/w_tgammal_compat.c: Likewise.
2369 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
2371 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
2372 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
2374 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
2375 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
2377 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
2378 * sysdeps/i386/fpu/w_sqrt.c: New file.
2379 * sysdeps/ia64/fpu/w_acos.c: Likewise.
2380 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2381 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2382 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2383 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2384 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2385 * sysdeps/ia64/fpu/w_asin.c: Likewise.
2386 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2387 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2388 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2389 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2390 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2391 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2392 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2393 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2394 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2395 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2396 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2397 * sysdeps/ia64/fpu/w_exp.c: Likewise.
2398 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2399 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2400 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2401 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2402 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2403 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2404 * sysdeps/ia64/fpu/w_expf.c: Likewise.
2405 * sysdeps/ia64/fpu/w_expl.c: Likewise.
2406 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2407 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2408 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2409 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2410 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2411 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2412 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2413 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2414 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2415 * sysdeps/ia64/fpu/w_log.c: Likewise.
2416 * sysdeps/ia64/fpu/w_log10.c: Likewise.
2417 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2418 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2419 * sysdeps/ia64/fpu/w_log2.c: Likewise.
2420 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2421 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2422 * sysdeps/ia64/fpu/w_logf.c: Likewise.
2423 * sysdeps/ia64/fpu/w_logl.c: Likewise.
2424 * sysdeps/ia64/fpu/w_pow.c: Likewise.
2425 * sysdeps/ia64/fpu/w_powf.c: Likewise.
2426 * sysdeps/ia64/fpu/w_powl.c: Likewise.
2427 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2428 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2429 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2430 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2431 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2432 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2433 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2434 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2435 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2436 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
2437 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
2438 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
2439 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
2441 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2442 * sysdeps/ieee754/k_standard.c: Likewise.
2443 * sysdeps/ieee754/k_standardf.c: Likewise.
2444 * sysdeps/ieee754/k_standardl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2447 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2448 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
2449 long_double_symbol call on [LIBM_SVID_COMPAT].
2450 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2451 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2452 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2453 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2454 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2455 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2456 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2457 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2458 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2459 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2460 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2461 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2462 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2463 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2464 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2465 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2466 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2467 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2468 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2469 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2470 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
2471 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
2473 2017-09-05 Steve Ellcey <sellcey@cavium.com>
2475 * include/shlib-compat.h (TEST_COMPAT): New Macro.
2476 * malloc/tst-mallocstate.c: Convert from test-skeleton
2477 to test-driver. Ifdef code using TEST_COMPAT macro.
2478 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
2479 * math/test-matherr.c: Likewise.
2481 2017-09-05 Joseph Myers <joseph@codesourcery.com>
2484 * debug/pcprofiledump.c (main): Use byte-swapped mask when
2485 comparing word with byte-swapped constant.
2487 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
2490 * locale/iso-639.def: add Miskito.
2491 * localedata/SUPPORTED: Add miq_NI/UTF-8.
2492 * localedata/locales/miq_NI: New file.
2494 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
2497 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
2498 (__mkdir): Likewise.
2499 * io/chmod.c (__chmod): Add libc_hidden_def.
2500 * io/mkdir.c (__mkdir): Likewise.
2501 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2502 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2503 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
2504 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
2506 2017-09-04 Joseph Myers <joseph@codesourcery.com>
2508 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2512 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
2513 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2515 2017-09-04 Florian Weimer <fweimer@redhat.com>
2517 * math/math.h: Issue warning if log is defined.
2519 2017-09-04 Joseph Myers <joseph@codesourcery.com>
2521 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2522 kernel version to 4.13.
2524 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2526 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
2527 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
2529 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
2530 just <bits/types.h>.
2531 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
2532 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
2533 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
2534 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2535 * misc/preadv2.c: Include <errno.h>.
2536 * misc/preadv64v2.c: Include <errno.h>.
2537 * misc/pwritev2.c: Include <errno.h>.
2538 * misc/pwritev64v2.c: Include <errno.h>.
2539 * sysdeps/posix/preadv2.c: Include <errno.h>.
2540 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
2541 Fix <unistd.h> inclusion.
2542 * sysdeps/posix/pwritev2.c: Include <errno.h>.
2543 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
2544 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
2545 __strtoul_internal): New functions.
2546 * sysdeps/posix/pause.c: Include <sigsetops.h>.
2547 * sysdeps/posix/system.c: Include <sigsetops.h>.
2548 * sysdeps/mach/hurd/i386/Makefile
2549 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2550 [$(subdir) = csu] (sysdep-only-routines): Likewise.
2551 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2552 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
2553 __feraiseexcept_renamed to feraiseexcept instead of
2555 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2556 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
2557 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
2558 RWF_NOWAIT): Define to 0 if undefined already.
2559 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
2561 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
2562 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
2564 2017-09-01 Joseph Myers <joseph@codesourcery.com>
2566 * manual/math.texi (pow10): Do not document.
2569 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
2570 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
2571 * math/libm-test-exp10.inc (pow10_test): Remove.
2572 (do_test): Do not call pow10.
2573 * math/w_exp10_compat.c (pow10): Make into compat symbol.
2574 [NO_LONG_DOUBLE] (pow10l): Likewise.
2575 * math/w_exp10f_compat.c (pow10f): Likewise.
2576 * math/w_exp10l_compat.c (pow10l): Likewise.
2577 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
2578 (pow10): Make into compat symbol.
2579 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
2580 (pow10f): Make into compat symbol.
2581 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
2582 (pow10l): Make into compat symbol.
2583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
2585 (CFLAGS-nldbl-pow10.c): Remove variable..
2586 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
2587 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
2588 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
2589 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
2590 Undefine and redefine.
2591 (pow10l): Make into compat symbol.
2592 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
2593 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2594 * sysdeps/arm/libm-test-ulps: Likewise.
2595 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
2596 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2597 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2598 * sysdeps/microblaze/libm-test-ulps: Likewise.
2599 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2600 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2601 * sysdeps/nios2/libm-test-ulps: Likewise.
2602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2603 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2604 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2605 * sysdeps/sh/libm-test-ulps: Likewise.
2606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2607 * sysdeps/tile/libm-test-ulps: Likewise.
2608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2610 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2612 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
2614 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
2616 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
2617 "../ChangeLog.old/ChangeLog.8".
2618 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
2619 "../ChangeLog.old/ChangeLog.14".
2621 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
2623 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
2626 2017-09-01 Joseph Myers <joseph@codesourcery.com>
2628 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
2630 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
2632 * csu/version.c (banner): Remove "by Roland McGrath et al.".
2633 * nptl/Banner: Remove "by Ulrich Drepper et al.".
2635 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2637 * stdlib/tst-atexit-common.c (do_test): Test support for at least
2640 2017-09-01 Zack Weinberg <zackw@panix.com>
2642 * math/math.h (HUGE_VAL): Improve commentary.
2644 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2645 Andreas Schwab <schwab@suse.de>
2648 * include/stdio.h (__gen_tempfd): New function.
2649 * stdio-common/Makefile (routines): Add gentempfd.
2650 * stdio-common/gentempfd.c: New file.
2651 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
2652 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
2655 2017-09-01 Florian Weimer <fweimer@redhat.com>
2659 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
2660 result to determine success or failure, not the errno value.
2661 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
2662 (tst-nss-files-hosts-erange): Link with -ldl.
2663 * nss/tst-nss-files-hosts-erange.c: New file.
2664 * nss/tst-resolv-basic.c (response): Handle nodata.example.
2665 (do_test): Add NO_DATA tests.
2666 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
2669 2017-09-01 Florian Weimer <fweimer@redhat.com>
2672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
2673 coming from gethostbyname2_r.
2675 2017-09-01 Florian Weimer <fweimer@redhat.com>
2677 * support/namespace.h (struct support_chroot_configuration): Add
2679 (struct support_chroot): Add path_hosts, path_host_conf.
2680 * support/support_chroot.c (write_file): New function.
2681 (support_chroot_create): Call it to process /etc/resolv.conf,
2682 /etc/hosts, /etc/host.conf.
2683 (support_chroot_free): Update.
2685 2017-09-01 Florian Weimer <fweimer@redhat.com>
2687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
2688 status indicates it is set.
2690 2017-09-01 Florian Weimer <fweimer@redhat.com>
2692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
2693 function lookup failures more reliable.
2695 2017-09-01 Florian Weimer <fweimer@redhat.com>
2697 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
2698 (getcanonname): Likewise.
2699 (gaih_inet): Likewise.
2701 2017-09-01 Florian Weimer <fweimer@redhat.com>
2703 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
2704 (getcanonname): Likewise.
2705 (gaih_inet): Likewise.
2707 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2708 Richard Henderson <rth@twiddle.net>
2710 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
2711 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
2712 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
2713 (IREG_SIZE, OREG_SIZE): New macros.
2714 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
2715 (IREG_SIZE, OREG_SIZE): New macros.
2716 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
2717 (IREG_SIZE): New macro.
2718 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
2719 (IREG_SIZE): New macro.
2720 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
2722 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
2723 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2724 (__CONCATX): Handle exceptions correctly on large values that may
2726 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
2727 Initialize if not already set.
2728 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2730 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2732 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
2733 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
2735 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
2737 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
2739 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
2741 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
2743 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
2745 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
2747 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
2748 (NO_CANCELLATION): Likewise.
2749 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
2751 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
2753 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
2755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
2756 (NO_CANCELLATION): Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
2758 (NO_CANCELLATION): Likewise.
2759 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
2761 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
2763 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
2765 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
2767 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
2769 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
2770 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
2772 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2774 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
2777 2017-08-31 Florian Weimer <fweimer@redhat.com>
2779 * include/libc-symbols.h (internal_function): Remove.
2781 2017-08-31 Florian Weimer <fweimer@redhat.com>
2783 * stdlib/fmtmsg.c (internal_addseverity): Remove
2786 2017-08-31 Florian Weimer <fweimer@redhat.com>
2788 * stdio-common/printf_fp.c (group_number): Remove
2790 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2792 2017-08-31 Florian Weimer <fweimer@redhat.com>
2794 * posix/fnmatch.c (internal_function): Remove definition.
2795 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
2796 * posix/regcomp.c (peek_token, init_word_char)
2797 (duplicate_node_closure, fetch_token, peek_token)
2798 (peek_token_bracket, build_range_exp, build_collating_symbol):
2800 * posix/regex_internal.c (re_string_construct_common)
2801 (create_ci_newstate, create_cd_newstate, re_string_allocate)
2802 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
2803 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
2804 (re_string_translate_buffer, re_string_reconstruct)
2805 (re_string_peek_byte_case, re_string_fetch_byte_case)
2806 (re_string_destruct, re_string_context_at, re_node_set_alloc)
2807 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
2808 (re_node_set_add_intersect, re_node_set_init_union)
2809 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
2810 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
2811 (re_dfa_add_node, calc_state_hash, re_acquire_state)
2812 (re_acquire_state_context): Likewise.
2813 * posix/regex_internal.h (internal_function): Remove definition.
2814 (re_string_realloc_buffers, build_wcs_buffer)
2815 (build_wcs_upper_buffer, build_upper_buffer)
2816 (re_string_translate_buffer, re_string_context_at)
2817 (re_string_char_size_at, re_string_wchar_at)
2818 (re_string_elem_size_at): Likewise.
2819 * posix/regexec.c (match_ctx_init, match_ctx_clean)
2820 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
2821 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
2822 (re_search_internal, re_search_2_stub, re_search_stub)
2823 (re_copy_regs, prune_impossible_nodes, check_matching)
2824 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
2825 (free_fail_stack_return, sift_states_iter_mb)
2826 (sift_states_backward, build_sifted_states)
2827 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
2828 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
2829 (check_subexp_limits, sift_states_bkref, merge_state_array)
2830 (find_recover_state, transit_state, merge_state_with_log)
2831 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
2832 (transit_state_mb, transit_state_bkref, get_subexp)
2833 (get_subexp_sub, find_subexp_node, check_arrival)
2834 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
2835 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
2836 (check_node_accept_bytes, find_collation_sequence_value)
2837 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
2838 (acquire_init_state_context, check_halt_node_context)
2839 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
2840 (sub_epsilon_src_nodes): Likewise.
2841 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
2842 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
2843 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
2844 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
2845 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
2846 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
2847 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
2848 * sysdeps/posix/ttyname.c (getttyname): Likewise.
2849 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2850 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
2852 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
2854 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
2855 (PWRITEV): Likewise.
2856 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
2857 (PWRITEV): Likewise.
2858 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
2859 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
2861 2017-08-31 Florian Weimer <fweimer@redhat.com>
2863 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
2864 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
2865 Remove internal_function.
2866 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2867 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
2868 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
2869 (__deallocate_stack, __libc_pthread_init)
2870 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
2871 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
2872 (__libc_disable_asynccancel, __librt_disable_asynccancel):
2874 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
2875 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
2876 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
2878 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
2879 (__pthread_mutex_unlock_usercnt): Likewise.
2881 2017-08-31 Florian Weimer <fweimer@redhat.com>
2883 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
2884 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
2885 (fts_safe_changedir): Remove internal_function.
2886 * io/ftw.c (internal_function): Remove definition.
2887 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
2889 2017-08-31 Florian Weimer <fweimer@redhat.com>
2891 * inet/deadline.c (__deadline_current_time)
2892 (__deadline_from_timeval, __deadline_to_ms): Remove
2894 * inet/getnameinfo.c (nrl_domainname): Likewise.
2895 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2896 * inet/inet6_option.c (add_pad): Likewise.
2897 * inet/net-internal.h (__deadline_current_time)
2898 (__deadline_from_timeval, __deadline_to_ms): Likewise.
2899 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
2900 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
2901 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
2903 2017-08-31 Joseph Myers <joseph@codesourcery.com>
2905 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
2906 include <bits/nan.h>.
2907 * math/Makefile (headers): Remove bits/nan.h.
2908 * bits/nan.h: Remove.
2909 * sysdeps/ieee754/bits/nan.h: Likewise.
2910 * sysdeps/mips/bits/nan.h: Likewise.
2912 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
2913 not include <bits/inf.h>.
2914 * math/Makefile (headers): Remove bits/inf.h.
2915 * bits/inf.h: Remove.
2916 * sysdeps/ieee754/bits/inf.h: Likewise.
2918 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
2919 bits/huge_vall.h or bits/huge_val_flt128.h.
2920 (HUGE_VAL): Define directly here.
2921 [__USE_ISOC99] (HUGE_VALF): Likewise.
2922 [__USE_ISOC99] (HUGE_VALL): Likewise.
2923 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2924 (HUGE_VAL_F128): Likewise.
2925 * math/Makefile (headers): Remove bits/huge_val.h,
2926 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
2927 * bits/huge_val.h: Remove.
2928 * bits/huge_val_flt128.h: Likewise.
2929 * bits/huge_valf.h: Likewise.
2930 * bits/huge_vall.h: Likewise.
2931 * sysdeps/ia64/bits/huge_vall.h: Likewise.
2932 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2933 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
2934 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
2935 * sysdeps/sh/bits/huge_val.h: Likewise.
2936 * sysdeps/sparc/bits/huge_vall.h: Likewise.
2937 * sysdeps/x86/bits/huge_vall.h: Likewise.
2939 2017-08-31 Florian Weimer <fweimer@redhat.com>
2941 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
2943 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
2945 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
2946 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2947 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
2948 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
2949 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2950 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2951 * elf/dl-libc.c (dlerror_run): Likewise.
2952 * elf/dl-load.c (add_name_to_object, decompose_rpath)
2953 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
2954 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
2955 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
2957 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
2958 (_dl_higher_prime_number, _dl_strtoul): Likewise.
2959 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
2960 * elf/dl-profile.c (_dl_start_profile): Likewise.
2961 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
2962 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
2964 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
2965 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
2966 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
2967 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
2968 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
2969 (_dl_allocate_tls_storage): Likewise.
2970 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
2971 (_dl_check_all_versions): Likewise.
2972 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2973 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
2974 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
2975 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2976 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
2977 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
2978 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
2979 internal_function from __dl_start.
2980 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
2981 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2982 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
2983 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
2984 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
2985 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
2986 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
2987 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
2988 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
2989 (_dl_next_ld_env_entry, _dl_important_hwcaps)
2990 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
2991 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
2992 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
2993 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
2994 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
2996 (struct rtld_global_ro): Remove internal_function from the
2997 _dl_lookup_symbol_x member.
2998 (_dl_symbol_value): Remove. No longer defined anywhere.
2999 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
3001 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
3002 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3003 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
3004 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
3005 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
3006 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
3007 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
3008 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
3009 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
3010 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3011 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
3012 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3014 2017-08-31 Florian Weimer <fweimer@redhat.com>
3016 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
3017 Remove internal_function.
3018 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
3020 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
3023 2017-08-31 Florian Weimer <fweimer@redhat.com>
3025 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
3026 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
3027 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
3029 2017-08-31 Florian Weimer <fweimer@redhat.com>
3031 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
3032 (__gai_enqueue_request): Remove internal_function.
3033 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
3034 (__gai_remove_request, __gai_notify, __gai_notify_only)
3035 (__gai_sigqueue): Likewise.
3036 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
3037 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3038 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
3039 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3042 2017-08-31 Florian Weimer <fweimer@redhat.com>
3044 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
3045 * include/dirent.h (__opendirat, __getdents, __getdents64)
3046 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
3047 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
3048 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3049 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
3051 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
3053 2017-08-31 Florian Weimer <fweimer@redhat.com>
3055 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
3057 (GETCWD_RETURN_TYPE): Likewise.
3059 2017-08-31 Florian Weimer <fweimer@redhat.com>
3061 * include/time.h (__tz_compute, __strptime_internal): Remove
3063 * time/strptime_l.c (__strptime_internal): Likewise.
3064 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
3066 2017-08-31 Florian Weimer <fweimer@redhat.com>
3068 * iconv/gconv.c (__gconv): Remove internal_function.
3069 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
3070 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
3071 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
3072 (__gconv_release_cache): Likewise.
3073 * iconv/gconv_close.c (__gconv_close): Likewise.
3074 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
3075 (read_conf_file, __gconv_get_path): Likewise.
3076 * iconv/gconv_db.c (derivation_lookup, add_derivation)
3077 (__gconv_release_step, gen_steps, increment_counter)
3078 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
3079 (__gconv_close_transform, free_modules_db): Likewise.
3080 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
3082 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
3083 (__gconv_find_transform, __gconv_lookup_cache)
3084 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
3085 (__gconv_close_transform, __gconv_release_cache)
3086 (__gconv_loaded_object, __gconv_release_shlib)
3087 (__gconv_compare_alias): Likewise.
3088 * iconv/gconv_open.c (__gconv_open): Likewise.
3089 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
3090 * iconv/iconvconfig.c (add_module): Likewise.
3091 * intl/dcigettext.c (plural_lookup, guess_category_value)
3092 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
3093 * intl/eval-plural.h (plural_eval): Likewise.
3094 * intl/finddomain.c (_nl_find_domain): Likewise.
3095 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
3096 (_nl_load_domain, _nl_find_msg): Likewise.
3097 (internal_function): Remove definition.
3098 * intl/loadinfo.h (internal_function): Likewise.
3099 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
3101 * intl/localealias.c (internal_function): Remove definition.
3102 (read_alias_file): Remove internal_function.
3103 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
3104 * intl/plural-exp.h (internal_function): Remove definition.
3105 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
3107 * intl/plural.c: Regenerate.
3108 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
3109 * locale/coll-lookup.c (__collidx_table_lookup)
3110 (__collseq_table_lookup): Likewise.
3111 * locale/coll-lookup.h (__collidx_table_lookup)
3112 (__collseq_table_lookup): Likewise.
3113 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
3114 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3115 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
3116 (_nl_unload_locale): Likewise.
3117 * locale/localeinfo.h (struct __locale_data): Remove
3118 internal_function from cleanup member.
3119 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
3120 (_nl_remove_locale, _nl_load_locale_from_archive)
3121 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
3122 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
3123 (_nl_cleanup_time): Remove internal_function.
3124 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
3125 (_nl_parse_alt_digit): Likewise.
3126 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
3127 (_nl_select_era_entry): Likewise.
3128 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
3129 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
3130 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
3131 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
3132 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
3134 2017-08-31 Florian Weimer <fweimer@redhat.com>
3136 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
3137 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
3138 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
3139 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
3141 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
3142 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
3143 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
3144 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3146 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
3148 2017-08-31 Florian Weimer <fweimer@redhat.com>
3150 * misc/getttyent.c (skip, value): Remove internal_function.
3151 * misc/syslog.c (openlog_internal): Likewise.
3152 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
3154 2017-08-31 Florian Weimer <fweimer@redhat.com>
3156 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
3157 (__nss_rewrite_field): Remove internal_function.
3158 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3159 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3160 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3161 * nss/nsswitch.c (nss_parse_file, nss_getline)
3162 (nss_parse_service_list, nss_new_service): Likewise.
3163 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
3164 * nss/valid_field.c (__nss_valid_field): Likewise.
3165 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3167 2017-08-31 Florian Weimer <fweimer@redhat.com>
3169 * malloc/arena.c (__malloc_fork_lock_parent)
3170 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
3171 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
3172 internal_function from defintions.
3173 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
3174 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
3175 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
3176 internal_function from declarations.
3177 * malloc/malloc.c (internal_function): Do not define.
3178 (mem2mem_check): Remove internal_function from declaration.
3179 (munmap_chunk, mremap_chunk): Remove internal_function.
3180 * malloc/mtrace.c (tr_where): Likewise.
3182 2017-08-31 Florian Weimer <fweimer@redhat.com>
3184 * include/rpc/pmap_clnt.h (__get_socket): Remove
3186 * sunrpc/auth_des.c (synchronize): Likewise.
3187 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
3188 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
3189 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
3190 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
3191 (key_call): Likewise.
3192 * sunrpc/pm_getport.c (__get_socket): Likewise.
3193 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
3194 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
3195 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
3196 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
3197 (invalidate): Likewise.
3198 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
3199 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
3200 (set_input_fragment, get_input_bytes): Likewise.
3202 2017-08-31 Florian Weimer <fweimer@redhat.com>
3204 * malloc/malloc.c (_int_free): Remove locked variable and related
3207 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
3210 * Makerules (build-module-helper-objlist): Filter out
3211 $(elf-objpfx)sofini.os.
3212 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
3215 2017-08-31 Florian Weimer <fweimer@redhat.com>
3217 * libio/fcloseall.c: Assume weak_alias is defined.
3218 * libio/feof.c: Likewise.
3219 * libio/fileno.c: Likewise.
3220 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
3221 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
3223 (_IO_file_open): Call __open directly.
3224 (_IO_new_file_sync): Assume ESPIPE is defined.
3225 (_IO_file_seekoff_maybe_mmap): Call __read directly.
3226 (_IO_new_file_write): Call __write directly.
3227 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
3228 * libio/ftello64.c (__ftello64): Assume EIO is defined.
3229 * libio/genops.c: Assume _LIBC is defined.
3230 (save_for_backup): Remove internal_function.
3231 * libio/getc.c: Assume weak_alias is defined.
3232 * libio/getwc.c: Likewise.
3233 * libio/iofclose.c: Assume _LIBC is defined.
3234 * libio/iofdopen.c: Likewise.
3235 (_IO_fcntl): Remove macro definition.
3236 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
3237 Call __fcntl directly.
3238 * libio/iofflush.c: Assume weak_alias is defined.
3239 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
3241 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
3242 * libio/iofgets.c: Likewise.
3243 * libio/iofopen.c: Assume _LIBC is defined.
3244 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
3245 * libio/iofputs.c: Assume weak_alias is defined.
3246 * libio/iofread.c: Likewise.
3247 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
3248 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3249 * libio/ioftell.c: Assume weak_alias is defined.
3250 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
3251 * libio/iofwide.c: Assume _LIBC is defined.
3252 (_IO_fwide): Drop SHARED conditional because it is implied by
3254 * libio/iofwrite.c: Assume weak_alias is defined.
3255 * libio/iogetdelim.c: Likewise.
3256 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
3257 * libio/iogetwline.c (wmemcpy): Remove macro definition.
3258 (_IO_getwline): Call __wmemcpy directly.
3259 * libio/iopopen.c: Assume _LIBC is defined.
3260 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
3261 (_IO_close): Remove macro definitions.
3262 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
3264 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
3266 * libio/ioputs.c: Assume weak_alias is defined.
3267 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
3268 * libio/iosetbuffer.c: Assume weak_alias is defined.
3269 * libio/iosetvbuf.c: Likewise.
3270 * libio/ioungetc.c: Likewise.
3271 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
3272 libc_hidden_def, libc_hidden_weak, NULL are defined.
3273 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
3274 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
3276 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
3278 (_IO_old_file_init_internal): Drop SHARED conditional because it
3279 is implied by SHLIB_COMPAT.
3280 (_IO_old_file_fopen): Call __open directly.
3281 (_IO_old_file_sync): Assume ESPIPE is defined.
3282 (_IO_old_file_write): Call __write directly.
3283 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
3284 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
3285 Call __fcntl directly.
3286 * libio/oldiofgetpos.c: Assume weak_alias is defined.
3287 (_IO_old_fgetpos): Assume EIO is defined.
3288 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
3289 (_IO_old_fgetpos64): Assume EIO is defined.
3290 * libio/oldiofsetpos.c: Assume weak_alias is defined.
3291 (_IO_old_fsetpos): Assume EIO is defined.
3292 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
3293 (_IO_old_fsetpos64): Assume EIO is defined.
3294 * libio/oldiopopen.c: Assume _LIBC is defined.
3295 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
3296 (_IO_close): Remove macro definitions.
3297 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
3299 (_IO_old_proc_close): Call __close, __waitpid directly.
3300 * libio/put.c: Assume weak_alias is defined.
3301 * libio/stdfiles.c: Assume _LIBC is defined.
3302 * libio/stdio.c: Likewise.
3303 * libio/wfileops.c: Likewise.
3304 (_IO_wfile_sync): Assume ESPIPE is defined.
3305 * libio/wgenops.c: Assume _LIBC is defined.
3306 (save_for_wbackup): Remove internal_function.
3308 2017-08-31 Florian Weimer <fweimer@redhat.com>
3310 * malloc/malloc.c (top_check): Change return type to void. Remove
3312 * malloc/hooks.c (top_check): Likewise.
3313 (malloc_check, realloc_check, memalign_check): Adjust.
3315 2017-08-30 Joseph Myers <joseph@codesourcery.com>
3318 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
3319 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
3320 sigcontext and namespace requirements.
3321 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
3322 * sysdeps/m68k/sys/ucontext.h: Likewise.
3323 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
3324 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3325 <bits/sigcontext.h>.
3326 (__ctx): Define earlier.
3327 (mcontext_t): Define structure contents rather than using struct
3329 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
3330 __glibc_reserved1 instead of __reserved.
3331 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3332 <bits/sigcontext.h>.
3333 (__ctx): Define earlier.
3334 (mcontext_t): Define structure contents rather than using struct
3336 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
3337 mcontext_t instead of struct sigcontext.
3338 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3339 <bits/sigcontext.h>.
3340 (__ctx): Define earlier.
3341 (mcontext_t): Define structure contents rather than using struct
3343 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3344 <bits/sigcontext.h>.
3345 (__ctx): Define earlier.
3346 (mcontext_t): Define structure contents rather than using struct
3348 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
3349 mcontext_t instead of struct sigcontext.
3350 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
3351 mcontext_t instead of struct sigcontext.
3352 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3353 <bits/sigcontext.h>.
3355 (struct __ia64_fpreg_mcontext): New type.
3356 (mcontext_t): Define structure contents rather than using struct
3358 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
3359 (uc_sigmask): Define using __ctx.
3360 (uc_stack): Likewise.
3361 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
3362 <bits/sigcontext.h>.
3363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3364 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3365 <bits/sigcontext.h>.
3366 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
3367 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3368 <bits/sigcontext.h>.
3369 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3370 <bits/sigcontext.h>.
3371 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3372 <bits/sigcontext.h>.
3373 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3374 <bits/sigcontext.h>.
3375 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3376 <bits/sigcontext.h>.
3377 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3378 <bits/sigcontext.h>.
3379 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3380 <bits/sigcontext.h>.
3381 (__ctx): Define earlier.
3382 (mcontext_t): Define structure contents rather than using struct
3384 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3385 <bits/sigcontext.h>. Include <bits/types.h>.
3386 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
3387 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
3388 (test-xfail-XPG42/ucontext.h/conform): Likewise.
3389 (test-xfail-UNIX98/signal.h/conform): Likewise.
3390 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3391 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3392 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3393 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3394 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3395 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3396 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3397 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3398 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3400 2017-08-30 Florian Weimer <fweimer@redhat.com>
3402 * malloc/dynarray_emplace_enlarge.c
3403 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
3404 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3405 * malloc/tst-dynarray.c (test_long_overflow): New function.
3408 2017-08-30 Florian Weimer <fweimer@redhat.com>
3410 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
3411 (set_arena_corrupt): Remove definitions.
3412 (mtrim): Do not check for corrupt arena.
3413 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
3416 2017-08-30 Florian Weimer <fweimer@redhat.com>
3419 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
3421 (ptmalloc_init): Do not set or use check_action.
3422 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
3423 call to malloc_printerr. Remove return statement.
3424 (free_check): Likewise. Remove arena unlock.
3425 (top_check): Update comment. Adjust call to malloc_printerr.
3426 Remove heap repair code.
3427 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
3428 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
3429 (sysmalloc): Adjust call to malloc_printerr.
3430 (munmap_chunk, __libc_realloc): Likewise. Remove return
3432 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
3433 Remove errout label and corresponding gotos.
3434 (_int_free): Likewise. Remove arena unlock.
3435 (do_set_mallopt_check): Do not set check_action.
3436 (malloc_printerr): Adjust parameter list. Do not mark arena as
3438 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
3440 * manual/probes.texi (Memory Allocation Probes): Remove
3441 memory_mallopt_check_action.
3443 2017-08-30 Steve Ellcey <sellcey@cavium.com>
3445 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
3446 Use pointer to uint64_t instead of long int for sp.
3448 2017-08-30 Florian Weimer <fweimer@redhat.com>
3451 * malloc/malloc.c (malloc_printerr): Always terminate the process,
3452 without printing a backtrace. Do not leak any information in the
3454 * manual/memory.texi (Heap Consistency Checking): Update.
3455 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
3457 2017-08-30 Florian Weimer <fweimer@redhat.com>
3459 Do not scale NPTL tests with available number of CPUs.
3460 * nptl/tst-cond16.c (count): Set to constant value of 8.
3461 * nptl/tst-cond18.c (count): Likewise.
3463 2017-08-29 Joseph Myers <joseph@codesourcery.com>
3466 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
3467 Define to take a second argument that is a macro that
3468 concatentates a suffix, not the suffix itself.
3469 (__CONCAT_d): New macro.
3470 (__CONCAT_f): Likewise.
3471 (__CONCAT_l): Likewise.
3473 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
3475 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
3478 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3479 Aurelien Jarno <aurelien@aurel32.net>
3480 Maciej W. Rozycki <macro@imgtec.com>
3483 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
3484 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
3485 `mips16-syscall6' and `mips16-syscall7'.
3486 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
3487 (CFLAGS-mips16-syscall7.c): Remove.
3488 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
3489 Remove `__mips16_syscall5', `__mips16_syscall6' and
3490 `__mips16_syscall7'.
3491 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
3492 (__mips16_syscall0): Rename `__mips16_syscall_return' to
3493 `__mips_syscall_return'.
3494 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
3495 (__mips16_syscall1): Likewise.
3496 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
3497 (__mips16_syscall2): Likewise.
3498 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
3499 (__mips16_syscall3): Likewise.
3500 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
3501 (__mips16_syscall4): Likewise.
3502 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
3504 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
3506 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
3508 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
3509 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
3510 `__mips16_syscall5'. Remove prototype.
3511 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
3512 `__mips16_syscall6'. Remove prototype.
3513 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
3514 `__mips16_syscall7'. Remove prototype.
3515 (__nomips16, __mips16_syscall_return): Move to...
3516 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
3517 (__nomips16, __mips_syscall_return): ... here.
3518 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
3519 `__mips16_syscall_return' to `__mips_syscall_return'.
3520 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
3521 `internal_syscall##nr'.
3522 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
3523 `internal_syscall##nr'.
3524 (FORCE_FRAME_POINTER): Remove.
3525 (__mips_syscall5): New prototype.
3526 (internal_syscall5): Rewrite to call `__mips_syscall5'.
3527 (__mips_syscall6): New prototype.
3528 (internal_syscall6): Rewrite to call `__mips_syscall6'.
3529 (__mips_syscall7): New prototype.
3530 (internal_syscall7): Rewrite to call `__mips_syscall7'.
3531 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
3532 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
3533 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
3534 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
3535 (sysdep_routines): Add libc-do-syscall.
3536 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
3537 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
3539 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3542 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
3543 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
3544 (advise_stack_range): New function.
3545 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
3546 stack non required to advise_stack_range at allocatestack.c
3548 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3550 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
3552 2017-08-29 Florian Weimer <fweimer@redhat.com>
3555 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
3556 __end_fct. Mangle __end_fct after setting it to NULL.
3557 * iconv/Makefile (tests): Add tst-gconv-init-failure.
3558 (modules-names, modules-names-tests): Add
3559 tst-gconv-init-failure-mod.
3560 (gconv-modules): New target.
3561 (tst-gconv-init-failure-mod.so): Link against libsupport.
3562 (tst-gconv-init-failure): Depend on gconv-modules,
3563 tst-gconv-init-failure-mod.so.
3564 * iconv/tst-gconv-init-failure-mod.c: New file.
3565 * iconv/tst-gconv-init-failure.c: Likewise.
3566 * iconv/test-gconv-modules: Likewise.
3568 2017-08-29 Florian Weimer <fweimer@redhat.com>
3571 * iconv/gconv_db.c (free_derivation): Remove redundant
3573 (gen_steps): Unconditionally mangle __btowc_fct after
3575 (increment_counter): Likewise. Do not call init_fct for internal
3578 2017-08-29 Joseph Myers <joseph@codesourcery.com>
3581 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
3582 (_MSUF_): Remove macro.
3583 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
3585 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
3586 (__REDIRFROM_X): New macro.
3587 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
3589 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
3590 (__REDIRTO_X): Likewise.
3591 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
3593 (__MATH_REDIRCALL_2): Likewise.
3594 (__MATH_REDIRCALL_INTERNAL): Likewise.
3595 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
3596 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
3597 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
3598 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
3599 * math/test-finite-macros.c: New file.
3600 * math/Makefile (tests): Add test-finite-macros.
3601 (CFLAGS-test-finite-macros.c): New variable.
3603 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
3604 Jeff Law <law@redhat.com>
3607 Mangle NULL pointers in iconv/gconv.
3608 * iconv/gconv_cache.c (find_module): Demangle init_fct before
3609 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
3610 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
3611 is non-NULL before demangling the end_fct. Check for NULL
3612 end_fct after demangling.
3613 (__gconv_release_step): Demangle the end_fct before checking
3614 it for NULL. Remove assert on __shlibc_handle != NULL.
3615 (gen_steps): Don't check btowc_fct for NULL before mangling.
3616 Demangle init_fct before checking for NULL.
3617 (increment_counter): Likewise.
3618 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
3619 end_fct for NULL before mangling.
3620 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
3623 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
3626 * locale/iso-639.def: add Morisyen.
3628 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3631 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
3632 (iszero): New C++ implementation that does not use
3633 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
3634 signaling nans are enabled, since __builtin_types_compatible_p
3635 is a C-only feature.
3636 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
3637 defined, include ieee754_float128.h for access to the union and
3638 member ieee854_float128.ieee.
3639 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
3640 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
3641 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3642 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
3643 options of test-math-zero on powerpc64le.
3645 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
3647 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
3648 Change double to float.
3650 2017-08-28 Joseph Myers <joseph@codesourcery.com>
3652 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
3654 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
3655 conditional code; define contents only for [LIBM_SVID_COMPAT].
3657 2017-08-28 Florian Weimer <fweimer@redhat.com>
3659 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
3660 (abi-lp64_be-options): Remove.
3661 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
3662 (abi-hard-options): Likewise.
3663 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
3664 (abi-o32_hard-options, abi-o32_soft_2008-options)
3665 (abi-o32_hard_2008-options, abi-n32_soft-options)
3666 (abi-n32_hard-options, abi-n32_soft_2008-options)
3667 (abi-n32_hard_2008-options, abi-n64_soft-options)
3668 (abi-n64_hard-options, abi-n64_soft_2008-options)
3669 (abi-n64_hard_2008-options): Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
3671 (abi-64-v1-options, abi-64-v2-options): Likewise.
3672 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
3673 (abi-64-options): Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
3675 (abi-64-options): Likewise.
3676 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
3677 (abi-64-options): Likewise.
3678 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
3679 (abi-64-options, abi-x32-options): Likewise.
3681 2017-08-28 Florian Weimer <fweimer@redhat.com>
3683 Store supported list of SYS_* system calls in the source tree.
3684 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3685 (bits/syscall.h): Generate from list file.
3686 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
3687 [$(subdir) = misc] (tests): Add tst-syscall-list.
3688 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
3689 [$(subdir) = misc] (tst-syscall-list-macros.list)
3690 [$(subdir) = misc] (tst-syscall-list-nr.list)
3691 (tst-syscall-list-sys.list): Helper targets for new
3692 tst-syscall-list test.
3693 [$(subdir) = misc] (tst-syscall-list.out): Run test script
3694 tst-syscall-list.sh.
3695 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
3696 target. Do not include bits/syscall.d.
3697 [$(subdir) = misc] (generated): Do not update.
3698 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
3699 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
3700 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
3701 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
3703 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3705 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
3706 (tst-cxa_atexit, tst-on_exit): Likewise.
3707 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
3708 tst-cxa_atexit, and tst-on_exit.
3709 * stdlib/tst-atexit-common.c: New file.
3710 * stdlib/tst-atexit.c: New file.
3711 * stdlib/tst-at_quick_exit.c: New file.
3712 * stdlib/tst-cxa_atexit.c: New file.
3713 * stdlib/tst-on_exit.c: New file.
3715 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3717 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
3718 * mach/stack_chk_fail_local.c: New file.
3719 * hurd/stack_chk_fail_local.c: New file.
3720 * mach/Machrules ($(interface-library)-routines): Add
3721 stack_chk_fail_local.
3722 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
3723 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
3724 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
3725 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
3726 * hurd/Makefile (CFLAGS-hurdstartup.o,
3727 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
3729 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
3731 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3732 (index_cpu_*, index_arch_*): Removed.
3734 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3736 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
3737 Use uint64_t instead of unsigned long.
3739 2017-08-25 Joseph Myers <joseph@codesourcery.com>
3741 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
3742 [__HAVE_DISTINCT_FLOAT128].
3744 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
3745 of <bits/math-finite.h>.
3746 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
3747 inclusion of <bits/math-finite.h>.
3748 * math/bits/math-finite.h (__REDIRTO_X): Do not define
3749 conditionally on [__MATH_DECLARING_LDOUBLE && defined
3750 __NO_LONG_DOUBLE_MATH].
3751 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
3752 (__MATH_REDIRCALL_2): Likewise.
3753 (__MATH_REDIRCALL_INTERNAL): Likewise.
3754 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
3755 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
3756 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3775 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
3776 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
3777 w_sqrtf_compat-ppc32.
3779 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3781 * math/math.h [defined __cplusplus] (issignaling): In the long
3782 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
3783 is not defined. Call __issignaling, otherwise.
3785 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3787 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
3788 syscall definitions and replace __builtin_expect with __glibc_likely.
3789 * sysdeps/unix/syscall-template.S: Update comment about cancellable
3791 (SYSCALL_CANCELLABLE): Removedefinition
3792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
3794 (PSEUDO_END): Likewise.
3795 [IS_IN (libpthread)] (CENABLE): Likewise.
3796 [IS_IN (libpthread)] (CDISABLE): Likewise.
3797 [IS_IN (libc)] (CENABLE): Likewise.
3798 [IS_IN (libc)] (CENABLE): Likewise.
3799 [IS_IN (librt)] (CDISABLE): Likewise.
3800 [IS_IN (librt)] (CDISABLE): Likewise.
3801 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3802 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
3804 (PSEUDO_END): Likewise.
3805 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
3806 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
3807 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3808 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3809 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3810 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3811 (CENABLE): Likewise.
3812 (CDISABLE): Likewise.
3813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3814 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
3816 (PSEUDO_END): Likewise.
3817 [IS_IN (libpthread)] (CENABLE): Likewise.
3818 [IS_IN (libpthread)] (CDISABLE): Likewise.
3819 [IS_IN (libc)] (CENABLE): Likewise.
3820 [IS_IN (libc)] (CENABLE): Likewise.
3821 [IS_IN (librt)] (CDISABLE): Likewise.
3822 [IS_IN (librt)] (CDISABLE): Likewise.
3823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3824 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
3826 (PSEUDO_END): Likewise.
3827 [IS_IN (libpthread)] (CENABLE): Likewise.
3828 [IS_IN (libpthread)] (CDISABLE): Likewise.
3829 [IS_IN (libc)] (CENABLE): Likewise.
3830 [IS_IN (libc)] (CENABLE): Likewise.
3831 [IS_IN (librt)] (CDISABLE): Likewise.
3832 [IS_IN (librt)] (CDISABLE): Likewise.
3833 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3834 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
3836 (PSEUDO_END): Likewise.
3837 [IS_IN (libpthread)] (CENABLE): Likewise.
3838 [IS_IN (libpthread)] (CDISABLE): Likewise.
3839 [IS_IN (libc)] (CENABLE): Likewise.
3840 [IS_IN (libc)] (CENABLE): Likewise.
3841 [IS_IN (librt)] (CDISABLE): Likewise.
3842 [IS_IN (librt)] (CDISABLE): Likewise.
3843 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3844 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
3846 (PSEUDO_END): Likewise.
3847 [IS_IN (libpthread)] (CENABLE): Likewise.
3848 [IS_IN (libpthread)] (CDISABLE): Likewise.
3849 [IS_IN (libc)] (CENABLE): Likewise.
3850 [IS_IN (libc)] (CENABLE): Likewise.
3851 [IS_IN (librt)] (CDISABLE): Likewise.
3852 [IS_IN (librt)] (CDISABLE): Likewise.
3853 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3854 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
3856 (PSEUDO_END): Likewise.
3857 [IS_IN (libpthread)] (CENABLE): Likewise.
3858 [IS_IN (libpthread)] (CDISABLE): Likewise.
3859 [IS_IN (libc)] (CENABLE): Likewise.
3860 [IS_IN (libc)] (CENABLE): Likewise.
3861 [IS_IN (librt)] (CDISABLE): Likewise.
3862 [IS_IN (librt)] (CDISABLE): Likewise.
3863 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3864 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
3866 (PSEUDO_END): Likewise.
3867 [IS_IN (libpthread)] (CENABLE): Likewise.
3868 [IS_IN (libpthread)] (CDISABLE): Likewise.
3869 [IS_IN (libc)] (CENABLE): Likewise.
3870 [IS_IN (libc)] (CENABLE): Likewise.
3871 [IS_IN (librt)] (CDISABLE): Likewise.
3872 [IS_IN (librt)] (CDISABLE): Likewise.
3873 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3874 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
3876 (PSEUDO_END): Likewise.
3877 [IS_IN (libpthread)] (CENABLE): Likewise.
3878 [IS_IN (libpthread)] (CDISABLE): Likewise.
3879 [IS_IN (libc)] (CENABLE): Likewise.
3880 [IS_IN (libc)] (CENABLE): Likewise.
3881 [IS_IN (librt)] (CDISABLE): Likewise.
3882 [IS_IN (librt)] (CDISABLE): Likewise.
3883 (SINGLE_THREAD_P): Likewise.
3884 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
3886 (PSEUDO_END): Likewise.
3887 [IS_IN (libpthread)] (CENABLE): Likewise.
3888 [IS_IN (libpthread)] (CDISABLE): Likewise.
3889 [IS_IN (libc)] (CENABLE): Likewise.
3890 [IS_IN (libc)] (CENABLE): Likewise.
3891 [IS_IN (librt)] (CDISABLE): Likewise.
3892 [IS_IN (librt)] (CDISABLE): Likewise.
3893 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3894 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
3896 (PSEUDO_END): Likewise.
3897 [IS_IN (libpthread)] (CENABLE): Likewise.
3898 [IS_IN (libpthread)] (CDISABLE): Likewise.
3899 [IS_IN (libc)] (CENABLE): Likewise.
3900 [IS_IN (libc)] (CENABLE): Likewise.
3901 [IS_IN (librt)] (CDISABLE): Likewise.
3902 [IS_IN (librt)] (CDISABLE): Likewise.
3903 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3904 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
3905 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3906 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
3907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
3909 (PSEUDO_END): Likewise.
3910 [IS_IN (libpthread)] (CENABLE): Likewise.
3911 [IS_IN (libpthread)] (CDISABLE): Likewise.
3912 [IS_IN (libc)] (CENABLE): Likewise.
3913 [IS_IN (libc)] (CENABLE): Likewise.
3914 [IS_IN (librt)] (CDISABLE): Likewise.
3915 [IS_IN (librt)] (CDISABLE): Likewise.
3916 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
3919 (PSEUDO_END): Likewise.
3920 [IS_IN (libpthread)] (CENABLE): Likewise.
3921 [IS_IN (libpthread)] (CDISABLE): Likewise.
3922 [IS_IN (libc)] (CENABLE): Likewise.
3923 [IS_IN (libc)] (CENABLE): Likewise.
3924 [IS_IN (librt)] (CDISABLE): Likewise.
3925 [IS_IN (librt)] (CDISABLE): Likewise.
3926 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3927 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
3929 (PSEUDO_END): Likewise.
3930 [IS_IN (libpthread)] (CENABLE): Likewise.
3931 [IS_IN (libpthread)] (CDISABLE): Likewise.
3932 [IS_IN (libc)] (CENABLE): Likewise.
3933 [IS_IN (libc)] (CENABLE): Likewise.
3934 [IS_IN (librt)] (CDISABLE): Likewise.
3935 [IS_IN (librt)] (CDISABLE): Likewise.
3936 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
3938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
3940 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
3942 (PSEUDO_END): Likewise.
3943 [IS_IN (libpthread)] (CENABLE): Likewise.
3944 [IS_IN (libpthread)] (CDISABLE): Likewise.
3945 [IS_IN (libc)] (CENABLE): Likewise.
3946 [IS_IN (libc)] (CENABLE): Likewise.
3947 [IS_IN (librt)] (CDISABLE): Likewise.
3948 [IS_IN (librt)] (CDISABLE): Likewise.
3949 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3950 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
3952 (PSEUDO_END): Likewise.
3953 [IS_IN (libpthread)] (CENABLE): Likewise.
3954 [IS_IN (libpthread)] (CDISABLE): Likewise.
3955 [IS_IN (libc)] (CENABLE): Likewise.
3956 [IS_IN (libc)] (CENABLE): Likewise.
3957 [IS_IN (librt)] (CDISABLE): Likewise.
3958 [IS_IN (librt)] (CDISABLE): Likewise.
3959 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3961 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3963 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
3965 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3969 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3972 * string/stratcliff.c (do_test): Declare size, nchars, inner,
3973 middle and outer with size_t instead of int. Repleace %d and
3974 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
3975 "MAX (outer, nchars - 64)" to support unsigned outer and
3976 nchars. Also exit loop when outer == 0.
3978 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3980 * include/fcntl.h (__fcntl_nocancel): Remove definition.
3981 * include/signal.h (__sigsuspend_nocancel): Likewise.
3982 * include/time.h (__nanosleep_nocancel): Likewise.
3983 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
3984 * login/utmp_file.c: Include non cancellable syscall header.
3985 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
3988 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3990 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
3991 .byte sequences with AVX512F instructions.
3992 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
3993 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3994 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
3997 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4000 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
4001 Steve Ellcey <sellcey@cavium.com>
4003 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
4004 Use PTR_REG macro in cmp instruction.
4006 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4008 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
4009 Change the return type of the ifunc resolver to match the return
4010 type of the target function.
4012 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4014 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
4015 (preadv64): Likewise.
4016 (pwrite64(: Likewise.
4017 (pwritev64): Likewise.
4019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4020 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
4021 (LOAD_ARGS_0): Likewise.
4022 (LOAD_ARGS_1): Likewise.
4023 (LOAD_ARGS_2): Likewise.
4024 (LOAD_ARGS_3): Likewise.
4025 (LOAD_ARGS_4): Likewise.
4026 (LOAD_ARGS_5): Likewise.
4027 (LOAD_ARGS_6): Likewise.
4028 (LOAD_REGS_0): Likewise.
4029 (LOAD_REGS_1): Likewise.
4030 (LOAD_REGS_2): Likewise.
4031 (LOAD_REGS_3): Likewise.
4032 (LOAD_REGS_4): Likewise.
4033 (LOAD_REGS_5): Likewise.
4034 (LOAD_REGS_6): Likewise.
4035 (ASM_ARGS_0): Likewise.
4036 (ASM_ARGS_1): Likewise.
4037 (ASM_ARGS_2): Likewise.
4038 (ASM_ARGS_3): Likewise.
4039 (ASM_ARGS_4): Likewise.
4040 (ASM_ARGS_5): Likewise.
4041 (ASM_ARGS_6): Likewise.
4042 (LOAD_ARGS_TYPES_1): Likewise.
4043 (LOAD_ARGS_TYPES_2): Likewise.
4044 (LOAD_ARGS_TYPES_3): Likewise.
4045 (LOAD_ARGS_TYPES_4): Likewise.
4046 (LOAD_ARGS_TYPES_5): Likewise.
4047 (LOAD_ARGS_TYPES_6): Likewise.
4048 (LOAD_REGS_TYPES_1): Likewise.
4049 (LOAD_REGS_TYPES_2): Likewise.
4050 (LOAD_REGS_TYPES_3): Likewise.
4051 (LOAD_REGS_TYPES_4): Likewise.
4052 (LOAD_REGS_TYPES_5): Likewise.
4053 (LOAD_REGS_TYPES_6): Likewise.
4054 (TYPEFY): New define.
4056 (internal_syscall0): Likewise.
4057 (internal_syscall1): Likewise.
4058 (internal_syscall2): Likewise.
4059 (internal_syscall3): Likewise.
4060 (internal_syscall4): Likewise.
4061 (internal_syscall5): Likewise.
4062 (internal_syscall6): Likewise.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
4064 (INTERNAL_SYSCALL_NCS): Remove define.
4065 (internal_syscall1): Add define.
4067 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4069 * math/w_remainder_compat.c: Remove duplicate inclusion of
4071 * math/w_remainderf_compat.c: Likewise.
4072 * math/w_remainderl_compat.c: Likewise.
4074 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4078 2017-08-22 Joseph Myers <joseph@codesourcery.com>
4081 * math/tgmath.h (__floating_type): Simplify definitions.
4082 (__real_integer_type): New macro.
4083 (__complex_integer_type): Likewise.
4084 (__expr_is_real): Likewise.
4085 (__tgmath_real_type_sub): Update comment to describe handling of
4087 (__tgmath_complex_type_sub): New macro.
4088 (__tgmath_complex_type): Likewise.
4089 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4090 (__TGMATH_CF128): Use __expr_is_real.
4091 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
4093 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4094 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
4095 * math/gen-tgmath-tests.py (Type.create_type): Create complex
4098 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4100 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
4102 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
4104 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
4107 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
4108 nanosleep_not_cancel with __nanosleep_nocancel.
4109 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
4110 (__nanosleep_nocancel): New macro.
4111 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
4113 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
4115 (__nanosleep_nocancel): New prototype.
4117 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
4118 pause_not_cancel with __pause_nocancel.
4119 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
4120 (__pause_nocancel): New macro.
4121 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
4123 (__pause_nocancel): New prototype.
4124 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
4126 2017-08-22 Martin Sebor <msebor@redhat.com>
4128 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
4129 to return a pointer to the same type as the target function.
4131 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
4135 * include/printf.h (__printf_fphex): Add attribute_hidden.
4136 (__guess_grouping): New prototype.
4137 * stdio-common/printf_fp.c (__guess_grouping): Removed.
4138 * stdio-common/reg-printf.c (__register_printf_specifier): Add
4139 libc_hidden_proto and libc_hidden_def.
4140 * stdlib/strfmon_l.c (__guess_grouping): Removed.
4141 (__vstrfmon_l): Remove the third argument passed to
4144 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4146 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
4147 definition for issignaling that does not rely on __MATH_TG,
4148 since __MATH_TG uses __builtin_types_compatible_p, which is only
4149 available in C mode.
4150 (CFLAGS-test-math-issignaling.cc): New variable.
4151 * math/Makefile [CXX] (tests): Add test-math-issignaling.
4152 * math/test-math-issignaling.cc: New test for C++ implementation
4153 of type-generic issignaling.
4154 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
4155 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
4156 options of test-math-issignaling on powerpc64le.
4158 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
4160 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
4162 (hidden_proto): Likewise.
4163 (hidden_tls_proto): Likewise.
4164 (__hidden_proto): Likewise.
4166 2017-08-22 Florian Weimer <fweimer@redhat.com>
4168 math: Statically link tests of internal functionality.
4169 * math/Makefile (tests): Remove atest-exp, atest-sincos,
4171 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
4172 (gmp-objs): Remove assignment.
4173 (atest-exp, atest-sincos, atest-exp2): Remove targets.
4175 2017-08-22 Joseph Myers <joseph@codesourcery.com>
4178 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
4180 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
4182 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
4185 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
4186 variable definitions above inclusion of ../Rules.
4188 2017-08-21 Joseph Myers <joseph@codesourcery.com>
4190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
4191 case calling __builtin_unreachable.
4193 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4195 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
4197 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
4198 (__waitpid_nocancel): New macro.
4199 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
4201 (__waitpid_nocancel): Replace macro with a function.
4202 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
4205 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
4207 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
4208 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
4210 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
4211 __writev_nocancel_nostatus.
4212 (write_call_graph): Likewise.
4213 (write_bb_counts): Likewise.
4214 * resolv/herror.c (herror): Likewise.
4215 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
4217 (__writev_nocancel_nostatus): New macro.
4218 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
4220 (__writev_nocancel_nostatus): New function.
4222 2017-08-21 Joseph Myers <joseph@codesourcery.com>
4225 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4227 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
4229 (hidden_proto): Likewise.
4230 (hidden_tls_proto): Likewise.
4231 (__hidden_proto): Likewise.
4234 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
4235 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4246 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4247 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4249 GLIBC_2.0 sqrtl symbol.
4251 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
4252 [__USE_MISC] (_LIB_VERSION): Likewise.
4253 [__USE_MISC] (struct exception): Likewise.
4254 [__USE_MISC] (matherr): Likewise.
4255 [__USE_MISC] (DOMAIN): Likewise.
4256 [__USE_MISC] (SING): Likewise.
4257 [__USE_MISC] (OVERFLOW): Likewise.
4258 [__USE_MISC] (UNDERFLOW): Likewise.
4259 [__USE_MISC] (TLOSS): Likewise.
4260 [__USE_MISC] (PLOSS): Likewise.
4261 [__USE_MISC] (HUGE): Likewise.
4262 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
4263 * math/math-svid-compat.h: New file.
4264 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
4266 * include/math.h [!_ISOMAC] (__matherr): Remove.
4267 * manual/arith.texi (FP Exceptions): Do not document matherr.
4268 * math/Makefile (tests): Change test-matherr to test-matherr-3.
4269 (tests-internal): New variable.
4270 (install-lib): Do not add libieee.a.
4271 (non-lib.a): Likewise.
4272 (extra-objs): Do not add libieee.a and ieee-math.o.
4273 (CPPFLAGS-s_lib_version.c): Remove variable.
4274 ($(objpfx)libieee.a): Remove rule.
4275 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
4276 * math/ieee-math.c: Remove.
4277 * math/libm-test-support.c (matherr): Remove.
4278 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
4279 and license notices. Include <math-svid-compat.h> and
4281 (matherr): Undefine as macro. Use compat_symbol_reference.
4282 (_LIB_VERSION): Likewise.
4283 * math/test-matherr-2.c: New file.
4284 * math/test-matherr-3.c: Likewise.
4285 * sysdeps/generic/math_private.h (__kernel_standard): Remove
4287 (__kernel_standard_f): Likewise.
4288 (__kernel_standard_l): Likewise.
4289 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
4290 <math_private.h>. Include <math-svid-compat.h>.
4291 (_LIB_VERSION): Undefine as macro.
4292 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
4293 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
4294 [LIBM_SVID_COMPAT], use compat_symbol.
4295 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
4296 <math_private.h>. Include <math-svid-compat.h>.
4297 (matherr): Undefine as macro.
4298 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
4300 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
4301 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
4302 compat_symbol_reference.
4303 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
4304 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
4305 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
4306 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
4307 (MATHERR_D): Remove declaration.
4308 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
4309 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
4310 [LIBM_BUILD] (pmatherrf): Likewise.
4311 [LIBM_BUILD] (pmatherr): Likewise.
4312 [LIBM_BUILD] (pmatherrl): Likewise.
4315 (OVERFLOW): Likewise.
4316 (UNDERFLOW): Likewise.
4319 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
4320 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
4322 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
4323 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
4325 * math/lgamma-compat.h: Include <math-svid-compat.h>.
4326 * math/w_acos_compat.c: Likewise.
4327 * math/w_acosf_compat.c: Likewise.
4328 * math/w_acosh_compat.c: Likewise.
4329 * math/w_acoshf_compat.c: Likewise.
4330 * math/w_acoshl_compat.c: Likewise.
4331 * math/w_acosl_compat.c: Likewise.
4332 * math/w_asin_compat.c: Likewise.
4333 * math/w_asinf_compat.c: Likewise.
4334 * math/w_asinl_compat.c: Likewise.
4335 * math/w_atan2_compat.c: Likewise.
4336 * math/w_atan2f_compat.c: Likewise.
4337 * math/w_atan2l_compat.c: Likewise.
4338 * math/w_atanh_compat.c: Likewise.
4339 * math/w_atanhf_compat.c: Likewise.
4340 * math/w_atanhl_compat.c: Likewise.
4341 * math/w_cosh_compat.c: Likewise.
4342 * math/w_coshf_compat.c: Likewise.
4343 * math/w_coshl_compat.c: Likewise.
4344 * math/w_exp10_compat.c: Likewise.
4345 * math/w_exp10f_compat.c: Likewise.
4346 * math/w_exp10l_compat.c: Likewise.
4347 * math/w_exp2_compat.c: Likewise.
4348 * math/w_exp2f_compat.c: Likewise.
4349 * math/w_exp2l_compat.c: Likewise.
4350 * math/w_fmod_compat.c: Likewise.
4351 * math/w_fmodf_compat.c: Likewise.
4352 * math/w_fmodl_compat.c: Likewise.
4353 * math/w_hypot_compat.c: Likewise.
4354 * math/w_hypotf_compat.c: Likewise.
4355 * math/w_hypotl_compat.c: Likewise.
4356 * math/w_j0_compat.c: Likewise.
4357 * math/w_j0f_compat.c: Likewise.
4358 * math/w_j0l_compat.c: Likewise.
4359 * math/w_j1_compat.c: Likewise.
4360 * math/w_j1f_compat.c: Likewise.
4361 * math/w_j1l_compat.c: Likewise.
4362 * math/w_jn_compat.c: Likewise.
4363 * math/w_jnf_compat.c: Likewise.
4364 * math/w_jnl_compat.c: Likewise.
4365 * math/w_lgamma_main.c: Likewise.
4366 * math/w_lgamma_r_compat.c: Likewise.
4367 * math/w_lgammaf_main.c: Likewise.
4368 * math/w_lgammaf_r_compat.c: Likewise.
4369 * math/w_lgammal_main.c: Likewise.
4370 * math/w_lgammal_r_compat.c: Likewise.
4371 * math/w_log10_compat.c: Likewise.
4372 * math/w_log10f_compat.c: Likewise.
4373 * math/w_log10l_compat.c: Likewise.
4374 * math/w_log2_compat.c: Likewise.
4375 * math/w_log2f_compat.c: Likewise.
4376 * math/w_log2l_compat.c: Likewise.
4377 * math/w_log_compat.c: Likewise.
4378 * math/w_logf_compat.c: Likewise.
4379 * math/w_logl_compat.c: Likewise.
4380 * math/w_pow_compat.c: Likewise.
4381 * math/w_powf_compat.c: Likewise.
4382 * math/w_powl_compat.c: Likewise.
4383 * math/w_remainder_compat.c: Likewise.
4384 * math/w_remainderf_compat.c: Likewise.
4385 * math/w_remainderl_compat.c: Likewise.
4386 * math/w_scalb_compat.c: Likewise.
4387 * math/w_scalbf_compat.c: Likewise.
4388 * math/w_scalbl_compat.c: Likewise.
4389 * math/w_sinh_compat.c: Likewise.
4390 * math/w_sinhf_compat.c: Likewise.
4391 * math/w_sinhl_compat.c: Likewise.
4392 * math/w_sqrt_compat.c: Likewise.
4393 * math/w_sqrtf_compat.c: Likewise.
4394 * math/w_sqrtl_compat.c: Likewise.
4395 * math/w_tgamma_compat.c: Likewise.
4396 * math/w_tgammaf_compat.c: Likewise.
4397 * math/w_tgammal_compat.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4399 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4400 * sysdeps/ieee754/k_standard.c: Likewise.
4401 * sysdeps/ieee754/k_standardf.c: Likewise.
4402 * sysdeps/ieee754/k_standardl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4410 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4411 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4418 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4419 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4421 2017-08-21 Florian Weimer <fweimer@redhat.com>
4424 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
4425 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
4426 Move before inclusion of ../Rules.
4428 2017-08-21 Florian Weimer <fweimer@redhat.com>
4431 * assert/assert.h (assert): Use static_cast (bool) for C++.
4432 Use the ternary operator in the warning branch for GNU C.
4433 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
4434 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
4435 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
4436 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
4437 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
4439 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4443 (__syscall_clock_gettime): Add attribute_hidden.
4444 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
4445 (__start_context): Likewise.
4447 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4449 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
4451 (hidden_proto): Likewise.
4452 (hidden_tls_proto): Likewise.
4453 (__hidden_proto): Likewise.
4455 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4457 * include/libc-symbols.h (attribute_hidden): Enable hidden
4458 visibility in libc.a compiled with PIE.
4460 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4463 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
4464 Add attribute_hidden.
4466 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4469 * Makerules (all-nonlib): Add $(others-extras).
4470 * catgets/Makefile (others-extras): New.
4471 * elf/Makefile (others-extras): Likewise.
4472 * nss/Makefile (others-extras): Likewise.
4474 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4477 * csu/libc-start.c (__libc_multiple_libcs): Removed.
4478 * elf/dl-open.c: Include <libc-internal.h>.
4479 (__libc_multiple_libcs): Removed.
4480 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
4482 * include/libc-internal.h (__libc_multiple_libcs): New.
4483 * misc/sbrk.c: Include <libc-internal.h>.
4484 (__libc_multiple_libcs): Removed.
4486 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
4489 * grp/initgroups.c (__nss_group_database): Removed.
4490 (__nss_initgroups_database): Likewise.
4491 * nscd/gai.c (__nss_hosts_database): Likewise.
4492 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
4493 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
4494 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
4495 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
4496 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
4497 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
4499 * nss/nsswitch.c (__nss_database_custom): Define only if
4500 USE_NSCD is defined.
4501 (__nss_configure_lookup): Use __nss_database_custom only if
4502 USE_NSCD is defined.
4503 * nss/nsswitch.h (__nss_database_custom): Declare only if
4504 USE_NSCD is defined. Add attribute_hidden.
4505 (__nss_setent): Add attribute_hidden.
4506 (__nss_endent): Likewise.
4507 (__nss_getent_r): Likewise.
4508 (__nss_getent): Likewise.
4509 (DEFINE_DATABASE): Declare __nss_##arg##_database.
4511 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
4514 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
4515 libc_hidden_proto and libc_hidden_def.
4517 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
4520 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
4521 Add libc_hidden_proto.
4522 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
4523 Add libc_hidden_def.
4525 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
4528 * gmon/Makefile (routines): Remove bb_init_func and
4530 (elide-routines.os): Removed.
4531 * gmon/bb_exit_func.c: Likewise.
4532 * gmon/bb_init_func.c: Likewise.
4533 * include/sys/gmon.h (__bb): Likewise.
4534 (__bb_init_func): Likewise.
4535 (__bb_exit_func): Likewise.
4536 * sysdeps/alpha/bb_init_func.S: Likewise.
4538 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
4540 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
4541 * include/setjmp.h (____longjmp_chk): Here. Add
4544 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
4547 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
4549 (__strspn_sse2): Likewise.
4551 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4553 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
4554 (close_not_cancel_no_status): Likewise.
4555 (__close_nocancel): New macro.
4556 (__close_nocancel_nostatus): Likewise.
4557 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
4559 (close_not_cancel): Likewise.
4560 (close_not_cancel_no_status): Likewise.
4561 (__close_nocancel): New prototype.
4562 (__close_nocancel_nostatus): New function.
4563 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
4564 * catgets/open_catalog.c (__open_catalog): Replace
4565 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
4566 * gmon/gmon.c (write_gmon): Likewise.
4567 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4568 * intl/loadmsgcat.c (close): Likewise.
4569 * io/ftw.c (open_dir_stream): Likewise.
4570 (ftw_startup): Likewise.
4571 * libio/fileops.c (_IO_file_open): Likewise.
4572 (_IO_file_close_mmap): Likewise.
4573 (_IO_file_close): Likewise.
4574 * libio/iopopen.c (_IO_dup2): Likewise.
4575 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4576 * locale/loadlocale.c (_nl_load_locale): Likewise.
4577 * login/utmp_file.c (pututline_file): Likewise.
4578 (endutent_file): Likewise.
4579 * misc/daemon.c (daemon): Likewise.
4580 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4581 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4582 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4583 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4584 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4585 * nscd/nscd_helper.c (open_socket): Likewise.
4586 (__nscd_open_socket): Likewise.
4587 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4588 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
4589 (__nscd_innetgr): Likewise.
4590 * nss/nss_db/db-open.c (internal_setent): Likewise.
4591 * resolv/res-close.c (__res_iclose): Likewise.
4592 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
4593 * sysdeps/posix/closedir.c (__closedir): Likewise.
4594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4595 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4596 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
4597 (opendir_tail): Likewise.
4598 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4599 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
4600 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4601 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4602 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4603 (gethostid): Likewise.
4604 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4608 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
4609 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4610 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4612 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
4613 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
4614 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4616 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
4617 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4619 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4621 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4622 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4623 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4626 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
4627 (openat_not_cancel_3): Likewise.
4628 (openat64_not_cancel_3): Likewise).
4629 (openat_not_cancel_3): Likewise).
4630 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
4632 (openat_not_cancel_3): Likewise.
4633 (openat64_not_cancel): Likewise.
4634 (openat64_not_cancel_3): Likewise.
4635 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
4636 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
4637 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
4638 __open{64}_nocancel.
4639 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4640 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4641 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4643 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4646 * include/argz.h (__argz_create_sep): New function prototype.
4647 (__argz_append): Likewise.
4648 (__argz_add): Likewise.
4649 (__argz_add_sep): Likewise.
4650 (__argz_delete): Likewise.
4651 (__argz_insert): Likewise.
4652 (__argz_replace): Likewise.
4653 * string/argz.h (__argz_create_sep): Removed.
4654 (__argz_append): Likewise.
4655 (__argz_add): Likewise.
4656 (__argz_add_sep): Likewise.
4657 (__argz_delete): Likewise.
4658 (__argz_insert): Likewise.
4659 (__argz_replace): Likewise.
4661 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4663 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
4664 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
4665 (GNU_PROPERTY_STACK_SIZE): Likewie.
4666 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
4667 (GNU_PROPERTY_LOPROC): Likewise.
4668 (GNU_PROPERTY_HIPROC): Likewise.
4669 (GNU_PROPERTY_LOUSER): Likewise.
4670 (GNU_PROPERTY_HIUSER): Likewise.
4671 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
4672 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
4673 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
4674 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
4675 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
4676 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
4677 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
4678 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
4679 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
4680 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
4681 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
4682 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
4683 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
4684 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
4685 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
4686 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
4687 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
4688 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
4689 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
4690 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
4691 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
4692 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
4693 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
4695 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4697 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
4700 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4703 * math/math.h (isinf): Check if in C or C++ mode before using
4704 __builtin_types_compatible_p, since this is a C mode feature.
4706 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4708 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
4709 (__write_nocancel): New macro.
4710 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
4711 Rewrite as a function prototype.
4712 (write_not_cancel): Remove macro.
4713 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
4714 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
4715 (write_gmon): Likewise.
4716 * libio/fileops.c (_IO_new_file_write): Likewise.
4717 * login/utmp_file.c (pututline_file): Likewise.
4718 (updwtmp_file): Likewise.
4719 * stdio-common/psiginfo.c (psiginfo): Likewise.
4720 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4721 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4722 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4724 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4727 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
4728 (__read_nocancel): New macro.
4729 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4731 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
4733 (__read_nocancel): New prototype.
4734 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
4735 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
4736 with __read_nocancel.
4737 * intl/loadmsgcat.c (read): Likewise.
4738 * libio/fileops.c (_IO_file_read): Likewise.
4739 * locale/loadlocale.c (_nl_load_locale): Likewise.
4740 * login/utmp_file.c (getutent_r_file): Likewise.
4741 (internal_getut_r): Likewise.
4742 (getutline_r_file): Likewise.
4743 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4744 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4745 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4748 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
4749 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4750 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4752 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4754 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4756 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4758 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4760 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4763 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
4764 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
4767 2017-08-17 DJ Delorie <dj@redhat.com>
4769 * bug17079.c: Update to new test harness.
4770 * test-digits-dots.c: Likewise.
4771 * test-netdb.c: Likewise.
4772 * tst-field.c: Likewise.
4773 * tst-nss-getpwent.c: Likewise.
4774 * tst-nss-static.c: Likewise.
4775 * tst-nss-test1.c: Likewise.
4776 * tst-nss-test2.c: Likewise.
4777 * tst-nss-test3.c: Likewise.
4778 * tst-nss-test4.c: Likewise.
4779 * tst-nss-test5.c: Likewise.
4781 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4783 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
4784 (open_not_cancel_2): Likewise.
4785 (open_nocancel): New macro.
4786 (open64_nocancel): Likewise.
4787 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
4788 (open_not_cancel_2): Likewise.
4789 (__open_nocancel): New prototype.
4790 (__open64_nocancel): Likewise.
4791 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4793 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
4794 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
4795 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
4796 with __open_nocancel.
4797 * csu/check_fds.c (check_one_fd): Likewise.
4798 * gmon/gmon.c (write_gmon): Likewise.
4799 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
4800 * intl/loadmsgcat.c (open): Likewise.
4801 * libio/fileops.c (_IO_file_open): Likewise.
4802 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4803 * locale/loadlocale.c (_nl_load_locale): Likewise.
4804 * login/utmp_file.c (setutent_file): Likewise.
4805 * misc/daemon.c (daemon): Likewise.
4806 * nss/nss_db/db-open.c (internal_setent): Likewise.
4807 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4808 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
4809 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
4810 (__opendir): Likewise.
4811 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4812 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4813 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4814 (gethostid): Likewise.
4815 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4816 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4819 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
4820 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4821 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4823 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4825 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4827 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4829 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4831 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4833 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4834 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4836 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
4838 * benchtests/bench-skeleton.c (main): Add support for
4839 latency benchmarking.
4840 * benchtests/scripts/bench.py: Add support for latency benchmarking.
4842 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
4844 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
4847 2017-08-17 Florian Weimer <fweimer@redhat.com>
4849 * include/sys/socket.h (__opensock): Remove internal_function.
4850 * socket/opensock.c (__opensock): Likewise.
4851 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
4853 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4856 * signal/bits/types/__sigval_t.h: New file.
4857 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
4858 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
4859 and define sigval_t using __sigval_t.
4860 * include/bits/types/__sigval_t.h: New file.
4861 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
4862 instead of <bits/types/__sigval_t.h>.
4863 (struct sigevent): Use __sigval_t instead of sigval_t.
4864 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
4865 instead of <bits/types/__sigval_t.h>.
4866 (siginfo_t): Use __sigval_t instead of sigval_t.
4867 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
4868 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4869 (struct sigevent): Use __sigval_t instead of sigval_t.
4870 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
4871 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4872 (siginfo_t): Use __sigval_t instead of sigval_t.
4873 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
4875 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4877 * NEWS: Remove "[Add new features here]" for 2.27.
4879 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4881 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
4884 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4886 * NEWS: Mention x86-64 FMA optimization.
4888 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4891 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4893 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
4894 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
4895 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
4897 2017-08-16 Andreas Schwab <schwab@suse.de>
4901 * elf/ldd.bash.in: Never run file directly.
4903 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
4906 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
4907 (L(SP_INF_0)): Likewise.
4909 2017-08-15 Florian Weimer <fweimer@redhat.com>
4911 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
4914 2017-08-15 Florian Weimer <fweimer@redhat.com>
4916 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
4917 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
4918 BROKEN_THREAD_SIGNALS code.
4919 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
4920 request_list): Remove caller_pid member used for
4921 BROKEN_THREAD_SIGNALS.
4922 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
4923 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4924 Remove BROKEN_THREAD_SIGNALS support.
4925 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4926 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
4928 2017-08-15 Florian Weimer <fweimer@redhat.com>
4930 * gmon/Makefile (tests): Add tst-gmon.
4931 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
4933 (tests-special): Add tst-gmon-prof.out.
4934 (tst-gmon.out): Depend on clean-tst-gmon-data.
4935 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
4936 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
4937 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
4939 * aclocal.m4 (GPROF): Set and substitute.
4940 * config.amke.in (GPROF): Set.
4941 * configure: Regenerate.
4943 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
4945 * elf/elf.h A (NT_PPC_TAR): New macro.
4946 (NT_PPC_PPR): Likewise.
4947 (NT_PPC_DSCR): Likewise.
4948 (NT_PPC_EBB): Likewise.
4949 (NT_PPC_PMU): Likewise.
4950 (NT_PPC_TM_CGPR): Likewise.
4951 (NT_PPC_TM_CFPR): Likewise.
4952 (NT_PPC_TM_CVMX): Likewise.
4953 (NT_PPC_TM_CVSX): Likewise.
4954 (NT_PPC_TM_SPR): Likewise.
4955 (NT_PPC_TM_CTAR): Likewise.
4956 (NT_PPC_TM_CPPR): Likewise.
4957 (NT_PPC_TM_CDSCR): Likewise.
4959 2017-08-15 Florian Weimer <fweimer@redhat.com>
4961 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
4962 regparm (2) instead of internal_function.
4963 (_MCOUNT_DECL): Adjust.
4965 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4967 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
4968 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4970 2017-08-14 Joseph Myers <joseph@codesourcery.com>
4972 * conform/data/sys/wait.h-data (si_value): Do not expect for
4975 2017-08-14 Florian Weimer <fweimer@redhat.com>
4978 NSS: Create stubs for accidentally exported lookup functions.
4979 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
4981 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
4982 (ether_hostton): Call __nss_ethers_lookup2 instead.
4983 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
4984 (ether_ntohost): Call __nss_ethers_lookup2 instead.
4985 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
4986 (setup): Call __nss_netgroup_lookup2 instead.
4987 * nss/Makefile (routines): Add compat-lookup.
4988 * nss/Versions (GLIBC_2.27): Add symbol version.
4989 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
4990 (DB_COMPAT_FCT): Remove.
4991 * nss/compat-lookup.c: New file.
4992 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
4994 * nss/service-lookup.c (NO_COMPAT): Remove definition.
4995 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
4996 (netname2user): Call __nss_publickey_lookup2 instead.
4997 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
4998 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
5001 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5002 Sergei Trofimovich <slyfox@inbox.ru>
5005 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
5006 Rename to MMAP2_PAGE_UNIT.
5007 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
5008 __OFF_T_MATCHES_OFF64_T is not defined.
5009 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
5011 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
5012 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
5014 2017-08-14 Florian Weimer <fweimer@redhat.com>
5016 i386: Do not set internal_function.
5017 * config.h.in (USE_REGPARMS, internal_function): Remove.
5018 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
5019 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
5021 2017-08-14 Florian Weimer <fweimer@redhat.com>
5023 * elf/dl-init.c (_dl_init): Remove internal_function.
5024 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
5025 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
5027 2017-08-14 Florian Weimer <fweimer@redhat.com>
5029 * elf/rtld.c (_dl_start): Remove internal_function.
5030 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
5033 2017-08-14 Florian Weimer <fweimer@redhat.com>
5035 * elf/dl-fini.c (_dl_fini): Remove internal_function
5036 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
5038 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
5041 (bit_cpu_SHSTK): Likewise.
5042 (index_cpu_IBT): Likewise.
5043 (index_cpu_SHSTK): Likewise.
5044 (reg_IBT): Likewise.
5045 (reg_SHSTK): Likewise.
5046 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
5047 Handle index_cpu_IBT and index_cpu_SHSTK.
5049 2017-08-14 Mike FABIAN <mfabian@redhat.com>
5052 * po/fr.po: Fix spelling mistake.
5054 2017-08-13 Florian Weimer <fweimer@redhat.com>
5056 * elf/dl-addr.c (_dl_addr): Remove internal_function.
5057 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
5058 (_dl_catch_error, _dl_receive_error): Likewise.
5059 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
5060 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
5061 (_dl_deallocate_tls): Likewise.
5062 * include/dlfcn.h (_dl_addr): Likewise.
5063 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
5064 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
5065 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
5068 2017-08-13 Florian Weimer <fweimer@redhat.com>
5070 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
5071 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
5073 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
5075 2017-08-13 Florian Weimer <fweimer@redhat.com>
5077 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
5079 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
5080 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
5081 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
5082 internal_function from _dl_make_stack_executable_hook member.
5083 (_dl_make_stack_executable): Remove internal_function.
5084 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
5086 * sysdeps/unix/sysv/linux/dl-execstack.c
5087 (_dl_make_stack_executable): Likewise.
5089 2017-08-13 Florian Weimer <fweimer@redhat.com>
5091 * sysdeps/unix/sysv/linux/netlinkaccess.h
5092 (__netlink_assert_response): Remove internal_function.
5093 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5094 (__netlink_assert_response): Likewise.
5096 2017-08-13 Florian Weimer <fweimer@redhat.com>
5098 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
5100 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
5102 2017-08-13 Florian Weimer <fweimer@redhat.com>
5104 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
5106 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
5107 * inet/netgroup.h (__internal_setnetgrent)
5108 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
5109 * inet/getnetgrent_r.c (__internal_setnetgrent)
5110 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
5111 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
5112 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
5113 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
5114 * nss/nsswitch.h (db_lookup_function): Likewise.
5116 2017-08-13 Florian Weimer <fweimer@redhat.com>
5118 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
5119 Remove internal_function.
5120 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
5121 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
5122 message argument on the stack.
5123 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
5126 2017-08-12 Mike FABIAN <mfabian@redhat.com>
5128 Adapt test case data to the changes in the thousands
5132 * localedata/tst-langinfo.sh: Adapt test case data.
5133 * stdlib/tst-strfmon_l.c: Likewise.
5134 * stdlib/tst-strtod4.c: Likewise.
5135 * stdlib/tst-strtod5i.c: Likewise.
5137 2017-08-11 Florian Weimer <fweimer@redhat.com>
5140 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
5141 Suppress pedantic warning resulting from statement expression.
5142 (__ASSERT_FUNCTION): Add missing __extension__.
5144 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5146 * benchtests/bench-memmove-large.c: Print output in JSON
5148 * benchtests/bench-memmove.c: Likewise.
5150 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
5151 * benchtests/bench-memchr.c (do_one_test): Likewise.
5152 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
5153 * benchtests/bench-memcpy.c (do_one_test): Likewise.
5154 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
5155 * benchtests/bench-memmove.c (do_one_test): Likewise.
5156 * benchtests/bench-memset-large.c (do_one_test): Likewise.
5157 * benchtests/bench-memset.c (do_one_test): Likewise.
5158 * benchtests/bench-string.h (test_init): Remove memsets.
5160 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
5163 (Computing the Width of an Integer Data Type): Rename section to
5164 "Width of an Integer Type". Remove inaccurate statement regarding
5165 lack of C language facilities for determining width of integer
5166 types, and reorder content to improve flow and context of
5169 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
5171 * lang.texi (va_copy): Change standard from ISO to C99.
5172 (__va_copy): Add standard and header annotation.
5173 Update description for clarity of origins and current use.
5175 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5178 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
5179 xssqrtqp requires operands to be in Vector Registers
5180 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
5181 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
5182 (__ieee754_sqrtf128): Likewise.
5184 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5186 * sysdeps/aarch64/memcmp.S (memcmp):
5187 Rewrite of optimized memcmp.
5189 2017-08-10 Florian Weimer <fweimer@redhat.com>
5191 Introduce ld.so exceptions.
5192 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
5193 (_dl_exception_create, _dl_exception_create_format)
5194 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
5195 (_dl_catch_exception): Declare.
5196 (_dl_catch_error): Update comment.
5197 * elf/dl-error-skeleton.c (struct catch): Replace objname,
5198 errstring, malloced members with exception member.
5199 (_dl_out_of_memory): Remove.
5200 (fatal_error): New function, extracted from _dl_signal_error.
5201 (_dl_signal_exception, _dl_signal_cexception): New functions.
5202 (_dl_signal_error): Call _dl_exception_create to allocate an
5204 (_dl_catch_exception): New function, based on _dl_catch_error.
5205 (_dl_catch_error): Implement using _dl_catch_exception.
5206 * elf/dl-exception.c: New file.
5207 * elf/Makefile (dl-routines): Add dl-exception.
5208 (elide-routines.os): Likewise.
5209 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
5210 _dl_exception_create_format, _dl_exception_free.
5211 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
5212 _dl_signal_exception.
5213 * elf/dl-lookup.c (make_string): Remove.
5214 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
5215 _dl_signal_cexception, _dl_exception_free.
5216 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
5217 _dl_signal_exception.
5218 * elf/dl-sym.c (do_sym): Likewise.
5219 * elf/dl-version.c (make_string): Remove.
5220 (match_symbol): Use _dl_exception_create_format,
5221 _dl_signal_cexception, _dl_exception_free.
5222 (_dl_check_map_versions): Likewise.
5223 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
5224 _dl_catch_exception.
5225 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5226 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5227 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5228 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5229 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5230 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5231 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5232 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5234 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5241 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5242 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5243 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5245 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5247 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5249 2017-08-10 Florian Weimer <fweimer@redhat.com>
5251 * inet/net-internal.h (__inet6_scopeid_pton): Remove
5252 attribute_hidden, internal_function.
5253 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
5256 2017-08-10 Florian Weimer <fweimer@redhat.com>
5258 * malloc/malloc.c (get_max_fast): Reimplement as an inline
5259 function which calls __builtin_unreachable.
5261 2017-08-10 Mike FABIAN <mfabian@redhat.com>
5263 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
5264 Indian monetary formatting
5265 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
5268 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
5270 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
5271 Fix typo in comment.
5274 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
5275 PTRACE_SEIZE_DEVEL): Remove.
5276 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
5277 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5282 2017-08-09 Joseph Myers <joseph@codesourcery.com>
5284 * posix/bits/types.h (__qaddr_t): Remove.
5287 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
5288 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
5290 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
5291 (ucontext_t): Use __ctx with uc_flags.
5292 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
5294 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
5296 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
5297 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
5299 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
5300 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
5302 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
5304 (ucontext_t): Use __ctx with uc_flags.
5305 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
5306 (ucontext_t): Use __ctx with uc_flags.
5307 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
5308 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
5309 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
5310 (ucontext_t): Use __ctx with uc_flags.
5311 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
5312 undefine further down.
5313 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
5315 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
5316 undefine further down.
5317 (ucontext_t): Use __ctx with uc_flags.
5318 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
5319 undefine further down.
5320 (ucontext_t): Use __ctx with uc_flags.
5321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
5322 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
5323 Rename uc_pad to __glibc_reserved1.
5324 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
5325 undefine further down.
5326 (ucontext_t): Use __ctx with uc_flags.
5327 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
5329 (ucontext_t): Use __ctx with uc_flags.
5330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
5331 __ctx with uc_flags.
5332 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
5333 (ucontext_t): Use __ctx with uc_flags.
5334 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
5335 __ctx with uc_flags.
5337 2017-08-09 Florian Weimer <fweimer@redhat.com>
5340 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
5341 before early return.
5343 2017-08-09 Andreas Schwab <schwab@suse.de>
5346 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
5350 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
5351 tst-compat-forwarder.
5352 (modules-names): Add tst-compat-forwarder-mod.
5353 ($(objpfx)tst-compat-forwarder): Depend on
5354 $(objpfx)tst-compat-forwarder-mod.so.
5355 * nptl/tst-compat-forwarder.c: New file.
5356 * nptl/tst-compat-forwarder-mod.c: New file.
5358 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
5360 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
5363 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
5364 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5366 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
5368 (__libc_ifunc_impl_list): Add __memcpy_falkor.
5369 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
5370 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
5371 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5373 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
5376 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5379 * manual/setjmp.texi (getcontex): Document uc_stack value
5380 compatibility differences.
5382 2017-08-08 Joseph Myers <joseph@codesourcery.com>
5384 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
5385 (old_malloc_hook): Likewise.
5386 (old_memalign_hook): Likewise.
5387 (old_realloc_hook): Likewise.
5388 (struct hdr): Likewise.
5390 (freehook): Likewise.
5391 (mallochook): Likewise.
5392 (memalignhook): Likewise.
5393 (reallochook): Likewise.
5395 * malloc/mtrace.c (mallwatch): Likewise.
5396 (tr_old_free_hook): Likewise.
5397 (tr_old_malloc_hook): Likewise.
5398 (tr_old_realloc_hook): Likewise.
5399 (tr_old_memalign_hook): Likewise.
5400 (tr_where): Likewise.
5401 (lock_and_info): Likewise.
5402 (tr_freehook): Likewise.
5403 (tr_mallochook): Likewise.
5404 (tr_reallochook): Likewise.
5405 (tr_memalignhook): Likewise.
5406 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
5407 * misc/mmap.c (__mmap): Likewise.
5408 * misc/mmap64.c (__mmap64): Likewise.
5409 * misc/mprotect.c (__mprotect): Likewise.
5410 * misc/msync.c (msync): Likewise.
5411 * misc/munmap.c (__munmap): Likewise.
5412 * posix/posix_madvise.c (posix_madvise): Likewise.
5413 * socket/send.c (__send): Likewise.
5414 * socket/sendto.c (__sendto): Likewise.
5415 * socket/setsockopt.c (__setsockopt): Likewise.
5416 * string/memcmp.c (__ptr_t): Remove macro.
5417 (MEMCMP): Use void * instead of ptr_t.
5418 * string/memrchr.c (__ptr_t): Remove macro.
5419 (__memrchr): Use void * instead of ptr_t.
5420 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
5421 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5422 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
5423 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
5424 * sysdeps/mach/msync.c (msync): Likewise.
5425 * sysdeps/mach/munmap.c (__munmap): Likewise.
5426 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
5428 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5429 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
5432 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5433 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5434 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
5435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
5437 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5438 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
5439 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
5440 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
5441 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
5442 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
5443 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
5444 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
5445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
5447 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
5448 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
5449 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
5450 (MEMCMP): Use void * instead of ptr_t.
5451 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
5452 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
5454 2017-08-08 Florian Weimer <fweimer@redhat.com>
5456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
5459 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
5462 * csu/libc-tls.c: Include <startup.h> first.
5463 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
5464 * elf/dl-tunables.c: Include <startup.h> first.
5465 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
5466 * sysdeps/generic/startup.h: New file.
5467 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
5468 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
5469 (I386_USE_SYSENTER): New. Defined to 0.
5471 2017-08-08 Andreas Schwab <schwab@suse.de>
5474 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
5475 * nptl/pt-system.c (system): Likewise.
5477 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5480 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
5482 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
5483 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
5484 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
5485 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
5486 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5487 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5488 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5490 2017-08-07 Joseph Myers <joseph@codesourcery.com>
5493 * bits/sigaction.h (struct sigaction): Define sa_handler and
5494 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
5495 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5496 [__USE_XOPEN_EXTENDED].
5497 (SA_RESTART): Likewise.
5498 (SA_NODEFER): Likewise.
5499 (SA_RESETHAND): Likewise.
5500 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
5501 (struct sigaction): Define sa_handler and sa_sigaction using union
5502 also for [__USE_XOPEN_EXTENDED].
5503 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5504 [__USE_XOPEN_EXTENDED].
5505 (SA_RESTART): Likewise.
5506 (SA_NODEFER): Likewise.
5507 (SA_RESETHAND): Likewise.
5508 * sysdeps/unix/sysv/linux/bits/sigaction.h
5509 (struct sigaction): Define sa_handler and sa_sigaction using union
5510 also for [__USE_XOPEN_EXTENDED].
5511 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5512 [__USE_XOPEN_EXTENDED].
5513 (SA_RESTART): Likewise.
5514 (SA_NODEFER): Likewise.
5515 (SA_RESETHAND): Likewise.
5516 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
5517 (struct sigaction): Define sa_handler and sa_sigaction using union
5518 also for [__USE_XOPEN_EXTENDED].
5519 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5520 [__USE_XOPEN_EXTENDED].
5521 (SA_RESTART): Likewise.
5522 (SA_NODEFER): Likewise.
5523 (SA_RESETHAND): Likewise.
5524 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
5525 (struct sigaction): Define sa_handler and sa_sigaction using union
5526 also for [__USE_XOPEN_EXTENDED].
5527 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5528 [__USE_XOPEN_EXTENDED].
5529 (SA_RESTART): Likewise.
5530 (SA_NODEFER): Likewise.
5531 (SA_RESETHAND): Likewise.
5532 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5533 (struct sigaction): Define sa_handler and sa_sigaction using union
5534 also for [__USE_XOPEN_EXTENDED].
5535 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5536 [__USE_XOPEN_EXTENDED].
5537 (SA_RESTART): Likewise.
5538 (SA_NODEFER): Likewise.
5539 (SA_RESETHAND): Likewise.
5540 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5541 (struct sigaction): Define sa_handler and sa_sigaction using union
5542 also for [__USE_XOPEN_EXTENDED].
5543 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5544 [__USE_XOPEN_EXTENDED].
5545 (SA_RESTART): Likewise.
5546 (SA_NODEFER): Likewise.
5547 (SA_RESETHAND): Likewise.
5548 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5549 (struct sigaction): Define sa_handler and sa_sigaction using union
5550 also for [__USE_XOPEN_EXTENDED].
5551 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5552 [__USE_XOPEN_EXTENDED].
5553 (SA_RESTART): Likewise.
5554 (SA_NODEFER): Likewise. Define directly rather than as alias.
5555 (SA_RESETHAND): Likewise.
5556 (SA_INTERRUPT): Define only for [__USE_MISC].
5557 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
5558 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
5560 (SA_STACK): Define only for [__USE_MISC].
5561 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
5562 (struct sigaction): Define sa_handler and sa_sigaction using union
5563 also for [__USE_XOPEN_EXTENDED].
5564 (SA_ONSTACK): Change [__USE_UNIX98] condition to
5565 [__USE_XOPEN_EXTENDED].
5566 (SA_RESTART): Likewise.
5567 (SA_NODEFER): Likewise.
5568 (SA_RESETHAND): Likewise.
5569 (SA_NOPTRACE): Define only for [__USE_MISC].
5571 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
5572 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
5573 (struct catalog_info): Likewise.
5574 * inet/htontest.c (lo): Likewise.
5576 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5577 * inet/inet_net.c (inet_network): Likewise.
5578 * inet/inet_netof.c (inet_netof): Likewise.
5579 * inet/rcmd.c (__ivaliduser): Likewise.
5580 (iruserok): Likewise.
5581 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
5582 * locale/programs/locale-spec.c (locale_special): Likewise.
5583 * nis/nis_findserv.c (struct findserv_req): Likewise.
5584 (__nis_findfastest_with_timeout): Likewise.
5585 * nss/test-netdb.c (test_network): Likewise.
5586 * resolv/inet_neta.c (inet_neta): Likewise.
5587 * resolv/ns_date.c (ns_datetosecs): Likewise.
5588 (SECS_PER_DAY): Likewise.
5589 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
5591 * resolv/res_comp.c (__putlong): Likewise.
5592 (__putshort): Likewise.
5593 (_getlong): Likewise.
5594 (_getshort): Likewise.
5595 * resolv/res_debug.c (p_time): Likewise.
5596 (precsize_ntoa): Likewise.
5597 (precsize_aton): Likewise.
5598 (latlon2ul): Likewise.
5599 (loc_aton): Likewise.
5600 (loc_ntoa): Likewise.
5601 * resolv/res_hconf.c (struct netaddr): Likewise.
5602 (_res_hconf_reorder_addrs): Likewise.
5603 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5604 (clnttcp_control): Likewise.
5605 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5606 (clntudp_control): Likewise.
5607 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5608 (clntunix_control): Likewise.
5609 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5610 * sunrpc/rpc/auth.h (union des_block): Likewise.
5611 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
5612 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
5613 (xdrrec_create): Likewise.
5614 (xdrrec_endofrecord): Likewise.
5615 (flush_out): Likewise.
5616 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
5617 (xdrstdio_putlong): Likewise.
5618 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
5621 * misc/sys/cdefs.h (__long_double_t): Remove.
5622 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
5623 instead of __long_double_t,
5624 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
5626 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5628 * benchtests/scripts/compare_strings.py: Avoid display error when
5629 running on a text terminal.
5631 * benchtests/scripts/compare_strings.py (main): Add an
5632 optional -base option.
5633 (process_results): New argument base_func.
5635 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
5637 * benchtests/bench-memcpy-large.c (test_name): Likewise.
5638 * benchtests/bench-memcpy-random.c (test_name): Likewise.
5640 2017-08-07 Andreas Schwab <schwab@suse.de>
5642 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
5643 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5644 * intl/Makefile ($(objpfx)tst-gettext.out)
5645 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
5646 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
5647 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5648 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5649 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
5650 * posix/Makefile ($(objpfx)globtest.out)
5651 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
5652 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
5653 ($(objpfx)tst-printf.out): Likewise.
5654 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
5655 ($(objpfx)tst-setcontext3.out): Likewise.
5657 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
5659 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5660 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
5661 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
5662 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
5663 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
5665 (CFLAGS-doasin-fma.c): New.
5666 (CFLAGS-dosincos-fma.c): Likewise.
5667 (CFLAGS-e_asin-fma.c): Likewise.
5668 (CFLAGS-e_atan2-fma.c): Likewise.
5669 (CFLAGS-e_exp-fma.c): Likewise.
5670 (CFLAGS-e_log-fma.c): Likewise.
5671 (CFLAGS-e_pow-fma.c): Likewise.
5672 (CFLAGS-halfulp-fma.c): Likewise.
5673 (CFLAGS-mpa-fma.c): Likewise.
5674 (CFLAGS-mpatan-fma.c): Likewise.
5675 (CFLAGS-mpatan2-fma.c): Likewise.
5676 (CFLAGS-mpexp-fma.c): Likewise.
5677 (CFLAGS-mplog-fma.c): Likewise.
5678 (CFLAGS-mpsqrt-fma.c): Likewise.
5679 (CFLAGS-mptan-fma.c): Likewise.
5680 (CFLAGS-s_atan-fma.c): Likewise.
5681 (CFLAGS-sincos32-fma.c): Likewise.
5682 (CFLAGS-slowexp-fma.c): Likewise.
5683 (CFLAGS-slowpow-fma.c): Likewise.
5684 (CFLAGS-s_sin-fma.c): Likewise.
5685 (CFLAGS-s_tan-fma.c): Likewise.
5686 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
5687 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
5688 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
5689 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
5690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
5691 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
5692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
5693 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
5694 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
5697 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
5698 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
5699 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
5700 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
5701 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
5702 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
5703 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
5704 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
5705 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
5706 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
5707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
5709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
5710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5718 2017-08-04 Joseph Myers <joseph@codesourcery.com>
5720 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
5721 (min_of_type_f): New macro.
5722 (min_of_type_): Likewise.
5723 (min_of_type_l): Likewise.
5724 (min_of_type_f128): Likewise.
5725 (min_of_type): Define using __MATH_TG and taking an expression
5727 (math_check_force_underflow): Pass expression instead of type to
5729 (math_check_force_underflow_nonneg): Likewise.
5731 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5733 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5734 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
5735 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
5737 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5740 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
5741 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
5742 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
5743 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
5744 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
5745 memcpy_chk-nonshared, mempcpy_chk-nonshared,
5746 memmove_chk-nonshared and memset_chk-nonshared
5747 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
5748 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
5749 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
5750 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
5751 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
5752 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
5753 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
5754 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
5755 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
5756 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
5757 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
5758 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
5759 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
5760 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
5761 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
5762 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
5763 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
5764 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
5765 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
5766 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
5767 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
5768 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
5769 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
5770 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
5771 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
5772 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
5773 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
5774 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
5775 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
5776 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
5777 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
5778 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
5779 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
5780 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5781 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5782 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
5783 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
5784 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
5785 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
5786 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
5787 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
5788 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
5789 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
5790 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
5791 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
5792 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
5793 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
5794 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
5795 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
5796 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
5797 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
5798 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
5799 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
5800 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
5801 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
5802 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
5803 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
5804 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
5805 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
5806 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
5807 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
5808 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
5809 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
5810 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
5811 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
5812 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
5813 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
5814 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
5815 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
5816 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5817 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
5818 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5819 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5820 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5821 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5822 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5823 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5824 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5825 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5826 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5827 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5828 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5829 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5830 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5831 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5832 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5833 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5834 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5835 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5841 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5842 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5843 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5844 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5845 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5846 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5856 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5858 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
5859 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
5860 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
5861 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
5862 svml_d_log2_core-sse2, svml_d_log4_core-sse,
5863 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
5864 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
5865 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
5866 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
5867 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
5868 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
5869 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
5870 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
5871 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
5872 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
5873 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
5874 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
5875 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
5876 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
5877 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
5878 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
5879 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
5880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
5881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
5882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
5883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
5884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
5885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
5886 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
5887 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
5888 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
5889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
5890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
5891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
5892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
5893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
5894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
5895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
5896 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
5897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
5898 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
5899 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
5900 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
5901 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
5902 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
5903 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
5904 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
5905 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
5906 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
5907 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
5908 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
5909 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
5910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
5911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
5912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
5913 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
5914 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
5915 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
5916 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
5918 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
5919 Don't include <sysdep.h> nor <init-arch.h>.
5920 (_ZGVbN2v_cos): Removed.
5921 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
5923 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
5924 Don't include <sysdep.h> nor <init-arch.h>.
5925 (_ZGVdN4v_cos): Removed.
5926 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
5928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
5929 Don't include <sysdep.h> nor <init-arch.h>.
5930 (_ZGVeN8v_cos): Removed.
5931 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
5933 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
5934 Don't include <sysdep.h> nor <init-arch.h>.
5935 (_ZGVbN2v_exp): Removed.
5936 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
5938 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
5939 Don't include <sysdep.h> nor <init-arch.h>.
5940 (_ZGVdN4v_exp): Removed.
5941 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
5943 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
5944 Don't include <sysdep.h> nor <init-arch.h>.
5945 (_ZGVeN8v_exp): Removed.
5946 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
5948 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
5949 Don't include <sysdep.h> nor <init-arch.h>.
5950 (_ZGVbN2v_log): Removed.
5951 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
5953 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
5954 Don't include <sysdep.h> nor <init-arch.h>.
5955 (_ZGVdN4v_log): Removed.
5956 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
5958 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
5959 Don't include <sysdep.h> nor <init-arch.h>.
5960 (_ZGVeN8v_log): Removed.
5961 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
5963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
5964 Don't include <sysdep.h> nor <init-arch.h>.
5965 (_ZGVbN2vv_pow): Removed.
5966 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
5968 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
5969 Don't include <sysdep.h> nor <init-arch.h>.
5970 (_ZGVdN4vv_pow): Removed.
5971 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
5973 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
5974 Don't include <sysdep.h> nor <init-arch.h>.
5975 (_ZGVeN8vv_pow): Removed.
5976 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
5978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
5979 Don't include <sysdep.h> nor <init-arch.h>.
5980 (_ZGVbN2v_sin): Removed.
5981 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
5983 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
5984 Don't include <sysdep.h> nor <init-arch.h>.
5985 (_ZGVbN4v_sin): Removed.
5986 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
5988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
5989 Don't include <sysdep.h> nor <init-arch.h>.
5990 (_ZGVbN8v_sin): Removed.
5991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
5993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
5994 Don't include <sysdep.h> nor <init-arch.h>.
5995 (_ZGVbN2vvv_sincos): Removed.
5996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
5998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
5999 Don't include <sysdep.h> nor <init-arch.h>.
6000 (_ZGVdN4vvv_sincos): Removed.
6001 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
6003 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
6004 Don't include <sysdep.h> nor <init-arch.h>.
6005 (_ZGVeN8vvv_sincos): Removed.
6006 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
6008 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
6009 Don't include <sysdep.h> nor <init-arch.h>.
6010 (_ZGVeN16v_cosf): Removed.
6011 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
6013 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
6014 Don't include <sysdep.h> nor <init-arch.h>.
6015 (_ZGVbN4v_cosf): Removed.
6016 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
6018 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
6019 Don't include <sysdep.h> nor <init-arch.h>.
6020 (_ZGVdN8v_cosf): Removed.
6021 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
6023 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
6024 Don't include <sysdep.h> nor <init-arch.h>.
6025 (_ZGVeN16v_expf): Removed.
6026 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
6028 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
6029 Don't include <sysdep.h> nor <init-arch.h>.
6030 (_ZGVbN4v_expf): Removed.
6031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
6033 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
6034 Don't include <sysdep.h> nor <init-arch.h>.
6035 (_ZGVdN8v_expf): Removed.
6036 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
6038 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
6039 Don't include <sysdep.h> nor <init-arch.h>.
6040 (_ZGVeN16v_logf): Removed.
6041 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
6043 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
6044 Don't include <sysdep.h> nor <init-arch.h>.
6045 (_ZGVbN4v_logf): Removed.
6046 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
6048 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
6049 Don't include <sysdep.h> nor <init-arch.h>.
6050 (_ZGVdN8v_logf): Removed.
6051 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
6053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
6054 Don't include <sysdep.h> nor <init-arch.h>.
6055 (_ZGVeN16vv_powf): Removed.
6056 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
6058 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
6059 Don't include <sysdep.h> nor <init-arch.h>.
6060 (_ZGVbN4vv_powf): Removed.
6061 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
6063 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
6064 Don't include <sysdep.h> nor <init-arch.h>.
6065 (_ZGVdN8vv_powf): Removed.
6066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
6068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
6069 Don't include <sysdep.h> nor <init-arch.h>.
6070 (_ZGVeN16vvv_sincosf): Removed.
6071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
6073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
6074 Don't include <sysdep.h> nor <init-arch.h>.
6075 (_ZGVbN4vvv_sincosf): Removed.
6076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
6078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
6079 Don't include <sysdep.h> nor <init-arch.h>.
6080 (_ZGVdN8vvv_sincosf): Removed.
6081 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
6083 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
6084 Don't include <sysdep.h> nor <init-arch.h>.
6085 (_ZGVeN16v_sinf): Removed.
6086 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
6088 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
6089 Don't include <sysdep.h> nor <init-arch.h>.
6090 (_ZGVbN4v_sinf): Removed.
6091 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
6093 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
6094 Don't include <sysdep.h> nor <init-arch.h>.
6095 (_ZGVdN8v_sinf): Removed.
6097 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6099 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6100 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
6101 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
6102 s_rint-sse4_1 and s_rintf-sse4_1.
6103 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
6104 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6105 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6106 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6108 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
6109 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
6110 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6111 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6112 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
6113 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
6114 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6116 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
6117 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
6118 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6120 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
6121 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
6122 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6124 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
6125 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
6126 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6127 (__floorf): Removed.
6128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
6129 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
6130 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6131 (__nearbyint): Removed.
6132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
6133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
6134 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6135 (__nearbyintf): Removed.
6136 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
6137 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
6138 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6140 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
6141 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
6142 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
6145 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6147 * sysdeps/i386/start.S (_start): Check Check PIC instead of
6148 SHARED. Avoid dynamic relocation against main in static PIE.
6150 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6153 * elf/Makefile (CFLAGS-tst-prelink.c): New.
6154 (LDFLAGS-tst-prelink): Likewise.
6156 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6158 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
6159 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
6160 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
6161 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6162 (INTERNAL_SYSCALL_NCS): Likewise.
6163 (LOADARGS_1): Likewise.
6164 (LOADARGS_5): Likewise.
6165 (RESTOREARGS_1): Likewise.
6166 (RESTOREARGS_5): Likewise.
6168 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6170 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
6171 (MEMPCPY_SYMBOL): Likewise.
6172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6173 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
6174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
6176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6177 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6179 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
6180 (__hidden_ver1): Don't use in libc.a.
6181 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6182 (__mempcpy): Don't create a weak alias in libc.a.
6183 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
6185 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
6186 (__hidden_ver1): Don't use in libc.a.
6188 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6190 * config.make.in (have-insert): New.
6191 * configure.ac (libc_cv_insert): New. Set to yes if linker
6192 supports INSERT in linker script.
6193 (AC_SUBST(libc_cv_insert): New.
6194 * configure: Regenerated.
6195 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
6196 if $(have-insert) == yes.
6198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6200 * elf/Makefile (tests): Add vismain only if
6201 $(have-protected-data) == yes.
6202 (tests-pie): Likewise.
6204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6207 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6208 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
6210 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6213 * sysdeps/i386/i586/memset.S
6214 (__memset_zero_constant_len_parameter): Removed.
6215 * sysdeps/i386/i686/memset.S
6216 (__memset_zero_constant_len_parameter): Likewise.
6217 * sysdeps/i386/i686/multiarch/memset_chk.S
6218 (__memset_zero_constant_len_parameter): Likewise.
6219 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
6222 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
6224 * stdlib/getentropy.c (getentropy): Change return type to int.
6226 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
6228 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6230 2017-08-03 Joseph Myers <joseph@codesourcery.com>
6232 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
6234 * math/s_nexttowardf.c (__nexttowardf): Likewise.
6235 * sysdeps/generic/math_private.h (ieee_double_shape_type):
6237 (ieee_float_shape_type): Likewise.
6238 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
6239 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
6240 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6241 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6242 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6243 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
6244 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
6245 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6246 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6248 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6249 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6250 (__ieee754_yn): Likewise.
6251 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6252 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6253 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
6255 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6256 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
6257 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
6258 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
6260 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6261 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
6262 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
6263 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
6264 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
6265 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
6267 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6268 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
6269 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6270 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
6271 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6272 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
6273 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
6274 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
6275 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
6276 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6277 (__issignaling): Likewise.
6278 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
6279 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
6280 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6283 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6284 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
6285 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
6287 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
6289 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
6290 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
6291 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
6292 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6293 (__erfcf): Likewise.
6294 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6295 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6296 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
6297 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
6299 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
6300 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
6302 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6303 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
6304 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6305 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
6306 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
6307 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6308 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
6311 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
6313 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6315 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6318 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6320 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6321 (__ieee754_ynl): Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
6325 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
6327 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6328 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
6329 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6331 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
6338 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
6340 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
6344 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6351 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6355 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6357 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
6365 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6370 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6371 (__ieee754_remainderl): Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6377 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6380 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6381 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
6382 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6383 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6384 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6387 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6388 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
6389 (__ieee754_y0l): Likewise.
6392 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6393 (__ieee754_y1l): Likewise.
6396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6397 (__ieee754_ynl): Likewise.
6398 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6399 (__ieee754_lgammal_r): Likewise.
6400 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
6402 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6403 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6405 (__erfcl): Likewise.
6406 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
6409 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
6410 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
6411 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6412 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6417 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
6418 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6419 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
6420 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
6421 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6423 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
6424 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
6426 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
6427 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
6428 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
6429 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6430 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6432 2017-08-03 Florian Weimer <fweimer@redhat.com>
6435 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
6436 on memory allocation failure.
6438 2017-08-03 Alan Modra <amodra@gmail.com>
6440 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
6441 tst-tlsopt-powerpc.c with function name change and no test harness.
6442 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
6443 Call tls_get_addr_opt_test.
6444 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
6445 (modules-names): Add mod-tlsopt-powerpc.
6446 (mod-tlsopt-powerpc.so-no-z-defs): Define.
6447 (tst-tlsopt-powerpc): Depend on .so.
6448 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
6449 define. Expand use in TLS_GD and TLS_LD.
6451 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6453 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
6455 * sysdeps/posix/shm_open.c: Include <pthread.h>.
6457 2017-08-02 Joseph Myers <joseph@codesourcery.com>
6460 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
6461 comparing size with that of double.
6462 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
6463 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
6464 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
6465 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
6466 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6467 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
6468 unsigned __int128 types.
6470 2017-08-02 Steve Ellcey <sellcey@cavium.com>
6472 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
6473 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
6474 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
6475 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
6476 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
6478 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
6480 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
6482 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
6484 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
6486 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6487 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6494 2017-08-02 Joseph Myers <joseph@codesourcery.com>
6497 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
6498 bit-field expressions passed to sizeof or typeof.
6499 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6500 (__TGMATH_F128): Likewise.
6501 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6502 (__TGMATH_CF128): Likewise.
6503 (__TGMATH_UNARY_REAL_ONLY): Likewise.
6504 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
6505 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
6506 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
6507 (__TGMATH_BINARY_REAL_ONLY): Likewise.
6508 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
6509 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
6510 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
6511 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
6512 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
6513 (__TGMATH_UNARY_REAL_IMAG): Likewise.
6514 (__TGMATH_UNARY_IMAG): Likewise.
6515 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
6516 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6517 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
6519 (define_vars_for_type): Handle bit_field type specially.
6520 (Tests.__init__): Declare structure with bit-field element.
6522 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
6525 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
6526 (MEMCPY_CHK): Define only if SHARED is defined.
6527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
6529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
6532 See ChangeLog.18 for earlier changes.