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