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