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